/* ==========================================================================
   Showcase slider, marquee, split image sections, CTA band, inner page hero
   ========================================================================== */
.showcase { position: relative; border-radius: 34px; overflow: hidden; box-shadow: var(--shadow-lg); border: 8px solid #fff; background: #fff; }
.show-track { display: flex; transition: transform .8s var(--ease); }
.show-slide { min-width: 100%; position: relative; }
.show-slide img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.show-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.4rem 1.4rem 1.1rem; background: linear-gradient(0deg, rgba(6, 24, 79, .88), transparent); color: #fff; font-family: var(--font-head); font-size: 1.15rem; }
.show-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--navy); box-shadow: var(--shadow); cursor: pointer; z-index: 3; transition: background .2s, transform .25s var(--ease); }
.show-nav:hover { background: var(--gold); transform: translateY(-50%) scale(1.1); }
.show-prev { left: 12px; } .show-next { right: 12px; }
.show-dots { display: flex; gap: .45rem; justify-content: center; margin-top: 1.1rem; }
.show-dots button { width: 12px; height: 12px; border-radius: 99px; border: 0; background: #c6dcff; cursor: pointer; padding: 0; transition: width .3s var(--ease), background .3s; }
.show-dots button.on { width: 36px; background: var(--orange); }

.marquee { overflow: hidden; padding: .4rem 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
/* Padding (not just gap) on the track makes one half exactly one loop, so translateX(-50%) repeats with no jump. */
.marquee-track { --mq-gap: .9rem; display: flex; gap: var(--mq-gap); padding-right: var(--mq-gap); width: max-content; animation: marquee 42s linear infinite; will-change: transform; }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- subjects: two counter-rotating rows of colourful cards ---------- */
.s-section.alt.subjects-sec { overflow: hidden;
    background: radial-gradient(60% 55% at 10% 0%, rgba(26, 167, 255, .12), transparent 70%), radial-gradient(50% 55% at 94% 100%, rgba(255, 194, 14, .16), transparent 70%), #fff; }
.subjects-sec .s-head { margin-bottom: 1.4rem; }
.sub-rows { display: grid; }
/* The row clips its overflow, so the padding must leave room for the hover lift and the card shadow. */
.sub-row { padding: 1.3rem 0 1.7rem; }
.sub-row .marquee-track { --mq-gap: 1.1rem; animation-duration: 55s; }
.sub-row.rev .marquee-track { animation-direction: reverse; animation-duration: 65s; animation-delay: -18s; }
.sub-card { --mc: var(--blue); display: inline-flex; align-items: center; gap: .9rem; padding: .7rem 1.7rem .7rem .7rem; border-radius: 22px; white-space: nowrap; cursor: default;
    font-family: var(--font-head); font-weight: 500; font-size: 1.15rem; color: var(--navy);
    background: linear-gradient(135deg, color-mix(in srgb, var(--mc) 11%, #fff) 0%, #fff 62%);
    border: 2px solid color-mix(in srgb, var(--mc) 18%, #fff); box-shadow: 0 8px 22px color-mix(in srgb, var(--mc) 14%, transparent);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; }
.sub-card i { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.3rem; color: #fff;
    background: linear-gradient(145deg, color-mix(in srgb, var(--mc) 68%, #fff), var(--mc)); box-shadow: 0 8px 16px color-mix(in srgb, var(--mc) 38%, transparent); transition: transform .4s var(--ease); }
.sub-card:hover { transform: translateY(-6px); border-color: var(--mc); box-shadow: 0 14px 26px color-mix(in srgb, var(--mc) 28%, transparent); }
.sub-card:hover i { transform: rotate(-10deg) scale(1.1); }
.sub-cta { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 2rem; }
@media (max-width: 575.98px) {
    .sub-row { padding: 1rem 0 1.3rem; }
    .sub-row .marquee-track { --mq-gap: .8rem; }
    .sub-card { gap: .7rem; padding: .55rem 1.2rem .55rem .55rem; border-radius: 18px; font-size: 1rem; }
    .sub-card i { width: 42px; height: 42px; border-radius: 13px; font-size: 1.05rem; }
    .sub-cta .btn-cbc { width: 100%; justify-content: center; }
}

.split-img { position: relative; isolation: isolate; }
.split-img .img-frame { border-radius: 30px; overflow: hidden; border: 7px solid #fff; box-shadow: var(--shadow-lg); transition: transform .5s var(--ease); background: #fff; }
.split-img .img-frame img { display: block; width: 100%; }
.split-img:hover .img-frame { transform: rotate(-1.2deg) scale(1.02); }
.split-img::before { content: ''; position: absolute; inset: 10% -4% -6% 8%; background: var(--grad-gold); border-radius: 36px; transform: rotate(4deg); z-index: -1; opacity: .8; }
.split-img.rev::before { inset: 10% 8% -6% -4%; transform: rotate(-4deg); background: linear-gradient(135deg, #7cc9ff, #1aa7ff); }
.tick-list { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: grid; gap: .65rem; }
.tick-list li { display: flex; gap: .8rem; align-items: flex-start; font-weight: 700; }
.tick-list li i { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--tc, var(--green)) 16%, #fff); color: var(--tc, var(--green)); font-size: .8rem; margin-top: .1rem; }
.navy .tick-list li i { background: rgba(255, 255, 255, .18); color: var(--gold); }

.bubble { position: absolute; border-radius: 50%; pointer-events: none; background: rgba(255, 255, 255, .1); animation: floaty 9s ease-in-out infinite; }
.bubble.x1 { width: 220px; height: 220px; right: -60px; top: -60px; }
.bubble.x2 { width: 140px; height: 140px; left: -40px; bottom: -40px; background: rgba(255, 194, 14, .22); animation-delay: -3s; }
.cta-band { position: relative; border-radius: 36px; padding: 3.2rem 2rem; background: var(--grad-brand); color: #fff; text-align: center; overflow: hidden; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.7rem); position: relative; z-index: 1; }
.cta-band p { color: rgba(255, 255, 255, .9); max-width: 620px; margin: .6rem auto 1.6rem; position: relative; z-index: 1; }
.cta-band .acts { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; position: relative; z-index: 1; }

.page-hero { position: relative; overflow: hidden; padding: 3.6rem 0 5.2rem; background: var(--grad-brand); color: #fff; }
.page-hero .container { position: relative; z-index: 3; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.5rem); margin: .8rem 0; }
.page-hero p { color: rgba(255, 255, 255, .9); font-size: 1.15rem; max-width: 640px; }
.page-hero .eyebrow { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3); color: #fff; box-shadow: none; }
.page-hero .ph-art { position: relative; border-radius: 30px; overflow: hidden; border: 6px solid rgba(255, 255, 255, .9); box-shadow: 0 26px 60px rgba(0, 0, 0, .3); transform: rotate(1.5deg); animation: floaty 8s ease-in-out infinite; }
.page-hero .ph-art img { display: block; width: 100%; }
.page-hero .crumbs { font-weight: 800; font-size: .9rem; opacity: .95; }
.page-hero .crumbs a { color: var(--gold); }
.page-hero .hero-wave { color: var(--bg); height: 60px; }
@media (max-width: 991.98px) { .page-hero { text-align: center; padding-bottom: 4.6rem; } .page-hero p { margin-left: auto; margin-right: auto; } .page-hero .ph-art { margin-top: 1.6rem; } .page-hero .d-flex { justify-content: center; } }
