/* ==========================================================================
   India Health Expo — cinematic gallery & video showcase
   ========================================================================== */

.hexpo-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: "Inter", "Roboto", sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #7c3aed;
}

.hexpo-eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    background: var(--apx-gradient-primary);
    border-radius: 2px;
}

.hexpo-eyebrow--light {
    color: #ffffff;
    opacity: .9;
}

.hexpo-eyebrow--light::before {
    background: #ffffff;
    opacity: .8;
}

/* ---------------------------------- Reveal-on-scroll (page-local) ---------------------------------- */

.hexpo-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1);
    transition-delay: var(--reveal-delay, 0s);
}

.hexpo-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .hexpo-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ---------------------------------- Hero ---------------------------------- */

.hexpo-hero {
    position: relative;
    min-height: 82vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    background: #0b1023;
}

.hexpo-hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transform: scale(1.02);
}

.hexpo-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(8, 11, 26, .35) 0%, rgba(8, 11, 26, .55) 45%, rgba(6, 9, 22, .96) 100%),
        linear-gradient(100deg, rgba(37, 99, 235, .35) 0%, rgba(124, 58, 237, .12) 40%, transparent 70%);
}

.hexpo-hero-top {
    position: relative;
    z-index: 2;
    padding: 130px 0 0;
}

.hexpo-crumb-link,
.hexpo-crumb-current {
    font-family: "Inter", "Roboto", sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.hexpo-crumb-link {
    color: rgba(255, 255, 255, .65);
    text-decoration: none;
}

.hexpo-crumb-link:hover {
    color: #ffffff;
}

.hexpo-crumb-sep {
    color: rgba(255, 255, 255, .35);
    margin: 0 8px;
}

.hexpo-crumb-current {
    color: #ffffff;
}

.hexpo-hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 0 64px;
}

.hexpo-hero-title {
    font-family: "Poppins", "Roboto", sans-serif;
    font-weight: 800 !important;
    font-size: clamp(2.6rem, 6.2vw, 5.2rem);
    line-height: 1.04;
    letter-spacing: -.02em;
    color: #ffffff !important;
    margin: 18px 0 22px;
}

.hexpo-hero-lede {
    max-width: 620px;
    font-family: "Inter", "Roboto", sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .82) !important;
    margin: 0 0 32px;
}

.hexpo-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hexpo-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 18px;
    font-family: "Inter", "Roboto", sans-serif;
    font-size: 13.5px;
    font-weight: 500;
    color: #ffffff;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hexpo-badge i {
    color: #7ecbff;
    font-size: 13px;
}

.hexpo-scroll-cue {
    position: relative;
    z-index: 2;
    align-self: center;
    margin-bottom: 26px;
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, .5);
    border-radius: 14px;
}

.hexpo-scroll-cue span {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 8px;
    margin-left: -2px;
    background: #ffffff;
    border-radius: 3px;
    animation: hexpoScrollCue 1.8s ease infinite;
}

@keyframes hexpoScrollCue {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    70% {
        opacity: 0;
        transform: translateY(14px);
    }

    100% {
        opacity: 0;
        transform: translateY(14px);
    }
}

/* ---------------------------------- Story ---------------------------------- */

.hexpo-story {
    padding: 100px 0 20px;
    background: #ffffff;
}

.hexpo-story-inner {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.hexpo-story-inner p {
    margin-top: 22px;
    font-family: "Inter", "Roboto", sans-serif;
    font-size: clamp(19px, 2.4vw, 23px);
    line-height: 1.75;
    color: #384056 !important;
    font-weight: 400;
}

.hexpo-story-inner p strong {
    color: #16192b !important;
    font-weight: 600;
}

/* ---------------------------------- Quote bands ---------------------------------- */

.hexpo-quote-band {
    padding: 70px 0;
    background: #ffffff;
}

.hexpo-quote-card {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
    padding: 56px 40px;
    border-radius: 26px;
    background: linear-gradient(160deg, rgba(37, 99, 235, .06) 0%, rgba(124, 58, 237, .06) 50%, rgba(6, 182, 212, .06) 100%);
    border: 1px solid rgba(37, 99, 235, .12);
}

.hexpo-quote-mark {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 88px;
    line-height: 1;
    height: 50px;
    background: var(--apx-gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 6px;
}

.hexpo-quote-card blockquote {
    margin: 0;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    text-align: center !important;
    font-family: "Poppins", "Roboto", sans-serif;
    font-weight: 700;
    font-size: clamp(22px, 3vw, 32px);
    line-height: 1.45;
    color: #16192b !important;
}

.hexpo-quote-card cite {
    display: inline-block;
    margin-top: 24px;
    font-style: normal;
    font-family: "Inter", "Roboto", sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #ffffff;
    background: var(--apx-gradient-primary);
    padding: 8px 20px;
    border-radius: 999px;
}

.hexpo-quote-band--dark {
    background: #0b1023;
}

.hexpo-quote-band--dark .hexpo-quote-card {
    background: rgba(255, 255, 255, .04);
    border-color: rgba(255, 255, 255, .1);
}

.hexpo-quote-band--dark .hexpo-quote-card blockquote {
    color: #ffffff !important;
}

/* ---------------------------------- Section heads ---------------------------------- */

.hexpo-section-head {
    max-width: 640px;
    margin: 0 auto 50px;
    text-align: center;
}

.hexpo-section-head .hexpo-eyebrow {
    justify-content: center;
}

.hexpo-section-head h2 {
    font-family: "Poppins", "Roboto", sans-serif;
    font-weight: 800 !important;
    font-size: clamp(30px, 4vw, 44px);
    letter-spacing: -.01em;
    color: #16192b !important;
    margin: 16px 0 0;
}

.hexpo-section-head p {
    margin-top: 14px;
    font-family: "Inter", "Roboto", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #5c6474 !important;
}

.hexpo-section-head--light h2 {
    color: #ffffff !important;
}

.hexpo-section-head--light p {
    color: rgba(255, 255, 255, .68) !important;
}

/* ---------------------------------- Gallery (bento) ---------------------------------- */

.hexpo-gallery-section {
    padding: 30px 0 110px;
    background: #ffffff;
}

.hexpo-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 210px;
    gap: 18px;
}

.hexpo-bento>a {
    position: relative;
    display: block;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(17, 24, 39, .08);
    transition: transform .45s cubic-bezier(.16, 1, .3, 1), box-shadow .45s ease;
}

.hexpo-bento>a:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 44px rgba(17, 24, 39, .18);
}

.hexpo-bento>a:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.hexpo-bento>a:nth-child(2) {
    grid-column: span 1;
    grid-row: span 2;
}

.hexpo-bento img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s cubic-bezier(.16, 1, .3, 1);
}

.hexpo-bento>a:hover img {
    transform: scale(1.07);
}

.hexpo-bento-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 22px;
    background: linear-gradient(to top, rgba(8, 11, 26, .92) 0%, rgba(8, 11, 26, .35) 45%, transparent 75%);
}

.hexpo-bento-caption {
    color: #ffffff;
    transform: translateY(10px);
    opacity: .92;
    transition: transform .4s ease, opacity .4s ease;
}

.hexpo-bento>a:hover .hexpo-bento-caption {
    transform: translateY(0);
    opacity: 1;
}

.hexpo-bento-kicker {
    display: block;
    font-family: "Inter", "Roboto", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #7ecbff;
    margin-bottom: 6px;
}

.hexpo-bento-text {
    display: block;
    font-family: "Inter", "Roboto", sans-serif;
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.4;
}

.hexpo-bento-expand {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .3);
    color: #ffffff;
    font-size: 13px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* ---------------------------------- Video section ---------------------------------- */

.hexpo-video-section {
    padding: 100px 0 110px;
    background: #0b1023;
    background-image:
        radial-gradient(circle at 15% 20%, rgba(37, 99, 235, .25), transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(124, 58, 237, .22), transparent 45%);
}

.hexpo-video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.hexpo-video-card {
    position: relative;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 20px;
    overflow: hidden;
    transition: transform .4s cubic-bezier(.16, 1, .3, 1), border-color .4s ease;
}

.hexpo-video-card:hover {
    transform: translateY(-6px);
    border-color: rgba(124, 158, 237, .45);
}

.hexpo-video-media {
    position: relative;
}

.hexpo-video-media video {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    background: #05070f;
}

.hexpo-play-glyph {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(5, 7, 15, .1) 0%, rgba(5, 7, 15, .55) 100%);
    transition: opacity .35s ease;
}

.hexpo-play-glyph span {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: var(--apx-gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    box-shadow: 0 10px 28px rgba(37, 99, 235, .45);
}

.hexpo-play-glyph.is-hidden {
    opacity: 0;
}

.hexpo-video-role {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    display: inline-block;
    font-family: "Inter", "Roboto", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #ffffff;
    background: rgba(8, 11, 26, .55);
    border: 1px solid rgba(255, 255, 255, .25);
    padding: 5px 12px;
    border-radius: 999px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hexpo-video-meta {
    padding: 18px 20px 22px;
}

.hexpo-video-meta h3 {
    font-family: "Poppins", "Roboto", sans-serif;
    font-size: 16px;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 0 8px;
}

.hexpo-video-meta p {
    margin: 0;
    font-family: "Inter", "Roboto", sans-serif;
    font-size: 13.5px;
    line-height: 1.55;
    color: rgba(255, 255, 255, .6) !important;
}

/* ---------------------------------- CTA ---------------------------------- */

.hexpo-cta {
    padding: 90px 0;
    text-align: center;
    background: var(--apx-gradient-primary);
    position: relative;
    overflow: hidden;
}

.hexpo-cta h2 {
    font-family: "Poppins", "Roboto", sans-serif;
    font-weight: 800 !important;
    font-size: clamp(26px, 3.6vw, 38px);
    color: #ffffff !important;
    max-width: 620px;
    margin: 0 auto 28px;
    line-height: 1.3;
}

.hexpo-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 34px;
    font-family: "Inter", "Roboto", sans-serif;
    font-size: 15px;
    font-weight: 600;
    border-radius: 999px;
    text-decoration: none;
    transition: transform .3s ease, box-shadow .3s ease;
}

.hexpo-btn--light {
    background: #ffffff;
    color: #16192b;
    box-shadow: 0 12px 30px rgba(8, 11, 26, .25);
}

.hexpo-btn--light:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(8, 11, 26, .32);
    color: #16192b;
}

/* ---------------------------------- Dark theme ----------------------------------
   .hexpo-hero, .hexpo-quote-band--dark and .hexpo-video-section are dark by design
   already. The sections below (Story, the light quote band, Gallery) are white by
   design for light mode — these overrides give them the same dark treatment when
   the site is in dark mode, so the page doesn't alternate between black bands and
   bright-white bands. */

html.theme-dark .hexpo-story {
    background: #0b1023;
}

html.theme-dark .hexpo-story-inner p {
    color: #b7bdd6 !important;
}

html.theme-dark .hexpo-story-inner p strong {
    color: #ffffff !important;
}

html.theme-dark .hexpo-quote-band:not(.hexpo-quote-band--dark) {
    background: #0b1023;
}

html.theme-dark .hexpo-quote-band:not(.hexpo-quote-band--dark) .hexpo-quote-card {
    background: rgba(255, 255, 255, .04);
    border-color: rgba(255, 255, 255, .1);
}

html.theme-dark .hexpo-quote-band:not(.hexpo-quote-band--dark) .hexpo-quote-card blockquote {
    color: #ffffff !important;
}

html.theme-dark .hexpo-gallery-section {
    background: #0b1023;
}

html.theme-dark .hexpo-section-head:not(.hexpo-section-head--light) h2 {
    color: #ffffff !important;
}

html.theme-dark .hexpo-section-head:not(.hexpo-section-head--light) p {
    color: rgba(255, 255, 255, .68) !important;
}

html.theme-dark .hexpo-bento>a {
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, .08);
}

html.theme-dark .hexpo-bento>a:hover {
    box-shadow: 0 22px 44px rgba(0, 0, 0, .5);
}

/* ---------------------------------- Responsive ---------------------------------- */

@media (max-width: 991px) {
    .hexpo-hero {
        min-height: 72vh;
    }

    .hexpo-hero-top {
        padding-top: 108px;
    }

    .hexpo-bento {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 230px;
    }

    .hexpo-bento>a:nth-child(1) {
        grid-column: span 2;
        grid-row: span 1;
        aspect-ratio: 16 / 9;
        height: auto;
    }

    .hexpo-bento>a:nth-child(2) {
        grid-column: span 1;
        grid-row: span 2;
    }

    .hexpo-video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .hexpo-hero-top {
        padding-top: 96px;
    }

    .hexpo-story {
        padding-top: 70px;
    }

    .hexpo-quote-card {
        padding: 40px 24px;
    }

    .hexpo-bento {
        grid-template-columns: 1fr;
        grid-auto-rows: unset;
    }

    .hexpo-bento>a,
    .hexpo-bento>a:nth-child(1),
    .hexpo-bento>a:nth-child(2) {
        grid-column: span 1;
        grid-row: span 1;
        aspect-ratio: 4 / 3;
        height: auto;
    }

    .hexpo-video-grid {
        grid-template-columns: 1fr;
    }
}
