/* ==========================================================================
   Dr. Ninad Mahale – Pediatrician & Neonatologist
   Main Stylesheet (style.css)
   Author: Premium Healthcare Theme
   --------------------------------------------------------------------------
   Table of Contents
   1.  CSS Variables / Design Tokens
   2.  Global Resets & Base Typography
   3.  Reusable Utilities & Buttons
   4.  Section Headings
   5.  Header / Navigation
   6.  Hero Section
   7.  Why Choose Us / Feature Cards
   8.  About Preview
   9.  Services Cards
   10. Statistics Counter
   11. Testimonials
   12. FAQ Accordion
   13. CTA Banner
   14. Timeline (About page)
   15. Service Detail Sections
   16. Appointment Form
   17. Contact Page
   18. Footer
   19. Back To Top Button
   20. Preloader
   ========================================================================== */

/* 1. CSS Variables / Design Tokens
   ========================================================================== */
:root {
  /* Brand Colors */
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --secondary: #14b8a6;
  --secondary-dark: #0f766e;
  --accent: #f9735b;
  --bg: #f7fbf9;
  --text: #1f2a37;
  --text-light: #667085;
  --white: #ffffff;
  --muted: #e9f6f2;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #2563eb 0%, #14b8a6 100%);
  --grad-accent: linear-gradient(135deg, #f9735b 0%, #fbbf24 100%);
  --grad-soft: linear-gradient(180deg, #f7fbf9 0%, #e9f6f2 100%);

  /* Typography */
  --font-head: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(37, 99, 235, 0.08);
  --shadow-md: 0 8px 30px rgba(20, 184, 166, 0.13);
  --shadow-lg: 0 20px 50px rgba(37, 99, 235, 0.16);

  /* Radii */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  /* Layout */
  --header-h: 80px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 2. Global Resets & Base Typography
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.7;
  /* IMPORTANT: do NOT use overflow-x: hidden here. On mobile browsers it turns
     <body> into a scroll container, which breaks position: fixed children
     (the sticky navbar scrolls away / disappears). `clip` contains the same
     horizontal overflow WITHOUT establishing a scroll container. */
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: color var(--transition);
}

a:hover { color: var(--secondary); }

img { max-width: 100%; height: auto; display: block; }

ul { list-style: none; }

section { position: relative; padding: 90px 0; }

/* 3. Reusable Utilities & Buttons
   ========================================================================== */
.container { max-width: 1200px; }

.text-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-soft { background: var(--grad-soft); }

.btn {
  font-family: var(--font-head);
  font-weight: 600;
  border-radius: 50px;
  padding: 13px 32px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform var(--transition), box-shadow var(--transition),
    background var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: var(--grad-primary);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.26);
}

.btn-primary:hover {
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(20, 184, 166, 0.34);
}

.btn-accent {
  background: var(--grad-accent);
  color: var(--text);
  box-shadow: 0 8px 22px rgba(249, 115, 91, 0.28);
}

.btn-accent:hover {
  color: var(--text);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(251, 191, 36, 0.36);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-white:hover { transform: translateY(-3px); color: var(--primary-dark); }

/* Shine sweep effect on buttons */
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transform: skewX(-20deg);
  z-index: -1;
  transition: left 0.6s ease;
}

.btn:hover::after { left: 130%; }

/* 4. Section Headings
   ========================================================================== */
.section-head {
  max-width: 680px;
  margin: 0 auto 60px;
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--secondary);
  background: rgba(20, 184, 166, 0.11);
  padding: 7px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 16px;
}

.section-subtitle { color: var(--text-light); font-size: 1.05rem; }

/* 5. Header / Navigation
   ========================================================================== */
.site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100%;
  height: var(--header-h);
  z-index: 2147483000;
  display: flex;
  align-items: center;
  background: rgba(248, 252, 255, 0.85);
  backdrop-filter: blur(12px);
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-sm);
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.navbar { width: 100%; }
.navbar .container { min-width: 0; }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text);
  min-width: 0;
}

.brand:hover { color: var(--text); }

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--grad-primary);
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 1.2rem;
  box-shadow: var(--shadow-sm);
}

.brand-name {
  line-height: 1;
  min-width: 0;
}
.brand-name small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.7rem;
  color: var(--text-light);
  letter-spacing: 0.5px;
}

.nav-link {
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--text) !important;
  margin: 0 4px;
  padding: 8px 14px !important;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 14px;
  width: 0;
  height: 2px;
  background: var(--grad-primary);
  transition: width var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after { width: calc(100% - 28px); }

.nav-link.active { color: var(--primary) !important; }

.navbar-toggler { border: none; padding: 6px; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler i { pointer-events: none; }

/* 6. Hero Section
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  background: var(--grad-soft);
  overflow: hidden;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 18px;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}

.hero-tag i { color: var(--accent); }

.hero-title {
  font-size: clamp(2.2rem, 5.2vw, 3.6rem);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 34px;
  max-width: 540px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 38px; }

.hero-trust { display: flex; gap: 30px; flex-wrap: wrap; }
.hero-trust-item { display: flex; flex-direction: column; }
.hero-trust-item strong {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--primary);
}
.hero-trust-item span { font-size: 0.85rem; color: var(--text-light); }

/* Hero image with floating cards */
.hero-visual { position: relative; }

.hero-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.hero-img-wrap img { width: 100%; object-fit: cover; }

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.55;
  z-index: 1;
}

.hero-blob.one {
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.34), transparent 70%);
  top: -40px; right: -50px;
}
.hero-blob.two {
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.32), transparent 70%);
  bottom: -40px; left: -40px;
}

.floating-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
}

.floating-card i {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 1.1rem;
}

.floating-card .fa-stethoscope { background: var(--primary); }
.floating-card .fa-heart-pulse { background: var(--secondary); }
.floating-card .fa-syringe { background: var(--accent); }

.floating-card strong { font-family: var(--font-head); font-size: 1rem; display: block; }
.floating-card span { font-size: 0.78rem; color: var(--text-light); }

.fc-1 { top: 30px; left: -30px; }
.fc-2 { bottom: 80px; right: -36px; }
.fc-3 { bottom: -20px; left: 40px; }

/* Animated background pediatric shapes */
.hero-shapes { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-shapes i {
  position: absolute;
  color: rgba(37, 99, 235, 0.11);
  font-size: 2.4rem;
}
.hero-shapes i:nth-child(1) { top: 18%; left: 8%; font-size: 3rem; color: rgba(255,183,3,.18);}
.hero-shapes i:nth-child(2) { top: 65%; left: 14%; }
.hero-shapes i:nth-child(3) { top: 28%; right: 12%; color: rgba(0,200,150,.16);}
.hero-shapes i:nth-child(4) { bottom: 14%; right: 8%; }
.hero-shapes i:nth-child(5) { top: 48%; left: 48%; font-size: 1.8rem;}

/* 7. Why Choose Us / Feature Cards
   ========================================================================== */
.feature-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(20, 184, 166, 0.12);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.feature-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 22px;
  background: var(--grad-primary);
  transition: transform var(--transition);
}

.feature-card:nth-child(even) .feature-icon { background: var(--grad-accent); color: var(--text); }
.feature-card:hover .feature-icon { transform: rotate(-8deg) scale(1.08); }

.feature-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.feature-card p { color: var(--text-light); font-size: 0.96rem; margin: 0; }

/* 8. About Preview
   ========================================================================== */
.about-img-wrap { position: relative; }
.about-img-wrap img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

.about-badge {
  position: absolute;
  bottom: 26px; right: -16px;
  background: var(--grad-primary);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 26px;
  box-shadow: var(--shadow-md);
  text-align: center;
}
.about-badge strong { font-family: var(--font-head); font-size: 2rem; display: block; line-height: 1; }
.about-badge span { font-size: 0.82rem; }

.about-list { margin: 26px 0 32px; }
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--text-light);
}
.about-list i { color: var(--secondary); margin-top: 4px; font-size: 1.05rem; }

.signature {
  display: flex; align-items: center; gap: 16px;
  margin-top: 24px;
}
.signature-name { font-family: var(--font-head); font-weight: 700; }
.signature-name small { display: block; font-weight: 500; color: var(--text-light); font-family: var(--font-body); }

.clinic-care-img {
  width: 100%;
  aspect-ratio: 11 / 8;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* 9. Services Cards
   ========================================================================== */
.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(20, 184, 166, 0.12);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }

.service-card .service-icon {
  width: 70px; height: 70px;
  border-radius: 20px;
  display: grid; place-items: center;
  font-size: 1.8rem; color: var(--white);
  background: var(--grad-primary);
  margin-bottom: 22px;
  transition: transform var(--transition);
}
.service-card:hover .service-icon { transform: scale(1.1) rotate(6deg); }

.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-card p { color: var(--text-light); font-size: 0.94rem; margin-bottom: 16px; }

.service-photo-card {
  padding: 0;
}

.service-photo-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transform: scaleX(-1);
}

.service-photo-content {
  padding: 24px 26px 28px;
}

.service-link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.service-link i { transition: transform var(--transition); }
.service-link:hover i { transform: translateX(5px); }

/* decorative background number */
.service-card .bg-num {
  position: absolute;
  bottom: -18px; right: 6px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 5rem;
  color: rgba(37, 99, 235, 0.06);
  z-index: 0;
}

/* 10. Statistics Counter
   ========================================================================== */
.stats {
  background: var(--grad-primary);
  color: var(--white);
  overflow: hidden;
}
.stats::before {
  content: "";
  position: absolute; inset: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><circle cx="30" cy="30" r="2" fill="rgba(255,255,255,0.08)"/></svg>');
  opacity: 0.6;
}
.stat-item { text-align: center; position: relative; }
.stat-item i { font-size: 2.4rem; margin-bottom: 14px; color: rgba(255,255,255,.9); }
.stat-number {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1;
}
.stat-label { font-size: 0.98rem; opacity: 0.92; margin-top: 8px; }

/* 11. Testimonials
   ========================================================================== */
.testimonials { background: var(--grad-soft); }
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  margin: 12px;
  height: 100%;
}
.testimonial-stars { color: var(--accent); margin-bottom: 16px; }
.testimonial-text { color: var(--text-light); font-style: italic; margin-bottom: 22px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: var(--white);
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 600;
}
.testimonial-author strong { font-family: var(--font-head); display: block; }
.testimonial-author span { font-size: 0.82rem; color: var(--text-light); }

/* Swiper overrides */
.swiper { padding: 20px 8px 60px; }
.swiper-pagination-bullet { background: var(--primary); opacity: 0.3; }
.swiper-pagination-bullet-active { opacity: 1; background: var(--grad-primary); width: 24px; border-radius: 4px; }

/* 12. FAQ Accordion
   ========================================================================== */
.faq-wrap { max-width: 840px; margin: 0 auto; }
.accordion-item {
  border: none;
  border-radius: var(--radius-sm) !important;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.accordion-button {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text);
  padding: 20px 24px;
  background: var(--white);
}
.accordion-button:not(.collapsed) { color: var(--primary); background: var(--muted); box-shadow: none; }
.accordion-button:focus { box-shadow: none; }
.accordion-button::after {
  background-image: none;
  content: "\f067";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.85rem;
  width: auto; height: auto;
  color: var(--primary);
}
.accordion-button:not(.collapsed)::after { content: "\f068"; transform: none; }
.accordion-body { color: var(--text-light); padding: 4px 24px 22px; }

/* 13. CTA Banner
   ========================================================================== */
.cta-banner {
  background: var(--grad-primary);
  border-radius: var(--radius-lg);
  padding: 60px 50px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-banner::before,
.cta-banner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}
.cta-banner::before { width: 240px; height: 240px; top: -90px; right: -40px; }
.cta-banner::after { width: 180px; height: 180px; bottom: -80px; left: 10%; }
.cta-banner h2 { color: var(--white); font-size: clamp(1.6rem, 3.5vw, 2.4rem); position: relative; }
.cta-banner p { opacity: 0.95; position: relative; margin-bottom: 0; }

/* 14. Timeline (About page)
   ========================================================================== */
.timeline { position: relative; max-width: 900px; margin: 0 auto; }
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  transform: translateX(-50%);
}
.tl-item { position: relative; width: 50%; padding: 0 40px 44px; }
.tl-item:nth-child(odd) { left: 0; text-align: right; }
.tl-item:nth-child(even) { left: 50%; text-align: left; }
.tl-content {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.tl-content:hover { box-shadow: var(--shadow-md); }
.tl-year { font-family: var(--font-head); font-weight: 700; color: var(--primary); font-size: 0.9rem; }
.tl-content h4 { font-size: 1.12rem; margin: 6px 0 8px; }
.tl-content p { color: var(--text-light); font-size: 0.92rem; margin: 0; }
.tl-dot {
  position: absolute;
  top: 22px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--primary);
  z-index: 2;
}
.tl-item:nth-child(odd) .tl-dot { right: -49px; }
.tl-item:nth-child(even) .tl-dot { left: -49px; }

/* 15. Service Detail Sections (services.html)
   ========================================================================== */
.service-detail {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 40px;
  transition: box-shadow var(--transition);
}
.service-detail:hover { box-shadow: var(--shadow-md); }
.service-detail .sd-icon {
  width: 76px; height: 76px;
  border-radius: 20px;
  background: var(--grad-primary);
  color: var(--white);
  display: grid; place-items: center;
  font-size: 1.9rem;
  margin-bottom: 22px;
}
.service-detail h3 { font-size: 1.5rem; margin-bottom: 14px; }
.sd-block-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--secondary);
  margin: 22px 0 12px;
}
.sd-list li { display: flex; gap: 10px; margin-bottom: 9px; color: var(--text-light); font-size: 0.94rem; }
.sd-list i { color: var(--secondary); margin-top: 5px; }
.sd-process { counter-reset: step; }
.sd-process li {
  counter-increment: step;
  display: flex; gap: 14px; margin-bottom: 14px;
  color: var(--text-light); font-size: 0.94rem;
}
.sd-process li::before {
  content: counter(step);
  flex: 0 0 30px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--muted);
  color: var(--primary);
  font-family: var(--font-head); font-weight: 700;
  display: grid; place-items: center;
  font-size: 0.85rem;
}

/* 16. Appointment Form
   ========================================================================== */
.page-hero {
  padding: calc(var(--header-h) + 70px) 0 70px;
  background: var(--grad-soft);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 14px; }
.breadcrumb-nav { display: inline-flex; gap: 8px; color: var(--text-light); font-size: 0.92rem; }
.breadcrumb-nav a { font-weight: 500; }

.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
}
.form-label { font-family: var(--font-head); font-weight: 500; font-size: 0.92rem; margin-bottom: 7px; }
.form-control, .form-select {
  border: 1.6px solid #e2ecf3;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.13);
}
.form-control.is-invalid { border-color: #e03131; }
.invalid-feedback { font-size: 0.82rem; }

.form-success {
  display: none;
  background: rgba(20, 184, 166, 0.11);
  border: 1.6px solid var(--secondary);
  color: var(--secondary-dark);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 24px;
  align-items: center;
  gap: 12px;
}
.form-success.show { display: flex; }

.availability-card {
  background: var(--grad-primary);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.availability-card h3 { color: var(--white); }
.avail-row {
  display: flex; justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.avail-row:last-child { border-bottom: none; }
.avail-row span:last-child { font-weight: 600; }

/* 17. Contact Page
   ========================================================================== */
.contact-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  height: 100%;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.contact-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.contact-card .c-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: var(--white);
  display: grid; place-items: center;
  font-size: 1.5rem;
  margin: 0 auto 18px;
}
.contact-card h4 { font-size: 1.1rem; margin-bottom: 8px; }
.contact-card p { color: var(--text-light); margin: 0; font-size: 0.95rem; }

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  line-height: 0;
}
.map-wrap iframe { width: 100%; height: 420px; border: 0; }

.emergency-cta {
  background: var(--grad-accent);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: var(--shadow-md);
}
.emergency-cta h3 { margin: 0; }
.emergency-cta p { margin: 4px 0 0; color: var(--text); }

/* 18. Footer
   ========================================================================== */
.site-footer {
  background: #102a43;
  color: #c8d6de;
  padding: 70px 0 0;
}
.site-footer h5 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 22px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; }
.footer-about p { color: #9fb3bd; font-size: 0.92rem; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { color: #9fb3bd; font-size: 0.94rem; display: inline-flex; align-items: center; gap: 8px; }
.footer-links a:hover { color: var(--secondary); padding-left: 4px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; color: #9fb3bd; font-size: 0.92rem; }
.footer-contact i { color: var(--secondary); margin-top: 4px; }

.footer-social { display: flex; gap: 12px; margin-top: 8px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  display: grid; place-items: center;
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--grad-primary); transform: translateY(-4px); }

.footer-bottom {
  margin-top: 50px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
  color: #9fb3bd;
}
.footer-bottom a { color: #9fb3bd; }
.footer-bottom a:hover { color: var(--secondary); }

/* 19. Back To Top Button
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: var(--white);
  border: none;
  display: grid; place-items: center;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 999;
  box-shadow: var(--shadow-md);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); }

/* Floating WhatsApp / Call quick action */
.quick-call {
  position: fixed;
  bottom: 28px; left: 28px;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--white);
  display: grid; place-items: center;
  font-size: 1.2rem;
  z-index: 999;
  box-shadow: 0 8px 22px rgba(20, 184, 166, 0.34);
  animation: pulse-call 2s infinite;
}
.quick-call:hover { color: var(--white); transform: scale(1.08); }

@keyframes pulse-call {
  0% { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.45); }
  70% { box-shadow: 0 0 0 16px rgba(20, 184, 166, 0); }
  100% { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0); }
}

/* 20. Preloader
   ========================================================================== */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: grid;
  place-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-spinner {
  width: 56px; height: 56px;
  border: 5px solid var(--muted);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Selection */
::selection { background: var(--primary); color: var(--white); }
