/* ── Testimonials Section ── */
#testimonials {
  background: #fff;
  padding: 80px 0;
  overflow: hidden;
  position: relative;
}
 
#testimonials::before {
  content: '\201C';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 220px;
  color: rgba(100, 154, 154, 0.07);
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}
 
.testimonials-wrapper {
  position: relative;
  z-index: 1;
}
 
/* Track + single card slider */
.testi-track-outer {
  overflow: hidden;
  border-radius: 20px;
}
 
.testi-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}
 
.testi-slide {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 15px;
  box-sizing: border-box;
}
 
/* Individual card */
.testi-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 48px 52px 40px;
  box-shadow: 0 8px 40px rgba(100, 154, 154, 0.13), 0 2px 8px rgba(0,0,0,0.04);
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  border-top: 4px solid #649a9a;
  transition: box-shadow 0.3s ease;
}
 
.testi-card:hover {
  box-shadow: 0 16px 56px rgba(100, 154, 154, 0.2), 0 4px 12px rgba(0,0,0,0.06);
}
 
.testi-quote-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #649a9a, #4d8080);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(100, 154, 154, 0.35);
}
 
.testi-quote-icon svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}
 
.testi-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
}
 
.testi-stars span {
  color: #f5a623;
  font-size: 18px;
  line-height: 1;
}
 
.testi-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #4a5568;
  margin-bottom: 30px;
  font-style: italic;
  position: relative;
}
 
.testi-author-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
 
.testi-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #649a9a, #8bbcbc);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 3px 12px rgba(100,154,154,0.3);
}
 
.testi-author-name {
  font-weight: 700;
  color: #2d4a4a;
  font-size: 1rem;
  margin-bottom: 2px;
}
 
.testi-author-label {
  font-size: 0.82rem;
  color: #649a9a;
  font-weight: 500;
  letter-spacing: 0.03em;
}
 
/* Navigation */
.testi-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}
 
.testi-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #649a9a;
  background: transparent;
  color: #649a9a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  flex-shrink: 0;
}
 
.testi-btn:hover {
  background: #649a9a;
  color: #fff;
  transform: scale(1.08);
}
 
.testi-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
 
/* Dots */
.testi-dots {
  display: flex;
  gap: 10px;
  align-items: center;
}
 
.testi-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c8dede;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}
 
.testi-dot.active {
  background: #649a9a;
  width: 28px;
  border-radius: 5px;
}
 
/* Counter */
.testi-counter {
  font-size: 0.88rem;
  color: #8ba9a9;
  font-weight: 600;
  letter-spacing: 0.05em;
  min-width: 48px;
  text-align: center;
}
/* ===== CSS Variables ===== */
:root {
  --teal: #649a9a;
  --teal-dark: #4a7c7c;
  --green: #add3ae;
  --green-dark: #8ab88b;
  --light-bg: #f0f8f0;
  --white: #ffffff;
  --text-dark: #2c3e50;
  --text-muted: #6c757d;
  --shadow-sm: 0 4px 16px rgba(100, 154, 154, 0.12);
  --shadow-md: 0 8px 32px rgba(100, 154, 154, 0.22);
  --shadow-lg: 0 16px 48px rgba(100, 154, 154, 0.28);
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: all 0.35s ease;
}

/* ===== Base ===== */
html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', 'Open Sans', sans-serif;
  background-color: #f8fafa;
  color: var(--text-dark);
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f5f5; }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--teal-dark); }

/* ===== Section Headings ===== */
.section-title {
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
  margin-bottom: 0;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--green));
  border-radius: 2px;
}

/* ===== Navbar ===== */
.navbar {
  transition: var(--transition);
  box-shadow: 0 2px 10px rgba(100, 154, 154, 0.1);
  padding: 12px 0;
}
.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(100, 154, 154, 0.22);
  background: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: blur(12px);
  padding: 7px 0;
}
.navbar-brand span {
  font-size: 1.3rem;
}
.nav-link {
  color: var(--teal) !important;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px !important;
  transition: var(--transition);
  margin: 0 2px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--green));
  border-radius: 2px;
  transition: width 0.35s ease;
}
.nav-link:hover::after { width: 80%; }
.nav-link:hover { color: var(--teal-dark) !important; }

.btn-primary {
  background: linear-gradient(135deg, var(--green), var(--teal)) !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 8px 22px !important;
  font-weight: 600;
  transition: var(--transition) !important;
  box-shadow: 0 4px 14px rgba(100, 154, 154, 0.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark)) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(100, 154, 154, 0.45);
}

/* ===== Hero Carousel ===== */
.carousel-item {
  height: 80vh;
  min-height: 0;
  background-size: cover;
  background-position: center;
  position: relative;
}
.carousel-overlay {
  background: linear-gradient(135deg, rgba(50, 90, 90, 0.72) 0%, rgba(100, 154, 154, 0.65) 50%, rgba(80, 140, 90, 0.6) 100%);
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-caption-content {
  max-width: 720px;
  animation: fadeInUp 0.9s ease both;
}
.carousel-item h1 {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
  line-height: 1.2;
}
.carousel-item p {
  font-size: 1.15rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.55);
  border: none;
  margin: 0 5px;
  transition: var(--transition);
}
.carousel-indicators .active {
  background-color: var(--white);
  width: 28px;
  border-radius: 5px;
}
.scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  animation: bounceY 2.2s infinite;
  z-index: 5;
}
.scroll-hint i { display: block; font-size: 1.3rem; margin-top: 4px; }

/* ===== About Section ===== */
.about-img-wrap {
  position: relative;
  padding: 16px 0 0 16px;
}
.about-img-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  border: 3px solid var(--green);
  border-radius: var(--radius-md);
  z-index: 0;
}
.about-img-wrap img {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.stats-row {
  border-top: 1px solid #e5efef;
  padding-top: 24px;
  margin-top: 24px;
}
.stat-item {
  text-align: center;
  padding: 10px;
}
.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 5px;
}

/* ===== Services Section ===== */
.service-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(100, 154, 154, 0.1);
  box-shadow: var(--shadow-sm);
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-8px);
}
.service-card img {
  height: 180px;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.service-card:hover img {
  transform: scale(1.06);
}
.service-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--teal), var(--green));
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  margin-bottom: 10px;
  flex-shrink: 0;
}
.service-card .card-title {
  color: var(--teal-dark);
  font-weight: 600;
  font-size: 0.97rem;
  margin-bottom: 6px;
}
.service-card .card-text {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.55;
}

/* ===== Why Choose Us ===== */
.why-section {
  background: linear-gradient(135deg, #3d7575 0%, var(--teal) 50%, #5a9e7a 100%);
  position: relative;
  overflow: hidden;
}
/* ===== Testimonials Section ===== */
.testimonial-card {
  background: linear-gradient(135deg, var(--white) 80%, var(--light-bg) 100%);
  border: 1.5px solid var(--green);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  color: var(--text-dark);
  position: relative;
  padding-top: 24px;
  padding-bottom: 24px;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--teal);
  transform: translateY(-6px);
}
.testimonial-card p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.testimonial-card .fw-bold {
  color: var(--teal);
  font-size: 1.05rem;
  margin-top: 0.5rem;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 12px;
  left: 18px;
  font-size: 2.2rem;
  color: var(--green);
  opacity: 0.18;
  font-family: serif;
}
.testimonial-card::after {
  content: '\201D';
  position: absolute;
  bottom: 12px;
  right: 18px;
  font-size: 2.2rem;
  color: var(--green);
  opacity: 0.18;
  font-family: serif;
}
.why-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}
.why-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 260px;
  height: 260px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}
.why-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
  color: white;
  height: 100%;
}
.why-card:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
}
.why-icon {
  width: 62px;
  height: 62px;
  background: rgba(255, 255, 255, 0.18);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
  transition: var(--transition);
}
.why-card:hover .why-icon {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}
.why-card p {
  font-size: 0.9rem;
  margin: 0;
  font-weight: 500;
  line-height: 1.4;
}

/* ===== Gallery Section ===== */
.gallery-item {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-md);
  position: relative;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.45s ease;
  display: block;
  border-radius: var(--radius-md);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(100, 154, 154, 0.6), rgba(80, 140, 90, 0.5));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.gallery-overlay i {
  color: white;
  font-size: 2.2rem;
  transform: scale(0.6);
  transition: transform 0.35s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover .gallery-overlay i { transform: scale(1); }

/* ===== Contact Section ===== */
.contact-card {
  border-radius: var(--radius-md);
  border: 1px solid rgba(100, 154, 154, 0.12);
  box-shadow: var(--shadow-sm);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
  background: var(--white);
}
.contact-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
  border-color: rgba(100, 154, 154, 0.25);
}
.contact-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--teal), var(--green));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.5rem;
  color: white;
  box-shadow: 0 6px 20px rgba(100, 154, 154, 0.35);
}
.contact-card h5 {
  color: var(--teal-dark);
  font-weight: 600;
  margin-bottom: 8px;
}

/* ===== Appointment Section ===== */
.appointment-section {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 50%, var(--green-dark) 100%);
  position: relative;
  overflow: hidden;
}
.appointment-section::before {
  content: '';
  position: absolute;
  top: -90px;
  right: -90px;
  width: 320px;
  height: 320px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}
.appointment-section::after {
  content: '';
  position: absolute;
  bottom: -70px;
  left: -70px;
  width: 240px;
  height: 240px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}
.btn-whatsapp {
  background: #25D366;
  color: white;
  border: none;
  padding: 14px 44px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: var(--transition);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  display: inline-block;
}
.btn-whatsapp:hover {
  background: #1ebe5e;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.55);
}

/* ===== Footer ===== */
.footer {
  background: #1a3535;
  color: rgba(255, 255, 255, 0.82);
}
.footer-brand-name {
  color: var(--green) !important;
  font-family: 'Poppins', sans-serif;
}
.footer h5, .footer h6 {
  color: var(--green);
  font-weight: 600;
  letter-spacing: 0.3px;
}
.footer p, .footer .small {
  color: rgba(255, 255, 255, 0.65);
}
.footer-link {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.9rem;
  display: inline-block;
  line-height: 2;
}
.footer-link:hover {
  color: var(--green);
  padding-left: 6px;
}
.footer hr { border-color: rgba(255, 255, 255, 0.1); }
.footer-bottom {
  background: rgba(0, 0, 0, 0.22);
}
.social-icon {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  margin: 0 4px;
  transition: var(--transition);
  font-size: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.social-icon:hover {
  background: var(--green);
  color: white;
  border-color: var(--green);
  transform: translateY(-3px);
  box-shadow: 0 4px 14px rgba(173, 211, 174, 0.4);
}

/* ===== Floating WhatsApp ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.85rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  z-index: 1000;
  transition: var(--transition);
  animation: waPulse 2.8s infinite;
}
.whatsapp-float:hover {
  background: #1ebe5e;
  color: white;
  transform: scale(1.12);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.65);
}

/* ===== Floating Call Button ===== */
.call-float {
  position: fixed;
  bottom: 98px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(100, 154, 154, 0.55);
  z-index: 1000;
  transition: var(--transition);
  animation: callPulse 2.8s infinite;
}
.call-float:hover {
  background: var(--teal-dark);
  color: white;
  transform: scale(1.12);
  box-shadow: 0 8px 28px rgba(100, 154, 154, 0.7);
}
@keyframes callPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(100, 154, 154, 0.55); }
  50%       { box-shadow: 0 4px 32px rgba(100, 154, 154, 0.85), 0 0 0 10px rgba(100, 154, 154, 0.12); }
}

/* ===== Scroll Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered delay helpers */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ===== Animations ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounceY {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-10px); }
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5); }
  50%       { box-shadow: 0 4px 32px rgba(37, 211, 102, 0.82); }
}

/* ===== Modal ===== */
.modal-content {
  background: transparent;
  border: none;
  box-shadow: none;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .navbar-brand span { font-size: 1rem; }
  .carousel-item { height: 60vh; }
  .carousel-item h1 { font-size: 2rem; }
  .service-card img { height: 245px; }
  .stat-number { font-size: 1.65rem; }
}
@media (max-width: 767px) {
  .carousel-item { height: 52vh; min-height: 320px; }
  .carousel-item h1 { font-size: 1.5rem; }
  .carousel-item p { font-size: 0.9rem; }
  .service-card img { height: 245px; }
  .about-img-wrap { padding: 0; }
  .about-img-wrap::before { display: none; }
  .gallery-item img { height: 170px; }
  .why-card { padding: 20px 14px; }
}
