/*
 * Public website styles.
 * Brand colours come from General Settings as CSS variables (--brand-*), set in
 * site/layouts/app.blade.php. The look follows the client's poster: white,
 * sky-blue waves, red name, framed photo. Signature details: the heartbeat
 * line (partials/pulse), a soft dot pattern, an arch-shaped doctor photo and
 * one dark navy band for rhythm.
 *
 * Breakpoints (Bootstrap): sm 576, md 768, lg 992, xl 1200, xxl 1400.
 */

/* ---------- Tokens ---------- */
:root {
    --site-bg: #f5f9fc;
    --site-surface: #ffffff;
    --site-text: #253248;
    --site-muted: #56667c;
    --site-border: #e2eaf2;
    --site-radius: 1.25rem;
    --site-radius-lg: 1.75rem;
    --site-shadow:
        0 1px 2px rgba(13, 28, 64, 0.04), 0 6px 24px rgba(13, 28, 64, 0.06);
    --site-shadow-hover: 0 18px 44px rgba(13, 28, 64, 0.14);
    --font-latin:
        "Plus Jakarta Sans", "Noto Sans Bengali", system-ui, -apple-system,
        "Segoe UI", Roboto, sans-serif;
    --font-bangla:
        "Noto Sans Bengali", "Plus Jakarta Sans", system-ui, sans-serif;

    /* 17px body: comfortable for older patients without feeling oversized. */
    --bs-body-font-family: var(--font-latin);
    --bs-body-font-size: 1.0625rem;
    --bs-body-line-height: 1.65;
    --bs-body-color: var(--site-text);
    --bs-body-bg: var(--site-bg);
    --bs-border-color: var(--site-border);
    --bs-secondary-color: var(--site-muted);
}

/* Bangla glyphs look smaller than Latin at the same size, so 18px with more line height. */
.lang-bn {
    --bs-body-font-family: var(--font-bangla);
    --bs-body-font-size: 1.125rem;
    --bs-body-line-height: 1.75;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5.5rem;
}
body {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-weight: 700;
    color: var(--brand-dark);
    line-height: 1.25;
    letter-spacing: -0.015em;
}
.lang-bn h1,
.lang-bn h2,
.lang-bn h3,
.lang-bn h4,
.lang-bn h5,
.lang-bn .h1,
.lang-bn .h2,
.lang-bn .h3,
.lang-bn .h4,
.lang-bn .h5 {
    letter-spacing: 0;
    line-height: 1.4;
}
p {
    margin-bottom: 1rem;
}
a {
    text-decoration: none;
    color: var(--brand-primary);
}
a:hover {
    text-decoration: underline;
}
img {
    max-width: 100%;
    height: auto;
}
/* Never go below ~14px for readable text. */
small,
.small {
    font-size: 0.875em;
}
.text-secondary {
    color: var(--site-muted) !important;
}
.text-brand {
    color: var(--brand-primary) !important;
}
.text-brand-red {
    color: var(--brand-red) !important;
}
.skip-link {
    position: absolute;
    z-index: 2000;
    top: 0.5rem;
    left: 0.5rem;
    background: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}
:focus-visible {
    outline: 3px solid rgba(var(--brand-sky-rgb), 0.6);
    outline-offset: 2px;
}
[x-cloak] {
    display: none !important;
}
::selection {
    background: rgba(var(--brand-sky-rgb), 0.25);
}

/* ---------- Decorations ---------- */
/* Soft dot grid, faded at the edges. */
.hero-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(
        rgba(var(--brand-primary-rgb), 0.14) 1.4px,
        transparent 1.6px
    );
    background-size: 24px 24px;
    -webkit-mask-image: radial-gradient(
        ellipse 70% 60% at 75% 35%,
        #000 10%,
        transparent 75%
    );
    mask-image: radial-gradient(
        ellipse 70% 60% at 75% 35%,
        #000 10%,
        transparent 75%
    );
}
/* Heartbeat line (partials/pulse). Colour comes from `color`. */
.pulse-line {
    display: block;
    pointer-events: none;
}
.pulse-line path {
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: pulse-draw 3.2s ease-out 0.3s forwards;
}
@keyframes pulse-draw {
    to {
        stroke-dashoffset: 0;
    }
}

/* ---------- Buttons ---------- */
.btn {
    --bs-btn-font-weight: 600;
    --bs-btn-font-size: 0.9rem;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    white-space: nowrap;
    padding: 0.5rem 0.75rem;
    transition:
        transform 0.15s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease;
}
.lang-bn .btn {
    --bs-btn-font-size: 0.75rem;
}
.btn:hover {
    text-decoration: none;
}
.btn:active {
    transform: translateY(1px);
}
.btn-lg {
    padding: 0.625rem 0.75rem;
    font-size: 0.7rem;
    border-radius: 0.85rem;
}
.lang-bn .btn-lg {
    font-size: 0.7rem;
}
.btn-sm {
    padding: 0.35rem 0.75rem;
    font-size: 0.7rem;
}
.btn-brand {
    background: var(--brand-red);
    border: 2px solid transparent;
    color: #fff;
    box-shadow: 0 10px 22px -6px rgba(var(--brand-red-rgb), 0.55);
}
.btn-brand:hover,
.btn-brand:focus {
    background: color-mix(in srgb, var(--brand-red) 86%, #000);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 26px -8px rgba(var(--brand-red-rgb), 0.6);
}
.btn-primary {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
}
.btn-primary:hover {
    background: color-mix(in srgb, var(--brand-primary) 86%, #000);
    border-color: transparent;
}
.btn-outline-brand {
    border: 2px solid var(--brand-primary);
    color: var(--brand-primary);
    background: #fff;
}
.btn-outline-brand:hover {
    background: var(--brand-primary);
    color: #fff;
}
.btn-soft {
    background: rgba(var(--brand-sky-rgb), 0.12);
    color: var(--brand-primary);
    border: 0;
}
.btn-soft:hover {
    background: rgba(var(--brand-sky-rgb), 0.2);
    color: var(--brand-primary);
}
.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.28);
}
.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}
.btn-icon {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
}

/* ---------- Top strip & header ---------- */
.topbar {
    background: var(--brand-dark);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.9rem;
    padding: 0.5rem 0;
}
.topbar a {
    color: #fff;
}
.topbar-sep {
    width: 1px;
    height: 1rem;
    background: rgba(255, 255, 255, 0.3);
}
/* Floating pill: a white capsule that stays at the top. The strip around it is white at the top
   (matching the hero) and see-through once scrolled.
   No backdrop-filter/transform here: it would make the header the containing block of the fixed mobile menu (offcanvas). */
.site-header {
    padding: 0.75rem 0;
    background: #fff;
    transition:
        background-color 0.25s ease,
        padding 0.25s ease;
}
.site-header.is-scrolled {
    background: transparent;
    padding: 0.5rem 0;
    pointer-events: none;
}
.site-header.is-scrolled .nav-pill {
    pointer-events: auto;
}
.nav-pill {
    background: #fff;
    border: 1px solid var(--site-border);
    border-radius: 999px;
    box-shadow: var(--site-shadow);
    padding: 0.5rem 0.55rem 0.5rem 1.25rem;
    transition:
        box-shadow 0.25s ease,
        padding 0.25s ease;
}
.is-scrolled .nav-pill {
    box-shadow: 0 10px 30px rgba(13, 28, 64, 0.14);
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
}
.brand-logo {
    height: 48px;
    width: auto;
    transition: height 0.25s ease;
}
.is-scrolled .brand-logo {
    height: 40px;
}

/* Live "open today · N free" pill */
.today-status {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    white-space: nowrap;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-dark);
    background: rgba(var(--brand-sky-rgb), 0.12);
    text-decoration: none;
}
.today-status:hover {
    background: rgba(var(--brand-sky-rgb), 0.22);
    color: var(--brand-dark);
    text-decoration: none;
}
.today-status .dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    flex: 0 0 auto;
    background: #22a55b;
    animation: live-dot 2s infinite;
}
.today-status.is-full .dot {
    background: #e59a0b;
    animation: none;
}
.today-status.is-closed {
    color: var(--site-muted);
    background: #eef2f6;
}
.today-status.is-closed .dot {
    background: #9aa8b8;
    animation: none;
}
@keyframes live-dot {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(34, 165, 91, 0.45);
    }
    50% {
        box-shadow: 0 0 0 5px rgba(34, 165, 91, 0);
    }
}
.brand-mark {
    display: inline-grid;
    place-items: center;
    min-width: 46px;
    height: 46px;
    padding: 0 0.4rem;
    border-radius: 0.8rem;
    background: #fff;
    color: var(--brand-red);
    font-weight: 800;
    border: 2px solid var(--brand-red);
    font-size: 1rem;
}
.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    min-width: 0;
}
.brand-name {
    font-weight: 700;
    color: var(--brand-red);
    font-size: 1.25rem;
    white-space: nowrap;
}
.brand-tagline {
    font-size: 0.8125rem;
    color: var(--site-muted);
    max-width: 20rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.site-header .nav-link {
    position: relative;
    font-weight: 600;
    color: var(--site-text);
    border-radius: 0.6rem;
    padding: 0.55rem 0.8rem !important;
    white-space: nowrap;
    font-size: 1rem;
}
.lang-bn .site-header .nav-link {
    font-size: 1.0625rem;
}
.site-header .nav-link:hover {
    color: var(--brand-primary);
    text-decoration: none;
}
.site-header .nav-link.active {
    color: var(--brand-primary);
}
.avatar-initial {
    font-weight: 700;
    color: var(--brand-primary);
}
.dropdown-menu {
    border: 1px solid var(--site-border);
    border-radius: 1rem;
    padding: 0.45rem;
    box-shadow: var(--site-shadow-hover);
    font-size: 1rem;
}
.dropdown-item {
    border-radius: 0.6rem;
    padding: 0.6rem 0.9rem;
}
.dropdown-item:active {
    background: var(--brand-primary);
}
@media (min-width: 992px) {
    .site-header .offcanvas {
        position: static;
        visibility: visible !important;
        transform: none;
        background: transparent;
        flex-grow: 1;
        border: 0;
        width: auto;
    }
    .site-header .offcanvas-header {
        display: none;
    }
    .site-header .offcanvas-body {
        display: flex;
        align-items: center;
        padding: 0;
        overflow: visible;
    }
    /* Active/hover: a small red bar under the link instead of a pill. */
    .site-header .navbar-nav > .nav-item > .nav-link::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 0.1rem;
        width: 1.4rem;
        height: 3px;
        border-radius: 3px;
        background: var(--brand-red);
        transform: translateX(-50%) scaleX(0);
        transition: transform 0.2s ease;
    }
    .site-header .navbar-nav > .nav-item > .nav-link:hover::after,
    .site-header .navbar-nav > .nav-item > .nav-link.active::after {
        transform: translateX(-50%) scaleX(1);
    }
    .site-header .navbar-nav > .nav-item > .dropdown-toggle::after {
        border: 0;
        vertical-align: 0;
        margin: 0;
    }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    .site-header .nav-link {
        padding: 0.5rem 0.55rem !important;
        font-size: 0.95rem;
    }
    .lang-bn .site-header .nav-link {
        font-size: 1rem;
    }
    .brand-name {
        font-size: 1.1rem;
    }
}
@media (max-width: 991.98px) {
    .site-header .offcanvas .nav-link {
        font-size: 1.125rem;
        padding: 0.75rem 1rem !important;
    }
    .site-header .offcanvas .nav-link.active {
        background: rgba(var(--brand-sky-rgb), 0.12);
    }
}
@media (max-width: 991.98px) {
    .nav-pill {
        border-radius: 1.25rem;
        padding: 0.45rem 0.5rem 0.45rem 0.9rem;
    }
}
@media (max-width: 400px) {
    .brand-logo,
    .is-scrolled .brand-logo {
        height: 38px;
    }
    .today-status {
        font-size: 0.8125rem;
        padding: 0.4rem 0.7rem;
    }
    .brand-name {
        font-size: 1.05rem;
    }
}

/* ---------- Sections ---------- */
.section {
    position: relative;
    padding: 2.5rem 0;
}
.section-sm {
    padding: 3rem 0;
}
.section-white {
    background: var(--site-surface);
}
@media (max-width: 767.98px) {
    .section {
        padding: 3.75rem 0;
    }
}
/* Eyebrow: small label with a red dash before it (and after it when centred). */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-primary);
    margin-bottom: 0.75rem;
}
.eyebrow::before,
.section-head .eyebrow::after {
    content: "";
    width: 1.75rem;
    height: 2px;
    border-radius: 2px;
    background: var(--brand-red);
    flex: 0 0 auto;
}
.eyebrow i {
    display: none;
}
.lang-bn .eyebrow {
    letter-spacing: 0;
    text-transform: none;
    font-size: 1rem;
}
.section-head {
    max-width: 46rem;
    margin: 0 auto 3rem;
    text-align: center;
}
.section-head h2 {
    font-size: clamp(1.85rem, 1.3rem + 2vw, 1.75rem);
    margin-bottom: 0.75rem;
}
.section-head p {
    color: var(--site-muted);
    margin: 0;
    font-size: 1rem;
}
.lang-bn .section-head p {
    font-size: 1rem;
}
.section-head-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2.25rem;
    flex-wrap: wrap;
}
.section-head-row h2 {
    margin: 0;
    font-size: clamp(1.65rem, 1.2rem + 1.6vw, 1.35rem);
}

/* Dark navy band */
.section-dark {
    background:
        radial-gradient(
            800px 380px at 85% 0%,
            rgba(var(--brand-sky-rgb), 0.22),
            transparent 70%
        ),
        var(--brand-dark);
    color: rgba(255, 255, 255, 0.82);
    overflow: hidden;
}
.section-dark h2,
.section-dark h3 {
    color: #fff;
}
.section-dark .eyebrow {
    color: var(--brand-sky-light);
}
.section-dark .section-head p {
    color: rgba(255, 255, 255, 0.7);
}
.section-dark .hero-pattern {
    background-image: radial-gradient(
        rgba(255, 255, 255, 0.09) 1.4px,
        transparent 1.6px
    );
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%);
    mask-image: linear-gradient(180deg, #000, transparent 80%);
}
.dark-pulse {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.5rem;
    width: 100%;
    height: 50px;
    color: rgba(var(--brand-sky-rgb), 0.25);
}

/* ---------- Hero: compact doctor card ---------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: 2.25rem 0 7rem;
    background:
        radial-gradient(
            900px 480px at 85% 20%,
            rgba(var(--brand-sky-rgb), 0.18),
            transparent 70%
        ),
        radial-gradient(
            600px 400px at 0% 100%,
            rgba(var(--brand-red-rgb), 0.05),
            transparent 70%
        ),
        linear-gradient(180deg, #ffffff 0%, #f0f8fd 100%);
}
.hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    margin-bottom: 0.9rem;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: #fff;
    border: 1px solid var(--site-border);
    box-shadow: var(--site-shadow);
    border-radius: 2rem;
    padding: 0.35rem 0.95rem 0.35rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-dark);
}
.hero-badge .dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--brand-accent);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%,
    100% {
        box-shadow: 0 0 0 3px rgba(113, 177, 89, 0.25);
    }
    50% {
        box-shadow: 0 0 0 7px rgba(113, 177, 89, 0.08);
    }
}
.hero-hospital {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--brand-primary);
    font-weight: 600;
    font-size: 0.95rem;
}
.hero-name {
    color: var(--brand-red);
    font-size: clamp(1.75rem, 1.1rem + 1.4vw, 2.4rem);
    line-height: 1.15;
    margin: 0 0 0.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.lang-bn .hero-name {
    line-height: 1.3;
    letter-spacing: 0;
}
.hero-degrees {
    font-size: 1.0625rem;
    color: var(--brand-dark);
    font-weight: 600;
    margin-bottom: 0.2rem;
}
.hero-designation {
    color: var(--site-muted);
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

/* Specialities: icon chips */
.hero-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 1.5rem;
    padding: 0;
}
.hero-skill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.85rem 0.3rem 0.3rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--site-border);
    color: var(--brand-dark);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    transition:
        border-color 0.2s,
        box-shadow 0.2s,
        transform 0.2s;
}
.hero-skill .ic {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    background: rgba(var(--brand-sky-rgb), 0.14);
    color: var(--brand-primary);
}
.hero-skill .ic svg {
    width: 1.35rem;
    height: 1.35rem;
}
.hero-skill:hover {
    color: var(--brand-dark);
    text-decoration: none;
    border-color: rgba(var(--brand-sky-rgb), 0.6);
    box-shadow: var(--site-shadow);
    transform: translateY(-2px);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
}
.hero-served {
    color: var(--site-muted);
    font-size: 0.95rem;
    line-height: 1.25;
}
.hero-served strong {
    display: block;
    color: var(--brand-dark);
    font-size: 1.25rem;
}

/* Photo in a circle; the speciality icons circle around it slowly (icons stay upright). */
.hero-orbit {
    --size: 360px;
    --dot: 3.25rem;
    position: relative;
    width: var(--size);
    aspect-ratio: 1;
    margin: 0 auto;
    isolation: isolate;
}
.hero-orbit::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px dashed rgba(var(--brand-primary-rgb), 0.22);
}
.hero-orbit::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 6%;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(var(--brand-sky-rgb), 0.35),
        transparent 70%
    );
    filter: blur(8px);
}
.orbit-photo {
    position: absolute;
    inset: 15%;
    border-radius: 50%;
    padding: 0.45rem;
    background: linear-gradient(
        160deg,
        var(--brand-sky-light),
        var(--brand-primary)
    );
    box-shadow: 0 26px 50px -18px rgba(var(--brand-primary-rgb), 0.5);
}
.orbit-photo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    background: #fff;
    display: block;
}
.orbit-track {
    position: absolute;
    inset: 0;
    animation: spin 70s linear infinite;
}
.orbit-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: var(--dot);
    height: var(--dot);
    margin: calc(var(--dot) / -2);
    transform: rotate(calc(var(--i) * 360deg / var(--n) - 90deg))
        translateX(calc(var(--size) / 2))
        rotate(calc(90deg - var(--i) * 360deg / var(--n)));
}
.orbit-dot > span {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #fff;
    color: var(--brand-primary);
    box-shadow: var(--site-shadow-hover);
    animation: spin 70s linear infinite reverse;
}
.orbit-dot:nth-child(even) > span {
    color: var(--brand-red);
}
.orbit-dot svg {
    width: 58%;
    height: 58%;
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 991.98px) {
    .hero {
        padding: 1.5rem 0 6rem;
        text-align: center;
    }
    .hero-meta,
    .hero-skills,
    .hero-actions {
        justify-content: center;
    }
    .hero-orbit {
        --size: min(72vw, 300px);
        --dot: 2.75rem;
        margin-bottom: 0.5rem;
    }
}
@media (max-width: 575.98px) {
    /* One swipeable row of chips instead of several lines */
    .hero-skills {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        margin-left: calc(var(--bs-gutter-x) * -0.5);
        margin-right: calc(var(--bs-gutter-x) * -0.5);
        padding: 0.25rem calc(var(--bs-gutter-x) * 0.5) 0.5rem;
        scrollbar-width: none;
    }
    .hero-skills::-webkit-scrollbar {
        display: none;
    }
    .hero-orbit {
        --size: min(68vw, 250px);
        --dot: 2.4rem;
    }
    .hero-actions .btn {
        flex: 1 1 100%;
    }
    .hero-served {
        flex: 1 1 100%;
    }
}
/* Poster-style sky waves at the bottom of the hero */
.hero-waves {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 110px;
    pointer-events: none;
}
.hero-waves svg {
    width: 100%;
    height: 100%;
    display: block;
}
.wave-sky {
    fill: var(--brand-sky);
    opacity: 0.9;
}
.wave-light {
    fill: var(--brand-sky-light);
    opacity: 0.55;
}
.wave-bg {
    fill: var(--site-bg);
}
@media (max-width: 767.98px) {
    .hero-waves {
        height: 70px;
    }
}

/* Today's availability (overlaps the hero) */
.today-card {
    position: relative;
    z-index: 2;
    margin-top: -5rem;
    background: #fff;
    border-radius: var(--site-radius-lg);
    box-shadow: var(--site-shadow-hover);
    padding: 1.1rem 1.5rem;
    overflow: hidden;
}
.today-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--brand-red),
        var(--brand-sky) 55%,
        var(--brand-accent)
    );
}
.today-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    height: 100%;
}
.today-item .ic {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 0.85rem;
    display: grid;
    place-items: center;
    font-size: 1.05rem;
    color: #fff;
    flex: 0 0 2.6rem;
}
.today-item .lbl {
    font-size: 0.8125rem;
    color: var(--site-muted);
    line-height: 1.3;
    margin-bottom: 0.1rem;
}
.today-item .val {
    font-weight: 700;
    color: var(--brand-dark);
    font-size: 0.9375rem;
    line-height: 1.4;
}
.today-item .val a {
    color: inherit;
}
.free-n {
    font-size: 1.05rem;
    color: color-mix(in srgb, var(--brand-accent) 80%, #000);
}
.free-n.none {
    color: var(--brand-red);
    font-size: 1rem;
}
@media (min-width: 992px) {
    .today-col + .today-col {
        border-left: 1px solid var(--site-border);
    }
}
@media (max-width: 991.98px) {
    .today-col + .today-col {
        border-top: 1px solid var(--site-border);
        padding-top: 0.8rem;
    }
    .today-card {
        padding: 1rem 1.1rem;
    }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    position: relative;
    padding: 3rem 0 5.5rem;
    background:
        radial-gradient(
            700px 300px at 90% 0%,
            rgba(var(--brand-sky-rgb), 0.18),
            transparent 70%
        ),
        linear-gradient(180deg, #ffffff 0%, #eaf6fc 100%);
    overflow: hidden;
}
.page-hero .hero-pattern {
    -webkit-mask-image: radial-gradient(
        ellipse 50% 90% at 90% 30%,
        #000 10%,
        transparent 75%
    );
    mask-image: radial-gradient(
        ellipse 50% 90% at 90% 30%,
        #000 10%,
        transparent 75%
    );
}
.page-hero-pulse {
    position: absolute;
    right: 0;
    top: 38%;
    width: 46%;
    height: 70px;
    color: rgba(var(--brand-red-rgb), 0.28);
}
.page-hero-title {
    font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
    margin: 0.5rem 0 0;
    color: var(--brand-dark);
    max-width: 48rem;
}
.page-hero-sub {
    color: var(--site-muted);
    margin: 0.65rem 0 0;
    max-width: 42rem;
    font-size: 1.125rem;
}
.page-hero .breadcrumb {
    margin: 0;
    font-size: 0.95rem;
    --bs-breadcrumb-divider-color: var(--site-muted);
    --bs-breadcrumb-item-active-color: var(--site-muted);
}
.page-hero .hero-waves {
    height: 56px;
}
@media (max-width: 767.98px) {
    .page-hero-pulse {
        width: 70%;
        opacity: 0.6;
        top: auto;
        bottom: 3rem;
    }
}

/* ---------- Cards ---------- */
.s-card {
    background: var(--site-surface);
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    box-shadow: var(--site-shadow);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
    overflow: hidden;
}
/* Equal-height cards in grids, only when the card is alone in its column (stacked cards keep their own height). */
[class*="col"] > .s-card:only-child,
.h-scroll > .s-card {
    height: 100%;
}
a.s-card {
    color: inherit;
    display: block;
}
a.s-card:hover,
.s-card-hover:hover {
    transform: translateY(-6px);
    box-shadow: var(--site-shadow-hover);
    border-color: rgba(var(--brand-sky-rgb), 0.35);
    text-decoration: none;
}
.s-card-img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    width: 100%;
    background: #e9eff5;
    display: block;
    transition: transform 0.5s ease;
}
a.s-card:hover .s-card-img {
    transform: scale(1.05);
}
.s-card-body {
    position: relative;
    padding: 1.5rem;
    background: inherit;
}
.s-card-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}
.s-card-text {
    color: var(--site-muted);
    font-size: 0.875rem;
    margin: 0;
}
.lang-bn .s-card-text {
    font-size: 0.875rem;
}
.clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.chip {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 2rem;
    background: rgba(var(--brand-sky-rgb), 0.12);
    color: var(--brand-primary);
    margin: 0.15rem;
}
.chip-green {
    background: rgba(113, 177, 89, 0.15);
    color: color-mix(in srgb, var(--brand-accent) 65%, #000);
}
.chip-muted {
    background: #eef2f7;
    color: var(--site-muted);
}
.icon-box {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1.1rem;
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    flex: 0 0 3.5rem;
    background: linear-gradient(
        145deg,
        rgba(var(--brand-sky-rgb), 0.1),
        rgba(var(--brand-sky-rgb), 0.22)
    );
    color: var(--brand-primary);
}
.icon-box.red {
    background: rgba(var(--brand-red-rgb), 0.1);
    color: var(--brand-red);
}
.icon-box.green {
    background: rgba(113, 177, 89, 0.15);
    color: color-mix(in srgb, var(--brand-accent) 70%, #000);
}

/* About the doctor (home) */
/* About (home): short intro card + 2-column education/experience timeline */
.about-section {
    padding: 3rem 0 3.5rem;
}
.about-intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.about-intro .eyebrow {
    margin-bottom: 0.9rem;
}
.about-who {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1rem;
}
.about-avatar {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    flex: 0 0 auto;
    border: 3px solid #fff;
    box-shadow:
        0 0 0 2px rgba(var(--brand-sky-rgb), 0.6),
        var(--site-shadow);
}
.about-name {
    font-size: clamp(1.35rem, 1.1rem + 0.7vw, 1.65rem);
    color: var(--brand-red);
    margin: 0;
}
.about-role {
    margin: 0.15rem 0 0;
    color: var(--site-muted);
    font-size: 0.9375rem;
    line-height: 1.35;
}
.about-text {
    font-size: 0.9875rem;
    color: var(--site-text);
    margin-bottom: 1.25rem;
    padding-left: 1rem;
    border-left: 3px solid rgba(var(--brand-sky-rgb), 0.45);
}

.cred-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius-lg);
    box-shadow: var(--site-shadow);
    padding: 1.35rem 1.5rem 1.5rem;
    overflow: hidden;
}
.cred-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--brand-red),
        var(--brand-sky) 55%,
        var(--brand-accent)
    );
}
.cred-title {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 1.0625rem;
    margin: 0 0 1.1rem;
    color: var(--brand-dark);
}
.cred-title i {
    color: var(--brand-red);
}
.cred-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0 1.75rem;
}
@media (min-width: 576px) {
    .cred-timeline {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(var(--rows), auto);
        grid-auto-flow: column;
    }
}
/* Each entry: icon dot on a vertical line that joins the entries of a column */
.cred-timeline li {
    position: relative;
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    padding-bottom: 1rem;
}
.cred-timeline li::before {
    content: "";
    position: absolute;
    left: 1.05rem;
    top: 2.3rem;
    bottom: 0.2rem;
    width: 2px;
    background: repeating-linear-gradient(
        to bottom,
        rgba(var(--brand-sky-rgb), 0.5) 0 4px,
        transparent 4px 8px
    );
}
.cred-timeline li:last-child::before {
    display: none;
}
@media (min-width: 576px) {
    .cred-timeline li.col-end::before {
        display: none;
    }
} /* last entry of the left column */
.cred-dot {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    font-size: 0.85rem;
    background: rgba(var(--brand-sky-rgb), 0.14);
    color: var(--brand-primary);
}
.cred-timeline li:nth-child(even) .cred-dot {
    background: rgba(var(--brand-red-rgb), 0.1);
    color: var(--brand-red);
}
.cred-timeline strong {
    display: block;
    color: var(--brand-dark);
    font-weight: 600;
    font-size: 0.9375rem;
    line-height: 1.35;
}
.cred-timeline li > div > span {
    display: block;
    color: var(--site-muted);
    font-size: 0.8125rem;
    line-height: 1.35;
    margin-top: 0.1rem;
}

/* Speciality tile (home): numbered card that fills with the brand gradient on hover. */
.spec-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    padding: 1.6rem 1.4rem 1.4rem;
    border-radius: var(--site-radius);
    background: #fff;
    border: 1px solid var(--site-border);
    box-shadow: var(--site-shadow);
    color: inherit;
    overflow: hidden;
    isolation: isolate;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        color 0.25s ease;
}
.spec-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(150deg, var(--brand-primary), var(--brand-sky));
    opacity: 0;
    transition: opacity 0.3s ease;
}
.spec-tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 44px -14px rgba(var(--brand-primary-rgb), 0.55);
    color: #fff;
    text-decoration: none;
}
.spec-tile:hover::before {
    opacity: 1;
}
.spec-tile .spec-icon {
    width: 60px;
    height: 60px;
    border-radius: 1.1rem;
    object-fit: cover;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    margin-bottom: 1.1rem;
    background: rgba(var(--brand-sky-rgb), 0.12);
    color: var(--brand-primary);
    transition:
        background 0.25s,
        color 0.25s;
}
.spec-tile:hover .spec-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}
.spec-tile h3 {
    font-size: 1.1875rem;
    margin: 0 0 0.2rem;
    transition: color 0.25s;
}
.spec-tile:hover h3 {
    color: #fff;
}
.spec-tile .sub {
    font-size: 0.9rem;
    color: var(--site-muted);
    transition: color 0.25s;
}
.spec-tile:hover .sub {
    color: rgba(255, 255, 255, 0.85);
}
.spec-tile .spec-no {
    position: absolute;
    top: 0.9rem;
    right: 1.1rem;
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1;
    color: rgba(var(--brand-primary-rgb), 0.1);
    transition: color 0.25s;
}
.spec-tile:hover .spec-no {
    color: rgba(255, 255, 255, 0.3);
}
.spec-tile .spec-go {
    margin-top: auto;
    padding-top: 1rem;
    color: var(--brand-primary);
    font-size: 0.95rem;
    transition:
        transform 0.25s,
        color 0.25s;
}
.spec-tile:hover .spec-go {
    color: #fff;
    transform: translateX(6px);
}
/* Phones: one swipeable row of tiles; the next tile peeks in so it is clear there is more */
@media (max-width: 575.98px) {
    .spec-row {
        flex-wrap: nowrap;
        justify-content: flex-start !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 0.75rem;
        scrollbar-width: none;
    }
    .spec-row::-webkit-scrollbar {
        display: none;
    }
    .spec-row > * {
        flex: 0 0 62%;
        max-width: 62%;
        scroll-snap-align: start;
    }
}
@media (max-width: 575.98px) {
    .spec-tile {
        padding: 1.2rem 1rem 1rem;
    }
    .spec-tile h3 {
        font-size: 1.0625rem;
    }
    .spec-tile .spec-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

/* ---------- Home services: dark intro panel + numbered icon tiles ---------- */
.svc-intro {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.75rem;
    border-radius: var(--site-radius-lg);
    color: rgba(255, 255, 255, 0.78);
    background:
        radial-gradient(420px 260px at 100% 0%, rgba(var(--brand-sky-rgb), 0.35), transparent 70%),
        var(--brand-dark);
}
/* Big faint cross in the corner */
.svc-intro::after {
    content: "\2b";
    position: absolute;
    z-index: -1;
    right: -1.5rem;
    bottom: -4.5rem;
    font: 800 15rem/1 var(--font-latin);
    color: rgba(255, 255, 255, 0.05);
}
.svc-intro .eyebrow {
    color: var(--brand-sky-light);
}
.svc-intro h2 {
    color: #fff;
    font-size: clamp(1.4rem, 1.1rem + 0.9vw, 1.75rem);
    margin: 0.25rem 0 0.5rem;
}
.svc-intro p {
    font-size: 0.9375rem;
    margin-bottom: 1.25rem;
}
.svc-count {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-top: auto;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}
.svc-count strong {
    font-size: 2.25rem;
    line-height: 1;
    color: #fff;
}

.svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.875rem;
}
.svc-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.15rem 1.15rem 1rem;
    border-radius: var(--site-radius);
    background: var(--site-surface);
    border: 1px solid var(--site-border);
    color: inherit;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
/* Colour wash that rises from the bottom on hover */
.svc-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(160deg, var(--brand-primary), var(--brand-dark));
    transform: translateY(101%);
    transition: transform 0.35s ease;
}
.svc-tile:hover {
    color: #fff;
    text-decoration: none;
    transform: translateY(-4px);
    box-shadow: var(--site-shadow-hover);
    border-color: transparent;
}
.svc-tile:hover::before {
    transform: none;
}
.svc-no {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    font-weight: 800;
    font-size: 1.5rem;
    line-height: 1;
    color: rgba(var(--brand-sky-rgb), 0.18);
    transition: color 0.25s ease;
}
.svc-ic {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 0.75rem;
    border-radius: 0.85rem;
    font-size: 1.15rem;
    color: var(--brand-primary);
    background: rgba(var(--brand-sky-rgb), 0.12);
    transition: background-color 0.25s ease, color 0.25s ease;
}
.svc-tile h3 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    transition: color 0.25s ease;
}
.svc-tile p {
    font-size: 0.8125rem;
    line-height: 1.55;
    color: var(--site-muted);
    margin-bottom: 0.6rem;
    transition: color 0.25s ease;
}
.svc-go {
    margin-top: auto;
    font-size: 0.8125rem;
    color: var(--brand-red);
    transition: transform 0.25s ease, color 0.25s ease;
}
.svc-tile:hover h3,
.svc-tile:hover .svc-go {
    color: #fff;
}
.svc-tile:hover p {
    color: rgba(255, 255, 255, 0.75);
}
.svc-tile:hover .svc-no {
    color: rgba(255, 255, 255, 0.18);
}
.svc-tile:hover .svc-ic {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}
.svc-tile:hover .svc-go {
    transform: translateX(5px);
}
@media (max-width: 991.98px) {
    .svc-intro {
        padding: 1.5rem;
    }
    .svc-count {
        margin-top: 0;
    }
    .svc-intro::after {
        font-size: 11rem;
        bottom: -3.5rem;
    }
}
@media (max-width: 767.98px) {
    .svc-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.625rem;
    }
    .svc-tile {
        padding: 0.9rem 0.9rem 0.8rem;
    }
    .svc-ic {
        width: 2.4rem;
        height: 2.4rem;
        font-size: 1rem;
    }
    .svc-tile h3 {
        font-size: 0.9375rem;
    }
}

/* Schedule */
.session-card {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1.25rem;
}
.session-card .time {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--brand-dark);
}

/* Steps (how to book): glass cards with a big outlined number. */
.step {
    position: relative;
    height: 100%;
    padding: 2rem 1.75rem 1.75rem;
    border-radius: var(--site-radius);
    text-align: left;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition:
        background 0.25s,
        transform 0.25s,
        border-color 0.25s;
}
.step:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(var(--brand-sky-rgb), 0.5);
    transform: translateY(-4px);
}
.step p {
    color: rgba(255, 255, 255, 0.72);
}
.step-big {
    position: absolute;
    top: 0.75rem;
    right: 1.25rem;
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.2);
}
.step-num {
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 1.15rem;
    margin-bottom: 1.25rem;
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    color: #fff;
    background: linear-gradient(
        135deg,
        var(--brand-red),
        color-mix(in srgb, var(--brand-red) 70%, #f5a524)
    );
    box-shadow: 0 12px 24px -8px rgba(var(--brand-red-rgb), 0.7);
}
.step h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}
.section:not(.section-dark) .step {
    background: #fff;
    border-color: var(--site-border);
    box-shadow: var(--site-shadow);
}
.section:not(.section-dark) .step p {
    color: var(--site-muted);
}
.section:not(.section-dark) .step-big {
    -webkit-text-stroke-color: rgba(var(--brand-primary-rgb), 0.18);
}

/* Reviews */
.review-card {
    position: relative;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
}
.review-card .quote {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    color: rgba(var(--brand-sky-rgb), 0.18);
    font-size: 3.5rem;
    line-height: 1;
}
.review-card .text {
    flex: 1;
    margin: 0.75rem 0 1.25rem;
    font-size: 1.0625rem;
}
.review-person {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--site-border);
}
.review-person img,
.review-person .initial {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}
.review-person .initial {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-sky));
    color: #fff;
    font-weight: 700;
}
.stars {
    color: #f5a524;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
}

/* ---------- Home reviews: rating summary + sliding rows ---------- */
.rv-summary h2 {
    font-size: clamp(1.4rem, 1.1rem + 0.9vw, 1.75rem);
    margin: 0.25rem 0 1.1rem;
}
.rv-score {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1rem;
}
.rv-score > strong {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: var(--brand-dark);
}
.rv-score span {
    display: block;
    font-size: 0.8125rem;
    color: var(--site-muted);
}
.stars .is-empty {
    color: #dfe5ec;
}
.rv-bars {
    display: grid;
    gap: 0.35rem;
    max-width: 22rem;
    margin-bottom: 1.25rem;
}
.rv-bars li {
    display: grid;
    grid-template-columns: 2rem 1fr 1.5rem;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.8125rem;
    color: var(--site-muted);
}
.rv-bars li i {
    color: #f5a524;
    font-size: 0.65rem;
    margin-left: 0.2rem;
}
.rv-bars li > span:last-child {
    text-align: right;
}
.rv-bar {
    height: 0.4rem;
    border-radius: 1rem;
    background: #edf1f5;
    overflow: hidden;
}
.rv-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #f5a524, #f7c04a);
}

.rv-rows {
    display: grid;
    gap: 0.875rem;
}
/* Fade the cards out at both edges */
.rv-row {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.rv-track {
    --gap: 0.875rem;
    display: flex;
    gap: var(--gap);
    width: max-content;
    padding: 0.25rem 0;
}
.rv-row.is-moving .rv-track {
    animation: rv-slide var(--dur, 40s) linear infinite;
}
.rv-row.is-reverse .rv-track {
    animation-direction: reverse;
}
.rv-row:hover .rv-track {
    animation-play-state: paused;
}
/* The track holds the cards twice: moving by one copy (half + one gap) loops seamlessly */
@keyframes rv-slide {
    to {
        transform: translateX(calc(-50% - var(--gap) / 2));
    }
}
.rv-card {
    flex: 0 0 18rem;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 1rem 1.1rem;
    border-radius: var(--site-radius);
    background: var(--site-bg);
    border: 1px solid var(--site-border);
    transition: border-color 0.25s ease, background-color 0.25s ease;
}
.rv-card:hover {
    background: #fff;
    border-color: rgba(var(--brand-sky-rgb), 0.4);
}
.rv-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.45rem;
}
.rv-card .stars {
    font-size: 0.75rem;
}
.rv-quote {
    font-size: 1.25rem;
    color: rgba(var(--brand-sky-rgb), 0.3);
}
.rv-card blockquote {
    flex: 1;
    margin: 0 0 0.75rem;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--site-text);
}
.rv-card figcaption {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.875rem;
}
.rv-card figcaption img,
.rv-initial {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.rv-initial {
    display: grid;
    place-items: center;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-sky));
}
@media (max-width: 575.98px) {
    .rv-card {
        flex-basis: 15.5rem;
    }
    .rv-score > strong {
        font-size: 2.5rem;
    }
}
/* No motion wanted: let people swipe/scroll the rows instead */
@media (prefers-reduced-motion: reduce) {
    .rv-row {
        overflow-x: auto;
    }
    .rv-row.is-moving .rv-track {
        animation: none;
    }
}

/* ---------- Home articles: lead story + compact list ---------- */
.ar-date {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
}
/* Lead: photo with the text over a dark fade */
.ar-lead {
    position: relative;
    display: flex;
    align-items: flex-end;
    height: 100%;
    min-height: 20rem;
    border-radius: var(--site-radius-lg);
    overflow: hidden;
    isolation: isolate;
    color: #fff;
    background: var(--brand-dark);
}
.ar-lead img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.ar-lead::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, transparent 25%, rgba(var(--brand-dark-rgb), 0.92) 85%);
}
.ar-lead:hover {
    color: #fff;
    text-decoration: none;
}
.ar-lead:hover img {
    transform: scale(1.05);
}
.ar-lead-body {
    padding: 1.5rem 1.6rem;
}
.ar-lead .ar-date {
    padding: 0.25rem 0.65rem;
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.16);
    margin-bottom: 0.6rem;
}
.ar-lead h3 {
    color: #fff;
    font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem);
    margin-bottom: 0.4rem;
}
.ar-lead p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 0.6rem;
}
.ar-more {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--brand-sky-light);
}
.ar-more i {
    margin-left: 0.3rem;
    transition: transform 0.25s ease;
}
.ar-lead:hover .ar-more i {
    transform: translateX(4px);
}

/* List: small thumb, date, title, arrow */
.ar-list {
    display: grid;
    gap: 0.75rem;
    height: 100%;
    margin: 0;
}
.ar-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 100%;
    padding: 0.75rem;
    border-radius: var(--site-radius);
    background: var(--site-surface);
    border: 1px solid var(--site-border);
    color: inherit;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.ar-item:hover {
    color: inherit;
    text-decoration: none;
    transform: translateX(4px);
    border-color: rgba(var(--brand-sky-rgb), 0.4);
    box-shadow: var(--site-shadow);
}
.ar-thumb {
    flex: 0 0 6.5rem;
    aspect-ratio: 4 / 3;
    display: grid;
    place-items: center;
    border-radius: 0.85rem;
    overflow: hidden;
    font-size: 1.4rem;
    color: var(--brand-primary);
    background: rgba(var(--brand-sky-rgb), 0.12);
}
.ar-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ar-item-body {
    flex: 1;
    min-width: 0;
}
.ar-item .ar-date {
    color: var(--site-muted);
    margin-bottom: 0.2rem;
}
.ar-item strong {
    display: -webkit-box;
    font-size: 0.9375rem;
    line-height: 1.45;
    color: var(--brand-dark);
}
.ar-go {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    font-size: 0.75rem;
    color: var(--brand-primary);
    background: rgba(var(--brand-sky-rgb), 0.1);
    transition: background-color 0.25s ease, color 0.25s ease;
}
.ar-item:hover .ar-go {
    background: var(--brand-red);
    color: #fff;
}
@media (max-width: 575.98px) {
    .ar-lead {
        min-height: 15rem;
    }
    .ar-lead-body {
        padding: 1.15rem;
    }
    .ar-thumb {
        flex-basis: 5rem;
    }
    .ar-go {
        display: none;
    }
}

/* Horizontal scroller */
.h-scroll {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 86%);
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0.5rem 0.25rem 1.25rem;
    scrollbar-width: thin;
}
.h-scroll > * {
    scroll-snap-align: start;
}
@media (min-width: 768px) {
    .h-scroll {
        grid-auto-columns: calc((100% - 1.25rem) / 2);
    }
}
@media (min-width: 992px) {
    .h-scroll {
        grid-auto-columns: calc((100% - 2.5rem) / 3);
    }
}

/* Video thumb */
.video-thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0d1c40;
}
.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.88;
    transition: transform 0.4s;
}
.video-thumb button:hover img {
    transform: scale(1.05);
}
.video-thumb .play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 4.25rem;
    height: 4.25rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    display: grid;
    place-items: center;
    color: var(--brand-red);
    font-size: 1.4rem;
    box-shadow:
        0 0 0 10px rgba(255, 255, 255, 0.2),
        0 10px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.25s;
}
.video-thumb button:hover .play {
    transform: scale(1.08);
}

/* ---------- Home videos: big player + playlist ---------- */
.vd-section .section-head-row h2 {
    color: #fff;
}
.vd-stage {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--site-radius-lg);
    overflow: hidden;
    background: #000;
    box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.6);
}
.vd-screen,
.vd-screen iframe,
.vd-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.vd-screen iframe {
    border: 0;
}
.vd-cover {
    padding: 0;
    border: 0;
    background: none;
    color: #fff;
    text-align: left;
    cursor: pointer;
}
.vd-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.vd-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.75));
}
.vd-cover:hover img {
    transform: scale(1.04);
}
.vd-play {
    position: absolute;
    z-index: 1;
    inset: 0;
    margin: auto;
    width: 4.5rem;
    height: 4.5rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 1.35rem;
    color: #fff;
    background: var(--brand-red);
    box-shadow: 0 0 0 0 rgba(var(--brand-red-rgb), 0.5);
    animation: vd-ping 2s ease-out infinite;
    transition: transform 0.25s ease;
}
.vd-cover:hover .vd-play {
    transform: scale(1.08);
}
@keyframes vd-ping {
    to {
        box-shadow: 0 0 0 1.4rem rgba(var(--brand-red-rgb), 0);
    }
}
.vd-caption {
    position: absolute;
    z-index: 1;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.25rem;
}
.vd-caption strong {
    display: block;
    font-size: clamp(1.05rem, 0.9rem + 0.5vw, 1.35rem);
    line-height: 1.35;
}
.vd-cat {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--brand-sky-light);
}
.vd-caption .vd-cat {
    margin-bottom: 0.4rem;
    padding: 0.2rem 0.6rem;
    border-radius: 2rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
}

.vd-list {
    display: grid;
    gap: 0.6rem;
    margin: 0;
}
.vd-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    padding: 0.55rem;
    border-radius: var(--site-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    text-align: left;
    transition: background-color 0.25s ease, border-color 0.25s ease;
}
.vd-item:hover {
    background: rgba(255, 255, 255, 0.09);
}
.vd-item.is-active {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(var(--brand-sky-rgb), 0.6);
}
.vd-thumb {
    position: relative;
    flex: 0 0 7rem;
    aspect-ratio: 16 / 9;
    border-radius: 0.7rem;
    overflow: hidden;
    background: #000;
}
.vd-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}
.vd-thumb i {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 1.75rem;
    height: 1.75rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 0.625rem;
    color: var(--brand-red);
    background: #fff;
}
.vd-item.is-active .vd-thumb i {
    color: #fff;
    background: var(--brand-red);
}
.vd-item-body {
    min-width: 0;
    flex: 1;
}
.vd-no {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.45);
}
.vd-item strong {
    display: -webkit-box;
    font-size: 0.875rem;
    line-height: 1.4;
}
/* Phones/tablets: playlist becomes one swipe row */
@media (max-width: 991.98px) {
    .vd-list {
        grid-auto-flow: column;
        grid-auto-columns: minmax(15rem, 70%);
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }
    .vd-list::-webkit-scrollbar {
        display: none;
    }
    .vd-list li {
        scroll-snap-align: start;
    }
}
@media (max-width: 575.98px) {
    .vd-stage {
        border-radius: var(--site-radius);
    }
    .vd-play {
        width: 3.5rem;
        height: 3.5rem;
        font-size: 1.05rem;
    }
    .vd-caption {
        left: 1rem;
        right: 1rem;
        bottom: 0.85rem;
    }
}
@media (prefers-reduced-motion: reduce) {
    .vd-play {
        animation: none;
    }
}

/* ---------- Home gallery: mosaic (first photo big) ---------- */
.gl-mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 10.5rem;
    gap: 0.875rem;
}
.gl-tile {
    position: relative;
    padding: 0;
    border: 0;
    border-radius: var(--site-radius);
    overflow: hidden;
    background: #e9eff5;
    color: #fff;
}
.gl-tile:first-child {
    grid-column: span 2;
    grid-row: span 2;
    border-radius: var(--site-radius-lg);
}
.gl-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.gl-tile:hover img {
    transform: scale(1.07);
}
/* Title + zoom icon slide up on hover (always shown on the big photo) */
.gl-caption {
    position: absolute;
    inset: auto 0 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 2rem 1rem 0.85rem;
    font-size: 0.8125rem;
    font-weight: 600;
    text-align: left;
    background: linear-gradient(transparent, rgba(var(--brand-dark-rgb), 0.85));
    opacity: 0;
    transform: translateY(0.5rem);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.gl-caption span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.gl-caption i {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.2);
}
.gl-tile:hover .gl-caption,
.gl-tile:focus-visible .gl-caption,
.gl-tile:first-child .gl-caption {
    opacity: 1;
    transform: none;
}
.gl-tile:first-child .gl-caption {
    padding: 3rem 1.25rem 1.1rem;
    font-size: 1rem;
}
@media (max-width: 767.98px) {
    .gl-mosaic {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 8rem;
        gap: 0.625rem;
    }
    .gl-tile:first-child {
        grid-row: span 2;
    }
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}
@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}
@media (min-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
.gallery-item {
    position: relative;
    display: block;
    border-radius: 1.1rem;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #e9eff5;
    border: 0;
    padding: 0;
    width: 100%;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.gallery-item:hover img {
    transform: scale(1.06);
}
.gallery-item .caption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 0.7rem 0.85rem;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: left;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
}
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1080;
    background: rgba(5, 12, 28, 0.93);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.lightbox img {
    max-height: 84vh;
    max-width: 100%;
    border-radius: 0.5rem;
}
.lightbox .lb-btn,
.lightbox .lb-close {
    position: absolute;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 1.2rem;
}
.lightbox .lb-btn {
    top: 50%;
    transform: translateY(-50%);
}
.lightbox .lb-prev {
    left: 1rem;
}
.lightbox .lb-next {
    right: 1rem;
}
.lightbox .lb-close {
    top: 1rem;
    right: 1rem;
}
.lightbox .lb-caption {
    position: absolute;
    bottom: 1rem;
    left: 0;
    right: 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
}

/* Filter pills */
.pill-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}
.pill-filter .btn {
    border-radius: 2rem;
    background: #fff;
    border: 1px solid var(--site-border);
    color: var(--site-text);
    padding: 0.5rem 1.15rem;
}
.pill-filter .btn.active,
.pill-filter .btn:hover {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff;
}

/* Editor content */
.rich {
    font-size: 1.0625rem;
}
.lang-bn .rich {
    font-size: 1.125rem;
}
.rich > :last-child {
    margin-bottom: 0;
}
.rich img {
    border-radius: 0.75rem;
}
.rich h2,
.rich h3,
.rich h4 {
    margin-top: 1.5rem;
}
.rich ul,
.rich ol {
    padding-left: 1.3rem;
}
.rich li {
    margin-bottom: 0.35rem;
}
.rich blockquote {
    border-left: 4px solid var(--brand-sky);
    padding-left: 1rem;
    color: var(--site-muted);
}

/* Timeline (profile) */
.timeline {
    position: relative;
    padding-left: 2rem;
    margin: 0;
    list-style: none;
}
.timeline::before {
    content: "";
    position: absolute;
    left: 0.7rem;
    top: 0.4rem;
    bottom: 0.4rem;
    width: 2px;
    background: linear-gradient(var(--brand-sky), var(--site-border));
}
.timeline li {
    position: relative;
    margin-bottom: 1.35rem;
}
.timeline li:last-child {
    margin-bottom: 0;
}
.timeline .dot {
    position: absolute;
    left: -2rem;
    top: 0.3rem;
    width: 1.45rem;
    height: 1.45rem;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--brand-primary);
}
.timeline .when {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--brand-primary);
}
.timeline h3 {
    font-size: 1.125rem;
    margin: 0;
}

/* Profile page card */
.profile-card {
    position: relative;
    text-align: center;
    padding: 2rem 1.75rem;
}
@media (min-width: 992px) {
    .profile-card.sticky-lg-top {
        position: sticky;
    }
}
.profile-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 7rem;
    background: linear-gradient(
        150deg,
        rgba(var(--brand-sky-rgb), 0.25),
        rgba(var(--brand-primary-rgb), 0.12)
    );
}
.profile-card > * {
    position: relative;
}
.profile-photo {
    width: 210px;
    max-width: 100%;
    aspect-ratio: 388 / 452;
    border-radius: 999px 999px 1.25rem 1.25rem;
    overflow: hidden;
    margin: 0 auto 1.25rem;
    border: 5px solid #fff;
    box-shadow:
        0 0 0 3px rgba(var(--brand-sky-rgb), 0.5),
        var(--site-shadow);
}
.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

/* Doctor card (multi-doctor sites) */
.doctor-card {
    position: relative;
    text-align: center;
    padding: 1.9rem 1.35rem 1.35rem;
    display: flex;
    flex-direction: column;
}
.doctor-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 5.25rem;
    background: linear-gradient(
        150deg,
        rgba(var(--brand-sky-rgb), 0.22),
        rgba(var(--brand-primary-rgb), 0.1)
    );
}
.doctor-card > * {
    position: relative;
}
.doctor-photo {
    width: 124px;
    height: 124px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    margin: 0 auto 1rem;
    border: 4px solid #fff;
    box-shadow:
        0 0 0 3px rgba(var(--brand-sky-rgb), 0.4),
        var(--site-shadow);
    background: #e9eff5;
}
.doctor-name {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}
.doctor-designation {
    color: var(--site-muted);
    font-size: 1rem;
    min-height: 2.6em;
}
.doctor-fee {
    font-weight: 700;
    color: var(--brand-dark);
    font-size: 1.15rem;
}
.doctor-fee del {
    color: var(--site-muted);
    font-weight: 500;
    font-size: 0.95rem;
    margin-left: 0.3rem;
}
.doctor-card .btn {
    white-space: normal;
    padding: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.25;
    min-height: 2.5rem;
}
.day-dots {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin: 0.75rem 0;
}
.day-dot {
    min-width: 2.3rem;
    height: 2.3rem;
    padding: 0 0.3rem;
    border-radius: 1rem;
    display: grid;
    place-items: center;
    font-size: 0.8125rem;
    font-weight: 700;
    background: #eef2f7;
    color: #8996a8;
}
.day-dot.on {
    background: var(--brand-primary);
    color: #fff;
}

/* Chamber */
.chamber-card {
    padding: 1.5rem;
}

/* CTA band: navy to brand blue, with the heartbeat line. */
.cta-band {
    border-radius: var(--site-radius-lg);
    padding: 2.75rem;
    color: #fff;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(
            500px 260px at 100% 0%,
            rgba(var(--brand-sky-rgb), 0.45),
            transparent 70%
        ),
        linear-gradient(135deg, var(--brand-dark), var(--brand-primary));
}
.cta-band h2,
.cta-band .h3,
.cta-band .h5 {
    color: #fff;
}
.cta-band::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    border: 40px solid rgba(255, 255, 255, 0.06);
    right: -120px;
    top: -140px;
    pointer-events: none;
}
.cta-band .cta-pulse {
    position: absolute;
    z-index: -1;
    left: 0;
    right: 0;
    bottom: 1rem;
    width: 100%;
    height: 60px;
    color: rgba(255, 255, 255, 0.18);
}
.cta-band > * {
    position: relative;
}
.cta-band > .cta-pulse {
    position: absolute;
}
@media (max-width: 575.98px) {
    .cta-band {
        padding: 2rem 1.35rem;
    }
    .cta-band .btn {
        flex: 1 1 100%;
    }
}

/* ---------- Home FAQ + book/call card ---------- */
.fq-title {
    font-size: clamp(1.4rem, 1.1rem + 0.9vw, 1.75rem);
    margin: 0.25rem 0 1.25rem;
}
.fq-list {
    display: grid;
    gap: 0.6rem;
}
.fq-item {
    border-radius: var(--site-radius);
    border: 1px solid var(--site-border);
    background: var(--site-bg);
    transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
/* Open item: white card with a coloured edge */
.fq-item:has(.collapse.show),
.fq-item:has(.collapsing) {
    background: #fff;
    border-color: rgba(var(--brand-sky-rgb), 0.45);
    box-shadow: var(--site-shadow);
}
.fq-item h3 {
    margin: 0;
}
.fq-q {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    width: 100%;
    padding: 0.85rem 1rem;
    border: 0;
    background: none;
    text-align: left;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--brand-dark);
}
.fq-no {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 0.7rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand-primary);
    background: rgba(var(--brand-sky-rgb), 0.12);
    transition: background-color 0.25s ease, color 0.25s ease;
}
.fq-q:not(.collapsed) .fq-no {
    color: #fff;
    background: var(--brand-primary);
}
.fq-text {
    flex: 1;
}
/* Plus that turns into a minus */
.fq-icon {
    position: relative;
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--site-border);
}
.fq-icon::before,
.fq-icon::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 0.7rem;
    height: 2px;
    border-radius: 2px;
    background: var(--brand-red);
    transition: transform 0.3s ease;
}
.fq-icon::after {
    transform: rotate(90deg);
}
.fq-q:not(.collapsed) .fq-icon::after {
    transform: rotate(0deg);
}
.fq-a {
    padding: 0 1rem 1rem calc(1rem + 2.1rem + 0.9rem);
    font-size: 0.875rem;
    color: var(--site-muted);
}
.fq-a > :last-child {
    margin-bottom: 0;
}
.fq-more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
}
.fq-more i {
    transition: transform 0.25s ease;
}
.fq-more:hover i {
    transform: translateX(4px);
}

.fq-cta {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    height: 100%;
    padding: 2rem 1.75rem;
    border-radius: var(--site-radius-lg);
    color: rgba(255, 255, 255, 0.8);
    background:
        radial-gradient(420px 240px at 100% 0%, rgba(var(--brand-sky-rgb), 0.45), transparent 70%),
        linear-gradient(150deg, var(--brand-dark), var(--brand-primary));
}
/* Two soft rings in the corner */
.fq-cta::before,
.fq-cta::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    right: -5rem;
    top: -5rem;
    width: 14rem;
    height: 14rem;
}
.fq-cta::after {
    width: 20rem;
    height: 20rem;
    right: -8rem;
    top: -8rem;
}
.fq-cta-ic {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    border-radius: 1rem;
    font-size: 1.25rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
}
.fq-cta h2 {
    color: #fff;
    font-size: clamp(1.35rem, 1.1rem + 0.7vw, 1.6rem);
    margin-bottom: 0.35rem;
}
.fq-cta p {
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}
.fq-hours {
    display: flex;
    gap: 0.6rem;
    padding: 0.7rem 0.85rem;
    border-radius: 0.85rem;
    font-size: 0.8125rem !important;
    line-height: 1.55;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 1.25rem !important;
}
.fq-hours i {
    margin-top: 0.2rem;
    color: var(--brand-sky-light);
}
.fq-cta .btn-light {
    color: var(--brand-dark);
}
.fq-or {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.1rem 0 0.75rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}
.fq-or::before,
.fq-or::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.18);
}
.fq-phones {
    display: grid;
    gap: 0.5rem;
    margin: 0;
}
.fq-phones a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0.9rem 0.55rem 0.55rem;
    border-radius: 0.9rem;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background-color 0.25s ease;
}
.fq-phones a:hover {
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
}
.fq-phones strong {
    flex: 1;
    font-size: 0.9375rem;
    letter-spacing: 0.02em;
}
.fq-phones a > i {
    font-size: 0.75rem;
    opacity: 0.6;
    transition: transform 0.25s ease;
}
.fq-phones a:hover > i {
    transform: translateX(4px);
}
.fq-phone-ic {
    display: grid;
    place-items: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 0.7rem;
    font-size: 0.8125rem;
    color: #fff;
    background: var(--brand-red);
}
@media (max-width: 575.98px) {
    .fq-cta {
        padding: 1.5rem 1.25rem;
    }
    .fq-a {
        padding-left: 1rem;
    }
}

/* FAQ */
.accordion {
    --bs-accordion-border-color: var(--site-border);
    --bs-accordion-active-bg: rgba(var(--brand-sky-rgb), 0.08);
    --bs-accordion-active-color: var(--brand-dark);
    --bs-accordion-btn-focus-box-shadow: 0 0 0 3px
        rgba(var(--brand-sky-rgb), 0.3);
    --bs-accordion-border-radius: 1rem;
    --bs-accordion-inner-border-radius: 0.95rem;
}
.accordion-item {
    margin-bottom: 0.65rem;
    border: 1px solid var(--site-border) !important;
    border-radius: 1rem !important;
    overflow: hidden;
    background: #fff;
}
.accordion-button {
    font-weight: 600;
    font-size: 1.0625rem;
    padding: 1.15rem 1.35rem;
}
.lang-bn .accordion-button {
    font-size: 1.125rem;
}
.accordion-body {
    color: var(--site-muted);
    padding: 0.25rem 1.35rem 1.25rem;
}

/* ---------- Forms ---------- */
.form-control,
.form-select {
    border-radius: 0.85rem;
    padding: 0.75rem 1rem;
    border-color: #d3dde8;
    font-size: 1.0625rem;
}
.form-control-lg,
.form-select-lg {
    font-size: 1.125rem;
    padding: 0.85rem 1.05rem;
}
.form-control:focus,
.form-select:focus {
    border-color: var(--brand-sky);
    box-shadow: 0 0 0 0.25rem rgba(var(--brand-sky-rgb), 0.2);
}
.form-label {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.45rem;
    color: var(--brand-dark);
}
.form-label.required::after {
    content: " *";
    color: var(--brand-red);
}
.form-text {
    font-size: 0.9rem;
}
.auth-card {
    max-width: 500px;
    margin: 0 auto;
}
.auth-card.wide {
    max-width: 780px;
}
.choice-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.choice-group input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.choice-group label {
    border: 2px solid var(--site-border);
    border-radius: 0.85rem;
    padding: 0.6rem 1.1rem;
    cursor: pointer;
    font-weight: 600;
    background: #fff;
    margin: 0;
}
.choice-group input:checked + label {
    border-color: var(--brand-primary);
    background: rgba(var(--brand-sky-rgb), 0.1);
    color: var(--brand-primary);
}
.choice-group input:focus-visible + label {
    outline: 3px solid rgba(var(--brand-sky-rgb), 0.5);
}

/* ---------- App pages (booking, patient area, login): compact ---------- */
/* Slim title bar instead of the tall page hero. */
.page-hero-compact {
    padding: 1rem 0 1.1rem;
    background: #fff;
    border-bottom: 1px solid var(--site-border);
}
.page-hero-compact .breadcrumb {
    font-size: 0.875rem;
}
.page-hero-compact .page-hero-title {
    font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.75rem);
    margin-top: 0.15rem;
}
.section-app {
    padding-bottom: 2.5rem;
}
.min-w-0 {
    min-width: 0;
}
.card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.1rem;
    border-bottom: 1px solid var(--site-border);
}
.card-head .h6 {
    font-size: 1.0625rem;
}

/* Segmented tabs (patient dashboard) */
.seg-tabs {
    display: inline-flex;
    gap: 0.25rem;
    padding: 0.25rem;
    background: #e9f0f6;
    border-radius: 0.9rem;
    max-width: 100%;
    overflow-x: auto;
}
.seg-tabs .btn {
    border: 0;
    border-radius: 0.7rem;
    padding: 0.45rem 0.9rem;
    color: var(--site-muted);
    background: transparent;
    font-size: 0.95rem;
}
.seg-tabs .btn.active {
    background: #fff;
    color: var(--brand-primary);
    box-shadow: 0 1px 4px rgba(13, 28, 64, 0.1);
}
@media (max-width: 575.98px) {
    .seg-tabs {
        display: flex;
        width: 100%;
    }
    .seg-tabs .btn {
        flex: 1;
    }
}

/* ---------- Booking ---------- */
.book-card {
    padding: 1rem 1rem 1.1rem;
}
@media (min-width: 768px) {
    .book-card {
        padding: 1.35rem 1.5rem;
    }
}
.book-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}
.book-h {
    font-size: 1.125rem;
    margin: 0;
}
/* Stepper: one slim row, number + label, line between steps. */
.stepper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1rem;
    padding: 0.6rem 0.9rem;
    background: #fff;
    border: 1px solid var(--site-border);
    border-radius: 1rem;
}
.stepper .st {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex: 1 1 auto;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--site-muted);
    white-space: nowrap;
}
.stepper .st:not(:last-child)::after {
    content: "";
    flex: 1 1 1rem;
    min-width: 0.75rem;
    height: 2px;
    border-radius: 2px;
    background: var(--site-border);
    margin-left: 0.25rem;
}
.stepper .st.done:not(:last-child)::after {
    background: var(--brand-accent);
}
.stepper .st:last-child {
    flex: 0 0 auto;
}
.stepper .st .n {
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex: 0 0 1.85rem;
    background: #e5ecf3;
    color: var(--site-muted);
    font-weight: 700;
    font-size: 0.9rem;
}
.stepper .st.done .n {
    background: var(--brand-accent);
    color: #fff;
}
.stepper .st.current .n {
    background: var(--brand-primary);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(var(--brand-primary-rgb), 0.15);
}
.stepper .st.current {
    color: var(--brand-dark);
}
@media (max-width: 400px) {
    .stepper .st:not(.current) .lbl {
        display: none;
    }
}
.pick-card {
    border: 2px solid var(--site-border);
    border-radius: 1rem;
    background: #fff;
    padding: 0.75rem;
    width: 100%;
    text-align: left;
    display: flex;
    gap: 0.85rem;
    align-items: center;
    transition:
        border-color 0.15s,
        box-shadow 0.15s;
}
.pick-card:hover {
    border-color: rgba(var(--brand-sky-rgb), 0.6);
}
.pick-card.selected {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 4px rgba(var(--brand-primary-rgb), 0.12);
}
.pick-card img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    flex: 0 0 52px;
}
.booking-doctor {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    padding-bottom: 0.85rem;
    margin-bottom: 0.85rem;
    border-bottom: 1px dashed var(--site-border);
    line-height: 1.35;
}
.booking-doctor img {
    width: 52px;
    height: 60px;
    border-radius: 0.8rem;
    object-fit: cover;
    object-position: top;
    flex: 0 0 52px;
}
.date-strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 66px;
    gap: 0.45rem;
    overflow-x: auto;
    padding: 0.15rem 0.1rem 0.6rem;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
}
.date-btn {
    border: 2px solid var(--site-border);
    border-radius: 0.85rem;
    background: #fff;
    padding: 0.4rem 0.2rem;
    text-align: center;
    scroll-snap-align: start;
    line-height: 1.25;
}
.date-btn .dw {
    font-size: 0.8125rem;
    color: var(--site-muted);
    font-weight: 600;
}
.date-btn .dd {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--brand-dark);
    line-height: 1.2;
}
.date-btn .dm {
    font-size: 0.8125rem;
    color: var(--site-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.date-btn.selected {
    border-color: var(--brand-primary);
    background: var(--brand-primary);
}
.date-btn.selected * {
    color: #fff !important;
}
.date-btn:disabled {
    opacity: 0.45;
    background: #f3f5f8;
    cursor: not-allowed;
}
/* Session tabs (morning / evening) with free count */
.session-tabs {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
    overflow-x: auto;
}
.session-tab {
    flex: 1 1 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    white-space: nowrap;
    border: 2px solid var(--site-border);
    background: #fff;
    border-radius: 0.85rem;
    padding: 0.45rem 0.75rem;
    font-weight: 600;
    color: var(--site-muted);
    font-size: 0.95rem;
}
.session-tab .cnt {
    min-width: 1.6rem;
    padding: 0 0.4rem;
    border-radius: 1rem;
    background: rgba(113, 177, 89, 0.15);
    color: color-mix(in srgb, var(--brand-accent) 65%, #000);
    font-size: 0.85rem;
}
.session-tab.active {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    background: rgba(var(--brand-sky-rgb), 0.08);
}
.serial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
    gap: 0.4rem;
}
@media (min-width: 768px) {
    .serial-grid {
        grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
        gap: 0.5rem;
    }
}
.serial-btn {
    border: 2px solid var(--site-border);
    border-radius: 0.75rem;
    background: #fff;
    padding: 0.35rem 0.2rem;
    text-align: center;
    line-height: 1.2;
}
.serial-btn .sn {
    font-weight: 700;
    color: var(--brand-dark);
    display: block;
    font-size: 1rem;
}
.serial-btn .tm {
    font-size: 0.8125rem;
    color: var(--site-muted);
    white-space: nowrap;
}
.serial-btn:hover:not(:disabled) {
    border-color: var(--brand-sky);
}
.serial-btn.selected {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
}
.serial-btn.selected .sn,
.serial-btn.selected .tm {
    color: #fff;
}
.serial-btn:disabled {
    background: repeating-linear-gradient(
        45deg,
        #f4f6f9,
        #f4f6f9 6px,
        #edf0f4 6px,
        #edf0f4 12px
    );
    cursor: not-allowed;
}
.serial-btn:disabled .sn,
.serial-btn:disabled .tm {
    color: #aab4c3;
    text-decoration: line-through;
}
.book-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    text-align: center;
    padding: 1.25rem 1rem;
    border-radius: 1rem;
    background: #fff8e6;
    color: #7a5408;
}
.book-empty > i {
    font-size: 1.6rem;
    opacity: 0.7;
}
.booking-page .choice-group label {
    padding: 0.45rem 0.9rem;
}
.summary-box {
    background: rgba(var(--brand-sky-rgb), 0.08);
    border: 1px dashed rgba(var(--brand-primary-rgb), 0.35);
    border-radius: 1rem;
    padding: 0.85rem 1.1rem;
}
.success-check {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    background: rgba(113, 177, 89, 0.15);
    color: var(--brand-accent);
    display: grid;
    place-items: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
}

/* ---------- Patient area ---------- */
.appt-row {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    padding: 0.8rem 1.1rem;
    border-bottom: 1px solid var(--site-border);
}
.appt-row:last-child {
    border-bottom: 0;
}
.appt-date {
    flex: 0 0 3.6rem;
    text-align: center;
    border-radius: 0.9rem;
    background: rgba(var(--brand-sky-rgb), 0.1);
    padding: 0.45rem 0;
}
.appt-date .d {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--brand-dark);
    line-height: 1.1;
}
.appt-date .m {
    font-size: 0.85rem;
    color: var(--site-muted);
}
.badge-status {
    font-weight: 600;
    padding: 0.4rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.875rem;
}
.badge-st-1 {
    background: #e7f1fb;
    color: #1d6fb8;
}
.badge-st-2 {
    background: #fff4dc;
    color: #9a6309;
}
.badge-st-3 {
    background: #e5f4e0;
    color: #3d7529;
}

/* ---------- Footer ---------- */
.site-footer {
    position: relative;
    background: var(--brand-dark);
    color: rgba(255, 255, 255, 0.85);
    margin-top: 4.5rem;
}
.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(
        600px 300px at 100% 0%,
        rgba(var(--brand-sky-rgb), 0.15),
        transparent 70%
    );
}
.site-footer > * {
    position: relative;
}
.site-footer .footer-wave {
    position: absolute;
    left: 0;
    width: 100%;
    height: 60px;
    top: -59px;
    fill: var(--brand-dark);
}
.site-footer a {
    color: rgba(255, 255, 255, 0.85);
}
.site-footer a:hover {
    color: #fff;
}
.site-footer .h5,
.site-footer h2,
.site-footer h3 {
    color: #fff;
}
.footer-title {
    position: relative;
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.65rem;
}
.footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 2rem;
    height: 2px;
    border-radius: 2px;
    background: var(--brand-red);
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 0.6rem;
}
.footer-links a {
    transition:
        padding 0.2s,
        color 0.2s;
}
.footer-links a:hover {
    padding-left: 0.3rem;
    text-decoration: none;
}
.footer-logo {
    background: #fff;
    border-radius: 0.75rem;
    padding: 0.35rem 0.5rem;
    height: 52px;
    width: auto;
}
.social-btn {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.1);
    transition:
        background 0.2s,
        transform 0.2s;
}
.social-btn:hover {
    background: var(--brand-sky);
    text-decoration: none;
    transform: translateY(-2px);
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Contact cards along the top of the footer */
.ft-contact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 0.875rem;
    padding: 2.5rem 0 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.ft-card {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.9rem 1rem;
    border-radius: var(--site-radius);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-width: 0;
}
.ft-card > div {
    min-width: 0;
}
.ft-card-ic {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.9rem;
    font-size: 1rem;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-sky));
}
.ft-label {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.55);
}
.ft-val {
    display: flex;
    flex-wrap: wrap;
    column-gap: 0.9rem;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.45;
    color: #fff;
    overflow-wrap: anywhere;
}
.ft-val a {
    color: #fff;
}
/* Email: keep on one line (long addresses get "…", full one is in the title) */
.ft-val.is-email {
    display: block;
    font-size: 0.875rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    overflow-wrap: normal;
}
@media (min-width: 992px) {
    .ft-contact {
        grid-template-columns: 1fr 1.2fr 1.2fr;
    }
}

.ft-main {
    padding: 2.25rem 0 2.5rem;
}
.ft-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff !important;
}
.ft-brand:hover {
    text-decoration: none;
}
.ft-tagline {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 1rem;
}
.ft-main .footer-links {
    font-size: 0.9375rem;
}
.ft-hours {
    padding: 1.25rem;
    border-radius: var(--site-radius);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.ft-hours .footer-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.9rem;
}
.ft-hours .footer-title i {
    color: var(--brand-sky);
    font-size: 0.95rem;
}
.ft-hours p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}
.ft-top {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}
.ft-top i {
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    transition: background-color 0.2s ease, transform 0.2s ease;
}
.ft-top:hover {
    text-decoration: none;
}
.ft-top:hover i {
    background: var(--brand-red);
    transform: translateY(-2px);
}
@media (max-width: 575.98px) {
    .ft-contact {
        padding-top: 2rem;
    }
    .ft-main {
        padding: 1.75rem 0 2rem;
    }
}
/* Phone / tablet tab bar */
.tab-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    display: flex;
    gap: 0.25rem;
    padding: 0.4rem 0.5rem;
    padding-bottom: calc(0.4rem + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid var(--site-border);
    box-shadow: 0 -6px 24px rgba(13, 28, 64, 0.08);
}
.tab-bar .tab {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    min-height: 3.25rem;
    border: 0;
    background: none;
    border-radius: 0.9rem;
    color: var(--site-muted);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
}
.lang-bn .tab-bar .tab {
    font-size: 0.8125rem;
}
.tab-bar .tab i {
    font-size: 1.2rem;
}
.tab-bar .tab.active {
    color: var(--brand-primary);
}
.tab-bar .tab-main {
    flex-grow: 1.4;
    color: #fff;
    background: var(--brand-red);
    box-shadow: 0 6px 16px rgba(var(--brand-red-rgb), 0.3);
}
.tab-bar .tab-main.active,
.tab-bar .tab-main:hover {
    color: #fff;
}
@media (max-width: 991.98px) {
    body {
        padding-bottom: calc(4.25rem + env(safe-area-inset-bottom));
    }
}

/* Pagination */
.pagination {
    --bs-pagination-color: var(--brand-primary);
    --bs-pagination-active-bg: var(--brand-primary);
    --bs-pagination-active-border-color: var(--brand-primary);
    --bs-pagination-border-radius: 0.65rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }
    .pulse-line path {
        stroke-dashoffset: 0;
    }
}
.today-item .val a,
.text-break-any {
    overflow-wrap: anywhere;
}
