/* =====================================================================
   BHHC – Babita Home Health Care
   Theme: glassmorphism in the logo colours (navy, roof blue, sage, teal)
   ===================================================================== */

:root {
    --navy: #0A2342;
    --navy-2: #123B6B;
    --blue: #1E5B9A;
    --blue-soft: #DCEBF7;
    --teal: #0E8C8C;
    --teal-soft: #D9F0EE;
    --sage: #7DB88A;
    --sage-deep: #3F8F57;
    --sage-soft: #E3F1E6;
    --ink: #17283F;
    --muted: #56687F;
    --wa: #1E9E52;

    --glass: rgba(255, 255, 255, .58);
    --glass-strong: rgba(255, 255, 255, .78);
    --glass-border: rgba(255, 255, 255, .78);
    --shadow: 0 12px 40px rgba(10, 35, 66, .10);
    --shadow-lg: 0 24px 60px rgba(10, 35, 66, .18);

    --r-xl: 36px;
    --r-lg: 28px;
    --r-md: 20px;

    --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --ease: cubic-bezier(.2, .7, .2, 1);
}
.photo-light {
    background: linear-gradient(rgba(234,243,246,.88), rgba(234,243,246,.88)), var(--img) center / cover no-repeat;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--ink);
    background: #EAF3F6;
    overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); line-height: 1.15; letter-spacing: -.01em; }
p { color: var(--muted); }
a { color: var(--blue); }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 8px; }

.container-wide { width: 100%; max-width: 1380px; margin-inline: auto; padding-inline: 24px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 3000; background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: 10px; }
.skip-link:focus { left: 12px; color: #fff; }

/* ---------- Full-page background ---------- */
.page-bg {
    position: fixed; inset: 0; z-index: -1; overflow: hidden;
    background: #EAF3F6 url('../img/page-bg.svg') center / cover no-repeat;
}
.page-bg .blob { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; will-change: transform; }
.blob-1 { top: -22vmax; left: -16vmax; background: radial-gradient(circle, rgba(30, 91, 154, .22), transparent 68%); animation: drift-a 34s ease-in-out infinite alternate; }
.blob-2 { top: 18vh; right: -24vmax; background: radial-gradient(circle, rgba(14, 140, 140, .20), transparent 68%); animation: drift-b 40s ease-in-out infinite alternate; }
.blob-3 { bottom: -28vmax; left: 22vw; background: radial-gradient(circle, rgba(125, 184, 138, .28), transparent 68%); animation: drift-a 46s ease-in-out infinite alternate-reverse; }
@keyframes drift-a { to { transform: translate(9vmax, 7vmax) scale(1.08); } }
@keyframes drift-b { to { transform: translate(-10vmax, 6vmax) scale(1.12); } }

/* ---------- Glass ---------- */
.glass {
    background: var(--glass);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    backdrop-filter: blur(18px) saturate(150%);
    border: 1px solid var(--glass-border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .8);
}
/* hover: lift + a soft light that follows the mouse (--mx/--my set in main.js) */
.glass-hover { position: relative; transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .4s; }
.glass-hover::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 1;
    background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .55), transparent 62%);
    opacity: 0; transition: opacity .35s;
}
.glass-hover:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, .9); background: var(--glass-strong); }
.glass-hover:hover::before { opacity: 1; }

/* ---------- Buttons ---------- */
.btn-bhhc {
    display: inline-flex; align-items: center; gap: .55rem;
    padding: .85rem 1.55rem; border-radius: 999px; border: 1.5px solid transparent;
    font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.2; white-space: nowrap;
    text-decoration: none; cursor: pointer;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn-bhhc i { transition: transform .3s var(--ease); }
.btn-bhhc:hover { transform: translateY(-3px); }
.btn-bhhc:hover .bi-arrow-right { transform: translateX(5px); }
.btn-bhhc-primary { background: linear-gradient(135deg, var(--blue), var(--teal)); color: #fff; box-shadow: 0 10px 26px rgba(30, 91, 154, .34); }
.btn-bhhc-primary:hover { color: #fff; box-shadow: 0 16px 34px rgba(30, 91, 154, .44); }
.btn-bhhc-outline { background: rgba(255, 255, 255, .55); border-color: var(--blue); color: var(--blue); }
.btn-bhhc-outline:hover { background: var(--blue); color: #fff; }
.btn-bhhc-wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px rgba(30, 158, 82, .32); }
.btn-bhhc-wa:hover { background: #17864a; color: #fff; box-shadow: 0 16px 32px rgba(30, 158, 82, .42); }
.btn-bhhc-light { background: #fff; color: var(--navy); box-shadow: 0 10px 26px rgba(0, 0, 0, .16); }
.btn-bhhc-light:hover { background: var(--sage-soft); color: var(--navy); }
.btn-bhhc-ghost { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .6); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn-bhhc-ghost:hover { background: #fff; color: var(--navy); }
.btn-sm-bhhc { padding: .62rem 1.1rem; font-size: .94rem; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: rgba(255, 255, 255, .82); font-size: .9rem; padding: .5rem 0; }
.topbar a { color: rgba(255, 255, 255, .9); text-decoration: none; transition: color .2s; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar i { color: #7FE0D6; margin-right: .45rem; }

/* ---------- Header / navigation ---------- */
.site-header { position: sticky; top: 0; z-index: 1030; padding: 12px 0; transition: padding .3s var(--ease); }
.nav-glass {
    flex-wrap: nowrap; gap: 1rem; padding: .55rem .9rem .55rem .6rem;
    background: rgba(255, 255, 255, .62);
    -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid var(--glass-border); border-radius: 24px;
    box-shadow: 0 10px 34px rgba(10, 35, 66, .10), inset 0 1px 0 rgba(255, 255, 255, .9);
    transition: background .3s, box-shadow .3s;
}
.site-header.scrolled { padding: 6px 0; }
.site-header.scrolled .nav-glass { background: rgba(255, 255, 255, .86); box-shadow: 0 12px 36px rgba(10, 35, 66, .16); }

.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; flex: none; }
.brand img { height: 48px; width: auto; border-radius: 12px; box-shadow: 0 4px 12px rgba(10, 35, 66, .18); transition: transform .4s var(--ease); }
.brand:hover img { transform: rotate(-3deg) scale(1.05); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--navy); letter-spacing: .03em; }
.brand-text small { font-size: .74rem; font-weight: 600; color: var(--teal); letter-spacing: .02em; }

.main-nav { gap: .1rem; flex-direction: row; }
.main-nav .nav-link {
    position: relative; padding: .55rem .72rem; font-weight: 600; font-size: .95rem; color: var(--navy); white-space: nowrap;
    transition: color .25s;
}
.main-nav .nav-link::after {
    content: ""; position: absolute; left: .72rem; right: .72rem; bottom: .2rem; height: 2.5px; border-radius: 3px;
    background: linear-gradient(90deg, var(--blue), var(--teal));
    transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.main-nav .nav-link:hover, .main-nav .nav-link.active { color: var(--blue); }
.main-nav .nav-link:hover::after, .main-nav .nav-link.active::after { transform: scaleX(1); }

.menu-toggle {
    width: 48px; height: 48px; display: grid; place-items: center; border-radius: 16px; font-size: 1.6rem; color: var(--navy);
    background: rgba(255, 255, 255, .7); border: 1px solid var(--glass-border); transition: background .25s, transform .25s;
}
.menu-toggle:hover { background: #fff; transform: scale(1.05); }

/* Desktop nav from 1280px up; below that the menu button + slide-in menu are used */
.nav-desktop { display: none !important; }
@media (min-width: 1280px) {
    .nav-desktop { display: flex !important; }
    .nav-burger { display: none !important; }
}
@media (min-width: 1280px) and (max-width: 1599.98px) {
    .nav-glass .brand-text { display: none !important; }
    .main-nav .nav-link { padding-inline: .55rem; font-size: .92rem; }
    .main-nav .nav-link::after { left: .55rem; right: .55rem; }
}

/* Mobile menu */
.mobile-menu { --bs-offcanvas-width: min(360px, 88vw); background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
.mobile-menu .offcanvas-header { border-bottom: 1px solid rgba(10, 35, 66, .08); }
.mobile-link {
    display: flex; justify-content: space-between; align-items: center; padding: 1rem .5rem;
    font-weight: 600; font-size: 1.1rem; color: var(--navy); text-decoration: none; border-bottom: 1px solid rgba(10, 35, 66, .07);
    transition: padding .25s var(--ease), color .25s;
}
.mobile-link i { color: var(--teal); }
.mobile-link:hover, .mobile-link.active { color: var(--blue); padding-left: 1rem; }

/* ---------- Hero ---------- */
.hero {
    position: relative; margin: 6px 16px 0; border-radius: var(--r-xl); overflow: hidden; isolation: isolate;
    box-shadow: 0 30px 80px rgba(10, 35, 66, .28);
}
.hero .carousel-item { min-height: clamp(620px, 86vh, 780px); }
.hero-bg {
    position: absolute; inset: 0;
    background: var(--img) 75% center / cover no-repeat, var(--hero-fallback);
    transform: scale(1.02);
}
.hero-bg::after {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(620px circle at 78% 28%, rgba(255, 255, 255, .20), transparent 62%),
        radial-gradient(520px circle at 92% 92%, rgba(125, 184, 138, .34), transparent 62%);
}
.hero-bg-1 { --hero-fallback: linear-gradient(120deg, #0A2342, #1E5B9A 58%, #0E8C8C); }
.hero-bg-2 { --hero-fallback: linear-gradient(120deg, #08243F, #0E6E76 58%, #7DB88A); }
.hero-bg-3 { --hero-fallback: linear-gradient(120deg, #12325C, #1E5B9A 45%, #7DB88A); }
.hero-bg-4 { --hero-fallback: linear-gradient(120deg, #0A2342, #0E8C8C 52%, #1E5B9A); }
.carousel-item.active .hero-bg { animation: kenburns 9s ease-out both; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.13); } }

.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 24, 48, .84) 0%, rgba(6, 24, 48, .56) 46%, rgba(6, 24, 48, .06) 100%); }

.hero-content {
    position: relative; z-index: 2; display: flex; align-items: center;
    min-height: clamp(620px, 86vh, 780px); padding-top: 56px; padding-bottom: 124px;
}
.hero-card {
    max-width: 600px; padding: clamp(1.3rem, 2.6vw, 2.2rem); color: #fff;
    background: none; border: 0; border-radius: 0; box-shadow: none;
    -webkit-backdrop-filter: none; backdrop-filter: none;
}
.hero-card > * { text-shadow: 0 2px 18px rgba(0, 0, 0, .45); }
.hero-title { color: #fff; font-size:clamp(1.9rem, 3.6vw, 3rem); font-weight: 600; line-height: 1.08; margin: 0 0 1rem; }
.hero-text { color: rgba(255, 255, 255, .9); font-size: clamp(1.02rem, 1.4vw, 1.2rem); max-width: 52ch; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.7rem; }

/* one orchestrated moment: the card contents rise in when a slide becomes active */
.carousel-item.active .hero-card > * { animation: rise .8s var(--ease) both; }
.carousel-item.active .hero-card > :nth-child(2) { animation-delay: .12s; }
.carousel-item.active .hero-card > :nth-child(3) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* floating glass facts */
.hero-floaters { position: absolute; z-index: 3; right: clamp(24px, 6vw, 96px); top: 46%; transform: translateY(-50%); flex-direction: column; gap: 1.1rem; pointer-events: none; }
.floater {
    display: flex; align-items: center; gap: .95rem; padding: 1rem 1.4rem; min-width: 250px; border-radius: 22px; color: #fff;
    background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .42);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .4);
    animation: bob 6s ease-in-out infinite alternate;
}
.floater i { font-size: 1.7rem; color: #9FF0E4; }
.floater strong { display: block; font-size: 1.05rem; line-height: 1.2; }
.floater span { font-size: .88rem; color: rgba(255, 255, 255, .85); }
.floater-b { margin-left: 46px; animation-delay: -3s; }
@keyframes bob { to { transform: translateY(-12px); } }

/* controls */
.hero-controls { position: absolute; z-index: 4; right: clamp(20px, 3vw, 40px); bottom: 90px; display: flex; align-items: center; gap: .6rem; }
.hero-btn {
    width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: #fff; font-size: 1.15rem;
    background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .42);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background .25s, color .25s, transform .25s;
}
.hero-btn:hover { background: #fff; color: var(--navy); transform: scale(1.08); }
.hero-indicators { position: static; margin: 0 .4rem; padding: 0; display: flex; gap: 6px; }
.hero-indicators [data-bs-target] {
    position: relative; overflow: hidden; width: 46px; height: 5px; margin: 0; opacity: 1;
    background-color: rgba(255, 255, 255, .38); border-radius: 5px;
}
.hero-indicators [data-bs-target]::after {
    content: ""; position: absolute; inset: 0; background: #fff; border-radius: 5px; transform: scaleX(0); transform-origin: left;
}
.hero-indicators .active::after { animation: fill 5.5s linear forwards; }
.hero.is-paused .hero-indicators .active::after { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }

/* ---------- Trust strip ---------- */
.trust-strip { position: relative; z-index: 5; margin-top: -66px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .3rem; padding: .6rem; border-radius: 30px; background: rgba(255, 255, 255, .7); }
.trust-item { display: flex; align-items: center; gap: .95rem; padding: 1rem 1.2rem; border-radius: 22px; transition: background .3s, transform .3s var(--ease); }
.trust-item:hover { background: rgba(255, 255, 255, .95); transform: translateY(-3px); }
.trust-item strong { display: block; color: var(--navy); font-size: 1.02rem; line-height: 1.25; }
.trust-item span:not(.icon-tile) { display: block; color: var(--muted); font-size: .9rem; line-height: 1.35; }

.icon-tile {
    flex: none; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 17px; font-size: 1.5rem; color: var(--blue);
    background: linear-gradient(140deg, var(--teal-soft), var(--blue-soft)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .85);
    transition: transform .4s var(--ease), background .3s, color .3s;
}
.icon-tile-light { background: rgba(255, 255, 255, .16); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); margin-bottom: 1.2rem; }
.glass-hover:hover .icon-tile { transform: rotate(-6deg) scale(1.08); background: linear-gradient(140deg, var(--blue), var(--teal)); color: #fff; }

/* ---------- Scrolling services strip ---------- */
.marquee-sec { padding: clamp(24px, 3vw, 40px) 0 0; }
.marquee { overflow: hidden; padding: 14px 0 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.chip {
    display: inline-flex; align-items: center; gap: .65rem; margin-right: 16px; padding: .85rem 1.5rem; border-radius: 999px; white-space: nowrap;
    font-weight: 600; color: var(--navy); text-decoration: none;
    background: rgba(255, 255, 255, .66); border: 1px solid var(--glass-border);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 8px 22px rgba(10, 35, 66, .08);
    transition: transform .3s var(--ease), background .3s, color .3s, box-shadow .3s;
}
.chip i { font-size: 1.25rem; color: var(--blue); transition: color .3s; }
.chip-1 i { color: var(--teal); }
.chip-2 i { color: var(--sage-deep); }
.chip-3 i { color: var(--navy-2); }
.chip:hover { transform: translateY(-4px); background: linear-gradient(135deg, var(--blue), var(--teal)); color: #fff; box-shadow: 0 14px 30px rgba(30, 91, 154, .32); }
.chip:hover i { color: #fff; }

/* ---------- Sections ---------- */
.sec { padding: clamp(32px, 4vw, 56px) 0; }
.sec-tight { padding: clamp(24px, 4vw, 48px) 0; }
.sec-tint { background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .5) 14%, rgba(255, 255, 255, .5) 86%, rgba(255, 255, 255, 0)); }
.sec-head { max-width: 720px; margin: 0 auto clamp(1.5rem, 3vw, 2.4rem); }
.sec-title { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 600; margin-bottom: 1rem; }
.sec-title.sm { font-size: clamp(1.5rem, 2.5vw, 2.05rem); }
.lead-text { font-size: 1.22rem; color: var(--ink); }

/* reveal for card groups (only when JS is on) */
html.js [data-stagger]:not(.in) > * { opacity: 0; }
[data-stagger].in > * { animation: rise .75s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 70ms); }

/* image slots: photo when the file exists, gradient + icon until then */
.about-img i, .why-photo i { position: absolute; inset: 0; display: grid; place-items: center; font-size: 5.5rem; color: rgba(255, 255, 255, .38); }
.has-img > i { display: none; }

/* ---------- About ---------- */
.about-collage { position: relative; height: clamp(420px, 46vw, 580px); }
.about-img {
    position: absolute; overflow: hidden; border: 8px solid rgba(255, 255, 255, .85); box-shadow: var(--shadow-lg);
    background: var(--img) center / cover no-repeat, var(--about-bg);
    transition: transform .6s var(--ease);
}
.about-img-1 { --about-bg: linear-gradient(160deg, var(--blue), var(--teal)); left: 0; top: 0; width: 63%; height: 100%; border-radius: 999px 999px 32px 32px; }
.about-img-2 { --about-bg: linear-gradient(160deg, var(--sage), var(--teal)); right: 0; bottom: 0; width: 50%; height: 54%; border-radius: 32px; }
.about-collage:hover .about-img-1 { transform: translateY(-8px) rotate(-1deg); }
.about-collage:hover .about-img-2 { transform: translateY(8px) rotate(1.5deg); }
.about-badge { position: absolute; z-index: 3; right: 4%; top: 8%; display: flex; align-items: center; gap: .85rem; padding: .9rem 1.2rem; border-radius: 22px; animation: bob 6s ease-in-out infinite alternate; }
.about-badge i { font-size: 1.8rem; color: var(--teal); }
.about-badge strong { display: block; color: var(--navy); line-height: 1.2; }
.about-badge span { font-size: .88rem; color: var(--muted); }

.cred-list { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.4rem 0; padding: 0; }
.cred-list li {
    display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1rem; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--navy);
    background: rgba(255, 255, 255, .7); border: 1px solid var(--glass-border);
}
.cred-list i { color: var(--sage-deep); }
.stat-row { display: flex; flex-wrap: wrap; gap: 1rem 2.6rem; margin: 1.6rem 0 1.8rem; }
.stat strong { display: block; font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; line-height: 1; color: var(--blue); }
.stat > span { font-size: .95rem; color: var(--muted); }

/* ---------- Why choose (image centre, points both sides) ---------- */
.why-grid { display: grid; grid-template-columns: 1fr minmax(290px, 390px) 1fr; gap: 2.2rem; align-items: center; }
.why-col { display: flex; flex-direction: column; gap: 1.3rem; }
.why-item { display: flex; align-items: center; gap: 1.1rem; padding: 1.3rem 1.5rem; border-radius: 24px; }
.why-item h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.12rem; margin: 0 0 .25rem; }
.why-item p { margin: 0; font-size: .97rem; line-height: 1.5; }
.why-left .why-item { justify-content: flex-end; text-align: right; }
/* connector line from each card towards the centre image */
.why-item::after { content: ""; position: absolute; top: 50%; width: 2.2rem; height: 2px; }
.why-left .why-item::after { right: -2.2rem; background: linear-gradient(90deg, rgba(30, 91, 154, .55), transparent); }
.why-right .why-item::after { left: -2.2rem; background: linear-gradient(270deg, rgba(14, 140, 140, .55), transparent); }

.why-center { position: relative; width: 100%; padding: 0 0 6px; }
.why-center::before { content: ""; position: absolute; inset: -20px -20px -8px; border: 2px dashed rgba(30, 91, 154, .32); border-radius: 999px 999px 46px 46px; }
.why-photo {
    position: relative; overflow: hidden; aspect-ratio: 3 / 4; border-radius: 999px 999px 32px 32px; border: 8px solid rgba(255, 255, 255, .85); box-shadow: var(--shadow-lg);
    background: var(--img) center / cover no-repeat, linear-gradient(165deg, var(--blue), var(--teal) 62%, var(--sage));
}
.why-caption { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); padding: .7rem 1.3rem; border-radius: 999px; white-space: nowrap; color: var(--navy); }

/* ---------- Service cards ---------- */
.svc-card {
    display: flex; flex-direction: column; height: 100%; overflow: hidden; text-decoration: none; color: inherit;
    background: rgba(255, 255, 255, .62); border: 1px solid var(--glass-border); border-radius: 26px; box-shadow: var(--shadow);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.svc-card:hover { color: inherit; }
.svc-media { position: relative; overflow: hidden; aspect-ratio: 10 / 7; background: var(--svc-bg); }
.svc-media::before {
    content: ""; position: absolute; inset: 0; background: var(--img) center / cover no-repeat; transition: transform .8s var(--ease);
}
.svc-media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 82% 18%, rgba(255, 255, 255, .28), transparent 55%), linear-gradient(180deg, transparent 55%, rgba(10, 35, 66, .28)); }
.svc-card:hover .svc-media::before { transform: scale(1.09); }
.svc-c-0 { --svc-bg: linear-gradient(135deg, #1E5B9A, #0E8C8C); }
.svc-c-1 { --svc-bg: linear-gradient(135deg, #0E8C8C, #7DB88A); }
.svc-c-2 { --svc-bg: linear-gradient(135deg, #0A2342, #1E5B9A); }
.svc-c-3 { --svc-bg: linear-gradient(135deg, #7DB88A, #1E5B9A); }
.svc-icon {
    position: absolute; z-index: 2; left: 1.1rem; bottom: 1rem; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 18px; font-size: 1.6rem; color: var(--navy);
    background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
    transition: transform .45s var(--ease), background .3s, color .3s;
}
.svc-card:hover .svc-icon { transform: rotate(-8deg) scale(1.1); background: var(--blue); color: #fff; }
.svc-body { display: flex; flex-direction: column; flex: 1; padding: 1.3rem 1.5rem 1.6rem; }
.svc-body h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.18rem; margin: 0 0 .5rem; }
.svc-body p { font-size: .98rem; line-height: 1.55; margin: 0 0 1.1rem; }
.svc-more { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--blue); }
.svc-more i { transition: transform .3s var(--ease); }
.svc-card:hover .svc-more i { transform: translateX(6px); }

/* ---------- Home ICU ---------- */
.icu-panel {
    position: relative; display: grid; grid-template-columns: 1.08fr .92fr; overflow: hidden; border-radius: var(--r-xl); color: #fff;
    background: linear-gradient(135deg, #0A2342 0%, #123B6B 55%, #0E6E76 100%); box-shadow: 0 30px 70px rgba(10, 35, 66, .32);
}
.icu-panel::before { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(125, 184, 138, .35), transparent 68%); pointer-events: none; }
.icu-content { position: relative; z-index: 2; padding: clamp(1.8rem, 4vw, 3.6rem); }
.icu-content h2 { color: #fff; font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 600; margin-bottom: 1.1rem; }
.icu-content h2 span { display: block; margin-top: .35rem; font-family: var(--font-body); font-size: clamp(1.02rem, 1.5vw, 1.25rem); font-weight: 500; color: #9FF0E4; letter-spacing: 0; }
.icu-content p { color: rgba(255, 255, 255, .86); max-width: 56ch; }
.icu-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; margin: 1.6rem 0 1.9rem; padding: 0; }
.icu-points li {
    display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem; border-radius: 16px; font-weight: 600; font-size: .98rem;
    background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .2); transition: background .3s, transform .3s var(--ease);
}
.icu-points li:hover { background: rgba(255, 255, 255, .18); transform: translateX(5px); }
.icu-points i { font-size: 1.3rem; color: #7FE0D6; }
.icu-note { display: block; margin-top: 1.3rem; color: rgba(255, 255, 255, .68); font-size: .86rem; }
.icu-photo {
    position: relative; order: 2; min-height: 440px; background: var(--img) center / cover no-repeat, linear-gradient(160deg, #1E5B9A, #0E8C8C 70%, #7DB88A);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 42%); mask-image: linear-gradient(90deg, transparent 0%, #000 42%);
}

/* ---------- Panels ---------- */
.panel { padding: clamp(1.6rem, 3vw, 2.7rem); border-radius: 32px; }
.panel-navy { display: flex; flex-direction: column; align-items: flex-start; color: #fff; background: linear-gradient(150deg, #0A2342, #1E5B9A); box-shadow: var(--shadow-lg); }
.panel-navy h2 { color: #fff; }
.panel-navy p { color: rgba(255, 255, 255, .85); }
.panel-navy .btn-bhhc { margin-top: auto; }
.pill-list { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.4rem 0 1.8rem; padding: 0; }
.pill-list li {
    display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1.05rem; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--navy);
    background: rgba(255, 255, 255, .72); border: 1px solid var(--glass-border); transition: transform .3s var(--ease), background .3s;
}
.pill-list li:hover { transform: translateY(-3px); background: #fff; }
.pill-list i { color: var(--teal); }

/* ---------- Location cards ---------- */
.loc-card {
    position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; min-height: 450px; padding: 1.4rem;
    border-radius: 30px; color: #fff; text-decoration: none; background: var(--loc-bg); box-shadow: var(--shadow-lg);
    transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.loc-card::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--img) center / cover no-repeat; transition: transform .9s var(--ease); }
.loc-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 24, 48, .04) 22%, rgba(6, 24, 48, .82) 100%); }
.loc-card:hover { color: #fff; transform: translateY(-8px); box-shadow: 0 32px 70px rgba(10, 35, 66, .3); }
.loc-card:hover::before { transform: scale(1.09); }
.loc-c-0 { --loc-bg: linear-gradient(160deg, #1E5B9A, #0A2342); }
.loc-c-1 { --loc-bg: linear-gradient(160deg, #0E8C8C, #0A4A55); }
.loc-c-2 { --loc-bg: linear-gradient(160deg, #7DB88A, #2D7A5A); }
.loc-c-3 { --loc-bg: linear-gradient(160deg, #2B6CB0, #0E8C8C); }
.loc-top { display: flex; align-items: flex-start; }
.loc-badge { padding: .35rem .95rem; border-radius: 999px; font-size: .85rem; font-weight: 600; background: rgba(255, 255, 255, .22); border: 1px solid rgba(255, 255, 255, .45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.loc-pin { margin-left: auto; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; font-size: 1.15rem; background: rgba(255, 255, 255, .22); border: 1px solid rgba(255, 255, 255, .45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform .4s var(--ease), background .3s, color .3s; }
.loc-card:hover .loc-pin { transform: translateY(-4px) scale(1.1); background: #fff; color: var(--blue); }
.loc-body h3 { color: #fff; font-size: 2.1rem; font-weight: 600; margin-bottom: .4rem; }
.loc-body p { color: rgba(255, 255, 255, .9); font-size: .98rem; margin-bottom: .9rem; }
.loc-areas { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; padding: 0; }
.loc-areas li { padding: .2rem .75rem; border-radius: 999px; font-size: .82rem; font-weight: 500; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .32); }
.loc-more { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; }
.loc-more i { transition: transform .3s var(--ease); }
.loc-card:hover .loc-more i { transform: translateX(6px); }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; margin: 0; padding: 0; }
.step { position: relative; padding: 1.9rem 1.6rem 1.7rem; }
.step-no { position: absolute; top: 1rem; right: 1.3rem; font-family: var(--font-display); font-size: 2.8rem; font-weight: 700; line-height: 1; color: rgba(30, 91, 154, .16); }
.step h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.15rem; margin: 1.1rem 0 .4rem; }
.step p { margin: 0; font-size: .98rem; line-height: 1.55; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 56px; left: 100%; width: 1.6rem; border-top: 2px dashed rgba(30, 91, 154, .38); }

/* ---------- FAQ ---------- */
.faq .accordion-header { font-family: var(--font-body); }
.faq .accordion-item { margin-bottom: .9rem; overflow: hidden; border-radius: 20px !important; border: 1px solid var(--glass-border); background: var(--glass); }
.faq .accordion-button {
    padding: 1.2rem 1.5rem; font-weight: 700; font-size: 1.05rem; color: var(--navy); background: transparent; box-shadow: none; gap: 1rem;
}
.faq .accordion-button:not(.collapsed) { color: var(--blue); background: rgba(255, 255, 255, .55); }
.faq .accordion-button:focus-visible { outline: 3px solid var(--teal); outline-offset: -3px; }
.faq .accordion-body { padding: .4rem 1.5rem 1.4rem; color: var(--muted); }

/* ---------- Enquiry ---------- */
.enquire-panel {
    position: relative; overflow: hidden; padding: clamp(1.6rem, 4vw, 3.6rem); border-radius: 40px; color: #fff;
    background: linear-gradient(135deg, #0A2342, #1E5B9A 62%, #0E8C8C); box-shadow: 0 30px 70px rgba(10, 35, 66, .32);
}
.enquire-panel::before { content: ""; position: absolute; width: 560px; height: 560px; left: -180px; bottom: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(125, 184, 138, .38), transparent 68%); pointer-events: none; }
.enquire-panel > * { position: relative; }
.enquire-panel h2 { color: #fff; font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 600; }
.enquire-panel p { color: rgba(13, 14, 16, 0.86); }
.enq-points { margin: 0; padding: 0; }
.enq-points li { display: flex; align-items: center; gap: .7rem; padding: .3rem 0; color: rgba(255, 255, 255, .92); }
.enq-points i { color: #8FE3C3; }
.enq-form { padding: clamp(1.3rem, 3vw, 2.1rem); border-radius: 30px; color: var(--ink); background: rgba(255, 255, 255, .93); box-shadow: 0 24px 60px rgba(0, 0, 0, .22); }
.enq-form label { display: block; margin-bottom: .35rem; font-weight: 600; font-size: .93rem; color: var(--navy); }
.enq-form .opt { font-weight: 400; color: var(--muted); }
.enq-form .form-control, .enq-form .form-select { padding: .8rem 1rem; border-radius: 14px; border: 1.5px solid #CDDAE6; background-color: #fff; color: var(--ink); }
.enq-form .form-control:focus, .enq-form .form-select:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(14, 140, 140, .16); }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { min-height: 1.5em; margin: .8rem 0 0; font-size: .96rem; font-weight: 600; color: var(--teal); }
.form-note-error { color: #C0392B; }
.top-banner { position: relative; z-index: 1025; text-align: center; padding: .7rem 1rem; font-weight: 600; font-size: .95rem; color: #fff; }
.top-banner-ok { background: var(--wa); }
.top-banner-error { background: #C0392B; }
.top-banner a { color: #fff; text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer {
    position: relative; display: flow-root; margin-top: clamp(40px, 5vw, 64px); padding-bottom: 1.4rem; color: rgba(255, 255, 255, .78);
    background: linear-gradient(180deg, #0B2A4F 0%, #071A33 100%); border-radius: 44px 44px 0 0;
}
.footer-cta {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem;
    margin: -52px 0 3.2rem; padding: clamp(1.4rem, 3vw, 2.2rem) clamp(1.4rem, 3vw, 2.6rem); border-radius: 30px; color: #fff;
    background: linear-gradient(120deg, var(--teal), var(--blue)); box-shadow: 0 24px 56px rgba(10, 35, 66, .34);
}
.footer-cta h2 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 2rem); margin: 0 0 .3rem; }
.footer-cta p { color: rgba(255, 255, 255, .9); margin: 0; }
.footer-logo img { width: 150px; height: auto; border-radius: 26px; box-shadow: 0 14px 34px rgba(0, 0, 0, .35); transition: transform .4s var(--ease); }
.footer-logo:hover img { transform: rotate(-2deg) scale(1.04); }
.footer-about { margin: 1.3rem 0 1.3rem; max-width: 40ch; color: rgba(255, 255, 255, .72); font-size: .98rem; }
.footer-title { font-family: var(--font-body); font-weight: 700; font-size: 1.08rem; color: #fff; margin-bottom: 1.1rem; }
.footer-links { padding: 0; margin: 0; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a, .footer-contact a { color: rgba(255, 255, 255, .76); text-decoration: none; transition: color .25s, padding .25s var(--ease); }
.footer-links a:hover { color: #fff; padding-left: 6px; }
.footer-contact { padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: .8rem; margin-bottom: .85rem; }
.footer-contact i { color: #7FE0D6; margin-top: .2rem; }
.footer-contact a:hover { color: #fff; }
.social-list a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: #fff; text-decoration: none; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); transition: background .3s, transform .3s var(--ease); }
.social-list a:hover { background: var(--teal); transform: translateY(-4px); color: #fff; }
.footer-disclaimer { display: flex; gap: .8rem; margin-top: 3rem; padding: 1.2rem 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; }
.footer-disclaimer i { color: #7FE0D6; margin-top: .15rem; }
.footer-disclaimer p { margin: 0; color: rgba(255, 255, 255, .62); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .92rem; }
.footer-bottom a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; }

/* floating buttons + mobile bar */
.float-wa {
    position: fixed; z-index: 1035; right: 26px; bottom: 26px; width: 60px; height: 60px; align-items: center; justify-content: center; border-radius: 50%;
    font-size: 1.9rem; color: #fff; text-decoration: none; background: var(--wa); box-shadow: 0 12px 30px rgba(30, 158, 82, .45); transition: transform .3s var(--ease);
}
.float-wa::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.6s ease-out infinite; }
.float-wa:hover { transform: scale(1.1); color: #fff; }
@keyframes ping { from { transform: scale(1); opacity: .7; } to { transform: scale(1.7); opacity: 0; } }
.to-top {
    position: fixed; z-index: 1035; right: 34px; bottom: 100px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--navy);
    background: rgba(255, 255, 255, .85); border: 1px solid var(--glass-border); box-shadow: var(--shadow);
    opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .3s, transform .3s var(--ease), background .3s;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: #fff; transform: translateY(-3px); }

.mobile-bar {
    position: fixed; z-index: 1035; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; padding: .55rem .65rem calc(.55rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-top: 1px solid var(--glass-border); box-shadow: 0 -10px 30px rgba(10, 35, 66, .12);
}
.mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: .1rem; padding: .5rem .3rem; border-radius: 16px; font-weight: 600; font-size: .84rem; line-height: 1.2; color: #fff; text-decoration: none; background: var(--blue); }
.mobile-bar a i { font-size: 1.25rem; }
.mobile-bar .wa { background: var(--wa); }
.mobile-bar .enq { background: var(--navy); }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (min-width: 992px) {
    .hero-controls { right: 110px; }   /* keep clear of the floating WhatsApp button */
}
@media (max-width: 1199.98px) {
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .step:nth-child(2)::after { display: none; }
}
@media (max-width: 991.98px) {
    body { padding-bottom: 82px; }
    .to-top { right: 16px; bottom: 96px; }
    .why-grid { grid-template-columns: 1fr; gap: 1.6rem; }
    .why-center { order: -1; max-width: 340px; margin: 0 auto 1rem; }
    .why-item::after { display: none; }
    .why-left .why-item { flex-direction: row-reverse; justify-content: flex-end; text-align: left; }
    .icu-panel { grid-template-columns: 1fr; }
    .icu-photo { order: -1; min-height: 240px; }
    .icu-photo { -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
.hero-shade { background: linear-gradient(180deg, rgba(6, 24, 48, .25) 0%, rgba(6, 24, 48, .85) 100%); }}
@media (max-width: 767.98px) {
    .container-wide { padding-inline: 16px; }
    .hero { margin: 4px 8px 0; border-radius: 28px; }
    .hero .carousel-item { min-height: 560px; }
.hero-content { align-items: flex-end; min-height: 560px; padding-top: 24px; padding-bottom: 110px; }    .hero-actions .btn-bhhc { flex: 1 1 auto; justify-content: center; }
    .hero-actions .btn-bhhc-primary { flex-basis: 100%; }
    .hero-controls { left: 0; right: 0; justify-content: center; bottom: 84px; }
    .trust-strip { margin-top: -56px; }
    .trust-item { flex-direction: column; align-items: flex-start; gap: .6rem; padding: .9rem; }
    .trust-item span:not(.icon-tile) { display: none; }
    .icon-tile { width: 48px; height: 48px; font-size: 1.35rem; }
    .about-badge { right: 0; }
    .steps { grid-template-columns: 1fr; gap: 1rem; }
    .step::after { display: none !important; }
    .icu-points { grid-template-columns: 1fr; }
    .loc-card { min-height: 320px; }
    .footer-cta { margin-top: -44px; }
    .footer-bottom { flex-direction: column; }

    /* spacing reductions */
    .sec { padding: 28px 0; }
    .sec-tight { padding: 16px 0; }
    .sec-head { margin-bottom: 1.25rem; }
    .marquee-sec { padding-top: 24px; }
    .marquee { padding: 6px 0 10px; }
    .about-collage { height: 360px; }
    .why-grid { gap: 1rem; }
    .why-col { gap: .8rem; }
    .site-footer { margin-top: 40px; }
    .footer-disclaimer { margin-top: 2rem; }
}
@media (max-width: 575.98px) {
    .brand-text strong { font-size: 1.3rem; }
    .svc-media { aspect-ratio: 16 / 8; }
    .icu-content .btn-bhhc { width: 100%; justify-content: center; white-space: normal; text-align: center; }
    .hero-btn:not(.hero-pause) { display: none; }
    .why-caption { font-size: .95rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .marquee { overflow-x: auto; }
    .marquee-track { animation: none; }
    html.js [data-stagger]:not(.in) > * { opacity: 1; }
}
