﻿/* ============================================ */
/* ANAND INSTITUTIONS - EDITORIAL DESIGN SYSTEM  */
/* ============================================ */

/* ============================================ */
/* DESIGN TOKENS                                */
/* ============================================ */
:root {
    /* ---- Palette ---- */
    --navy: #0B1A2E;
    --navy-light: #132840;
    --steel: #4A90C4;
    --steel-light: rgba(74, 144, 196, 0.12);
    --sand: #D4A853;
    --sand-light: rgba(212, 168, 83, 0.15);
    --off-white: #F8F6F2;
    --white: #FFFFFF;
    --stone: #EAE6DF;
    --red: #C85A3E;
    --red-hover: #A73A2E;
    --text-primary: #0B1A2E;
    --text-secondary: #5A6270;
    --text-muted: #8A909A;
    --text-on-dark: #F8F6F2;
    --text-on-dark-muted: rgba(248, 246, 242, 0.65);
    /* ---- Typography ---- */
    --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    /* ---- Spacing ---- */
    --section-padding: 100px;
    --section-padding-mobile: 60px;
    --content-width: 1140px;
    /* ---- Radii ---- */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-pill: 50px;
    /* ---- Shadows ---- */
    --shadow-card: 0 1px 3px rgba(11, 26, 46, 0.06), 0 4px 12px rgba(11, 26, 46, 0.04);
    --shadow-card-hover: 0 2px 6px rgba(11, 26, 46, 0.08), 0 8px 24px rgba(11, 26, 46, 0.06);
    --shadow-nav: 0 1px 0 rgba(11, 26, 46, 0.06);
    /* ---- Transitions ---- */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --duration-fast: 0.2s;
    --duration-normal: 0.35s;
    --duration-slow: 0.5s;
}

/* ============================================ */
/* RESET & BASE                                 */
/* ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background: var(--off-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--navy);
}

/* ============================================ */
/* ACCESSIBILITY                                */
/* ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    .hero__mesh,
    .marquee__track {
        animation: none !important;
    }

    .hero__spotlight {
        display: none;
    }

    .tilt-card:hover {
        transform: none;
    }
}

:focus-visible {
    outline: 2px solid var(--steel);
    outline-offset: 3px;
    border-radius: 2px;
}

/* ============================================ */
/* UTILITIES                                    */
/* ============================================ */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--steel);
}

    .eyebrow::before {
        content: '';
        width: 20px;
        height: 1.5px;
        background: var(--sand);
    }

.section-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    margin: 12px 0 8px;
    letter-spacing: -0.01em;
}

    .section-title em {
        font-style: italic;
        color: var(--sand);
    }

.section-sub {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 560px;
    margin-bottom: 48px;
    line-height: 1.6;
}

[data-count-to] {
    font-variant-numeric: tabular-nums;
}

/* ============================================ */
/* SECTIONS & CONTAINERS                        */
/* ============================================ */
.section {
    padding: var(--section-padding) 0;
}

    .section .container,
    .hero .container {
        max-width: var(--content-width);
        margin: 0 auto;
        padding: 0 24px;
    }

.section--light {
    background: var(--off-white);
}

.section--white {
    background: var(--white);
}

.section--stone {
    background: var(--stone);
}

.section--dark {
    background: var(--navy);
    color: var(--text-on-dark);
}

    .section--dark .section-title {
        color: var(--white);
    }

    .section--dark .section-sub {
        color: var(--text-on-dark-muted);
    }

    .section--dark .text-secondary {
        color: var(--text-on-dark-muted);
    }

/* ============================================ */
/* BUTTONS                                      */
/* ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-out);
    border: none;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--steel);
    color: var(--white);
}

    .btn-primary:hover {
        background: #3A7DB5;
        transform: translateY(-1px);
        box-shadow: 0 4px 16px rgba(74, 144, 196, 0.3);
    }

.btn-outline {
    background: transparent;
    color: var(--text-on-dark);
    border: 1.5px solid rgba(248, 246, 242, 0.3);
}

    .btn-outline:hover {
        border-color: var(--sand);
        color: var(--sand);
        background: rgba(212, 168, 83, 0.06);
    }

.btn-cta {
    background: var(--red);
    color: var(--white);
}

    .btn-cta:hover {
        background: var(--red-hover);
        transform: translateY(-1px);
        box-shadow: 0 4px 16px rgba(200, 90, 62, 0.3);
    }

.btn-dark {
    background: var(--navy);
    color: var(--white);
}

    .btn-dark:hover {
        background: var(--navy-light);
        transform: translateY(-1px);
    }

/* ============================================ */
/* SCROLL PROGRESS BAR                          */
/* ============================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--sand), var(--red));
    z-index: 2000;
    transition: width .12s linear;
}

/* ============================================ */
/* MAIN NAVIGATION                              */
/* ============================================ */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all var(--duration-normal) var(--ease-out);
    padding: 20px 32px;
}

    .main-nav.scrolled {
        background: rgba(11, 26, 46, 0.92);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        padding: 10px 32px;
        box-shadow: var(--shadow-nav);
    }

.main-nav-inner {
    max-width: var(--content-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 44px;
}

.nav-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: all var(--duration-normal) var(--ease-out);
}

    .nav-logo img {
        height: 60px;
        transition: height var(--duration-normal) var(--ease-out);
    }

.main-nav.scrolled .nav-logo img {
    height: 34px;
}

.nav-branches {
    display: flex;
    gap: 6px;
    position: absolute;
    left: 0;
}

.branch-pill {
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--text-on-dark-muted);
    border: 1px solid rgba(248, 246, 242, 0.2);
    background: transparent;
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-out);
    white-space: nowrap;
}

    .branch-pill:hover {
        color: var(--text-on-dark);
        border-color: rgba(248, 246, 242, 0.4);
    }

    .branch-pill.active {
        background: var(--sand);
        color: var(--navy);
        border-color: var(--sand);
        font-weight: 600;
    }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    position: absolute;
    right: 0;
}

.lang-switcher {
    display: flex;
    gap: 2px;
    background: rgba(248, 246, 242, 0.08);
    padding: 3px;
    border-radius: var(--radius-pill);
}

.lang-btn {
    background: transparent;
    border: none;
    padding: 5px 10px;
    border-radius: var(--radius-pill);
    color: var(--text-on-dark-muted);
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--duration-fast) ease;
    letter-spacing: 0.04em;
}

    .lang-btn:hover {
        color: var(--text-on-dark);
    }

    .lang-btn.active {
        background: var(--sand);
        color: var(--navy);
    }

.hamburger {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(248, 246, 242, 0.2);
    background: transparent;
    color: var(--text-on-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-out);
    font-size: 1rem;
}

    .hamburger:hover {
        border-color: var(--sand);
        color: var(--sand);
    }

/* ============================================ */
/* MENU OVERLAY                                 */
/* ============================================ */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 26, 46, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--duration-normal) var(--ease-out);
}

    .menu-overlay.open {
        opacity: 1;
        pointer-events: auto;
    }

.menu-content {
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.menu-logo {
    margin-bottom: 40px;
}

    .menu-logo img {
        height: 56px;
        margin: 0 auto;
    }

.menu-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .menu-links a {
        display: block;
        padding: 14px 20px;
        font-size: 1.05rem;
        font-weight: 500;
        color: var(--text-on-dark-muted);
        transition: all var(--duration-fast) var(--ease-out);
        border-radius: var(--radius-sm);
    }

        .menu-links a:hover {
            color: var(--sand);
            background: rgba(212, 168, 83, 0.08);
        }

.menu-divider {
    border: none;
    border-top: 1px solid rgba(248, 246, 242, 0.1);
    margin: 16px 0;
}

.menu-info {
    margin-top: 24px;
    font-size: 0.82rem;
    color: var(--text-on-dark-muted);
}

    .menu-info p {
        margin: 4px 0;
    }

.menu-close {
    position: absolute;
    top: 24px;
    right: 32px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(248, 246, 242, 0.2);
    background: transparent;
    color: var(--text-on-dark);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--duration-fast) var(--ease-out);
}

    .menu-close:hover {
        border-color: var(--sand);
        color: var(--sand);
    }

/* ============================================ */
/* HERO SECTION                                 */
/* ============================================ */
.hero {
    background: var(--navy);
    color: var(--text-on-dark);
    padding: 160px 0 100px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

    .hero::before {
        content: '';
        position: absolute;
        top: -30%;
        right: -20%;
        width: 60%;
        height: 80%;
        background: radial-gradient(ellipse, rgba(74, 144, 196, 0.08), transparent 70%);
        pointer-events: none;
    }

    .hero::after {
        content: '';
        position: absolute;
        bottom: -20%;
        left: -10%;
        width: 50%;
        height: 60%;
        background: radial-gradient(ellipse, rgba(212, 168, 83, 0.06), transparent 70%);
        pointer-events: none;
    }

    .hero .container {
        position: relative;
        z-index: 2;
    }

.hero__mesh {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 55% 45% at 85% 12%, rgba(212,168,83,0.16), transparent 60%), radial-gradient(ellipse 50% 45% at 10% 90%, rgba(74,144,196,0.22), transparent 60%);
    animation: meshDrift 20s ease-in-out infinite alternate;
}

@keyframes meshDrift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-3%, 2%) scale(1.05);
    }
}

.hero__grain {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero__spotlight {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(480px circle at var(--sx, 50%) var(--sy, 30%), rgba(212,168,83,0.14), transparent 70%);
    opacity: 0;
    transition: opacity .4s ease;
}

.hero:hover .hero__spotlight {
    opacity: 1;
}

@media (hover: none) {
    .hero__spotlight {
        display: none;
    }
}

.hero--short {
    padding: 130px 0 70px;
    min-height: auto;
}

.hero-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--sand);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

    .hero-eyebrow::before {
        content: '';
        width: 24px;
        height: 1.5px;
        background: var(--sand);
    }

.hero-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 1.06;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-bottom: 20px;
}

    .hero-title .accent {
        font-style: italic;
        color: var(--sand);
        display: block;
    }

.hero-tagline {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    color: var(--text-on-dark-muted);
    max-width: 500px;
    font-weight: 400;
    line-height: 1.6;
}

.hero-badge {
    display: inline-block;
    background: rgba(212, 168, 83, 0.1);
    border: 1px solid rgba(212, 168, 83, 0.25);
    color: var(--sand);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    margin-bottom: 20px;
}

/* ============================================ */
/* HERO SLIDER                                  */
/* ============================================ */
.hero-slider {
    position: relative;
    min-height: 90vh;
    overflow: hidden;
    background: var(--navy);
}

.hero-slider__track {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.hero-slider__slide {
    min-width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    min-height: 90vh;
}

    .hero-slider__slide.active {
        z-index: 1;
    }

.hero-slider__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    transition: opacity 0.6s ease;
}

.hero-slider__slide.active .hero-slider__bg {
    opacity: 0.5;
}

.hero-slider__content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 160px 0 100px;
}

.hero-slider__dots {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.hero-slider__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

    .hero-slider__dot.active {
        background: var(--sand);
        border-color: var(--sand);
        transform: scale(1.3);
    }

.hero-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

    .hero-slider__arrow:hover {
        background: rgba(0, 0, 0, 0.5);
        border-color: var(--sand);
        color: var(--sand);
    }

.hero-slider__arrow--prev {
    left: 24px;
}

.hero-slider__arrow--next {
    right: 24px;
}

/* ============================================ */
/* MARQUEE TICKER                               */
/* ============================================ */
.marquee {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    border-top: 1px solid rgba(248, 246, 242, 0.12);
    background: rgba(0, 0, 0, 0.18);
    overflow: hidden;
    padding: 14px 0;
}

.marquee__track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 30s linear infinite;
}

.marquee:hover .marquee__track {
    animation-play-state: paused;
}

.marquee__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 40px;
    white-space: nowrap;
    color: rgba(248, 246, 242, 0.7);
    font-size: 0.88rem;
    font-weight: 500;
}

    .marquee__item i {
        color: var(--sand);
    }

    .marquee__item strong {
        color: var(--white);
        font-family: var(--font-display);
        font-weight: 600;
    }

@keyframes marqueeScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ============================================ */
/* BRANCH SUB-NAV                               */
/* ============================================ */
.branch-nav {
    background: var(--navy-light);
    border-bottom: 1px solid rgba(248, 246, 242, 0.06);
    padding: 0;
    z-index: 998;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    position: sticky;
    top: 0;
}

.branch-nav-inner {
    display: flex;
    justify-content: center;
    gap: 0;
    max-width: var(--content-width);
    margin: 0 auto;
}

.branch-nav a {
    padding: 16px 22px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-on-dark-muted);
    transition: all var(--duration-fast) var(--ease-out);
    position: relative;
    letter-spacing: 0.02em;
}

    .branch-nav a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background: var(--sand);
        transition: width var(--duration-fast) var(--ease-out);
    }

    .branch-nav a:hover {
        color: var(--text-on-dark);
    }

    .branch-nav a.active {
        color: var(--sand);
        font-weight: 600;
    }

        .branch-nav a.active::after {
            width: 24px;
        }

    .branch-nav a.apply-link {
        background: var(--red);
        color: var(--white);
        border-radius: var(--radius-pill);
        padding: 8px 20px;
        margin: 8px 12px;
        font-weight: 600;
    }

        .branch-nav a.apply-link::after {
            display: none;
        }

        .branch-nav a.apply-link:hover {
            background: var(--red-hover);
        }

/* ============================================ */
/* CARDS                                        */
/* ============================================ */
.card {
    background: var(--white);
    border: 1px solid rgba(11, 26, 46, 0.06);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-card);
    transition: all var(--duration-normal) var(--ease-out);
    height: 100%;
}

    .card:hover {
        box-shadow: var(--shadow-card-hover);
        transform: translateY(-2px);
        border-color: rgba(11, 26, 46, 0.1);
    }

.card-accent {
    border-left: 3px solid var(--steel);
}

.card-gold {
    border-left: 3px solid var(--sand);
}

.tilt-card {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.5s ease;
}

    .tilt-card:hover {
        transform: perspective(900px) rotateX(2deg) rotateY(-2deg) translateY(-8px);
        box-shadow: 0 20px 40px rgba(11, 26, 46, 0.12);
    }

.branch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.branch-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(248, 246, 242, 0.08);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    color: var(--text-on-dark);
    display: block;
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
}

    .branch-card:hover {
        background: rgba(255, 255, 255, 0.06);
        border-color: rgba(212, 168, 83, 0.3);
        transform: translateY(-4px);
    }

    .branch-card .icon {
        font-size: 1.5rem;
        color: var(--sand);
        margin-bottom: 20px;
    }

    .branch-card h3 {
        font-size: 1.5rem;
        color: var(--white);
        margin-bottom: 4px;
    }

    .branch-card .location {
        font-size: 0.8rem;
        color: rgba(248, 246, 242, 0.4);
        letter-spacing: 0.04em;
        margin-bottom: 12px;
    }

    .branch-card p {
        color: rgba(248, 246, 242, 0.55);
        font-size: 0.9rem;
        margin-bottom: 20px;
        line-height: 1.6;
    }

    .branch-card .visit-link {
        font-weight: 600;
        font-size: 0.88rem;
        color: var(--sand);
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

    .branch-card:hover .visit-link {
        gap: 14px;
    }

.program-card {
    background: var(--white);
    border: 1px solid rgba(11, 26, 46, 0.06);
    border-radius: var(--radius-md);
    padding: 30px;
    height: 100%;
    box-shadow: var(--shadow-card);
    transition: all var(--duration-normal) var(--ease-out);
}

    .program-card:hover {
        box-shadow: var(--shadow-card-hover);
        transform: translateY(-3px);
    }

    .program-card h4 {
        font-size: 1.15rem;
        margin-bottom: 14px;
        color: var(--navy);
    }

        .program-card h4 i {
            color: var(--steel);
            margin-right: 8px;
        }

    .program-card ul {
        list-style: none;
    }

    .program-card li {
        padding: 5px 0;
        font-size: 0.9rem;
        color: var(--text-secondary);
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .program-card li i {
            color: var(--sand);
            font-size: 0.65rem;
        }

.faculty-card {
    background: var(--white);
    border: 1px solid rgba(11, 26, 46, 0.06);
    border-radius: var(--radius-md);
    padding: 28px 20px;
    text-align: center;
    height: 100%;
    box-shadow: var(--shadow-card);
    transition: all var(--duration-normal) var(--ease-out);
}

    .faculty-card:hover {
        box-shadow: var(--shadow-card-hover);
        transform: translateY(-4px);
    }

    .faculty-card .avatar {
        width: 72px;
        height: 72px;
        border-radius: 50%;
        background: var(--navy);
        color: var(--sand);
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: var(--font-display);
        font-size: 1.4rem;
        font-weight: 600;
        margin: 0 auto 16px;
    }

    .faculty-card h6 {
        font-size: 0.95rem;
        margin-bottom: 2px;
    }

    .faculty-card small {
        color: var(--text-secondary);
        font-size: 0.82rem;
    }

    .faculty-card .badge {
        background: var(--stone);
        color: var(--text-secondary);
        font-weight: 500;
        font-size: 0.7rem;
        padding: 5px 12px;
        border-radius: var(--radius-pill);
        display: inline-block;
        margin-top: 10px;
    }

.campus-life-card {
    border: 1px solid rgba(11, 26, 46, 0.06);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--white);
    height: 100%;
    box-shadow: var(--shadow-card);
    transition: all var(--duration-normal) var(--ease-out);
}

    .campus-life-card:hover {
        box-shadow: var(--shadow-card-hover);
        transform: translateY(-4px);
    }

    .campus-life-card .icon-box {
        background: var(--navy);
        color: var(--sand);
        padding: 26px;
        text-align: center;
        font-size: 1.6rem;
    }

    .campus-life-card .p-3 {
        padding: 20px;
    }

        .campus-life-card .p-3 h5 {
            font-size: 1rem;
            margin-bottom: 6px;
        }

        .campus-life-card .p-3 p {
            font-size: 0.85rem;
            color: var(--text-secondary);
        }

/* ============================================ */
/* STAT ELEMENTS                                */
/* ============================================ */
.stat-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(248, 246, 242, 0.1);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

    .stat-card.bento {
        grid-template-columns: 1.15fr 0.85fr;
        grid-auto-rows: minmax(90px, auto);
    }

        .stat-card.bento .stat-item {
            border-radius: 12px;
            padding: 4px 6px;
            transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
        }

            .stat-card.bento .stat-item:hover {
                transform: translateY(-3px);
            }

            .stat-card.bento .stat-item:first-child {
                grid-column: 1 / -1;
                background: linear-gradient(135deg, rgba(212, 168, 83, 0.12), transparent);
                border-radius: 14px;
                padding: 14px 16px;
            }

                .stat-card.bento .stat-item:first-child dd {
                    font-size: 2.6rem;
                }

.stat-item dt {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(248, 246, 242, 0.4);
    font-weight: 500;
    margin-bottom: 4px;
}

.stat-item dd {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--white);
}

    .stat-item dd span {
        color: var(--sand);
    }

.stat-strip {
    padding: 70px 0;
    background: var(--navy-light);
    text-align: center;
}

    .stat-strip .stat-number {
        font-family: var(--font-display);
        font-size: clamp(2rem, 4vw, 3rem);
        font-weight: 600;
        color: var(--white);
    }

        .stat-strip .stat-number span {
            color: var(--sand);
        }

    .stat-strip .stat-label {
        color: rgba(248, 246, 242, 0.45);
        font-size: 0.8rem;
        font-weight: 500;
        margin-top: 6px;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

/* ============================================ */
/* PRINCIPAL / FOUNDER                          */
/* ============================================ */
.principal-card {
    position: relative;
    overflow: visible;
}

.principal-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--steel);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    position: absolute;
    top: -28px;
    right: 24px;
    border: 3px solid var(--white);
    box-shadow: var(--shadow-card);
}

.founder-seal {
    position: relative;
    display: inline-block;
}

    .founder-seal .avatar {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        background: var(--navy);
        color: var(--sand);
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: var(--font-display);
        font-size: 2.4rem;
        font-weight: 700;
        margin: 0 auto;
        border: 4px solid var(--white);
        box-shadow: var(--shadow-card);
    }

.founder-message-box {
    background: rgba(74, 144, 196, 0.04);
    border-left: 3px solid var(--steel);
    padding: 24px 28px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* ============================================ */
/* BLOB PHOTO                                   */
/* ============================================ */
.blob-photo-wrapper {
    position: relative;
    display: inline-block;
}

.blob-photo,
.blob-photo-fallback {
    position: relative;
    z-index: 1;
    width: 280px;
    height: 340px;
    object-fit: cover;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: blobMorph 8s ease-in-out infinite;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.blob-photo-fallback {
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-badge {
    position: absolute;
    bottom: -10px;
    right: -10px;
    background: var(--navy);
    color: var(--white);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    z-index: 2;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

@keyframes blobMorph {
    0%, 100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    25% {
        border-radius: 40% 60% 70% 30% / 40% 70% 30% 60%;
    }

    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }

    75% {
        border-radius: 60% 40% 40% 60% / 60% 40% 60% 40%;
    }
}

/* ============================================ */
/* FORMS                                        */
/* ============================================ */
.form-control,
.form-select {
    background: var(--white);
    border: 1px solid rgba(11, 26, 46, 0.12);
    border-radius: var(--radius-sm);
    padding: 13px 16px;
    font-size: 0.92rem;
    color: var(--text-primary);
    width: 100%;
    font-family: var(--font-body);
    transition: all var(--duration-fast) var(--ease-out);
}

    .form-control:focus {
        outline: none;
        border-color: var(--steel);
        box-shadow: 0 0 0 3px rgba(74, 144, 196, 0.1);
    }

/* ============================================ */
/* CONTACT INFO                                 */
/* ============================================ */
.contact-info-box {
    background: var(--white);
    border: 1px solid rgba(11, 26, 46, 0.06);
    border-radius: var(--radius-md);
    padding: 30px;
    height: 100%;
    border-left: 3px solid var(--sand);
    box-shadow: var(--shadow-card);
}

    .contact-info-box h5 {
        font-size: 0.95rem;
        margin-top: 16px;
    }

        .contact-info-box h5:first-child {
            margin-top: 0;
        }

        .contact-info-box h5 i {
            color: var(--steel);
            margin-right: 8px;
        }

    .contact-info-box p {
        color: var(--text-secondary);
        font-size: 0.9rem;
    }

    .contact-info-box hr {
        border-top: 1px solid rgba(11, 26, 46, 0.06);
        margin: 18px 0;
    }

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--sand);
    font-size: 0.75rem;
    font-weight: 700;
    margin-right: 12px;
    flex-shrink: 0;
}

/* ============================================ */
/* FOOTER                                       */
/* ============================================ */
.site-footer {
    background: var(--navy);
    color: var(--text-on-dark-muted);
    padding: 70px 0 30px;
}

    .site-footer h5 {
        color: var(--white);
        font-size: 1.1rem;
    }

    .site-footer h6 {
        color: var(--sand);
        font-size: 0.7rem;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        margin-bottom: 16px;
    }

    .site-footer a {
        color: var(--text-on-dark-muted);
        transition: color var(--duration-fast);
    }

        .site-footer a:hover {
            color: var(--sand);
        }

    .site-footer .rule {
        border-top: 1px solid rgba(248, 246, 242, 0.08);
        margin-top: 50px;
        padding-top: 24px;
    }

    .site-footer li {
        padding: 4px 0;
        font-size: 0.88rem;
    }

/* ============================================ */
/* FLOATING BUTTONS                             */
/* ============================================ */
.scroll-top,
.whatsapp-float {
    position: fixed;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    transition: all var(--duration-fast) var(--ease-out);
    border: none;
}

.scroll-top {
    bottom: 28px;
    right: 28px;
    background: var(--navy);
    color: var(--white);
    width: 44px;
    height: 44px;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 4px 16px rgba(11, 26, 46, 0.3);
}

    .scroll-top.visible {
        opacity: 1;
        visibility: visible;
    }

    .scroll-top:hover {
        background: var(--steel);
        transform: translateY(-3px);
    }

.whatsapp-float {
    bottom: 28px;
    left: 28px;
    background: #25D366;
    color: #fff;
    width: 52px;
    height: 52px;
    font-size: 1.6rem;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

    .whatsapp-float:hover {
        transform: scale(1.08);
    }

/* ============================================ */
/* ANIMATIONS                                   */
/* ============================================ */
.spinner {
    display: inline-block;
    width: 36px;
    height: 36px;
    border: 3px solid rgba(11, 26, 46, 0.1);
    border-radius: 50%;
    border-top-color: var(--steel);
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.6s var(--ease-out);
}

    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }

/* ============================================ */
/* RESPONSIVE - TABLET                          */
/* ============================================ */
@media (max-width: 992px) {
    :root {
        --section-padding: 70px;
    }

    .hero {
        padding: 140px 0 70px;
        min-height: auto;
    }

    .hero--short {
        padding: 120px 0 60px;
    }

    .hero-title {
        font-size: clamp(2.2rem, 7vw, 3.5rem);
    }

    .main-nav {
        padding: 14px 20px;
    }

    .nav-branches {
        gap: 4px;
    }

    .branch-pill {
        padding: 7px 14px;
        font-size: 0.74rem;
    }

    .lang-btn {
        padding: 4px 8px;
        font-size: 0.65rem;
    }

    .branch-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .branch-card {
        padding: 32px 28px;
    }

    .stat-card {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================ */
/* RESPONSIVE - MOBILE                          */
/* ============================================ */
@media (max-width: 768px) {
    :root {
        --section-padding: 50px;
    }

    .main-nav {
        padding: 10px 14px;
    }

        .main-nav.scrolled {
            padding: 8px 14px;
        }

    .nav-logo img {
        height: 36px;
    }

    .main-nav.scrolled .nav-logo img {
        height: 28px;
    }

    .nav-branches {
        display: none;
    }

    .branch-pill {
        padding: 6px 12px;
        font-size: 0.7rem;
    }

    .lang-switcher {
        display: none;
    }

    .hero {
        padding: 120px 0 50px;
    }

    .hero--short {
        padding: 100px 0 45px;
    }

    .hero-title {
        font-size: clamp(1.8rem, 8vw, 2.6rem);
    }

    .hero-tagline {
        font-size: 0.9rem;
    }

    .stat-card {
        grid-template-columns: 1fr 1fr;
        padding: 20px;
        gap: 14px;
    }

    .stat-item dd {
        font-size: 1.5rem;
    }

    .btn {
        padding: 12px 22px;
        font-size: 0.85rem;
    }

    .branch-nav a {
        padding: 12px 14px;
        font-size: 0.74rem;
    }

    .branch-grid {
        gap: 16px;
    }

    .branch-card {
        padding: 26px 22px;
    }

        .branch-card h3 {
            font-size: 1.3rem;
        }

    .section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .section-sub {
        font-size: 0.9rem;
    }

    .card {
        padding: 24px;
    }

    .program-card {
        padding: 22px;
    }

    .faculty-card {
        padding: 22px 14px;
    }

        .faculty-card .avatar {
            width: 56px;
            height: 56px;
            font-size: 1.1rem;
        }

    .founder-seal .avatar {
        width: 90px;
        height: 90px;
        font-size: 1.8rem;
    }

    .whatsapp-float {
        bottom: 18px;
        left: 14px;
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
    }

    .scroll-top {
        bottom: 18px;
        right: 14px;
        width: 38px;
        height: 38px;
    }

    .site-footer {
        padding: 50px 0 20px;
    }

        .site-footer h5 {
            font-size: 1rem;
        }

    .menu-close {
        top: 16px;
        right: 16px;
    }

    .hero-slider__arrow {
        display: none;
    }

    .hero-slider__dots {
        bottom: 30px;
    }

    .hero-slider__content {
        padding: 120px 0 80px;
    }

    .blob-photo,
    .blob-photo-fallback {
        width: 220px;
        height: 280px;
    }

    .floating-badge {
        padding: 10px 16px;
        font-size: 0.8rem;
        bottom: -8px;
        right: -8px;
    }
}

/* ============================================ */
/* RESPONSIVE - SMALL MOBILE                    */
/* ============================================ */
@media (max-width: 480px) {
    .main-nav {
        padding: 8px 10px;
    }

    .nav-logo img {
        height: 30px;
    }

    .main-nav.scrolled .nav-logo img {
        height: 24px;
    }

    .branch-pill {
        padding: 5px 10px;
        font-size: 0.65rem;
    }

    .hero {
        padding: 110px 0 40px;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .stat-card {
        grid-template-columns: 1fr 1fr;
        padding: 16px;
        gap: 12px;
    }

    .stat-item dd {
        font-size: 1.2rem;
    }

    .btn {
        width: 100%;
    }

    .branch-nav a {
        padding: 10px 12px;
        font-size: 0.7rem;
    }

    .branch-grid {
        gap: 12px;
    }

    .branch-card {
        padding: 22px 18px;
    }

        .branch-card h3 {
            font-size: 1.1rem;
        }

    .blob-photo,
    .blob-photo-fallback {
        width: 180px;
        height: 240px;
    }

    .floating-badge {
        padding: 8px 12px;
        font-size: 0.75rem;
        bottom: -6px;
        right: -6px;
    }
}
