/* ============================================================
   ERIGO HEALTHCARE SOLUTIONS — GLOBAL STYLESHEET (MOBILE-FIRST)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Sora:wght@600;700;800&display=swap');

/* ── CSS Custom Properties ── */
:root {
  --navy:        #1e3a8a;
  --navy-dark:   #0f2460;
  --navy-light:  #2563eb;
  --coral:       #f97316;
  --coral-dark:  #ea580c;
  --white:       #ffffff;
  --gray-50:     #f8faff;
  --gray-100:    #f3f4f6;
  --gray-200:    #e5e7eb;
  --gray-400:    #9ca3af;
  --gray-600:    #4b5563;
  --gray-700:    #374151;
  --gray-800:    #1f2937;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.08);
  --shadow-md:   0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:   0 10px 40px rgba(0,0,0,.14);
  --radius:      12px;
  --tr:          0.25s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  font-size: 16px;
}
h1,h2,h3,h4,h5,h6 { font-family: 'Sora','Inter',sans-serif; line-height: 1.2; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ── Utilities ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.section    { padding: 56px 0; }
.text-center{ text-align: center; }

/* ── Scroll Animations ── */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════ BADGE ══════════════════ */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 12px; border-radius: 999px;
  font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.badge-blue  { background: rgba(37,99,235,.1);  color: var(--navy); }
.badge-coral { background: rgba(249,115,22,.1);  color: var(--coral-dark); }
.badge-white { background: rgba(255,255,255,.15); color: var(--white); border: 1px solid rgba(255,255,255,.3); }

/* ══════════════════ BUTTONS ══════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 12px 24px; border-radius: 8px;
  font-weight: 600; font-size: .9rem;
  border: 2px solid transparent; cursor: pointer;
  transition: var(--tr); white-space: nowrap; line-height: 1;
}
.btn-primary       { background: var(--navy);  color: var(--white); }
.btn-primary:hover { background: var(--navy-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-coral         { background: var(--coral); color: var(--white); }
.btn-coral:hover   { background: var(--coral-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline       { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-outline-white:hover { background: var(--white); color: var(--navy); }
.btn-white         { background: var(--white); color: var(--navy); }
.btn-white:hover   { background: var(--gray-100); transform: translateY(-2px); }

/* ══════════════════ NAVBAR ══════════════════ */
.navbar {
  position: sticky; top: 0; z-index: 200; /* higher z so overlay sits above content */
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  overflow: visible; /* must be visible for mega-menu + mobile overlay */
}
.navbar-inner {
  position: relative; /* anchor for mega-menu + mobile-menu */
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}


/* Logo */
.logo { display: flex; align-items: center; gap: 8px; }
.logo-icon { font-size: 1.8rem; color: var(--navy); }
.logo-text-primary { font-family: 'Sora',sans-serif; font-weight: 800; font-size: 1.2rem; color: var(--navy); letter-spacing: -.02em; display: block; }
.logo-text-sub  { font-size: .55rem; font-weight: 600; letter-spacing: .12em; color: var(--navy-light); text-transform: uppercase; display: block; }

/* Desktop nav — hidden on mobile */
.nav-links { display: none; }
.nav-links > a,
.nav-dropdown-trigger {
  font-size: .875rem;
  font-weight: 500;
  color: #374151;
  transition: color var(--tr);
  position: relative;
  white-space: nowrap;
}
/* Orange coral underline on hover / active */
.nav-links > a::after,
.nav-dropdown-trigger::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2.5px;
  background: var(--coral);
  transition: width .2s ease;
  border-radius: 2px;
}
.nav-links > a:hover::after,
.nav-links > a.active::after,
.nav-dropdown-trigger:hover::after,
.nav-dropdown-wrapper:hover .nav-dropdown-trigger::after { width: 100%; }
.nav-links > a:hover,
.nav-links > a.active,
.nav-dropdown-trigger:hover,
.nav-dropdown-wrapper:hover .nav-dropdown-trigger { color: var(--navy); }
.nav-cta { margin-left: 4px; }
/* Contact Us btn overrides */
.nav-links a.btn { color: var(--navy); }
.nav-links a.btn:hover { color: var(--navy); }
.nav-links a.btn::after { display: none; }
/* Outline Contact Us button */
.btn-outline.nav-cta {
  border: 1.5px solid var(--navy);
  color: var(--navy);
  padding: 7px 18px;
  border-radius: 6px;
  font-weight: 600;
  font-size: .875rem;
  transition: background var(--tr), color var(--tr);
}
.btn-outline.nav-cta:hover { background: var(--navy); color: var(--white); }


/* ══════════════════ HAMBURGER ══════════════════ */
.hamburger {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 8px; margin: -8px;  /* expand tap target */
  z-index: 10;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--gray-800); border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════ MOBILE MENU PANEL ══════════════════ */
.mobile-menu {
  position: absolute;       /* Overlay, doesn't push page content */
  top: 100%; left: 0; right: 0;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 12px 32px rgba(0,0,0,.12);
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s cubic-bezier(.4,0,.2,1);
  z-index: 200;
}
.mobile-menu.open {
  max-height: calc(100dvh - 68px);  /* full visible height minus navbar */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Inner scroll container */
.mobile-menu-container {
  display: flex;
  flex-direction: column;
  padding: 6px 0 24px;
}

/* ── Simple nav links ── */
.mobile-link {
  display: flex;
  align-items: center;
  min-height: 48px;         /* touch-friendly target */
  padding: 0 20px;
  font-size: .95rem;
  font-weight: 500;
  color: #374151;
  transition: background .15s, color .15s;
  border-radius: 0;
}
.mobile-link:hover,
.mobile-link:active { background: #f8fafc; color: var(--navy); }

/* ── Solutions accordion trigger ── */
.mobile-accordion-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;         /* touch-friendly */
  width: 100%;
  padding: 0 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: .95rem;
  font-weight: 500;
  color: #374151;
  font-family: 'Inter', sans-serif;
  transition: background .15s, color .15s;
  text-align: left;
}
.mobile-accordion-btn:hover { background: #f8fafc; color: var(--navy); }
.mobile-accordion-btn.open {
  color: var(--navy);
  background: #f0f4ff;
}
.mobile-accordion-btn .material-symbols-outlined {
  font-size: 1.2rem;
  color: #9ca3af;
  flex-shrink: 0;
  transition: transform .25s ease, color .15s;
}
.mobile-accordion-btn.open .material-symbols-outlined {
  transform: rotate(180deg);
  color: var(--navy);
}

/* ── Collapsible body — smooth max-height animation ── */
.mobile-accordion-body {
  max-height: 0;
  overflow: hidden;
  background: #f8fafc;
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
  transition: max-height .35s cubic-bezier(.4,0,.2,1),
              border-color .2s ease;
  /* ALWAYS display:block — animation controlled by max-height */
  display: block !important;
}
.mobile-accordion-body.open {
  max-height: 700px;   /* tall enough for all 5 columns */
  border-color: #eef2ff;
}

/* ── Category groups (e.g. "Revenue Cycle Management") ── */
.mobile-sub-group {
  padding: 10px 0 6px;
  border-bottom: 1px solid #eef0f3;
}
.mobile-sub-group:last-child { border-bottom: none; padding-bottom: 10px; }

.mobile-sub-heading {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
  padding: 2px 20px 8px;
}

.mobile-sub-group a {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0 20px 0 32px;  /* indent sub-items */
  font-size: .9rem;
  color: #4b5563;
  transition: color .12s, background .12s;
}
.mobile-sub-group a:hover { color: var(--navy); background: #fff; }

/* ── Thin divider line ── */
.mobile-menu-container hr {
  border: none;
  border-top: 1px solid #f1f5f9;
  margin: 4px 0;
}

/* ── Contact Us CTA at bottom of mobile menu ── */
.mobile-menu-cta {
  margin: 12px 16px 0;
  display: block;
  text-align: center;
  padding: 13px 20px;
  background: var(--navy);
  color: #fff !important;
  border-radius: 8px;
  font-weight: 600;
  font-size: .9rem;
  transition: background .15s;
}
.mobile-menu-cta:hover { background: #1e3a7a; }

/* ══════════════════ MEGA MENU (desktop only) ══════════════════ */
.nav-dropdown-wrapper { position: relative; }
.nav-dropdown-trigger {
  display: flex; align-items: center; gap: 2px; cursor: pointer;
}
.nav-chevron { font-size: 1.1rem !important; transition: transform var(--tr); }
.mega-menu { display: none; } /* revealed only at ≥1024px via media query */

/* ══════════════════ SECTION HEADER ══════════════════ */
.section-header { margin-bottom: 40px; }
.section-header h2 { font-size: clamp(1.6rem, 5vw, 2.2rem); color: var(--navy); margin-top: 10px; }
.section-header p  { margin-top: 12px; font-size: .95rem; color: var(--gray-600); }
.section-header.center { text-align: center; }

/* ══════════════════ HERO (Homepage) ══════════════════ */
.hero { background: var(--gray-50); overflow: hidden; }
.hero-content { padding: 48px 0; }
.hero h1 { font-size: clamp(1.9rem, 6vw, 3rem); color: var(--navy); margin: 16px 0 16px; }
.hero h1 span { color: var(--navy-light); }
.hero > .container > .hero-content > p { font-size: .95rem; color: var(--gray-600); margin-bottom: 28px; }
.hero-btns { display: flex; flex-direction: column; gap: 12px; }
.hero-image { width: 100%; height: 260px; overflow: hidden; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* ══════════════════ STATS BAR ══════════════════ */
.stats-bar { background: var(--navy); padding: 40px 0; }
.stats-bar-inner { display: flex; flex-direction: column; gap: 0; text-align: center; }
.stat-item { padding: 20px 16px; border-bottom: 1px solid rgba(255,255,255,.12); }
.stat-item:last-child { border-bottom: none; }
.stat-number { font-family: 'Sora',sans-serif; font-size: clamp(2rem, 8vw, 2.8rem); font-weight: 800; color: var(--coral); line-height: 1; }
.stat-label  { margin-top: 6px; color: rgba(255,255,255,.8); font-weight: 500; font-size: .9rem; }

/* ══════════════════ FEATURE CARDS ══════════════════ */
.features-grid { display: flex; flex-direction: column; gap: 20px; }
.feature-card { background: var(--navy); border-radius: var(--radius); padding: 28px; color: var(--white); transition: var(--tr); }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.feature-icon { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feature-icon span { font-size: 1.5rem; color: rgba(255,255,255,.8); }
.feature-card h3 { font-size: 1rem; margin-bottom: 10px; }
.feature-card p  { font-size: .875rem; color: rgba(255,255,255,.75); line-height: 1.7; }

/* ══════════════════ CTA BAND ══════════════════ */
.cta-band { background: linear-gradient(135deg, var(--coral) 0%, var(--coral-dark) 100%); padding: 48px 0; }
.cta-band-inner { display: flex; flex-direction: column; gap: 24px; }
.cta-band h2 { font-size: clamp(1.3rem, 5vw, 1.8rem); color: var(--white); }
.cta-band p  { color: rgba(255,255,255,.85); margin-top: 8px; font-size: .95rem; }

/* ══════════════════ SOLUTIONS GRID ══════════════════ */
.solutions-grid { display: flex; flex-direction: column; gap: 20px; }
.solution-card { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); border-top: 4px solid var(--navy); transition: var(--tr); }
.solution-card.coral-top { border-top-color: var(--coral); }
.solution-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.solution-icon { font-size: 2rem; margin-bottom: 14px; }
.solution-icon.navy  { color: var(--navy); }
.solution-icon.coral { color: var(--coral); }
.solution-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 14px; }
.solution-card li { display: flex; align-items: flex-start; gap: 7px; font-size: .875rem; color: var(--gray-600); margin-bottom: 7px; }
.check-icon { color: #22c55e; font-size: .9rem; flex-shrink: 0; margin-top: 1px; }
.solution-link { display: inline-block; margin-top: 16px; font-size: .85rem; font-weight: 600; color: var(--navy); border-bottom: 1px solid var(--navy); padding-bottom: 1px; transition: var(--tr); }
.solution-link:hover { color: var(--coral); border-color: var(--coral); }

/* ══════════════════ TESTIMONIAL ══════════════════ */
.testimonial-section { background: var(--navy); padding: 56px 0; text-align: center; }
.testimonial-section .quote-icon { font-size: 3rem; color: var(--coral); opacity: .7; margin-bottom: 16px; }
.testimonial-section blockquote { font-size: clamp(1rem, 3vw, 1.35rem); color: var(--white); font-style: italic; font-weight: 400; max-width: 820px; margin: 0 auto 16px; line-height: 1.7; }
.testimonial-section cite { color: rgba(255,255,255,.6); font-size: .9rem; font-weight: 600; }

/* ══════════════════ NEWS CARDS ══════════════════ */
.news-grid { display: flex; flex-direction: column; gap: 20px; }
.news-card { background: var(--coral); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: var(--tr); }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-thumb { background: var(--white); height: 140px; display: flex; align-items: center; justify-content: center; padding: 16px; }
.news-thumb img { max-height: 100%; object-fit: contain; }
.news-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.news-body h3 { font-size: .95rem; font-weight: 700; color: var(--white); margin-bottom: 10px; line-height: 1.4; }
.news-body p  { font-size: .83rem; color: rgba(255,255,255,.8); flex: 1; margin-bottom: 14px; }
.news-card .btn-white { font-size: .82rem; padding: 7px 18px; color: var(--coral-dark); align-self: flex-start; }

/* ══════════════════ CONTACT FORM ══════════════════ */
.contact-section { padding: 56px 0 80px; }  /* extra bottom clearance */
.contact-grid { 
  display: flex; 
  flex-direction: column; 
  gap: 32px; 
  align-items: stretch; /* ensure columns same height */
}
.contact-info h2 { font-size: clamp(1.6rem, 5vw, 2.2rem); color: var(--navy); margin-bottom: 14px; }
.contact-info p  { color: var(--gray-600); margin-bottom: 24px; font-size: .95rem; }
.contact-detail  { display: flex; align-items: flex-start; gap: 10px; color: var(--gray-600); margin-bottom: 12px; font-size: .9rem; }
.contact-detail span.material-symbols-outlined { color: var(--navy); flex-shrink: 0; }

.form-box {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 28px 28px 32px; /* extra bottom padding inside box */
  position: relative;
  z-index: 1;
  flex: 1; /* take up full column height */
}
.form-box h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 20px; }
.contact-info { flex: 1; } /* match form column width */
.form-row { display: flex; flex-direction: column; gap: 0; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: .78rem; font-weight: 600; color: rgba(255,255,255,.7); margin-bottom: 5px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px; padding: 10px 13px; color: var(--white);
  font-size: .875rem; font-family: 'Inter',sans-serif; outline: none;
  transition: border-color var(--tr);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,.35); }
.form-group input:focus, .form-group textarea:focus { border-color: var(--coral); }
.form-group textarea { resize: vertical; }

/* ══════════════════ FOOTER ══════════════════ */
footer { background: #0f172a; color: var(--white); padding: 64px 0 0; } /* increased top padding for clear separation */
.footer-grid { display: flex; flex-direction: column; gap: 32px; padding-bottom: 40px; }
.footer-brand p { color: var(--gray-400); font-size: .875rem; margin-top: 10px; line-height: 1.7; }
.footer-col h4 { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--coral); margin-bottom: 12px; }
.footer-col a { display: block; font-size: .85rem; color: var(--gray-400); margin-bottom: 8px; transition: color var(--tr); }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; display: flex; flex-direction: column; gap: 10px; font-size: .82rem; color: var(--gray-400); }
.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a { color: var(--gray-400); transition: color var(--tr); }
.footer-bottom a:hover { color: var(--white); }

/* ══════════════════ PAGE HERO (inner pages) ══════════════════ */
.page-hero { background: var(--navy); position: relative; overflow: hidden; padding: 60px 0 70px; }
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .12; }
.page-hero-bg::after { content:''; position:absolute; inset:0; background: linear-gradient(to right, var(--navy) 60%, transparent); }
.page-hero-content { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(1.9rem, 6vw, 3rem); color: var(--white); margin: 14px 0 18px; line-height: 1.15; }
.page-hero p  { font-size: .95rem; color: rgba(255,255,255,.8); margin-bottom: 28px; }
.page-hero-btns { display: flex; flex-direction: column; gap: 12px; }

/* ══════════════════ TWO-COL SECTION ══════════════════ */
.two-col { display: flex; flex-direction: column; gap: 32px; }
.two-col img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; }
.two-col-text h2 { font-size: clamp(1.4rem, 4vw, 1.9rem); color: var(--navy); margin-bottom: 14px; }
.two-col-text p  { color: var(--gray-600); font-size: .95rem; margin-bottom: 18px; line-height: 1.7; }
.checklist { display: flex; flex-direction: column; gap: 10px; }
.checklist li { display: flex; align-items: flex-start; gap: 9px; font-size: .9rem; color: var(--gray-700); }
.checklist li .material-symbols-outlined { color: var(--navy-light); flex-shrink: 0; font-size: 1.05rem; margin-top: 2px; }

/* ══════════════════ INFO CARDS ══════════════════ */
.info-grid { display: flex; flex-direction: column; gap: 20px; }
.info-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 28px; transition: var(--tr); }
.info-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--navy-light); }
.info-card-icon { width: 52px; height: 52px; border-radius: 10px; background: var(--gray-100); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--navy); margin-bottom: 16px; transition: var(--tr); }
.info-card:hover .info-card-icon { background: var(--navy); color: var(--white); }
.info-card h3 { font-size: 1rem; font-weight: 700; color: var(--gray-800); margin-bottom: 8px; }
.info-card p  { font-size: .875rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 16px; }
.info-card-services h4 { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); margin-bottom: 8px; }
.info-card-services li { display: flex; align-items: center; gap: 7px; font-size: .82rem; color: var(--gray-600); margin-bottom: 5px; }
.info-card-services li::before { content:''; width:5px; height:5px; border-radius:50%; background:var(--navy-light); flex-shrink:0; }

/* ══════════════════ WHY SECTION ══════════════════ */
.why-section { background: var(--navy); padding: 60px 0; position: relative; overflow: hidden; }
.why-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .25; }
.why-blob-1 { width: 300px; height: 300px; background: #1d4ed8; top: -80px; right: -80px; }
.why-blob-2 { width: 240px; height: 240px; background: #1e40af; bottom: -60px; left: -60px; }
.why-inner { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 40px; }
.why-text h2 { font-size: clamp(1.5rem, 5vw, 2rem); color: var(--white); margin-bottom: 14px; }
.why-text p  { color: rgba(255,255,255,.75); font-size: .95rem; margin-bottom: 28px; line-height: 1.7; }
.why-cards   { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.why-card    { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; padding: 18px; backdrop-filter: blur(4px); }
.why-card .material-symbols-outlined { font-size: 1.6rem; color: rgba(255,255,255,.5); margin-bottom: 8px; display: block; }
.why-card h4 { font-size: .9rem; font-weight: 700; color: var(--white); margin-bottom: 5px; }
.why-card p  { font-size: .8rem; color: rgba(255,255,255,.6); margin: 0; }
.why-image   { display: none; } /* hidden on mobile */

/* ══════════════════ BENEFITS BAR ══════════════════ */
.benefits-bar { background: var(--navy); padding: 48px 0; }
.benefits-bar-header { text-align: center; margin-bottom: 32px; }
.benefits-bar-header h2 { font-size: clamp(1.4rem, 5vw, 2rem); color: var(--white); }
.benefits-bar-header p  { color: rgba(255,255,255,.7); margin-top: 8px; font-size: .9rem; }
.benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.benefit-item { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; padding: 20px 14px; text-align: center; }
.benefit-icon { width: 44px; height: 44px; background: var(--coral); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; color: var(--white); font-size: 1.2rem; }
.benefit-item h3 { font-size: .88rem; font-weight: 600; color: var(--white); margin-bottom: 6px; }
.benefit-item p  { font-size: .8rem; color: rgba(255,255,255,.65); }

/* ══════════════════ SERVICE CARDS (Care Coordination) ══════════════════ */
.service-cards { display: flex; flex-direction: column; gap: 20px; margin-top: 40px; }
.service-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 28px; transition: var(--tr); }
.service-card:hover { box-shadow: var(--shadow-lg); border-color: var(--navy); transform: translateY(-3px); }
.service-card-icon { width: 48px; height: 48px; background: var(--navy); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.4rem; margin-bottom: 16px; }
.service-card h3 { font-size: 1rem; font-weight: 700; color: var(--gray-800); margin-bottom: 8px; }
.service-card > p { font-size: .875rem; color: var(--gray-600); margin-bottom: 16px; line-height: 1.6; }
.service-card hr  { border: none; border-top: 1px solid var(--gray-200); margin-bottom: 14px; }
.service-card h4  { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--gray-800); margin-bottom: 10px; }
.service-card li  { display: flex; align-items: flex-start; gap: 7px; font-size: .85rem; color: var(--gray-600); margin-bottom: 7px; }
.service-card li .material-symbols-outlined { color: var(--coral); font-size: .95rem; flex-shrink: 0; margin-top: 2px; }

/* ══════════════════ CC HERO ══════════════════ */
.cc-hero { background: var(--gray-50); position: relative; overflow: hidden; }
.cc-hero-bg { position: absolute; inset: 0; }
.cc-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cc-hero-overlay { position: absolute; inset: 0; background: rgba(248,250,255,.88); }
.cc-hero .container { position: relative; z-index: 2; padding-top: 56px; padding-bottom: 56px; }
.cc-hero-content { max-width: 640px; }
.cc-hero h1 { font-size: clamp(1.9rem, 6vw, 3rem); color: var(--gray-800); margin: 14px 0 16px; }
.cc-hero h1 span { color: var(--navy); }
.cc-hero p { font-size: .95rem; color: var(--gray-600); margin-bottom: 28px; }
.cc-hero-btns { display: flex; flex-direction: column; gap: 12px; }
.cc-cta-inner { display: flex; flex-direction: column; gap: 24px; }
.cc-cta-text h2 { font-size: clamp(1.4rem, 5vw, 1.9rem); color: var(--gray-800); font-weight: 700; }
.cc-cta-sub { color: var(--navy); font-size: clamp(1rem, 3vw, 1.3rem); font-weight: 700; margin-top: 6px; }
.cc-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ══════════════════ RCM PAGE SPECIFICS ══════════════════ */
.rcm-focus { display: flex; flex-direction: column; gap: 24px; }
.rcm-focus-checklist { display: flex; flex-direction: column; }
.rcm-focus-checklist li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--gray-200); font-size: .9rem; color: var(--gray-600); }
.rcm-focus-checklist li:last-child { border-bottom: none; }
.rcm-focus-checklist .material-symbols-outlined { color: var(--navy-light); flex-shrink: 0; }
.rcm-outcomes { background: var(--navy); border-radius: var(--radius); padding: 28px; }
.rcm-outcomes h2 { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 18px; }
.outcome-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.outcome-item:last-child { border-bottom: none; }
.outcome-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.outcome-item h4 { font-size: .9rem; font-weight: 600; color: var(--white); }
.outcome-item p  { font-size: .8rem; color: rgba(255,255,255,.65); margin-top: 2px; }
.expertise-grid { display: flex; flex-direction: column; gap: 0; }
.expertise-card { padding: 28px 0; border-bottom: 1px solid var(--gray-200); }
.expertise-card:last-child { border-bottom: none; }
.expertise-card-icon { font-size: 2rem; color: var(--navy-light); margin-bottom: 12px; }
.expertise-card h3 { font-size: 1rem; font-weight: 700; color: var(--gray-800); margin-bottom: 7px; }
.expertise-card > p { font-size: .875rem; color: var(--gray-600); margin-bottom: 14px; line-height: 1.6; }
.expertise-card h4 { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--gray-800); margin-bottom: 8px; }
.expertise-services { display: flex; flex-direction: column; gap: 4px; }
.expertise-services li { font-size: .82rem; color: var(--gray-600); display: flex; align-items: center; gap: 6px; }
.expertise-services li::before { content:''; width:5px; height:5px; border-radius:50%; background:var(--navy-light); flex-shrink:0; }

/* ══════════════════ SOLUTIONS PAGE ══════════════════ */
.sol-tabs-wrapper { background: var(--white); border-bottom: 2px solid var(--gray-200); position: sticky; top: 64px; z-index: 50; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.sol-tabs { display: flex; min-width: max-content; gap: 0; }
.sol-tab { padding: 14px 18px; font-size: .825rem; font-weight: 600; color: var(--gray-600); white-space: nowrap; border-bottom: 3px solid transparent; cursor: pointer; transition: var(--tr); background: none; border-top: none; border-left: none; border-right: none; }
.sol-tab:hover  { color: var(--navy); }
.sol-tab.active { color: var(--navy); border-bottom-color: var(--coral); }
.sol-section { padding: 48px 0; }
.sol-section + .sol-section { border-top: 1px solid var(--gray-200); }
.sol-intro { margin-bottom: 32px; }
.sol-intro h2 { font-size: clamp(1.5rem, 5vw, 2rem); color: var(--navy); margin-bottom: 12px; }
.sol-intro p  { font-size: .95rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 8px; }
.sol-sub-grid { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.sol-sub-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 24px; transition: var(--tr); }
.sol-sub-card:hover { box-shadow: var(--shadow-md); border-color: var(--navy-light); }
.sol-sub-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.sol-sub-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--gray-100); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: var(--navy); flex-shrink: 0; transition: var(--tr); }
.sol-sub-card:hover .sol-sub-icon { background: var(--navy); color: var(--white); }
.sol-sub-card h3 { font-size: .98rem; font-weight: 700; color: var(--gray-800); }
.sol-sub-card > p { font-size: .875rem; color: var(--gray-600); line-height: 1.6; margin-bottom: 14px; }
.sol-sub-lists { display: flex; flex-direction: column; gap: 16px; }
.sol-sub-list-block h4 { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); margin-bottom: 7px; }
.sol-sub-list-block ul { display: flex; flex-direction: column; gap: 4px; }
.sol-sub-list-block li { font-size: .82rem; color: var(--gray-600); display: flex; align-items: center; gap: 6px; }
.sol-sub-list-block li::before { content:''; width:5px; height:5px; border-radius:50%; background:var(--navy-light); flex-shrink:0; }
.sol-focus { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.sol-focus-tag { background: var(--gray-100); color: var(--navy); font-size: .8rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; }

/* ══════════════════ SUCCESS POPUP ══════════════════ */
#success-popup {
  position: fixed; bottom: 24px; right: 16px; left: 16px;
  background: var(--navy); color: white;
  padding: 18px 22px; border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  transform: translateY(120px); opacity: 0;
  transition: all .4s cubic-bezier(.4,0,.2,1); z-index: 999;
}
#success-popup.show { transform: translateY(0); opacity: 1; }
.popup-inner { display: flex; align-items: flex-start; gap: 10px; }
.popup-inner .material-symbols-outlined { color: #4ade80; flex-shrink: 0; margin-top: 2px; }
.popup-text strong { display: block; margin-bottom: 4px; font-size: .95rem; }
.popup-text p { font-size: .82rem; color: rgba(255,255,255,.75); margin: 0; }

/* ══════════════════ min-width: 480px ══════════════════ */
@media (min-width: 480px) {
  .container { padding: 0 20px; }
  .hero-btns, .page-hero-btns, .cc-hero-btns { flex-direction: row; flex-wrap: wrap; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  #success-popup { left: auto; right: 24px; max-width: 320px; }
}

/* ══════════════════ min-width: 640px ══════════════════ */
@media (min-width: 640px) {
  .container { padding: 0 24px; }
  .section { padding: 72px 0; }
  .navbar-inner { height: 70px; }
  .hero-image { height: 340px; }
  .stats-bar-inner { flex-direction: row; }
  .stat-item { flex: 1; border-bottom: none; border-right: 1px solid rgba(255,255,255,.12); }
  .stat-item:last-child { border-right: none; }
  .news-grid { display: grid; grid-template-columns: 1fr 1fr; }
  .footer-grid { display: grid; grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
  .sol-sub-grid { display: grid; grid-template-columns: 1fr 1fr; }
  .sol-sub-lists { flex-direction: row; }
  .expertise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
  .expertise-card { border-bottom: 1px solid var(--gray-200); border-right: none; }
  .expertise-grid > .expertise-card:nth-last-child(-n+2) { border-bottom: none; }
  .cta-band-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ══════════════════ min-width: 768px ══════════════════ */
@media (min-width: 768px) {
  .solutions-grid { display: grid; grid-template-columns: 1fr 1fr; }
  .features-grid  { display: grid; grid-template-columns: 1fr 1fr; }
  .service-cards  { display: grid; grid-template-columns: 1fr 1fr; }
  .info-grid      { display: grid; grid-template-columns: 1fr 1fr; }
  .benefits-grid  { grid-template-columns: repeat(4,1fr); }
  .two-col        { flex-direction: row; align-items: center; gap: 48px; }
  .two-col > *    { flex: 1; }
  .two-col.reverse { flex-direction: row-reverse; }
  .contact-grid   { flex-direction: row; align-items: stretch; gap: 40px; }
  .contact-info   { flex: 1; }
  .form-box       { flex: 1.2; } /* form side slightly wider */
  .contact-section { padding: 72px 0 96px; }
  .rcm-focus      { display: grid; grid-template-columns: 1fr 1fr; }
  .cc-cta-inner   { flex-direction: row; align-items: center; justify-content: space-between; }
  .footer-grid    { grid-template-columns: 2fr 1fr 1fr; }
  .sol-sub-grid   { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════ min-width: 1024px ══════════════════ */
@media (min-width: 1024px) {
  .nav-links    { display: flex; align-items: center; gap: 20px; }
  .hamburger    { display: none; }
  .mobile-menu  { display: none !important; }

/* ── Mega Menu ── */
  .mega-menu {
    display: block;
    /* Left-anchored: shift left so panel starts near 'Who We Serve' */
    position: absolute;
    top: calc(100% + 12px);
    left: -160px;          /* shift left from Solutions trigger */
    transform: translateY(8px);
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 40px rgba(0,0,0,.12), 0 0 0 1px rgba(0,0,0,.06);
    width: 920px;
    padding: 32px 36px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease, transform .22s ease;
    z-index: 300;
    pointer-events: none;
  }
  .nav-dropdown-wrapper:hover .mega-menu,
  .nav-dropdown-wrapper:focus-within .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: all;
  }
  /* Chevron rotation */
  .nav-dropdown-wrapper:hover .nav-chevron { transform: rotate(180deg); }

  /* 5-column grid */
  .mega-menu-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 0;
  }
  /* Dividers between columns */
  .mega-col {
    padding: 0 20px;
    border-right: 1px solid #f0f0f0;
  }
  .mega-col:first-child { padding-left: 0; }
  .mega-col:last-child  { padding-right: 0; border-right: none; }

  /* Column heading — bold with bottom separator */
  .mega-col h4 {
    font-family: 'Inter', sans-serif;
    font-size: .9rem;
    font-weight: 700;
    color: #111827;
    padding-bottom: 12px;
    margin-bottom: 16px;
    border-bottom: 1.5px solid #e5e7eb;
    line-height: 1.4;
  }
  .mega-col h4 a {
    color: #111827;
    transition: color var(--tr);
  }
  .mega-col h4 a:hover { color: var(--navy); }
  .mega-col h4 a::after { display: none; }

  /* Sub-links */
  .mega-col ul { display: flex; flex-direction: column; gap: 0; }
  .mega-col li { padding: 5px 0; }
  .mega-col li a {
    font-size: .875rem;
    color: #4b5563;
    display: block;
    line-height: 1.4;
    transition: color .15s ease;
  }
  .mega-col li a:hover { color: #111827; }
  .mega-col li a::after { display: none; }

  .hero { background: var(--gray-50); }
  .hero .container { position: relative; }
  .hero-inner { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; align-items: stretch; }
  .hero-content { padding: 80px 40px 80px 0; }
  .hero-image { position: absolute; top: 0; right: 0; width: 50%; height: 100%; overflow: hidden; }
  .hero-image img { width: 100%; height: 100%; object-fit: cover; }

  .hero-badge {
    position: absolute; top: 28px; right: 32px;
    background: var(--coral); color: var(--white);
    padding: 16px 20px; border-radius: 12px; max-width: 210px;
    box-shadow: var(--shadow-lg); z-index: 3;
  }
  .hero-badge .badge-label { display: flex; align-items: center; gap: 5px; font-size: .65rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 7px; }
  .hero-badge p { font-weight: 700; font-size: .9rem; line-height: 1.3; color: var(--white); margin: 0 0 8px; }
  .hero-badge a { display: inline-block; background: var(--white); color: var(--coral); font-size: .75rem; font-weight: 700; padding: 4px 12px; border-radius: 5px; }
  .hero-badge a:hover { background: var(--gray-100); }

  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .news-grid     { grid-template-columns: repeat(3, 1fr); }
  .service-cards { grid-template-columns: repeat(3, 1fr); }
  .solutions-grid { grid-template-columns: repeat(3, 1fr); }
  .why-inner  { flex-direction: row; gap: 64px; }
  .why-image  { display: block; flex: 1; }
  .why-image img { border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0,0,0,.4); border: 3px solid rgba(255,255,255,.1); rotate: 2deg; transition: rotate var(--tr); width: 100%; }
  .why-image img:hover { rotate: 0deg; }
  .why-text   { flex: 1; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; }
  .sol-sub-grid { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════ min-width: 1200px ══════════════════ */
@media (min-width: 1200px) {
  .container { padding: 0 32px; }
  .sol-tab { padding: 16px 22px; font-size: .875rem; }
}

/* ══════════════════ CONTACT DARK GRID (data-curation) ══════════════════ */
.contact-dark-grid {
  background: var(--navy);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;   /* stack on mobile */
}
.contact-dark-info {
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-dark-info h2 {
  color: var(--white);
  font-size: clamp(1.4rem, 5vw, 2rem);
  margin-bottom: 12px;
}
.contact-dark-info p {
  color: rgba(255,255,255,.75);
  font-size: .95rem;
  margin-bottom: 24px;
  line-height: 1.7;
}
.contact-dark-details { display: flex; flex-direction: column; gap: 14px; }
.contact-dark-item {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,.8); font-size: .9rem;
}
.contact-dark-item .material-symbols-outlined { flex-shrink: 0; color: var(--coral); }
.contact-dark-form {
  background: rgba(255,255,255,.06);
  padding: 36px 28px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.contact-dark-form h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 18px;
}

@media (min-width: 768px) {
  .contact-dark-grid {
    flex-direction: row;   /* side-by-side on tablet+ */
  }
  .contact-dark-info,
  .contact-dark-form {
    flex: 1;
    padding: 48px;
    border-top: none;
  }
  .contact-dark-form {
    border-left: 1px solid rgba(255,255,255,.1);
  }
}

/* ══════════════════ CONTACT SECTION PADDING ══════════════════ */
.contact-section { padding: 56px 0; }
@media (min-width: 640px) { .contact-section { padding: 72px 0; } }

/* ══════════════════ DRUG ACCESS LIST (2-col on tablet+) ══════════════════ */
.solution-drug-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
@media (min-width: 480px) {
  .solution-drug-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
}
.solution-drug-list li {
  display: flex; align-items: flex-start; gap: 7px;
  font-size: .875rem; color: var(--gray-600);
}

/* ══════════════════ HERO BADGE — mobile hidden ══════════════════ */
.hero-badge { display: none; }   /* shown only at 1024px+ via media query above */

/* ══════════════════ RCM FOCUS LEFT HEADINGS ══════════════════ */
.rcm-focus-left h2 { font-size: clamp(1.2rem, 4vw, 1.5rem); color: var(--gray-800); margin-bottom: 16px; }
.rcm-focus-left .material-symbols-outlined { color: var(--navy-light); }

/* ══════════════════ BUTTONS FULL-WIDTH ON SMALL MOBILE ══════════════════ */
@media (max-width: 400px) {
  .btn { width: 100%; justify-content: center; }
  .hero-btns .btn,
  .page-hero-btns .btn,
  .cc-hero-btns .btn,
  .cc-cta-btns .btn { width: 100%; }
}

/* ══════════════════ IMG OVERFLOW GUARD ══════════════════ */
img { max-width: 100%; height: auto; }
section { overflow-x: hidden; }

/* ══════════════════════════════════════════════════════════
   TESTIMONIALS SECTION — "What Our Clients Say"
   ══════════════════════════════════════════════════════════ */
.testimonials-section {
  background: #fff;
  padding: 64px 0 48px;
}
.testimonials-heading {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: #111827;
  margin-bottom: 32px;
}

/* Slider wrapper */
.testimonials-slider {
  position: relative;
}

/* Each card — hidden by default */
.testimonial-card {
  display: none;
  background: #2d4a8c;
  border-radius: 18px;
  padding: 40px 36px;
  align-items: flex-start;
  gap: 28px;
  opacity: 0;
  transition: opacity .4s ease;
}
.testimonial-card.active {
  display: flex;
  opacity: 1;
}

/* Giant coral open-quote mark */
.testimonial-quote-mark {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 7rem;
  line-height: .85;
  color: var(--coral);
  flex-shrink: 0;
  user-select: none;
  margin-top: -8px;
}

/* Quote text */
.testimonial-body { flex: 1; }
.testimonial-body p {
  font-family: 'Inter', sans-serif;
  font-size: clamp(.95rem, 2.2vw, 1.15rem);
  font-weight: 600;
  font-style: italic;
  color: #fff;
  line-height: 1.65;
  margin-bottom: 24px;
}
.testimonial-attribution {
  display: block;
  color: rgba(255,255,255,.75);
  font-size: .95rem;
  font-weight: 500;
  font-style: normal;
}

/* Dot navigation */
.testimonials-dots {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.testimonials-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d1d5db;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .2s;
}
.testimonials-dots .dot.active {
  background: var(--navy);
  transform: scale(1.4);
}

/* Mobile: stack quote mark above text */
@media (max-width: 640px) {
  .testimonial-card {
    flex-direction: column;
    gap: 8px;
    padding: 28px 24px;
  }
  .testimonial-quote-mark {
    font-size: 4.5rem;
    line-height: 1;
  }
}

/* ══════════════════════════════════════════════════════════
   NAVIGATION — CREATIVE REDESIGN OVERRIDES
   ══════════════════════════════════════════════════════════ */

/* 1 ── Thin coral-to-navy brand line at very bottom of navbar */
.navbar::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--coral) 0%, #e85d4a 30%, var(--navy) 100%);
  opacity: .55;
  pointer-events: none;
}

/* 2 ── Logo icon — coral rounded-square pill instead of plain icon */
.logo-icon {
  font-size: 1.45rem !important;
  color: #fff !important;
  background: var(--coral);
  padding: 7px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(249,115,22,.35);
  line-height: 1 !important;
}

/* 3 ── Nav links — slightly bolder, tighter letter-spacing */
.nav-links > a,
.nav-dropdown-trigger {
  font-weight: 600 !important;
  letter-spacing: -.01em;
}

/* 4 ── CONTACT US — Filled coral CTA button */
.btn-outline.nav-cta {
  background: var(--coral) !important;
  border: none !important;
  color: #fff !important;
  padding: 9px 22px !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: .875rem !important;
  box-shadow: 0 3px 10px rgba(249,115,22,.30);
  transition: background .2s, transform .15s ease, box-shadow .2s !important;
}
.btn-outline.nav-cta:hover {
  background: var(--coral-dark) !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(249,115,22,.40);
}

/* 5 ── Mega-menu: improved card appearance */
@media (min-width: 1024px) {
  .mega-menu {
    background: linear-gradient(160deg, #f8fbff 0%, #fff 80px) !important;
    border-radius: 14px !important;
    box-shadow: 0 20px 60px rgba(15,36,96,.18), 0 0 0 1px rgba(0,0,0,.05) !important;
    padding: 0 36px 28px !important; /* top removed — covered by color tabs */
  }
  .mega-menu-inner {
    padding-top: 0 !important;
  }

  /* 5a — Per-column color accent tab at the very top */
  .mega-col {
    padding-top: 20px !important;
    position: relative;
  }
  .mega-col::before {
    content: '';
    display: block;
    position: absolute;
    top: 0; left: 20px; right: 20px;
    height: 3px;
    border-radius: 0 0 3px 3px;
  }
  .mega-col:first-child::before  { background: #1e3a8a; left: 0; }   /* navy  — RCM */
  .mega-col:nth-child(2)::before { background: #f97316; }            /* coral — Care Coord */
  .mega-col:nth-child(3)::before { background: #0e9f7e; }            /* teal  — Data */
  .mega-col:nth-child(4)::before { background: #7c3aed; }            /* violet— Payer */
  .mega-col:last-child::before   { background: #f59e0b; right: 0; }  /* amber — Drug */

  /* 5b — Column heading colour matches its tab */
  .mega-col:nth-child(1) h4 a { color: #1e3a8a !important; }
  .mega-col:nth-child(2) h4 a { color: #ea580c !important; }
  .mega-col:nth-child(3) h4 a { color: #0e9f7e !important; }
  .mega-col:nth-child(4) h4 a { color: #7c3aed !important; }
  .mega-col:nth-child(5) h4 a { color: #d97706 !important; }

  /* 5c — Link hover: subtle left-nudge with arrow */
  .mega-col li a {
    position: relative;
    padding-left: 0;
    transition: color .15s ease, padding-left .15s ease !important;
  }
  .mega-col li a:hover {
    padding-left: 6px !important;
  }
  .mega-col li a::before {
    content: '›';
    position: absolute;
    left: -10px;
    opacity: 0;
    color: var(--coral);
    transition: opacity .15s ease, left .15s ease;
    font-size: 1rem;
  }
  .mega-col li a:hover::before {
    opacity: 1;
    left: -4px;
  }
}
