.nav-link,
.nav-link.active {
  color: black !important;
}


.nav-item{
    margin: 20px;
    background-color: white;
    color: black;
    border-radius: 20px;
}
.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: #fff !important;   /* force white text */
  background-color: #28a745; /* optional background on hover */
  border-radius: 20px;      /* optional rounded effect */
}

.hero {
  background-image: url("Images/hero-bg.jpg");  /* your image path */
  background-size: cover;        /* make image cover full area */
  background-position: center;   /* center the image */
  background-repeat: no-repeat;  /* avoid tiling */
  min-height: 100vh;             /* full screen height */
}
.hero {
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* dark overlay */
  z-index: 1;
}
.hero .container {
  position: relative;
  z-index: 2; /* make text appear above overlay */
}
@media (max-width: 768px) {
  .hero {
    background-position: top;
    min-height: 70vh; /* smaller height for mobile */
  }
}

#vision img{
    margin: 20px;
}

.solution-item {
    transition: all 0.3s ease-in-out;
    border: 1px solid #dee2e6; /* light border */
    border-radius: 10px;
    padding: 15px;
  }

  .solution-item:hover {
    background-color: #f8f9fa; /* light gray background */
    transform: translateY(-45px); /* small lift effect */
    box-shadow: 0px 4px 12px rgba(0,0,0,0.5);
  }


.tech-section {
      padding: 60px 20px;
      background: #f8f9fa;
    }
    .tech-step {
      margin-bottom: 60px;
    }
    .tech-img {
      max-width: 100%;
      height: auto;
      border-radius: 12px;
    }
    .tech-title {
      font-weight: bold;
      font-size: 1.5rem;
      margin-bottom: 10px;
      color: #2b3a42;
    }
    .tech-desc {
      font-size: 1rem;
      color: #555;
    }

.tech-section {
    padding: 60px 20px;
    background: #f8f9fa;
  }
  .tech-step img {
    border-radius: 12px;
  }

  

.impact-promise-section {
  background: url("Images/impact-image4.png") no-repeat center center;
  background-size: cover;     /* responsive full coverage */
  position: relative;
}

.impact-promise-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4); /* dark overlay for readability */
  z-index: 1;
}

.impact-promise-section .container {
  position: relative;
  z-index: 2; /* keep content above overlay */
}
.impact-card {
  transition: all 0.3s ease-in-out;
}
.impact-card:hover {
  background-color: #f8f9fa;
  transform: translateY(-5px);
  box-shadow: 0px 4px 12px rgba(0,0,0,0.5);
}


/* Card styling */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  overflow: hidden; /* keeps zoom effect inside */
}

/* Card hover lift effect */
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Founder image */
.founder-img {
  border-radius: 50%;
  transition: transform 0.4s ease;
}

/* Zoom image on card hover */
.card:hover .founder-img {
  transform: scale(1.1);
}

/* Achievement Section Styling */
.achievements-section {
  background: #f8f9fa;
}

.achievement-card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.achievement-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.achievement-img {
  max-width: 120px;     /* control image size */
  height: auto;
  border-radius: 50%;   /* optional: make circular */
  object-fit: cover;
}

/* Farmer Empowerment Styling */

/* Farmer Empowerment Section */
#farmer-empowerment .empowerment-gallery {
  margin-top: 30px;
}

#farmer-empowerment .image-card {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#farmer-empowerment .image-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

#farmer-empowerment .image-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

#farmer-empowerment .image-card:hover img {
  transform: scale(1.05);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  #farmer-empowerment .image-card img {
    height: 200px;
  }
}


/* CTA Button Styling */
/* CTA Section */
#cta {
  background: linear-gradient(135deg, #3ea35c, #9c783b),
              url("Images/Refarmsoil.png") center/cover no-repeat;
}

#cta h2 {
  font-size: 2.5rem;
}

#cta .btn {
  min-width: 220px;
  border-radius: 30px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#cta .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

#cta .newsletter-form input {
  border-radius: 30px 0 0 30px;
}

#cta .newsletter-form button {
  border-radius: 0 30px 30px 0;
}

/* Footer Styling */

/* Footer */
#footer {
  background: #e35b0c;
}

#footer h5 {
  font-size: 1.2rem;
}

#footer a:hover {
  text-decoration: underline;
  color: #f1c40f; /* golden hover effect */
}

#footer .bi {
  transition: transform 0.2s ease;
}

#footer .bi:hover {
  transform: scale(1.2);
}
