html {
  scroll-behavior: smooth;
}

:root {
  --primary-color: #3a5a40;
  --secondary-color: #f4ede4;
  --accent-color: #a68d7c;
  --text-color: #333333;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-image: url('../assets/images/242.jpg'); /* Update path if different */
  background-repeat: repeat;
  background-attachment: fixed;
  background-size: 500px;
  background-position: center;
  color: var(--text-color);
  position: relative;
  z-index: -1; /* Ensures background stays behind everything */
}


body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-color: rgba(244, 237, 228, 0.70); /* soft beige with opacity */
  z-index: -1;
  pointer-events: none;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--primary-color);
  padding: 1px 50px;
}

.logo img {
  height: 100%;
  max-height: 100px; /* Optional: limit max size */
}


nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover,
nav a.active {
  color: var(--accent-color);
}

/* Carousel */
.carousel {
  position: relative;
  height: 90vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.carousel-text {
  position: absolute;
  top: 30%;
  left: 10%;
  transform: translateY(-30%);
  color: white;
  max-width: 600px;
  z-index: 2;
}

.carousel-text {
  position: absolute;
  top: 35%; /* slightly higher for better alignment */
  left: 10%;
  transform: translateY(-30%);
  color: white;
  max-width: 600px;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.35); /* translucent black bg */
  padding: 30px;
  border-radius: 10px;
}

.carousel-text h1 {
  font-size: 3.675rem; /* 5% larger than 3.5rem */
  font-weight: 700;
  line-height: 1.2;
}

.carousel-text p {
  margin: 15px 0 30px;
  font-size: 1.31rem; /* 5% larger than 1.25rem */
}



.buttons .btn {
  padding: 10px 18px;
  margin-right: 12px;
  font-weight: 600;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn {
  background-color: white;
  color: var(--text-color);
  border: 2px solid transparent;
}

.btn.outline {
  background-color: transparent;
  border: 2px solid white;
  color: white;
}

.btn:hover {
  background-color: var(--accent-color);
  color: white;
  border-color: var(--accent-color);
}


.dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.dot {
  display: inline-block;
  height: 12px;
  width: 12px;
  margin: 0 6px;
  background-color: white;
  border-radius: 50%;
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.3s;
}
.choose-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.choose-card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  flex: 1 1 300px;
  max-width: 100%;
}

.choose-card.full-width {
  flex-basis: 100%;
}

.choose-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
.choose-card {
  transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
  opacity: 1;
}

/* Sections */
section {
  padding: 0px 20px;
}

.container {
  max-width: 1000px; /* reduce from 1100px */
  margin: 0 auto;
  padding: 0 20px; /* ensure small side padding */
}
h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
}

.feature-grid {
  display: flex;
  justify-content: center; /* centers the row */
  flex-wrap: wrap;
  gap: 50px;
  max-width: 1000px;
  margin: 0 auto;
}


.feature {
  flex: 1 1 30%;
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}
.faq-intro {
  text-align: center;
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 30px;
}

.faq-item {
  padding: 15px 0;
  border-bottom: 1px solid #ccc;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  padding: 10px 0;
  transition: color 0.3s;
}

.faq-question:hover {
  color: var(--accent-color);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
  padding-left: 10px;
}

.faq-question.active + .faq-answer {
  padding-top: 10px;
}

.toggle-icon i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  color: var(--text-color);
}

.faq-question.active .toggle-icon i {
  transform: rotate(45deg);
  color: var(--accent-color);
}

a {
  color: var(--primary-color);         /* Normal = green */
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--accent-color);          /* Hover = brown */
  text-decoration: underline;
}

.about-intro {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: center;
}

.about-gallery .image-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
}

.about-gallery .image-row img {
  width: 280px;
  height: 190px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  scroll-snap-align: start;
}
.about-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.about-gallery-grid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 8px;
}

  .about-gallery {
    margin-bottom: 30px;
  }

.section-underline {
  width: 520px;
  height: 4px;
  background-color: var(--accent-color);
  margin: 10px auto 30px;
  border-radius: 2px;
}
.section-card {
  background-color: rgba(255, 255, 255, 0.8); /* translucent white */
  backdrop-filter: blur(6px); /* for frosted-glass look */
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  margin-bottom: 40px;
}
.our-values {
  margin-bottom: 30px; /* adjust this number as you prefer */
}
.values-cards {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.value-card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  flex: 1 1 300px;
  max-width: 300px;
  transition: transform 0.3s;
}
.value-card:hover {
  transform: translateY(-5px);
}

.process-section {
  padding: 0px 10px;
  background-repeat: repeat;
  background-size: 500px;
  background-attachment: fixed;
}


.process-steps {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}

.process-section .container {
  position: relative;
  z-index: 1;
}

.step {
  flex: 1 1 22%;
  background: white;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.step:hover {
  transform: translateY(-8px);
}

.step-number {
  width: 40px;
  height: 40px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.testimonial-section {
  padding: 0px 20px;
  background-color: (255, 255, 255, 0.70);
  
}

.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 30px;
}

.testimonial {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.10);
  max-width: 300px;
  flex: 1 1 280px;
  text-align: center;
  font-size: 1rem;
  line-height: 1.6;
  transition: all 0.3s ease;
}

.testimonial span {
  display: block;
  margin-top: 15px;
  font-weight: bold;
  font-size: 0.95rem;
  color: var(--primary-color);
}
.testimonial:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.bangla-font {
  font-family: 'Noto Sans Bengali', sans-serif;
}
.section-title-box {
  background-color: #84a98c; /* Matches your --secondary-color */
  padding: 20px 30px;
  text-align: center;
  margin-bottom: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.section-title-box h2 {
  margin: 0;
  font-size: 2rem;
  font-weight: 600;
}

.custom-header {
  position: sticky;
  top: 0;
  z-index: 1000; /* make sure it's above other elements */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 60px;
  background-color: var(--primary-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); /* optional subtle shadow */
}


.custom-header .logo img {
  height: 100%;
  max-height: 100px; /* adjust this if your header height changes */
  width: auto;
  object-fit: contain;
}


.main-nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
}

.main-nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--accent-color);
}

.header-button .btn-header {
  background-color: white;
  color: var(--primary-color);
  padding: 8px 18px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.header-button .btn-header:hover {
  background-color: var(--accent-color);
  color: white;
}

.custom-header {
  height: 100px; /* or whatever height you want */
  padding: 0 60px;
  
}

.custom-header .logo {
  display: flex;
  align-items: center;
  height: 100%;
}
/* Wave Divider Style */
.wave-divider {
  position: relative;
  z-index: 1;
  line-height: 0;
  overflow: hidden;
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: 100px;
}
/* Fade-up animation for sections */
.animate-fade {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-out;
  transition-delay: 0.1s; /* ⏳ delay of 0.2 seconds */
}
.animate-fade.show {
  opacity: 1;
  transform: translateY(0);
}

.cta-clean-section {
  background-color: rgba(244, 237, 228, 0.9); /* semi-transparent version of --secondary-color */
  backdrop-filter: blur(2px);
  border-radius: 10px;
  padding: 60px 20px;
  text-align: center;
  margin: 60px auto;
  max-width: 900px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}


.cta-heading {
  font-size: 2rem;
  color: #3A5A40;
  margin-bottom: 10px;
}

.cta-subtext {
  max-width: 700px;
  margin: 0 auto 30px;
  color: #333;
  font-size: 1.05rem;
}

.cta-clean-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-clean-buttons .btn {
  background-color: #3A5A40;
  color: #fff;
  padding: 12px 24px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.cta-clean-buttons .btn:hover {
  background-color: #A68D7C;
}

.cta-clean-buttons .btn.outline {
  background-color: transparent;
  color: #3A5A40;
  border: 2px solid #3A5A40;
}

.cta-clean-buttons .btn.outline:hover {
  background-color: #3A5A40;
  color: #fff;
}

/* Footer Section */
.custom-footer {
  background-color: #3A5A40;
  color: #F4EDE4;
  position: relative;
  overflow: hidden;
  padding: 60px 20px 30px;
  font-family: 'Poppins', sans-serif;
}

.footer-bg-texture {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('images/leaf-texture.png'); /* Optional */
  opacity: 0.05;
  z-index: 0;
  background-size: cover;
  pointer-events: none;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-left {
  flex: 1;
  min-width: 260px;
  padding-right: 30px;
}

.footer-left p {
  margin: 8px 0;
}

.footer-left i {
  margin-right: 8px;
  color: #A68D7C;
}

.footer-left a {
  color: #F4EDE4;
  text-decoration: none;
}

.footer-left a:hover {
  text-decoration: underline;
}

.footer-right {
  flex: 1;
  min-width: 300px;
  margin-top: 20px;
}

.footer-tagline {
  margin-top: 20px;
  font-style: italic;
  font-size: 0.95rem;
  color: #d8d8d8;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  margin-top: 30px;
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

.footer-wave-divider svg {
  display: block;
  width: 100%;
  height: 80px;
  margin-bottom: -4px;
}
.footer-wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  background: transparent;
  position: relative;
}
.footer-right iframe {
  width: 100%;
  height: 250px;
  border: 0;
  border-radius: 12px;
}
/* ========== MOBILE RESPONSIVENESS (footer) ========== */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-left,
  .footer-right {
    padding: 20px 0;
    min-width: 100%;
  }

  .footer-right iframe {
    height: 200px;
  }
}
.faq-boxed {
  background-color: rgba(244, 237, 228, 0.92); /* semi-transparent beige */
  padding: 40px;
  border-radius: 16px;
  box-shadow:
    0 6px 12px rgba(0, 0, 0, 0.08),  /* soft main shadow */
    0 0 0 2px rgba(58, 90, 64, 0.05); /* faint outer border in brand green */
  max-width: 900px;
  margin: 0 auto 60px;
  backdrop-filter: blur(4px); /* subtle blur behind */
  transition: box-shadow 0.3s ease;
}
.faq-boxed:hover {
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.1),
    0 0 0 2px rgba(58, 90, 64, 0.1);
}
.gallery-grid img {
  transition: transform 0.4s ease, box-shadow 0.3s ease;
  border-radius: 12px;
}

.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.gallery-boxed {
  background-color: rgba(244, 237, 228, 0.92); /* semi-beige like FAQ */
  padding: 40px;
  border-radius: 16px;
  box-shadow:
    0 6px 12px rgba(0, 0, 0, 0.08),
    0 0 0 2px rgba(58, 90, 64, 0.05); /* slight border with brand tone */
  max-width: 1100px;
  margin: 0 auto 60px;
  backdrop-filter: blur(4px);
}
.product-boxed {
  background-color: rgba(244, 237, 228, 0.92);
  padding: 40px;
  border-radius: 16px;
  box-shadow:
    0 6px 12px rgba(0, 0, 0, 0.08),
    0 0 0 2px rgba(58, 90, 64, 0.05);
  max-width: 1100px;
  margin: 0 auto 60px;
  backdrop-filter: blur(4px);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.product-card {
  background-color: #fff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
  border-top: 6px solid var(--accent-color);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  border-top-color: var(--primary-color);
}

.product-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  color: var(--primary-color);
  font-size: 1.2rem;
}

.product-card p {
  color: #555;
  line-height: 1.6;
  font-size: 0.95rem;
}

.product-icon {
  font-size: 28px;
  color: var(--accent-color);
  margin-bottom: 8px;
}
.why-card .why-icon {
  font-size: 32px;
  color: var(--accent-color); /* Muted brown */
  margin-bottom: 10px;
  display: block;
}




/* ================= HAMBURGER MENU FOR MOBILE ================= */
.hamburger {
  display: none;
  cursor: pointer;
  font-size: 24px;
  color: var(--text-color);
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
    position: absolute;
    right: 20px;
    top: 20px;
  }

  nav.main-nav {
    display: none;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    background-color: var(--primary-color);
    padding: 20px;
    margin-top: 60px;
    border-radius: 12px;
  }

  nav.main-nav a {
    color: white;
    font-size: 18px;
    text-decoration: none;
  }

  nav.main-nav.active {
    display: flex;
  }

  header.custom-header {
    height: auto;
    flex-direction: column;
    align-items: center;
    padding: 20px 16px;
    position: relative;
  }

  .btn-header {
    font-size: 14px;
    padding: 10px 16px;
    margin-top: 10px;
  }
}

@media (max-width: 768px) {
  nav.main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--primary-color);
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    transition: all 0.3s ease;
  }

  nav.main-nav.active {
    display: flex;
  }

  nav.main-nav a {
    color: white;
    font-size: 18px;
    padding: 10px 0;
    text-decoration: none;
  }

  .btn-header {
    display: none;
  }
}
