/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Helvetica','Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #004d40;
  z-index: 1000;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  justify-content: space-between;
  align-items: center; 
}

/* Hide nav by default on small screens */
.menu-toggle {
  display: none;
  font-size: 24px;
  color: white;
  cursor: pointer;
}

@media (max-width: 991px) {
  .nav ul {
    transition: transform 0.3s ease-in-out;
    transform: translateX(100%);
    position: absolute;
    right: 0;
    top: 70px;
    background: #004d40;
    width: 200px;
    border-radius: 4px;
    padding: 10px;
    z-index: 999;
  }

  .nav ul.show {
    display: flex;
    transform: translateX(0);
  }

  .menu-toggle {
    display: block;
  }
}



/* Header */
.header {
  /* background: hsl(180, 1%, 19%); */
  background: linear-gradient(to right, #7eecee, #5c63cc);
  color: #fff;
  padding: 20px 0;
  padding-top: calc(2px + 0.5rem);  /* navbar height + spacing */
  position: fixed;        
  top: 0;                
  width: 100%;
  z-index: 1000;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-img {
  height: 50px;
  width: auto;
}

section {
  scroll-margin-top: 80px; 
}


.header .logo {
  font-size: 1.8rem;
  font-weight: bold;
}

.nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 0;
}

.nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav a:hover {
  color: green;
}

/* Hero Section */

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  object-fit: cover;
  opacity: 0.7; /* Optional: add a slight dark overlay feel */
  filter: contrast(1.1) brightness(1.1) saturate(0.8);
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.4); /* Slight black overlay */
  z-index: 0;
}


.hero-content {
  position: relative;
  z-index: 1;
  padding: 20px;
}

.hero {
  background: #00796b;
  color: #fff;
  text-align: center;
  /* padding: 100px 20px; */
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background: #00796b;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  margin: 5px;
  transition: background 0.3s;
}

.btn:hover {
  background: #004d40;
}

.btn.secondary {
  background: #4db6ac;
  color: #004d40;
}

.btn.secondary:hover {
  background: #26a69a;
  color: #fff;
}




/* Card of solution */


.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 60px;
  margin-top: 40px;
}

.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 20px #07b0e3; /* ✅ Darker & deeper shadow */
  overflow: hidden;
  transition: transform 0.3s;
  padding: 35px;
  text-align: left;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px #07b0e3; /* darker on hover */
}

.card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  padding-bottom: 15px;
}

.card h4 {
  color: #004d40;
  font-size: 1.2rem;
  margin-bottom: 15px;
  text-align: center;
}

.card h5 {
  color: #004d40;
  font-size: 1rem;
  margin-bottom: 5px;
}

.card p {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 15px;
}
.card li {
  font-size: 0.9rem ;
}

.btn-link {
  text-decoration: none;
  color: #00796b;
  font-weight: bold;
  display: inline-block;
  margin-top: 5px;
  transition: color 0.3s;
}

.btn-link:hover {
  color: #004d40;
}

.whatsapp-circle {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: #25D366;
  border: 3px solid #25D366;
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  font-size: 20px;
  margin-bottom: 10px;
  margin-left: 150px;
  transition: background-color 0.3s;
}

.whatsapp-circle:hover {
  transform: scale(1.1);
  background-color: #1ebea5;
  color: white;
}


/* model */

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
}

.modal-content {
  background-color: #fff;
  margin: auto;
  padding: 30px;
  border-radius: 10px;
  max-width: 600px;
  text-align: left;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.tag-btn {
  font-size: 20px;
}

.close-btn {
  color: #aaa;
  float: right;
  font-size: 28px;
  cursor: pointer;
}

.close-btn:hover {
  color: #000;
}

/* pop up model */
.modal-split {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.modal-left {
  flex: 1;
  min-width: 280px;
}

.feature-benefit-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.feature-benefit-wrapper .column {
  flex: 1;
  min-width: 200px;
}

.tag-btn {
  font-weight: bold;
  margin-bottom: 10px;
  display: block;
}

.header-container {
  display: flex;
  align-items: center;
  gap: 20px; /* space between image and text */
}

.modal-right {
  flex: 1;
  min-width: 280px;
  position: relative;
}

.tag-btn {
  background: #fff;
  color: #004d40;
  border: 2px solid #004d40;
  padding: 5px 15px;
  margin: 10px 10px 10px 0;
  border-radius: 6px;
  cursor: default;
  font-weight: 600;
}

.carousel {
  position: relative;
  overflow: hidden;
  height: 600px;
} 

.carousel-img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  display: none;
  border-radius: 10px;
} 

.carousel-img.active {
  display: block;
} 

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  background: #fff;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  z-index: 1;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
} 

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
} 


.carousel-img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  display: none;
  border-radius: 10px;
}

.carousel-img.active {
  display: block;
}

#contact {
  scroll-margin-top: 100px;
}



/* Sections */
.intro {
  padding: 10px 10px;
  background: #fff;
  text-align: center;
}

.intro h3 {
  font-size: 2rem;
  color: #004d40;
  margin-bottom: 20px;
}


.intro p,
.intro ul {
  font-size: 20px;
  color: #555;
  margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .nav ul {
    flex-direction: column;
    align-items: center;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .intro h3 {
    font-size: 1.5rem;
  }
}


/* How it woks */

.how-it-works-image {
  text-align: center; 
  margin-top: 20px;
}

@media (max-width: 768px) {
  .how-it-works-image {
    padding: 0 10px;
  }
}

.how-it-works-image img {
  width: auto;
  object-fit: contain;
  max-width: 100%; 
  height: auto;    
  object-fit: contain;  
  display: block;   
  margin: 0 auto;  
}


/* Impact Section */
.impact-section {
  padding: 60px 20px;
  text-align: center;
  background: #fff;
}

.impact-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 30px;
  margin-top: 40px;
}

.impact-left p,
.impact-right p {
  font-size: 1rem;
  font-weight: 600;
  margin: 15px 0;
  color: #333;
  text-align: left;
}

.impact-left {
  text-align: right;
}

.impact-center {
  max-width: 700px;
  height: 300px;
  margin: 0 auto;
}

.impact-phone {
  width: 100%;
  height: auto;
  max-height: 500px;
  border-radius: 12px;
}

.impact-right {
  text-align: left;
}


.icon {
  font-size: 1.2rem;
  margin-right: 5px;
}

.purple {
  color: #64009c;
}

.green {
  color: #00a859;
}

.impact-top h3 {
  font-size: 2rem;
  color: #004d40;
}

/* cards */

.impact-stats {
  /* For 5 card in one line */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;

  /* Always 4 cards per row */
  /* display: grid;
  grid-template-columns: repeat(4, 1fr); 
  gap: 20px;
  margin-top: 20px; */
}

/* Tablet (max-width: 1024px) – 2 cards per row */
@media (max-width: 1024px) {
  .impact-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile (max-width: 600px) – 1 card per row */
@media (max-width: 600px) {
  .impact-stats {
    grid-template-columns: 1fr;
  }
}

.stat-card {
  background-color: #f0f0f0;
  color: #fff;
  padding: 30px 20px;
  border-radius: 12px;
  text-align: center;
  transition: background-color 0.3s ease;
}

.stat-card h2 {
  font-size: 2.5rem;
  margin: 5px 0;
  color: #fff;
}

.stat-card p {
  font-size: 1rem;
  color: #fff;
  font-weight: 600;
}

.stat-card .icon {
  font-size: 5rem;
  margin-bottom: 10px;
}

.stat-card.green {
  background-color: #009640;
  height: 300px;
}

.stat-card.blue {
  background-color: #29bdf8;
  height: 300px;
}

.stat-card h4 {
  font-size: 25px;
  margin: 5px 10px;
  color: #fff;
}

/* Hover effect */
.stat-card:hover {
  background-color: #333;
  cursor: pointer;
}


/* Projects */

.intro h3 img {
  width: auto;
  height: 30px;
}

.project-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.project-card {
  position: relative;
  width: 300px;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, filter 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  background-size: cover;
  background-position: center;
} 

.project-card.weather {
  background-image: url('../assets/images/Rice-bg.png');
  background-size: cover;
  background-position: center;
}

.project-card.crop {
  background-image: url('../assets/images/crop-bg.png');
  background-size: cover;
  background-position: center;
}


.project-card:hover {
  transform: scale(1.05);
  filter: brightness(0.85);
  cursor: pointer;
}

.card-logo {
  max-width: 160px;
  margin-bottom: 20px;
  z-index: 2;
}

.card-button {
  background: #ddddffec;
  color: #004400;
  padding: 10px 20px;
  border: 2px solid #004400;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  z-index: 2;
  transition: background 0.3s ease;
}

.card-button:hover {
  background: #004400;
  color: #fff;
}


/* Project pop-up model */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: flex-start; /* align to top */
  padding-top: 100px;      /* avoid navbar */
  overflow-y: auto;
  z-index: 999;
}

.popup-content {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  max-width: 1000px;
  width: 90%;
  position: relative;
}

.popup-content p {
  text-align: justify;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 24px;
  font-weight: bold;
  color: #000;
  cursor: pointer;
}

.close-btn:hover {
  color: red;
}




/* Our Partnes with scrolling */

.partners {
  text-align: center;
  padding: 40px 0;
  background-color: #fff;
}

.partners h3 {
  text-align: center;
  padding: 20px 0;
  font-size: 2rem;
  color: #004d40;
}

.slider-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  max-width: 1500px;
  margin: 0 auto;
  padding-top: 40px;
  overflow: hidden;
}

.logo-track-wrapper {
  overflow: hidden;
  width: 100%;
  max-width: 1000px;
}

.logo-track {
  display: flex;
  transition: transform 0.5s ease;
}

.logo-track img {
  width: 20%; /* 100% / 5 logos */
  height: 150px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.3s;
  opacity: 0.9;
}

.logo-track img:hover {
  transform: scale(1.1);
  opacity: 1;
}

.scroll-btn {
  background-color: #000;
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  font-size: 24px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
}

.scroll-btn:hover {
  background-color: #333;
}


/* Our Team */

.team-cards {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
}

.team-card {
  background-color: #f9f9f9;
  padding: 20px;
  width: 31%;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 10px 20px #07b0e3;
  transition: transform 0.3s;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px green;
}



.team-card img {
  width: 100%;
  /* max-height: 250px; */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.team-card h4 {
  margin: 10px 0 5px;
  font-size: 1.2rem;
  color: #004d40;
}

.team-card .role {
  font-weight: bold;
  color: #555;
  margin-bottom: 5px;
}

.team-card p {
  margin: 5px 0;
  color: #666;
}

@media (max-width: 600px) {
  .team-card {
    width: 100%;
  }
  .team-card img {
    width: 50%;
  }
}

@media (min-width: 601px) and (max-width: 991px) {
  .team-card {
    width: 48%;
  }
  .team-card img {
    width: 50%;
  }
}


.linkedin-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: white;
  border: 2px solid #0077b5;
  border-radius: 50%;
  color: #0077b5;
  font-size: 18px;
  transition: background-color 0.3s ease, transform 0.2s ease, color 0.3s ease;
  text-decoration: none;
}

.linkedin-circle i {
  line-height: 1;
}

.linkedin-circle:hover {
  background-color: #0077b5;
  color: white;
  transform: scale(1.1);
}



/* About Us */

.about-details p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
  color: #444;
}

.vision-mission {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.vision-box, .mission-box {
  flex: 1 1 400px;
  font-size: 16px;
  max-width: 800px;
  padding: 20px;
  border-right: 1px dashed #ccc;
}

.mission-box {
  border-right: none;
}

.vision-box h4,
.mission-box h4 {
  font-size: 20px;
  font-weight: 600;
  color: #4a5d69;
  margin-bottom: 10px;
}

.vision-box p,
.mission-box p {
  font-size: 16px;
  color: #555;
}



/* Blog & News */

.blog-cards {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.blog-card {
  position: relative;
  width: 300px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: scale(1.03);
}

.blog-card img {
  width: 100%;
  height: 100%;
  display: block;
}

.blog-card-button {
  position: absolute;
  width: 200px;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ddddffec;
  color: darkgreen;
  font-weight: bold;
  font-size: 16px;
  border: 2px solid black;
  border-radius: 12px;
  padding: 10px 20px;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background-color 0.3s, color 0.3s;
}

.blog-card-button:hover {
  background-color: darkgreen;
  color: #ffff;
}




/* Contact Us */

/* Apply to the entire contact section */
.contact_class {
  background-color: #444343 ; /* dark green background */
  color: #ffffff;
  padding: 30px 20px;
  font-family: Arial, sans-serif;
}

/* Wraps left and right blocks */
.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 20px;
}

.container h3 {
   text-align: center;
   font-size: 2rem;
   padding: 10px 0;
}

/* Left section: contact info + map */
.contact-left {
  flex: 1;
  min-width: 300px;
}

/* Right section: Google Form */
.contact-right {
  flex: 1;
  min-width: 300px;
}

/* Style headings */
.contact-left h2 {
  margin-bottom: 20px;
}

/* Paragraph spacing */
.contact-left p {
  margin: 10px 0;
  line-height: 1.5;
}

/* Map style */
.map-container {
  margin-top: 20px;
  border-radius: 10px;
  overflow: hidden;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
  }
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;

  padding: 15px 0;
  margin-top: 20px;
}

.social-icons a {
  /* display: flex; */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #0077b5;
  color: white;
  border-radius: 50%;
  font-size: 24px;
  text-decoration: none;
  transition: background-color 0.3s;
  flex-shrink: 0;
}

.social-icons a:hover {
  background-color: #25D366;
}


/* Fix for mobile screen overflow in Contact section */
@media (max-width: 480px) {
  .contact_class .container {
    padding: 0 10px; /* reduce padding to avoid overflow */
    overflow-x: hidden; /* hide horizontal scroll */
  }

  .contact-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .contact-left,
  .contact-right {
    width: 100% !important;
    min-width: 0 !important;
  }

  iframe {
    width: 100% !important;
  }

  .map-container iframe {
    width: 100% !important;
  }

  .social-icons {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .social-icons a {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}



/* WhatsApp Floating Icon */

.whatsapp-float {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  z-index: 999;
  background-color: #25D366;
  color: white;
  font-size: 32px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
  line-height: 60px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #25D366;
}

/* Email Floating Icon */
.email-float {
  position: fixed;
  top: calc(50% + 70px); /* 70px below WhatsApp icon */
  right: 20px;
  z-index: 999;
  background-color: #0072c6;
  color: white;
  font-size: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
  line-height: 60px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.email-float:hover {
  transform: scale(1.1);
  background-color: #005fa3;
}

/* Footer */

.footer {
  /* background: hsl(180, 1%, 19%); */
  background: linear-gradient(to right, #00cfd1, #5863f8);
  color: #fff;
  text-align: center;
  padding: 20px 10px;
  width: 100%;
}

.footer a {
  color: darkgreen;
  text-decoration: underline;
  font-weight: 500;
}

.footer a:hover {
  color: #fff;
}
