/* Global Styles */
body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  scroll-behavior: smooth;
}

/* Navbar */
.navbar {
  background-color: #2E7D32;
}

.navbar-nav .nav-link {
  color: #fff !important;
  margin-right: 20px;
  font-weight: 500;
}

.navbar-nav .nav-link:hover {
  color: #FBC02D !important;
}

/* Hero Section */
.hero {
  background: url('../images/farm-banner.jpg') center center/cover no-repeat;
  height: 90vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.1rem;
  margin-top: 10px;
}

.btn-custom {
  background-color: #FBC02D;
  color: #2E7D32;
  font-weight: 600;
  border: none;
  margin-top: 20px;
  transition: 0.3s ease;
}

.btn-custom:hover {
  background-color: #fff;
  color: #2E7D32;
}


/* Hero Section */

/* Hero Carousel */
/* === HERO FADE + ZOOM EFFECT FIXED === */
#hero {
  position: relative;
  overflow: hidden;
}

#hero .carousel-item {
  transition: opacity 1s ease-in-out;
}

#hero .carousel-item img.hero-img {
  height: 90vh;
  width: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 8s ease-in-out; /* smooth zoom speed */
}

/* Ken Burns Zoom Effect */
#hero .carousel-item.active img.hero-img {
  animation: zoomEffect 8s ease-in-out forwards;
}

@keyframes zoomEffect {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}

/* Overlay for readability */
.carousel-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

/* Caption text animations */
.carousel-caption {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  color: #fff;
  text-align: center;
  animation: fadeTextIn 1.5s ease forwards;
}

.carousel-caption h1 {
  font-weight: 700;
  font-size: 3rem;
}

.carousel-caption p {
  font-size: 1.2rem;
}

@keyframes fadeTextIn {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Controls */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.45);
  border-radius: 50%;
  padding: 20px;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
  background-color: rgba(251, 192, 45, 0.8);
}

/* Responsive */
@media (max-width: 768px) {
  .carousel-caption h1 {
    font-size: 1.8rem;
  }
  .carousel-caption p {
    font-size: 1rem;
  }
}


/* About Section */
.about-section {
  padding: 80px 0;
}

.about-section h2 {
  color: #2E7D32;
  font-weight: 600;
}

/* Products Section */
.products {
  background-color: #f8f9fa;
  padding: 80px 0;
}

.product-card {
  border: none;
  background-color: #fff;
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.product-card i {
  color: #2E7D32;
  font-size: 2.5rem;
}



/* --- What We Do Section --- */
.what-we-do {
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  color: #fff;
  z-index: 1;
}

.what-we-do-bg {
  background: url('../IMG/whatwedo.jpg') center center/cover no-repeat;
  position: absolute;
  inset: 0;
  z-index: 1;
}

.what-we-do .overlay {
  background: rgba(84, 210, 0, 0.4);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.what-we-do .container {
  position: relative;
  z-index: 3;
}

.what-we-do .card {
  background: #fff;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.what-we-do .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.what-we-do .icon i {
  color: #2E7D32;
}


/* Gallery */
.gallery {
  padding: 80px 0;
}

.gallery img {
  border-radius: 10px;
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: all 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* Footer CSS */

.site-footer {
  background-color: #1B1B1B;
  color: #ccc;
  font-size: 15px;
  line-height: 1.7;
}

/* .site-footer h3 {
  color: #FBC02D;
  margin-bottom: 15px;
} */

.site-footer a {
  color: #ccc;
  text-decoration: none;
}

.site-footer a:hover {
  color: #FBC02D;
}

.site-footer ul {
  padding-left: 0;
}

.site-footer ul li {
  list-style: none;
  margin-bottom: 8px;
}

.site-footer .list-inline i {
  transition: color 0.3s ease;
}

.site-footer .list-inline i:hover {
  color: #FBC02D;
}

.site-footer hr {
  opacity: 0.2;
}

@media (max-width: 768px) {
  .site-footer .text-center {
    text-align: center !important;
  }
  .site-footer .list-inline {
    text-align: center;
    margin-top: 10px;
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .product-card i {
    font-size: 2rem;
  }
}



/* About Us Page CSS */

/* About Page Header */
.page-header {
  background: url('../IMG/slide2.jpg') center center/cover no-repeat;
  position: relative;
  height: 60vh;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-header .overlay {
  background: rgba(0, 0, 0, 0.6);
  padding: 40px;
  width: 100%;
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 700;
}

.page-header p {
  font-size: 1.2rem;
}

/* About Page Section */
.about-page {
  background-color: #fff;
}

.about-page h2 {
  color: #2E7D32;
  font-weight: 600;
}

.info-box {
  background-color: #fff;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.info-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
/* Milestones Section with Background Image */
.milestones-section {
  position: relative;
  background: url('../IMG/slide1.jpg') center center/cover no-repeat fixed;
  color: #fff;
  padding: 100px 0;
}

.milestones-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 50, 10, 0.7); /* dark greenish overlay */
  z-index: 1;
}

.milestones-section .container {
  position: relative;
  z-index: 2;
}

.milestones-section h2 {
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.milestones-section .milestone-item {
  align-items: start;
}

.milestones-section .milestone-icon i {
  color: #4CAF50;
}

.milestones-section .community-highlights h4 {
  color: #9BE080;
  margin-bottom: 20px;
}

.milestones-section .community-highlights ul li {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #e9fbe7;
}

/* Responsive */
@media (max-width: 767px) {
  .milestones-section {
    background-attachment: scroll;
    text-align: center;
  }
  .milestones-section .milestone-item {
    flex-direction: column;
  }
}

/* Objectives Section */
.objectives {
  background-color: #f8f9fa;
}

.objectives-list li {
  font-size: 1rem;
  margin-bottom: 10px;
  line-height: 1.6;
}


/* Intro Section (Solutions, Service, and Long-Term Viability) */
.product-intro {
  background: url('../IMG/product-bg.jpg') center center/cover no-repeat;
  color: #fff;
  position: relative;
}

.product-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(246, 246, 246, 0.7); /* green overlay */
  z-index: 1;
}

.product-intro .container {
  position: relative;
  z-index: 2;
}

.product-intro h2 {
  color: #FBC02D;
}

.product-intro p {
  color: #f8f9fa;
  font-size: 1.1rem;
}

/* Call to Action */
.cta {
  background-color: #2E7D32;
  color: #fff;
}

.cta .btn-custom {
  background-color: #FBC02D;
  color: #2E7D32;
  border: none;
  font-weight: 600;
}

.cta .btn-custom:hover {
  background-color: #fff;
  color: #2E7D32;
}


/* Gallery Section */
.gallery-section .gallery-img {
  cursor: pointer;
  transform: translateY(20px);
  opacity: 0;
}

.gallery-section .gallery-img:hover {
  transform: scale(1.03);
  transition: transform 0.3s ease;
}

/* Lightbox Overlay */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.lightbox-overlay .lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}

.lightbox-overlay .lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
}

/* 🌍 International Jaggery Projects Section (Mauli-style) */
.international-presence {
  position: relative;
  background: #000; /* fallback */
  color: #fff;
  padding: 100px 0;
  overflow: hidden;
}

/* Map Background */
.international-presence::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../IMG/World_Map.png') center center/cover no-repeat;
  /* opacity: 0.25; */
  z-index: 1;
  /* filter: brightness(0.7) contrast(1.2); */
}

/* Dark Overlay (like Mauli site) */
.international-presence::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0, 0, 0, 0.95),
    rgba(0, 77, 8, 0.95)
  );
  z-index: 2;
}

/* Section Content */
.international-presence .container {
  position: relative;
  z-index: 3;
}

/* Heading */
.international-presence h2 {
  color: #fbc02d;
  font-weight: 700;
  font-size: 2.2rem;
}

/* Description */
.international-presence p {
  max-width: 700px;
  margin: 0 auto 50px auto;
  color: #f1f1f1;
  font-size: 1.05rem;
}

/* Counter Boxes */
.counter-box {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px 10px;
  transition: all 0.4s ease;
  backdrop-filter: blur(6px);
}

.counter-box:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-6px);
}

.counter-box i {
  color: #fbc02d;
  margin-bottom: 15px;
}

.counter-box h2 {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
}

.counter-box p {
  color: #fbc02d;
  font-weight: 600;
  margin-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .international-presence {
    padding: 70px 0;
  }
  .counter-box h2 {
    font-size: 2rem;
  }
}


/* Contact Page */
.contact-section {
  background-color: #f8f9fa;
}

.contact-section h2 {
  color: #2E7D32;
}

.contact-info p {
  margin-bottom: 10px;
  font-size: 1rem;
}

.contact-section .form-control {
  border: 1px solid #ccc;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.contact-section .form-control:focus {
  border-color: #2E7D32;
  box-shadow: 0 0 5px rgba(46, 125, 50, 0.3);
}

.contact-section .btn-custom {
  background-color: #FBC02D;
  color: #2E7D32;
  font-weight: 600;
  border: none;
  transition: 0.3s ease;
}

.contact-section .btn-custom:hover {
  background-color: #fff;
  color: #2E7D32;
  border: 1px solid #2E7D32;
}

.map-section iframe {
  width: 100%;
  height: 400px;
  border: none;
}
