/* css/style.css */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  background: #f8f9fa;
  line-height: 1.6;
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.4s ease;
  padding: 0.4rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.navbar.transparent {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(6px);
}
.navbar.solid { background: white; box-shadow: 0 2px 15px rgba(31, 244, 7, 0.5); }

@media (max-width: 768px) {
  .navbar {
    justify-content: space-between;
  }

  .hamburger {
    margin-left: auto;
  }
}



/* ── Logo Image Styling ── */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 80px;
  width: auto;
  border-radius: 10px;
  /* transition: all 0.4s ease; */
  /* filter: drop-shadow(0 0 12px rgba(73, 66, 66, 0.45)); */
}

/* Glow effect on hover */
.logo:hover img {
  transform: scale(1.08);
  /* filter: drop-shadow(0 0 18px rgba(49, 47, 47, 0.75)); */
}

/* When navbar becomes solid */
/* .navbar.solid .logo img {
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.25));
} */

@media (max-width: 768px) {
  .logo img {
    height: 62px;
  }
}

/* .logo { font-size: 2rem; font-weight: 700; color: inherit; display: flex; align-items: center; gap: 0.5rem; } */
/* .logo::before { content: "🍃"; font-size: 2.2rem; } */

/*.nav-menu { list-style: none; display: flex; gap: 2.5rem; }*/
/* .nav-menu a { color: inherit; text-decoration: none; font-weight: 500; text-transform: uppercase; font-size: 0.95rem; position: relative; transition: color 0.3s; } */
/*.nav-menu a { color:#0c0c0c; text-decoration: none; text-shadow: 0 1px 3px rgba(255, 255, 255, 0.6); font-weight: 550; text-transform: uppercase; font-size: 0.95rem; position: relative; transition: color 0.3s; }*/
/*.nav-menu a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -6px; left: 0; background: #ffd700; transition: width 0.3s ease; }*/
/*.nav-menu a.active::after, .nav-menu a:hover::after { width: 100%; }*/
/*.nav-menu a.active, .nav-menu a:hover { color: #ffd700 !important; }*/

.nav-menu { list-style: none; display: flex; gap: 2.5rem; }
.nav-menu a { color:#0c0c0c; text-decoration: none; text-shadow: 0 1px 3px rgba(255, 255, 255, 0.6); font-weight: 550; text-transform: uppercase; font-size: 0.95rem; position: relative; transition: color 0.3s; }
.nav-menu a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -6px; left: 0; background: #4bb30b !important; transition: width 0.3s ease; }
.nav-menu a.active::after, .nav-menu a:hover::after { width: 100%; }
.nav-menu a.active, .nav-menu a:hover { color: #4bb30b !important; }

.btn-contact {
  background: #ffd700;
  color: #1a2f1a;
  padding: 0.7rem 1.6rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-contact:hover { background: #ffeb3b; transform: translateY(-2px); }

@media (max-width: 768px) {
  .btn-contact {
    display: none;
  }
}


/* Hamburger for mobile */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: currentColor;
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile Full-screen Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(26, 60, 26, 0.98);
  color: white;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

/* .mobile-menu-inner {
  padding-top: 60px;
} */

.mobile-menu.active {
  display: flex;
  opacity: 1;
  visibility: visible;
}

.mobile-menu ul { list-style: none; text-align: center; }
.mobile-menu a { display: block; color: white; font-size: 2rem; font-weight: 600; text-transform: uppercase; margin: 1.5rem 0; text-decoration: none; }
@media (max-width: 768px) {

  .mobile-menu a {
    font-size: 1.6rem;   /* reduced from 2rem */
    margin: 1.2rem 0;   /* tighter spacing */
    letter-spacing: 0.08em;
  }

}

.mobile-menu a:hover { color: #ffd700; }

.close-btn {
  position: absolute;
  top: 60px;
  right: 30px;
  font-size: 3.5rem;
  cursor: pointer;
  color: white;
}

/* .close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2.8rem;   
  cursor: pointer;
  color: white;
  line-height: 1;
}

.close-btn {
  padding: 18px;
} */


/* ── Hero with Background Videos ── */
.hero {
  height: 100vh;
  min-height: 700px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.video-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease;
  pointer-events: none;
}

.bg-video.active {
  opacity: 1.5;
}

.overlay {
  position: absolute;
  inset: 0;
  /* background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.45)); */
  z-index: 1;
  pointer-events: none;
}


.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 5%;
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}

.hero-content.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero h1 {
  font-size: clamp(3.5rem, 8vw, 6.0rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.hero h2 {
  font-size: clamp(1.6rem, 4vw, 2.0rem);
  font-weight: 600;
  letter-spacing: 0.4em;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.btn-discover {
  display: inline-block;
  background: #ffd700;
  color: #1a2f1a;
  padding: 1rem 3rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: all 0.4s;
}

.btn-discover:hover {
  background: #ffeb3b;
  transform: scale(1.08);
}

.slider-dots {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 3;
}

.dot {
  width: 14px;
  height: 14px;
  background: rgba(255,255,255,0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  background: #ffd700;
  transform: scale(1.4);
}

/* About Us Section (your original) */
#about {
  padding: 120px 5% 80px;
  background: white;
}


/* ... keep your existing About Us styles here ... */

/* Responsive */
@media (max-width: 768px) {
  .navbar { padding: 1rem 5%; }
  .hamburger { display: flex; }
  .nav-menu { display: none; }
  .btn-contact { margin-left: auto; padding: 0.6rem 1.2rem; font-size: 0.9rem; }

  .hero h1 { font-size: clamp(2.8rem, 10vw, 5.5rem); }
  .hero h2 { font-size: clamp(1.4rem, 5vw, 2.2rem); }
  .btn-discover { padding: 0.8rem 2.5rem; font-size: 1rem; }

  #about { padding: 80px 5% 60px; }
}



/* ── Footer ── */
.site-footer {
  background: #1a2f1a;
  color: #ffffff;
  padding: 80px 5% 0;
  /* margin-top: 120px; */
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #ffd700;
  text-transform: uppercase;
}

.footer-col p,
.footer-col li,
.footer-col a {
  font-size: 0.95rem;
  color: #d7e6d7;
  line-height: 1.7;
  text-decoration: none;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a:hover {
  color: #ffd700;
}

/* Brand */
.footer-brand img {
  width: 160px;
  margin-bottom: 20px;
  border-radius: 10px;
}

.footer-brand p {
  max-width: 280px;
}

/* Bottom bar */
.footer-bottom {
  margin-top: 60px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  text-align: center;
  font-size: 0.9rem;
  color: #cfd8cf;
}

/* ── Responsive Footer ── */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 576px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand p {
    margin: 0 auto;
  }
}

/* ============================= */
/* MOBILE MENU CLICK FIX (FINAL) */
/* ============================= */

/* menu बंद असताना clicks block होऊ नयेत */
.mobile-menu {
  pointer-events: none;
}

/* menu open असताना clicks allow */
.mobile-menu.active {
  pointer-events: auto;
}

.navbar {
  z-index: 9999;
}

.hamburger {
  position: relative;
  z-index: 10000;
}

.mobile-menu {
  z-index: 9998;
}




/* ── Cards Section Heading ── */
#solution .section-heading {
  padding: 80px 5% 40px;
  text-align: center;
  background: #f0f7f0;
}

#solution .section-heading h2 {
  font-size: 2.6rem;
  font-weight: 700;
  color: #2e7d32;
  margin-bottom: 1rem;
}

#solution .section-heading p {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: #444;
  line-height: 1.7;
}

/* Mobile */
@media (max-width: 768px) {
  #solution .section-heading {
    padding: 60px 5% 30px;
  }

  #solution .section-heading h2 {
    font-size: 2rem;
  }

  #solution .section-heading p {
    font-size: 0.95rem;
  }
}


/* =============================== */
/* LOADER – SOIL TO SHINE REVEAL   */
/* =============================== */

#page-loader {
  position: fixed;
  inset: 0;
  background: linear-gradient(
  180deg,
  #142214 0%,
  #233823 55%,
  #355c35 100%
);

  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90000;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

#page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

/* Logo container */
.logo-loader {
  position: relative;
  width: 120px;
  height: 120px;
  overflow: hidden;
}

/* Logo */
/* .logo-loader img {
  width: 100%;
  height: auto;
  opacity: 0;
  transform: scale(0.92);
  animation: logoIn 1.1s ease forwards;
  animation-delay: 0.6s;
  filter: drop-shadow(0 10px 18px rgba(46, 125, 50, 0.35));
} */

.logo-loader img {
  width: 100%;
  height: auto;
  opacity: 0;
  transform: scale(0.96);
  animation: logoSoftZoom 1.3s ease forwards;
  animation-delay: 0.4s;
  filter: drop-shadow(0 10px 18px rgba(46, 125, 50, 0.35));
}

@keyframes logoSoftZoom {
  to {
    opacity: 1;
    transform: scale(1);
  }
}


/* Shine sweep */
.logo-loader::after {
  content: "";
  position: absolute;
  inset: -40%;
  /* background: linear-gradient(
    120deg,
    transparent 35%,
    rgba(144, 238, 144, 0.45) 50%,
    transparent 65%
  ); */
   background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f4fbf4 45%,
    #e6f4e6 100%
  );
  transform: translateX(-120%) rotate(12deg);
  animation: shine 1.2s ease forwards;
  animation-delay: 0.9s;
}

/* Animations */
@keyframes logoIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shine {
  to {
    transform: translateX(120%) rotate(12deg);
  }
}

/* =============================== */
/* OUR STORY – FARM SCENE ANIMATION */
/* =============================== */

.story-farm {
  position: relative;
  overflow: hidden;
  background: #f0f7f0;
  padding: 120px 5%;
}

.farm-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.story-farm-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: auto;
  text-align: center;
  background: rgba(255,255,255,0.85);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.story-farm-content h2 {
  font-size: 2.6rem;
  color: #2e7d32;
  margin-bottom: 1rem;
}

.story-farm-content p {
  font-size: 1.05rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.story-btn {
  display: inline-block;
  padding: 1rem 2.2rem;
  background: #4caf50;
  color: white;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(76,175,80,0.35);
}

/* Mobile */
@media (max-width: 768px) {
  .story-farm {
    padding: 80px 5%;
  }

  .story-farm-content h2 {
    font-size: 2.1rem;
  }

  .story-farm-content {
    padding: 30px 20px;
  }
}

/* =============================== */
/* cards below button */
/* =============================== */

.more-products-wrap {
  text-align: center;
  margin-top: 60px;
}

.more-products-btn {
  display: inline-block;
  padding: 14px 36px;
  background: linear-gradient(135deg, #2e7d32, #4caf50);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.more-products-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}



/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: transform 0.3s ease;
}

.whatsapp-float img {
  width: 32px;
  height: 32px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}
