/* =========================================================
   Jeyachandra Hospital — public website theme
   Palette aligned to the brand logo (medical blue + green)
   ========================================================= */
:root {
    --jch-primary: #0b57c4;        /* brand blue (logo cross) */
    --jch-primary-dark: #0842a0;
    --jch-primary-soft: #eaf1fc;
    --jch-accent: #1f9d57;         /* brand green (logo figures/leaf) */
    --jch-accent-dark: #167a43;
    --jch-accent-soft: #e7f6ed;
    --jch-navy: #0b2545;           /* footer / deep text */
    --jch-ink: #1f2a37;
    --jch-muted: #64748b;
    --jch-bg-soft: #f4f8fd;
    --jch-line: #e6edf5;
    --jch-radius: 16px;
    --jch-radius-sm: 12px;
    --jch-shadow: 0 10px 30px rgba(11, 37, 69, .08);
    --jch-shadow-lg: 0 22px 48px rgba(11, 37, 69, .14);
}

* { scroll-behavior: smooth; }

html { background: #fff; }
body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--jch-ink);
    background: transparent;
}

/* Roaming blurred violet circles that follow the cursor (behind all content) */
.jch-drops {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    opacity: .4;
}
.jch-drops span {
    position: absolute; top: 0; left: 0;
    width: var(--s); height: var(--s);
    margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 85, 247, .55), rgba(124, 58, 237, 0) 70%);
    filter: blur(22px);
    will-change: transform;
    transform: translate(-300px, -300px);
}
.jch-drops span:nth-child(1) { --s: 150px; }
.jch-drops span:nth-child(2) { --s: 130px; }
.jch-drops span:nth-child(3) { --s: 115px; }
.jch-drops span:nth-child(4) { --s: 100px; }
.jch-drops span:nth-child(5) { --s: 88px; }
.jch-drops span:nth-child(6) { --s: 76px; }
.jch-drops span:nth-child(7) { --s: 64px; }
@media (prefers-reduced-motion: reduce) {
    .jch-drops { opacity: .28; }
}

h1, h2, h3, h4, h5, h6, .navbar-brand { font-family: 'Poppins', 'Inter', sans-serif; }

/* ---------- Bootstrap colour overrides ---------- */
.text-primary { color: var(--jch-primary) !important; }
.text-accent { color: var(--jch-accent) !important; }
.bg-soft {
    background:
        radial-gradient(600px 300px at 100% 0%, rgba(31, 157, 87, .07), transparent 60%),
        radial-gradient(700px 400px at 0% 100%, rgba(11, 87, 196, .07), transparent 60%),
        var(--jch-bg-soft) !important;
}

.btn { border-radius: 50px; font-weight: 600; }
.btn-lg { padding: .7rem 1.6rem; }
.btn-primary { background-color: var(--jch-primary); border-color: var(--jch-primary); }
.btn-primary:hover, .btn-primary:focus {
    background-color: var(--jch-primary-dark);
    border-color: var(--jch-primary-dark);
    box-shadow: 0 8px 20px rgba(11, 87, 196, .28);
}
.btn-outline-primary { color: var(--jch-primary); border-color: var(--jch-primary); }
.btn-outline-primary:hover { background-color: var(--jch-primary); border-color: var(--jch-primary); }
.btn-accent { background-color: var(--jch-accent); border-color: var(--jch-accent); color: #fff; }
.btn-accent:hover { background-color: var(--jch-accent-dark); border-color: var(--jch-accent-dark); color: #fff; }
.btn-light { color: var(--jch-primary); }
.btn-light:hover { color: var(--jch-primary-dark); }

a { color: var(--jch-primary); }

/* ---------- Top utility bar ---------- */
.jch-topbar {
    background: var(--jch-navy);
    color: rgba(255, 255, 255, .82);
    font-size: .85rem;
    padding: .5rem 0;
}
.jch-topbar-link { color: rgba(255, 255, 255, .82); text-decoration: none; transition: color .2s; }
.jch-topbar-link:hover { color: #fff; }
.jch-topbar-divider { width: 1px; height: 18px; background: rgba(255, 255, 255, .2); }
.jch-topbar-social a {
    color: rgba(255, 255, 255, .82);
    width: 26px; height: 26px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; transition: .2s;
}
.jch-topbar-social a:hover { color: #fff; background: var(--jch-primary); }

/* ---------- Navbar ---------- */
.jch-navbar {
    background: #fff;
    box-shadow: 0 2px 18px rgba(11, 37, 69, .06);
    padding: .55rem 0;
    transition: padding .25s ease, box-shadow .25s ease;
    z-index: 1030;
}
.jch-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.jch-navbar.scrolled { padding: .3rem 0; box-shadow: 0 6px 22px rgba(11, 37, 69, .12); }
.navbar-brand { text-decoration: none; }
.jch-logo { height: 52px; width: auto; transition: height .25s ease; }
.jch-navbar.scrolled .jch-logo { height: 44px; }
.jch-brand-text { display: inline-flex; flex-direction: column; line-height: 1.05; margin-left: .6rem; }
.jch-brand-name { font-weight: 800; font-size: 1.15rem; color: var(--jch-primary); letter-spacing: .2px; }
.jch-brand-sub { font-weight: 600; font-size: .72rem; color: var(--jch-accent); text-transform: uppercase; letter-spacing: .22em; }

/* Menu list (desktop inline row) */
.jch-menu-list { list-style: none; display: flex; align-items: center; gap: .1rem; margin: 0; padding: 0; }
.jch-menu-list .nav-link {
    color: var(--jch-ink);
    font-weight: 600;
    font-size: .95rem;
    padding: .5rem .95rem;
    position: relative;
    display: flex; align-items: center;
    text-decoration: none;
}
.jch-menu-list .nav-link::after {
    content: "";
    position: absolute; left: .95rem; right: .95rem; bottom: .28rem;
    height: 2px; background: var(--jch-primary);
    transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.jch-menu-list .nav-link:hover { color: var(--jch-primary); }
.jch-menu-list .nav-link:hover::after { transform: scaleX(1); }
.jch-menu-btn { margin-left: .6rem; list-style: none; }

/* Animated hamburger toggler */
.jch-toggler {
    border: 0; background: transparent; padding: 0;
    width: 46px; height: 46px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    transition: background .2s;
}
.jch-toggler:hover { background: var(--jch-primary-soft); }
.jch-burger { position: relative; display: block; width: 26px; height: 18px; }
.jch-burger span {
    position: absolute; left: 0; height: 3px; width: 100%;
    background: var(--jch-primary); border-radius: 3px;
    transition: transform .3s ease, opacity .2s ease, top .3s ease, width .3s ease;
}
.jch-burger span:nth-child(1) { top: 0; }
.jch-burger span:nth-child(2) { top: 7.5px; width: 80%; }
.jch-burger span:nth-child(3) { top: 15px; }
.jch-toggler.is-open .jch-burger span:nth-child(1) { top: 7.5px; transform: rotate(45deg); }
.jch-toggler.is-open .jch-burger span:nth-child(2) { opacity: 0; width: 100%; }
.jch-toggler.is-open .jch-burger span:nth-child(3) { top: 7.5px; transform: rotate(-45deg); }

/* Mobile drawer bits (hidden on desktop) */
.jch-offcanvas-logo { height: 54px; width: auto; }
.jch-close {
    border: 0; background: var(--jch-primary-soft); color: var(--jch-primary);
    width: 40px; height: 40px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.1rem; transition: .2s;
}
.jch-close:hover { background: var(--jch-primary); color: #fff; transform: rotate(90deg); }
.jch-menu-foot > a {
    display: flex; align-items: center; gap: .6rem;
    color: var(--jch-muted); text-decoration: none; font-size: .92rem;
    padding: .35rem 0;
}
.jch-menu-foot > a i { color: var(--jch-primary); }
.jch-offcanvas-social { display: flex; gap: .5rem; margin-top: .8rem; }
.jch-offcanvas-social a {
    width: 38px; height: 38px; border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--jch-primary-soft); color: var(--jch-primary); transition: .2s;
}
.jch-offcanvas-social a:hover { background: var(--jch-primary); color: #fff; }

/* Mobile slide-in drawer (body-level element) */
.jch-drawer {
    position: fixed; top: 0; right: 0; z-index: 1055;
    width: 310px; max-width: 86vw; height: 100vh; height: 100dvh;
    background: #fff;
    box-shadow: -14px 0 44px rgba(11, 37, 69, .22);
    transform: translateX(105%);
    transition: transform .34s cubic-bezier(.4, 0, .2, 1);
    display: flex; flex-direction: column; overflow-y: auto;
}
.jch-drawer.open { transform: translateX(0); }
.jch-menu-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--jch-line);
}
.jch-drawer .jch-menu-list { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem; }
.jch-drawer .jch-menu-list .nav-link { padding: .95rem .25rem; font-size: 1.05rem; border-bottom: 1px solid var(--jch-line); }
.jch-drawer .jch-menu-list .nav-link::after { display: none; }
.jch-drawer .jch-menu-list .nav-link i { color: var(--jch-primary); }
.jch-drawer .jch-menu-btn { margin: 1.1rem 1.25rem 0; }
.jch-drawer .jch-menu-btn .btn { width: 100%; }
.jch-menu-foot { margin-top: auto; padding: 1.25rem; border-top: 1px solid var(--jch-line); }
.jch-backdrop {
    position: fixed; inset: 0; z-index: 1050;
    background: rgba(11, 37, 69, .5);
    opacity: 0; visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}
.jch-backdrop.open { opacity: 1; visibility: visible; }

/* ---------- Section helpers ---------- */
.section { padding: 5rem 0; }
.section-eyebrow {
    display: inline-block;
    color: var(--jch-accent);
    font-weight: 700;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .16em;
    margin-bottom: .6rem;
}
.section-title { font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--jch-navy); }
.section-sub { color: var(--jch-muted); max-width: 620px; margin: 0 auto; }
.title-underline { width: 64px; height: 4px; border-radius: 4px; background: var(--jch-accent); margin: .9rem auto 0; }
.title-underline.start { margin-left: 0; }

/* ---------- Animated moving gradient (Grafana-style aurora) ---------- */
@keyframes jchGradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes jchFloatA {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(50px, -40px) scale(1.2); }
}
@keyframes jchFloatB {
    0%, 100% { transform: translate(0, 0) scale(1.1); }
    50%      { transform: translate(-45px, 35px) scale(1); }
}
@keyframes jchFloatC {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(30px, 45px) scale(1.25); }
}

.jch-animated {
    background: linear-gradient(125deg, #0842a0, #0b57c4, #1573d6, #12b3a6, #1f9d57, #0b57c4);
    background-size: 320% 320%;
    animation: jchGradientShift 18s ease infinite;
}

/* Floating blurred colour orbs that drift over the gradient */
.jch-orbs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.jch-orbs span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.jch-orbs span:nth-child(1) { width: 360px; height: 360px; background: #1f9d57; top: -70px; left: -40px; animation: jchFloatA 15s ease-in-out infinite; }
.jch-orbs span:nth-child(2) { width: 320px; height: 320px; background: #38bdf8; bottom: -90px; right: 8%; animation: jchFloatB 19s ease-in-out infinite; }
.jch-orbs span:nth-child(3) { width: 280px; height: 280px; background: #6ee7a8; top: 26%; right: -70px; animation: jchFloatC 22s ease-in-out infinite; }
.jch-orbs span:nth-child(4) { width: 240px; height: 240px; background: #7cc6ff; bottom: 12%; left: 22%; animation: jchFloatA 24s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
    .jch-animated { animation: none; }
    .jch-orbs span { animation: none; }
}

/* ---------- Hero ---------- */
.jch-hero {
    position: relative;
    color: #fff;
    overflow: hidden;
    background: var(--jch-primary-dark);
}
/* Real hospital building photo behind everything */
.jch-hero-bg {
    position: absolute; inset: 0; z-index: 0;
    width: 100%; height: 100%;
    object-fit: cover; object-position: center;
}
/* Translucent moving-gradient veil over the photo (keeps the aurora effect) */
.jch-hero-veil {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(125deg,
        rgba(8, 66, 160, .92), rgba(11, 87, 196, .86), rgba(21, 115, 214, .82),
        rgba(18, 179, 166, .80), rgba(31, 157, 87, .86), rgba(11, 87, 196, .92));
    background-size: 320% 320%;
    animation: jchGradientShift 18s ease infinite;
}
.jch-hero::before {
    content: "";
    position: absolute; inset: 0; z-index: 2;
    background-image: radial-gradient(rgba(255, 255, 255, .10) 1.5px, transparent 1.5px);
    background-size: 26px 26px;
    opacity: .5;
    pointer-events: none;
}
.jch-hero .jch-orbs { z-index: 2; }
.jch-hero .container { position: relative; z-index: 3; }
.jch-wave { position: relative; z-index: 4; }

@media (prefers-reduced-motion: reduce) {
    .jch-hero-veil { animation: none; }
}

/* Hero auto-scrolling image slider */
.hero-slider {
    position: relative;
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
    z-index: 2;
}
/* Soft coloured design panel behind the slider */
.hero-slider .slider-backdrop {
    position: absolute; z-index: 0;
    inset: -26px -34px -34px -22px;
    background: linear-gradient(150deg, rgba(31, 157, 87, .45), rgba(56, 189, 248, .30) 55%, rgba(124, 198, 255, .18));
    border-radius: 54% 46% 52% 48% / 56% 50% 50% 44%;
    filter: blur(3px);
    animation: blobMorph 16s ease-in-out infinite;
}
/* Decorative dot cluster (top-left) */
.hero-slider::before {
    content: "";
    position: absolute; z-index: 0;
    top: -18px; left: -24px;
    width: 118px; height: 118px;
    background-image: radial-gradient(#6ee7a8 2.2px, transparent 2.4px);
    background-size: 16px 16px;
    opacity: .7;
    transform: rotate(8deg);
}
/* Decorative dashed organic ring (bottom-right) */
.hero-slider::after {
    content: "";
    position: absolute; z-index: 0;
    bottom: -22px; right: -18px;
    width: 140px; height: 140px;
    border: 3px dashed rgba(255, 255, 255, .55);
    border-radius: 46% 54% 54% 46% / 55% 52% 48% 45%;
    animation: blobMorph 14s ease-in-out infinite;
}
@keyframes blobMorph {
    0%, 100% { border-radius: 46% 54% 54% 46% / 55% 52% 48% 45%; }
    50%      { border-radius: 54% 46% 48% 52% / 46% 54% 46% 54%; }
}
/* Uneven leaf-shaped frame with white outline */
.hero-slider .carousel,
.hero-slider .carousel-inner {
    position: relative;
    z-index: 2;
    border-radius: 16px 90px 16px 90px;
    overflow: hidden;
}
.hero-slider .carousel {
    box-shadow: var(--jch-shadow-lg);
    border: 6px solid #fff;
    background: #fff;
}
/* Small accent blob peeking from the top */
.hero-slider .slide-accent {
    position: absolute; z-index: 3;
    top: -14px; left: 42%;
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--jch-accent);
    box-shadow: 0 6px 16px rgba(31, 157, 87, .5);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1rem;
}
.hero-slider .carousel-item img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}
.hero-slider .carousel-item .slide-cap {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 2.6rem 1.2rem 1rem;
    background: linear-gradient(transparent, rgba(8, 27, 58, .78));
    color: #fff; font-family: 'Poppins', sans-serif; font-weight: 600;
}
.hero-slider .carousel-indicators { margin-bottom: .7rem; }
.hero-slider .carousel-indicators [data-bs-target] {
    width: 9px; height: 9px; border-radius: 50%;
    border: 0; opacity: 1; background: rgba(255, 255, 255, .55);
    transition: width .3s ease, background .3s ease;
}
.hero-slider .carousel-indicators .active { width: 24px; border-radius: 6px; background: #fff; }

/* Floating stat pills over the slider */
.pill {
    position: absolute;
    z-index: 6;
    background: #fff;
    border-radius: 14px;
    padding: .6rem .9rem;
    box-shadow: var(--jch-shadow);
    display: flex; align-items: center; gap: .6rem;
    animation: pillFloat 4s ease-in-out infinite;
}
@keyframes pillFloat { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-9px);} }
.pill i { font-size: 1.35rem; color: var(--jch-accent); }
.pill .n { font-weight: 800; font-family: 'Poppins', sans-serif; color: var(--jch-navy); line-height: 1; font-size: 1.05rem; }
.pill small { color: var(--jch-muted); font-size: .72rem; }
.hero-slider .pill.top-left { top: 12%; left: -16px; }
.hero-slider .pill.bottom-right { bottom: 18%; right: -14px; }

@media (prefers-reduced-motion: reduce) {
    .pill { animation: none; }
}
.hero-badge {
    display: inline-flex; align-items: center; gap: .5rem;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .22);
    padding: .4rem 1rem; border-radius: 50px;
    font-size: .85rem; font-weight: 600; margin-bottom: 1.3rem;
}
.hero-title { font-weight: 800; font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.12; }
.hero-title .accent { color: #8ff0bf; }
.hero-lead { font-size: 1.1rem; color: rgba(255, 255, 255, .9); max-width: 560px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 2rem; }
.hero-trust div { display: flex; align-items: center; gap: .55rem; font-weight: 500; font-size: .95rem; }
.hero-trust i { color: #8ff0bf; font-size: 1.25rem; }

/* Hero side visual card */
.hero-visual {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 24px;
    padding: 2rem;
    backdrop-filter: blur(4px);
}
.hero-visual .logo-plate {
    background: #fff; border-radius: 20px; padding: 1.5rem;
    box-shadow: var(--jch-shadow-lg);
}
.hero-visual .logo-plate img { width: 100%; max-width: 230px; display: block; margin: 0 auto; }

/* wave divider */
.jch-wave { display: block; width: 100%; height: auto; margin-top: -1px; }

/* ---------- Overlapping quick-help cards ---------- */
.help-cards { margin-top: -4.5rem; position: relative; z-index: 3; }
.help-card {
    background: #fff;
    border-radius: var(--jch-radius);
    padding: 1.75rem;
    box-shadow: var(--jch-shadow);
    height: 100%;
    border-top: 4px solid transparent;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.help-card:hover { transform: translateY(-6px); box-shadow: var(--jch-shadow-lg); border-top-color: var(--jch-accent); }
.help-card .icon-badge { margin-bottom: 1rem; }
.help-card h5 { font-weight: 700; color: var(--jch-navy); }
.help-card p { color: var(--jch-muted); margin-bottom: 0; font-size: .95rem; }

/* ---------- Icon badge ---------- */
.icon-badge {
    width: 62px; height: 62px; border-radius: 16px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.7rem; background: var(--jch-primary-soft); color: var(--jch-primary);
}
.icon-badge.green { background: var(--jch-accent-soft); color: var(--jch-accent); }
.icon-circle {
    width: 74px; height: 74px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 2rem; background: var(--jch-primary-soft); color: var(--jch-primary);
    transition: .25s;
}

/* ---------- Stats band ---------- */
.jch-stats { color: #fff; }
.jch-stats:not(.jch-animated) { background: var(--jch-navy); }
.stat-item .stat-num { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 2.5rem; line-height: 1; }
.stat-item .stat-num .text-accent { color: #6ee7a8 !important; }
.stat-item p { color: rgba(255, 255, 255, .72); margin: .4rem 0 0; }
.stat-item i { color: #6ee7a8; font-size: 1.6rem; }

/* ---------- Services marquee (auto scroll-x) ---------- */
.jch-marquee {
    overflow: hidden;
    padding: 1rem 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.jch-marquee-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: jchMarquee 48s linear infinite;
}
.jch-marquee:hover .jch-marquee-track { animation-play-state: paused; }
.jch-marquee-track .feature-card { flex: 0 0 258px; width: 258px; }
@keyframes jchMarquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .jch-marquee-track { animation: none; }
    .jch-marquee { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
}

/* ---------- Cards (services / feature) ---------- */
.feature-card {
    background: #fff;
    border: 1px solid var(--jch-line);
    border-radius: var(--jch-radius);
    padding: 2rem 1.5rem;
    height: 100%;
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--jch-shadow-lg);
    border-color: transparent;
}
.feature-card:hover .icon-circle { background: var(--jch-primary); color: #fff; }
.feature-card h5, .feature-card h6 { font-weight: 700; color: var(--jch-navy); margin-top: 1rem; }
.feature-card p { color: var(--jch-muted); font-size: .93rem; margin-bottom: 0; }
.feature-card .arrow { color: var(--jch-primary); font-weight: 600; opacity: 0; transition: opacity .25s; }
.feature-card:hover .arrow { opacity: 1; }

/* ---------- Doctor image tiles (glass caption) ---------- */
.doc-tile {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    height: 460px;
    box-shadow: var(--jch-shadow);
}
.doc-tile img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform .6s ease;
}
.doc-tile:hover img { transform: scale(1.06); }
/* Neutral avatar shown when a doctor has no uploaded photo */
.doc-tile img.doc-ph {
    object-fit: contain;
    padding: 2.6rem 2rem 5.5rem;
    background: linear-gradient(160deg, var(--jch-primary-soft), var(--jch-accent-soft));
}
.doc-tile:hover img.doc-ph { transform: none; }
.doc-tile::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 52%, rgba(8, 27, 58, .38));
    pointer-events: none;
}
.doc-glass {
    position: absolute; left: 50%; bottom: 22px;
    transform: translateX(-50%);
    width: 84%;
    text-align: center;
    padding: .95rem 1.1rem 1.05rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .4);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    backdrop-filter: blur(12px) saturate(160%);
    box-shadow: 0 12px 30px rgba(8, 27, 58, .28);
    color: #fff;
    z-index: 2;
    transition: transform .35s ease;
}
.doc-tile:hover .doc-glass { transform: translateX(-50%) translateY(-6px); }
.doc-glass h5 {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    margin: 0;
    color: #fff;
    font-size: 1.35rem;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .4);
}
.doc-glass span {
    display: block;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: rgba(255, 255, 255, .92);
    margin-top: .3rem;
}
/* Secondary line under the specialization (e.g. "Founder - ...", degrees) */
.doc-glass span.doc-note {
    text-transform: none;
    letter-spacing: .02em;
    font-size: .76rem;
    margin-top: .15rem;
    color: rgba(255, 255, 255, .82);
}
@media (max-width: 575.98px) {
    .doc-tile { height: 380px; }
}

/* ---------- Doctor cards ---------- */
.doctor-card {
    background: #fff;
    border: 1px solid var(--jch-line);
    border-radius: var(--jch-radius);
    overflow: hidden;
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease;
    height: 100%;
}
.doctor-card:hover { transform: translateY(-6px); box-shadow: var(--jch-shadow-lg); }
.doctor-card .doc-photo {
    height: 130px;
    background: linear-gradient(135deg, var(--jch-primary-soft), var(--jch-accent-soft));
    display: flex; align-items: flex-end; justify-content: center;
}
.doctor-card .doc-avatar {
    width: 96px; height: 96px; border-radius: 50%;
    object-fit: cover; border: 4px solid #fff; margin-bottom: -48px;
    box-shadow: var(--jch-shadow);
    background: #fff;
}
.doctor-card .doc-avatar.placeholder {
    display: flex; align-items: center; justify-content: center;
    color: var(--jch-primary); font-size: 3rem;
}
.doctor-card .card-body { padding: 3.4rem 1rem 1.5rem; }
.doctor-card h6 { font-weight: 700; color: var(--jch-navy); margin-bottom: .15rem; }
.doctor-card .spec { color: var(--jch-accent); font-weight: 600; font-size: .85rem; }
.doctor-card .qual { color: var(--jch-muted); font-size: .8rem; }
.doctor-card .doc-social a {
    color: var(--jch-muted); margin: 0 .3rem; font-size: 1rem; transition: color .2s;
}
.doctor-card .doc-social a:hover { color: var(--jch-primary); }

/* ---------- Why choose / about media ---------- */
.about-media {
    position: relative; border-radius: 22px; overflow: hidden;
    min-height: 400px;
    box-shadow: var(--jch-shadow-lg);
}
.about-media > img { width: 100%; height: 100%; min-height: 400px; object-fit: cover; display: block; }
.about-media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(8, 66, 160, .35));
}
.about-badge {
    position: absolute; bottom: 22px; left: 22px; z-index: 2;
    background: #fff; border-radius: 16px; padding: 1rem 1.3rem;
    box-shadow: var(--jch-shadow); display: flex; align-items: center; gap: .9rem;
}
.about-badge .num { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.8rem; color: var(--jch-primary); line-height: 1; }
.about-badge .lbl { font-size: .8rem; color: var(--jch-muted); }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; align-items: flex-start; gap: .7rem; margin-bottom: .9rem; color: var(--jch-ink); }
.check-list li i { color: var(--jch-accent); font-size: 1.2rem; margin-top: .1rem; }

/* ---------- Testimonials ---------- */
.testimonial-card {
    background: #fff;
    border-radius: var(--jch-radius);
    padding: 2rem;
    box-shadow: var(--jch-shadow);
    height: 100%;
    position: relative;
    border: 1px solid var(--jch-line);
}
.testimonial-card .quote-mark { font-size: 2.6rem; color: var(--jch-primary-soft); line-height: .6; }
.testimonial-card p { color: var(--jch-ink); font-style: italic; }
.testimonial-card .stars { color: #f5a623; }
.testimonial-card .who { display: flex; align-items: center; gap: .8rem; margin-top: 1rem; }
.testimonial-card .who .avatar {
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--jch-primary); color: #fff;
    display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.testimonial-card .who h6 { margin: 0; font-weight: 700; color: var(--jch-navy); }
.testimonial-card .who small { color: var(--jch-muted); }

/* ---------- Page header (interior pages) ---------- */
.jch-page-header {
    position: relative;
    color: #fff;
    padding: 4.5rem 0 3.5rem;
    overflow: hidden;
}
.jch-page-header::before {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background-image: radial-gradient(rgba(255, 255, 255, .10) 1.5px, transparent 1.5px);
    background-size: 26px 26px; opacity: .5;
}
.jch-page-header .container { position: relative; z-index: 2; }
.jch-page-header h1 { font-weight: 800; }
.jch-breadcrumb { font-size: .9rem; }
.jch-breadcrumb a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.jch-breadcrumb a:hover { color: #fff; }
.jch-breadcrumb .sep { opacity: .6; margin: 0 .4rem; }
.jch-breadcrumb .current { color: #8ff0bf; }

/* ---------- CTA ---------- */
.jch-cta {
    position: relative;
    color: #fff;
    overflow: hidden;
}

/* ---------- Contact ---------- */
.contact-info-card {
    background: #fff; border: 1px solid var(--jch-line);
    border-radius: var(--jch-radius); padding: 1.4rem;
    display: flex; align-items: flex-start; gap: 1rem;
    transition: .25s; height: 100%;
}
.contact-info-card:hover { box-shadow: var(--jch-shadow); transform: translateY(-4px); }
.contact-info-card h6 { font-weight: 700; color: var(--jch-navy); margin-bottom: .2rem; }
.contact-info-card p { color: var(--jch-muted); margin: 0; font-size: .93rem; }
.form-control { border-radius: var(--jch-radius-sm); border-color: var(--jch-line); padding: .7rem .9rem; }
.form-control:focus { border-color: var(--jch-primary); box-shadow: 0 0 0 .2rem rgba(11, 87, 196, .15); }
.form-label { font-weight: 600; color: var(--jch-navy); font-size: .9rem; }

/* ---------- Emergency strip ---------- */
.jch-emergency {
    background: linear-gradient(120deg, var(--jch-accent-dark), var(--jch-accent));
    color: #fff;
    padding: 2rem 0;
}

/* ---------- Footer ---------- */
.jch-footer { background: var(--jch-navy); color: rgba(255, 255, 255, .75); }
.jch-footer-logo {
    display: inline-block; background: #fff; border-radius: 14px;
    padding: .75rem 1rem; box-shadow: var(--jch-shadow);
}
.jch-footer-logo img { height: 78px; width: auto; }
.jch-footer-title { color: #fff; font-weight: 700; margin-bottom: 1.1rem; font-size: 1rem; }
.footer-link { color: rgba(255, 255, 255, .72); text-decoration: none; line-height: 2.1; transition: color .2s, padding-left .2s; }
.footer-link:hover { color: #fff; padding-left: 4px; }
.jch-footer-contact li { display: flex; gap: .7rem; margin-bottom: .8rem; line-height: 1.5; }
.jch-footer-contact li i { color: var(--jch-accent); margin-top: .2rem; }
.jch-footer-contact span { color: rgba(255, 255, 255, .72); }
.jch-footer-rule { border-color: rgba(255, 255, 255, .12); }
.jch-social {
    width: 40px; height: 40px; border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .08); color: #fff; font-size: 1.05rem; transition: .25s;
}
.jch-social:hover { background: var(--jch-primary); color: #fff; transform: translateY(-3px); }

/* ---------- Back to top ---------- */
.jch-top-btn {
    position: fixed; right: 22px; bottom: 22px; z-index: 60;
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--jch-primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--jch-shadow-lg); text-decoration: none;
    opacity: 0; visibility: hidden; transform: translateY(12px); transition: .3s;
}
.jch-top-btn.show { opacity: 1; visibility: visible; transform: translateY(0); }
.jch-top-btn:hover { background: var(--jch-primary-dark); color: #fff; }

/* ---------- Doctor name tag (on Why-Choose media) ---------- */
.doc-name-tag {
    position: absolute; top: 18px; left: 18px; z-index: 2;
    display: flex; align-items: center; gap: .6rem;
    padding: .55rem .85rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .38);
    -webkit-backdrop-filter: blur(10px) saturate(150%);
    backdrop-filter: blur(10px) saturate(150%);
    box-shadow: 0 8px 22px rgba(8, 27, 58, .25);
    color: #fff;
}
.doc-name-tag i { font-size: 1.4rem; color: #fff; }
.doc-name-tag strong { display: block; font-family: 'Poppins', sans-serif; font-size: .95rem; line-height: 1.15; }
.doc-name-tag span { font-size: .74rem; opacity: .88; }

/* ---------- Infrastructure gallery (grid on desktop, swipe on mobile) ---------- */
.infra-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    grid-auto-rows: 214px;
    gap: 1.4rem;
}
.infra-grid .gallery-tile { min-height: 0; height: 100%; }
.infra-grid .gallery-tile img { min-height: 0; height: 100%; }
.infra-grid .gallery-tile.big { grid-column: 1; grid-row: 1 / 3; }
.infra-grid .gallery-tile:nth-child(2) { grid-column: 2; grid-row: 1; }
.infra-grid .gallery-tile:nth-child(3) { grid-column: 3; grid-row: 1; }
.infra-grid .gallery-tile:nth-child(4) { grid-column: 2; grid-row: 2; }
.infra-grid .gallery-tile:nth-child(5) { grid-column: 3; grid-row: 2; }
.infra-hint { text-align: center; color: var(--jch-muted); font-size: .85rem; margin: 1rem 0 0; }
.infra-hint i { color: var(--jch-primary); }

@media (max-width: 991.98px) {
    .infra-grid { grid-auto-rows: 165px; gap: 1rem; }
}
@media (max-width: 767.98px) {
    /* Horizontal swipe strip so the section stays short */
    .infra-grid {
        display: flex; gap: 1rem;
        grid-auto-rows: auto;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: .5rem;
        scroll-padding: 1rem;
    }
    .infra-grid .gallery-tile {
        flex: 0 0 78%;
        height: 260px;
        scroll-snap-align: center;
    }
    .infra-grid::-webkit-scrollbar { height: 6px; }
    .infra-grid::-webkit-scrollbar-thumb { background: rgba(11, 87, 196, .3); border-radius: 3px; }
}

/* ---------- Facilities gallery ---------- */
.gallery-tile {
    position: relative; border-radius: var(--jch-radius); overflow: hidden;
    box-shadow: var(--jch-shadow); height: 100%; min-height: 220px;
}
.gallery-tile img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; display: block; transition: transform .5s ease; }
.gallery-tile:hover img { transform: scale(1.08); }
.gallery-tile .cap {
    position: absolute; inset: 0; display: flex; align-items: flex-end;
    padding: 1.1rem; color: #fff; font-weight: 700; font-family: 'Poppins', sans-serif;
    background: linear-gradient(180deg, transparent 45%, rgba(11, 37, 69, .78));
}
.gallery-tile .cap small { display: block; font-weight: 500; font-size: .8rem; opacity: .85; }

/* Doctor card photo can host a real background image */
.doctor-card .doc-photo.has-img { background-size: cover; background-position: center; }

/* Colour band for emergency uses animated gradient too */
.jch-emergency { position: relative; overflow: hidden; }
.jch-emergency .container { position: relative; z-index: 2; }

/* ---------- Utilities ---------- */
.min-vh-hero { min-height: 78vh; }

@media (max-width: 991.98px) {
    .section { padding: 3.5rem 0; }
    .help-cards { margin-top: 2rem; }
    .min-vh-hero { min-height: auto; }
    .hero-slider { max-width: 500px; margin-top: 1.25rem; }
}

/* Phones — keep everything inside the screen */
@media (max-width: 575.98px) {
    html, body { overflow-x: hidden; }
    .section { padding: 2.75rem 0; }
    .hero-title { font-size: 2rem; }
    .hero-lead { font-size: 1rem; }
    .hero-trust { gap: .5rem 1.1rem; margin-top: 1.4rem; }
    .hero-trust div { font-size: .85rem; }
    .hero-slider { max-width: 100%; }
    .hero-slider .carousel-item img { height: 320px; }
    .hero-slider .carousel, .hero-slider .carousel-inner { border-radius: 12px 56px 12px 56px; }
    .hero-slider::before, .hero-slider::after { display: none; }
    .hero-slider .slider-backdrop { inset: -14px -12px -18px -12px; filter: blur(2px); }
    .pill { padding: .45rem .7rem; }
    .pill .n { font-size: .95rem; }
    .pill small { font-size: .66rem; }
    .hero-slider .pill.top-left { left: 6px; top: 8%; }
    .hero-slider .pill.bottom-right { right: 6px; bottom: 10%; }
    .btn-lg { padding: .6rem 1.15rem; font-size: .98rem; }
    .section-title { font-size: 1.55rem; }
    .icon-circle { width: 64px; height: 64px; font-size: 1.7rem; }
    .stat-item .stat-num { font-size: 2rem; }
    .jch-emergency .h3 { font-size: 1.3rem; }
    .about-badge { padding: .7rem 1rem; }
    .about-badge .num { font-size: 1.4rem; }
}

