/* ==========================================================================
   Design Tokens & Production Stylesheet
   ========================================================================== */
:root {
  --navy: #1A2B5C;
  --navy2: #0F1D3E;
  --teal: #1A8FA0;
  --teal2: #0E6E7E;
  --cyan: #6DD9E8;
  --purple: #6B3FA0;
  --purple2: #532E82;
  --light: #F4F8FA;
  --line: #DDE4EA;
  --ink: #1A2535;
  --muted: #5C6B80;
  --white: #FFFFFF;

  --shadow-sm: 0 2px 8px -1px rgba(26, 43, 92, 0.06);
  --shadow-md: 0 4px 20px -2px rgba(26, 43, 92, 0.08);
  --shadow-elevation: 0 10px 30px rgba(26, 43, 92, 0.08);
  --shadow-lg: 0 16px 40px -8px rgba(26, 43, 92, 0.14);

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 9999px;

  --font-serif: "Merriweather", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --transition-fast: 180ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 280ms cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: #FFFFFF;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--navy);
  letter-spacing: -0.02em;
}

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

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

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ── TOP BAR ── */
.topbar {
  background: var(--navy2);
  color: #FFFFFF;
  font-size: 13px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 110;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.topbar-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: #D3E0EA;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.dispatch-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34D399;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.topbar a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.topbar a:hover {
  color: var(--cyan);
}

@media(max-width: 700px) {
  .topbar-inner { justify-content: center; }
  .topbar-right { display: none; }
}

/* ── HEADER & NAVIGATION ── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 14px rgba(26, 43, 92, 0.05);
}

.nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1180px;
	margin: 0 auto;
	padding: 14px 28px;
	margin-right: auto;
}

.nav-logo {
	display: flex;
	align-items: center;
	gap: 12px;
/* 	margin-right: auto; */
}

.nav-logo img {
  height: 54px;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-logo-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
}

.nav-logo-sub {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--teal);
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
}

.nav-links a {
  color: var(--ink);
  padding: 6px 0;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width var(--transition-fast);
}

.nav-links a:hover {
  color: var(--teal);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
     background: var(--teal);
    color: #FFFFFF !important;
    padding: 10px 22px;
    border-radius: var(--radius-md);
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 14px rgba(26, 143, 160, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-cta:hover {
  background: var(--teal2);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(26, 143, 160, 0.35);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  display: block;
  transition: var(--transition-fast);
}

@media(max-width: 960px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #FFFFFF;
    flex-direction: column;
    padding: 24px 28px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
    border-bottom: 1px solid var(--line);
    gap: 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 4px 0; border-bottom: 1px solid #F0F4F8; }
}

/* ── HERO3 BACKGROUND IMAGE SLIDER & STATIC CONTENT ── */
.hero3 {
  position: relative;
  min-height: 580px;
  height: clamp(560px, 76vh, 680px);
  overflow: hidden;
  background: #0F1D3E;
  display: flex;
  align-items: center;
}
.hero3-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.hero3-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.hero3-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.hero3-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.hero3-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
/*   background: linear-gradient(90deg, rgba(15, 29, 62, 0.96) 0%, rgba(15, 29, 62, 0.90) 38%, rgba(26, 43, 92, 0.72) 58%, rgba(26, 43, 92, 0.35) 80%, rgba(15, 29, 62, 0.20) 100%); */
  pointer-events: none;
	  background: linear-gradient(
        90deg,
        rgba(7, 25, 55, 0.45) 0%,
        rgba(7, 25, 55, 0.20) 35%,
        rgba(7, 25, 55, 0.05) 60%,
        transparent 80%
    ) !important;
    opacity: 1 !important;
}
.hero3-content {
  position: relative;
  z-index: 5;
  width: 100%;
  pointer-events: none;
}
.hero3-content .wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.hero3-text {
  max-width: 560px;
  pointer-events: auto;
}
.hero3-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(109, 217, 232, 0.14);
  border: 1px solid rgba(109, 217, 232, 0.35);
  border-radius: 9999px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #6DD9E8;
  margin-bottom: 18px;
  backdrop-filter: blur(4px);
}
.hero3-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6DD9E8;
  box-shadow: 0 0 0 0 rgba(109, 217, 232, 0.7);
  animation: hero3Pulse 2s infinite;
}
@keyframes hero3Pulse {
  0% { box-shadow: 0 0 0 0 rgba(109, 217, 232, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(109, 217, 232, 0); }
  100% { box-shadow: 0 0 0 0 rgba(109, 217, 232, 0); }
}
.hero3-text h1 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.2vw, 44px);
  line-height: 1.18;
  color: #FFFFFF;
  margin: 0 0 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.hero3-text h1 .accent {
  color: #6DD9E8;
  display: inline;
}
.hero3-line {
  width: 64px;
  height: 4px;
  background: var(--teal);
  border-radius: 2px;
  margin: 0 0 20px;
}
.hero3-sub {
  color: rgba(255, 255, 255, 0.88);
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.7;
  max-width: 520px;
  margin: 0 0 30px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.hero3-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero3-btns i {
  margin-right: 8px;
  font-size: 15px;
}
.hero3-btns .btn-navy {
  background: var(--teal);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 14px 28px;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(26, 143, 160, 0.35);
  border: 1.5px solid var(--teal);
}
.hero3-btns .btn-navy:hover {
  background: var(--teal2);
  border-color: var(--teal2);
  transform: translateY(-2px);
  color: #FFFFFF;
}
.hero3-btns .btn-outline-white2 {
   background: var(--teal);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 14px 28px;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
}
.hero3-btns .btn-outline-white2:hover {
  border-color: #FFFFFF;
  transform: translateY(-2px);
  color: #FFFFFF;
}
.hero3-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(26, 43, 92, 0.65);
  backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  padding: 0;
}
.hero3-arrow:hover {
  background: var(--teal);
  border-color: var(--teal);
  transform: translateY(-50%) scale(1.08);
}
.hero3-prev {
  left: 24px;
}
.hero3-next {
  right: 24px;
}
.hero3-dots {
  position: absolute;
  bottom: 40px;
/*   left: 0;
  right: 0; */
  z-index: 6;
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  pointer-events: auto;
}
.hero3-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
  outline: none;
}
.hero3-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}
.hero3-dot.active {
  background: #6DD9E8;
  border-color: #6DD9E8;
  transform: scale(1.25);
  box-shadow: 0 0 10px rgba(109, 217, 232, 0.6);
}
.hero3-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 48px;
  z-index: 4;
  pointer-events: none;
}
@media(max-width: 900px) {
  .hero3 {
    height: auto;
    min-height: 560px;
    padding: 70px 0 60px;
  }
  .hero3-overlay {
    background: linear-gradient(180deg, rgba(15, 29, 62, 0.94) 0%, rgba(15, 29, 62, 0.88) 60%, rgba(15, 29, 62, 0.75) 100%);
  }
  .hero3-text {
    max-width: 100%;
  }
  .hero3-prev {
    left: 12px;
  }
  .hero3-next {
    right: 12px;
  }
}
@media(max-width: 600px) {
  .hero3 {
    min-height: 520px;
    padding: 50px 0 50px;
  }
  .hero3-text h1 {
    font-size: 28px;
  }
  .hero3-sub {
    font-size: 15px;
  }
  .hero3-arrow {
    display: none;
  }
  .hero3-dots {
    bottom: 18px;
  }
}

/* ── FEATURE STRIP (PILL VALUES) ── */
.feature-strip {
  background: #FFFFFF;
  padding: 56px 0 36px;
  position: relative;
  border-bottom: 1px solid var(--line);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-item {
  text-align: center;
  padding: 24px 18px;
  border-radius: var(--radius-lg);
  background: var(--light);
  border: 1px solid var(--line);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.feature-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-elevation);
  border-color: var(--teal);
}

.feature-item svg {
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
}

.feature-item h4 {
  font-size: 15px;
  margin: 0 0 8px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.feature-item p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 240px;
}

.fi-teal h4 { color: var(--teal); } .fi-teal svg { stroke: var(--teal); }
.fi-navy h4 { color: var(--navy); } .fi-navy svg { stroke: var(--navy); }
.fi-purple h4 { color: var(--purple); } .fi-purple svg { stroke: var(--purple); }

@media(max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* ── SHARED SECTION HEADINGS ── */
section {
  padding: 88px 0;
}
.page-id-9 section {
  padding: 64px 0;
}
.sec-eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.sec-head {
	margin-bottom: 48px;
	margin-top: -21px;
}

.sec-head h2 {
  font-size: clamp(28px, 3.2vw, 36px);
  line-height: 1.25;
  margin-bottom: 14px;
  color: var(--navy);
}

.sec-head p {
  color: var(--muted);
  font-size: 16.5px;
  max-width: 640px;
  line-height: 1.7;
}

.sec-head.center {
  text-align: center;
}

.sec-head.center p {
  margin: 0 auto;
}

/* =========================================
   RVA - TAILORED SOLUTIONS / PATHWAYS
========================================= */

.rva-pathways-section {
    padding: 85px 0;
    background: #F8FAFC;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.rva-pathways-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* ---------- Heading ---------- */

.rva-pathways-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 50px;
}

.rva-pathways-badge {
    font-size: 0.8rem;
    font-weight: 800;
    color: #00A3B4;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.rva-pathways-header h2 {
    font-size: 25px;
    font-weight: 800;
    color: #0F3E6D;
    margin: 8px 0 12px;
    line-height: 1.3;
}

.rva-pathways-header p {
    color: #64748B;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}


/* ---------- Cards Grid ---------- */

.rva-pathways-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}


/* ---------- Card ---------- */

.rva-pathway-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 40px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    transition: all 0.3s ease;
}

.rva-pathway-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 35px -5px rgba(15,62,109,0.14);
    border-color: #00A3B4;
}


/* ---------- Icon ---------- */

.rva-pathway-icon {
    width: 56px;
    height: 56px;

    background: #E6F7F9;
    color: #00A3B4;

    border-radius: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 1.5rem;

    margin-bottom: 20px;
}


/* ---------- Card Label ---------- */

.rva-card-label {
    display: block;

    font-size: 0.8rem;
    font-weight: 800;

    color: #00A3B4;

    text-transform: uppercase;

    margin-bottom: 4px;
}


/* ---------- Card Heading ---------- */

.rva-pathway-card h3 {
    font-size: 1.15rem;
    font-weight: 700;

    color: #1E293B;

    margin: 0 0 4px;

    line-height: 1.45;
}


/* ---------- Description ---------- */

.rva-card-description {
    color: #64748B;

    font-size: 0.95rem;

    line-height: 1.6;

    margin: 0;
}


/* ---------- List ---------- */

.rva-pathway-list {
    list-style: none;

    margin: 20px 0 30px;
    padding: 0;
}

.rva-pathway-list li {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 12px;

    color: #64748B;

    font-size: 0.95rem;

    line-height: 1.5;
}

.rva-pathway-list li:last-child {
    margin-bottom: 0;
}

.rva-pathway-list li i {
    color: #10B981;

    flex-shrink: 0;

    font-size: 14px;
}


/* ---------- Buttons ---------- */

.rva-card-button {
    width: 100%;

    min-height: 40px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 10px 20px;

    border-radius: 7px;

    font-size: 0.88rem;

    font-weight: 700;

    text-decoration: none;

    transition: all 0.3s ease;
}


/* Navy Button */

.rva-navy-button {
    background: #0F3E6D;
    color: #FFFFFF;
}

.rva-navy-button:hover {
    background: #08213B;
    color: #FFFFFF;
    transform: translateY(-2px);
}


/* Teal Button */

.rva-teal-button {
	background: #0F3E6D;
    color: #FFFFFF;
    box-shadow: 0 6px 18px rgba(0,163,180,0.20);
}

.rva-teal-button:hover {
    background: #008796;
    color: #FFFFFF;
    transform: translateY(-2px);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 992px) {

    .rva-pathways-grid {
        grid-template-columns: 1fr;
    }

    .rva-pathways-header h2 {
        font-size: 2rem;
    }

}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .rva-pathways-header h2 {
        font-size: 1.55rem;
    }
    .rva-pathway-card {
        padding: 22px 18px;
    }
    .rva-card-label {
        font-size: 0.72rem;
    }
    .rva-pathway-list li {
        gap: 9px;
    }

}

/* ── 1. EXPANDED CLINICAL SERVICES ── */
.services {
  background: var(--light);
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.svc-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  position: relative;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden; /* Clips top image corners to match card border-radius */
  padding: 0; /* Removed padding from card container so image touches edges */
}

.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevation);
  border-color: var(--teal);
}

/* ── IMAGE WRAPPER & IMAGE STYLES ── */
.svc-img-box {
  width: 100%;
  height: 200px; /* Adjust height to match your desired aspect ratio */
  overflow: hidden;
  position: relative;
}

.svc-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── INNER CARD CONTENT CONTAINER ── */
.svc-body {
  padding: 24px 26px 28px; /* Internal padding for card content */
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.svc-num {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--teal);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.svc-card h3 {
  font-size: 18.5px;
  margin-bottom: 12px;
  color: var(--navy);
  line-height: 1.3;
}

/* Removed bar divider from view in reference layout */
.svc-bar {
  display: none;
}

.svc-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Footer border removed to match clean link design */
.svc-card-footer {
  margin-top: auto;
  padding-top: 0;
  border-top: none;
}

.svc-quick-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: gap var(--transition-fast);
}

.svc-card:hover .svc-quick-link {
  color: var(--teal2);
  gap: 9px;
}

@media(max-width: 960px) {
  .svc-grid { grid-template-columns: 1fr; }
}

/* ── ABOUT SECTION ── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-elevation);
  border: 1px solid var(--line);
  height: 440px;
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.about-text h2 {
  font-size: clamp(26px, 3vw, 34px);
  margin-bottom: 18px;
  line-height: 1.25;
}

.about-text p {
  color: var(--muted);
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.75;
}

.about-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: #FFFFFF;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-top: 8px;
  transition: all var(--transition-fast);
}

.about-btn:hover {
  background: var(--teal);
  color: #FFFFFF;
}

@media(max-width: 900px) {
  .about-split { grid-template-columns: 1fr; gap: 36px; }
  .about-img { height: 360px; }
}

/* ── FOUNDERS HERO BANNER ── */
.founders-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
  color: #FFFFFF;
  overflow: hidden;
  padding: 40px 0;
}

.founders-banner-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.founders-banner-text p.eyebrow {
  color: var(--cyan);
  font-size: 12.5px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 700;
}

.founders-banner-text h2 {
  color: #FFFFFF;
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.2;
  margin-bottom: 12px;
}

.founders-banner-text p.sub {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 1.6;
}

.founders-banner-photo {
  height: 440px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
}

.founders-banner-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

@media(max-width: 900px) {
  .founders-banner-grid { grid-template-columns: 1fr; }
  .founders-banner-photo { height: 340px; }
}

/* ── MISSION QUOTE ── */
.quote-band {
  background: linear-gradient(135deg, var(--teal2), var(--teal));
  color: #FFFFFF;
  padding: 64px 0;
  text-align: center;
}

.quote-band blockquote {
  font-family: var(--font-serif);
  font-size: clamp(19px, 2.4vw, 23px);
  line-height: 1.65;
  font-style: italic;
  max-width: 840px;
  margin: 0 auto;
  color: #FFFFFF;
}

.quote-band cite {
  display: block;
  margin-top: 20px;
  font-style: normal;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

/* ── 2. FOUNDERS PREVIEW CARDS & MODAL REDESIGN ── */
#team {
  background: var(--navy);
  color: #FFFFFF;
  scroll-margin-top: 80px;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}

.team-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.team-card-photo {
  height: 380px;
  overflow: hidden;
  background: #E8EEF5;
  position: relative;
}

.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.team-card-body h3 {
  color: var(--navy);
  font-size: 21px;
  margin: 0 0 4px;
}

.team-card-body .team-creds {
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: 0.5px;
}

.team-card-preview-text {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-founder-bio {
  background: var(--light);
  color: var(--navy);
  border: 1.5px solid var(--line);
  padding: 11px 20px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-top: auto;
}

.btn-founder-bio:hover {
  background: var(--teal);
  color: #FFFFFF;
  border-color: var(--teal);
  box-shadow: 0 4px 12px rgba(26, 143, 160, 0.25);
}

/* Founder Blog-Style Detailed Popup Modal */
.founder-modal-box {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 820px;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
  position: relative;
  border: 1px solid var(--line);
}

.founder-modal-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.founder-modal-header-tag {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
}

.founder-modal-body {
  padding: 36px 36px 44px;
}

.founder-modal-split {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  align-items: start;
}

.founder-modal-photo-wrap {
  position: sticky;
  top: 80px;
}

.founder-modal-photo {
  width: 100%;
  height: 290px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-elevation);
  border: 1px solid var(--line);
  margin-bottom: 14px;
}

.founder-modal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-modal-badge {
  background: var(--light);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
}

.founder-modal-content h2 {
  font-size: 26px;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.25;
}

.founder-modal-creds {
  font-size: 14px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.founder-modal-content p {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 16px;
}

.founder-modal-quote {
  background: var(--light);
  border-left: 4px solid var(--teal);
  padding: 16px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14.5px;
  color: var(--navy);
  line-height: 1.65;
  margin-top: 24px;
}

@media(max-width: 900px) {
  .team-grid { grid-template-columns: 1fr; }
  .team-card-photo { height: 340px; }
  .founder-modal-split { grid-template-columns: 1fr; gap: 24px; }
  .founder-modal-photo-wrap { position: static; }
  .founder-modal-photo { height: 260px; max-width: 220px; margin: 0 auto 14px; }
  .founder-modal-body { padding: 24px 20px; }
}

/* ── IN ACTION SECTION ── */
.action-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-elevation);
  margin-bottom: 28px;
}

.action-card img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  object-position: center center;
}

.action-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 43, 92, 0.92) 0%, rgba(26, 43, 92, 0.3) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px 44px;
}

@media(max-width: 768px) {
  .action-card img { height: 380px; }
  .action-overlay { padding: 24px 20px;
	}
	.nav{
		padding-left: 5px !important;
        padding-right: 13px !important;
	}
	.hero3-slide img {
		object-fit: cover;
		object-position: 65% center;
		filter: none;
	}
	.topbar{
		font-size: 12px !important;
		padding: 16px 0 !important;
	}
	.page-id-12 .sec-head.center {
		margin-top: -68px !important;
	}
	.page-id-18	.sec-head.center {
		margin-top: -66px !important;
	}
	.val-grid {
		margin-bottom: -55PX;
	}
	.page-id-9 .education-split{
		margin-top: -58px;
	}
	.hero3-overlay {
		background: rgba(15, 29, 62, 0.35);
	}
	.page-id-16 .education-split {
		margin-top: -103px !important;
	}
	  .page-id-16 .why-split {
        margin-top: -120px !important;
    }
	.hero3-slide {
		height: 55% !important;
	}
	.referral-split{
		margin-top: -65px !important;
	}
	.page-id-20 .why-split {
		margin-top: -101px;
	}
	.page-id-9 .founders-banner {
		margin-top: -37px;
	}
	.nav-logo-text {
		display: none !important;
	}
	 .hero3-slide img {
        object-fit: cover;
        object-position: 65% center;
        filter: none;
    }

	.page-id-9 .sec-head {
		margin-top: -65px !important;
	}
	.page-id-9 .about-split {
		margin-top: -61px;
	}
    .hero3-overlay {
        background: rgba(15, 29, 62, 0.35);
    }
	.us-benefits { 
		flex-direction: column !important;
		display: flex !important;
	}
	 .hero3 {
        min-height: 1109px !important;
        padding: 128px 0px 30px !important;
    }
    .hero3-dots {
		bottom: 532px !important;
    }
     .hero3-text {
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        padding: 49px 24px 35px !important;
    }
   .hero3-pill {
        background: #f5fcfd !important;
    }
    .hero3-pill span {
        color: #27a6bb !important;
    } 
     .hero3-text h1 {
        margin: 22px 0 15px !important;
        
    }
     .hero3-line {
        background: #1595aa !important;
        margin: 0 0 20px !important;
    }
    .hero3-btns {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
		padding-top: 25px;
		justify-content: center;
    }
	   .hero3-slide:first-child {
        overflow: hidden !important;
    }

    .hero3-slide:first-child img {
        transform: scale(1.15) !important;
        transform-origin: center center !important;
		 height: 95% !important;
    }

    .hero3-btns .btn-outline-white2 {
        display: flex !important;
        min-width: 164px !important;
        padding: 12px 20px !important;
        box-sizing: border-box !important;
		border: 1.5px solid var(--teal);
        border-radius: 8px !important;
        font-size: 15px !important;
        font-weight: 600 !important;
		background: #1A8FA0;
    
    }
	.rva-pathways-section {
        padding: 55px 0;
    }
    .rva-pathways-container {
        padding: 0 16px;
    }
    .rva-pathways-header {
        margin-bottom: 35px;
    }
    .rva-pathways-header h2 {
        font-size: 21px;
        line-height: 1.3;
    }
    .rva-pathways-header p {
        font-size: 0.9rem;
    }
	.page-id-9 .sec-head h2 {
		font-size: 25px;
	}
    .rva-pathways-grid {
        gap: 20px;
    }
    .rva-pathway-card {
        padding: 25px 22px;
    }
    .rva-pathway-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    .rva-pathway-card h3 {
        font-size: 1.08rem;
    }
    .rva-card-description {
        font-size: 0.9rem;
    }
    .rva-pathway-list li {
        font-size: 0.88rem;
        align-items: flex-start;
    }
    .rva-card-button {
        font-size: 0.85rem;
    }
	.nav-cta {
		font-size: 0px !important;
		margin-right: 5px;	
	}
  .nav-cta::before {
    content: "\f271";
    font-family: "Font Awesome 6 Free";
    font-size: 21px;
	 margin-left: -2px !important;
     margin-right: -12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1;
    margin: 0;
    transform: translateY(1px);
  }
	
}
/*tablet size css */

@media (min-width: 768px) and (max-width: 1024px) {
  .page-id-18 .sec-head.center {
        margin-top: -66px;
    }
	.page-id-12 .sec-head.center {
		margin-top: -71px;
	}
	.page-id-12 .sec-eyebrow {
		font-size: 16px;
	}
	.page-id-24 .why-split {
		margin-top: -131px;
	}
}
/* ── ULTRASOUND SECTION ── */
.us-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.us-benefit-card {
	background: var(--light);
	border-radius: var(--radius-lg);
	padding: 24px 22px;
	text-align: center;
	border-top: 3px solid var(--teal);
	border: 1px solid var(--line);
	box-shadow: var(--shadow-sm);
	border-top: 3px solid #1A8FA0;
}

.us-benefit-card.purple {
  border-top: 3px solid var(--purple);
}

/* ── PATIENT EDUCATION ── */
.education-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.step-number {
  min-width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}

.step-number.purple {
  background: var(--purple);
}

.step-number.navy {
  background: var(--navy);
}

@media(max-width: 900px) {
  .education-split { grid-template-columns: 1fr; gap: 40px; }
}

/* ── VALUES GRID ── */
.val-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.val-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.val-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevation);
}

.val-card.teal { border-top: 4px solid var(--teal); }
.val-card.navy { border-top: 4px solid var(--navy); }
.val-card.purple { border-top: 4px solid var(--purple); }

.val-icon {
  font-size: 28px;
  margin-bottom: 14px;
}

.val-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--navy);
}

.val-card p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}

@media(max-width: 900px) {
  .val-grid { grid-template-columns: 1fr; }
}

/* ── WHY CHOOSE US ── */
.why {
  background: var(--light);
}

.why-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 36px;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15.5px;
  color: var(--ink);
  font-weight: 500;
}

.why-check {
  width: 22px;
  height: 22px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 800;
  margin-top: 2px;
}

@media(max-width: 900px) {
  .why-split { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
}

/* ── REFERRAL SECTION ── */
.referral-split {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 54px;
  align-items: start;
}

.ref-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--ink);
}

.ref-item span {
  font-size: 18px;
  flex-shrink: 0;
}

.rva-form-box {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-elevation);
  border: 1px solid var(--line);
}

.rva-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}
.wpcf7 form .wpcf7-response-output {
    margin: -1em 0.5em -2em !important;
}

.form-group input, .form-group select, .form-group textarea {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  padding: 11px 14px;
  font-size: 14.5px;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition-fast);
  width: 100%;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(26, 143, 160, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

.form-submit {
  background: var(--teal);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-md);
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-top: 4px;
  box-shadow: 0 4px 14px rgba(26, 143, 160, 0.25);
}

.form-submit:hover {
  background: var(--navy);
}

.form-msg {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  display: none;
  margin-top: 8px;
}

.form-msg.success {
  background: #E8F5E9;
  color: #2E7D32;
  display: block;
}

.form-msg.error {
  background: #FFEBEE;
  color: #C62828;
  display: block;
}

@media(max-width: 900px) {
  .referral-split { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ── 3. WHERE WE SERVE (CLICKABLE GOOGLE MAPS LOCATIONS) ── */
.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  max-width: 940px;
  margin: 0 auto;
}

.city-badge {
  background: var(--light);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  text-align: center;
  font-weight: 600;
  color: var(--navy);
  font-size: 14px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.city-badge:hover {
  background: #FFFFFF;
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.city-badge .map-pin {
  font-size: 15px;
  transition: transform var(--transition-fast);
}

.city-badge:hover .map-pin {
  transform: scale(1.2);
}

.city-badge .external-arrow {
  font-size: 11px;
  opacity: 0.6;
}

.county-map-link {
  color: var(--teal);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.county-map-link:hover {
  color: var(--navy);
}

/* ── FAQ ACCORDION ── */
.faq-wrap details {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  margin-bottom: 14px;
  transition: border-color var(--transition-fast);
}

.faq-wrap details[open] {
  border-color: var(--teal);
}

.faq-wrap summary {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  font-size: 16.5px;
}

/* ── 4. CONTACT SECTION & LIVE MAP COORDINATES ── */
#contact {
  background: var(--navy);
  color: black;
}

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 24px;
}

.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-info-item .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-info-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.contact-info-item a {
  color: #FFFFFF;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.contact-info-item a:hover {
  color: var(--cyan);
}

/* Clickable Service Area Live Navigation Link */
.contact-map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #FFFFFF !important;
  text-decoration: none;
  position: relative;
  transition: all var(--transition-fast);
}

.contact-map-link:hover {
  color: var(--cyan) !important;
}

.contact-map-link .pin-icon {
  display: inline-block;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-map-link:hover .pin-icon {
  transform: translateY(-3px) scale(1.15);
}

.contact-map-link .live-nav-tag {
  background: rgba(109, 217, 232, 0.18);
  border: 1px solid rgba(109, 217, 232, 0.35);
  color: var(--cyan);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  margin-left: 6px;
}

@media(max-width: 900px) {
  .contact-split { grid-template-columns: 1fr; }
}

/* ── FOOTER ── */
footer {
  background: var(--navy2);
  color: rgba(255, 255, 255, 0.65);
  padding: 68px 0 28px;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 44px;
}

.footer-logo img {
  height: 60px;
  width: auto;
  margin-bottom: 14px;
  border-radius: var(--radius-sm);
	max-height: 155px;
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.65;
}

footer h4 {
  color: #FFFFFF;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-family: var(--font-sans);
  font-weight: 700;
}

footer ul {
  list-style: none;
}

footer li {
  margin-bottom: 10px;
}

footer a {
  color: rgba(255, 255, 255, 0.65);
}

footer a:hover {
  color: var(--cyan);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  line-height: 1.6;
}

@media(max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── MODALS (SMOOTH BACKDROP BLUR) ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 29, 62, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
  color: #888;
  line-height: 1;
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: var(--navy);
}

.modal-box h3 {
  color: var(--navy);
  font-size: 22px;
  margin: 0 0 6px;
}

.modal-box p.modal-sub {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 24px;
}
.serve-text-wrapper {
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.serve-fixed {
  flex-shrink: 0;
  position: relative;
  z-index: 10;
  background: #0f1d3e;
  padding-right: 8px;
  white-space: nowrap;
}

.serve-scroll {
  display: inline-block;
  white-space: nowrap;
  position: relative;
  z-index: 1;
  animation: serveScroll 19s linear infinite;
}

.serve-scroll:hover {
    animation-play-state: paused;
}

@keyframes serveScroll {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}
img.emoji[src*="1f4de.svg"] {
  filter: brightness(0) invert(1);
}
img.emoji[src*="1f310.svg"] {
  filter: brightness(0) invert(1);
}
.mobile-call-icon {
  display: none;
}

@media (max-width: 768px) {
  .mobile-call-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #ffffff;
    color: #102044;
    border-radius: 8px;
    text-decoration: none;
    font-size: 20px;
    margin: 0 12px;
  }
}
.feature-item.fi-teal:nth-child(1) svg {
	stroke: var(--purple);
}

.feature-item.fi-teal:nth-child(1) h4 {
     color: var(--purple);
}
.referral-split img.emoji[src*="1f4de.svg"] {
    filter: none !important;
}
