body {
  font-family: "Montserrat", sans-serif;
  margin: 0;
}

/* ================= HERO ================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  color: #fff;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #23ab4b, #010602);
}

/* Background Image */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../assets/images/index-hero.webp') center/cover no-repeat;
  opacity: 0.25;
  z-index: 0;

  /* ONE TIME ZOOM */
  transform: scale(1.1);
  animation: zoomOnce 1.5s ease forwards;
}

/* Overlay */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

/* Content */
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

/* Title */
.hero h1 {
  font-size: 60px;
  font-weight: 700;
  margin-bottom: 20px;
}

/* Subtitle */
.hero p {
  font-size: 18px;
  margin-bottom: 30px;
}

/* Buttons */
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* BUTTON */
.btn {
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s ease;
}

/* Primary */
.hero .btn.primary {
  background: #22c55e;
  color: #fff;
}

.hero .btn.primary:hover {
  background: #15803d;
  transform: translateY(-2px);
}

/* Secondary */
.hero .btn.secondary {
  border: 2px solid #fff;
  color: #fff;
}

.hero .btn.secondary:hover {
  background: #fff;
  color: #22c55e;
}

/* ================= TEXT ANIMATION ================= */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.8s ease forwards;
}

.delay { animation-delay: 0.3s; }
.delay2 { animation-delay: 0.6s; }

/* ================= KEYFRAMES ================= */

/* Smooth text reveal */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Background zoom only once */
@keyframes zoomOnce {
  from {
    transform: scale(1.2);
  }
  to {
    transform: scale(1);
  }
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
  .hero h1 { font-size: 40px; }
  .hero p { font-size: 16px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 15px; }
}

@media (max-width: 360px) {
  .hero h1 { font-size: 26px; }
}




/* SECTION */
.section {
  padding: 20px 20px;
  text-align: center;

}

.section-title {
  font-size: 32px;
  /* color: #1e3a8a; */
  color: #005B1F;
  margin-bottom: 20px;
}

@media (max-width: 500px) {
  .section-title{
    font-size: 30px;
  }
}
.section-sub {
  margin-bottom: 40px;
  color: #666;
}




/* ABOUT */
.about-text {
  /* max-width: 700px; */
  margin: 20px auto;
}

/* ================= SERVICES TEXT CENTER ================= */
.services-intro {
  text-align: center;
  background: linear-gradient(135deg, #b9f3cf, #c8e6c9);
}

.services-intro .section-title,
.services-intro .services-desc {
  margin-left: auto;
  margin-right: auto;
}

.services-intro .services-desc {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 20px auto;
}


.service-showcase {
  display: flex;
  justify-content: center;
  margin: 30px 0 ;
}

.service-card {
  width: 380px;
  height: 260px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 1s ease;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0));
  display: flex;
  justify-content: center;
  /* center horizontally */
  align-items: flex-end;
  /* keep at bottom */
  /* padding: 280px; */
  color: white;
  text-align: center;
  /* center text */
}

#serviceTitle {
  transition: opacity 0.5s ease;
}

.overlay h3 {
  width: 100%;
  font-size: 20px;
  font-weight: 600;
}


/* CTA WRAPPER */
/* .services-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  
  text-align: center;
  
} */

/* FAQ */

/* FAQ SECTION WRAPPER */
.faq {
  max-width: 1100px;
  margin: 40px auto;   /* center + spacing */
  padding: 10px;
}

/* FAQ SECTION BACKGROUND */
.faq-section {
  background: linear-gradient(135deg, #b9f3cf, #c8e6c9);
  padding: 20px;   /* spacing top-bottom */
  margin-top: 0px;     /* space from above section */
}

.faq-title {
  text-align: center;
  margin-bottom: 40px;
  display: block;
}

.faq-item {
    background: #ffffff;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.faq-question {
    padding: 15px 20px;
    cursor: pointer;
    font-weight: 600;
    /* background: #e0e7ff; */
    background: #22c55e;
    position: relative;
}


.faq-question::after {
    content: "+";
    position: absolute;
    right: 20px;
}

.faq-item.active .faq-question::after {
    content: "-";
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: 0.3s ease;
    padding: 0 20px;

}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 15px 20px;
}


/* BUTTON */
.explore-btn {
  margin-top: 30px;
  margin-bottom: 10px;
  padding: 12px 28px;
  display: inline-block;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  color: #005B1F;
  border: 2px solid #00290E;

  transition: all 0.35s ease;
  box-shadow: 0 4px 10px rgba(30, 58, 138, 0.1);
}

/* HOVER EFFECT */
.explore-btn:hover {
  /* background: linear-gradient(135deg, #1e3a8a, #0b1f4d); */
  background: linear-gradient(135deg, #23ab4b, #010602);
  /* color: var(--background-white); */
  color: #fff;
  border-color: transparent;

  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(30, 58, 138, 0.4);
}



/* ═══════════════════════════════════════
   TESTIMONIALS SECTION
═══════════════════════════════════════ */

.testimonials-section {
  /* background: rgba(217, 247, 229, 1); */
  /* background-color: #c1eac1; */
  /* background: linear-gradient(135deg, #b9f3cf, #c8e6c9); */
  padding: 20px;
  text-align: center;
  overflow: hidden;
}

.testimonials-section .section-title {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 700;
  margin-bottom: 0;
  color: #005B1F;
}

.testimonials-section .section-title span {
  color: #005B1F;
}

/* ── Slider wrapper ── */
.testimonial-slider {
  max-width: 1100px;
  margin: 48px auto 0;
  position: relative;
  overflow: hidden;
}

/* ── Track ── */
.testimonial-track {
  display: flex;
  gap: 24px;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* ── Card (>=768px: 3-card view) ── */
.testimonial-card {
  flex-shrink: 0;
  /* background: #fff; */
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9, #9bee9d);
  border-radius: 20px;
  padding: 28px 24px 24px;
  transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
  opacity: 0.42;
  transform: scale(0.91);
  box-shadow: none;
  cursor: pointer;
  text-align: left;
  box-sizing: border-box;
}

.testimonial-card.active {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.13);
}

/* ── Text ── */
.testimonial-text {
  font-size: 14px;
  line-height: 1.7;
  /* color: #555; */
  color: #000;
  margin-bottom: 22px;
  min-height: 48px;
}

/* ── User row ── */
.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #222;
}

.user-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #e5e7eb;
}

.user-name {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 2px;
  color: #1f2937;
}

.stars {
  color: #f59e0b;
  font-size: 14px;
  letter-spacing: 1px;
}

/* ── Dots ── */
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.testimonial-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #94a3b8;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, width 0.3s;
}

.testimonial-dots .dot.active {
  background: #22c55e;
  width: 24px;
  border-radius: 4px;
}

/* ═══════════════════════════════════════
   MOBILE < 768px — single card with side spacing
═══════════════════════════════════════ */
@media (max-width: 767px) {
  .testimonials-section {
    padding: 20px 0 44px;
  }

  .testimonial-slider {
    max-width: 100%;
    overflow: hidden;
  }

  .testimonial-track {
    gap: 16px;
  }

  /* On mobile: inactive cards stay dimmed, active card is full opacity */
  .testimonial-card {
    border-radius: 16px;
    padding: 22px 18px;
    opacity: 0.35;
    transform: scale(0.94);
  }

  .testimonial-card.active {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.11);
  }
}

/* CTA */
/* CTA */
.cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

    padding: 4rem 2rem;
    margin: 3rem auto;
    width: 90%;
    max-width: 950px;

    border-radius: 20px;
    background: linear-gradient(135deg, #e3f2fd, #c8e6c9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* ❌ Heading color touch nahi kar rahe */
.cta .section-title span {
    color: #22c55e;
}

/* Paragraph */
.cta p {
    margin-top: 10px;
    font-size: 1rem;
    color: #475569;
}



/* ///for btsn  */




.ready-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;

  padding: 4rem 2rem;
  margin: 3rem auto;
  width: 90%;
  max-width: 950px;

  border-radius: 20px;

  background: linear-gradient(135deg, #e3f2fd, #c8e6c9);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* INNER */
.cta-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  width: 100%;
}

/* TEXT */
.cta-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: #1b5e20;
}

.cta-sub {
  font-size: clamp(0.9rem, 2vw, 1rem);
  color: #2e7d32;
  max-width: 600px;
  line-height: 1.6;
}

/* ACTIONS */
.cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  margin-top: 14px;
}

/* BUTTON COMMON */
.btn-primary,
.btn-phone {
  flex: 1 1 auto;
  min-width: 200px;
  max-width: 260px;
  justify-content: center;
}

/* PRIMARY BUTTON */
.btn-primary {
  background: linear-gradient(135deg, #2e7d32, #1b5e20);
  color: #fff;

  padding: 0.9rem 1.8rem;
  border: none;
  border-radius: 50px;

  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;

  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  background: linear-gradient(135deg, #43a047, #2e7d32);
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.btn-primary:active {
  transform: scale(0.96);
}

/* CALL BUTTON */
.btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;

  background: linear-gradient(135deg, #66bb6a, #388e3c);
  color: #fff;

  padding: 0.9rem 1.6rem;
  border-radius: 50px;
  text-decoration: none;

  font-weight: 600;
  font-size: 1rem;

  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-phone:hover {
  transform: translateY(-3px) scale(1.05);
  background: linear-gradient(135deg, #81c784, #2e7d32);
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.btn-phone:active {
  transform: scale(0.96);
}

/* ICON */
.phone-icon {
  font-size: 1.2rem;
}

/* SHINE EFFECT */
.btn-primary::after,
.btn-phone::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: rgba(255,255,255,0.3);
  transform: skewX(-25deg);
  transition: 0.5s;
}

.btn-primary:hover::after,
.btn-phone:hover::after {
  left: 130%;
}

/* PULSE */
@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(67,160,71, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(67,160,71, 0); }
  100% { box-shadow: 0 0 0 0 rgba(67,160,71, 0); }
}

#callBtn {
  animation: pulseGlow 2s infinite;
}

/* ===== RESPONSIVE IMPROVEMENTS ===== */

/* Tablet */
@media (max-width: 992px) {
  .ready-cta {
    padding: 3rem 1.5rem;
  }

  .cta-actions {
    gap: 0.8rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .ready-cta {
    padding: 2.5rem 1.2rem;
    border-radius: 16px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;   /* ← was: center — this was collapsing button widths */
    width: 100%;
    gap: 20px;
  }

  .btn-primary,
  .btn-phone {
    display: flex;          /* ← was: inline-flex on btn-phone — caused overflow */
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box; /* ← ensures padding doesn't push past 100% */
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .cta-actions{
    display: flex;
    gap: 1px;
    margin-right: 60px;
   
  }
  .ready-cta {
    padding: 2rem 1rem;
  }

  .cta-title {
    font-size: 1.3rem;
  }

  .cta-sub {
    font-size: 0.85rem;
  }
}


        /* CTA SECTION - THE MAIN FIX AREA */
        .cta {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 4rem 2rem;
            margin: 4rem auto;
            width: 90%;
            max-width: 1200px;
            border-radius: 20px;
            background: linear-gradient(135deg, #e3f2fd, #c8e6c9);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            box-sizing: border-box;
        }

        .cta-actions {
            display: flex;
            gap: 1.5rem;
            flex-wrap: wrap;
            justify-content: center;
            width: 100%;
            margin-top: 2rem;
        }

        .btn-primary, .btn-phone {
            min-width: 220px;
            padding: 1rem 2rem;
            border-radius: 50px;
            font-weight: 700;
            text-decoration: none;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            transition: all 0.3s ease;
            box-shadow: 0 6px 18px rgba(0,0,0,0.1);
            border: none;
            cursor: pointer;
        }

        .btn-primary { background: linear-gradient(135deg, #2e7d32, #1b5e20); color: white; }
        .btn-phone { background: linear-gradient(135deg, #66bb6a, #388e3c); color: white; }

        /* RESPONSIVE MEDIA QUERIES */

        @media (max-width: 768px) {
            .hero h1 { font-size: 42px; }
            
            .cta {
                width: 95%;
                padding: 3rem 1.5rem;
                margin: 2rem auto;
            }

            .cta-actions {
                flex-direction: column;
                align-items: center;
                gap: 1rem;
                margin-right: 0 !important; /* Forces removal of any side offsets */
                padding: 0;
            }

            .btn-primary, .btn-phone {
                width: 100%;
                max-width: 300px;
                min-width: 0; /* Allows shrinking on very small screens */
                box-sizing: border-box;
            }
        }

        @media (max-width: 480px) {
            .section-title { font-size: 26px; }
            .cta-title { font-size: 1.4rem; }
            
            /* Resetting the problematic margin from your previous code */
            .cta-actions {
                margin: 1.5rem 0 0 0 !important; 
                width: 100%;
            }
        }








/* ================= STACK CONTAINER ================= */
.card-stack {
  position: relative;
  width: 100%;
  max-width: 400px;   /* desktop limit */
  aspect-ratio: 16 / 10;  /* auto height */
  margin: auto;
}

/* ================= CARD ================= */
.stack-card {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.8s ease;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* IMAGE */
.stack-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================= STACK OFFSET ================= */
/* Desktop */
.stack-card:nth-child(1) { transform: translateY(0px); z-index: 5; }
.stack-card:nth-child(2) { transform: translateY(10px); z-index: 4; }
.stack-card:nth-child(3) { transform: translateY(20px); z-index: 3; }
.stack-card:nth-child(4) { transform: translateY(30px); z-index: 2; }
.stack-card:nth-child(5) { transform: translateY(40px); z-index: 1; }

/* ================= ACTIVE ================= */
.stack-card.active {
  transform: translateY(0) scale(1.05);
  z-index: 10;
}

/* ================= EXIT ================= */
.stack-card.exit-left {
  transform: translateX(-120%) rotate(-8deg);
  opacity: 0;
}

.stack-card.exit-right {
  transform: translateX(120%) rotate(8deg);
  opacity: 0;
}

/* ================= TABLET ================= */
@media (max-width: 768px) {

  .card-stack {
    max-width: 90%;
  }

  .stack-card:nth-child(2) { transform: translateY(8px); }
  .stack-card:nth-child(3) { transform: translateY(16px); }
  .stack-card:nth-child(4) { transform: translateY(24px); }
  .stack-card:nth-child(5) { transform: translateY(32px); }

}

/* ================= SMALL MOBILE ================= */
@media (max-width: 480px) {

  .card-stack {
    max-width: 95%;
  }

  .stack-card:nth-child(2) { transform: translateY(6px); }
  .stack-card:nth-child(3) { transform: translateY(12px); }
  .stack-card:nth-child(4) { transform: translateY(18px); }
  .stack-card:nth-child(5) { transform: translateY(24px); }

}

/* ================= EXTRA SMALL ================= */
@media (max-width: 360px) {

  .stack-card:nth-child(2) { transform: translateY(4px); }
  .stack-card:nth-child(3) { transform: translateY(8px); }
  .stack-card:nth-child(4) { transform: translateY(12px); }
  .stack-card:nth-child(5) { transform: translateY(16px); }

}


/* ================= STACK ================= */
/* .card-stack {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 16 / 10;
  margin: auto;
} */

/* ALL CARDS EXACT SAME POSITION */
.stack-card {
  position: absolute;
  inset: 0; /* 👈 perfect overlap */
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.7s ease;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* IMAGE */
.stack-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* TOP CARD */
.stack-card.active {
  z-index: 5;
  transform: scale(1.05);
}

/* EXIT LEFT */
.stack-card.exit-left {
  transform: translateX(-120%) rotate(-6deg) scale(0.95);
  opacity: 0;
}

/* EXIT RIGHT */
.stack-card.exit-right {
  transform: translateX(120%) rotate(6deg) scale(0.95);
  opacity: 0;
}

/* SLIGHT DEPTH EFFECT (OPTIONAL) */
.stack-card:not(.active) {
  transform: scale(0.98);
  opacity: 0.9;
}





/* for our services overflow handle on mobile */


.service-showcase {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 20px;           /* Added breathing space */
  min-height: 10vh;            /* Optional: centers vertically */
  box-sizing: border-box;
  overflow-x: hidden;           /* Prevents horizontal scroll */
}

.card-stack {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 420px;             /* Prevents card from becoming too wide */
}

/* Main Card */
.service-card {
  width: 100%;                  /* Changed from fixed 380px */
  max-width: 380px;             /* Keeps max size on large screens */
  height: 260px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
  transition: transform 0.3s ease;
  margin: 0 auto;               /* Centers the card */
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 1s ease;
}

/* ===================== RESPONSIVE FIXES ===================== */

/* Tablet */
@media (max-width: 768px) {
  .service-showcase {
    padding: 30px 15px;
  }
  
  .service-card {
    height: 240px;              /* Slightly smaller height on tablet */
  }
}

/* Mobile */
@media (max-width: 480px) {
  .service-showcase {
    padding: 20px 10px;
  }
  
  .service-card {
    height: 220px;              /* Even smaller on mobile */
    max-width: 340px;
    border-radius: 10px;
  }
}

/* Extra small phones */
@media (max-width: 360px) {
  .service-card {
    height: 200px;
    max-width: 310px;
  }
}

