/* ==========================================================================
   Institute of Creative Arts — Homepage Stylesheet
   Palette: Guyana Golden Arrowhead Colors (#009E49 Green, #FCD116 Gold,
   #CE1126 Red, #0D110E Black, #FFFFFF White) + 4 School Signature Accents.
   Layout inspired by gncr.mcys.gov.gy & emc.edu.jm.
   ========================================================================== */

:root {
    --ica-blue: #1f385e;
    --ica-blue-deep: #11213a;
    --ica-blue-mid: #2b4d82;
    --ica-orange: #f47b20;
    --ica-orange-warm: #ffa338;
    --ica-orange-deep: #dc5416;
    --ica-nav-amber: #f4aa22;
    --ica-nav-amber-end: #f09416;

    --gy-green: #009e49;
    --gy-green-dark: #007837;
    --gy-forest: #062213;
    --gy-gold: #fcd116;
    --gy-gold-warm: #e6b800;
    --gy-red: #ce1126;
    --gy-red-dark: #a60d1e;
    --gy-black: #0d110e;
    --gy-white: #ffffff;

    --ica-olive: #009e49;
    --ica-olive-bright: #58c982;
    --ica-gold: #fcd116;
    --ica-espresso: #1c241e;
    --ica-ink: #131814;
    --ica-ink-muted: #4b554e;
    --ica-paper: #faf9f5;
    --ica-surface: #ffffff;
    --ica-surface-warm: #faf5eb;
    --ica-border: #e3e6df;

    --erbsa-color: #f06a3e;
    --nsd-color: #2dd4bf;
    --nsm-color: #fcd116;
    --nstad-color: #f43f5e;

    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;

    --radius-xl: 20px;
    --radius-lg: 14px;
    --radius-md: 10px;
    --hero-duration: 6500ms;
    --nav-height: 71px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--ica-ink);
    background-color: var(--ica-paper);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.svg-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
}

.section-container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-kicker {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ica-blue);
    margin-bottom: 10px;
}

.section-kicker.kicker-gold {
    color: var(--ica-orange-warm);
}

.section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 52px;
}

.section-head h2,
.about-narrative h2,
.admissions-details h2 {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.2vw, 2.7rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--ica-ink);
    margin-bottom: 14px;
    text-align: inherit;
}

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

.section-subtitle {
    color: var(--ica-ink-muted);
    font-size: 1.05rem;
    margin: 0;
}

.section-head-light .section-subtitle {
    color: rgba(255, 255, 255, 0.78);
}

/* ==========================================================================
   Utility Top Bar + Crisp White Navigation (emc.edu.jm & gncr.mcys.gov.gy)
   ========================================================================== */

.top-utility-bar {
    background: var(--ica-blue-deep);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.utility-inner {
    max-width: 1260px;
    margin: 0 auto;
    padding: 7px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.utility-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.utility-meta a {
    color: var(--ica-orange-warm);
    text-decoration: none;
    font-weight: 500;
}

.utility-meta a:hover {
    text-decoration: underline;
}

.utility-sep {
    opacity: 0.35;
}

.utility-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.utility-link {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.utility-link:hover {
    color: var(--ica-orange-warm);
}

.utility-apply {
    padding: 4px 14px;
    border-radius: 4px;
    background: var(--ica-orange);
    color: #ffffff;
    text-decoration: none;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background-color 0.2s ease;
}

.utility-apply:hover {
    background: var(--ica-orange-deep);
    color: #ffffff;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(31, 56, 94, 0);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 5px solid transparent;
    box-shadow: 0 10px 30px rgba(17, 33, 58, 0);
    transition: background-color 0.35s ease, background 0.35s ease, border-bottom-color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.site-header.is-scrolled,
.site-header.is-menu-open {
    background: linear-gradient(90deg, rgba(244, 170, 34, 0.97) 0%, rgba(240, 148, 22, 0.97) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom-color: var(--ica-blue);
}

.site-header.is-scrolled {
    box-shadow: 0 10px 30px rgba(17, 33, 58, 0.2);
}

.nav-inner {
    max-width: 1260px;
    margin: 0 auto;
    padding: 11px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #0f1f38;
    flex-shrink: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px) scale(0.96);
    transition: opacity 0.3s ease, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.3s;
}

.site-header.is-scrolled .nav-brand {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transition: opacity 0.36s ease, transform 0.36s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0s;
}

.nav-brand img {
    width: 44px;
    height: 44px;
    padding: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    border: 1.5px solid rgba(31, 56, 94, 0.45);
    display: block;
    object-fit: contain;
}

.nav-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.nav-brand-title {
    font-weight: 800;
    font-size: 1.02rem;
    letter-spacing: -0.01em;
    color: #0f1f38;
}

.nav-brand-sub {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ica-blue);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-links a {
    position: relative;
    color: rgba(255, 255, 255, 0.94);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    padding: 4px 0;
    text-shadow: 0 1px 10px rgba(8, 17, 32, 0.35);
    transition: color 0.28s ease, transform 0.2s ease, background-color 0.28s ease, box-shadow 0.28s ease, text-shadow 0.28s ease;
    white-space: nowrap;
}

.site-header.is-scrolled .nav-links a,
.site-header.is-menu-open .nav-links a {
    color: #0f1f38;
    text-shadow: none;
}

.nav-links a:not(.nav-cta):not(.nav-link-portal)::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: var(--ica-orange-warm);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.22s ease, background-color 0.28s ease;
}

.site-header.is-scrolled .nav-links a:not(.nav-cta):not(.nav-link-portal)::after,
.site-header.is-menu-open .nav-links a:not(.nav-cta):not(.nav-link-portal)::after {
    background: var(--ica-blue);
}

.nav-links a:not(.nav-cta):not(.nav-link-portal):hover {
    color: var(--ica-orange-warm);
}

.site-header.is-scrolled .nav-links a:not(.nav-cta):not(.nav-link-portal):hover,
.site-header.is-menu-open .nav-links a:not(.nav-cta):not(.nav-link-portal):hover {
    color: var(--ica-blue);
}

.nav-links a:not(.nav-cta):not(.nav-link-portal):hover::after {
    transform: scaleX(1);
}

.nav-links a.nav-link-portal {
    padding: 7px 14px;
    border-radius: 999px;
    border: 1.5px solid rgba(255, 255, 255, 0.38);
    color: #ffffff;
}

.site-header.is-scrolled .nav-links a.nav-link-portal,
.site-header.is-menu-open .nav-links a.nav-link-portal {
    border-color: rgba(15, 31, 56, 0.28);
    color: #0f1f38;
}

.nav-links a.nav-link-portal:hover {
    border-color: var(--ica-orange-warm);
    color: var(--ica-orange-warm);
    background: rgba(255, 255, 255, 0.1);
}

.site-header.is-scrolled .nav-links a.nav-link-portal:hover,
.site-header.is-menu-open .nav-links a.nav-link-portal:hover {
    border-color: var(--ica-blue);
    color: var(--ica-blue);
    background: rgba(255, 255, 255, 0.32);
}

.nav-links a.nav-cta {
    padding: 9px 20px;
    border-radius: 999px;
    background: var(--ica-orange);
    color: #0f1f38;
    font-weight: 800;
    text-shadow: none;
    box-shadow: 0 6px 18px rgba(8, 17, 32, 0.28);
}

.nav-links a.nav-cta:hover {
    background: var(--ica-orange-warm);
    color: #0f1f38;
    transform: translateY(-1px);
}

.site-header.is-scrolled .nav-links a.nav-cta,
.site-header.is-menu-open .nav-links a.nav-cta {
    background: var(--ica-blue);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(17, 33, 58, 0.24);
}

.site-header.is-scrolled .nav-links a.nav-cta:hover,
.site-header.is-menu-open .nav-links a.nav-cta:hover {
    background: var(--ica-blue-deep);
    color: #ffffff;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    transition: background-color 0.28s ease, border-color 0.28s ease;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease, background-color 0.28s ease;
}

.site-header.is-scrolled .nav-toggle,
.site-header.is-menu-open .nav-toggle {
    background: rgba(15, 31, 56, 0.1);
    border-color: rgba(15, 31, 56, 0.26);
}

.site-header.is-scrolled .nav-toggle span,
.site-header.is-menu-open .nav-toggle span {
    background: #0f1f38;
}

/* ==========================================================================
   Main Full-Screen-ish ICA Hero (Institute of Creative Arts Alone)
   ========================================================================== */

.main-hero {
    position: relative;
    margin-top: calc(var(--nav-height, 71px) * -1);
    min-height: max(620px, calc(100vh - 34px));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--ica-blue-deep);
    color: #ffffff;
    overflow: hidden;
}

.main-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.main-hero-bg-art {
    position: absolute;
    inset: -3%;
    width: 106%;
    height: 106%;
    transform: translate3d(var(--mpx, 0px), var(--mpy, 0px), 0);
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.main-hero-scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(12, 23, 42, 0.54) 0%, rgba(12, 23, 42, 0) 200px),
        linear-gradient(
            102deg,
            rgba(14, 27, 49, 0.78) 0%,
            rgba(22, 41, 70, 0.44) 52%,
            rgba(16, 30, 52, 0.24) 100%
        );
}

/* Monochrome Orange emblem in bottom-right at 0.5 opacity */
.main-hero-corner-symbol {
    position: absolute;
    right: clamp(16px, 3vw, 48px);
    bottom: 62px;
    width: clamp(200px, 24vw, 320px);
    height: clamp(200px, 24vw, 320px);
    color: var(--ica-orange);
    opacity: 0.5;
    pointer-events: none;
    z-index: 1;
}

.main-hero-corner-symbol svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: currentColor;
}

.main-hero-inner {
    position: relative;
    z-index: 3;
    flex: 1;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
    padding: calc(var(--nav-height, 71px) + 34px) 24px 44px;
}

.main-hero-grid {
    width: 100%;
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 44px;
    align-items: center;
}

.main-hero-identity {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 22px;
}

.main-hero-emblem {
    position: relative;
    flex-shrink: 0;
    width: clamp(134px, 12.8vw, 174px);
    height: clamp(134px, 12.8vw, 174px);
    padding: 17px;
    border-radius: 50%;
    background: radial-gradient(circle at 38% 34%, #ffffff 0%, #fff7ec 72%, #fdebd3 100%);
    border: 3px solid rgba(244, 123, 32, 0.92);
    box-shadow:
        0 0 0 8px rgba(244, 123, 32, 0.16),
        0 22px 46px rgba(8, 17, 32, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-hero-emblem img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.main-hero-heading-group {
    min-width: 0;
}

.main-hero-kicker {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--ica-orange-warm);
    margin-bottom: 8px;
}

.main-eyebrow-row {
    margin-bottom: 18px;
}

.gy-flag-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 15px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(252, 209, 22, 0.42);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    backdrop-filter: blur(8px);
}

.gy-bars {
    display: inline-flex;
    gap: 3px;
    align-items: center;
}

.gy-bars i {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 2px;
}

/* Higher specificity overrides site.css responsive mobile h1 size */
.main-hero .main-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 4.15vw, 3.7rem);
    font-weight: 700;
    line-height: 1.06;
    color: #ffffff;
    text-align: left;
    margin-bottom: 0;
    letter-spacing: -0.025em;
    text-shadow: 0 6px 28px rgba(0, 0, 0, 0.35);
}

.main-hero .main-hero-title em {
    font-style: italic;
    color: var(--ica-orange-warm);
}

.main-hero-lead {
    font-size: clamp(1.02rem, 1.45vw, 1.18rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
    max-width: 590px;
    margin-bottom: 22px;
}

.main-hero-motto {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.08rem;
    color: #ffd399;
    padding: 8px 0 8px 16px;
    border-left: 4px solid var(--ica-orange);
    background: linear-gradient(90deg, rgba(244, 123, 32, 0.24), transparent);
    margin: 0 0 28px;
    max-width: 560px;
}

.main-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 13px;
}

.btn-gy-gold {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    border-radius: 999px;
    background: var(--ica-orange);
    color: #0f1f38;
    font-weight: 800;
    font-size: 0.96rem;
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(244, 123, 32, 0.3);
    transition: transform 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease;
}

.btn-gy-gold:hover {
    background: var(--ica-orange-warm);
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(255, 163, 56, 0.38);
}

.btn-gy-red {
    display: inline-flex;
    align-items: center;
    padding: 14px 26px;
    border-radius: 999px;
    background: var(--ica-orange-deep);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.96rem;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(220, 84, 22, 0.34);
    transition: transform 0.22s ease, background-color 0.22s ease;
}

.btn-gy-red:hover {
    background: #c7470e;
    transform: translateY(-2px);
}

.btn-gy-ghost {
    display: inline-flex;
    align-items: center;
    padding: 13px 22px;
    border-radius: 999px;
    border: 1.5px solid rgba(255, 255, 255, 0.42);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.94rem;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.06);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-gy-ghost:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: #ffffff;
}

/* Right Column Feature Card */
.main-hero-showcase {
    background: rgba(19, 36, 62, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(244, 123, 32, 0.36);
    border-radius: var(--radius-xl);
    padding: 14px;
    box-shadow: 0 26px 56px rgba(8, 17, 32, 0.44);
}

.showcase-media-wrap {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #0f1f38;
}

.showcase-media-wrap > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.showcase-crest-float {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(14, 28, 49, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(244, 123, 32, 0.4);
}

.showcase-crest-mark {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(244, 123, 32, 0.16);
    border: 1px solid rgba(244, 123, 32, 0.45);
    color: var(--ica-orange-warm);
}

.showcase-crest-mark svg {
    width: 22px;
    height: 22px;
    display: block;
    fill: currentColor;
}

.showcase-crest-float strong {
    display: block;
    font-size: 0.9rem;
    color: var(--ica-orange-warm);
}

.showcase-crest-float span {
    display: block;
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.84);
}

.showcase-stats-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
}

.showcase-stats-row strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: #ffffff;
}

.showcase-stats-row span {
    display: block;
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.72);
}

/* Bottom Edge Anchor Strip (emc.edu.jm dual bottom strip inspiration) */
.main-hero-bottom-bar {
    position: relative;
    z-index: 4;
    background: rgba(6, 17, 11, 0.88);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.bottom-bar-inner {
    max-width: 1260px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.scroll-cue-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gy-gold);
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 600;
}

.scroll-cue-link:hover {
    text-decoration: underline;
}

.scroll-cue-arrows {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(252, 209, 22, 0.16);
    border: 1px solid rgba(252, 209, 22, 0.45);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.quick-school-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.quick-school-pill {
    padding: 6px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 4px solid var(--pill-accent);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.quick-school-pill:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: var(--pill-accent);
    transform: translateY(-1px);
}

/* Five-Color Guyana Flag Ribbon Divider */
.guyana-flag-ribbon {
    display: grid;
    grid-template-columns: 36fr 4fr 24fr 4fr 32fr;
    height: 6px;
    width: 100%;
}

.guyana-flag-ribbon .seg-green { background: var(--gy-green); }
.guyana-flag-ribbon .seg-white { background: var(--gy-white); }
.guyana-flag-ribbon .seg-gold  { background: var(--gy-gold); }
.guyana-flag-ribbon .seg-black { background: var(--gy-black); }
.guyana-flag-ribbon .seg-red   { background: var(--gy-red); }

/* ==========================================================================
   Scroll-Activated Four Schools Hero Stage
   ========================================================================== */

.heroes-stage {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #111312;
    color: #ffffff;
    overflow: hidden;
}

.heroes-viewport {
    position: relative;
    min-height: clamp(500px, 72vh, 700px);
    overflow: hidden;
}

.school-hero {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.65s;
    display: flex;
    align-items: center;
}

.school-hero.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s;
    z-index: 2;
}

/* School-Representing Backgrounds */
.school-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.school-bg-erbsa {
    background: linear-gradient(132deg, #1b0f0b 0%, #371911 50%, #522315 100%);
}

.school-bg-nsd {
    background: linear-gradient(132deg, #06181c 0%, #0d2e35 50%, #144b4b 100%);
}

.school-bg-nsm {
    background: linear-gradient(132deg, #161108 0%, #2d200b 52%, #47320c 100%);
}

.school-bg-nstad {
    background: linear-gradient(132deg, #180810 0%, #360d1d 52%, #52112a 100%);
}

.school-bg-art {
    position: absolute;
    inset: -4%;
    width: 108%;
    height: 108%;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
}

.hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        95deg,
        rgba(12, 11, 10, 0.78) 0%,
        rgba(12, 11, 10, 0.52) 48%,
        rgba(12, 11, 10, 0.14) 100%
    );
}

/* Ambient Motion on Background Layers */
.bg-drift-slow {
    transform-origin: center;
    animation: bgDriftSlow 18s ease-in-out infinite alternate;
}

.bg-drift-reverse {
    transform-origin: center;
    animation: bgDriftReverse 22s ease-in-out infinite alternate;
}

.bg-float {
    transform-origin: center;
    animation: bgFloat 14s ease-in-out infinite alternate;
}

.bg-float-alt {
    transform-origin: center;
    animation: bgFloatAlt 17s ease-in-out infinite alternate;
}

@keyframes bgDriftSlow {
    from { transform: translate3d(-12px, 6px, 0) scale(1); }
    to   { transform: translate3d(16px, -10px, 0) scale(1.03); }
}

@keyframes bgDriftReverse {
    from { transform: translate3d(14px, -8px, 0); }
    to   { transform: translate3d(-14px, 10px, 0); }
}

@keyframes bgFloat {
    from { transform: translateY(0px) rotate(0deg); }
    to   { transform: translateY(-14px) rotate(4deg); }
}

@keyframes bgFloatAlt {
    from { transform: translateY(8px) rotate(0deg); }
    to   { transform: translateY(-10px) rotate(-5deg); }
}

/* Hero Foreground Content */
.school-hero-inner {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
    padding: 56px 24px 64px;
}

.school-hero-content {
    max-width: 670px;
    transform: translateY(18px);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.12s, opacity 0.5s ease 0.12s;
}

.school-hero.is-active .school-hero-content {
    transform: translateY(0);
    opacity: 1;
}

.hero-eyebrow-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.hero-institution-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.hero-index-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--school-accent-soft);
    border: 1px solid var(--school-accent);
    color: var(--school-accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.15rem, 4.5vw, 3.65rem);
    font-weight: 700;
    line-height: 1.07;
    color: #ffffff;
    text-align: left;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.hero-lead {
    font-size: clamp(1rem, 1.5vw, 1.16rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 24px;
    max-width: 590px;
}

.hero-disciplines {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
}

.hero-disciplines span {
    padding: 6px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.btn-school-primary {
    padding: 14px 28px;
    border-radius: 999px;
    background: var(--school-accent);
    color: #141210;
    font-weight: 700;
    font-size: 0.96rem;
    border: none;
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
}

.btn-school-primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.42);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    padding: 13px 26px;
    border-radius: 999px;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.96rem;
    text-decoration: none;
    transition: background-color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* Bottom-Right Corner Single-Color School Symbol (0.5 opacity) */
.school-hero-symbol {
    position: absolute;
    right: clamp(14px, 4vw, 56px);
    bottom: clamp(14px, 3.5vh, 36px);
    width: clamp(200px, 28vw, 390px);
    height: clamp(200px, 28vw, 390px);
    color: var(--school-accent);
    opacity: 0.5;
    pointer-events: none;
    z-index: 2;
    transform: scale(0.92) translateY(16px);
    transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.08s;
}

.school-hero.is-active .school-hero-symbol {
    transform: scale(1) translateY(0);
}

.school-hero-symbol svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: currentColor;
}

/* Prev / Pause / Next Arrows */
.hero-arrows {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 10;
    display: flex;
    gap: 8px;
}

.hero-arrow-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(15, 13, 12, 0.52);
    backdrop-filter: blur(8px);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hero-arrow-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

/* 4-School Bottom Switcher Dock */
.hero-dock {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #0d120f;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-dock-tab {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    background: transparent;
    border: none;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    text-align: left;
    color: rgba(255, 255, 255, 0.66);
    cursor: pointer;
    overflow: hidden;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.hero-dock-tab:last-child {
    border-right: none;
}

.hero-dock-tab:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.hero-dock-tab.is-active {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.dock-progress {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--tab-accent);
    transform: scaleX(0);
    transform-origin: left;
}

/* While waiting for user to scroll into view, keep bar unstarted at 0% */
.heroes-stage.is-awaiting-scroll .hero-dock-tab.is-active .dock-progress {
    animation: none;
    transform: scaleX(0);
}

.heroes-stage:not(.is-awaiting-scroll) .hero-dock-tab.is-active .dock-progress {
    animation: dockProgress var(--hero-duration) linear forwards;
}

.heroes-stage.is-paused .hero-dock-tab.is-active .dock-progress {
    animation-play-state: paused;
}

@keyframes dockProgress {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

.dock-symbol {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    color: var(--tab-accent);
    opacity: 0.72;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.hero-dock-tab.is-active .dock-symbol,
.hero-dock-tab:hover .dock-symbol {
    opacity: 1;
    transform: scale(1.08);
}

.dock-symbol svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: currentColor;
}

.dock-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.dock-code {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--tab-accent);
}

.dock-name {
    font-size: 0.94rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==========================================================================
   Highlights Bar
   ========================================================================== */

.highlights-bar {
    background: var(--ica-surface);
    border-bottom: 1px solid var(--ica-border);
    padding: 28px 0;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 8px 12px;
    border-right: 1px solid var(--ica-border);
}

.highlight-item:last-child {
    border-right: none;
}

.highlight-num {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--ica-blue);
    line-height: 1.2;
}

.highlight-label {
    font-size: 0.85rem;
    color: var(--ica-ink-muted);
    font-weight: 500;
    margin-top: 4px;
}

/* ==========================================================================
   All Four Schools Showcase Cards (GNCR high-contrast band inspiration)
   ========================================================================== */

.schools-showcase {
    padding: 88px 0;
    background: linear-gradient(180deg, var(--ica-blue-deep) 0%, #1a3153 100%);
    color: #ffffff;
}

.schools-bento {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
}

.school-feature-card {
    position: relative;
    border-radius: var(--radius-xl);
    padding: 36px 34px 40px;
    background: linear-gradient(135deg, var(--card-bg-start), var(--card-bg-end));
    color: #ffffff;
    overflow: hidden;
    min-height: 310px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.school-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 52px rgba(0, 0, 0, 0.42);
    border-color: var(--card-accent);
}

.school-feature-card .card-content {
    position: relative;
    z-index: 2;
    max-width: 82%;
}

.card-top-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.card-badge {
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--card-accent);
    color: #141210;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.07em;
}

.card-level {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 500;
}

.school-feature-card h3 {
    font-family: var(--font-display);
    font-size: clamp(1.38rem, 2.2vw, 1.75rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 12px;
    color: #ffffff;
}

.school-feature-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.96rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.card-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.card-btn {
    padding: 10px 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.card-btn:hover {
    background: var(--card-accent);
    border-color: var(--card-accent);
    color: #141210;
}

.card-apply-link {
    color: var(--card-accent);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.card-apply-link:hover {
    text-decoration: underline;
    transform: translateX(3px);
}

/* Bottom-right single-color symbol at 0.5 opacity inside each card */
.card-corner-symbol {
    position: absolute;
    right: -14px;
    bottom: -14px;
    width: 190px;
    height: 190px;
    color: var(--card-accent);
    opacity: 0.5;
    pointer-events: none;
    z-index: 1;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.school-feature-card:hover .card-corner-symbol {
    transform: scale(1.07) rotate(-3deg);
}

.card-corner-symbol svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: currentColor;
}

/* ==========================================================================
   About ICA & EMC Pillars Row (inspired by emc.edu.jm)
   ========================================================================== */

.about-section {
    padding: 88px 0;
    background: var(--ica-surface);
    border-bottom: 1px solid var(--ica-border);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 52px;
    align-items: center;
}

.ica-motto {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.24rem;
    color: var(--ica-blue-deep);
    border-left: 5px solid var(--ica-orange);
    padding: 10px 0 10px 18px;
    margin: 20px 0 22px;
    background: linear-gradient(90deg, rgba(244, 123, 32, 0.14), transparent);
}

.about-narrative p {
    color: var(--ica-ink-muted);
    font-size: 1.02rem;
    margin-bottom: 16px;
}

.about-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.btn-about-green {
    display: inline-flex;
    align-items: center;
    padding: 11px 24px;
    border-radius: 6px;
    background: var(--ica-blue);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-about-green:hover {
    background: var(--ica-blue-mid);
    transform: translateY(-1px);
}

.btn-about-outline {
    display: inline-flex;
    align-items: center;
    padding: 10px 22px;
    border-radius: 6px;
    border: 1.5px solid var(--ica-border);
    color: var(--ica-ink);
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.btn-about-outline:hover {
    border-color: var(--ica-blue);
    color: var(--ica-blue);
}

.mcys-partner-card {
    margin-top: 24px;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    background: var(--ica-paper);
    border: 1px solid var(--ica-border);
    border-left: 4px solid var(--ica-blue);
    border-radius: var(--radius-lg);
}

.mcys-partner-card img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 6px;
}

.mcys-partner-card strong {
    display: block;
    font-size: 0.96rem;
    color: var(--ica-ink);
}

.mcys-partner-card span {
    font-size: 0.82rem;
    color: var(--ica-ink-muted);
}

.about-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.gallery-tile {
    position: relative;
    padding: 0;
    border: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #1a1816;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(23, 21, 19, 0.12);
    display: block;
}

.gallery-tile-main {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 10;
}

.gallery-tile:not(.gallery-tile-main) {
    aspect-ratio: 4 / 3;
}

.gallery-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-tile:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px 14px 12px;
    background: linear-gradient(to top, rgba(15, 29, 51, 0.88), transparent);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 600;
    text-align: left;
}

/* EMC-inspired 3 Pillars Row with Pill-Framed Icons */
.emc-pillars-row {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid var(--ica-border);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.pillar-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.pillar-pill-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 24px;
    border: 1.5px solid var(--ica-blue);
    background: rgba(31, 56, 94, 0.08);
    color: var(--ica-blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pillar-item h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ica-ink);
    margin-bottom: 6px;
}

.pillar-item p {
    font-size: 0.92rem;
    color: var(--ica-ink-muted);
    margin: 0;
    line-height: 1.55;
}

/* ==========================================================================
   Why Choose ICA (Warm Guyana Cream-Gold band inspired by gncr.mcys.gov.gy)
   ========================================================================== */

.why-section {
    padding: 88px 0;
    background: var(--ica-surface-warm);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.benefit-card {
    background: var(--ica-surface);
    padding: 30px 26px;
    border-radius: var(--radius-lg);
    border: 1px solid #e2e7f0;
    box-shadow: 0 6px 18px rgba(17, 33, 58, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(17, 33, 58, 0.1);
}

.benefit-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.benefit-green .benefit-icon { background: rgba(31, 56, 94, 0.12); color: var(--ica-blue); }
.benefit-green:hover { border-color: var(--ica-blue); }

.benefit-gold .benefit-icon { background: rgba(244, 123, 32, 0.16); color: #c75309; }
.benefit-gold:hover { border-color: var(--ica-orange); }

.benefit-red .benefit-icon { background: rgba(43, 77, 130, 0.13); color: var(--ica-blue-mid); }
.benefit-red:hover { border-color: var(--ica-blue-mid); }

.benefit-dark .benefit-icon { background: rgba(244, 170, 34, 0.2); color: #a15a00; }
.benefit-dark:hover { border-color: var(--ica-nav-amber); }

.benefit-card h3 {
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--ica-ink);
    margin-bottom: 10px;
}

.benefit-card p {
    font-size: 0.93rem;
    color: var(--ica-ink-muted);
    margin: 0;
}

/* ==========================================================================
   Admissions & Latest Notice
   ========================================================================== */

.admissions-section {
    padding: 88px 0;
    background: var(--ica-paper);
}

.admissions-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: start;
}

.admissions-intro {
    color: var(--ica-ink-muted);
    font-size: 1.02rem;
    margin-bottom: 24px;
}

.req-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.req-tab {
    padding: 9px 16px;
    border-radius: 999px;
    background: var(--ica-surface);
    border: 1px solid var(--ica-border);
    color: var(--ica-ink-muted);
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.req-tab:hover {
    border-color: var(--ica-blue);
    color: var(--ica-ink);
}

.req-tab.is-active {
    background: var(--ica-blue);
    border-color: var(--ica-blue);
    color: #ffffff;
}

.req-panel {
    display: none;
    background: var(--ica-surface);
    border: 1px solid var(--ica-border);
    border-left: 4px solid var(--ica-blue);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 24px;
    animation: fadeUpQuick 0.25s ease;
}

.req-panel.is-active {
    display: block;
}

.req-panel h3 {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--ica-ink);
    margin-bottom: 12px;
}

.req-panel ul {
    padding-left: 20px;
    color: var(--ica-ink-muted);
}

.req-panel li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.req-panel li:last-child {
    margin-bottom: 0;
}

.admissions-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.mini-step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--ica-surface);
    border: 1px solid var(--ica-border);
    border-radius: var(--radius-md);
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--ica-ink);
}

.mini-step span {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    flex-shrink: 0;
}

.mini-step span.step-green { background: var(--ica-blue); }
.mini-step span.step-gold  { background: var(--ica-nav-amber); color: #0f1f38; }
.mini-step span.step-red   { background: var(--ica-orange); color: #0f1f38; }

.poster-card {
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--ica-surface);
    border: 1px solid var(--ica-border);
    border-radius: var(--radius-xl);
    box-shadow: 0 16px 36px rgba(23, 21, 19, 0.12);
    cursor: pointer;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    text-align: center;
}

.poster-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px rgba(23, 21, 19, 0.18);
}

.poster-card img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    display: block;
}

.poster-zoom-label {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ica-blue);
}

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

/* ==========================================================================
   CTA Banner (matches #main-hero #1f385e blue & orange theme)
   ========================================================================== */

.cta-section {
    position: relative;
    padding: 84px 0 84px;
    background: var(--ica-blue-deep);
    color: #ffffff;
    text-align: center;
    overflow: hidden;
}

.cta-scrim {
    background:
        linear-gradient(102deg, rgba(14, 27, 49, 0.72) 0%, rgba(22, 41, 70, 0.42) 55%, rgba(16, 30, 52, 0.28) 100%);
}

.cta-inner {
    position: relative;
    z-index: 3;
}

.cta-crest-badge {
    width: 84px;
    height: 84px;
    margin: 0 auto 20px;
    padding: 10px;
    border-radius: 50%;
    background: radial-gradient(circle at 38% 34%, #ffffff 0%, #fff7ec 72%, #fdebd3 100%);
    border: 2.5px solid rgba(244, 123, 32, 0.92);
    box-shadow:
        0 0 0 6px rgba(244, 123, 32, 0.16),
        0 14px 32px rgba(8, 17, 32, 0.36);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-crest {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cta-section h2 {
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 3.3vw, 2.6rem);
    color: #ffffff;
    margin-bottom: 12px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.06rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.cta-btn {
    padding: 13px 28px;
    border-radius: 999px;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.96rem;
    text-decoration: none;
    transition: all 0.22s ease;
}

.cta-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: #ffffff;
    transform: translateY(-2px);
}

.cta-btn.primary {
    background: var(--ica-orange);
    border-color: var(--ica-orange);
    color: #0f1f38;
    font-weight: 800;
    box-shadow: 0 10px 26px rgba(244, 123, 32, 0.3);
}

.cta-btn.primary:hover {
    background: var(--ica-orange-warm);
    border-color: var(--ica-orange-warm);
    color: #0f1f38;
}

.cta-btn.accent-red {
    background: var(--ica-orange-deep);
    border-color: var(--ica-orange-deep);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(220, 84, 22, 0.32);
}

.cta-btn.accent-red:hover {
    background: #c7470e;
    border-color: #c7470e;
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
    position: relative;
    margin: 0;
    padding: 70px 24px 48px;
    background: #0d1624;
    color: rgba(255, 255, 255, 0.8);
    border-top: none;
}

.footer-top-ribbon {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

footer .footer-container {
    max-width: 1220px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 44px;
}

footer .footer-section h3 {
    color: #ffffff;
    font-size: 1.05rem;
    margin-bottom: 14px;
}

.footer-brand-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.footer-brand-row h3 {
    margin-bottom: 4px !important;
}

.footer-tagline {
    font-size: 0.84rem !important;
    color: var(--ica-orange-warm);
    font-style: italic;
    margin: 0 !important;
}

.footer-mcys {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    font-size: 0.85rem;
    color: #ffffff;
}

.footer-mcys img {
    border-radius: 4px;
}

.footer-links-list {
    list-style: none;
    padding: 0;
}

.footer-links-list li {
    margin-bottom: 8px;
}

footer a {
    color: #82b4ff;
    text-decoration: none;
}

footer a:hover {
    color: var(--ica-orange-warm);
    text-decoration: underline;
}

footer .contact-info div {
    margin-bottom: 8px;
}

/* ==========================================================================
   School Modals & Lightbox Modal
   ========================================================================== */

.school-modal.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 14, 11, 0.78);
    backdrop-filter: blur(6px);
    z-index: 1000;
    padding: 20px;
    overflow-y: auto;
    align-items: center;
    justify-content: center;
}

.school-modal.modal.active,
.lightbox-modal.modal.active {
    display: flex;
}

.school-modal .modal-content {
    background: #ffffff;
    border-radius: var(--radius-xl);
    max-width: 780px;
    width: 100%;
    padding: 0;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 28px 64px rgba(0, 0, 0, 0.45);
    animation: fadeUpQuick 0.25s ease;
}

.school-modal .modal-header {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 30px 32px 26px;
    background: var(--modal-header-bg);
    color: #ffffff;
    margin-bottom: 0;
}

.modal-header-text {
    position: relative;
    z-index: 2;
}

.school-modal .modal-header .acronym {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--modal-accent);
    margin-bottom: 6px;
}

.school-modal .modal-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 2.6vw, 2rem);
    color: #ffffff;
    margin: 0;
    text-align: left;
}

.modal-header-symbol {
    position: absolute;
    right: 12px;
    bottom: -14px;
    width: 150px;
    height: 150px;
    color: var(--modal-accent);
    opacity: 0.5;
    pointer-events: none;
    z-index: 1;
}

.modal-header-symbol svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: currentColor;
}

.school-modal .modal-close-btn {
    position: relative;
    z-index: 3;
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 1.65rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.school-modal .modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.28);
}

.school-modal .modal-body {
    padding: 30px 32px;
}

.school-description p {
    color: var(--ica-ink-muted);
    line-height: 1.75;
    margin-bottom: 14px;
}

.modal-crest-img {
    float: right;
    margin: 0 0 12px 18px;
    width: 128px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.programmes-section {
    margin-top: 24px;
}

.programmes-section h3 {
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--ica-ink);
    margin-bottom: 14px;
}

.programmes-list {
    list-style: none;
    padding: 0;
}

.programmes-list li {
    padding: 12px 15px;
    background: var(--ica-paper);
    border-left: 4px solid var(--modal-accent);
    border-radius: 6px;
    margin-bottom: 10px;
    color: var(--ica-ink);
    font-size: 0.94rem;
}

.modal-footer-actions {
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid var(--ica-border);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.modal-contact-pill {
    font-size: 0.88rem;
    color: var(--ica-ink-muted);
}

.modal-contact-pill a {
    color: var(--ica-blue);
    font-weight: 600;
}

.modal-apply-btn {
    display: inline-flex;
    align-items: center;
    padding: 11px 24px;
    border-radius: 999px;
    background: var(--modal-accent);
    color: #141210;
    font-weight: 700;
    font-size: 0.94rem;
    text-decoration: none;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.modal-apply-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
}

/* Lightbox */
.lightbox-modal.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 14, 11, 0.88);
    backdrop-filter: blur(8px);
    z-index: 1100;
    padding: 24px;
    align-items: center;
    justify-content: center;
}

.lightbox-frame {
    position: relative;
    max-width: 960px;
    width: 100%;
    text-align: center;
    animation: fadeUpQuick 0.25s ease;
}

.lightbox-frame img {
    max-width: 100%;
    max-height: 78vh;
    border-radius: 12px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-top: 14px;
}

.lightbox-close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    background: #ffffff;
    color: #171513;
    font-size: 1.65rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   Scroll Reveal Animations
   ========================================================================== */

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1040px) {
    .main-hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .main-hero-showcase {
        max-width: 560px;
    }

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

    .emc-pillars-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-grid,
    .admissions-layout {
        grid-template-columns: 1fr;
    }

    .hero-dock-tab {
        padding: 14px 16px;
    }
}

@media (max-width: 900px) {
    .utility-hide-sm {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 5px);
        left: 0;
        right: 0;
        background: #fff9ec;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 20px 24px 28px;
        border-bottom: 4px solid var(--ica-blue);
        box-shadow: 0 18px 36px rgba(17, 33, 58, 0.2);
        transform: translateY(-12px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.22s ease, transform 0.22s ease;
    }

    .nav-links.is-open {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-links a {
        padding: 10px 12px;
        border-radius: 8px;
        text-align: center;
        color: #0f1f38;
        text-shadow: none;
    }

    .nav-links a.nav-cta {
        background: var(--ica-blue);
        color: #ffffff;
        box-shadow: 0 4px 14px rgba(17, 33, 58, 0.24);
    }

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

    .highlight-item:nth-child(2) {
        border-right: none;
    }

    .schools-bento {
        grid-template-columns: 1fr;
    }

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

    .hero-dock-tab {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    footer .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 640px) {
    .top-utility-bar {
        display: none;
    }

    .main-hero {
        min-height: max(560px, 100vh);
    }

    .main-hero-inner {
        padding: calc(var(--nav-height, 71px) + 22px) 20px 32px;
    }

    .main-hero-identity {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 18px;
    }

    .main-hero-emblem {
        width: 136px;
        height: 136px;
        padding: 14px;
    }

    .main-hero .main-hero-title {
        font-size: 2.2rem;
    }

    .showcase-stats-row {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .heroes-viewport {
        min-height: 540px;
    }

    .school-hero-inner {
        padding: 72px 20px 44px;
    }

    .school-hero-symbol {
        width: clamp(145px, 42vw, 210px);
        height: clamp(145px, 42vw, 210px);
        right: 10px;
        bottom: 10px;
    }

    .hero-arrows {
        top: 16px;
        right: 16px;
    }

    .hero-dock-tab {
        padding: 12px;
        gap: 10px;
    }

    .dock-symbol {
        width: 26px;
        height: 26px;
    }

    .school-feature-card .card-content {
        max-width: 100%;
    }

    .card-corner-symbol {
        width: 145px;
        height: 145px;
    }

    .benefits-grid,
    .admissions-steps,
    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .highlight-item {
        border-right: none;
        border-bottom: 1px solid var(--ica-border);
        padding: 10px 0;
    }

    .highlight-item:last-child {
        border-bottom: none;
    }

    .school-modal .modal-header,
    .school-modal .modal-body {
        padding: 22px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
