@font-face {
    font-family: 'JT Distressed';
    src: url('Fonts/JT-Distressed.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Acumin Variable';
    src: url('Fonts/AcuminVariableConcept.otf') format('opentype');
    font-weight: 100 900;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('Fonts/HelveticaNeue.ttc') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --brand-navy: #29397f;
    --brand-red: #991f25;
    --text-grey: #666666;
    --text-muted: #555555;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #F2F4F6;
    --bg-texture: url('assests/bg-texture.png');

    --red-section: var(--brand-red);
    --blue-section: var(--brand-navy);
    --orange-section: #ef6a2b;
    --yellow-section: #e5a900;

    --tagline-red: var(--brand-red);
    --frame-border: #FFC300;
    --doctor-grad: linear-gradient(to bottom, #d14a3d, #8b1c1c);
    --city-grad: linear-gradient(to bottom, #efb100, #b87400);

    --mi-duration: 0.3s;
    --mi-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --mi-lift-img: -3px;
    --mi-lift: -2px;
    --mi-text-pop: -3px;
    --mi-text-scale: 1.02;
    --mi-img-scale: 1.01;
    --mi-img-shadow: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.07));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* = navbar height, so anchor jumps land the section right under it */
    min-height: 100%;
    -webkit-text-size-adjust: 100%;
    /* single flat background — texture removed so the navbar, page and all
       sections share ONE uniform tone (no two-white seam, and no scroll lag). */
    background-color: var(--bg-light);
    background-image: none;
}

body,
#page-root {
    background: transparent;
    background-image: none;
    min-height: 100%;
}

/* One texture for the whole page — colored slides stay solid */
#page-root > section,
.pharma-footer,
.hero,
.trust-container,
.doctor-section,
.about-timeline-section,
.about-timeline-container,
.stats-section,
.stats-container,
.content-slides {
    background-color: transparent;
    background-image: none;
}

.slide.bg-maroon,
.slide.bg-navy,
.slide.bg-orange,
.slide.bg-gold {
    background-image: none;
}

body {
    font-family: 'Acumin Variable', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    /* Clarity improvements */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    /* remove the blue tap-flash on mobile for a cleaner, app-like feel */
    -webkit-tap-highlight-color: transparent;
}

img {
    image-rendering: auto;
    backface-visibility: hidden;
}

/* Touch-friendly interactions for mobile */
button, a {
    -webkit-tap-highlight-color: transparent;
}

@media (hover: none) and (pointer: coarse) {
    /* Touch devices - larger touch targets */
    button, [role="button"], .filter-table, .filter-option {
        min-height: 44px;
        min-width: 44px;
    }
    
    .filter-head, .filter-selected {
        min-height: 44px;
    }
}

/* ============================================================
   HEADER — rebuilt from scratch with CSS Grid (3 fixed columns)
   [ LOGO 260 ]      [ NAVIGATION 1fr ]      [ MAP 180 ]
   No absolute positioning, no negative margins, no manual offsets.
   ============================================================ */
/* the navbar's height, so the hero can hand a slide exactly what is
   left of the screen below it */
:root { --nav-h: 100px; }
@media (max-width: 992px) { :root { --nav-h: 72px; } }
@media (max-width: 480px) { :root { --nav-h: 64px; } }

.navbar,
.navbar.scrolled {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    justify-content: center;
    /* the same cream the hero band opens with, so the header reads as part of it */
    background-color: #fbf5f0;
    background-image: none;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
    transform: translateY(-100%);
    animation: navbar-slide-down 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) 0.1s forwards;
}

.navbar.scrolled {
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
}

/* the fixed side columns always reserve space for the logo and the MAP
   button, so the centre navigation can never overlap either of them. */
.nav-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 48px;
    height: 100px;
    display: grid;
    grid-template-columns: 260px 1fr 180px;
    align-items: center;
}

/* ---- column 1: logo (left) ---- */
.nav-logo {
    justify-self: start;
    /* the tagline is inside this anchor and was picking up its underline */
    text-decoration: none;
    /* the wordmark now carries the tagline beneath it, as the brand lockup does */
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: transform var(--mi-duration) var(--mi-ease);
}

.nav-tagline {
    font-family: 'Acumin Variable', sans-serif;
    font-size: .72rem;
    font-weight: 700;
    font-style: italic;
    line-height: 1.25;
    letter-spacing: .01em;
    color: #fff;
    white-space: nowrap;
    padding: 3px 13px;
    border-radius: 5px;
    background: linear-gradient(90deg, #ee5323 0%, #d33a23 55%, #b92022 100%);
}

.nav-logo:hover {
    transform: translateY(var(--mi-lift));
}

.logo-img {
    width: 220px;
    height: auto;
    object-fit: contain;
    display: block;
}

/* ---- column 2: navigation (centre) ---- */
.nav-links {
    min-width: 0;        /* keep the centre track from overflowing its column */
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    /* the six labels have to fit the centre track at every desktop width,
       so both the gap and the type stay inside what the column can hold */
    gap: clamp(20px, 2.1vw, 34px);
}

.nav-links li {
    position: relative;
}

.nav-links li a {
    position: relative;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-family: 'Acumin Variable', sans-serif;
    font-weight: 700;
    font-size: clamp(14px, 0.88vw, 16px);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--brand-navy);
    white-space: nowrap;
    padding: 6px 0;
    transition: color 0.25s ease, transform var(--mi-duration) var(--mi-ease);
}

.nav-links li a:hover {
    color: var(--brand-red);
    transform: translateY(-1px);
}

/* animated underline */
.nav-links li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--brand-red);
    transition: width 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.nav-links li a.active {
    color: var(--brand-red);
}

/* ---- column 3: MAP button (right) ---- */
.nav-cta {
    justify-self: end;
    flex-shrink: 0;
    white-space: nowrap;
    width: 140px;
    height: 54px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px; /* space between the map icon and the label */
    text-decoration: none;
    font-family: 'Acumin Variable', sans-serif;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    background: var(--orange-section);
    box-shadow: 0 6px 16px -6px rgba(239, 106, 43, 0.7);
    transition: transform var(--mi-duration) var(--mi-ease), box-shadow var(--mi-duration) var(--mi-ease), background-color 0.2s ease;
}

.nav-cta:hover {
    background: #d8551c;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px -6px rgba(239, 106, 43, 0.8);
}

/* small map-pin icon inside the MAP button */
.nav-cta-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    margin-top: -1px;
}

/* ---- hamburger (mobile only) ---- */
.menu-toggle {
    display: none;
    flex: 0 0 auto;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--brand-navy);
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* ============== Responsive ============== */
/* The nav carries six labels now, one of them long ("Trusted by Doctors").
   Between the mobile breakpoint and ~1340px the centre track needs a little
   more room, so the side columns and the label metrics tighten slightly.
   Same type, same colours — only the scale changes. */
@media (min-width: 993px) and (max-width: 1340px) {
    .nav-container {
        padding: 0 24px;
        grid-template-columns: 200px 1fr 150px;
    }

    .logo-img {
        width: 176px;
    }

    .nav-tagline {
        font-size: .66rem;
        padding: 2px 10px;
    }

    .nav-links {
        gap: clamp(14px, 1.9vw, 28px);
    }

    .nav-links li a {
        font-size: 13px;
        letter-spacing: 0.6px;
    }

    .nav-cta {
        width: 122px;
        height: 48px;
    }
}

@media (max-width: 992px) {
    .nav-container {
        display: flex;
        justify-content: space-between;
        gap: 16px;
        height: 72px;
        padding: 0 24px;
    }

    .logo-img {
        width: 150px;
    }

    .nav-tagline {
        font-size: .6rem;
        padding: 2px 9px;
    }

    .menu-toggle {
        display: flex;
        order: 3;
    }

    /* MAP pill sits just left of the hamburger */
    .nav-cta {
        order: 2;
        margin-left: auto;
        margin-right: 16px;
        width: 112px;
        height: 44px;
        font-size: 14px;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        width: 72%;
        max-width: 340px;
        height: 100vh;
        background-color: rgba(242, 244, 246, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.4rem;
        transition: right 0.4s ease;
        box-shadow: -5px 0 24px rgba(0, 0, 0, 0.12);
        z-index: 100;
        padding-top: 80px;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li a {
        font-size: 1.05rem;
        letter-spacing: 0.08em;
    }

    /* hamburger -> X */
    .menu-toggle.active span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 16px;
        height: 64px;
    }

    .logo-img {
        width: 128px;
    }

    .nav-tagline {
        font-size: .54rem;
        padding: 2px 8px;
    }

    .nav-cta {
        margin-right: 12px;
        width: 96px;
        height: 40px;
        font-size: 13px;
    }

    .nav-links {
        width: 100%;
        max-width: none;
    }
}

/* HERO SECTION */
/* Laid out to the key visual's own proportions. Every measurement below is a
   percentage of the claim pill's width, taken off the reference artwork, and
   expressed in cqw so the whole composition scales as one piece:
       pill    w 100    h 12.0
       wordmark  left  -1.4  w 56.0   top 20.8
       tagline   left   4.6  w 35.7   top 36.8
       badge     left   1.3  w 45.4   top 47.3   (bottom 57.7)
       pack      left  56.7  w 47.5   top 28.5
   The vw/px values are the fallback for browsers without container queries. */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: stretch;
    /* only the navbar: the space under it belongs to whichever slide is up */
    padding: var(--nav-h) 0 0;
}

/* Matched by id as well as class: the page-wide `#page-root > section` reset
   that strips every section's background outranks a plain `.hero`. */
#hero.hero {
    /* The artwork's ground is pale (mean #fcf3ef) but it only has to cover
       1182px; stretched across a full-width band the same tones washed out in
       the middle. Two soft blotches carry its watercolour warmth back in, and
       the ramp is pulled toward the frame's own edge readings. */
    background:
        radial-gradient(58% 76% at 16% 26%, rgba(247, 214, 198, 0.42), rgba(247, 214, 198, 0) 70%),
        radial-gradient(52% 70% at 84% 72%, rgba(246, 206, 188, 0.38), rgba(246, 206, 188, 0) 70%),
        linear-gradient(103deg, #fbf1ea 0%, #fdf4ef 34%, #fbf2ee 60%, #f8eee7 82%, #fdefe5 100%);
}

/* ---- the hero carries two slides: the key visual, then the film ---- */
.hero-carousel {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.hero-track::-webkit-scrollbar { display: none; }

.hero-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    display: flex;
    justify-content: center;
    align-items: center;
    /* a definite height, not a minimum: the film sizes itself from it, and a
       minimum would leave the percentage circular and fall back to the
       picture's own 16:9 */
    height: calc(100vh - var(--nav-h));
}

/* the film slide has no margin to give: its child fills the band */
.hero-slide-film {
    align-items: stretch;
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    cursor: pointer;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .92);
    color: var(--brand-navy);
    border: 1px solid rgba(41, 57, 127, .16);
    box-shadow: 0 12px 28px -12px rgba(41, 57, 127, .5);
    transition: background .25s ease, color .25s ease, transform .25s ease, opacity .25s ease;
}

.hero-nav:hover { background: var(--brand-navy); color: #fff; transform: translateY(-50%) scale(1.06); }
.hero-nav[disabled] { opacity: .3; cursor: default; pointer-events: none; }
.hero-nav-prev { left: 12px; }
.hero-nav-next { right: 12px; }

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    justify-content: center;
    gap: 9px;
    margin: 0;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .74);
    box-shadow: 0 6px 20px -12px rgba(41, 57, 127, .7);
    backdrop-filter: blur(6px);
}

.hero-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    padding: 0;
    cursor: pointer;
    border: none;
    background: rgba(41, 57, 127, .24);
    transition: background .25s ease, width .25s ease;
}

.hero-dot[aria-current="true"] { background: var(--brand-red); width: 28px; }

/* ---- the film: a poster until someone asks for it ---- */
/* The film ignores the key visual's 1440 frame and covers the band: full
   width, and every pixel between the navbar and the bottom of the screen.
   Matched by both classes because the plain .hero-inner rule sits further down
   the file and would otherwise win the width on equal specificity. */
.hero-inner.hero-inner-film {
    display: flex;
    width: 100%;
}

.hero-film {
    position: relative;
    width: 100%;
    /* the band is wider than 16:9, so covering it trims a little off the top
       and bottom of the picture - the price of going edge to edge */
    height: 100%;
    overflow: hidden;
    background: #fbfbfb;   /* the poster's own ground */
}

.hero-film picture,
.hero-film-poster,
.hero-film-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* The band is wider than 16:9, so the film is cropped a little top and bottom
   to cover it. The poster is a still with a headline across the top, which
   that crop would slice, so it sits whole instead - its own ground is #fbfbfb,
   which is the box's, so the margin either side does not read as a margin. */
.hero-film-poster { object-fit: contain; }

.hero-film-play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 76px;
    height: 76px;
    border-radius: 999px;
    cursor: pointer;
    display: grid;
    place-items: center;
    padding-left: 5px;              /* the triangle reads centred with a nudge */
    border: none;
    color: #fff;
    background: rgba(163, 30, 35, .93);
    box-shadow: 0 14px 34px -10px rgba(0, 0, 0, .55);
    transition: transform .25s ease, background .25s ease;
}

.hero-film-play:hover { transform: scale(1.08); background: var(--brand-red); }

.hero-film-note {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 26px 18px 46px;
    font-family: 'Acumin Variable', sans-serif;
    font-size: .74rem;
    line-height: 1.4;
    text-align: center;
    color: rgba(255, 255, 255, .88);
    background: linear-gradient(to top, rgba(14, 20, 36, .58), rgba(14, 20, 36, 0));
    pointer-events: none;
}

.hero-film.is-playing .hero-film-note { display: none; }

@media (max-width: 992px) {
    .hero-slide { height: auto; }
    .hero-slide-film { align-items: center; }
    .hero-slide-film .hero-inner.hero-inner-film { width: min(620px, 92vw); }

    .hero-film {
        height: auto;
        aspect-ratio: 16 / 9;
        border-radius: 14px;
        box-shadow: 0 26px 60px -34px rgba(41, 57, 127, .55);
    }

    .hero-dots {
        position: static;
        transform: none;
        margin-top: 14px;
        padding: 0;
        background: none;
        box-shadow: none;
        backdrop-filter: none;
    }
}

@media (max-width: 860px) {
    .hero-nav { width: 38px; height: 38px; }
    .hero-nav-prev { left: 4px; }
    .hero-nav-next { right: 4px; }
    .hero-film-play { width: 58px; height: 58px; }
    .hero-film-note { font-size: .68rem; padding: 20px 12px 9px; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-track { scroll-behavior: auto; }
}

.hero-fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 8vh;
    background: linear-gradient(to bottom, rgba(242, 244, 246, 0), var(--bg-light, #F2F4F6));
    pointer-events: none;
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    /* The composition is 57.7% of its own width tall, so the width is also
       capped by the height left under the navbar: it stays above the fold. */
    width: min(1440px, 92vw, (100vh - 198px) * 1.733);
    container-type: inline-size;
}

/* ---- the claim ---- */
.hero-claim {
    width: 100%;
    margin: 0;
    font-family: inherit;
    text-align: center;
    color: #fff;
    font-weight: 500;
    line-height: 1.22;
    font-size: clamp(1rem, 2.6vw, 2.6rem);
    padding: 1.2% 5%;
    border-radius: 999px;
    background: #a31e23;
    box-shadow: 0 0 0 0.28cqw #f2601f, 0 1cqw 2.2cqw rgba(146, 25, 31, 0.18);
}

.hero-claim strong { font-weight: 700; }

@container (min-width: 1px) {
    .hero-claim { font-size: 3.8cqw; padding: 1.37cqw 5cqw; }
}

/* ---- wordmark, tagline and badge on the left, pack on the right ---- */
.hero-main {
    display: grid;
    grid-template-columns: 56cqw 1fr;
    align-items: start;
    margin: 7.6cqw 0 0;
}

.hero-lead {
    width: 56cqw;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-lockup {
    display: block;
    width: 56cqw;
    height: auto;
    aspect-ratio: 1073 / 291;
}

.hero-tag {
    margin: 1.4cqw 0 0 -2.3cqw;
    display: flex;
    align-items: center;
    gap: 1.4cqw;
}

.hero-tag::before,
.hero-tag::after {
    content: "";
    width: 5.5cqw;
    height: 0.22cqw;
    background: #a31e23;
    opacity: 0.7;
}

.hero-tag span {
    color: #fff;
    background: linear-gradient(90deg, #ee5323 0%, #d33a23 55%, #b92022 100%);
    font-size: 2.85cqw;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 0.01em;
    line-height: 1.2;
    padding: 0.35em 1.05em;
    border-radius: 0.55cqw;
    white-space: nowrap;
}

/* ---- India's 1st Indigenously Researched Antibiotic ---- */
.hero-first {
    margin: 4.4cqw 0 0 1.3cqw;
    display: flex;
    align-items: center;
    gap: 0.4cqw;
}

.hero-first-country {
    color: var(--brand-navy);
    font-size: 3.3cqw;
    font-weight: 700;
    font-style: italic;
    line-height: 1.1;
    /* the artwork writes it across the flag: saffron above, the white stripe
       carrying the word, green below */
    background: #fff;
    padding: 0.35cqw 0.7cqw;
    border-top: 0.5cqw solid #dd7131;
    border-bottom: 0.5cqw solid #2a9159;
    border-radius: 0.2cqw;
}

.hero-first-claim {
    display: flex;
    align-items: center;
    gap: 0.5cqw;
}

.hero-first-rank {
    color: #a31e23;
    font-size: 14.5cqw;
    font-weight: 700;
    line-height: 0.86;
}

.hero-first-rank sup { font-size: 0.3em; vertical-align: super; }

.hero-first-what {
    color: #a31e23;
    /* Acumin sets wider than the artwork's face, so the size is chosen to land
       on the reference's line WIDTH (26.7% of the pill); matching its height
       instead would push "Researched Antibiotic" onto a third line. */
    font-size: 2.5cqw;
    font-weight: 700;
    font-style: italic;
    line-height: 1.16;
    white-space: nowrap;
    /* the artwork rules a thin outline around these two lines only — the
       numeral stands outside it and runs taller than the box */
    padding: 0.55cqw 1.5cqw;
    border: 0.13cqw solid #e9cbb9;
    border-radius: 1cqw;
}

/* ---- the pack ---- */
.hero-pack {
    /* the cut-out keeps a transparent margin, so the box is wider than the
       47.5% the ink should cover; it is pushed right and allowed to overlap
       the left column, where only that margin lands */
    /* Sized off the podium's gold ring, which is unmistakable in both images:
       the reference runs it from 50.2 to 104.2 in pill-width units. */
    width: 68cqw;
    justify-self: end;
    margin: 4.6cqw -5cqw 0 0;
}

/* The pack lifts as one piece. Splitting the carton from its podium so only
   the carton floated tore it: the podium cut-out had kept the carton's bottom
   band, which stayed behind while the rest rose. */
.hero-pack-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 466 / 262;
    filter: drop-shadow(0 0.6cqw 0.9cqw rgba(122, 62, 34, 0.16));
    animation: hero-pack-float 5.6s ease-in-out 1.3s infinite;
    will-change: transform;
}

@keyframes hero-pack-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-2.4%); }
}

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

/* ---- stacked below the tablet breakpoint: the reference layout is landscape ---- */
@media (max-width: 992px) {
    .hero {
        min-height: auto;
        padding: calc(86px + 5vh) 0 10vh;
    }

    .hero-inner {
        width: min(620px, 92vw);
    }

    /* one column: the reference's side-by-side arrangement is landscape only */
    .hero-main {
        grid-template-columns: 1fr;
        justify-items: center;
        margin: 7cqw 0 0;
    }

    .hero-lead { width: 100%; align-items: center; }
    .hero-lockup { width: 78cqw; }
    .hero-tag { margin: 3cqw 0 0; }
    .hero-tag span { font-size: 3.6cqw; }
    .hero-tag::before, .hero-tag::after { width: 7cqw; height: 0.35cqw; }
    /* the artwork's line break leaves "pathogens" stranded on a phone */
    .hero-claim br { display: none; }
    .hero-claim { text-wrap: balance; }

    .hero-first { margin: 5cqw 0 0; justify-content: center; gap: 2cqw; max-width: 100%; }
    .hero-first-what { white-space: normal; }
    .hero-first-country { font-size: 4.1cqw; padding: 0.6cqw 0; border-top-width: 0.6cqw; border-bottom-width: 0.6cqw; }
    .hero-first-rank { font-size: 13cqw; }
    .hero-first-what { font-size: 3.2cqw; padding: 0.7cqw 1.8cqw; border-radius: 1.4cqw; }
    .hero-pack { width: 104cqw; justify-self: center; margin: 3cqw 0 0; }

    @container (min-width: 1px) {
        .hero-claim { font-size: 5.2cqw; padding: 2.4cqw 4cqw; border-radius: 4cqw; }
    }
}

.hero-content {
    width: 1440px;
    max-width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.hero-text {
    width: 50%; 
    max-width: 600px;
    padding-top: 5rem;
    position: relative;
    z-index: 2;
}

.hero-graphics,
.hero-people-layer {
    width: 50%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.hero-people-layer {
    will-change: transform;
}

body.page-loaded .hero-people-layer.reveal-up {
    animation: reveal-up 0.95s cubic-bezier(0.22, 0.61, 0.36, 1) forwards,
               hero-people-float 6s ease-in-out 1.4s infinite;
}

.hero-people-img {
    width: 100%;
    max-width: 750px;
    height: auto;
    object-fit: contain;
    transition: transform var(--mi-duration) var(--mi-ease),
                filter var(--mi-duration) var(--mi-ease);
    will-change: transform;
}

/* Specific styling for the capsule+group image */
.hero-group-img {
    width: 130%; /* Make it larger and overflow slightly */
    max-width: 900px;
    height: auto;
    object-fit: contain;
    transform: translate(-50px, -50px); /* Adjust position to fit nicely next to text */
}

.tagline-wrapper {
    background: transparent;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

.brand-tagline {
    font-family: 'Acumin Variable', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.text-red {
    color: var(--tagline-red);
}

.hero-brand {
    margin-bottom: 4rem;
}

.hero-logo-img {
    height: auto;
    max-width: 500px;
    width: 100%;
    display: block;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
    transition: transform var(--mi-duration) var(--mi-ease),
                filter var(--mi-duration) var(--mi-ease);
}

.hero-logo-text {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: clamp(3rem, 5vw, 6rem);
    color: var(--blue-section);
    font-style: italic;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -2px;
}

.logo-arrows {
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 25px solid var(--orange-section);
    margin-left: 15px;
    position: relative;
    top: -20px;
}

.logo-arrows::after {
    content: '';
    position: absolute;
    top: -20px;
    left: -15px;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 25px solid var(--red-section);
}

.hero-subtext {
    font-family: 'Acumin Variable', sans-serif;
    color: var(--blue-section);
    font-size: 1.3rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

.hero-headline {
    font-family: 'JT Distressed', sans-serif;
    font-size: clamp(1.8rem, 5vw, 4.5rem);
    line-height: 1.1;
    color: var(--text-grey);
    text-transform: uppercase;
    margin-bottom: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.hero-headline-wrap {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 2rem;
    transition: transform var(--mi-duration) var(--mi-ease);
    will-change: transform;
}

body.page-loaded .hero-headline.reveal-up {
    animation: reveal-up 0.95s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

body.page-loaded .hero-headline-wrap {
    animation: hero-headline-float 5s ease-in-out 1.15s infinite;
}

/* TRUST HEADER SECTION */
.trust-container {
    width: 100%;
    background: transparent;
    padding: 6rem 0 2rem 0;
    display: flex;
    justify-content: center;
}

.trust-title-wrap {
    width: 1200px;
    max-width: 90%;
    border-bottom: 4px solid transparent;
    padding-bottom: 15px;
    margin-bottom: 2rem;
    position: relative;
}

.trust-title-wrap::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    background: var(--brand-navy);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 1s cubic-bezier(0.22, 0.61, 0.36, 1) 0.2s;
}

.trust-container.in-view .trust-title-wrap::after {
    transform: scaleX(1);
}

.trust-title {
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    color: var(--brand-navy);
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

/* CONTENT SLIDES */
.content-slides {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.slide {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 6rem 0;
    min-height: 70vh;
}

.bg-maroon { background-color: var(--red-section); background-image: none; }
.bg-navy { background-color: var(--blue-section); background-image: none; }
.bg-orange { background-color: var(--orange-section); background-image: none; }
.bg-gold { background-color: var(--yellow-section); background-image: none; }

.slide-container {
    width: 1440px;
    max-width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
}

.slide-image {
    flex: 1.35;
    display: flex;
    justify-content: center;
    align-items: center;
}

.img-frame {
    position: relative;
    display: inline-block;
    margin-left: 20px;
    margin-bottom: 20px;
    border-radius: 24px;
}

.rounded-stroke-img {
    width: 100%;
    max-width: 850px;
    height: auto;
    position: relative;
    z-index: 2;
    border-radius: 24px;
    transform: scale(1.08);
    transition: transform var(--mi-duration) var(--mi-ease),
                filter var(--mi-duration) var(--mi-ease);
}

.empty-image-space {
    width: min(850px, 72vw);
    aspect-ratio: 4 / 3;
    border: 3px dashed rgba(255, 255, 255, 0.55);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
}

.slide-text {
    flex: 1;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.patient-heading {
    font-family: 'Acumin Variable', sans-serif;
    font-weight: 800;
    font-size: clamp(2.5rem, 3.5vw, 4rem);
    line-height: 1.2;
    margin-bottom: 0.5rem;
    opacity: 0.95;
}

.patient-line {
    width: 100%;
    border: 0;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.slide-fade .patient-line {
    transform: scaleX(0);
    transform-origin: left center;
}

.patient-subheading {
    font-family: 'Acumin Variable', sans-serif;
    font-weight: 600;
    font-size: clamp(1.4rem, 2vw, 2.2rem);
    line-height: 1.3;
    margin-bottom: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
}

.patient-body {
    font-family: 'Acumin Variable', sans-serif;
    font-weight: 800;
    font-size: clamp(1.2rem, 1.8vw, 1.6rem);
    line-height: 1.4;
}

.patient-body sup {
    font-size: 0.55em;
    opacity: 0.7;
    font-weight: normal;
    vertical-align: super;
    line-height: 0;
}

/* DOCTOR SECTION */
.doctor-section {
    width: 100%;
    padding: 4rem 1rem;
    display: flex;
    justify-content: center;
    background: transparent;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.doctor-container {
    width: 1440px;
    max-width: 90%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3rem;
    background: transparent;
}

.doctor-header {
    text-align: left;
}

.doctor-title {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: clamp(2rem, 3vw, 3.5rem);
    color: #222;
    margin-bottom: 2rem;
}

.doctor-layout-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    gap: 4rem;
}

.left-section {
    flex: 1;
    max-width: 45%;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* FORCE LEFT ALIGN */
    padding-top: 2rem;
    gap: 10px;
}

.dropdown-row {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.filter-table {
    position: relative;
    z-index: 10;
    background: #fff;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: visible;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform var(--mi-duration) var(--mi-ease);
}

.filter-table:not(.is-open) {
    overflow: hidden;
    border-radius: 16px;
}

.filter-table:not(.is-open) .filter-head {
    border-radius: 16px 16px 0 0;
}

.filter-table:not(.is-open) .filter-selected {
    border-radius: 0 0 16px 16px;
}

.filter-table.is-open {
    z-index: 30;
    overflow: visible;
    border-radius: 16px 16px 0 0;
}

.filter-table:hover {
    transform: translateY(var(--mi-lift));
}

#doc-dropdown { width: 200px; }
#city-dropdown { width: 120px; }

.filter-head {
    color: #fff;
    height: 35px;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 16px 16px 0 0;
    cursor: pointer;
    box-sizing: border-box;
}

.filter-head svg {
    transition: transform 0.25s ease;
}

.filter-table.is-open .filter-head svg {
    transform: rotate(180deg);
}

#doc-dropdown .filter-head,
#doc-dropdown .filter-selected {
    background: var(--doctor-grad);
}

#city-dropdown .filter-head,
#city-dropdown .filter-selected {
    background: var(--city-grad);
}

#doc-dropdown .filter-head svg polyline,
#city-dropdown .filter-head svg polyline {
    stroke: #fff;
}

.filter-selected {
    color: #fff;
    height: 40px;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    cursor: pointer;
    border-radius: 0 0 16px 16px;
    box-sizing: border-box;
}

.filter-table.is-open .filter-selected {
    border-radius: 0;
}

/* List that strictly triggers via JS toggle */
.filter-list {
    display: none;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    height: auto;
    border-radius: 0 0 16px 16px;
    background: #fff;
    z-index: 1000;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid #e5e7eb;
    border-top: none;
    max-height: 240px;
    overflow: hidden;
    overflow-y: auto;
}

.filter-table.is-open .filter-list {
    display: block;
    animation: dropdown-open 0.28s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

#doctor .filter-option {
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 500;
    color: #2b2b2b;
    background: #fff;
    cursor: pointer;
    text-align: left;
    display: block;
    width: 100%;
    border: none;
}

.filter-list .filter-option:last-child {
    border-radius: 0 0 16px 16px;
}

#doc-dropdown .filter-option:hover,
#doc-dropdown .filter-option:focus,
#doc-dropdown .filter-option:focus-visible {
    background: var(--orange-section);
    color: #fff;
}

#city-dropdown .filter-option:hover,
#city-dropdown .filter-option:focus,
#city-dropdown .filter-option:focus-visible {
    background: #f5c718;
    color: #fff;
}

/* Clear keyboard focus indicators (mouse hover relies on background alone). */
#doctor .filter-option:focus-visible {
    outline: 2px solid #111;
    outline-offset: -2px;
}

.filter-selected:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -2px;
}

#doc-dropdown .filter-option.active-select {
    background: var(--doctor-grad);
    color: #fff;
}

#city-dropdown .filter-option.active-select {
    background: var(--city-grad);
    color: #fff;
}

.doctor-info {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 40px; /* INCREASED */
    margin-left: 5px;
}

.doctor-section-title-wrap {
    display: block;
    border-bottom: 2px solid var(--brand-navy);
    margin-bottom: 2rem;
    padding: 20px 20px 20px 0;
    max-width: 100%;
}

.doctor-eyebrow {
    font-family: 'Acumin Variable', sans-serif;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--orange-section);
    margin-bottom: .6rem;
}

.doctor-section-title {
    color: var(--brand-navy);
    /* was 26px, which read as a label beside a full-height video */
    font-size: clamp(1.8rem, 2.9vw, 2.7rem);
    font-family: 'Acumin Variable', sans-serif;
    font-weight: 800;
    line-height: 1.15;
    margin: 0;
}

.doctor-section-title em {
    font-style: italic;
    color: var(--brand-red);
}

.doctor-section-sub {
    font-family: 'Acumin Variable', sans-serif;
    font-size: clamp(.95rem, 1.15vw, 1.08rem);
    font-weight: 500;
    line-height: 1.6;
    color: var(--text-muted);
    margin: .9rem 0 0;
    max-width: 46ch;
}

.doctor-play-icon {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    width: auto;
    height: 40px;
    margin-top: 4px;
}

.doctor-play-icon svg {
    width: auto;
    height: 100%;
}

#display-name {
    color: var(--brand-red);
    /* fluid: the longest names need to come down a little on narrow screens */
    font-size: clamp(1.75rem, 2.6vw, 2.55rem);
    font-family: 'Acumin Variable', sans-serif;
    font-weight: 700;
    margin: 0;
    line-height: 1.12;
    max-width: 22ch;
}

#display-hospital {
    /* institutions sit under the designation, one per line, quieter than it */
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: var(--text-grey, #6b6b6b);
    font-family: 'Acumin Variable', sans-serif;
    font-size: clamp(0.92rem, 1.15vw, 1.12rem);
    font-weight: 500;
    line-height: 1.4;
    margin: 10px 0 0 0;
    max-width: 34ch;
}

#display-spec {
    color: #2b2b2b;
    /* designations run up to ~55 characters, so this wraps rather than
       overflowing into the video card beside it */
    font-size: clamp(1.05rem, 1.5vw, 1.5rem);
    font-family: 'Acumin Variable', sans-serif;
    font-weight: 500;
    margin: 8px 0 0 0;
    line-height: 1.35;
    max-width: 30ch;
}

.doctor-info h2 {
    font-size: 41px;
    font-weight: 700;
    color: var(--brand-red);
}

.doctor-info p {
    font-size: 34px;
    color: #2b2b2b;
}

.doctor-image-content {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 40px;
    background: transparent;
}

.doctor-layout-row,
.left-section {
    background: transparent;
}

.image-container {
    position: relative;
    width: 420px;
    height: 500px;
}

.video-container {
    width: 420px;
    height: 500px;
    background: transparent;
    overflow: visible;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
    position: relative;
    z-index: 2;
    display: block;
}

/* YELLOW BACK SHAPE */
.image-container::before {
    content: "";
    position: absolute;
    bottom: -15px;
    left: -15px;
    width: 100%;
    height: 100%;
    background: #f4b400;
    border-radius: 25px;
    z-index: 1;
}

/* DOTTED BORDER */
.image-container::after {
    content: "";
    position: absolute;
    top: -10px;
    right: -10px;
    width: 100%;
    height: 100%;
    border: 3px dashed #ff6a00;
    border-radius: 25px;
    z-index: 3;
    pointer-events: none;
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 25px;
    z-index: 2;
    object-fit: cover;
    background: #000;
}

.video-container video {
    display: none;
}

.doctor-image-content .video-container {
    position: relative;
}

#video-container {
    width: 420px;
    height: 500px;
    position: relative;
    background: transparent;
    overflow: visible;
    isolation: isolate;
    padding-top: 0;
}

#video-container::before {
    z-index: 0;
}

#video-container::after {
    z-index: 3;
}

.doctor-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    border-radius: 25px;
    z-index: 2;
    display: block;
}

/* Stand-in for a doctor whose photo/video has not been supplied yet.
   Sits in the same frame as the thumbnail so the yellow block + dashed
   border treatment is unchanged. */
.doctor-thumb-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 25px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 24px;
    text-align: center;
    background: linear-gradient(160deg, #29397f 0%, #1b2758 100%);
}

.doctor-thumb-placeholder[hidden] {
    display: none;
}

/* specificity has to beat `.image-container img`, which sizes the thumbnail */
.doctor-thumb-placeholder .doctor-thumb-placeholder-logo {
    width: 160px;
    max-width: 62%;
    height: auto;
    object-fit: contain;
    border-radius: 0;
    opacity: 0.9;
    filter: brightness(0) invert(1);
}

.doctor-thumb-placeholder-name {
    font-family: 'Acumin Variable', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.3;
    color: #ffffff;
}

.doctor-thumb-placeholder-name:empty {
    display: none;
}

.doctor-thumb-placeholder-note {
    font-family: 'Acumin Variable', sans-serif;
    font-weight: 700;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
}

.playing-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 25px;
    z-index: 2;
}

.doctor-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 68px;
    background: rgba(0, 0, 0, 0.55);
    border: 3px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    pointer-events: none;
    transition: transform var(--mi-duration) var(--mi-ease);
}

.doctor-play-btn svg {
    width: 26px;
    height: 26px;
    fill: #fff;
    margin-left: 5px;
}

#video-container:hover .doctor-play-btn {
    transform: translate(-50%, calc(-50% + var(--mi-lift)));
}

body.doctor-modal-open {
    overflow: hidden;
}

.doctor-video-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.doctor-video-modal.is-open {
    display: flex;
}

.doctor-video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
}

.doctor-video-modal-panel {
    position: relative;
    width: min(760px, calc(100vw - 32px));
    background: #000;
    border-radius: 20px;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    z-index: 1;
}

.doctor-video-modal-frame {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000;
}

.doctor-video-modal-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.doctor-video-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    transition: transform var(--mi-duration) var(--mi-ease);
}

.doctor-video-modal-close:hover {
    transform: translateY(var(--mi-lift));
}

@media (max-width: 640px) {
    .doctor-video-modal {
        padding: 16px;
    }

    .doctor-video-modal-panel {
        width: calc(100vw - 20px);
        border-radius: 16px;
    }

    .doctor-video-modal-close {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
        font-size: 24px;
    }
}

.play-button-overlay {
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    width: 70px; 
    height: 70px; 
    border: 3px solid #fff; 
    border-radius: 50%; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    cursor: pointer; 
    z-index: 10;
}

/* ---------------- ABOUT MIQNAF TIMELINE SECTION ---------------- */
.about-timeline-section {
    width: 100%;
    padding: 2.5rem 1rem;
    margin: 0;
    display: block;
    overflow: hidden;
    background: transparent;
}

.about-timeline-container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

.about-top-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: end;
}

.about-top-left {
    display: flex;
    flex-direction: column;
}

.about-bouncing-title {
    /* the line now carries two colours: dark, with the marked words in red */
    color: #2f2f38;
    font-size: clamp(18px, 2.4vw, 34px);
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 0.75rem;
    font-family: 'Acumin Variable', sans-serif;
}

.bouncing-title .bounce-word {
    display: inline-block;
    white-space: nowrap;
}

.bouncing-title .bounce-word.is-accent,
.bouncing-title .bounce-word.is-accent-em {
    color: var(--brand-red);
}

.bouncing-title .bounce-word.is-accent-em {
    font-style: italic;
}

.bouncing-title .bounce-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(12px);
    transition: transform var(--mi-duration) var(--mi-ease);
}

.bouncing-title.is-visible .bounce-char {
    animation: char-fade-in 0.4s var(--mi-ease) forwards;
}

.bouncing-title .bounce-line-break {
    display: block;
    height: 0;
}

@keyframes char-fade-in {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-bridge-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.about-bridge-text {
    color: var(--brand-navy);
    font-size: 24px;
    font-family: 'Acumin Variable', sans-serif;
    font-weight: 600;
}

.about-bridge-logo {
    height: 11.5rem;
    width: auto;
    object-fit: contain;
}

.about-tagline-wrap {
    margin-top: -5rem;
    margin-left: 18.75rem;
}

.about-tagline-ribbon {
    width: 11rem;
    min-height: 0.75rem;
    background: #fff;
    clip-path: polygon(2% 0%, 100% 0%, 98% 100%, 0% 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.15rem 0.4rem;
}

.about-tagline-ribbon span {
    font-size: 8px;
    text-align: center;
    color: var(--brand-red);
    font-weight: 700;
    font-family: 'Acumin Variable', sans-serif;
    line-height: 1.2;
}

.about-timeline-visual {
    position: relative;
    margin-top: -12.5rem;
    display: flex;
    justify-content: center;
}

/* Picture wrappers must not affect layout — the inner <img> keeps all sizing. */
picture {
    display: contents;
}

.about-timeline-gif {
    width: min(100%, 1300px);
    height: auto;
    display: block;
}

.about-timeline-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
}

.about-timeline-overlay-inner {
    display: flex;
    align-items: flex-end;
    width: min(100%, 1300px);
    padding: 0 1rem;
}

.about-timeline-entries {
    display: flex;
    gap: 4.5rem;
    align-items: flex-end;
    margin-bottom: 6.25rem;
}

.about-timeline-entry {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.about-entry-year {
    color: var(--brand-red);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
    font-family: 'Acumin Variable', sans-serif;
}

.about-entry-drug {
    color: var(--brand-navy);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    font-family: 'Acumin Variable', sans-serif;
}

.about-entry-company {
    font-size: 10px;
    line-height: 1.2;
    max-width: 80px;
    margin: 0;
    color: #333;
    font-family: 'Acumin Variable', sans-serif;
}

.about-timeline-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: right;
    margin-left: auto;
}

.about-2025-block {
    margin-bottom: 15.625rem;
    margin-left: 9.375rem;
    text-align: left;
}

.about-year-2025 {
    color: var(--brand-red);
    font-size: 60px;
    font-weight: 900;
    line-height: 1;
    margin: 0;
    font-family: 'Acumin Variable', sans-serif;
}

.about-drug-2025 {
    color: var(--brand-navy);
    font-size: 50px;
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
    font-family: 'Acumin Variable', sans-serif;
}

.about-india-block {
    margin-top: 0.5rem;
    text-align: left;
}

.about-india-title {
    color: var(--brand-red);
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    line-height: 1;
    margin: 0;
    font-family: 'Acumin Variable', sans-serif;
}

.about-india-line {
    color: var(--brand-navy);
    font-size: 28px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    font-family: 'Acumin Variable', sans-serif;
}

.about-footnote {
    font-size: 10px;
    color: #9ca3af;
    margin-top: 1.5rem;
    font-family: 'Helvetica Neue', sans-serif;
}

@media (max-width: 1100px) {
    .about-timeline-visual {
        margin-top: -6rem;
    }

    .about-timeline-entries {
        gap: 2rem;
        margin-bottom: 4rem;
    }

    .about-2025-block {
        margin-bottom: 10rem;
        margin-left: 4rem;
    }

    .about-year-2025 {
        font-size: 42px;
    }

    .about-drug-2025 {
        font-size: 34px;
    }

    .about-india-line {
        font-size: 20px;
    }

    .about-tagline-wrap {
        margin-left: 8rem;
        margin-top: -3rem;
    }

    .about-bridge-logo {
        height: 7rem;
    }
}

@media (max-width: 992px) {
    .about-timeline-section {
        overflow: visible;
        padding: 2rem 1rem 1.5rem;
    }

    .about-timeline-visual {
        flex-direction: column;
        align-items: center;
        margin-top: 0;
        width: 100%;
        overflow: visible;
    }

    .about-timeline-gif {
        width: 100%;
        max-width: 480px;
        margin: 0 auto;
    }

    .about-timeline-overlay {
        position: static;
        width: 100%;
        margin-top: 1.25rem;
        pointer-events: auto;
    }

    .about-timeline-overlay-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 1.25rem;
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .about-timeline-entries {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        margin-bottom: 0;
        justify-content: stretch;
        width: 100%;
    }

    .about-timeline-entry {
        background: rgba(255, 255, 255, 0.92);
        padding: 0.65rem 0.75rem;
        border-radius: 10px;
        border-left: 3px solid var(--brand-red);
        box-shadow: 0 2px 8px rgba(41, 57, 127, 0.08);
    }

    .about-entry-year {
        font-size: 15px;
    }

    .about-entry-drug {
        font-size: 14px;
        word-break: break-word;
    }

    .about-entry-company {
        font-size: 9px;
        max-width: none;
    }

    .about-timeline-right {
        margin-left: 0;
        align-items: center;
        text-align: center;
        width: 100%;
        background: rgba(255, 255, 255, 0.92);
        padding: 1rem 0.75rem;
        border-radius: 12px;
        box-shadow: 0 2px 10px rgba(41, 57, 127, 0.1);
    }

    .about-2025-block {
        margin: 0 0 0.75rem 0;
        text-align: center;
    }

    .about-year-2025 {
        font-size: 32px;
    }

    .about-drug-2025 {
        font-size: 22px;
        word-break: break-word;
    }

    .about-india-block {
        text-align: center;
    }

    .about-india-title {
        font-size: 24px;
    }

    .about-india-line {
        font-size: 16px;
    }

    .about-bridge-text {
        font-size: 16px;
        text-align: center;
    }

    .about-bridge-logo {
        height: 4.5rem;
    }

    .about-tagline-wrap {
        margin: 0.5rem 0 0;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .about-tagline-ribbon {
        width: auto;
        max-width: 100%;
        min-height: auto;
        padding: 0.35rem 0.75rem;
    }

    .about-tagline-ribbon span {
        font-size: 10px;
    }

    .about-bridge-row {
        flex-direction: column;
        align-items: center;
        margin-bottom: 1.5rem;
    }

    .about-bouncing-title {
        text-align: center;
        font-size: clamp(16px, 4.5vw, 22px);
    }

    .bouncing-title .bounce-word {
        white-space: normal;
    }

    .about-footnote {
        text-align: center;
        padding: 0 0.5rem;
    }
}

@media (max-width: 768px) {
    .about-timeline-gif {
        max-width: 360px;
    }
}

@media (max-width: 480px) {
    .about-timeline-gif {
        max-width: 100%;
    }

    .about-timeline-entries {
        grid-template-columns: 1fr;
    }

    .about-entry-drug {
        font-size: 15px;
    }

    .about-year-2025 {
        font-size: 28px;
    }

    .about-drug-2025 {
        font-size: 20px;
    }

    .about-india-title {
        font-size: 22px;
    }

    .about-india-line {
        font-size: 15px;
    }
}

/* STATS SECTION */
.stats-section {
    width: 100%;
    padding: 2.5rem 1rem 3rem;
    margin: 0;
    display: block;
    overflow: hidden;
    background: transparent;
}

.stats-container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

.stats-circles-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 2.5rem;
    padding: 2.5rem 1rem;
}

.stats-circle-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 300px;
}

.stats-circle-wrap {
    position: relative;
    width: 300px;
    height: 300px;
}

.stats-circle-svg {
    position: absolute;
    inset: 0;
    width: 300px;
    height: 300px;
    overflow: visible;
}

.stats-ring-progress {
    stroke-dasharray: 276.46;
    stroke-dashoffset: 276.46;
    transition: none;
}

.stats-ring-progress.is-animated {
    transition: stroke-dashoffset 1.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.stats-circle-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stats-counter {
    display: block;
    margin-top: 90px;
    max-width: 200px;
    font-size: clamp(2.5rem, 5vw, 4.375rem);
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    font-family: 'Acumin Variable', sans-serif;
    white-space: normal;
    word-break: break-word;
}

.stats-value {
    display: block;
    margin-top: 0.25rem;
    max-width: 220px;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.35;
    font-family: 'Acumin Variable', sans-serif;
    white-space: normal;
    word-break: break-word;
}

.stats-value sup {
    font-size: 0.65em;
    vertical-align: super;
}

.stats-icon-badge {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    z-index: 2;
}

.stats-icon {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    object-fit: contain;
    z-index: 3;
}

.stats-icon-scale-1 {
    transform: translateX(-50%) scale(1);
}

.stats-icon-scale-065 {
    transform: translateX(-50%) scale(0.65);
}

.stats-circle-card--navy .stats-counter,
.stats-circle-card--navy .stats-value {
    color: var(--brand-navy);
}

.stats-circle-card--red .stats-counter,
.stats-circle-card--red .stats-value {
    color: var(--brand-red);
}

.stats-circle-card--orange .stats-counter,
.stats-circle-card--orange .stats-value {
    color: var(--orange-section);
}

.stats-icon-badge--navy {
    background: linear-gradient(to right, var(--brand-navy), #3d4f9a, var(--brand-navy));
}

.stats-icon-badge--red {
    background: linear-gradient(to right, var(--brand-red), #b52a30, var(--brand-red));
}

.stats-icon-badge--orange {
    background: linear-gradient(to right, var(--orange-section), #f3903f, var(--orange-section));
}

.stats-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    padding: 2rem 2rem 1rem 7rem;
    margin-top: 2rem;
}

.stats-qr-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    flex-shrink: 0;
}

.stats-qr-box {
    width: 118px;
    height: 118px;
    border-radius: 14px;
    border: 1px solid #e5e8f0;
    background: linear-gradient(135deg, #f5f5f5 0%, #f5f5f5 100%);
    box-shadow: 0 4px 16px rgba(41, 57, 127, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stats-qr-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.stats-qr-label {
    font-family: 'Acumin Variable', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--brand-navy);
    margin: 0;
    font-weight: 700;
}

.stats-references {
    display: flex;
    justify-content: flex-start;
    flex: 1;
    gap: 2rem;
}

.stats-ref-heading {
    margin: 0 0 0.35rem 0;
    text-align: left;
    font-family: 'Acumin Variable', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--brand-navy);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.ref-item {
    flex: 1;
    text-align: left;
}

.ref-item-2 {
    transform: translateX(-6rem);
}

.ref-text {
    font-size: 0.75rem;
    color: #333;
    font-family: 'Helvetica Neue', sans-serif;
    line-height: 1.4;
    margin: 0;
    font-weight: 500;
}

.ref-text sup {
    color: var(--brand-red);
    font-weight: 700;
}

@media (max-width: 992px) {
    .stats-bottom-row {
        padding: 1.5rem 1.5rem 1rem 2rem;
    }

    .stats-circle-card,
    .stats-circle-wrap {
        width: 260px;
        height: 260px;
    }

    .stats-circle-svg {
        width: 260px;
        height: 260px;
    }

    .stats-counter {
        margin-top: 72px;
        font-size: 2.5rem;
    }

    .stats-qr-box {
        width: 98px;
        height: 98px;
        padding: 10px;
    }

    .stats-qr-label {
        font-size: 0.6rem;
    }
}

@media (max-width: 640px) {
    .stats-section {
        padding: 1rem 1rem 2rem;
    }

    .stats-circles-grid {
        gap: 1rem;
        padding: 0.5rem 0.5rem;
    }

    .stats-circle-card,
    .stats-circle-wrap {
        width: 220px;
        height: 220px;
    }

    .stats-circle-svg {
        width: 220px;
        height: 220px;
    }

    .stats-counter {
        margin-top: 58px;
        font-size: 2rem;
    }

    .stats-value {
        font-size: 0.95rem;
    }

    .stats-bottom-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem 1rem;
        gap: 1.5rem;
    }

    .stats-qr-overlay {
        align-self: flex-end;
    }

    .stats-qr-box {
        width: 84px;
        height: 84px;
        padding: 8px;
    }

    .stats-qr-label {
        display: none;
    }

    .ref-item-2 {
        transform: none;
    }
}

/* STATS SECTION UPDATE END */

/* ANIMATIONS */
.fade-in-on-scroll,
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-in-on-scroll.in-view,
.reveal-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

.stagger-children > * {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s cubic-bezier(0.22, 0.61, 0.36, 1),
                transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.fade-in-on-scroll.in-view .stagger-children > *,
.reveal-on-scroll.in-view .stagger-children > * {
    opacity: 1;
    transform: translateY(0);
}

.reveal-up {
    opacity: 0;
    transform: translateY(36px);
}

body.page-loaded .reveal-up {
    animation: reveal-up 0.95s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.reveal-delay-2 { animation-delay: 0.28s !important; }
.reveal-delay-3 { animation-delay: 0.55s !important; }

@keyframes reveal-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes navbar-slide-down {
    to {
        transform: translateY(0);
    }
}

@keyframes hero-headline-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes hero-people-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes dropdown-open {
    from {
        opacity: 0;
        transform: translateY(-10px) scaleY(0.96);
        transform-origin: top center;
    }
    to {
        opacity: 1;
        transform: translateY(0) scaleY(1);
    }
}

@keyframes play-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(153, 31, 37, 0.45);
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        box-shadow: 0 0 0 14px rgba(153, 31, 37, 0);
        transform: translate(-50%, -50%) scale(1.06);
    }
}

.doctor-info.is-updating {
    animation: doctor-info-swap 0.45s ease;
}

@keyframes doctor-info-swap {
    0% { opacity: 1; transform: translateX(0); }
    40% { opacity: 0.25; transform: translateX(-10px); }
    100% { opacity: 1; transform: translateX(0); }
}

.doctor-thumbnail.thumb-swapping {
    animation: thumb-swap 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@keyframes thumb-swap {
    0% { opacity: 1; transform: scale(1); }
    45% { opacity: 0.35; transform: scale(0.97); }
    100% { opacity: 1; transform: scale(1); }
}

/* Clinical slides — staggered reveal */
.slide-fade .reveal-from-left,
.slide-fade .reveal-from-right {
    opacity: 0;
}

.slide-fade.in-view .reveal-from-left {
    animation: reveal-from-left 0.85s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.slide-fade.in-view .reveal-from-right {
    animation: reveal-from-right 0.85s cubic-bezier(0.22, 0.61, 0.36, 1) 0.12s forwards;
}

@keyframes reveal-from-left {
    from { opacity: 0; transform: translateX(-48px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes reveal-from-right {
    from { opacity: 0; transform: translateX(48px); }
    to { opacity: 1; transform: translateX(0); }
}

.slide-fade.in-view .patient-line {
    animation: line-grow 0.8s ease 0.35s forwards;
    transform: scaleX(0);
    transform-origin: left center;
}

@keyframes line-grow {
    to { transform: scaleX(1); }
}

.stats-circle-card {
    transition: transform var(--mi-duration) var(--mi-ease);
}

.stats-circle-card:hover {
    transform: translateY(var(--mi-lift));
}

@media (prefers-reduced-motion: reduce) {
    .navbar,
    .reveal-up,
    .slide-fade.in-view .reveal-from-left,
    .slide-fade.in-view .reveal-from-right {
        animation: none !important;
    }

    body.page-loaded .hero-headline-wrap,
    body.page-loaded .hero-people-layer.reveal-up {
        animation: none !important;
    }

    .navbar {
        transform: none;
    }

    .reveal-up,
    .fade-in-on-scroll,
    .reveal-on-scroll {
        opacity: 1;
        transform: none;
    }

    :is(
        h1, h2, h3, h4, h5, h6,
        .hero-headline,
        .trust-title,
        .patient-heading,
        .patient-subheading,
        .doctor-section-title,
        .about-bouncing-title,
        .testimonials-title,
        .stats-ref-heading,
        .stats-counter,
        .stats-value,
        .ref-text,
        #display-name,
        #display-spec,
        .patient-body,
        .stats-circle-card,
        .filter-table,
        .testimonial-card,
        .hero-people-img,
        .hero-logo-img,
        .rounded-stroke-img,
        .doctor-thumbnail,
        button,
        .menu-toggle
    ) {
        transition: none !important;
    }

    .cursor-dot,
    .cursor-ring {
        display: none !important;
    }

    body.custom-cursor-enabled,
    body.custom-cursor-enabled a,
    body.custom-cursor-enabled button {
        cursor: auto !important;
    }
}

/* ============ PROFESSIONAL PHARMA FOOTER ============ */

.pharma-footer {
    background: transparent;
    border-top: 2px solid var(--brand-navy);
    padding: 1.75rem 2rem 1.5rem;
    margin-top: 2rem;
}

.footer-container {
    max-width: 1440px;
    width: 90%;
    margin: 0 auto;
}

.footer-content {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    gap: 5rem;
    margin-bottom: 4rem;
    min-height: 180px;
}

.references-section {
    flex: 1;
    min-width: 0;
}

.references-title {
    font-family: 'Acumin Variable', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.references-list {
    list-style: decimal;
    list-style-position: outside;
    margin-left: 1.5rem;
    font-size: 0.8rem;
    line-height: 1.9;
    color: var(--text-muted);
    font-family: 'Helvetica Neue', sans-serif;
}

.references-list li {
    margin-bottom: 1rem;
    text-align: left;
}

.references-list em {
    font-style: italic;
    font-weight: 500;
    color: var(--text-grey);
}

.footer-disclaimer {
    font-size: 0.7rem;
    color: #888888;
    margin-top: 2rem;
    font-style: italic;
    line-height: 1.7;
    letter-spacing: 0.2px;
}

.qr-section {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 1.2rem;
}

.qr-code-container {
    background: linear-gradient(135deg, #f8f9fc 0%, #f3f5fa 100%);
    border: 1px solid #e5e8f0;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(41, 57, 127, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    width: 160px;
    height: 160px;
    transition: transform var(--mi-duration) var(--mi-ease);
}

.qr-code-container:hover {
    transform: translateY(var(--mi-lift));
}

.qr-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.qr-placeholder {
    display: none;
}

.qr-label {
    font-family: 'Acumin Variable', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand-navy);
    text-align: center;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    opacity: 0.85;
}

.footer-disclaimer {
    max-width: 1100px;
    margin: 0 auto 1.5rem;
    text-align: center;
}

.disclaimer-text {
    font-size: 0.72rem;
    line-height: 1.7;
    color: #888888;
    font-family: 'Helvetica Neue', sans-serif;
    letter-spacing: 0.2px;
}

.footer-bottom {
    border-top: 1px solid #f0f0f0;
    padding-top: 2rem;
    text-align: center;
}

.copyright-text {
    font-size: 0.7rem;
    color: #aaaaaa;
    font-family: 'Helvetica Neue', sans-serif;
    letter-spacing: 0.3px;
}

/* ============ MOBILE RESPONSIVE DESIGN ============ */

/* Mobile: Small phones (320px - 640px) */
@media (max-width: 640px) {
    /* Navbar */
    .nav-container {
        width: 100%;
        padding: 0 15px;
    }

    .nav-links {
        width: 100%;
        gap: 1.5rem;
    }

    /* Hero Section */
    .hero {
        /* padding comes from the hero's own <=992px rule */
        min-height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-content {
        width: 100%;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .hero-text {
        width: 100%;
        padding: 20px;
        padding-top: 0;
        z-index: 2;
    }

    .hero-graphics,
    .hero-people-layer {
        width: 100%;
        justify-content: center;
        z-index: 1;
    }

    .hero-group-img,
    .hero-people-img {
        width: 80%;
        max-width: 280px;
        height: auto;
        margin-top: 15px;
        transform: translate(0, 0);
        position: static;
    }

    .hero-headline {
        font-family: 'JT Distressed', sans-serif;
        font-size: 26px;
        font-weight: 700;
        line-height: 1.3;
        color: var(--text-grey);
        text-transform: uppercase;
        margin-bottom: 12px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .hero-headline span {
        color: inherit;
        font-weight: inherit;
    }

    .hero-logo-text {
        font-size: clamp(1.8rem, 4vw, 3rem);
    }

    .hero-subtext {
        font-size: 1rem;
    }

    .tagline-wrapper {
        padding: 0.6rem 1.2rem;
        margin-bottom: 1.5rem;
    }

    .brand-tagline {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }

    .hero-brand {
        display: flex;
        justify-content: center;
        margin-bottom: 0.5rem;
    }

    .hero-logo-img {
        max-width: min(100%, 260px);
        margin: 0 auto;
    }

    .logo-img {
        height: 22px;
        transform: scale(1);
    }

    /* Trust Section */
    .trust-title {
        font-size: clamp(1.5rem, 3vw, 2rem);
        padding-bottom: 10px;
        margin-bottom: 1rem;
    }

    /* Content Slides */
    .slide {
        padding: 3rem 0;
        min-height: auto;
    }

    .slide-container {
        width: 100%;
        flex-direction: column-reverse;
        gap: 1.5rem;
        padding: 0 15px;
    }

    .slide-image {
        flex: 1;
    }

    .rounded-stroke-img {
        max-width: 100%;
        width: 100%;
        transform: scale(1);
    }

    .img-frame {
        margin-left: 0;
        margin-bottom: 0;
    }

    .slide-text {
        flex: 1;
    }

    .patient-heading {
        font-size: clamp(1.5rem, 3vw, 2rem);
        margin-bottom: 0.5rem;
    }

    .patient-subheading {
        font-size: clamp(1rem, 2vw, 1.3rem);
    }

    .patient-body {
        font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    }

    .patient-line {
        margin-bottom: 1rem;
    }

    /* Doctor Section */
    .doctor-container {
        gap: 2.5rem;
        padding: 0 18px;
    }

    .doctor-layout-row {
        flex-direction: column;
        gap: 2.5rem;
    }

    .left-section {
        max-width: 100%;
        width: 100%;
    }

    .doctor-title {
        font-size: clamp(1.5rem, 3vw, 2rem);
    }

    .dropdown-row {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 14px;
        margin-bottom: 40px;
    }

    #doc-dropdown { 
        width: calc(50% - 7px); 
    }
    
    #city-dropdown { 
        width: calc(50% - 7px); 
    }

    .filter-table {
        min-width: 0;
    }

    .filter-head,
    .filter-selected {
        font-size: 11px;
        padding-left: 11px;
        padding-right: 11px;
        height: 44px;
    }

    .doctor-image-content {
        width: 100%;
        justify-content: center;
        padding-right: 0;
    }

    #video-container {
        width: min(100%, 300px);
        height: 350px;
        margin: 0 auto;
    }

    .image-container {
        width: 100%;
        max-width: 300px;
        height: 350px;
    }

    .doctor-info {
        margin-top: 24px;
        margin-left: 0;
        justify-content: center;
    }

    .doctor-section-title {
        font-size: 20px;
    }

    #display-name,
    .doctor-info h2 {
        font-size: 1.75rem;
    }

    #display-spec,
    .doctor-info p {
        font-size: 1.25rem;
    }

    .doctor-play-icon {
        height: 28px;
        margin-top: 0;
    }

    .doctor-section-title-wrap {
        padding: 12px 0;
        margin-bottom: 1.25rem;
        width: 100%;
    }

    .left-section {
        align-items: center;
        text-align: center;
    }

    /* Footer Mobile */
    .pharma-footer {
        padding: 1.25rem 1.25rem 1rem;
        margin-top: 1.5rem;
        border-top: 1px solid var(--blue-section);
    }

    .footer-content {
        flex-direction: row;
        gap: 2.5rem;
        align-items: flex-end;
        margin-bottom: 2.5rem;
        justify-content: flex-start;
        min-height: 140px;
    }

    .references-section {
        width: 100%;
        order: 1;
        text-align: center;
    }

    .references-title {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
        letter-spacing: 0.8px;
    }

    .references-list {
        font-size: 0.75rem;
        line-height: 1.8;
        margin-left: 0;
        list-style-position: inside;
        color: var(--text-grey);
    }

    .references-list li {
        margin-bottom: 0.8rem;
        text-align: center;
    }

    .footer-disclaimer {
        font-size: 0.65rem;
        margin-top: 0.5rem;
    }

    .qr-section {
        order: 2;
        width: 100%;
        align-items: center;
        gap: 1rem;
    }

    .qr-code-container {
        width: 140px;
        height: 140px;
    }

    .qr-label {
        font-size: 0.7rem;
        letter-spacing: 0.4px;
    }

    .footer-disclaimer {
        margin-bottom: 1.25rem;
        padding: 0 0.5rem;
    }

    .disclaimer-text {
        font-size: 0.72rem;
        line-height: 1.7;
    }

    .footer-bottom {
        padding-top: 1.5rem;
    }

    .copyright-text {
        font-size: 0.65rem;
        padding: 0 0.5rem;
        line-height: 1.5;
    }
}

/* Tablets and Medium devices (641px - 992px) */
@media (max-width: 992px) and (min-width: 641px) {
    /* Hero Section */
    .hero-content {
        flex-direction: column;
        gap: 2rem;
    }

    .hero-text {
        width: 100%;
        padding-top: 1rem;
    }

    .hero-graphics,
    .hero-people-layer {
        width: 100%;
        justify-content: center;
    }

    .hero-group-img,
    .hero-people-img {
        width: 100%;
        max-width: 100%;
        transform: translate(0, 0);
    }

    .hero-headline {
        font-size: clamp(2rem, 4vw, 3rem);
    }

    .hero-logo-text {
        font-size: clamp(2.5rem, 5vw, 4rem);
    }

    /* Slides */
    .slide-container {
        flex-direction: column-reverse;
        gap: 2rem;
    }

    .rounded-stroke-img {
        transform: scale(1);
    }

    /* Doctor Section */
    .doctor-layout-row {
        flex-direction: column;
        gap: 2rem;
    }

    .left-section {
        max-width: 100%;
    }

    .dropdown-row {
        flex-direction: row;
        gap: 15px;
    }

    #doc-dropdown { 
        width: 150px; 
    }
    
    #city-dropdown { 
        width: 110px; 
    }

    .doctor-image-content {
        width: 100%;
        justify-content: center;
        padding-right: 0;
    }

    #video-container {
        width: min(100%, 350px);
        height: 400px;
        margin: 0 auto;
    }

    .image-container {
        width: 100%;
        max-width: 350px;
        height: 400px;
    }

    .hero-brand {
        display: flex;
        justify-content: center;
    }

    .hero-logo-img {
        max-width: min(100%, 400px);
        margin: 0 auto;
    }

    .trust-title-wrap {
        max-width: 95%;
    }

    .doctor-section-title {
        font-size: 22px;
    }

    #display-name,
    .doctor-info h2 {
        font-size: 2rem;
    }

    #display-spec,
    .doctor-info p {
        font-size: 1.5rem;
    }
}

/* Small devices (max-width: 768px) - General fixes */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .navbar {
        padding: 0.65rem 0;
        padding-top: max(0.65rem, env(safe-area-inset-top, 0px));
    }

    .nav-container {
        width: 100%;
        max-width: none;
        padding: 0 1rem;
    }

    .nav-links {
        width: 80%;
    }

    .logo-img {
        height: 25px;
        transform: scale(1);
    }

    /* Hero & Sections Padding */
    .hero {
        /* padding comes from the hero's own <=992px rule */
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        min-height: auto;
    }

    .hero-content {
        flex-direction: column;
        align-items: center;
    }

    .hero-text {
        width: 100%;
        padding: 42px 15px 25px;
        z-index: 2;
        max-width: 100%;
    }

    .hero-text h1 {
        font-family: 'JT Distressed', sans-serif;
        font-size: 30px;
        font-weight: 700;
        line-height: 1.3;
        color: var(--text-grey);
        text-align: center;
        margin-bottom: 12px;
        text-transform: uppercase;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .hero-text h1 span {
        color: inherit;
        font-weight: inherit;
    }

    .hero-text p {
        font-size: 14px;
        color: #555;
        margin-top: 10px;
    }

    .hero-graphics,
    .hero-people-layer {
        display: flex;
        justify-content: center;
        width: 100%;
        z-index: 1;
    }

    .hero-graphics img,
    .hero-people-img {
        width: 92%;
        max-width: 380px;
        height: auto;
        margin-top: 8px;
        position: static;
    }

    .hero-group-img {
        transform: none !important;
    }

    .hero-brand {
        display: flex;
        justify-content: center;
        margin-bottom: 0.75rem;
    }

    .hero-logo-img {
        max-width: min(100%, 320px);
        margin: 0 auto;
    }

    .trust-container {
        padding: 3rem 1rem;
    }

    .slide {
        padding: 3rem 1rem;
    }

    .doctor-section {
        padding: 4rem 1rem 6rem 1rem;
    }

    /* Fixed-width containers become responsive */
    .hero-content,
    .slide-container,
    .doctor-container,
    .trust-title {
        width: 100%;
        max-width: 100%;
    }

    /* Font adjustments */
    .nav-links li a {
        font-size: 1rem;
    }

    .patient-heading {
        margin-bottom: 0.5rem;
    }

    .patient-line {
        margin-bottom: 0.8rem;
    }

    /* Dropdown styling for mobile */
    .filter-table {
        z-index: 20;
    }

    .filter-list {
        max-height: 200px;
        overflow-y: auto;
    }

    /* Footer Tablet */
    .pharma-footer {
        padding: 1.5rem 1.5rem 1.25rem;
        margin-top: 0.5rem;
    }

    .footer-content {
        flex-direction: row;
        gap: 3rem;
        align-items: flex-end;
        margin-bottom: 3rem;
    }

    .references-section {
        flex: 1;
    }

    .references-title {
        font-size: 0.95rem;
        letter-spacing: 0.8px;
    }

    .references-list {
        font-size: 0.78rem;
        line-height: 1.8;
    }

    .references-list li {
        margin-bottom: 0.9rem;
    }

    .qr-section {
        flex: 0 0 auto;
        gap: 1rem;
    }

    .qr-code-container {
        width: 150px;
        height: 150px;
    }

    .qr-label {
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }
}

/* Landscape mode adjustments (wide and short) */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        /* short landscape screens still have to clear the fixed navbar */
        padding-top: calc(76px + 2vh);
        padding-bottom: 6vh;
    }

    .slide {
        min-height: auto;
        padding: 2rem 0;
    }

    .hero-headline {
        margin-bottom: 0.5rem;
    }

    .hero-brand {
        margin-bottom: 1rem;
    }
}
/* ========== TESTIMONIALS SECTION ========== */
.testimonials-section {
    padding: 5rem 2rem !important;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--brand-navy);
    margin-bottom: 3rem;
    font-family: 'Acumin Variable', sans-serif;
}

/* Filter Dropdown */
.testimonials-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.filter-dropdown {
    position: relative;
    display: inline-block;
}

.filter-btn {
    padding: 12px 24px;
    background: var(--brand-navy);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform var(--mi-duration) var(--mi-ease);
    font-family: 'Acumin Variable', sans-serif;
}

.filter-btn:hover {
    transform: translateY(var(--mi-lift));
}

.filter-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    min-width: 150px;
    z-index: 10;
}

.filter-option {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 0.95rem;
    color: #333;
    transition: all 0.2s ease;
    font-family: 'Acumin Variable', sans-serif;
    font-weight: 500;
}

.filter-option:hover {
    background: #f0f0f0;
    color: var(--brand-navy);
}

.filter-option:first-child {
    border-radius: 8px 8px 0 0;
}

.filter-option:last-child {
    border-radius: 0 0 8px 8px;
}

.filter-option.active {
    background: #e8eef5;
    color: var(--brand-navy);
    font-weight: 700;
}

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* Testimonial Card */
.testimonial-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform var(--mi-duration) var(--mi-ease);
    opacity: 1;
    transform: scale(1);
}

.testimonial-card:hover {
    transform: translateY(var(--mi-lift));
}

.testimonial-card.hidden {
    display: none;
}

.testimonial-card.fade-in {
    animation: fadeInScale 0.4s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.video-container {
    width: 100%;
    padding-top: 56.25%;
    position: relative;
    background: #000;
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px 12px 0 0;
}

.video-container video {
    border-radius: 12px 12px 0 0;
    object-fit: cover;
}

.card-info {
    padding: 1.5rem;
    background: white;
}

.card-city {
    font-size: 0.9rem;
    color: var(--text-grey);
    margin: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mobile Responsive */
@media (max-width: 640px) {
    .testimonials-title {
        font-size: 1.8rem;
    }

    .testimonials-grid {
        gap: 1.5rem;
    }

    .filter-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}

/* ============ PREMIUM MICRO-INTERACTIONS ============ */

:is(
    h2, h3, h4, h5, h6,
    .hero-headline-wrap,
    .trust-title,
    .patient-heading,
    .patient-subheading,
    .patient-body,
    .doctor-section-title,
    .doctor-title,
    .about-bouncing-title,
    .about-bouncing-title.bouncing-title,
    .about-bridge-text,
    .about-india-title,
    .about-india-line,
    .about-year-2025,
    .about-drug-2025,
    .about-entry-year,
    .about-entry-drug,
    .testimonials-title,
    .stats-ref-heading,
    .references-title,
    .stats-counter,
    .stats-value,
    .ref-text,
    #display-name,
    #display-spec,
    .nav-links li a
) {
    transition: transform var(--mi-duration) var(--mi-ease);
    transform-origin: center center;
}

.hero-people-img,
.hero-logo-img,
.rounded-stroke-img,
.about-timeline-gif,
.about-bridge-logo,
.doctor-thumbnail,
.stats-qr-image {
    transition: transform var(--mi-duration) var(--mi-ease),
                filter var(--mi-duration) var(--mi-ease);
}

.doctor-thumbnail {
    will-change: transform;
    backface-visibility: hidden;
}

button,
.menu-toggle {
    transition: transform var(--mi-duration) var(--mi-ease);
}

@media (hover: hover) and (pointer: fine) {
    .hero-people-layer:hover .hero-people-img,
    .hero-people-img:hover {
        transform: translateY(var(--mi-lift-img)) scale(var(--mi-img-scale));
        filter: var(--mi-img-shadow);
    }

    .hero-headline-wrap:hover {
        animation-play-state: paused;
        transform: translateY(var(--mi-text-pop)) scale(var(--mi-text-scale));
    }

    .hero-headline:hover {
        transform: none;
    }

    .hero-logo-img:hover,
    .about-timeline-gif:hover,
    .about-bridge-logo:hover,
    .stats-qr-image:hover {
        transform: translateY(var(--mi-lift-img)) scale(var(--mi-img-scale));
        filter: var(--mi-img-shadow);
    }

    .rounded-stroke-img:hover {
        transform: translateY(var(--mi-lift-img)) scale(1.0908);
        filter: var(--mi-img-shadow);
    }

    #video-container:hover .doctor-thumbnail {
        transform: translateY(var(--mi-lift-img)) scale(var(--mi-img-scale));
        filter: var(--mi-img-shadow);
    }

    :is(
        h2, h3, h4, h5, h6,
        .trust-title,
        .patient-heading,
        .patient-subheading,
        .patient-body,
        .doctor-section-title,
        .doctor-title,
        .about-bouncing-title,
        .about-bouncing-title.bouncing-title,
        .about-bridge-text,
        .about-india-title,
        .about-india-line,
        .about-year-2025,
        .about-drug-2025,
        .about-entry-year,
        .about-entry-drug,
        .testimonials-title,
        .stats-ref-heading,
        .references-title,
        .stats-counter,
        .stats-value,
        .ref-text,
        #display-name,
        #display-spec,
        .nav-links li a
    ):hover {
        transform: translateY(var(--mi-text-pop)) scale(var(--mi-text-scale));
    }

    button:not(:disabled):hover,
    .menu-toggle:hover {
        transform: translateY(var(--mi-lift));
    }
}

/* ============ CUSTOM CURSOR ============ */

@media (hover: hover) and (pointer: fine) {
    body.custom-cursor-enabled,
    body.custom-cursor-enabled a,
    body.custom-cursor-enabled button,
    body.custom-cursor-enabled [role="button"],
    body.custom-cursor-enabled .filter-table,
    body.custom-cursor-enabled .filter-head,
    body.custom-cursor-enabled .filter-selected {
        cursor: none;
    }
}

.cursor-dot,
.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    opacity: 0;
    will-change: transform;
}

/* precise inner dot — small orange accent with a soft glow */
.cursor-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--orange-section);
    box-shadow: 0 0 10px 1px rgba(239, 106, 43, 0.45);
    transform: translate3d(-100px, -100px, 0) translate(-50%, -50%);
    transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease;
}

/* outer ring — a thin brand-gradient "donut" (conic gradient masked to a ring) */
.cursor-ring {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: conic-gradient(from 130deg,
        var(--brand-navy), var(--brand-red), var(--orange-section), var(--brand-navy));
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1.6px), #000 calc(100% - 1.6px));
            mask: radial-gradient(farthest-side, transparent calc(100% - 1.6px), #000 calc(100% - 1.6px));
    transform: translate3d(-100px, -100px, 0) translate(-50%, -50%);
    transition: width 0.28s cubic-bezier(0.22, 0.61, 0.36, 1),
                height 0.28s cubic-bezier(0.22, 0.61, 0.36, 1),
                opacity 0.2s ease;
}

body.custom-cursor-active .cursor-dot,
body.custom-cursor-active .cursor-ring {
    opacity: 1;
}

/* over links / buttons — ring opens up wide */
.cursor-ring.is-hover {
    width: 50px;
    height: 50px;
}

/* over text — ring tightens a touch */
.cursor-ring.is-text {
    width: 38px;
    height: 38px;
}

/* ============ POLISH PASS ============
   Web-craft refinements only — no change to layout, palette, panel
   colors, fonts, images, or content. The solid color panels are left
   exactly as they were. */

/* Web-craft details that add finish without altering the design. */

/* Brand-tinted text selection */
::selection {
    background: var(--brand-red);
    color: #fff;
}
::-moz-selection {
    background: var(--brand-red);
    color: #fff;
}

/* Visible, on-brand keyboard focus rings (accessibility + polish).
   Only shows for keyboard users, never on mouse click. */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
.filter-table:focus-visible,
.filter-head:focus-visible,
.filter-selected:focus-visible,
.filter-option:focus-visible {
    outline: 2px solid var(--brand-navy);
    outline-offset: 3px;
    border-radius: 4px;
}

/* On the dark colored panels, the focus ring switches to light so it
   stays visible against maroon/navy/orange. */
.slide a:focus-visible,
.slide button:focus-visible,
.slide [role="button"]:focus-visible {
    outline-color: rgba(255, 255, 255, 0.9);
}

/* Slim, brand-tinted scrollbar instead of the default chunky grey one. */
@media (pointer: fine) {
    html {
        scrollbar-width: thin;
        scrollbar-color: rgba(41, 57, 127, 0.4) transparent;
    }

    ::-webkit-scrollbar {
        width: 11px;
        height: 11px;
    }

    ::-webkit-scrollbar-track {
        background: transparent;
    }

    ::-webkit-scrollbar-thumb {
        background: rgba(41, 57, 127, 0.35);
        border-radius: 10px;
        border: 3px solid transparent;
        background-clip: padding-box;
    }

    ::-webkit-scrollbar-thumb:hover {
        background: rgba(41, 57, 127, 0.55);
        background-clip: padding-box;
    }
}

/* ============ ANIMATION ENHANCEMENTS ============
   Extra motion only — no change to colors, layout, fonts, images, or
   text. Uses the same fade + gentle-rise language already present on the
   page, applied (via script.js) to sections that previously popped in
   with no animation. */

/* Scroll-reveal: fade up gently when scrolled into view. The .in-view
   class is added by the IntersectionObserver in script.js. */
.mi-rise {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.75s cubic-bezier(0.22, 0.61, 0.36, 1),
                transform 0.75s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: opacity, transform;
}

.mi-rise.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Gentle, looping pulse on the doctor video play button to draw the eye
   to the playable thumbnail. Pauses on hover so it stays calm there. */
.doctor-play-btn {
    animation: play-pulse 2.6s ease-in-out infinite;
}

#video-container:hover .doctor-play-btn {
    animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
    .mi-rise {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .doctor-play-btn {
        animation: none !important;
    }
}

/* ============ MORE ENHANCEMENTS ============
   Additional motion + interaction polish. Still no change to colors,
   design, layout, fonts, images, or text. */

/* Fix anchor landings: when a nav link jumps to a section, stop the
   heading from hiding behind the fixed navbar. */
section[id] {
    scroll-margin-top: 124px;
}

@media (max-width: 768px) {
    section[id] {
        scroll-margin-top: 70px;
    }
}

/* "Trusted by Doctors" targets the heading rather than the section box, so the
   jump lands on the doctor + video content instead of the blank run-up above it. */
#doctor-video {
    scroll-margin-top: 118px;
}

@media (max-width: 992px) {
    #doctor-video {
        scroll-margin-top: 86px;
    }
}

@media (max-width: 480px) {
    #doctor-video {
        scroll-margin-top: 76px;
    }
}

/* Tactile press feedback on the interactive controls — a tiny "push in"
   when clicked/tapped. Uses the transition already defined on these. */
.filter-head:active,
.filter-selected:active,
.filter-option:active {
    transform: scale(0.98);
}

.nav-links li a:active {
    transform: translateY(0) scale(0.98);
}

.menu-toggle:active {
    transform: scale(0.94);
}

/* Little celebratory pop when a stats counter finishes counting up.
   The .stats-pop class is added/removed by script.js. */
@keyframes stats-pop {
    0% { transform: scale(1); }
    45% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

.stats-counter.stats-pop {
    animation: stats-pop 0.45s ease;
}

@media (prefers-reduced-motion: reduce) {
    .stats-counter.stats-pop {
        animation: none !important;
    }
}

/* Zoom-in reveal — same fade language, but scales up gently instead of
   rising. Used for the doctor video thumbnail so it lands as a focal
   point. .in-view is added by the observer in script.js. */
.mi-zoom {
    opacity: 0;
    transform: scale(0.94);
    transition: opacity 0.7s ease,
                transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: opacity, transform;
}

.mi-zoom.in-view {
    opacity: 1;
    transform: scale(1);
}

/* Staged reveal for the stats icons: the ring + number animate first,
   then the icon badges fade in just after, for a nicer sequence. */
.stats-circle-card .stats-icon-badge,
.stats-circle-card .stats-icon {
    opacity: 0;
    transition: opacity 0.55s ease;
}

.stats-circle-card.in-view .stats-icon-badge,
.stats-circle-card.in-view .stats-icon {
    opacity: 1;
    transition-delay: 0.55s;
}

@media (prefers-reduced-motion: reduce) {
    .mi-zoom {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .stats-circle-card .stats-icon-badge,
    .stats-circle-card .stats-icon {
        opacity: 1 !important;
        transition: none !important;
    }
}


/* ============ NAV LINK ENTRANCE ANIMATION (desktop) ============
   NOTE: the old "BIGGER NAVBAR" block here used to override the header
   layout (padding 1.7rem, logo 62px, gap 5.5rem, font 1.35rem) and was the
   root cause of the gap/overlap bugs. Removed — the header layout now lives
   only in the grid block above. This block keeps only the staggered fade-in. */
@media (min-width: 993px) {
    .navbar .nav-links li {
        opacity: 0;
        animation: nav-item-in 0.5s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
    }

    .navbar .nav-links li:nth-child(1) { animation-delay: 0.40s; }
    .navbar .nav-links li:nth-child(2) { animation-delay: 0.47s; }
    .navbar .nav-links li:nth-child(3) { animation-delay: 0.54s; }
    .navbar .nav-links li:nth-child(4) { animation-delay: 0.61s; }
    .navbar .nav-links li:nth-child(5) { animation-delay: 0.68s; }
    .navbar .nav-links li:nth-child(6) { animation-delay: 0.75s; }
}

@keyframes nav-item-in {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Scroll progress bar — thin brand-gradient line at the very top that
   fills as you read down the page. Width driven by script.js. */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    transform: scaleX(0);
    transform-origin: left center;
    background: linear-gradient(90deg, var(--brand-navy), var(--brand-red));
    z-index: 200;
    pointer-events: none;
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
    .navbar .nav-links li {
        opacity: 1 !important;
        animation: none !important;
    }

    .scroll-progress {
        display: none;
    }
}

/* ============ 3D TILT + BACK-TO-TOP ============
   More motion. No color/font/content change. */

/* Cards/thumbnail follow the pointer with a subtle 3D tilt (driven by
   script.js, which sets an inline transform on hover and clears it on
   leave). A short transition keeps it smooth. */
.stats-circle-card.mi-tilt,
#video-container.mi-tilt {
    transition: transform 0.18s ease-out;
}

/* Floating back-to-top button: fades/scales in once you scroll down,
   smooth-scrolls to the top, and shifts to the brand red on hover. */
.back-to-top {
    position: fixed;
    right: 26px;
    bottom: 26px;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 150;
    background: var(--brand-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(18px) scale(0.9);
    pointer-events: none;
    box-shadow: 0 8px 22px rgba(41, 57, 127, 0.35);
    transition: opacity 0.35s ease,
                transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
                background 0.25s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.back-to-top:hover {
    background: var(--brand-red);
    transform: translateY(-4px) scale(1.05);
}

.back-to-top svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: #fff;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Material-style click ripple (dropdown controls). */
.mi-ripple-host {
    position: relative;
    overflow: hidden;
}

.mi-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    transform: scale(0);
    opacity: 0.6;
    pointer-events: none;
    animation: mi-ripple-anim 0.6s ease-out;
}

@keyframes mi-ripple-anim {
    to { transform: scale(1); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .mi-ripple { display: none !important; }
}

@media (max-width: 640px) {
    .back-to-top {
        right: 16px;
        bottom: 16px;
        width: 44px;
        height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .stats-circle-card.mi-tilt,
    #video-container.mi-tilt {
        transition: none !important;
        transform: none !important;
    }

    .back-to-top {
        transition: opacity 0.2s ease;
    }

    .back-to-top.is-visible {
        transform: none;
    }
}

/* ============ PREMIUM TOUCHES ============
   More finish. No color/font/content changes. */

/* Trust heading wipes in left→right as the section enters (pairs with the
   underline that already grows). */
.trust-title {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1s cubic-bezier(0.22, 0.61, 0.36, 1) 0.15s;
}

.trust-container.in-view .trust-title {
    clip-path: inset(0 0 0 0);
}

/* Slide images get a transform transition so the JS scroll-parallax is
   buttery (no jump). */
.content-slides .img-frame {
    will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
    /* Underline grows under any nav link on hover, not just the active one. */
    .nav-links li a:hover::after {
        width: 100%;
    }

    /* Chevron gives a tiny bounce on hover. */
    .nav-chevron {
        transition: transform 0.25s ease;
    }

    .nav-links li a:hover .nav-chevron {
        transform: rotate(45deg) translate(1px, 2px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .trust-title {
        clip-path: none !important;
        transition: none !important;
    }

    .content-slides .img-frame {
        transform: none !important;
    }
}

/* ============ MORE PREMIUM MOTION ============
   No color/font/content changes. */

/* Each slide heading wipes in left→right just after the text slides in. */
.patient-heading {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) 0.25s;
}

.slide-fade.in-view .patient-heading {
    clip-path: inset(0 0 0 0);
}

/* QR code gently floats to draw the eye, and a light sheen sweeps across
   it on hover. */
.stats-qr-box {
    position: relative;
    overflow: hidden;
    animation: qr-float 4.5s ease-in-out infinite;
}

@keyframes qr-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.stats-qr-box::after {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 45%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    transform: skewX(-18deg);
    opacity: 0;
    pointer-events: none;
}

.stats-qr-overlay:hover .stats-qr-box::after {
    animation: qr-sheen 0.85s ease;
}

@keyframes qr-sheen {
    0% { left: -60%; opacity: 0; }
    20% { opacity: 1; }
    100% { left: 150%; opacity: 0; }
}

/* Scroll progress bar gets a slow flowing-color shimmer. */
.scroll-progress {
    background: linear-gradient(90deg, var(--brand-navy), var(--brand-red), var(--brand-navy));
    background-size: 200% 100%;
    animation: progress-sheen 3s linear infinite;
}

@keyframes progress-sheen {
    0% { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}

@media (prefers-reduced-motion: reduce) {
    .patient-heading {
        clip-path: none !important;
        transition: none !important;
    }

    .stats-qr-box {
        animation: none !important;
    }

    .stats-qr-box::after {
        display: none !important;
    }

    .scroll-progress {
        animation: none !important;
    }
}

/* ============ SELF-ANALYZED ADDITIONS ============
   Targeting the few spots still without motion. No color/font/content
   changes. */

/* 1. Slide body text rises in just after the heading wipes, so each
      slide reads as a small sequence (heading -> line -> body). */
.slide-fade .patient-body {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) 0.55s,
                transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) 0.55s;
}

.slide-fade.in-view .patient-body {
    opacity: 1;
    transform: translateY(0);
}

/* 2. The little red play-arrow next to the doctor's name gives a subtle,
      continuous forward nudge to point toward the name. */
.doctor-play-icon {
    animation: play-icon-nudge 1.9s ease-in-out infinite;
}

@keyframes play-icon-nudge {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
}

/* 3. The stats icon badges get a soft "breathing" halo pulse behind the
      icon once they've faded in. */
.stats-icon-badge {
    animation: badge-breathe 3.2s ease-in-out infinite;
}

@keyframes badge-breathe {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.07); }
}

@media (prefers-reduced-motion: reduce) {
    .slide-fade .patient-body {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .doctor-play-icon,
    .stats-icon-badge {
        animation: none !important;
    }
}

/* ============ ROUND: MORE MOTION ============
   No color/font/content changes. */

/* The big launch year "2025" gives an emphasis pop when it reveals. */
.about-2025-block.in-view .about-year-2025 {
    animation: year-pop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.25s;
    transform-origin: left center;
}

@keyframes year-pop {
    0% { transform: scale(1); }
    45% { transform: scale(1.14); }
    100% { transform: scale(1); }
}

@media (hover: hover) and (pointer: fine) {
    /* Dropdowns lift with a soft premium shadow on hover. */
    .filter-table:hover {
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-2025-block.in-view .about-year-2025 {
        animation: none !important;
    }
}

/* ============ ROUND: HERO→FOOTER MOTION ============
   No color/font/content changes. */

/* HERO: soft navy glow that gently breathes on the product logo. */
body.page-loaded .hero-logo-img {
    animation: logo-glow 4.5s ease-in-out 1.8s infinite;
}

@keyframes logo-glow {
    0%, 100% { filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08)); }
    50% { filter: drop-shadow(0 7px 20px rgba(41, 57, 127, 0.22)); }
}

/* HERO: animated scroll-down cue at the bottom of the hero. */
.hero-scroll-cue {
    position: absolute;
    /* clear of the dots, which now sit over the bottom of the band */
    bottom: 58px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.page-loaded .hero-scroll-cue {
    opacity: 0.85;
}

.hero-scroll-cue:hover {
    opacity: 1;
}

.hero-scroll-cue.is-hidden {
    opacity: 0 !important;
    pointer-events: none;
}

.hero-scroll-cue svg {
    width: 28px;
    height: 28px;
    stroke: var(--brand-navy);
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: cue-bounce 1.6s ease-in-out infinite;
}

@keyframes cue-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(7px); }
}

.hero.is-film .hero-scroll-cue {
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 992px) {
    .hero-scroll-cue { display: none; }
}

/* ABOUT: the "India" headline pops for emphasis when revealed
   (matches the 2025 pop). */
.about-india-block.in-view .about-india-title {
    animation: year-pop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s;
    transform-origin: left center;
}

/* FOOTER: a small brand accent line draws in across the top divider. */
.footer-bottom {
    position: relative;
}

.footer-bottom::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 50%;
    width: 120px;
    height: 2px;
    background: var(--brand-navy);
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) 0.2s;
}

.footer-bottom.in-view::before {
    transform: translateX(-50%) scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
    body.page-loaded .hero-logo-img { animation: none !important; }
    .hero-scroll-cue svg { animation: none !important; }
    .about-india-block.in-view .about-india-title { animation: none !important; }
    .footer-bottom::before { transform: translateX(-50%) scaleX(1); transition: none !important; }
}

/* ============ ROUND: REFINED MOTION ============
   No color/font/content changes. */

/* STATS: the descriptive label fades up just after its number lands,
   so each metric reads as number-then-label. */
.stats-circle-card .stats-value {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stats-circle-card.in-view .stats-value {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.25s;
}

/* STATS: a one-time soft shine sweeps the ring once it finishes filling. */
.stats-ring-progress.is-animated {
    animation: ring-shine 1.3s ease 1.4s 1;
}

@keyframes ring-shine {
    0%, 100% { filter: none; }
    50% { filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.7)); }
}

/* TRUST: letters settle from slightly spread to normal as the title
   wipes in (works together with the existing clip-path reveal). */
.trust-title {
    letter-spacing: 0.05em;
    transition: clip-path 1s cubic-bezier(0.22, 0.61, 0.36, 1) 0.15s,
                letter-spacing 1.1s cubic-bezier(0.22, 0.61, 0.36, 1) 0.15s;
}

.trust-container.in-view .trust-title {
    letter-spacing: normal;
}

@media (prefers-reduced-motion: reduce) {
    .stats-circle-card .stats-value {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .stats-ring-progress.is-animated {
        animation: none !important;
    }

    .trust-title {
        letter-spacing: normal !important;
        transition: none !important;
    }
}

/* ============ ROUND: EXTRA INTERACTIVITY ============
   No color/font/content changes — motion only. */

/* CLINICAL: a soft light "sheen" sweeps across each patient image on hover,
   giving the photos a premium, glossy feel. Desktop pointers only. */
@media (hover: hover) and (pointer: fine) {
    .content-slides .img-frame::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 3;
        border-radius: inherit;
        pointer-events: none;
        opacity: 0;
        background: linear-gradient(
            115deg,
            transparent 30%,
            rgba(255, 255, 255, 0.28) 48%,
            rgba(255, 255, 255, 0.28) 52%,
            transparent 70%
        );
        background-size: 250% 100%;
        background-position: 120% 0;
    }

    .content-slides .img-frame:hover::after {
        opacity: 1;
        animation: slide-sheen 0.9s ease-out forwards;
    }

    .content-slides .img-frame:hover .rounded-stroke-img {
        transform: scale(1.11);
    }
}

@keyframes slide-sheen {
    0%   { background-position: 120% 0; }
    100% { background-position: -40% 0; }
}

/* DOCTOR: when a dropdown opens, the options cascade in one after another
   instead of all appearing at once. */
.filter-table.is-open .filter-list .filter-option {
    animation: option-cascade 0.34s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.filter-table.is-open .filter-list .filter-option:nth-child(1) { animation-delay: 0.02s; }
.filter-table.is-open .filter-list .filter-option:nth-child(2) { animation-delay: 0.06s; }
.filter-table.is-open .filter-list .filter-option:nth-child(3) { animation-delay: 0.10s; }
.filter-table.is-open .filter-list .filter-option:nth-child(4) { animation-delay: 0.14s; }
.filter-table.is-open .filter-list .filter-option:nth-child(5) { animation-delay: 0.18s; }
.filter-table.is-open .filter-list .filter-option:nth-child(6) { animation-delay: 0.22s; }
.filter-table.is-open .filter-list .filter-option:nth-child(7) { animation-delay: 0.26s; }

@keyframes option-cascade {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ABOUT: the inline MIQNAF logo in the bridge line gently floats so the
   "the gap is bridged with [logo]" line draws the eye. */
.about-bridge-logo {
    animation: bridge-logo-float 4s ease-in-out 1s infinite;
}

@keyframes bridge-logo-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

/* STATS: the QR box lifts a touch on hover to invite a scan. */
@media (hover: hover) and (pointer: fine) {
    .stats-qr-box {
        transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1),
                    box-shadow 0.3s ease;
    }

    .stats-qr-box:hover {
        transform: translateY(-6px) scale(1.03);
        box-shadow: 0 16px 32px rgba(41, 57, 127, 0.22);
    }
}

/* HERO: pointer-driven depth — the people image leans toward the cursor.
   Driven by --mi-px / --mi-py set in script.js (defaults to no shift). */
.hero-people-layer {
    --mi-px: 0;
    --mi-py: 0;
}

body.page-loaded.mi-hero-parallax-ready .hero-people-layer {
    transform: translate3d(
        calc(var(--mi-px) * 18px),
        calc(var(--mi-py) * 14px),
        0
    );
    transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
    .content-slides .img-frame:hover::after { animation: none !important; opacity: 0 !important; }
    .content-slides .img-frame:hover .rounded-stroke-img { transform: scale(1.08) !important; }
    .filter-table.is-open .filter-list .filter-option { animation: none !important; }
    .about-bridge-logo { animation: none !important; }
    .stats-qr-box:hover { transform: none !important; }
    body.page-loaded.mi-hero-parallax-ready .hero-people-layer {
        transform: none !important;
        transition: none !important;
    }
}

/* ============ ROUND: ADDED MOTION ============
   Extra motion only — no change to colors, layout, fonts, images, or
   text. Follows the fade/sheen/glow language already used on the page,
   and is fully disabled under prefers-reduced-motion. */

/* ABOUT: a slow light sweep travels across the white tagline ribbon so
   "Delivering Guaranteed Results, Every Time" keeps catching the eye.
   The ribbon's own clip-path also clips this overlay to its shape. */
.about-tagline-ribbon {
    position: relative;
    overflow: hidden;
}

.about-tagline-ribbon::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        115deg,
        transparent 35%,
        rgba(153, 31, 37, 0.18) 48%,
        rgba(153, 31, 37, 0.18) 52%,
        transparent 65%
    );
    background-size: 250% 100%;
    background-position: 150% 0;
    animation: mi-ribbon-sheen 4.8s ease-in-out 1.4s infinite;
}

@keyframes mi-ribbon-sheen {
    0%   { background-position: 150% 0; }
    55%  { background-position: -55% 0; }
    100% { background-position: -55% 0; }
}

@media (prefers-reduced-motion: reduce) {
    .about-tagline-ribbon::after {
        animation: none !important;
        opacity: 0 !important;
    }
}

/* Clips the band's bottom fade to the section. The ambient aurora glows that
   used to drift behind the hero went with the old two-column layout — over the
   banner's cream band the navy one washed the top-left blue and broke the
   colour match with the artwork. */
.hero {
    overflow: hidden;
    overflow: clip;
}
