
:root {
  --primary-green: #1c652a;
    --primary-green-light: #c8e6c9;
    --primary-green-light1: #66bb6a;
    --primary-green-light2: #81c784;
    --primary-green-light3: #a5d6a7;
    --light-gray: #f4f4f4;
    --text-light: #ffffff;
    --top-bottom-borders: #ccc;
}

/* General Styles */
  body, .hero {
    font-family: Arial, sans-serif;
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    margin-top: 90px;
  }

  .zero-margins {
    margin: 0 !important;
  }

  .btn-primary-green {
    background-color: var(--primary-green-light2);
  }

  .btn-primary-green:hover {
    background-color: var(--primary-green);
    color: #fff;
    transform: scale(1.02);
    transition: transform 0.2s ease;
  }

  .btn-primary {
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 30px;
  }

  .btn-outline-success {
    color: var(--primary-green);
    border-color: var(--primary-green);
  }

  .btn-outline-success:hover {
    background-color: var(--primary-green-light1);
    color: white;
    transform: scale(1.02);
    transition: transform 0.2s ease;
  }

  .light-green-links {
    color: var(--primary-green-light);
    text-decoration: none;
  }

  .light-green-links:hover {
    color: var(--primary-green);
  }

  /* Headings */
  .info-h3-1,
  .info-h3-2,
  .info-h3-3,
  .info-h3-4,
  #engagement h3,
  #events h3 {
    color: var(--primary-green);
  }

.navbar {
  background-color: var(--primary-green) !important;
  border-bottom: 1px solid #fff;
}

.navbar-nav .nav-link {
  color: white !important;
  border: 1px solid var(--primary-green-light);
  border-radius: 5px;
}

.navbar-nav .nav-link:hover {
  background-color: var(--primary-green-light1);
  color: black !important;
}

.navbar-brand img {
  height: 100px!important;
}
.navbar-nav .current-menu-item > a {
  font-weight: bold;
  color: #fff !important;
  border-bottom: 2px solid #ffc107;
}
.navbar-nav img {
  filter: brightness(0) invert(1);
  vertical-align: middle;
}
.dropdown-menu {
  background-color: var(--primary-green-light1);
}

.dropdown-menu .dropdown-item {
  color: black;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #fff;
  color: black;
}

 /* Hero Section */
  .hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 80px;
  }

  .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/irrigation-gun2.jpg') no-repeat center center / cover;
    background-attachment: fixed;
    filter: blur(0px);
    z-index: 0;
    transition: filter 0.4s ease;
  }

  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    opacity: 0;
    animation: fadeInOverlay 1s ease forwards;
    z-index: 1;
  }

  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding-top: 40px;
  }

  .hero h1, .hero p {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  }

  .hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 20px;
  }

  .hero p {
    font-size: clamp(1.2rem, 3vw, 1.7rem);
    margin-bottom: 30px;
  }

  .scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    z-index: 2;
  }

  .scroll-down a {
    color: white;
    animation: bounce 2s infinite;
    text-decoration: none;
  }

  @keyframes fadeInOverlay {
    to { opacity: 1; }
  }

  @keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
  }

  @media (max-width: 768px) {
    .hero-bg {
      background: url('../images/irrigation-gun1-mobile.jpg') no-repeat center center / cover;
      background-attachment: scroll;
    }

    .navbar-brand img {
      height: 50px;
    }

    .hero {
      padding-top: 100px;
    }
  }

/* Info Section */
  #info {
    margin: 0;
    padding: 0;
  }

  .info-block {
    background-color: rgba(28, 101, 42, 0.85);
    backdrop-filter: none;
    padding: 30px 20px;
    height: 100%;
    color: #fff;
    transition: all 0.3s ease;
  }
  .info-block p {
    color: var(--primary-green);
  }
  .info-block p.lg {
    color: var(--primary-green-light);
  }

  .info-block:hover {
    background: var(--primary-green-light1);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  }
  .border-bar {
    height:8px!important;
    overflow: hidden;
    padding:0!important;
  }


/* Post List */
  .post-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .post-item {
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
  }

  .post-item:last-child {
    border-bottom: none;
  }

  .post-list h5 {
    margin-bottom: 5px;
    font-size: 1.1rem;
  }

  .post-list small {
    display: block;
    margin-top: 2px;
  }

  .post-list p {
    font-size: 0.95rem;
    color: #555;
  }

  .post-list a {
    color: var(--primary-green);
    text-decoration: none;
  }

  .post-list a:hover {
    text-decoration: underline;
  }

  .post-list img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
  }

  .post-list img:hover {
    transform: scale(1.05);
  }

  /* Member CTA */
  .member-cta {
    animation: fadeUp 0.6s ease-out both;
    padding: 20px;
    border: 1px solid #CCC;
    border-radius: 25px;
    background-color: var(--primary-green-light);
  }

  @keyframes fadeUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @media (max-width: 576px) {
    .member-cta h3 {
      font-size: 1.5rem;
    }

    .member-cta ul li {
      font-size: 0.95rem;
    }

    .member-cta .btn {
      font-size: 1rem;
      padding: 10px 12px;
    }

    .subscribe-input {
      font-size: 0.95rem;
      padding: 8px;
    }
  }

/* Impact CTA */
  #impact-cta {
    background-color: var(--primary-green-light);
    border-top: 1px solid var(--top-bottom-borders);
    border-bottom: 1px solid var(--top-bottom-borders);
  }

  #impact-cta h3 {
    font-weight: bold;
  }

  #impact-cta .btn {
    font-size: 1rem;
    padding: 10px 20px;
  }

  .bar-graph-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
    height: 200px;
    padding: 10px 0;
    margin-top: 20px;
  }

  .bar {
    width: 40px;
    background-color: #bbb;
    border-radius: 5px 5px 0 0;
    height: var(--height);
    transition: height 2s ease;
  }

  .bar-after {
    background-color: var(--primary-green);
  }

  .indicator-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    background: red;
    top: 80%;
    animation: riseLine 2s ease-out forwards;
  }

  @keyframes riseLine {
    from { top: 80%; }
    to { top: 20%; }
  }


.event-card {
  border: 1px solid #e0e0e0;
  border-left: 5px solid var(--primary-green-light1);
  border-radius: 8px;
  background-color: #fff;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.event-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.event-card h5 {
  font-size: 1.25rem;
  color: var(--primary-green, #1c652a);
}

.event-card .btn {
  transition: all 0.2s ease-in-out;
  border-color: var(--primary-green-light1)!important;
  color: var(--primary-green-light1)!important;
}

.event-card .btn:hover {
  transform: scale(1.02);
  background-color: var(--primary-green-light2);
  color: #fff!important;
}


  .badge {
    font-size: 0.75rem;
    padding: 5px 8px;
    border-radius: 20px;
    background-color: var(--primary-green-light1)!important;
  }

/* Footer */
  footer {
    background-color: var(--primary-green);
    color: white;
    padding: 40px 20px;
    text-align: center;
    font-size: 0.9rem;
  }

  .footer-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: auto;
    justify-content: space-between;
  }

  .footer-column {
    flex: 1 1 30%;
  }

  .footer-column h4 {
    margin-bottom: 10px;
  }

  .footer-column ul {
    list-style: none;
    padding: 0;
  }

  .footer-column a {
    color: white;
    text-decoration: none;
  }

  /* Back to Top */
  .back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-green);
    color: white;
    font-size: 2rem;
    padding: 10px 15px;
    border-radius: 50%;
    text-align: center;
    display: none;
    z-index: 999;
    transition: background 0.3s;
  }

  .back-to-top:hover {
    background: var(--primary-green-light);
    color: var(--primary-green);
  }

  /* Stats Section */
  .stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    background-color: #e6f2e8;
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid var(--top-bottom-borders);
  }

  .stat {
    flex: 1 1 200px;
    margin: 20px;
  }

  .stat i {
    font-size: 2rem;
    color: var(--primary-green);
  }

  .stat h3 {
    font-size: 1.5rem;
    margin: 10px 0 5px;
  }

  /*page with sidebar template*/
  .sidebar {
    background-color:var(--primary-green-light3)!important;
  }

  .main-container {
    /*margin-top:75px!important;*/
  }

.alert-warning {
  background-color: var(--primary-green-light)!important;
}

.btn-green{
  background-color: var(--primary-green);
  color:#FFF;
}
.btn-green:hover{
  background-color: var(--primary-green-light);
  color:#333;
}