/* =========================================================
   THEME + GLOBALS
   ========================================================= */

/* =========================================================
   FILE MAP (quick edit guide)
   1) Theme + Globals (:root, typography, utilities)
   2) Navbar + Buttons
   3) Hero (carousel, overlays, CTAs)
   4) Services (cards, grid, backgrounds)
   5) Partners (organizations section + form)
   6) About + Contact
   7) Footer
   8) Overlays / Modals (service details, telehealth)
   ========================================================= */

:root{
  --g-900:#0b3d2e;
  --g-800:#0f5a40;
  --g-700:#147a55;
  --g-600:#17a36c;
  --g-100:#d7f3e5;

  --brand:#00bf02;
  --brand-dark:#00a802;

  --text:#0b1220;
  --muted:#5b6472;

  --radius: 18px;
  --shadow: 0 14px 40px rgba(11, 61, 46, .10);

  /* ScrollSpy / anchor offset (fallback; JS will set real navbar height) */
  --spy-offset: 92px;

  /* Hero height single source of truth */
  --hero-h: 88vh;
}

@supports (height: 88svh){
  :root{ --hero-h: 88svh; }
}
@supports (height: 88dvh){
  :root{ --hero-h: 88dvh; }
}

html { scroll-behavior: smooth; }
body{
  font-family: 'Nunito', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
}

section { scroll-margin-top: var(--spy-offset); padding: 84px 0; }
#home{ scroll-margin-top: var(--spy-offset); }

/* Skip link */
.skip-link{
  position: absolute;
  left: 12px;
  top: 10px;
  padding: 10px 14px;
  background: #fff;
  border: 2px solid rgba(20,122,85,.20);
  border-radius: 12px;
  z-index: 3000;
  transform: translateY(-140%);
  transition: transform .2s ease;
  text-decoration: none;
  color: #223;
  font-weight: 800;
}
.skip-link:focus{
  transform: translateY(0);
}

/* FOCUS STATES */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible{
  outline: 3px solid rgba(23,163,108,.35);
  outline-offset: 3px;
  border-radius: 12px;
}
/* ===============================
   WELLNESS MESSAGE SECTION
   =============================== */
.wellness-message{
  padding: 96px 0;
  background: transparent;
}

.wellness-text{
   font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 700;        /* 600–800 works; 700 is a nice fat read */
  letter-spacing: .01em;   /* optional: helps readability when bold */
  font-size: clamp(1.2rem, 1.3vw, 1.5rem);
  line-height: 1.85;
  color: #000000;
  margin-bottom: 1.25rem;
  text-align: justify;
}

/* RIGHT SIDE QUOTE */
.wellness-quote{
  position: relative;
  padding: 48px 40px;
  border-left: 4px solid var(--g-700);
}

.wellness-quote p{
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 900;
  line-height: 1.3;
  color: var(--g-900);
  margin: 0;
}

.wellness-quote strong{
  color: rgb(45, 201, 58);
  text-shadow: 0 1px 4px rgba(229, 255, 0, 0.774);
}

/* Mobile stacking */
@media (max-width: 767px){
  .wellness-quote{
    border-left: none;
    border-top: 4px solid var(--g-700);
    padding: 32px 24px;
    margin-top: 20px;
    text-align: center;
  }

  .quote-mark{
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Shared helpers */
.section-title{
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  margin-bottom: .65rem;
  line-height: 1.08;
}
.section-sub{
  color: var(--muted);
  max-width: 760px;
  font-size: clamp(1.02rem, 1.2vw, 1.12rem);
}
.section-kicker{
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: var(--g-800);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 14px;
}
.section-kicker::after{
  content:"";
  width: 64px;
  height: 2px;
  background: rgba(20,122,85,.35);
  display: inline-block;
  border-radius: 999px;
}
.section-headline{
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: clamp(2rem, 3.2vw, 3.1rem);
  margin-bottom: .75rem;
  color: #0b1220;
}
.section-desc{
  color: black;
  max-width: 860px;
  line-height: 1.7;
  margin-bottom: 0;
}

.bg-tint{ background: var(--g-100); }

.card-soft{
  border: 1px solid rgba(20,122,85,.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card-soft.bg-white{
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 20px;
  box-shadow:
    0 14px 46px rgba(0,0,0,.10),
    inset 0 0 0 1px rgba(255,255,255,.6);
}

.icon-pill{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-grid;
  place-items: center;
  background: var(--g-100);
  border: 1px solid rgba(20,122,85,.14);
  color: var(--g-800);
  font-size: 1.2rem;
}

/* Brand button */
.btn-brand{
  background: var(--brand);
  border: 2px solid var(--brand);
  color: #fff !important;
  font-weight: 900;
  box-shadow: 0 10px 26px rgba(0,0,0,.20);
}
.btn-brand:hover{
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color:#fff !important;
}

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar{
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(20,122,85,.12);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.navbar-brand img{ height: 80px; width: auto; }

#mainNav .nav-link{
  font-size: 1.15rem;
  font-weight: 900;
  color: #223;
  padding: .6rem .9rem;
  line-height: 1.1;
}
#mainNav .nav-link:hover{ color: var(--g-700); }
#mainNav .nav-link.active{ color: var(--g-700) !important; }

@media (min-width: 992px){
  #mainNav .nav-link{
    font-size: 1.25rem;
    padding: .75rem 1rem;
  }
  #mainNav .navbar-nav{ align-items: center; }
}
@media (max-width: 991.98px){
  #mainNav .nav-cta{ display: none !important; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero{
  position: relative;
  min-height: var(--hero-h);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero .carousel,
.hero .carousel-inner,
.hero .carousel-item,
.hero-slide{
  height: var(--hero-h);
}

.hero-slide{
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1);
  transition: transform 8000ms ease;
}
.carousel-item.active .hero-slide{ transform: scale(1.08); }

/* EXTRA-VISIBLE gradient */
.hero::before{
  content:"";
  position:absolute;
  inset: 0 0 auto 0;
  height: 58%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(45, 120, 60, 0.98) 0%,
    rgba(65, 150, 95, 0.94) 18%,
    rgba(110, 150, 130, 0.80) 40%,
    rgba(190, 140, 155, 0.60) 58%,
    rgba(235, 185, 130, 0.35) 72%,
    rgba(255, 240, 210, 0.00) 100%
  );
}

.hero-content{
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  text-align: center;
}

.hero-wecare-img{
  display:block;
  width: min(92%, 560px);
  height: auto;
  margin: 0 auto 1.25rem;
  filter: drop-shadow(0 14px 28px rgba(0,0,0,.45));
}
.hero-wecare-wrap{ margin-top: clamp(2.25rem, 7vh, 5.5rem); }
@media (max-width: 575px){
  .hero-wecare-img{ width: min(94%, 420px); }
  .hero-wecare-wrap{ margin-top: 3.75rem; }
}

.hero h1{
  font-size: clamp(2rem, 4.5vw, 2.5rem);
  line-height: 1.25;
  color: #fff;

  font-weight: 600; /* was 900 */

  letter-spacing: 0.01em; /* adds medical / modern feel */

  text-shadow:
    0 2px 6px rgba(0,0,0,.45),
    0 10px 26px rgba(0,0,0,.35);
}
/* ===== HERO TRUST PILLS (FIXED + RESPONSIVE) ===== */
.hero-meta{
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
  max-width: 560px;
  margin: 6px auto 0;
  padding: 0 12px;
}


@media (max-width: 520px){
  .hero-meta{ grid-template-columns: 1fr; }
}


.hero-meta .hero-pill{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  min-height: 40px;      /* was 46px */
  padding: 6px 8px;     /* was 10px 14px */
  line-height: 1.05;     /* slightly tighter */

  border-radius: 999px;
  color: white;
  font-weight: 600;
  line-height: 1.1;
  text-align: center;

  white-space: normal !important;  /* CRITICAL: allows wrapping */
  word-break: break-word;

  text-shadow:
    0 4px 8px rgb(0, 0, 0),
    0 10px 26px rgb(0, 0, 0);
  
}


@media (max-width: 520px){
  .hero-meta{
    gap: 6px;            /* keep tight */
    margin-top: 4px;
  }
}

/* HERO buttons (explicit) */
.btn-hero,
.btn-hero-outline{
  font-family: 'Montserrat', Arial, Helvetica, sans-serif !important;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 800;
  padding: 0.9rem 2.2rem;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 6px rgba(0,0,0,.45);
  box-shadow:
  0 10px 26px rgba(0,0,0,.35),
  inset 0 0 0 1px rgba(255,255,255,.25);
  background: var(--brand) !important;
  border-color: var(--brand) !important;
  color: #fff !important;
}

.btn-hero{
  background: var(--brand);
  border: 2px solid var(--brand);
  color: #ffffff;
}
.btn-hero:hover{
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #ffffff;
}

.btn-hero-outline{
  background: rgba(255,255,255,.14);
  border: 2px solid rgba(255,255,255,.70);
  color: #ffffff;
}
.btn-hero-outline:hover{
  background: rgba(255,255,255,.20);
  border-color: rgba(255,255,255,.90);
  color: #ffffff;
}


.call-now-btn{
  background: var(--brand);
  color: #ffffff !important;
  font-weight: 900;
  border-radius: 999px;
  padding: 0.5rem 1.25rem;
  margin-bottom: 1.75rem;
  margin-top: 1rem;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 8px 20px rgba(0, 191, 2, 0.35);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.call-now-btn:hover{
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(0, 191, 2, 0.45);
}

/* =========================================================
   SERVICES — background image + TOP WHITE + BOTTOM BLUE
   ========================================================= */
#services{
  position: relative;
  overflow: hidden;
}
#services::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;

  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 19px,
      rgba(75, 85, 99, 0.08) 19px,
      rgba(75, 85, 99, 0.08) 20px,
      transparent 20px,
      transparent 39px,
      rgba(75, 85, 99, 0.08) 39px,
      rgba(75, 85, 99, 0.08) 40px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 19px,
      rgba(75, 85, 99, 0.08) 19px,
      rgba(75, 85, 99, 0.08) 20px,
      transparent 20px,
      transparent 39px,
      rgba(75, 85, 99, 0.08) 39px,
      rgba(75, 85, 99, 0.08) 40px
    ),
    radial-gradient(circle at 20px 20px, rgba(55, 65, 81, 0.12) 2px, transparent 2px),
    radial-gradient(circle at 40px 40px, rgba(55, 65, 81, 0.12) 2px, transparent 2px);

  background-size: 40px 40px, 40px 40px, 40px 40px, 40px 40px;
  background-color: #ffffff;
}

#services::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:1;
  background:
    linear-gradient(
      to bottom,
      rgba(255,255,255,.95) 0%,
      rgba(255,255,255,.80) 20%,
      rgba(255,255,255,0) 30%
    ),
    linear-gradient(
      to top,
      rgba(21, 98, 170, 0.65) 0%,
      rgba(15, 72, 126, 0.45) 22%,
      rgba(11, 55, 95, 0.25) 42%,
      rgba(25, 120, 210, 0) 70%
    );
}
#services > .container{
  position: relative;
  z-index: 2;
}

.service-link{ text-decoration: none; color: inherit; display: block; }
.service-card{
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(20,122,85,.12);
  box-shadow: 0 18px 40px rgba(0,0,0,.06);
  transition: transform .25s ease, box-shadow .25s ease;
  height: 100%;
}
.service-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(0,0,0,.10);
}

.service-media{
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  height: clamp(240px, 32vw, 420px);
}
.service-media::before{
  content:"";
  position:absolute;
  inset: 16px;
  border: 2px solid rgba(255,255,255,.85);
  border-radius: 12px;
  z-index: 2;
  pointer-events:none;
}
.service-media::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(20,122,85,.00) 45%, rgba(11,61,46,.35) 100%);
  pointer-events:none;
  z-index: 1;
}
.service-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform .6s ease;
  display: block;
}
.service-card:hover .service-media img{ transform: scale(1.08); }

.service-label{
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(20, 82, 140, 0.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
}
.service-label .service-icon{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  font-size: 1.35rem;
  line-height: 1;
}
.service-label .service-text{
  font-weight: 900;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  letter-spacing: .02em;
  margin: 0;
}
@media (max-width: 575px){
  .service-label{
    left: 16px;
    bottom: 16px;
    padding: 12px 14px;
    gap: 10px;
  }
  .service-label .service-icon{
    width: 38px;
    height: 38px;
    font-size: 1.15rem;
  }
  .service-media{ height: clamp(190px, 52vw, 280px); }
}

/* =========================================================
   PARTNERS
   ========================================================= */
#partners.contact-bg{ position: relative; }
.contact-bg{
  position: relative;
  background-image: url("../img/partner.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 96px 0;
  overflow: hidden;
}
#partners.contact-bg::before{
  content:"";
  position:absolute;
  inset:0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(215,243,231,.85) 0%,
    rgba(215,243,231,.60) 25%,
    rgba(215,243,231,.30) 45%,
    rgba(215,243,231,.10) 65%,
    rgba(215,243,231,0) 85%
  );
  pointer-events: none;
}
#partners.contact-bg > .container{
  position: relative;
  z-index: 2;
}
#partners .section-headline{
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  font-weight: 900;
  line-height: 1.15;
}
#partnersForm .form-label{
  font-size: 1.05rem;
  font-weight: 700;
}
#partnersForm .form-control-lg,
#partnersForm .form-select-lg{
  font-size: 1.05rem;
  padding: 0.9rem 1.1rem;
}
#partnersForm .form-text{ font-size: 0.9rem; }
.partners-notice{ font-size: 0.95rem; }
.partners-step-title{
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}
.partners-step-sub{ font-size: 1.05rem; }
.partners-actions .btn{
  font-size: 1rem;
  font-weight: 800;
}
.org-consultation-label{
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: none;
  color: var(--g-800);
  margin-bottom: 8px;
  display: inline-flex;
  align-items:center;
  gap: 10px;
}
.partners-progress-wrap{ width: min(320px, 100%); }
.partners-progress{
  height: 10px;
  background: rgba(20,122,85,.12);
  border-radius: 999px;
  overflow: hidden;
}
.partners-progress-bar{
  height: 100%;
  background: var(--g-700);
  border-radius: 999px;
  transition: width .25s ease;
}
.partners-steps{
  display:flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 10px;
}
.partners-step-pill{
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  font-weight: 900;
  font-size: .9rem;
  border: 1px solid rgba(20,122,85,.18);
  color: #223;
  background: #fff;
  opacity: .55;
}
.partners-step-pill.is-active{
  opacity: 1;
  background: var(--g-700);
  color: #fff;
  border-color: var(--g-700);
}
.partners-step-pill.is-done{
  opacity: 1;
  background: var(--g-100);
  color: var(--g-800);
  border-color: rgba(20,122,85,.22);
}
.partners-notice{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  border: 1px solid rgba(20,122,85,.14);
  background: var(--g-100);
  border-radius: var(--radius);
  padding: 14px;
}
.partners-notice i{
  color: var(--g-800);
  font-size: 1.2rem;
  margin-top: 2px;
}
.partners-checkgrid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 6px;
  border-radius: 16px;
}
@media (max-width: 575px){ .partners-checkgrid{ grid-template-columns: 1fr; } }
.partners-check{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(20,122,85,.14);
  background: #fff;
  cursor: pointer;
}
.partners-check input{ margin-top: 4px; accent-color: var(--g-700); }
.partners-radio-row{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 991px){ .partners-radio-row{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.partners-radio{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(20,122,85,.14);
  background: #fff;
  cursor:pointer;
}
.partners-radio input{ accent-color: var(--g-700); }
.partners-radio i{ color: var(--g-800); }
.partners-note{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(20,122,85,.14);
  background: var(--g-100);
}
.partners-note i{ color: var(--g-800); margin-top: 2px; }
.partners-summary{
  border: 1px solid rgba(20,122,85,.14);
  background: #fff;
  border-radius: var(--radius);
  padding: 16px;
}
.partners-summary .summary-title{ font-weight: 900; margin-bottom: 10px; }
.partners-summary .summary-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 575px){ .partners-summary .summary-grid{ grid-template-columns: 1fr; } }
.partners-summary .summary-item{
  border: 1px solid rgba(20,122,85,.12);
  border-radius: 14px;
  padding: 10px 12px;
  background: var(--g-100);
}
.partners-summary .summary-label{
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--g-800);
  opacity: .9;
}
.partners-summary .summary-value{
  font-weight: 800;
  color: #223;
  margin-top: 4px;
}
.partners-consent{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(20,122,85,.14);
  background: var(--g-100);
  cursor: pointer;
}
.partners-consent input{ margin-top: 4px; accent-color: var(--g-700); }
.partners-error{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  border: 1px solid rgba(220,53,69,.25);
  background: rgba(220,53,69,.06);
  border-radius: var(--radius);
  padding: 14px;
}
.partners-error i{ color: #dc3545; margin-top: 2px; font-size: 1.2rem; }
#partnersForm .is-invalid{
  border-color: rgba(220,53,69,.55) !important;
  box-shadow: 0 0 0 .2rem rgba(220,53,69,.10) !important;
}
.is-invalid-group{
  outline: 3px solid rgba(220,53,69,.25);
  outline-offset: 2px;
  background: rgba(220,53,69,.03);
  border-radius: 16px;
  padding: 8px;
}
.partners-actions__row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.partners-actions__contact{
  display: block;
  width: 100%;
  margin-top: 12px;
}
@media (max-width: 400px){
  .partners-actions__row > .btn{
    flex: 1 1 0;
    min-width: 0;
  }
}
/* PARTNERS: make video + text SAME HEIGHT on desktop */
:root{
  --partners-top-h: clamp(360px, 34vw, 520px);
}

.partners-top{ align-items: stretch; }

.partners-media{
  height: var(--partners-top-h);
  border-radius: 28px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 30px 60px rgba(0,0,0,.10);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
}

.partners-video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Text block matches same height as video */
.partners-hero{
  height: var(--partners-top-h);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Mobile: allow natural stacking heights */
@media (max-width: 991.98px){
  :root{ --partners-top-h: auto; }
  .partners-media{ height: auto; }
  .partners-video{ height: clamp(220px, 56vw, 360px); }
  .partners-hero{ height: auto; }
}

/* Optional: give form a little separation */
.partners-form-card{
  max-width: 1050px;
  margin-inline: auto;
}

/* =========================================================
   ABOUT
   ========================================================= */
.about-illustration{
  display: inline-block;
  padding: 24px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 30px 60px rgba(0,0,0,.08);
}
.about-illustration img{
  max-width: 100%;
  height: auto;
}
.about-label{
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 900;
  letter-spacing: 0.22em;
  color: var(--g-800);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 14px;
}
.about-label::after{
  content:"";
  width: 64px;
  height: 2px;
  background: rgba(20,122,85,.35);
  display: inline-block;
  border-radius: 999px;
}
.about-title{
  font-weight: 900;
  letter-spacing: -0.03em;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  margin-bottom: 1rem;
  line-height: 1.06;
}
.about-text
{ color: #000000;  line-height: 1.75;
  font-size: clamp(1.05rem, 1.2vw, 1.35rem);
  line-height: 1.9;
  text-align: justify;
  text-justify: inter-word;
}

.about-mv .row{ row-gap: 2rem; }
.mv-card{
  border-radius: var(--radius);
  border: 1px solid rgba(20,122,85,.12);
  box-shadow: var(--shadow);
  background: var(--g-100);
  padding: 40px;
  height: 100%;
}
.mv-head{ display:flex; align-items:center; gap: 12px; margin-bottom: 12px; }
.mv-icon{
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  background: #fff;
  border: 1px solid rgba(20,122,85,.14);
  color: var(--g-800);
  font-size: 1.4rem;
}
.mv-title{
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 900;
  margin: 0;
}
.mv-divider{ height: 1px; background: rgba(20,122,85,.14); margin: 12px 0 14px; }
.mv-text{
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 14px;
}
.mv-list{ list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.mv-list li{ display:flex; align-items:flex-start; gap: 14px; font-weight: 700; color: #223; font-size: 1.05rem; }
.mv-list i{ color: var(--g-700); margin-top: 2px; }
.about-bg{
  position: relative;
  background-image: url("../img/abtusbkg.webp");
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
  padding: 96px 0;
  overflow: hidden;
}
.about-bg::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.55) 0%,
    rgba(255,255,255,.40) 50%,
    rgba(255,255,255,.20) 100%
  );
  z-index: 1;
}
.about-bg > .container{ position: relative; z-index: 2; }

/* =========================================================
   CONTACT
   ========================================================= */
.map-embed iframe{
  width: 100%;
  height: 260px;
  border: 0;
  display: block;
}
@media (max-width: 575px){ .map-embed iframe{ height: 220px; } }
.contact-map-link{
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}
.contact-map-link:hover{ color: var(--g-700); text-decoration: underline; }
.contact-directions-link{
  font-weight: 800;
  font-size: .85rem;
  color: var(--g-800);
  text-decoration: none;
}
.contact-directions-link:hover{ color: var(--g-700); text-decoration: underline; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{ background: #dfe8dc; border-top: 1px solid rgba(20,122,85,.12); }
.footer-brand{
  display:flex;
  flex-direction:column;
  gap: 6px;
  margin-bottom: 18px;
  align-items: flex-start;
  text-align: left;
}
.footer-brand img{
  height: 46px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}
@media (min-width: 992px){
  .site-footer .footer-right{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }
  .site-footer .footer-right > *{
    width: 260px;
    text-align: left;
  }
  .site-footer .footer-right .footer-social-icons{
    justify-content: flex-start;
  }
  .site-footer .footer-mid{
    margin-left: auto;
    margin-right: auto;
    max-width: 320px;
    text-align: left;
  }
  .site-footer .footer-mid .footer-links,
  .site-footer .footer-mid .footer-title{
    text-align: left;
  }
  .site-footer .footer-col-top{ padding-top: 68px; }
}
.footer-brand-sub{
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--g-800);
  text-transform: uppercase;
}
.footer-title{
  font-weight: 800;
  font-size: .85rem;
  letter-spacing: .12em;
  color: #223;
  margin-bottom: 14px;
}
.footer-contact{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap: 10px;
}
.footer-contact li{ display:flex; gap: 10px; color:#223; }
.footer-contact i{ color: var(--g-700); margin-top: 2px; min-width: 18px; }
.footer-contact a{ color:#223; text-decoration:none; font-weight: 700; }
.footer-contact a:hover{ color: var(--g-700); text-decoration: underline; }
.footer-contact span{ color: rgba(34,34,51,.65); font-weight: 600; }
.footer-map-link{ color:#223; text-decoration:none; font-weight: 700; }
.footer-map-link:hover{ color: var(--g-700); text-decoration: underline; }
.footer-directions{ margin-top: 6px; }
.footer-directions-link{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  letter-spacing: .06em;
  font-size: .75rem;
  text-transform: uppercase;
  color: var(--g-800);
  text-decoration: none;
  opacity: .9;
}
.footer-directions-link:hover{
  opacity: 1;
  color: var(--g-700);
  text-decoration: underline;
}
.footer-links{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap: 10px;
}
.footer-links a{
  color:#223;
  text-decoration:none;
  font-weight: 700;
  opacity: .78;
}
.footer-links a:hover{ opacity: 1; color: var(--g-700); text-decoration: underline; }
.footer-social-icons{ display:flex; gap: 10px; }
.footer-social-icons a{
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: #2f8f5b;
  color:#fff;
  text-decoration:none;
  box-shadow: 0 10px 22px rgba(11,61,46,.12);
  transition: transform .2s ease, background .2s ease;
}
.footer-social-icons a:hover{ background: var(--g-800); transform: translateY(-2px); }
.footer-bottom{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(0,0,0,.12);
  padding-top: 18px;
}
.back-to-top{ color: #223; font-size: 1.25rem; text-decoration:none; opacity:.75; }
.back-to-top:hover{ opacity: 1; color: var(--g-700); }

@media (max-width: 991.98px){
  .site-footer .col-lg-4{ text-align: center; }
  .site-footer .footer-brand{ align-items: center; text-align: center; }
  .site-footer .footer-contact li{ justify-content: center; text-align: center; }
  .site-footer .footer-contact li div{ text-align: center; }
  .site-footer .footer-title{ text-align: center; }
  .site-footer .footer-links{ justify-items: center; text-align: center; }
  .site-footer .footer-social-icons{ justify-content: center; }
  .site-footer .footer-bottom{
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}
/* =========================================================
   FOOTER — CENTER EVERYTHING ON MOBILE
   ========================================================= */
@media (max-width: 767.98px){

  .site-footer{
    text-align: center;
  }

  /* Center brand block */
  .site-footer .footer-brand{
    align-items: center;
    text-align: center;
  }

  /* Center contact list */
  .footer-contact{
    justify-items: center;
  }

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

  .footer-contact li i{
    margin-top: 0;
  }

  /* Center WHERE WE SERVE + links */
  .footer-links{
    justify-items: center;
    text-align: center;
  }

  /* Center directions link */
  .footer-directions{
    justify-content: center;
    text-align: center;
  }

  .footer-directions-link{
    justify-content: center;
  }

  /* Social icons centered */
  .footer-social-icons{
    justify-content: center;
  }

  /* Bottom bar */
  .footer-bottom{
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }
}

/* =========================================================
   SERVICE OVERLAY (FULLSCREEN MODAL)
   ========================================================= */
.service-badge{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(23,163,108,.12);
  border: 1px solid rgba(23,163,108,.18);
  color: var(--g-800);
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .78rem;
}

.service-badge--capability{
  background: rgba(20, 82, 140, .12);
  border-color: rgba(20, 82, 140, .18);
  color: #0f2d4a;
}
.service-badge--capability i{
  color: #0f2d4a;
  border-color: rgba(20, 82, 140, .18);
}
.service-badge i{
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid rgba(20,122,85,.14);
  color: var(--g-800);
}
.service-chips{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 18px;
}
.service-chip{
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: .85rem;
  background: #fff;
  border: 1px solid rgba(20,122,85,.14);
  color: #223;
}
.service-grid{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  margin-top: 10px;
}
@media (max-width: 991px){
  .service-grid{ grid-template-columns: 1fr; }
}
.service-cardbox{
  border: 1px solid rgba(20,122,85,.12);
  border-radius: 18px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(0,0,0,.06);
}
.service-cardbox h5{
  font-weight: 900;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.service-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.service-list li{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #223;
  font-weight: 650;
}
.service-list i{
  color: var(--g-700);
  margin-top: 2px;
}
.service-side .mini{ color: var(--muted); font-weight: 650; font-size: .95rem; }
.service-divider{ height: 1px; background: rgba(20,122,85,.14); margin: 14px 0; }
.service-overlay{
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
}
.service-overlay.is-open{ display: block; }
.service-overlay__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(7,20,14,.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  animation: soFade .18s ease forwards;
}
.service-overlay__panel{
  position: relative;
  width: min(1100px, calc(100% - 32px));
  height: min(86vh, 760px);
  margin: 86px auto 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0,0,0,.25);
  transform: translateY(12px) scale(.98);
  opacity: 0;
  animation: soPop .22s ease forwards;
  background: linear-gradient(180deg, rgba(215,243,231,.65), #fff 40%);
}
@media (max-width: 575px){
  .service-overlay__panel{
    width: calc(100% - 18px);
    height: calc(100% - 110px);
    height: calc(100svh - 110px);
    margin-top: 92px;
    border-radius: 20px;
  }
}
.service-overlay__close{
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px rgba(0,0,0,.18);
}
.service-overlay__close:hover{ background: #fff; }
.service-overlay__content{ height: 100%; overflow: auto; }
.service-overlay__body{ position: relative; padding: 26px; }
@media (max-width: 575px){ .service-overlay__body{ padding: 18px; } }
.service-overlay__title{
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.service-overlay__sub{
  color: var(--muted);
  max-width: 820px;
  margin-bottom: 0;
}
.service-overlay .service-side{ position: static; top: auto; }
@keyframes soFade{ to{ opacity: 1; } }
@keyframes soPop{ to{ opacity: 1; transform: translateY(0) scale(1); } }
body.is-locked{ overflow: hidden; }
/* Make the partners video clickable like services */
.partners-video-link{
  display:block;
  text-decoration:none;
}
/* ===== Overlay close animations (premium cross-fade) ===== */
@keyframes soFadeOut{ to{ opacity: 0; } }
@keyframes soPopOut{ to{ opacity: 0; transform: translateY(8px) scale(.985); } }

/* While closing, keep it displayed so animations can run */
.service-overlay.is-closing{ display:block; }

/* Backdrop close */
.service-overlay.is-closing .service-overlay__backdrop{
  animation: soFadeOut .16s ease forwards;
}

/* Panel close */
.service-overlay.is-closing .service-overlay__panel{
  animation: soPopOut .18s cubic-bezier(.2,.8,.2,1) forwards;
}

/* Optional: prevent clicks while closing */
.service-overlay.is-closing{ pointer-events: none; }
.service-overlay.is-closing .service-overlay__panel{ pointer-events: none; }


/* Position the service-style label on top of the video */
.partners-media{
  position: relative;
  overflow: hidden;
  border-radius: 18px; /* keep consistent with your site */
}

.partners-video-label{
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 3;
  pointer-events: none; /* so clicking always clicks the video link */
}

/* Optional: subtle bottom fade so text is always readable */
.partners-media::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(to top, rgba(0,0,0,.35), rgba(0,0,0,0) 55%);
  z-index:2;
  pointer-events:none;
}
/* clickable */
.partners-video-link{
  display:block;
  text-decoration:none;
}

/* === FRAMED LOOK (like your Services cards) === */
.partners-media--framed{
  position: relative;
  overflow: hidden;
  border-radius: 26px;          /* match your services rounding */
  min-height: 320px;            /* keeps shape on small screens */
}

/* video fills container */
.partners-media--framed .partners-video{
  width: 100%;
  height: 100%;
  display:block;
  object-fit: cover;
}

/* Outer border */
.partners-media--framed::before{
  content:"";
  position:absolute;
  inset: 10px;                  /* spacing from edge */
  border-radius: 20px;
  border: 2px solid rgba(255,255,255,.75);
  z-index: 2;
  pointer-events:none;
}

/* Inner border */
.partners-media--framed::after{
  content:"";
  position:absolute;
  inset: 22px;                  /* inner border further in */
  border-radius: 14px;
  border: 2px solid rgba(255,255,255,.55);
  z-index: 2;
  pointer-events:none;
}

/* Optional: soft bottom shade for readability (doesn't kill the look) */
.partners-media--framed .partners-video{
  filter: none;
}
.partners-media--framed .partners-video + *{}

/* === PILL LABEL (bottom-left like screenshot) === */
/* === PILL LABEL (CENTER BOTTOM) === */
.partners-video-pill{
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 3;
  white-space: nowrap;

  display: flex;
  align-items: center;
  gap: 12px;

  padding: 14px 18px;
  border-radius: 14px;

  background: rgba(120,130,140,.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  color: #fff;
}

.partners-video-pill__icon{
  width: 44px;
  height: 44px;
  display:grid;
  place-items:center;
  border-radius: 12px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.25);
  font-size: 20px;
  text-align: center;
}

.partners-video-pill__text{
  font-family: "Nunito", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 900;
  font-size: 26px;              /* adjust if you want smaller */
  line-height: 1.05;
  letter-spacing: .2px;
  white-space: nowrap;
  text-align: center;
}
.partners-video-link{
  display: block;
}

/* Base state */
.partners-media--framed{
  transition: transform .28s ease, box-shadow .28s ease;
}

/* Hover: lift + shadow */
.partners-video-link:hover .partners-media--framed{
  transform: translateY(-6px);
  box-shadow:
    0 28px 60px rgba(0,0,0,.18),
    0 0 0 1px rgba(255,255,255,.55) inset;
}

/* Video zoom on hover */
.partners-video{
  transition: transform .6s ease;
}

.partners-video-link:hover .partners-video{
  transform: scale(1.06);
}

/* Pill reacts slightly (premium feel) */
.partners-video-link:hover .partners-video-pill{
  background: rgba(120,130,140,.78);
  box-shadow: 0 18px 40px rgba(0,0,0,.32);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .hero-slide{ transition: none !important; }
  .carousel-item.active .hero-slide{ transform: none !important; }
}

/* Mobile: place About image below Call Now button */
@media (max-width: 767px){
  #about .row.align-items-center > .col-lg-6:first-child{ order: 2; }
  #about .row.align-items-center > .col-lg-6:last-child{ order: 1; }
}

/* Partners video hover (match Services vibe) */
.partners-media--framed .partners-video{
  transition: transform .6s ease;
  transform: scale(1);
}
.partners-media--framed:hover .partners-video{
  transform: scale(1.06);
}
.partners-media--framed:hover{
  box-shadow: 0 36px 76px rgba(0,0,0,.14);
}

/* Precise landing for Telehealth -> Organizational Appointment */
#partnersFormAnchor{ scroll-margin-top: 120px; }

/* =========================================================
   MAINTENANCE MAP (quick)
   1) Theme + Globals
   2) Layout / Navbar / Hero
   3) Sections (Services, Partners, About, Contact)
   4) Components (Buttons, Cards, Overlays)
   5) Utilities + Accessibility
   ========================================================= */

/* =========================
   HERO: Trust chips
   ========================= */
/* =========================
   HERO: Trust chips (LOWER without moving We Care)
   ========================= */
.hero-trust{
  /* Keep in normal flow so it never overlaps the CTAs */
  position: static;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .75rem 1rem;
  width: min(94vw, 980px);
  margin: 1.25rem auto 0;
  padding-inline: 10px;
}

.hero-trust__item{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .55rem .95rem;
  border-radius: 999px;
  background: rgba(255,255,255,.45);
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: 0 10px 26px rgba(0,0,0,.12);
  font-weight: 800;
  color: var(--text);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-align: center;
  white-space: nowrap;
}

/* =========================
   FAQ
   ========================= */
.faq-section{
  padding: 64px 0;
  background: linear-gradient(180deg, rgba(11,61,46,.06), rgba(11,61,46,0));
}
.faq-section .accordion-item{
  border-radius: 14px;
  overflow:hidden;
  border: 1px solid rgba(11,61,46,.10);
  box-shadow: 0 12px 30px rgba(11, 61, 46, .10);
  margin-bottom: 14px;
}
.faq-section .accordion-button{
  font-weight: 800;
}
.faq-section .accordion-button:focus{
  box-shadow: 0 0 0 .25rem rgba(0,191,2,.18);
}

/* =========================
   Accessibility + Motion
   ========================= */
@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior:auto !important; }
  .carousel,
  .carousel-item,
  .carousel-fade .carousel-item{
    transition:none !important;
  }
}

/* =========================================================
   RESPONSIVE PASS (site-wide)
   - Added by ChatGPT (mobile + tablet fixes)
   ========================================================= */

/* Never allow media to overflow containers */
img, video, iframe { max-width: 100%; height: auto; }

/* Avoid horizontal scroll from wide elements */
html, body { overflow-x: hidden; }

/* ---------- Navbar / Header ---------- */
@media (max-width: 991.98px){
  .navbar .container{ padding-left: 14px; padding-right: 14px; }

  /* Your logo was hard-set to 80px; shrink on mobile */
  .navbar-brand img{
    height: 48px;
    max-width: 72vw;
    object-fit: contain;
  }

  /* Give the collapse menu breathing room */
  #mainNav .navbar-collapse{
    padding-top: 10px;
    padding-bottom: 10px;
  }
  #mainNav .nav-link{
    padding: .75rem .5rem;
    font-size: 1.05rem;
  }
}
@media (max-width: 420px){
  .navbar-brand img{ height: 44px; }
}

/* ---------- Sections spacing on small screens ---------- */
@media (max-width: 575.98px){
  section{ padding: 64px 0; }
  .section-headline{ font-size: clamp(1.65rem, 6vw, 2.25rem); }
  .section-desc{ font-size: 1rem; }
}

/* ---------- Hero fixes ---------- */
@media (max-width: 575.98px){
  .hero-wecare-wrap{ margin-top: 4.25rem; }
  .hero h1{ padding-inline: 10px; }

.hero .hero-trust{
  position: static;
  width: 100%;
  margin-top: 1rem;
  gap: 10px;
  padding-inline: 10px;
}

.hero .hero-trust__item{
  font-size: .95rem;
  padding: 10px 12px;
  border-radius: 999px;
  white-space: normal;
  line-height: 1.15;
  max-width: 100%;
}
/* Reduce button sizes so they don't overflow */
  .btn-hero, .btn-hero-outline{
    width: 100%;
    max-width: 420px;
    margin-inline: auto;
  }
}

/* ---------- Services cards ---------- */
@media (max-width: 575.98px){
  .service-media{ height: clamp(190px, 58vw, 300px); }
  .service-label .service-text{ font-size: 1.2rem; }
}

/* ---------- Partners video label pill (the one that gets cut off) ---------- */
@media (max-width: 991.98px){
  .partners-video-pill{
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 14px;
    width: min(92vw, 560px);
    white-space: normal;   /* allow wrap */
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
  }
  .partners-video-pill__text{
    font-size: clamp(16px, 4.2vw, 20px);
    line-height: 1.15;
    white-space: normal;
  }
}

/* ---------- Forms / buttons wrapping ---------- */
@media (max-width: 575.98px){
  .partners-actions__row{ justify-content: stretch; }
  .partners-actions__row > .btn{
    flex: 1 1 0;
    min-width: 0;
  }
  .card-soft.bg-white{ border-radius: 18px; }
}

/* ---------- Contact map ---------- */
.map-embed iframe{ width: 100%; min-height: 320px; border: 0; }
@media (max-width: 575.98px){
  .map-embed iframe{ min-height: 260px; }
}

/* ---------- Overlay / modal padding (prevents cramped content) ---------- */
@media (max-width: 575.98px){
  .service-overlay__body{ padding: 16px !important; }
  .service-chips{ flex-wrap: wrap; }
}
/* =========================================================
   IPHONE SE HERO FIX
   - Prevent hero trust chips from being cut off / overlapping on short screens
   ========================================================= */

@media (max-width: 420px), (max-height: 700px){
  .hero{ min-height: auto; padding-top: 84px; padding-bottom: 28px; }

  .hero-wecare-wrap{ margin-top: 1.25rem !important; }
  .hero-wecare-img{ width: min(92%, 360px); margin-bottom: .75rem; }

  .hero h1{ font-size: clamp(1.55rem, 6.2vw, 2.05rem); line-height: 1.15; }

  .btn-hero, .btn-hero-outline{
    padding: .85rem 1.15rem;
    font-size: 1.05rem;
    max-width: 420px;
  }

  .hero-trust{
    position: static !important;
    transform: none !important;
    margin-top: 14px !important;
    padding: 0 12px;
    width: 100%;
    max-width: 520px;
  }

  .hero-trust__item{
    flex: 1 1 calc(50% - 10px);
    justify-content: center;
    text-align: center;
    padding: .55rem .7rem;
    font-size: .95rem;
  }
}

@media (max-width: 360px){
  .hero-trust__item{ flex: 1 1 100%; }
}
/* =========================================================
   iPad / Tablet: center the brand in the collapsed navbar
   ========================================================= */
@media (min-width: 768px) and (max-width: 991.98px){

  /* allow absolute centering */
  #mainNav .container{
    position: relative;
  }

  /* center the logo */
  #mainNav .navbar-brand{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
  }

  /* keep hamburger on the right */
  #mainNav .navbar-toggler{
    margin-left: auto;
  }

  /* prevent brand from overlapping the toggler */
  #mainNav .navbar-brand img{
    height: 46px;      /* adjust if you want slightly bigger */
    max-width: 52vw;   /* prevents collision with toggler */
    object-fit: contain;
  }
}
/* =========================
   HERO TRUST — TRUE CENTER (iPad Air/tablet)
   ========================= */
.hero-trust{
  display: flex;
  flex-wrap: wrap;

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

  /* true centered block */
  width: fit-content;
  max-width: min(94vw, 980px);
  margin: 1.25rem auto 0;

  gap: .75rem 1rem;
  padding: 0;           /* remove side padding that can “fake” offset */
  text-align: center;
}

/* keep each chip from stretching weirdly */
.hero-trust__item{
  flex: 0 0 auto;
}
/* =========================================================
   FOOTER — TRUE CENTER ON MOBILE
   ========================================================= */
@media (max-width: 767.98px){

  /* center the whole footer area */
  footer,
  .site-footer{
    text-align: center;
  }

  /* center each stacked column */
  .site-footer .row > [class*="col-"]{
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* center logo + brand block */
  .footer-brand{
    display: flex;
    flex-direction: column;
    align-items: center !important;
    justify-content: center;
    text-align: center;
    width: 100%;
  }
  .footer-brand img{
    display: block;
    margin: 0 auto !important;
  }
  .footer-brand-sub{
    text-align: center;
  }

  /* center titles */
  .footer-title{
    width: 100%;
    text-align: center;
  }

  /* center contact list rows (icons + text) */
  .footer-contact{
    width: 100%;
    padding-left: 0;
    margin-left: 0;
  }
  .footer-contact li{
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .footer-contact li.d-flex{
    justify-content: center;
  }

  /* center your link lists */
  .footer-links{
    width: 100%;
    padding-left: 0;
    margin-left: 0;
    text-align: center;
  }
  .footer-links li{
    text-align: center;
  }

  /* social icons row */
  .footer-social-icons{
    justify-content: center !important;
  }

  /* bottom bar */
  .footer-bottom{
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }
}
/* Immediate appointments bar (FIX: no <a> inside <button>) */
.partners-actions__contact{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;

  width:100%;
  padding:14px 18px;
  border:1px solid rgba(11,18,32,.18);
  border-radius:999px;
  background:#fff;
}

.partners-actions__contactText{
  display:flex;
  flex-direction:column;
  min-width:0; /* allows text to wrap nicely */
}

.partners-actions__contactTitle{
  font-weight:800;
  line-height:1.1;
  color:#0b1220;
}

.partners-actions__contactSub{
  margin-top:2px;
  font-weight:700;
  color:#5b6472;
  line-height:1.1;
}

.partners-actions__callBtn{
  flex:0 0 auto;
  width:52px;
  height:52px;
  border-radius:999px;

  display:grid;
  place-items:center;

  background: var(--brand);
  color:#fff;
  text-decoration:none;

  box-shadow: 0 14px 30px rgba(0,191,2,.28);
}

.partners-actions__callBtn i{
  font-size:18px;
  line-height:1;
}

/* Mobile: stack text better if space is tight */
@media (max-width: 420px){
  .partners-actions__contact{
    padding:12px 14px;
  }
  .partners-actions__callBtn{
    width:48px;
    height:48px;
  }
  .partners-actions__contactTitle,
  .partners-actions__contactSub{
    font-size:14px;
  }
}
/* Desktop polish: don't let the contact pill stretch across the whole form */
@media (min-width: 992px){
  .partners-actions__contact{
    width: fit-content;          /* stop full-width stretch */
    max-width: 560px;            /* nice desktop size */
    margin-left: auto;          /* keep it on the left */
    padding: 12px 16px;
    border-radius: 18px;         /* less "capsule" look on wide screens */
    background: rgba(255,255,255,.92);
    box-shadow: 0 10px 26px rgba(11, 61, 46, .08);
  }

  .partners-actions__contactText{
    max-width: 420px;            /* prevents super-wide text area */
  }

  .partners-actions__contactTitle{
    font-size: 14px;
    letter-spacing: .2px;
  }

  .partners-actions__contactSub{
    font-size: 13px;
  }

  .partners-actions__callBtn{
    width: 46px;
    height: 46px;
    box-shadow: 0 12px 24px rgba(0,191,2,.22);
  }
}
/* Mobile: reduce over-rounding */
@media (max-width: 768px){
  .partners-actions__contact{
    border-radius: 16px;   /* instead of full pill */
  }

  .partners-actions__callBtn{
    border-radius: 14px;   /* softer, less bubble-like */
  }
}


/* =========================================================
   SERVICES — background image + TOP WHITE + BOTTOM BLUE
   ========================================================= */
#services{
  position: relative;
  overflow: hidden;
}
#services::before{
  content:"";
  position:absolute;
  inset:0;
 
  background-size: cover;
  background-position: center;
  filter: saturate(.95) contrast(1) brightness(1);
  transform: scale(1.03);
  opacity: 1;
  z-index: 0;
}
#services::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:1;
  background:
    linear-gradient(
      to bottom,
      rgba(255,255,255,.95) 0%,
      rgba(255,255,255,.80) 20%,
      rgba(255,255,255,0) 30%
    ),
    linear-gradient(
      to top,
      rgba(21, 98, 170, 0.65) 0%,
      rgba(15, 72, 126, 0.45) 22%,
      rgba(11, 55, 95, 0.25) 42%,
      rgba(25, 120, 210, 0) 70%
    );
}
#services > .container{
  position: relative;
  z-index: 2;
}

.service-link{ text-decoration: none; color: inherit; display: block; }
.service-card{
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(20,122,85,.12);
  box-shadow: 0 18px 40px rgba(0,0,0,.06);
  transition: transform .25s ease, box-shadow .25s ease;
  height: 100%;
}
.service-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(0,0,0,.10);
}

/* Service Card Hover Overlay */
.service-link .service-media {
  position: relative;
}

/* Overlay + Text */
.service-link .service-media::before {
  content: "View Details";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 2;
  border-radius: inherit;
  backdrop-filter: blur(2px);
}

.service-media{
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  height: clamp(240px, 32vw, 420px);
}
.service-media::before{
  content:"";
  position:absolute;
  inset: 16px;
  border: 2px solid rgba(255,255,255,.85);
  border-radius: 12px;
  z-index: 2;
  pointer-events:none;
}
.service-media::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(20,122,85,.00) 45%, rgba(11,61,46,.35) 100%);
  pointer-events:none;
  z-index: 1;
}
.service-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform .6s ease;
  display: block;
}
.service-card:hover .service-media img{ transform: scale(1.08); }

.service-link:hover .service-media::before {
  opacity: 1;
  transform: translateY(0);
}

.service-label{
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(20, 82, 140, 0.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
}
.service-label .service-icon{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  font-size: 1.35rem;
  line-height: 1;
}
.service-label .service-text{
  font-weight: 900;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  letter-spacing: .02em;
  margin: 0;
}
@media (max-width: 575px){
  .service-label{
    left: 16px;
    bottom: 16px;
    padding: 12px 14px;
    gap: 10px;
  }
  .service-label .service-icon{
    width: 38px;
    height: 38px;
    font-size: 1.15rem;
  }
  .service-media{ height: clamp(190px, 52vw, 280px); }
}
/* ===============================
   MEDPSYCHE — SWEETALERT THEME
   =============================== */

.swal2-container {
  backdrop-filter: blur(6px);
  background: rgba(5, 25, 15, 0.55) !important;
}

.swal2-popup {
  border-radius: 22px !important;
  padding: 2.2rem 2rem !important;
  max-width: 420px !important;

  border: 1px solid rgba(0,191,2,.18);
  box-shadow:
    0 30px 80px rgba(0,0,0,.35),
    0 0 0 1px rgba(255,255,255,.4);
}

/* Success icon */
.swal2-success-ring {
  border-color: rgba(0,191,2,.35) !important;
}

.swal2-success-line-tip,
.swal2-success-line-long {
  background-color: #00bf02 !important;
}

.swal2-icon.swal2-success {
  color: #00bf02 !important;
  border-color: #00bf02 !important;
  transform: scale(0.92);
}

/* Title */
.swal2-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900 !important;
  letter-spacing: -0.02em;
  color: #0b3d2e !important;
  font-size: 1.6rem !important;
  margin-top: .6rem !important;
}

/* Main text */
.swal2-html-container {
  color: #334 !important;
  font-size: 1rem !important;
  line-height: 1.6;
}

/* Urgent note styling */
.swal2-html-container b,
.swal2-html-container strong {
  color: #0f5a40;
}

/* OK button */
.swal2-confirm {
  border-radius: 999px !important;
  padding: 12px 30px !important;
  font-weight: 800 !important;
  letter-spacing: .04em;
  text-transform: uppercase;

  background: linear-gradient(135deg, #00bf02, #17a36c) !important;
  box-shadow: 0 10px 26px rgba(0,191,2,.45);
}

.swal2-confirm:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(0,191,2,.55);
}
/* =========================================================
   MOTION PACK — MedPsyche (drop-in)
   - Calm, medical-grade animations
   - No layout breaking, no class renames
   ========================================================= */

/* Base reveal states */
.reveal{
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition:
    opacity 600ms ease,
    transform 600ms cubic-bezier(.2,.8,.2,1);
  will-change: opacity, transform;
}

/* Variants */
.reveal--up{ transform: translate3d(0, 18px, 0); }
.reveal--down{ transform: translate3d(0, -12px, 0); }
.reveal--left{ transform: translate3d(18px, 0, 0); }
.reveal--right{ transform: translate3d(-18px, 0, 0); }
.reveal--fade{ transform: none; }

/* When visible */
.reveal.is-visible{
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Stagger support (JS sets --stagger) */
.reveal[data-stagger]{
  transition-delay: var(--stagger, 0ms);
}

/* Soft micro-interactions */
.service-card,
.card-soft,
.btn-hero,
.btn-hero-outline,
.btn-brand,
.call-now-btn{
  transition:
    transform 220ms cubic-bezier(.2,.8,.2,1),
    box-shadow 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    filter 220ms ease;
}

/* Slight lift on hover (desktop only feel) */
@media (hover:hover){
  .service-card:hover{
    transform: translateY(-8px);
  }
  .btn-hero:hover,
  .btn-hero-outline:hover,
  .btn-brand:hover,
  .call-now-btn:hover{
    transform: translateY(-1px);
  }
}

/* Partners step transition (optional—only visual polish) */
.partners-step{
  transition: opacity 240ms ease, transform 240ms cubic-bezier(.2,.8,.2,1);
}
.partners-step.d-none{
  opacity: 0;
  transform: translate3d(0, 10px, 0);
}
.partners-step:not(.d-none){
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  html { scroll-behavior: auto; }
  .reveal,
  .service-card,
  .card-soft,
  .btn-hero,
  .btn-hero-outline,
  .btn-brand,
  .call-now-btn,
  .partners-step{
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
.reveal{
  opacity: 0;
  transform: translateY(22px) scale(.98);
  transition:
    opacity .9s ease,
    transform .9s cubic-bezier(.2,.8,.2,1);
  will-change: transform, opacity;
}

.reveal.is-visible{
  opacity: 1;
  transform: translateY(0) scale(1);
}
.reveal[data-stagger]{
  transition-delay: var(--stagger, 0ms);
}
.hero h1,
.hero-wecare-img,
.hero-meta{
  opacity: 0;
  transform: translateY(18px);
  animation: heroIn 1.1s cubic-bezier(.2,.8,.2,1) forwards;
}

.hero-wecare-img{ animation-delay: .2s; }
.hero h1{ animation-delay: .4s; }
.hero-meta{ animation-delay: .6s; }

@keyframes heroIn{
  to{ opacity:1; transform:none; }
}
.service-card{
  transition:
    transform .35s cubic-bezier(.2,.8,.2,1),
    box-shadow .35s ease;
}

.service-label{
  transition: transform .35s ease, background .35s ease;
}

.service-card:hover .service-label{
  transform: translateY(-4px);
  background: rgba(20, 82, 140, 0.55);
}
.partners-media{
  opacity: 0;
  transform: translateY(26px) scale(.97);
  transition: 1s cubic-bezier(.2,.8,.2,1);
}

.partners-media.is-visible{
  opacity: 1;
  transform: none;
}
.partners-media::after{
  content:"";
  position:absolute;
  inset:0;
  box-shadow: 0 0 0 rgba(0,191,2,0);
  transition: box-shadow 1s ease;
}

.partners-media.is-visible::after{
  box-shadow: 0 0 60px rgba(0,191,2,.12);
}
.partners-step{
  animation: stepIn .5s ease both;
}

@keyframes stepIn{
  from{
    opacity:0;
    transform: translateX(18px);
  }
  to{
    opacity:1;
    transform:none;
  }
}
#mainNav{
  transition: box-shadow .3s ease, background .3s ease;
}

body.scrolled #mainNav{
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
