/* =========================================================
   GLOBAL OVERRIDES (safe fixes + mobile nav + UI hardening)
   File: /assets/css/overrides.css
   Notes:
   - Keep this file LAST in your CSS order for max effect.
   - CSS ONLY (no PHP/HTML).
   - Conservative: fixes common breakage without renaming your classes.
   ========================================================= */

/* ------------------------------
   0) Design tokens + typography
------------------------------ */
:root{
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;
  --fw-black: 900;

  /* Brand tokens */
  --hc-primary: #0b5cab;
  --hc-primary-2: #094a8e;
  --hc-text: #101828;
  --hc-muted: #475467;
  --hc-border: rgba(16, 24, 40, 0.12);
  --hc-surface: #ffffff;
  --hc-soft: rgba(11, 92, 171, 0.08);

  --hc-radius: 18px;
  --hc-shadow: 0 14px 34px rgba(2, 8, 23, 0.06);
}

html, body{
  font-family: var(--font-sans);
  font-weight: var(--fw-regular);
  line-height: 1.6;
  color: var(--hc-text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #ffffff;
}

h1, h2, h3, h4, h5, h6{
  font-family: var(--font-display);
  font-weight: var(--fw-extrabold);
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: #0b2a45;
}

p{ margin: 0 0 14px 0; }

button,
input,
select,
textarea,
.nav-link,
.btn{
  font-family: var(--font-sans);
}

a{ text-underline-offset: 2px; }

/* ------------------------------
   1) Skip-link support (if your base CSS is missing)
------------------------------ */
.skip-link{
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #ffffff;
  color: var(--hc-primary);
  border: 1px solid rgba(11,92,171,0.25);
  box-shadow: 0 10px 24px rgba(0,0,0,0.10);
  transform: translateY(-140%);
  transition: transform .18s ease;
  z-index: 99999;
}
.skip-link:focus{
  transform: translateY(0);
  outline: 3px solid rgba(11, 92, 171, 0.28);
  outline-offset: 2px;
}

/* ------------------------------
   2) Mobile menu scroll lock
------------------------------ */
html.no-scroll,
body.no-scroll{
  overflow: hidden;
  height: 100%;
  touch-action: none;
}

/* ------------------------------
   3) Mobile Menu Overlay
------------------------------ */
.mobile-menu-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
  z-index: 999; /* below nav */
}
.mobile-menu-overlay.is-active{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ------------------------------
   4) Off-canvas mobile nav baseline
   - Supports either class from your JS: .is-open or .is-active
------------------------------ */
@media (max-width: 1024px){
  .main-nav{
    position: fixed;
    top: 0;
    right: 0;
    height: 100dvh;
    height: 100vh;
    width: min(88vw, 360px);
    background: #ffffff;

    transform: translateX(105%);
    transition: transform .25s ease;

    z-index: 1000; /* above overlay */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;

    padding-bottom: 18px;
  }

  .main-nav.is-open,
  .main-nav.is-active{
    transform: translateX(0);
  }
}

/* ------------------------------
   5) Anchor offset: sticky header coverage
------------------------------ */
:target{ scroll-margin-top: 120px; }
@supports (scroll-margin-top: 1px){
  section[id]{ scroll-margin-top: 120px; }
}

/* ------------------------------
   6) Reveal system (SAFE DEFAULT)
   - Default visible; animate only when JS adds html.js
------------------------------ */
.reveal{
  opacity: 1;
  transform: none;
}
html.js .reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}
html.js .reveal.reveal-in,
html.js .reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------
   7) Reduced motion support
------------------------------ */
@media (prefers-reduced-motion: reduce){
  html:focus-within{ scroll-behavior: auto; }
  .reveal{
    opacity: 1;
    transform: none;
    transition: none;
  }
  .main-nav,
  .mobile-menu-overlay{
    transition: none;
  }
}

/* ------------------------------
   8) Accessible keyboard focus
------------------------------ */
a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible{
  outline: 3px solid rgba(11, 92, 171, 0.55);
  outline-offset: 2px;
  border-radius: 10px;
}

/* =========================================================
   9) Buttons (fix white pills + keep outline readable)
   - IMPORTANT: Do NOT force all .btn to be filled.
   - Only normalize sizing + correct primary/outline/portal.
   ========================================================= */

/* Base .btn normalization */
a.btn,
button.btn,
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:44px;
  padding:10px 14px;
  border-radius:999px;
  font-weight:800;
  text-decoration:none;
  border: 1px solid transparent;
}

/* Make icons inherit */
.btn i,
.btn-portal i,
.btn-insurance i{
  color: inherit;
}

/* Primary buttons */
a.btn.btn-primary,
button.btn.btn-primary,
.btn.btn-primary{
  background: var(--hc-primary);
  border-color: var(--hc-primary);
  color:#ffffff;
}
a.btn.btn-primary:hover,
button.btn.btn-primary:hover,
.btn.btn-primary:hover{
  background: var(--hc-primary-2);
  border-color: var(--hc-primary-2);
  color:#ffffff;
}

/* Outline buttons */
a.btn.btn-outline,
button.btn.btn-outline,
.btn.btn-outline{
  background: transparent;
  color: var(--hc-primary);
  border-color: rgba(11, 92, 171, 0.45);
}
a.btn.btn-outline:hover,
button.btn.btn-outline:hover,
.btn.btn-outline:hover{
  background: rgba(11,92,171,0.10);
  color: var(--hc-primary);
}

/* Portal button (utility bar + hero actions) */
.btn-portal,
a.btn-portal{
  background: var(--hc-primary);
  border: 1px solid var(--hc-primary);
  color: #ffffff;
  font-weight: 900;
}
.btn-portal:hover,
a.btn-portal:hover{
  background: var(--hc-primary-2);
  border-color: var(--hc-primary-2);
  color:#ffffff;
}

/* Insurance button (utility bar) */
.btn-insurance,
a.btn-insurance{
  background: #ffffff;
  color: #06263b;
  border: 1px solid rgba(11,44,69,0.18);
  font-weight: 900;
}
.btn-insurance:hover,
a.btn-insurance:hover{
  background: rgba(11,92,171,0.06);
  border-color: rgba(11,44,69,0.30);
}

/* Homepage custom buttons */
a.btn-contact,
a.btn-green{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:44px;
  padding:12px 16px;
  border-radius:999px;
  font-weight:900;
  text-decoration:none;
  border:1px solid transparent;
  background: var(--hc-primary);
  color:#ffffff;
}
a.btn-contact:hover,
a.btn-green:hover{
  background: var(--hc-primary-2);
  color:#ffffff;
}

/* Hide accidental empty anchors rendering as “blank pills” */
a.btn:empty,
button.btn:empty{
  display:none !important;
}

/* Nav action spacing only */
.nav-actions .btn,
.nav-actions .btn-portal,
.nav-actions .btn-insurance{
  margin-left: 8px;
}
@media (max-width: 1024px){
  .nav-actions .btn,
  .nav-actions .btn-portal,
  .nav-actions .btn-insurance{
    margin-left: 0;
    width: 100%;
  }
}

/* =========================================================
   10) Home page (index.php) grid + card polish
   - Does not rename your classes; only improves responsiveness.
   ========================================================= */

.section-intro{
  color: var(--hc-muted);
  line-height: 1.75;
  max-width: 85ch;
}

/* Make your existing services-grid responsive (safe) */
.services-grid{
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* Cards */
.service-card,
.detail-card,
.stat-card{
  background: var(--hc-surface);
  border: 1px solid var(--hc-border);
  border-radius: var(--hc-radius);
  box-shadow: var(--hc-shadow);
}

/* Card spacing */
.service-card{
  padding: 18px;
}
.service-card h3{
  margin: 10px 0 8px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.service-card p{
  margin: 0;
  color: var(--hc-muted);
  line-height: 1.75;
}

/* IOP Accordion: improve native details UI */
.hc-accordion{
  border: 1px solid var(--hc-border);
  border-radius: var(--hc-radius);
  background: #ffffff;
  box-shadow: var(--hc-shadow);
  overflow: hidden;
}
.hc-accordion__summary{
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  font-weight: 900;
}
.hc-accordion__summary::-webkit-details-marker{ display:none; }
.hc-accordion__content{
  padding: 0 18px 18px;
}

.detail-grid{
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.detail-card{
  padding: 16px;
}
.detail-card h3{
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.detail-list{
  margin: 10px 0 0 18px;
  line-height: 1.8;
  color: var(--hc-muted);
}
.note{
  margin-top: 10px;
  color: var(--hc-muted);
}

/* CTA actions inside IOP card (your custom .btn primary/outline) */
.cta-actions .btn{
  min-height: 44px;
  padding: 12px 14px;
  border-radius: 999px;
  font-weight: 900;
}
.cta-actions .btn.primary{
  background: var(--hc-primary);
  border: 1px solid var(--hc-primary);
  color: #ffffff;
}
.cta-actions .btn.outline{
  background: transparent;
  border: 1px solid rgba(11,92,171,0.45);
  color: var(--hc-primary);
}
.cta-actions .btn.outline:hover{
  background: rgba(11,92,171,0.10);
}

/* Small screens */
@media (max-width: 640px){
  .services-grid{ gap: 14px; }
  .service-card{ padding: 16px; }

  .hc-accordion__summary{ padding: 14px 14px; }
  .hc-accordion__content{ padding: 0 14px 14px; }

  /* Buttons full width for touch */
  a.btn,
  button.btn,
  .btn,
  a.btn-contact,
  a.btn-green{
    width: 100%;
    justify-content: center;
  }

  /* Utility bar: reduce clutter */
  .utility-bar .utility-sep,
  .utility-bar .utility-item{
    display: none;
  }
  .utility-bar .utility-container{
    gap: 10px;
  }
}

/* =========================================================
   11) “White gap above footer” guard (sticky footer)
   - Applies safely without changing your footer markup.
   ========================================================= */
main{
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
footer.footer{
  margin-top: auto;
}

/* =========================================================
   12) Footer readability patch (dark footer → readable text)
   - Does not change footer layout, only typography colors.
   ========================================================= */
footer.footer{
  color: rgba(255,255,255,.88);
}
footer.footer h1,
footer.footer h2,
footer.footer h3,
footer.footer h4,
footer.footer h5,
footer.footer h6{
  color: #ffffff;
  font-family: var(--font-display);
}
footer.footer p,
footer.footer span,
footer.footer li,
footer.footer small{
  color: rgba(255,255,255,.86);
}
footer.footer a{
  color: rgba(255,255,255,.92);
  text-decoration: none;
}
footer.footer a:hover,
footer.footer a:focus-visible{
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
footer.footer i,
footer.footer .fa-solid,
footer.footer .fa-regular,
footer.footer .fa-brands{
  color: rgba(255,255,255,.88);
}
footer.footer .social-links a{
  color: #ffffff;
  opacity: .92;
}
footer.footer .social-links a:hover{
  opacity: 1;
}

/* =========================================================
   13) Insurance page helpers (optional; safe if present)
   Uses: .page-hero / .page-content / .insurance-grid
   ========================================================= */
.page-hero .container,
.page-content .container{
  max-width: 980px;
}
.page-hero{
  padding: 46px 0 22px;
}
.page-hero h1{
  margin: 0 0 10px 0;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.page-hero p{
  margin: 0;
  max-width: 72ch;
  line-height: 1.65;
}
.cta-row{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 18px;
}
.page-content{
  padding: 18px 0 70px;
}
.page-content h2{
  margin: 28px 0 10px 0;
  line-height: 1.2;
}
.page-content h3{
  margin: 18px 0 8px 0;
  line-height: 1.25;
}
.page-content p{
  line-height: 1.7;
  max-width: 75ch;
  margin: 10px 0;
}
.page-content ul{
  margin: 10px 0 16px 18px;
  padding: 0;
}
.page-content li{
  margin: 7px 0;
  line-height: 1.6;
}
.page-content a,
.page-hero a{
  text-decoration: underline;
  text-underline-offset: 3px;
}
.notice-box{
  border: 1px solid rgba(18, 42, 69, 0.18);
  border-left-width: 6px;
  border-radius: 14px;
  padding: 14px;
  margin: 16px 0;
  background: rgba(11, 92, 171, 0.04);
}
.notice-box p{ margin: 0; }
.info-card{
  border: 1px solid rgba(18, 42, 69, 0.14);
  border-radius: 16px;
  padding: 14px;
  margin: 12px 0;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
}
.info-card h3{ margin-top: 0; }
.insurance-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
  margin-top: 10px;
}
.small-note{
  font-size: 0.95rem;
  opacity: 0.9;
}
@media (max-width: 840px){
  .insurance-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 640px){
  .page-hero{ padding: 34px 0 18px; }
  .page-content{ padding: 14px 0 56px; }
  .cta-row{ gap: 10px; }
}
/* =========================================================
   FOOTER — FORCE HORIZONTAL LAYOUT (desktop)
   Paste at END of overrides.css
   ========================================================= */

.footer-health__grid{
  display: grid !important;
  grid-template-columns: 1.4fr 1fr 1fr 1fr; /* 4 columns */
  gap: 22px;
  align-items: flex-start;
}

/* Panels look like cards but stay horizontal */
.footer-health__panel{
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Keep the footer compact */
.footer.footer-health{
  padding: 56px 0 18px;
}

/* --- Bottom bar stays horizontal --- */
.footer-health__bottom{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

/* =========================================================
   Responsive behavior
   ========================================================= */

/* Tablet: 2 columns */
@media (max-width: 1100px){
  .footer-health__grid{
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile: stacked (vertical only on small screens) */
@media (max-width: 720px){
  .footer-health__grid{
    grid-template-columns: 1fr;
  }

  .footer-health__bottom{
    flex-direction: column;
    text-align: center;
  }
}

/* =========================================================
   FOOTER — FORCE HORIZONTAL LAYOUT (desktop) for footer-hc
   Applies ONLY if your footer HTML uses:
   <footer class="footer footer-hc"> and .footer-hc__grid
   ========================================================= */

/* Desktop: true horizontal 4 columns */
.footer.footer-hc .footer-hc__grid{
  display: grid !important;
  grid-template-columns: 1.6fr 0.95fr 1.05fr 0.9fr;
  gap: 20px;
  align-items: start;
}

/* Keep panels consistently sized */
.footer.footer-hc .footer-hc__panel,
.footer.footer-hc .footer-hc__brand{
  height: 100%;
}

/* Bottom bar stays horizontal */
.footer.footer-hc .footer-hc__bottom{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Tablet: 2 columns */
@media (max-width: 1100px){
  .footer.footer-hc .footer-hc__grid{
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile: stacked */
@media (max-width: 720px){
  .footer.footer-hc .footer-hc__grid{
    grid-template-columns: 1fr;
  }

  .footer.footer-hc .footer-hc__bottom{
    flex-direction: column;
    text-align: center;
  }
}
/* =========================================================
   FOOTER (Healthcare Professional) — footer.footer-hc
   Paste at END of /assets/css/overrides.css
   Requires your footer markup:
   <footer class="footer footer-hc">
     <div class="container">
       <div class="footer-hc__grid"> ... </div>
       <div class="footer-hc__bottom"> ... </div>
     </div>
   </footer>
   ========================================================= */

.footer.footer-hc{
  background:
    radial-gradient(1200px 520px at 12% 10%, rgba(32,178,170,.16), transparent 55%),
    radial-gradient(900px 460px at 88% 0%, rgba(11,92,171,.18), transparent 55%),
    linear-gradient(180deg, #06263b 0%, #041c2b 100%);
  color: rgba(255,255,255,.92);
  padding: 64px 0 18px;
  border-top: 1px solid rgba(255,255,255,.10);
}

/* Make footer full-width even if other .container rules exist */
.footer.footer-hc .container{
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Horizontal grid on desktop */
.footer-hc__grid{
  display: grid;
  grid-template-columns: minmax(340px, 1.35fr) minmax(220px, 1fr) minmax(240px, 1fr) minmax(220px, .95fr);
  gap: 18px;
  align-items: start;
}

/* Card/panel look (subtle, medical-grade) */
.footer-hc__brand,
.footer-hc__panel{
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  box-shadow: 0 18px 44px rgba(0,0,0,.18);
}

/* Headings */
.footer-hc__h{
  margin: 0 0 12px;
  color: #ffffff;
  font-family: var(--font-display, "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif);
  font-weight: 900;
  letter-spacing: -0.01em;
  font-size: 18px;
}

/* Brand/logo row (prevents big white box) */
.footer-hc__logo{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #ffffff;
  margin: 0 0 12px;
}

.footer-hc__logo-wrap{
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  box-shadow: 0 14px 34px rgba(0,0,0,.22);
}

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

.footer-hc__logo-text{
  display: grid;
  gap: 2px;
  line-height: 1.1;
}

.footer-hc__name{
  font-family: var(--font-display, "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif);
  font-weight: 950;
  letter-spacing: -0.02em;
  font-size: 18px;
}

.footer-hc__tagline{
  font-size: 13px;
  opacity: .85;
  font-weight: 800;
}

/* Body text */
.footer-hc__mission,
.footer-hc__small,
.footer-hc__hours p{
  margin: 0 0 12px;
  line-height: 1.75;
  color: rgba(255,255,255,.88);
}

/* Buttons */
.footer-hc__actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 10px 0 12px;
}

.footer-hc__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 850;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}

.footer-hc__btn-primary{
  background: linear-gradient(180deg, #0b5cab, #094a8e);
  color: #ffffff;
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 12px 30px rgba(0,0,0,.22);
}

.footer-hc__btn-primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(0,0,0,.28);
}

.footer-hc__btn-outline{
  background: rgba(255,255,255,.06);
  color: #ffffff;
  border-color: rgba(255,255,255,.22);
}

.footer-hc__btn-outline:hover{
  background: rgba(32,178,170,.14);
  border-color: rgba(32,178,170,.45);
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(0,0,0,.24);
}

/* Notice box */
.footer-hc__notice{
  margin-top: 12px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
}

.footer-hc__notice-title{
  margin: 0 0 6px;
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 900;
  color: #ffffff;
}

.footer-hc__notice-body{
  margin: 0;
  line-height: 1.65;
  color: rgba(255,255,255,.88);
}

/* Lists */
.footer-hc__list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-hc__list a{
  color: rgba(255,255,255,.88);
  text-decoration: none;
}

.footer-hc__list a:hover{
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Social link */
.footer-hc__social a{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.92);
  text-decoration: none;
  font-weight: 850;
  margin-top: 12px;
}

.footer-hc__social a:hover{
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Address */
.footer-hc__address{
  font-style: normal;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-hc__address p{
  margin: 0;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  line-height: 1.7;
}

.footer-hc__address i{
  margin-top: 3px;
  color: rgba(255,255,255,.88);
}

.footer-hc__address a{
  color: rgba(255,255,255,.92);
  text-decoration: none;
}

.footer-hc__address a:hover{
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Hours */
.footer-hc__hours span{
  color: rgba(255,255,255,.72);
  font-weight: 900;
}

/* Bottom bar (horizontal) */
.footer-hc__bottom{
  border-top: 1px solid rgba(255,255,255,.14);
  margin-top: 22px;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 14px;
  color: rgba(255,255,255,.72);
}

.footer-hc__bottom-links{
  margin: 0;
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.footer-hc__bottom-links a{
  color: rgba(255,255,255,.82);
  text-decoration: none;
}

.footer-hc__bottom-links a:hover{
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-hc__dot{ opacity: .65; }

/* Responsive: 2 columns then 1 column */
@media (max-width: 1100px){
  .footer-hc__grid{
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px){
  .footer.footer-hc{ padding: 56px 0 16px; }

  .footer-hc__grid{
    grid-template-columns: 1fr;
  }

  .footer-hc__btn{
    width: 100%;
  }

  .footer-hc__bottom{
    justify-content: center;
    text-align: center;
  }
}

/* ================================
   FOOTER — COMPACT (drop-in patch)
   Paste at END of overrides.css
================================== */

/* Reduce overall footer padding */
.footer.footer-hc{
  padding: 28px 0 14px !important;
}

/* Tighten grid spacing */
.footer-hc__grid{
  gap: 16px !important;
}

/* Reduce panel padding (if any) */
.footer-hc__panel,
.footer-hc__brand{
  padding: 0 !important;
}

/* Tighten typography spacing */
.footer-hc__h{
  margin: 0 0 8px !important;
}
.footer-hc__mission{
  margin: 10px 0 12px !important;
  line-height: 1.55 !important;
}

/* Keep brand block from becoming huge */
.footer-hc__brand{
  max-width: 520px;
}

/* Make footer buttons sit side-by-side and less tall */
.footer-hc__actions{
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin: 10px 0 10px !important;
}
.footer-hc__btn{
  padding: 9px 12px !important;
  min-height: 40px !important;
  border-radius: 999px !important;
}

/* Make the crisis box smaller */
.footer-hc__notice{
  margin-top: 10px !important;
  padding: 10px 12px !important;
  border-radius: 14px !important;
}
.footer-hc__notice-title{
  margin: 0 0 6px !important;
}
.footer-hc__notice-body{
  margin: 0 !important;
  line-height: 1.5 !important;
}

/* Tighten lists */
.footer-hc__list{
  margin: 0 !important;
  padding: 0 !important;
}
.footer-hc__list li{
  margin: 0 0 6px !important;
}

/* Tighten address rows */
.footer-hc__address p{
  margin: 0 0 8px !important;
}

/* Bring bottom bar closer */
.footer-hc__bottom{
  margin-top: 14px !important;
  padding-top: 12px !important;
}

/* Desktop: keep the footer looking compact */
@media (min-width: 980px){
  .footer-hc__grid{
    grid-template-columns: 1.35fr 1fr 1fr 1fr !important;
    align-items: start !important;
  }
}
/* ================================
   FOOTER — COMPACT (drop-in patch)
   Paste at END of overrides.css
================================== */

/* Reduce overall footer padding */
.footer.footer-hc{
  padding: 28px 0 14px !important;
}

/* Tighten grid spacing */
.footer-hc__grid{
  gap: 16px !important;
}

/* Reduce panel padding (if any) */
.footer-hc__panel,
.footer-hc__brand{
  padding: 0 !important;
}

/* Tighten typography spacing */
.footer-hc__h{
  margin: 0 0 8px !important;
}
.footer-hc__mission{
  margin: 10px 0 12px !important;
  line-height: 1.55 !important;
}

/* Keep brand block from becoming huge */
.footer-hc__brand{
  max-width: 520px;
}

/* Make footer buttons sit side-by-side and less tall */
.footer-hc__actions{
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin: 10px 0 10px !important;
}
.footer-hc__btn{
  padding: 9px 12px !important;
  min-height: 40px !important;
  border-radius: 999px !important;
}

/* Make the crisis box smaller */
.footer-hc__notice{
  margin-top: 10px !important;
  padding: 10px 12px !important;
  border-radius: 14px !important;
}
.footer-hc__notice-title{
  margin: 0 0 6px !important;
}
.footer-hc__notice-body{
  margin: 0 !important;
  line-height: 1.5 !important;
}

/* Tighten lists */
.footer-hc__list{
  margin: 0 !important;
  padding: 0 !important;
}
.footer-hc__list li{
  margin: 0 0 6px !important;
}

/* Tighten address rows */
.footer-hc__address p{
  margin: 0 0 8px !important;
}

/* Bring bottom bar closer */
.footer-hc__bottom{
  margin-top: 14px !important;
  padding-top: 12px !important;
}

/* Desktop: keep the footer looking compact */
@media (min-width: 980px){
  .footer-hc__grid{
    grid-template-columns: 1.35fr 1fr 1fr 1fr !important;
    align-items: start !important;
  }
}
/* =========================================================
   FOOTER — Hope Integrated Clinic (footer-hc)
   CLEAN + COMPACT + PROFESSIONAL
   - Use with: <footer class="footer footer-hc"> and .footer-hc__grid
   - Paste ONCE at end of overrides.css
   - Remove old .footer-health__* blocks and duplicate footer patches
   ========================================================= */

/* Base */
.footer.footer-hc{
  background:
    radial-gradient(1200px 520px at 12% 10%, rgba(32,178,170,.14), transparent 55%),
    radial-gradient(900px 460px at 88% 0%, rgba(11,92,171,.16), transparent 55%),
    linear-gradient(180deg, #06263b 0%, #041c2b 100%);
  color: rgba(255,255,255,.92);
  border-top: 1px solid rgba(255,255,255,.10);
  padding: 34px 0 14px; /* compact */
}

/* Container guard */
.footer.footer-hc .container{
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Desktop grid: horizontal */
.footer.footer-hc .footer-hc__grid{
  display: grid;
  grid-template-columns: minmax(320px, 1.25fr) 0.95fr 1.05fr 0.85fr;
  gap: 16px;
  align-items: start;
}

/* Panels: subtle medical-grade cards */
.footer.footer-hc .footer-hc__brand,
.footer.footer-hc .footer-hc__panel{
  padding: 14px;                 /* NOT 0; compact but still “finished” */
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.045);
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
}

/* Headings */
.footer.footer-hc .footer-hc__h{
  margin: 0 0 10px;
  color: #ffffff;
  font-family: var(--font-display, "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif);
  font-weight: 900;
  letter-spacing: -0.01em;
  font-size: 16px; /* compact */
}

/* Logo row */
.footer.footer-hc .footer-hc__logo{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #ffffff;
  margin: 0 0 10px;
}
.footer.footer-hc .footer-hc__logo-wrap{
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
}
.footer.footer-hc .footer-hc__logo-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.footer.footer-hc .footer-hc__name{
  font-family: var(--font-display, "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif);
  font-weight: 950;
  letter-spacing: -0.02em;
  font-size: 16px;
}
.footer.footer-hc .footer-hc__tagline{
  font-size: 12.5px;
  opacity: .85;
  font-weight: 800;
}

/* Text */
.footer.footer-hc .footer-hc__mission{
  margin: 0 0 10px;
  line-height: 1.55;
  color: rgba(255,255,255,.86);
}
.footer.footer-hc .footer-hc__small{
  margin-top: 10px;
  line-height: 1.55;
  color: rgba(255,255,255,.80);
  font-size: 13px;
}

/* Actions: compact buttons */
.footer.footer-hc .footer-hc__actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 10px 0 8px;
}
.footer.footer-hc .footer-hc__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 999px;
  font-weight: 850;
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
}
.footer.footer-hc .footer-hc__btn-primary{
  background: linear-gradient(180deg, #0b5cab, #094a8e);
  color: #ffffff;
  border-color: rgba(255,255,255,.12);
}
.footer.footer-hc .footer-hc__btn-outline{
  background: rgba(255,255,255,.06);
  color: #ffffff;
  border-color: rgba(255,255,255,.22);
}
.footer.footer-hc .footer-hc__btn-primary:hover,
.footer.footer-hc .footer-hc__btn-outline:hover{
  filter: brightness(1.05);
}

/* Notice: compact (still readable) */
.footer.footer-hc .footer-hc__notice{
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.055);
}
.footer.footer-hc .footer-hc__notice-title{
  margin: 0 0 6px;
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 900;
  color: #ffffff;
}
.footer.footer-hc .footer-hc__notice-body{
  margin: 0;
  line-height: 1.5;
  color: rgba(255,255,255,.86);
}

/* Lists */
.footer.footer-hc .footer-hc__list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.footer.footer-hc .footer-hc__list a{
  color: rgba(255,255,255,.86);
  text-decoration: none;
}
.footer.footer-hc .footer-hc__list a:hover{
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Social */
.footer.footer-hc .footer-hc__social a{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  color: rgba(255,255,255,.90);
  text-decoration: none;
  font-weight: 850;
}
.footer.footer-hc .footer-hc__social a:hover{
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Address */
.footer.footer-hc .footer-hc__address{
  font-style: normal;
  margin: 0;
  display: grid;
  gap: 8px;
}
.footer.footer-hc .footer-hc__address p{
  margin: 0;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  line-height: 1.55;
}
.footer.footer-hc .footer-hc__address a{
  color: rgba(255,255,255,.90);
  text-decoration: none;
}
.footer.footer-hc .footer-hc__address a:hover{
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Hours */
.footer.footer-hc .footer-hc__hours p{
  margin: 0 0 8px;
  color: rgba(255,255,255,.86);
  line-height: 1.55;
}
.footer.footer-hc .footer-hc__hours span{
  color: rgba(255,255,255,.72);
  font-weight: 900;
}

/* Bottom bar: closer + compact */
.footer.footer-hc .footer-hc__bottom{
  border-top: 1px solid rgba(255,255,255,.14);
  margin-top: 14px;
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: rgba(255,255,255,.72);
}
.footer.footer-hc .footer-hc__bottom-links{
  margin: 0;
  display: inline-flex;
  gap: 10px;
  align-items: center;
}
.footer.footer-hc .footer-hc__bottom-links a{
  color: rgba(255,255,255,.82);
  text-decoration: none;
}
.footer.footer-hc .footer-hc__bottom-links a:hover{
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Responsive */
@media (max-width: 1100px){
  .footer.footer-hc .footer-hc__grid{
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 720px){
  .footer.footer-hc{
    padding: 28px 0 14px;
  }
  .footer.footer-hc .footer-hc__grid{
    grid-template-columns: 1fr;
  }
  .footer.footer-hc .footer-hc__btn{
    width: 100%;
  }
  .footer.footer-hc .footer-hc__bottom{
    justify-content: center;
    text-align: center;
  }
}
/* =========================================================
   CONSOLIDATED OVERRIDES
   - Combined design tokens, global fixes, and optimized footer
   ========================================================= */

:root {
  /* Typography */
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;
  --fw-black: 900;

  /* Brand Colors */
  --hc-primary: #0b5cab;
  --hc-primary-2: #094a8e;
  --hc-text: #101828;
  --hc-muted: #475467;
  --hc-border: rgba(16, 24, 40, 0.12);
  --hc-surface: #ffffff;
  --hc-soft: rgba(11, 92, 171, 0.08);

  /* Footer Specific (Consolidated from patches) */
  --footer-bg: linear-gradient(180deg, #06263b 0%, #041c2b 100%);
  --footer-text: rgba(255, 255, 255, 0.86);
  --footer-heading: #ffffff;
  --footer-accent: rgba(32, 178, 170, 0.14);

  /* UI Tokens */
  --hc-radius: 18px;
  --hc-radius-sm: 14px;
  --hc-shadow: 0 14px 34px rgba(2, 8, 23, 0.06);
}

/* --- Global Overrides --- */
html, body {
  font-family: var(--font-sans);
  font-weight: var(--fw-regular);
  line-height: 1.6;
  color: var(--hc-text);
  background: var(--hc-surface);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--fw-extrabold);
  color: #0b2a45; /* Dark Navy for contrast */
  line-height: 1.2;
}

/* --- Consolidated Footer (Professional Refactor) --- */
.footer.footer-hc {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 40px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-hc__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 30px;
}

/* Panel styling - Modern Glassmorphism */
.footer-hc__brand,
.footer-hc__panel {
  padding: 20px;
  border-radius: var(--hc-radius);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease;
}

.footer-hc__brand:hover,
.footer-hc__panel:hover {
  background: rgba(255, 255, 255, 0.05);
}

.footer-hc__h {
  color: var(--footer-heading);
  font-size: 1.125rem;
  font-weight: var(--fw-bold);
  margin-bottom: 1rem;
}

/* Clean Address & Links */
.footer-hc__address, .footer-hc__list {
  font-style: normal;
  line-height: 1.7;
}

.footer-hc__list a {
  color: var(--footer-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-hc__list a:hover {
  color: var(--footer-heading);
  text-decoration: underline;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .footer.footer-hc {
    padding: 30px 15px 15px;
  }
  
  .footer-hc__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-hc__btn {
    width: 100%;
    justify-content: center;
  }
}
/* =========================================================
   FOOTER — WHITE / LIGHT (override)
   Paste at the VERY END of overrides.css
   Target: <footer class="footer footer-hc">
   ========================================================= */

.footer.footer-hc{
  background: #ffffff !important;
  color: #101828 !important;
  border-top: 1px solid rgba(16,24,40,.12) !important;
  padding: 28px 0 14px !important;
}

/* Make sure text inside becomes dark (not white) */
.footer.footer-hc .footer-hc__h{
  color: #0b2a45 !important;
}

.footer.footer-hc .footer-hc__mission,
.footer.footer-hc .footer-hc__small,
.footer.footer-hc .footer-hc__hours p,
.footer.footer-hc .footer-hc__address,
.footer.footer-hc .footer-hc__address p,
.footer.footer-hc .footer-hc__bottom{
  color: rgba(16,24,40,.86) !important;
}

/* Links: healthcare-blue */
.footer.footer-hc a{
  color: #0b5cab !important;
  text-decoration: none !important;
}
.footer.footer-hc a:hover{
  color: #094a8e !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

/* Panels become light cards (remove “glass” dark look) */
.footer.footer-hc .footer-hc__brand,
.footer.footer-hc .footer-hc__panel{
  background: #ffffff !important;
  border: 1px solid rgba(16,24,40,.12) !important;
  box-shadow: 0 14px 34px rgba(2,8,23,.06) !important;
  padding: 14px !important;
  border-radius: 16px !important;
}

/* Icons should be dark as well */
.footer.footer-hc i,
.footer.footer-hc .fa-solid,
.footer.footer-hc .fa-regular,
.footer.footer-hc .fa-brands{
  color: rgba(16,24,40,.72) !important;
}

/* Buttons in footer: match your site primary */
.footer.footer-hc .footer-hc__btn-primary{
  background: #0b5cab !important;
  border-color: #0b5cab !important;
  color: #ffffff !important;
}
.footer.footer-hc .footer-hc__btn-outline{
  background: transparent !important;
  border-color: rgba(11,92,171,.45) !important;
  color: #0b5cab !important;
}

/* Crisis/notice becomes soft warning on white */
.footer.footer-hc .footer-hc__notice{
  background: rgba(245, 158, 11, 0.10) !important; /* soft amber */
  border: 1px solid rgba(245, 158, 11, 0.25) !important;
}
.footer.footer-hc .footer-hc__notice-title{
  color: #7a4a00 !important;
}
.footer.footer-hc .footer-hc__notice-body{
  color: rgba(16,24,40,.86) !important;
}

/* Bottom bar: light divider */
.footer.footer-hc .footer-hc__bottom{
  border-top: 1px solid rgba(16,24,40,.10) !important;
  margin-top: 14px !important;
  padding-top: 10px !important;
}

/* Responsive spacing */
@media (max-width: 720px){
  .footer.footer-hc{
    padding: 22px 0 12px !important;
  }
}
/* =========================================================
   FOOTER — KEEP ORIGINAL DARK COLOR (COMPACT + CLEAN)
   - Does NOT change footer background color
   - Only tightens spacing and improves readability
   ========================================================= */
footer.footer{
  /* keep existing theme color from your CSS files */
  background: unset !important; /* uses whatever style.css/overrides.css sets */
  color: inherit;
  padding: 34px 0 16px !important; /* compact */
  margin-top: 0 !important;
}

/* Grid layout (compact) */
footer.footer .footer-content{
  display: grid !important;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 18px !important;
  align-items: start;
  margin: 0 !important;
}

/* Section spacing */
footer.footer .footer-section{
  padding: 0 !important;
  margin: 0 !important;
}

/* Headings */
footer.footer h3,
footer.footer h4{
  margin: 0 0 10px !important;
  font-weight: 900 !important;
  letter-spacing: -0.01em;
}

/* Paragraphs + list spacing */
footer.footer p{
  margin: 0 0 10px !important;
  line-height: 1.55 !important;
}

/* Lists tighter */
footer.footer ul{
  margin: 0 !important;
  padding-left: 18px;
}
footer.footer li{
  margin: 0 0 8px !important;
}

/* Logo sizing (compact) */
footer.footer .footer-logo{ margin: 0 0 12px !important; }
footer.footer .logo-image{
  width: 56px !important;
  height: 56px !important;
  border-radius: 16px !important;
  overflow: hidden;
}

/* Social icons compact, but keep your existing colors */
footer.footer .social-links{ margin-top: 12px !important; }
footer.footer .social-links a{
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

/* Bottom bar (compact) */
footer.footer .footer-bottom{
  margin-top: 14px !important;
  padding-top: 10px !important;
}

/* Responsive */
@media (max-width: 1100px){
  footer.footer .footer-content{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px){
  footer.footer{ padding: 28px 0 14px !important; }
  footer.footer .footer-content{ grid-template-columns: 1fr; }
}
/* =========================================================
   FOOTER BUTTON COLOR — match utility bar blue
   ========================================================= */

:root{
  --hc-footer-btn: #0C5398;        /* exact blue from screenshot */
  --hc-footer-btn-hover: #0A467F;  /* darker hover */
  --hc-footer-btn-ring: rgba(12, 83, 152, 0.35);
}

/* Any button inside the footer */
.footer .btn,
.footer a.btn{
  background: var(--hc-footer-btn) !important;
  border-color: var(--hc-footer-btn) !important;
  color: #ffffff !important;
}

/* Hover */
.footer .btn:hover,
.footer a.btn:hover{
  background: var(--hc-footer-btn-hover) !important;
  border-color: var(--hc-footer-btn-hover) !important;
  color: #ffffff !important;
}

/* Outline buttons in footer */
.footer .btn.btn-outline{
  background: transparent !important;
  color: var(--hc-footer-btn) !important;
  border-color: rgba(12, 83, 152, 0.65) !important;
}

.footer .btn.btn-outline:hover{
  background: rgba(12, 83, 152, 0.12) !important;
  border-color: rgba(12, 83, 152, 0.85) !important;
}

/* Focus (keyboard accessibility) */
.footer .btn:focus-visible,
.footer a.btn:focus-visible{
  outline: 3px solid var(--hc-footer-btn-ring) !important;
  outline-offset: 2px !important;
}

/* =========================================================
   FOOTER — PROFESSIONAL DARK BLUE THEME
   ========================================================= */

.footer {
  background: linear-gradient(180deg, #06263b 0%, #041c2b 100%);
  color: #ffffff;
}

/* Make sure all footer text stays readable */
.footer h3,
.footer h4,
.footer p,
.footer a {
  color: #ffffff;
}

/* Muted text */
.footer p,
.footer li {
  color: rgba(255,255,255,0.88);
}


/* =========================================================
   FOOTER BUTTON STYLE
   ========================================================= */

.footer .btn,
.footer .btn-outline,
.footer .btn-green {
  background: linear-gradient(180deg, #0b5cab 0%, #094a8e 100%);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 12px;
  font-weight: 600;
  padding: 10px 16px;
  transition: all .2s ease;
}

.footer .btn:hover,
.footer .btn-outline:hover,
.footer .btn-green:hover {
  background: linear-gradient(180deg, #0d66c2 0%, #0b5cab 100%);
  color: #ffffff;
  transform: translateY(-1px);
}


/* =========================================================
   FOOTER SOCIAL ICONS
   ========================================================= */

.footer .social-links a {
  background: rgba(255,255,255,0.12);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 12px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
}

.footer .social-links a:hover {
  background: #0b5cab;
  border-color: #0b5cab;
}
/* =========================================================
   FORCE FOOTER BACKGROUND COLOR
   ========================================================= */

.footer {
  background: linear-gradient(180deg, #06263b 0%, #041c2b 100%) !important;
  color: #ffffff;
}

/* Ensure all text stays readable */
.footer h3,
.footer h4,
.footer p,
.footer a,
.footer span {
  color: #ffffff;
}

/* Slightly muted body text */
.footer p,
.footer li {
  color: rgba(255, 255, 255, 0.88);
}
/* =========================================================
   CONSOLIDATED PROFESSIONAL FOOTER (Hope Integrated)
   - Replaces all previous duplicate footer/hc-footer blocks
   ========================================================= */

.footer.footer-hc {
  background: linear-gradient(180deg, #06263b 0%, #041c2b 100%);
  color: rgba(255, 255, 255, 0.9);
  padding: 48px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Horizontal Grid for Desktop */
.footer-hc__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 30px;
}

/* Panel/Card Styling */
.footer-hc__brand,
.footer-hc__panel {
  padding: 20px;
  border-radius: var(--hc-radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

/* Typography Consistency */
.footer.footer-hc h3, 
.footer.footer-hc h4, 
.footer.footer-hc .footer-hc__h {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Footer Buttons - Matching Utility Blue */
.footer .btn,
.footer .footer-hc__btn-primary {
  background: #0b5cab;
  border: 1px solid rgba(255,255,255,0.2);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 600;
}

.footer .btn:hover {
  background: #0d66c2;
  transform: translateY(-1px);
}

/* Responsive: 2 columns on tablets, 1 on mobile */
@media (max-width: 1024px) {
  .footer-hc__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .footer-hc__grid { grid-template-columns: 1fr; }
  .footer.footer-hc { padding: 32px 15px; }
}
/* =========================================================
   FINAL CONSOLIDATED FOOTER - HOPE INTEGRATED CLINIC
   - Replaces all redundant/conflicting footer patches.
   - Professional Dark Navy Medical Theme.
   ========================================================= */

/* 1. Base Footer Styling */
.footer.footer-hc {
  background: linear-gradient(180deg, #06263b 0%, #041c2b 100%);
  color: rgba(255, 255, 255, 0.9);
  padding: 48px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-sans);
}

/* 2. Horizontal Grid (Desktop) */
.footer-hc__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
  align-items: start;
}

/* 3. Panel & Card UI (Subtle Glassmorphism) */
.footer-hc__brand,
.footer-hc__panel {
  padding: 20px;
  border-radius: var(--hc-radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, background 0.2s ease;
}

.footer-hc__brand:hover,
.footer-hc__panel:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

/* 4. Headings & Typography */
.footer.footer-hc h3, 
.footer.footer-hc h4, 
.footer-hc__h {
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

/* 5. Clean Links & Lists */
.footer-hc__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-hc__list li {
  margin-bottom: 10px;
}

.footer-hc__list a, 
.footer-hc__address a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-hc__list a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* 6. Footer Buttons (Utility Blue) */
.footer .btn,
.footer-hc__btn-primary {
  background: #0b5cab;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.footer .btn:hover {
  background: #0d66c2;
  box-shadow: 0 5px 15px rgba(11, 92, 171, 0.4);
}

/* 7. Bottom Bar Accessibility */
.footer-hc__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* 8. Responsive Breakpoints */
@media (max-width: 1024px) {
  .footer-hc__grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .footer-hc__grid {
    grid-template-columns: 1fr;
  }
  .footer.footer-hc {
    padding: 40px 15px 20px;
  }
  .footer-hc__bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}
/* =========================================================
   PROFESSIONAL FOOTER REFACTOR (Hope Integrated Clinic)
   - Removes white background and adds medical-grade styling
   ========================================================= */

.footer.footer-hc {
  background: #06263b; /* Deep Navy Medical Theme */
  color: #ffffff;
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Grid Layout for Desktop */
.footer-hc__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1fr; /* Proportional columns */
  gap: 40px;
  margin-bottom: 40px;
}

/* Professional Card Panels */
.footer-hc__brand,
.footer-hc__panel {
  background: rgba(255, 255, 255, 0.03); /* Subtle glass effect */
  border-radius: 12px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Typography Enhancements */
.footer-hc__h {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Clean Link Styling */
.footer-hc__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-hc__list li {
  margin-bottom: 12px;
}

.footer-hc__list a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-hc__list a:hover {
  color: #3498db; /* Professional accent blue */
  padding-left: 5px;
}

/* Contact Info Styling */
.footer-hc__address p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin-bottom: 10px;
}

/* Social Icon Improvements */
.footer-hc__social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.footer-hc__social-links a {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background 0.3s;
}

.footer-hc__social-links a:hover {
  background: #0b5cab; /* Your brand primary blue */
}

/* Bottom Bar */
.footer-hc__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}
/* =========================================================
   PROFESSIONAL DARK CLINICAL FOOTER
   - Replaces all conflicting themes with a deep navy finish
   ========================================================= */

.footer.footer-hc {
  background: linear-gradient(180deg, #041c2b 0%, #020f17 100%) !important;
  color: #ffffff !important;
  padding: 60px 0 30px !important;
  border-top: 2px solid #0b5cab !important; /* Brand blue accent top border */
}

/* Force dark theme for all internal elements */
.footer.footer-hc .footer-hc__h,
.footer.footer-hc h3,
.footer.footer-hc h4 {
  color: #ffffff !important;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

/* Panel Styling: "Glassmorphism" effect on dark background */
.footer.footer-hc .footer-hc__brand,
.footer.footer-hc .footer-hc__panel {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 20px;
  padding: 24px !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
  transition: all 0.3s ease;
}

.footer.footer-hc .footer-hc__brand:hover,
.footer.footer-hc .footer-hc__panel:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Links: Soft glow on hover */
.footer.footer-hc a {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.footer.footer-hc a:hover {
  color: #ffffff !important;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

/* Crisis Notice: High-contrast professional alert */
.footer.footer-hc .footer-hc__notice {
  background: rgba(11, 92, 171, 0.15) !important;
  border: 1px solid rgba(11, 92, 171, 0.4) !important;
  border-left: 4px solid #0b5cab !important;
  padding: 16px;
}

/* Bottom Copyright Bar */
.footer.footer-hc .footer-hc__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  margin-top: 40px !important;
  padding-top: 20px !important;
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 13px;
}
/* =========================================================
   FINAL PROFESSIONAL FOOTER REFACTOR
   - Eliminates white background and redundant patches
   - High-end Clinical Dark Theme
   ========================================================= */

/* 1. Reset & Base Background */
.footer, 
.footer.footer-hc {
  background: linear-gradient(180deg, #06263b 0%, #020f17 100%) !important;
  color: #ffffff !important;
  padding: 60px 0 30px !important;
  border-top: 3px solid #0b5cab !important; /* Hope Clinic Blue accent */
}

/* 2. Grid & Panel Layout */
.footer-hc__grid {
  display: grid !important;
  grid-template-columns: 1.5fr 1fr 1.2fr 1fr !important;
  gap: 30px !important;
  margin-bottom: 40px !important;
}

/* Professional Glass Panels */
.footer-hc__brand,
.footer-hc__panel {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 20px !important;
  padding: 24px !important;
  transition: all 0.3s ease !important;
}

.footer-hc__brand:hover,
.footer-hc__panel:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  transform: translateY(-3px);
}

/* 3. Typography (Force White) */
.footer-hc__h, 
.footer h3, 
.footer h4 {
  color: #ffffff !important;
  font-family: var(--font-display) !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1.1rem;
}

.footer p, 
.footer li, 
.footer-hc__address {
  color: rgba(255, 255, 255, 0.85) !important;
  line-height: 1.7;
}

/* 4. Interactive Links */
.footer a {
  color: rgba(255, 255, 255, 0.75) !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.footer a:hover {
  color: #ffffff !important;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* 5. Professional Buttons */
.footer .btn,
.footer-hc__btn-primary {
  background: #0b5cab !important;
  border: none !important;
  color: #ffffff !important;
  padding: 12px 24px !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

.footer .btn:hover {
  background: #0d66c2 !important;
  box-shadow: 0 6px 20px rgba(11, 92, 171, 0.4) !important;
}

/* 6. Mobile Optimization */
@media (max-width: 1024px) {
  .footer-hc__grid { grid-template-columns: 1fr 1fr !important; }
}

@media (max-width: 768px) {
  .footer-hc__grid { grid-template-columns: 1fr !important; }
  .footer { padding: 40px 20px !important; }
  .footer-hc__bottom { 
    flex-direction: column; 
    text-align: center; 
    gap: 15px; 
  }
}