/* Legal Room Consultancy — Static theme (Bootstrap 4.3.1) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,700&display=swap');

:root {
  --background: #faf7f2;
  --foreground: #000033;
  --muted: #ece7df;
  --muted-foreground: #4d605e;
  --border: #d6dfde;
  --primary: #000033;          /* deep teal */
  --primary-glow: #258079;
  --primary-foreground: #faf7f2;
  --secondary: #00B5EF;        /* sky blue */
  --secondary-foreground: #ffffff;
  --shadow-elegant: 0 20px 60px -20px rgb(0, 0, 51);
  --shadow-card: 0 4px 24px -8px rgba(15, 74, 71, 0.18);
  /* --gradient-hero: linear-gradient(135deg, rgba(15, 74, 71, 0.92), rgb(0, 0, 51)); */
  --gradient-hero: linear-gradient(135deg, rgb(0, 0, 51), rgb(0, 0, 51));
  --gradient-accent: linear-gradient(90deg, #00B5EF, #000033);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
h1, h2, h3, h4, h5, .font-serif {
  font-family: 'Montserrat', sans-serif;
  letter-spacing: -0.01em;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--secondary); text-decoration: none; }

.container-prose { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 992px) { .container-prose { padding: 0 40px; } }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--secondary);
}

/* ===================== HEADER ===================== */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  z-index: 1030;
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: blur(8px);
  transition: all .3s ease;
}
.site-header.is-scrolled {
  background: rgba(250, 247, 242, 0.97);
  box-shadow: var(--shadow-card);
}
.topbar {
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 12px;
  overflow: hidden;
}
.topbar-inner {
  white-space: nowrap;
  overflow: hidden;
}

/* ── Marquee ticker ── */
.topbar-ticker {
  display: flex;
  overflow: hidden;
  width: 100%;
  padding: 8px 0;
}
.topbar-ticker-track {
  display: flex;
  gap: 0;
  animation: ticker-scroll 30s linear infinite;
  white-space: nowrap;
  will-change: transform;
}
.topbar-ticker-track:hover { animation-play-state: paused; }
.topbar-ticker-item {
  flex-shrink: 0;
  padding-right: 80px;
  opacity: .9;
}
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.topbar a { color: var(--primary-foreground); }
.topbar a:hover { color: var(--secondary); }
.topbar-inner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0;
}
@media (max-width: 767px) { .topbar { display: none; } }

.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark {
  width: 40px; height: 40px;
  background: var(--primary); color: var(--primary-foreground);
  display: grid; place-items: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: 20px;
  border-radius: 4px;
}
.brand-name { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 18px; line-height: 1.1; color: var(--foreground); }
.brand-sub { font-size: 10px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted-foreground); }

.main-nav { display: none; gap: 32px; }
@media (min-width: 992px) { .main-nav { display: flex; } }
.main-nav a {
  font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--foreground);
}
.main-nav a.active, .main-nav a:hover { color: var(--primary); }

/* ===================== Dropdown (desktop nav) ===================== */
.main-nav .dropdown {
  position: relative;
  list-style: none;
}
.main-nav .dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.main-nav .dropdown-caret {
  font-size: 10px;
  opacity: 0.85;
  transform: translateY(1px);
}

.main-nav .dropdown-content {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 240px;
  background: rgba(250, 247, 242, 0.97);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 8px 0;
  box-shadow: var(--shadow-card);
  z-index: 1040;
}
.main-nav .dropdown-content li { list-style: none; }

.main-nav .dropdown-content a {
  display: block;
  padding: 10px 16px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--foreground);
}
.main-nav .dropdown-content a:hover {
  background: rgba(0, 181, 239, 0.14);
  color: var(--secondary);
}

.main-nav .dropdown:hover .dropdown-content,
.main-nav .dropdown:focus-within .dropdown-content,
.main-nav .dropdown.is-open .dropdown-content {
  display: block;
}

/* Click-to-open caret button (desktop dropdown) */
.main-nav .dropdown-toggle-btn {
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  color: var(--foreground);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.main-nav .dropdown-toggle-btn:focus { outline: none; }

.btn-cta {
  display: inline-block;
  background: var(--secondary); color: var(--secondary-foreground) !important;
  font-weight: 600; padding: 10px 18px; border-radius: 4px;
  border: none; transition: opacity .2s;
}
.btn-cta:hover { background: var(--secondary); opacity: .9; color: var(--secondary-foreground) !important; }
.btn-primary-dark {
  display: inline-block;
  background: var(--primary); color: var(--primary-foreground) !important;
  font-weight: 600; padding: 10px 18px; border-radius: 4px; border: none;
}
.btn-primary-dark:hover { background: var(--primary-glow); color: var(--primary-foreground) !important; }
.btn-outline-light {
  display: inline-block;
  background: transparent; color: var(--primary-foreground) !important;
  font-weight: 600; padding: 10px 18px; border-radius: 4px;
  border: 1px solid var(--primary-foreground);
}
.btn-outline-light:hover { background: var(--primary-foreground); color: var(--primary) !important; }

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: none; padding: 8px; color: var(--foreground); cursor: pointer;
}
@media (min-width: 992px) { .menu-toggle, .header-cta-mobile { display: none; } }
@media (max-width: 991px) { .header-cta-desktop { display: none; } }

.mobile-nav {
  display: none;
  background: var(--background);
  border-top: 1px solid var(--border);
}
.mobile-nav.open { display: block; }
.mobile-nav .container-prose { padding-top: 16px; padding-bottom: 16px; display: flex; flex-direction: column; gap: 8px; }
.mobile-nav a { padding: 8px 0; font-weight: 600; text-transform: uppercase; font-size: 13px; letter-spacing: 0.06em; color: var(--foreground); }
.mobile-nav a.active { color: var(--primary); }

/* ===================== Mobile dropdown (desktop has hover dropdown) ===================== */
.mobile-dropdown { display: block; }
.mobile-dropdown > summary {
  list-style: none;
  cursor: pointer;
  padding: 8px 0;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--foreground);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-dropdown > summary::-webkit-details-marker { display: none; }
.mobile-dropdown > summary i { font-size: 12px; opacity: 0.9; }

.mobile-dropdown-content {
  display: none;
  padding: 6px 0 10px;
}
.mobile-dropdown[open] .mobile-dropdown-content {
  display: block;
}
.mobile-dropdown-content a {
  display: block;
  padding: 8px 0;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
}
.mobile-dropdown-content a:hover {
  color: var(--secondary);
}

main { padding-top: 96px; min-height: 60vh; }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex; align-items: center;
  margin-top: -96px;
  color: var(--primary-foreground);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-inner { position: relative; padding: 160px 0 140px; }
.hero h1 {
  font-weight: 700;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  max-width: 880px;
  margin: 24px 0 0;
}
.hero h1 .accent { color: var(--secondary); font-style: italic; }
.hero p.lead { margin-top: 24px; max-width: 640px; font-size: 18px; opacity: .88; }
.hero .cta-row { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; }
.hero-stripe { position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: var(--gradient-accent); }

/* Per-slide text panels */
.hero-text-panel {
  position: absolute;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  pointer-events: none;
}
.hero-text-panel.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}

/* ===================== HERO SLIDER — CINEMATIC ===================== */
.hero-slider { position: absolute; inset: 0; }

/* Each slide sits stacked, invisible by default */
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}
.hero-slide.active { opacity: 1; }

/* Ken Burns: images start zoomed, JS animates them to scale(1) on each activation */
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  will-change: transform;
}

:root {
            --bg-color: #f9f7f2; 
            --primary-blue: #002d5b;
            --accent-blue: #007bff;
            --text-muted: #888;
        }

        body {
            background-color: var(--bg-color);
            font-family: 'Montserrat', sans-serif;
            color: var(--primary-blue);
        }

        .faq-section { padding: 80px 0; }

        .pre-title {
            text-transform: uppercase;
            letter-spacing: 2px;
            font-size: 0.8rem;
            font-weight: 700;
            color: var(--accent-blue);
            display: flex;
            align-items: center;
        }

        .pre-title::before {
            content: "";
            width: 25px;
            height: 1px;
            background-color: var(--accent-blue);
            margin-right: 10px;
        }

        .faq-title {
            font-family: 'Montserrat', sans-serif;
            font-size: 3.2rem;
            margin: 15px 0;
        }

        .faq-subtitle {
            color: var(--text-muted);
            max-width: 500px;
            margin-bottom: 50px;
            line-height: 1.5;
        }

        /* Bootstrap 4 Accordion Customization */
        .accordion > .card {
            background-color: transparent;
            border: none;
            border-bottom: 1px solid #e0e0e0;
            border-radius: 0;
        }

        .card-header {
            background-color: transparent;
            border: none;
            padding: 20px 0;
        }

        .btn-link {
            width: 100%;
            text-align: left;
            color: var(--primary-blue) !important;
            font-family: 'Montserrat', sans-serif;
            font-size: 1.3rem;
            font-weight: 700;
            text-decoration: none !important;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0;
        }

        /* Icon Switch (+ / x) */
        .btn-link::after {
            content: "+";
            font-family: 'Montserrat', sans-serif;
            font-size: 1.8rem;
            font-weight: 300;
            transition: 0.3s;
            color: var(--accent-blue);
        }

        .btn-link:not(.collapsed)::after {
            content: "\00d7"; /* Multiplied symbol (x) */
            transform: rotate(0deg);
        }

        .card-body {
            padding: 0 0 20px 0;
            color: #666;
            font-size: 1.1rem;
            line-height: 1.7;
        }

.clickable-row {
    cursor: pointer;
    transition: background-color 0.2s;
}
.clickable-row:hover {
   background-color: rgba(0, 123, 255, 0.1) !important;
}

/* Cinematic overlay: dark vignette top + bottom, light centre */
.hero-slider::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(0,0,0,0.45) 0%,
      rgba(0,0,0,0.05) 35%,
      rgba(0,0,0,0.05) 65%,
      rgba(0,0,0,0.55) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Letterbox bars — pure cinematic feel */
.hero-slider::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(0,0,0,0.18) 0%, transparent 8%,
      transparent 92%, rgba(0,0,0,0.18) 100%);
  z-index: 2;
  pointer-events: none;
}

/* Progress bar replacing dots */
.hero-progress {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  z-index: 10;
  display: flex;
  gap: 2px;
}
.hero-progress-bar {
  flex: 1;
  height: 100%;
  background: rgba(255,255,255,0.25);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.hero-progress-bar::after {
  content: "";
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 0%;
  background: var(--secondary);
}
.hero-progress-bar.active::after {
  width: 100%;
  transition: width var(--dur, 7000ms) linear;
}
.hero-progress-bar.done::after {
  width: 100%;
  transition: none;
}

/* Slide counter badge */
.Onhero-counter {
  position: absolute;
  bottom: 20px; right: 32px;
  z-index: 10;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
}
.hero-counter .current { color: #fff; font-size: 16px; font-weight: 700; }

/* Prev / Next arrow buttons */
.hero-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background .25s, border-color .25s;
  font-size: 18px;
}
.hero-arrow:hover { background: rgba(0,181,239,0.35); border-color: var(--secondary); }
.hero-arrow.prev { left: 24px; }
.hero-arrow.next { right: 24px; }
@media (max-width: 767px) { .hero-arrow { display: none; } }

/* ===================== Clinics HERO SLIDER ===================== */
.prog-hero-slider { position: absolute; inset: 0; z-index: 0; }
.prog-hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.prog-hero-slide.active { opacity: 1; }
.prog-hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.07);
  will-change: transform;
}
.prog-hero-overlay {
  position: absolute; inset: 0;
  background: rgba(20, 20, 102, 0.58);
  z-index: 1;
}
.prog-hero-bar {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.25);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.prog-hero-bar::after {
  content: "";
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 0%;
  background: var(--secondary);
}
.prog-hero-bar.active::after {
  width: 100%;
  transition: width var(--progd, 6000ms) linear;
}
.prog-hero-bar.done::after { width: 100%; transition: none; }

/* ===================== SERVICES HERO SLIDER ===================== */
.svc-hero-slider { position: absolute; inset: 0; z-index: 0; }
.svc-hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.svc-hero-slide.active { opacity: 1; }
.svc-hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.07);
  will-change: transform;
}
.svc-hero-overlay {
  position: absolute; inset: 0;
  background: rgba(20, 20, 102, 0.58);
  z-index: 1;
}
.svc-hero-bar {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.25);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.svc-hero-bar::after {
  content: "";
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 0%;
  background: var(--secondary);
}
.svc-hero-bar.active::after {
  width: 100%;
  transition: width var(--svcd, 6000ms) linear;
}
.svc-hero-bar.done::after { width: 100%; transition: none; }

/* ===================== ABOUT HERO SLIDER ===================== */
.about-hero-slider {
  position: absolute; inset: 0;
  z-index: 0;
}
.about-hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.about-hero-slide.active { opacity: 1; }
.about-hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.07);
  will-change: transform;
}
.about-hero-overlay {
  position: absolute; inset: 0;
  background: rgba(20, 20, 102, 0.55);
  z-index: 1;
}
.about-hero-bar {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.25);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.about-hero-bar::after {
  content: "";
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 0%;
  background: var(--secondary);
}
.about-hero-bar.active::after {
  width: 100%;
  transition: width var(--ahd, 6000ms) linear;
}
.about-hero-bar.done::after {
  width: 100%;
  transition: none;
}

/* ===================== ABOUT SECTION SLIDER ===================== */
.about-slider-wrap {
  position: relative;
  width: 100%;
  height: 480px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-elegant);
  flex-shrink: 0;
}
@media (max-width: 767px) { .about-slider-wrap { height: 320px; } }

.about-slider { position: absolute; inset: 0; }

.about-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.about-slide.active { opacity: 1; }

.about-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  will-change: transform;
}

/* Vignette overlay */
.about-slider::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(0,0,0,0.08) 0%,
    transparent 30%,
    transparent 70%,
    rgba(0,0,0,0.35) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Progress bars */
.about-progress {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  z-index: 5;
  display: flex;
  gap: 2px;
}
.about-progress-bar {
  flex: 1;
  height: 100%;
  background: rgba(255,255,255,0.3);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.about-progress-bar::after {
  content: "";
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 0%;
  background: var(--secondary);
}
.about-progress-bar.active::after {
  width: 100%;
  transition: width var(--adur, 5000ms) linear;
}
.about-progress-bar.done::after {
  width: 100%;
  transition: none;
}

/* Page hero */
.page-hero {
  background: var(--primary);
  color: var(--primary-foreground);
}
.page-hero .container-prose { padding-top: 80px; padding-bottom: 96px; }
.page-hero h1 { font-weight: 700; font-size: clamp(36px, 5vw, 60px); margin-top: 16px; max-width: 880px; }
.page-hero p { margin-top: 16px; max-width: 640px; opacity: .82; font-size: 18px; }
.page-hero-stripe { height: 4px; background: var(--gradient-accent); }

/* ===================== SECTIONS ===================== */
.section { padding: 80px 0; }
.section-lg { padding: 96px 0; }
.section-muted { background: var(--muted); }
.section-primary { background: var(--primary); color: var(--primary-foreground); position: relative; overflow: hidden; }
.section-primary .eyebrow, .section-primary h2 { color: var(--primary-foreground); }
.section-primary .eyebrow { color: var(--secondary); }

/* Pillars / service grid */
.tile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
}
@media (min-width: 768px) { .tile-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .tile-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .tile-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }

.tile {
  background: var(--background);
  padding: 32px;
  transition: background .3s ease, color .3s ease;
}
.tile:hover { background: var(--primary); color: var(--primary-foreground); }
.tile:hover h3, .tile:hover p { color: var(--primary-foreground); }
.tile h3 { font-size: 20px; font-weight: 700; margin: 16px 0 8px; }
.tile p { font-size: 14px; color: var(--muted-foreground); margin: 0; }
.tile .icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  color: var(--secondary); font-size: 24px;
}
.tile:hover .icon { color: var(--secondary); }

/* Two-column section */
.two-col { display: grid; gap: 40px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 992px) { .two-col { grid-template-columns: 1fr 1fr; gap: 64px; } }
.two-col.reverse > *:first-child { order: 2; }
@media (max-width: 991px) { .two-col.reverse > *:first-child { order: 0; } }

.frame-img { width: 100%; height: 480px; object-fit: cover; border-radius: 4px; box-shadow: var(--shadow-elegant); }
@media (max-width: 767px) { .frame-img { height: 320px; } }

.badge-stat {
  position: absolute; bottom: -32px; right: -32px;
  background: var(--secondary); color: var(--secondary-foreground);
  padding: 32px; max-width: 260px; border-radius: 4px; box-shadow: var(--shadow-elegant);
}
.badge-stat .num { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 36px; line-height: 1; }
.badge-stat .lbl { font-size: 14px; margin-top: 6px; }
@media (max-width: 767px) { .badge-stat { display: none; } }

.lead-h2 { font-weight: 700; font-size: clamp(32px, 4vw, 48px); line-height: 1.15; margin: 16px 0 24px; }
.muted-text { color: var(--muted-foreground); }

.pillar-card {
  background: #fff;
  padding: 40px;
  border-radius: 4px;
  box-shadow: var(--shadow-card);
  border-top: 4px solid var(--secondary);
  height: 100%;
}
.pillar-card h3 { font-size: 22px; font-weight: 700; margin: 16px 0 12px; }
.pillar-card .icon { font-size: 28px; color: var(--primary); }

/* Programme cards */
.card-prog {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow .3s, transform .3s;
  height: 100%;
  display: flex; flex-direction: column;
}
.card-prog:hover { box-shadow: var(--shadow-elegant); }
.card-prog .card-img { aspect-ratio: 4/3; overflow: hidden; }
.card-prog .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card-prog:hover .card-img img { transform: scale(1.05); }
.card-prog .card-body { padding: 24px; }
.card-prog h3 { font-size: 20px; font-weight: 700; margin: 12px 0; }
.card-prog p { font-size: 14px; color: var(--muted-foreground); }

/* Counters */
.counter-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
@media (min-width: 768px) { .counter-grid { grid-template-columns: repeat(4, 1fr); } }
.counter { text-align: center; }
.counter .num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 5vw, 60px);
  color: var(--secondary);
  line-height: 1;
}
.counter .lbl {
  margin-top: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(250, 247, 242, 0.85);
}
.section-primary .bg-pattern { position: absolute; inset: 0; opacity: 0.1; background-size: cover; background-position: center; }

.custom-card {
            max-width: 500px;
            margin: 50px auto;
        }

/* Numbered list */
.steps { list-style: none; padding: 0; margin: 0; }
.steps li { display: flex; gap: 16px; padding: 10px 0; list-style: none; }
.steps .num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--secondary);
  font-size: 18px;
  width: 28px;
  flex-shrink: 0;
}

.cta-card {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 40px;
  border-radius: 4px;
  box-shadow: var(--shadow-elegant);
}
.cta-card h3 { font-size: 24px; font-weight: 700; margin: 16px 0 12px; }
.cta-card p { opacity: .82; margin-bottom: 24px; }
.cta-card .btn-cta { width: 100%; text-align: center; }

/* News */
.news-card {
  background: var(--background);
  padding: 32px;
  border-top: 4px solid var(--secondary);
  box-shadow: var(--shadow-card);
  border-radius: 4px;
  transition: box-shadow .3s;
  height: 100%;
}
.news-card:hover { box-shadow: var(--shadow-elegant); }
.news-card h3 { font-size: 20px; font-weight: 700; margin: 16px 0; line-height: 1.3; }
.news-meta { display: flex; align-items: center; gap: 12px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; }
.news-meta .tag { background: var(--primary); color: var(--primary-foreground); padding: 4px 8px; font-weight: 600; }
.news-meta .date { color: var(--muted-foreground); }

/* ===================== CONTACT ===================== */
.contact-grid { display: grid; gap: 48px; grid-template-columns: 1fr; }
@media (min-width: 992px) { .contact-grid { grid-template-columns: 1fr 2fr; } }

.contact-block { display: flex; gap: 16px; margin-bottom: 32px; }
.contact-block .ico {
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--primary); color: var(--primary-foreground);
  display: grid; place-items: center; border-radius: 4px;
}
.contact-block strong { font-family: 'Montserrat', sans-serif; font-size: 18px; display: block; }
.contact-block span { color: var(--muted-foreground); }

.contact-form {
  background: var(--muted);
  padding: 40px;
  border-radius: 4px;
  box-shadow: var(--shadow-card);
}
.contact-form label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}
.contact-form .form-control {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 4px;
  height: 44px;
  padding: 8px 12px;
  font-size: 14px;
  width: 100%;
  font-family: inherit;
  color: var(--foreground);
}
.contact-form textarea.form-control { height: auto; min-height: 140px; resize: vertical; }
.contact-form .form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 74, 71, 0.15);
}

/* ===================== FOOTER ===================== */
.site-footer {
  background: var(--primary);
  color: var(--primary-foreground);
  margin-top: 96px;
}
.footer-grid {
  padding: 64px 0;
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}


.clinic-grid {
  display: grid;
  /* Creates 2 columns of equal width */
  grid-template-columns: repeat(2, 1fr); 
  /* Adds spacing between the cards */
  gap: 40px; 
  padding: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.elegant-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border-top: 5px solid var(--foreground);
    height: 100%;
    transition: var(--transition);
    text-align: center;
}

.elegant-card:hover {
    /* transform: translateY(-10px); */
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 20px 50px rgba(94, 16, 100, 0.1);
    background-color: var(--secondary);
}

.elegant-card i {
    font-size: 3rem;
    color: var(--foreground);
    margin-bottom: 25px;
}

.elegant-card h4,
.elegant-card h5 {
    color: var(--secondary);
    margin-bottom: 15px;
    font-weight: 700;
}

.elegant-card h4 {
    font-size: 1.5rem;
}

.elegant-card h5 {
    font-size: 1.25rem;
}

body {
            background-color: #f8f9fa;
            padding: 50px 0;
            font-family: 'Montserrat', sans-serif;
        }

        .form-container {
            max-width: 600px;
            background: #fff;
            padding: 30px;
            margin: auto;
        }

        label {
            font-weight: 700;
            margin-bottom: 8px;
        }

        .required-star {
            color: #d9534f;
            margin-left: 4px;
        }

        /* Styling inputs to match the image's rounded look */
        .form-control {
            border-radius: 8px;
            border: 1px solid #ced4da;
            padding: 12px;
            height: auto;
            box-shadow: inset 0 1px 2px rgba(0,0,0,.075);
        }

        /* Custom styling for the Helpline options */
        .helpline-option {
            display: flex;
            align-items: center;
            border: 1px solid #ced4da;
            border-radius: 8px;
            padding: 10px 15px;
            margin-bottom: 10px;
            cursor: pointer;
            transition: background 0.2s;
            background-color: #fff;
        }

        .helpline-option:hover {
            background-color: #f1f1f1;
        }

        .number-badge {
            background-color: #555;
            color: white;
            border-radius: 4px;
            padding: 2px 8px;
            font-weight: bold;
            margin-right: 12px;
            font-size: 0.9rem;
        }

        /* Hide the actual radio button but keep it functional */
        .helpline-radio {
            display: none;
        }

        .helpline-radio:checked + .helpline-option {
            border-color: #011224;
            background-color: #e7f1ff;
        }


        body {
    font-family: 'Montserrat', sans-serif;
    background-color: #fdfdfd;
    color: #333333;
}

/* Hero Header Section */
.hero-section {
    background: linear-gradient(135deg, #04234b 0%, #08366b 100%);
    color: #ffffff;
    padding: 60px 20px;
    text-align: center;
}
.success-checkmark {
    width: 80px;
    height: 80px;
    background-color: #28a745;
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}
.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-style: italic;
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Content Workflow Steps */
.workflow-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}
.section-divider {
    display: flex;
    align-items: center;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #0076c0;
    margin-bottom: 40px;
}
.section-divider::after {
    content: '';
    flex: 1;
    margin-left: 15px;
    border-bottom: 1px solid #e0e0e0;
}
.step-row {
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid #f0f0f0;
}
.step-row:last-of-type {
    border-bottom: none;
    margin-bottom: 20px;
}
.step-icon-box {
    width: 65px;
    height: 65px;
    background-color: #f8f9fa;
    border: 1px solid #eaeaea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}
.step-icon-box.checked {
    background-color: #e1f7ec;
    border-color: #a3e6c2;
    color: #28a745;
}
.step-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #0076c0;
    margin-bottom: 5px;
}
.step-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    color: #2c3e50;
    line-height: 1.6;
}
.highlight-text {
    font-weight: bold;
    color: #111;
}

/* Support / Alert Box */
.support-card {
    background-color: #faf7f2;
    border-left: 4px solid #d4af37;
    border-top: 1px solid #f1eeeb;
    border-right: 1px solid #f1eeeb;
    border-bottom: 1px solid #f1eeeb;
    border-radius: 4px;
    padding: 25px;
    margin-top: 40px;
    margin-bottom: 40px;
}
.support-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: #555555;
    line-height: 1.7;
}
.support-text a {
    color: #0076c0;
    text-decoration: none;
}
.support-text a:hover {
    text-decoration: underline;
}

/* Action Button */
.btn-homepage {
    background-color: #1a73e8;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 2px;
    padding: 15px 40px;
    border-radius: 4px;
    border: none;
    transition: background-color 0.2s ease;
    box-shadow: 0 4px 10px rgba(26, 115, 232, 0.2);
}
.btn-homepage:hover {
    background-color: #155cb8;
    color: white;
}

            .thankyou-section {
      min-height: 70vh;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 80px 24px;
    }
    .thankyou-icon {
      width: 80px;
      height: 80px;
      border-radius: 50%;
      background: var(--secondary, #c9a84c);
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 28px;
    }
    .thankyou-icon i {
      font-size: 36px;
      color: #fff;
    }
    .thankyou-card {
      max-width: 560px;
      margin: 0 auto;
    }
    .thankyou-card h1 {
      font-size: 2rem;
      font-weight: 700;
      color: var(--primary, #1a2e4a);
      margin-bottom: 16px;
    }
    .thankyou-card p {
      font-size: 1.05rem;
      color: #555;
      margin-bottom: 36px;
      line-height: 1.7;
    }
    .countdown-text {
      font-size: 0.9rem;
      color: #888;
      margin-top: 16px;
    }


/* Optional: Make it responsive (1 column on mobile) */
@media (max-width: 600px) {
  .clinic-grid {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-grid p, .footer-grid li { color: rgba(250, 247, 242, 0.8); }
.footer-grid h4 { color: var(--secondary); font-size: 16px; margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid ul li { padding: 4px 0; font-size: 14px; }
.footer-grid ul li a { color: rgba(250, 247, 242, 0.8); }
.footer-grid ul li a:hover { color: var(--secondary); }
.socials { display: flex; gap: 12px; margin-top: 24px; }
.socials a {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid rgba(250, 247, 242, 0.2); color: var(--secondary);
  border-radius: 4px; transition: all .2s;
}
.socials a:hover { background: var(--secondary); border-color: var(--secondary); color: var(--primary); }
.footer-bottom {
  border-top: 1px solid rgba(250, 247, 242, 0.1);
  padding: 20px 0; font-size: 12px; color: rgba(250, 247, 242, 0.6);
  display: flex; flex-direction: column; gap: 8px; justify-content: space-between;
}
@media (min-width: 576px) { .footer-bottom { flex-direction: row; } }

/* ===================== TABLES ===================== */
.table {
  margin: 24px auto;
  max-width: 860px;
}
.table td, .table th {
  padding: 12px 16px;
}
.clickable-row {
  cursor: pointer;
  transition: background .2s;
}
.clickable-row:hover {
  background: rgba(0, 181, 239, 0.1);
}

/* ===================== ACCORDION ===================== */
.accordion .btn-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--foreground);
  text-decoration: none;
  width: 100%;
  text-align: left;
}
.accordion .btn-link:hover,
.accordion .btn-link:focus {
  color: var(--secondary);
  text-decoration: none;
  box-shadow: none;
}
.accordion .card-header {
  background: var(--background);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.accordion .card-header .btn-link {
  padding: 16px 20px;
}
.accordion .card {
  border: 1px solid var(--border);
  border-radius: 4px;
  margin-bottom: 8px;
}
.accordion .card-body {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: var(--muted-foreground);
  padding: 16px 20px;
}
.lr-toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 2000;
  background: var(--primary); color: var(--primary-foreground);
  padding: 16px 20px; border-radius: 4px; box-shadow: var(--shadow-elegant);
  border-left: 4px solid var(--secondary);
  opacity: 0; transform: translateY(12px);
  transition: opacity .25s, transform .25s;
  max-width: 360px;
}
.lr-toast.show { opacity: 1; transform: translateY(0); }

/* Country code select in phone input group */
.input-group .form-control[id="phone-code"] {
  border-right: 0;
  flex: 0 0 auto;
  width: auto;
}
.input-group .form-control[id="phone-code"]:focus {
  z-index: 3;
}

/* Utility */
.mb-3 { margin-bottom: 12px; } .mb-4 { margin-bottom: 16px; } .mb-5 { margin-bottom: 24px; }
.mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; }
.text-secondary-c { color: var(--secondary); }
.italic { font-style: italic; }
.divider-stripe { height: 4px; background: var(--gradient-accent); }
.relative { position: relative; }
.value-card-icon { width: 40px; height: 40px; display: grid; place-items: center; color: var(--primary); margin-bottom: 16px; font-size: 28px; }
