/* Homepage-only color system and surface treatments. */
.site-home {
    --home-ink: #122b3a;
    --home-muted: #536b79;
    --home-teal: #087f78;
    --home-blue: #0b6680;
    --home-line: rgba(29, 78, 91, .11);
    min-height: 100vh;
    color: var(--home-ink);
    background-color: #f0faf8;
    background-image:
        radial-gradient(900px 540px at 0% 38%, rgba(45, 212, 191, .17), transparent 68%),
        radial-gradient(950px 600px at 100% 72%, rgba(56, 189, 248, .16), transparent 68%),
        radial-gradient(780px 460px at 52% 52%, rgba(196, 181, 253, .08), transparent 70%),
        linear-gradient(180deg, #f8fcfb 0%, #eff9f7 52%, #fbfcf8 100%);
}

.site-home .site-nav {
    background: linear-gradient(105deg, rgba(8, 35, 48, .97), rgba(8, 91, 98, .96) 68%, rgba(11, 102, 128, .96));
    border-bottom: 1px solid rgba(167, 243, 232, .16);
    box-shadow: 0 10px 28px rgba(10, 42, 55, .12);
}
.site-home .site-nav.is-scrolled { box-shadow: 0 14px 34px rgba(10, 42, 55, .22); }
.site-home .site-brand-mark {
    background: linear-gradient(145deg, #32c9b3, #11819a);
    box-shadow: 0 8px 20px rgba(15, 184, 164, .25);
}
.site-home .site-nav-links > a { border-radius: 999px; }
.site-home .site-nav-links > a:hover { background: rgba(255,255,255,.12); }
.site-home .site-nav-cta .btn-outline-light { border-color: rgba(255,255,255,.52); }
.site-home .site-nav-cta .btn-warning {
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #f8c65a, #f3a72e);
    box-shadow: 0 5px 15px rgba(243, 167, 46, .2);
    color: #243746;
    font-weight: 700;
}
@media (max-width: 991.98px) {
    .site-home .site-nav-links { background: rgba(8, 35, 48, .99); }
}

.site-home .hero {
    min-height: min(690px, calc(100svh - 58px));
    display: flex;
    align-items: center;
    padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(5.5rem, 9vw, 7.5rem);
    background:
        radial-gradient(ellipse at 80% 10%, rgba(69, 240, 208, .28), transparent 39%),
        radial-gradient(ellipse at 15% 95%, rgba(69, 193, 255, .22), transparent 38%),
        linear-gradient(118deg, #0b3047 0%, #0b596b 47%, #0d9688 100%);
    animation: none;
}
.site-home .hero-bg { opacity: .72; }
.site-home .hero-blob { filter: blur(2px); opacity: .56; }
.site-home .hero-blob-1 { background: radial-gradient(circle at 35% 35%, rgba(250, 204, 100, .72), transparent 70%); }
.site-home .hero-blob-2 { background: radial-gradient(circle at 35% 35%, rgba(45, 212, 191, .72), transparent 70%); }
.site-home .hero-blob-3 { background: radial-gradient(circle at 35% 35%, rgba(56, 189, 248, .7), transparent 70%); }
.site-home .hero-grid {
    opacity: .44;
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at 55% 45%, #000 15%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse at 55% 45%, #000 15%, transparent 78%);
}
.site-home .hero-eyebrow {
    padding: .52rem .95rem;
    border-color: rgba(167, 243, 232, .3);
    background: rgba(9, 46, 58, .48);
    color: #c6fff2;
    font-weight: 650;
    box-shadow: inset 0 1px rgba(255,255,255,.08);
}
.site-home .hero-title {
    max-width: 14ch;
    font-size: clamp(2.5rem, 5.1vw, 4.4rem);
    line-height: 1.04;
    letter-spacing: -.045em;
    text-wrap: balance;
}
.site-home .text-gradient {
    background: linear-gradient(100deg, #8ff5dd 0%, #b6f4e5 48%, #f8d37b 100%);
    -webkit-background-clip: text;
    background-clip: text;
}
.site-home .hero-lead {
    max-width: 43rem;
    color: rgba(239, 250, 250, .84);
    line-height: 1.75;
}
.site-home .hero-actions { margin-top: 1.8rem; }
.site-home .btn-hero-primary {
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #22b89f, #138b88);
    box-shadow: 0 12px 28px rgba(5, 26, 38, .26), 0 5px 16px rgba(18, 184, 158, .23);
    isolation: isolate;
    transform-style: preserve-3d;
    transform-origin: center;
    will-change: transform;
}
.site-home .btn-hero-primary:hover,
.site-home .btn-hero-primary:focus {
    background: linear-gradient(135deg, #2bc8ad, #159c98);
}
.site-home .btn-hero-primary::after {
    position: absolute;
    top: .32rem;
    right: .72rem;
    color: #fff2ad;
    content: "✦";
    font-size: 1.05rem;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(0, 4px, 18px) rotate(-45deg) scale(.35);
}
.site-home .btn-hero-primary:hover,
.site-home .btn-hero-primary:focus-visible {
    animation: home-registration-hover 950ms ease-in-out infinite alternate;
}
.site-home .btn-hero-primary:hover::after,
.site-home .btn-hero-primary:focus-visible::after {
    animation: home-registration-spark 720ms ease-in-out infinite;
}
.site-home .btn-hero-primary:active {
    animation: home-registration-press 380ms cubic-bezier(.2,.8,.25,1) both;
}
.site-home .btn-hero-primary:active::after { animation: home-registration-spark 260ms ease-out; }
@keyframes home-registration-hover {
    0% { transform: perspective(700px) rotateX(7deg) rotateY(-8deg) translate3d(0,-4px,8px) scale(1.035); }
    100% { transform: perspective(700px) rotateX(-3deg) rotateY(6deg) translate3d(0,-9px,15px) scale(1.055); }
}
@keyframes home-registration-press {
    0% { transform: perspective(700px) rotateX(6deg) rotateY(-5deg) translate3d(0,-4px,8px) scale(1.03); }
    38% { transform: perspective(700px) rotateX(19deg) rotateY(5deg) translate3d(0,3px,-8px) scale(.94); }
    72% { transform: perspective(700px) rotateX(-7deg) rotateY(-3deg) translate3d(0,-3px,8px) scale(1.025); }
    100% { transform: perspective(700px) rotateX(10deg) rotateY(3deg) translate3d(0,1px,-3px) scale(.98); }
}
@keyframes home-registration-spark {
    0% { opacity: 0; transform: translate3d(0,5px,18px) rotate(-45deg) scale(.35); }
    35% { opacity: 1; transform: translate3d(0,-2px,25px) rotate(12deg) scale(1.15); }
    100% { opacity: 0; transform: translate3d(0,-9px,28px) rotate(65deg) scale(.6); }
}
.site-home .btn-hero-ghost {
    border: 1px solid rgba(225, 255, 248, .62);
    border-radius: 999px;
    background: rgba(236, 255, 250, .08);
}
.site-home .hero-countdown {
    border-color: rgba(210, 255, 244, .28);
    border-radius: 14px;
    background: rgba(5, 35, 48, .48);
    color: #e5fff8;
    box-shadow: inset 0 1px rgba(255,255,255,.07);
}
.site-home .hero-countdown.is-paused { color: rgba(229,255,248,.86); }
.site-home .hero-card {
    color: var(--home-ink);
    border: 1px solid rgba(255,255,255,.78);
    border-radius: 26px;
    padding: 1.55rem;
    background: linear-gradient(145deg, rgba(255,255,255,.97), rgba(239,250,248,.94));
    box-shadow: 0 30px 70px rgba(3, 25, 37, .3), inset 0 1px rgba(255,255,255,.9);
    animation-duration: 9s;
}
.site-home .hero-card-icon {
    border-radius: 15px;
    background: linear-gradient(145deg, #0b8f83, #0b6d87);
    box-shadow: 0 8px 18px rgba(8, 120, 125, .2);
}
.site-home .hero-card-title { color: #123548; font-size: 1.02rem; }
.site-home .hero-card-sub { color: #69808b; }
.site-home .hero-stat {
    border: 1px solid rgba(23, 111, 124, .08);
    background: linear-gradient(145deg, #f4fbf9, #eaf5f7);
}
.site-home .hero-stat:nth-child(1) { background: linear-gradient(145deg, #fff8e7, #fff2cf); }
.site-home .hero-stat:nth-child(2) { background: linear-gradient(145deg, #e9fbf3, #d9f6eb); }
.site-home .hero-stat:nth-child(3) { background: linear-gradient(145deg, #eaf6ff, #dbeeff); }
.site-home .hero-stat:nth-child(4) { background: linear-gradient(145deg, #f4efff, #e9e2ff); }
.site-home .hero-stat:nth-child(1) .hero-stat-num { color: #b77912 !important; }
.site-home .hero-stat:nth-child(2) .hero-stat-num { color: #078264 !important; }
.site-home .hero-stat:nth-child(3) .hero-stat-num { color: #1674b9 !important; }
.site-home .hero-stat:nth-child(4) .hero-stat-num { color: #7650bd !important; }
.site-home .hero-stat-label { color: #6a808b; }
.site-home .hero-wave svg { fill: #f2f8f8; }

.site-home .section { position: relative; }
.site-home .section-kicker { color: #0c857d; }
.site-home .section-title { color: #153849; letter-spacing: -.035em; }
.site-home .section-sub,
.site-home .lead-text { color: var(--home-muted); }
.site-home .section-quick {
    padding-top: clamp(2.6rem, 5vw, 4rem);
    background: linear-gradient(180deg, #f2f8f8, #f8fbfa);
}
.site-home .quick-card {
    min-height: 106px;
    border: 1px solid rgba(27, 104, 116, .1);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(244,251,250,.92));
    box-shadow: 0 12px 30px -25px rgba(11, 55, 71, .52);
    backdrop-filter: blur(8px);
}
.site-home .quick-card:hover {
    border-color: rgba(18, 160, 146, .28);
    box-shadow: 0 22px 42px -28px rgba(8, 92, 103, .45);
}
.site-home .quick-icon { border-radius: 16px; box-shadow: 0 8px 18px rgba(15, 60, 77, .15); }
.site-home .quick-title { color: #163a4a; }
.site-home .quick-desc { color: #647a86; line-height: 1.45; }
.site-home .quick-arrow { color: #0b8a81; }

.site-home .section-about {
    background: linear-gradient(145deg, #eaf5f4 0%, #f3f8f7 58%, #edf5fa 100%);
}
.site-home .program-chip {
    border-color: rgba(17, 123, 126, .13);
    background: rgba(255,255,255,.76);
    box-shadow: 0 5px 16px rgba(17, 63, 76, .04);
}
.site-home .about-card {
    border: 1px solid rgba(255,255,255,.42);
    border-radius: 22px;
    box-shadow: 0 18px 38px -26px rgba(7, 55, 67, .55);
}
.site-home .section-departments { background: #f9fbfa; }
.site-home .dept-card {
    min-height: 200px;
    border: 1px solid rgba(29, 93, 106, .1);
    border-radius: 20px;
    background: linear-gradient(150deg, #fff, #f7fbfb);
    box-shadow: 0 13px 30px -27px rgba(15, 58, 76, .62);
}
.site-home .dept-card::before { width: 4px; opacity: .85; }
.site-home .dept-card:hover {
    box-shadow: 0 22px 42px -25px rgba(11, 78, 90, .32);
}
.site-home .dept-card:nth-child(4n + 1) { background: linear-gradient(145deg, #fff, #f0fbf8); }
.site-home .dept-card:nth-child(4n + 2) { background: linear-gradient(145deg, #fff, #eff7ff); }
.site-home .dept-card:nth-child(4n + 3) { background: linear-gradient(145deg, #fff, #fbf4ff); }
.site-home .dept-card:nth-child(4n) { background: linear-gradient(145deg, #fff, #fff8e9); }
.site-home .dept-card:nth-child(4n + 1) .dept-card-icon { background-image: linear-gradient(135deg, #0f9f8e, #27c6a7); }
.site-home .dept-card:nth-child(4n + 2) .dept-card-icon { background-image: linear-gradient(135deg, #2581d5, #38bdf8); }
.site-home .dept-card:nth-child(4n + 3) .dept-card-icon { background-image: linear-gradient(135deg, #8152c7, #bb7be8); }
.site-home .dept-card:nth-child(4n) .dept-card-icon { background-image: linear-gradient(135deg, #d58a20, #f6bd4b); }
.site-home .dept-card h3 { color: #163c4c; }
.site-home .dept-badge {
    color: #087a76;
    background: #e5f6f1;
}

.site-home .section-criteria {
    background: linear-gradient(145deg, #e9f4f4, #f3f8f9 54%, #edf5f8);
}
.site-home .criteria-card {
    border: 1px solid rgba(33, 105, 116, .1);
    border-radius: 23px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 24px 52px -36px rgba(10, 59, 74, .45);
}
.site-home .criteria-list li { border-color: rgba(28, 97, 109, .13); }
.site-home .criteria-list i { color: #0d8b80; }
.site-home .btn-teal {
    border: 0;
    border-radius: 13px;
    background: linear-gradient(135deg, #0a8f83, #0b7187);
    box-shadow: 0 8px 19px rgba(8, 120, 125, .17);
}
.site-home .btn-teal:hover { background: linear-gradient(135deg, #0a9f90, #0b7e94); }

.site-home .section-admission {
    background:
        radial-gradient(ellipse at 92% 4%, rgba(34, 211, 184, .15), transparent 35%),
        linear-gradient(125deg, #0b2637 0%, #103f50 56%, #105c66 100%);
}
.site-home .step {
    min-height: 215px;
    border-color: rgba(190, 255, 244, .17);
    border-radius: 21px;
    background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.035));
    box-shadow: inset 0 1px rgba(255,255,255,.07);
    backdrop-filter: blur(7px);
}
.site-home .step:hover {
    border-color: rgba(143, 245, 221, .34);
    background: linear-gradient(145deg, rgba(255,255,255,.13), rgba(255,255,255,.06));
}
.site-home .step-icon {
    border-radius: 15px;
    background: linear-gradient(145deg, #16a995, #0e7591);
    box-shadow: 0 9px 20px rgba(3, 24, 37, .25);
}
.site-home .step:nth-child(4n + 1) .step-icon { background: linear-gradient(135deg, #20b899, #0e8d89); }
.site-home .step:nth-child(4n + 2) .step-icon { background: linear-gradient(135deg, #318bd7, #36b6dc); }
.site-home .step:nth-child(4n + 3) .step-icon { background: linear-gradient(135deg, #8a60ce, #ba72db); }
.site-home .step:nth-child(4n) .step-icon { background: linear-gradient(135deg, #e3a333, #f4c657); }
.site-home .admission-cta {
    border: 1px solid rgba(193, 255, 242, .23);
    border-radius: 22px;
    background: linear-gradient(110deg, rgba(13, 133, 122, .46), rgba(15, 102, 128, .4));
    box-shadow: inset 0 1px rgba(255,255,255,.08);
}

.site-home .section-gallery { background: #f8fbfa; }
.site-home .gallery-item {
    border: 1px solid rgba(20, 92, 106, .13);
    border-radius: 20px;
    box-shadow: 0 15px 32px -24px rgba(13, 52, 68, .48);
}
.site-home .gallery-item img { height: 245px; }
.site-home .gallery-empty {
    border-color: rgba(16, 125, 128, .23);
    background: rgba(255,255,255,.56);
}

.site-home .section-contact {
    padding-top: clamp(2.5rem, 5vw, 4rem);
    background: linear-gradient(180deg, #f8fbfa, #eaf4f4);
}
.site-home .contact-card {
    position: relative;
    overflow: hidden;
    padding: clamp(1.5rem, 4vw, 2.7rem);
    border: 1px solid rgba(193, 255, 242, .23);
    border-radius: 26px;
    color: #fff;
    background:
        radial-gradient(circle at 88% 12%, rgba(45, 212, 191, .24), transparent 35%),
        linear-gradient(120deg, #0a394b, #0b716f 70%, #0b667d);
    box-shadow: 0 26px 58px -34px rgba(7, 49, 65, .62);
}
.site-home .contact-card h2 { color: #fff; font-weight: 800; letter-spacing: -.03em; }
.site-home .contact-card .text-white-50 { color: rgba(236, 255, 250, .78) !important; }
.site-home .contact-list { margin-top: .25rem; }
.site-home .contact-list li { color: rgba(244, 255, 252, .9); }
.site-home .contact-list i { color: #a6f5de; }

.site-home .site-footer {
    border-top: 1px solid rgba(184, 243, 231, .1);
    background: linear-gradient(180deg, #092637, #071d2b);
}
.site-home .site-footer-brand i { color: #7be7d2; }
.site-home .site-footer-base { border-color: rgba(184, 243, 231, .13); }

@media (max-width: 767.98px) {
    .site-home .hero { min-height: auto; padding-top: 3.4rem; }
    .site-home .hero-title { max-width: 16ch; }
    .site-home .hero-card { max-width: 450px; margin-inline: auto; }
    .site-home .hero-countdown { align-items: flex-start; border-radius: 14px; }
    .site-home .quick-grid { grid-template-columns: 1fr; }
    .site-home .quick-card { min-height: 92px; }
    .site-home .criteria-list li { grid-template-columns: 26px 1fr; }
    .site-home .criteria-list strong { grid-column: 2; text-align: left; }
    .site-home .contact-card { border-radius: 21px; }
}

@media (prefers-reduced-motion: reduce) {
    .site-home .hero-card { animation: none; }
    .site-home .hero-blob { animation: none; }
    .site-home .btn-hero-primary,
    .site-home .btn-hero-primary:hover,
    .site-home .btn-hero-primary:focus-visible,
    .site-home .btn-hero-primary:active,
    .site-home .btn-hero-primary::after { animation: none; }
    .site-home .btn-hero-primary:hover,
    .site-home .btn-hero-primary:focus-visible,
    .site-home .btn-hero-primary:active { transform: none; }
}
