/* =================================================================
   ST. ANTONY'S HIGHER SECONDARY SCHOOL — MAIN STYLESHEET
   Design language: traditional + modern, gold/navy/red palette
   inspired by the school logo (gold shield, red cross, blue accents)
   ================================================================= */

/* -----------------------------------------------------------------
   1. ROOT VARIABLES & RESET
   ----------------------------------------------------------------- */
:root {
    /* Brand palette - from logo */
    --gold:           #D4AF37;        /* primary gold from logo */
    --gold-light:     #F2D471;
    --gold-dark:      #A8861F;
    --navy:           #1B2A5B;        /* deep academic blue */
    --navy-light:     #2D4180;
    --navy-dark:      #0E1A3E;
    --red:            #B22222;        /* cross red */
    --red-light:      #D63838;
    --cream:          #FBF7EC;        /* warm parchment background */
    --ivory:          #FFFDF7;

    /* Neutrals */
    --white:          #FFFFFF;
    --gray-50:        #F9FAFB;
    --gray-100:       #F3F4F6;
    --gray-200:       #E5E7EB;
    --gray-300:       #D1D5DB;
    --gray-500:       #6B7280;
    --gray-700:       #374151;
    --gray-900:       #111827;
    --black:          #000000;

    /* Functional */
    --success:        #16A34A;
    --warning:        #F59E0B;
    --danger:         #DC2626;
    --info:           #0EA5E9;

    /* Typography */
    --font-heading:   'Playfair Display', Georgia, serif;
    --font-body:      'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-alt:       'Inter', sans-serif;

    /* Spacing scale */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

    /* Radius */
    --radius-sm: 6px;
    --radius:    12px;
    --radius-lg: 20px;
    --radius-pill: 999px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(27, 42, 91, 0.08);
    --shadow:    0 4px 12px rgba(27, 42, 91, 0.10);
    --shadow-md: 0 8px 24px rgba(27, 42, 91, 0.12);
    --shadow-lg: 0 16px 48px rgba(27, 42, 91, 0.18);
    --shadow-gold: 0 8px 24px rgba(212, 175, 55, 0.35);

    /* Transitions */
    --t-fast: 0.15s ease;
    --t:      0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --t-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Layout */
    --container-w: 1240px;
    --header-h: 90px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--gray-900);
    background: var(--ivory);
    line-height: 1.65;
    font-size: 16px;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--navy); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--gold-dark); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

::selection { background: var(--gold); color: var(--navy-dark); }

/* -----------------------------------------------------------------
   2. UTILITIES
   ----------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.section { padding: var(--space-3xl) 0; }
.section-sm { padding: var(--space-2xl) 0; }
.section-tight { padding: var(--space-xl) 0; }

.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy-dark { background: var(--navy-dark); color: var(--white); }
.bg-gold { background: var(--gold); color: var(--navy-dark); }
.bg-gray { background: var(--gray-100); }

.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-white { color: var(--white); }

/* Section heading */
.section-head { max-width: 760px; margin: 0 auto var(--space-2xl); text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 0.85rem;
}
.eyebrow::before {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--gold);
    display: inline-block;
}
.section-head.left .eyebrow::before { display: none; }

.section-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: var(--navy-dark);
    line-height: 1.2;
    margin-bottom: 1rem;
}
.section-title .accent { color: var(--gold-dark); }

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray-500);
    max-width: 640px;
    margin: 0 auto;
}
.section-head.left .section-subtitle { margin-left: 0; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.85rem 1.75rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    border-radius: var(--radius-pill);
    transition: all var(--t);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}
.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--navy-dark);
    box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(212, 175, 55, 0.5);
    color: var(--navy-dark);
}
.btn-navy {
    background: var(--navy);
    color: var(--white);
}
.btn-navy:hover { background: var(--navy-dark); color: var(--white); transform: translateY(-2px); }

.btn-red {
    background: var(--red);
    color: var(--white);
}
.btn-red:hover { background: var(--red-light); color: var(--white); transform: translateY(-2px); }

.btn-light {
    background: var(--white);
    color: var(--navy-dark);
}
.btn-light:hover { background: var(--cream); transform: translateY(-2px); color: var(--navy-dark); }

.btn-outline {
    background: transparent;
    border-color: var(--navy);
    color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-outline-light {
    background: transparent;
    border-color: rgba(255,255,255,0.6);
    color: var(--white);
}
.btn-outline-light:hover { background: var(--white); color: var(--navy-dark); border-color: var(--white); }

.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; justify-content: center; }

/* -----------------------------------------------------------------
   4. TOP BAR
   ----------------------------------------------------------------- */
.top-bar {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.82rem;
    padding: 0.5rem 0;
    border-bottom: 2px solid var(--gold);
}
.top-bar a { color: rgba(255, 255, 255, 0.85); }
.top-bar a:hover { color: var(--gold-light); }
.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.top-bar-left { display: flex; align-items: center; flex-wrap: wrap; gap: 0.6rem; }
.top-bar-left i { color: var(--gold); margin-right: 4px; }
.top-bar-left .divider { color: var(--gold); opacity: 0.6; }
.top-bar-right { display: flex; gap: 0.4rem; }
.top-bar-right a {
    width: 28px; height: 28px;
    display: inline-flex;
    align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    transition: all var(--t);
}
.top-bar-right a:hover { background: var(--gold); color: var(--navy-dark); transform: translateY(-2px); }

/* -----------------------------------------------------------------
   5. HEADER & NAVIGATION
   ----------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: all var(--t);
}
.site-header.scrolled {
    box-shadow: var(--shadow-md);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 1.5rem;
}

/* Brand */
.brand { display: flex; align-items: center; gap: 0.85rem; }
.brand-logo {
    width: 56px; height: 56px;
    object-fit: contain;
    transition: transform var(--t);
}
.brand:hover .brand-logo { transform: rotate(-5deg) scale(1.05); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--navy-dark);
    letter-spacing: 0.01em;
}
.brand-sub {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-dark);
}

/* Main nav */
.main-nav { display: flex; align-items: center; }
.nav-list {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.nav-item { position: relative; }
.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.65rem 0.9rem;
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--gray-700);
    border-radius: var(--radius-sm);
    transition: all var(--t);
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 50%;
    width: 0; height: 2px;
    background: var(--gold);
    transition: all var(--t);
    transform: translateX(-50%);
}
.nav-link:hover, .nav-link.active { color: var(--navy-dark); }
.nav-link:hover::after, .nav-link.active::after { width: 60%; }
.nav-caret { font-size: 0.7rem; transition: transform var(--t); }
.has-dropdown:hover .nav-caret { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 240px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--t);
    border-top: 3px solid var(--gold);
}
.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown li a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 0.9rem;
    color: var(--gray-700);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    transition: all var(--t);
}
.dropdown li a i { color: var(--gold); font-size: 0.7rem; }
.dropdown li a:hover {
    background: var(--cream);
    color: var(--navy-dark);
    padding-left: 1.1rem;
}

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 0.85rem; }
.btn-apply { padding: 0.7rem 1.4rem; font-size: 0.9rem; }
.btn-apply-mobile { display: none; margin-top: 1rem; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}
.nav-toggle span {
    width: 26px; height: 3px;
    background: var(--navy-dark);
    border-radius: 2px;
    transition: all var(--t);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav-close {
    display: none;
    position: absolute;
    top: 1.25rem; right: 1.25rem;
    font-size: 1.4rem;
    color: var(--navy-dark);
}

/* -----------------------------------------------------------------
   6. HERO SECTION (HOME)
   ----------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}
.hero-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
    from { transform: scale(1); }
    to   { transform: scale(1.12); }
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(14, 26, 62, 0.92) 0%, rgba(27, 42, 91, 0.75) 50%, rgba(178, 34, 34, 0.55) 100%);
    z-index: -1;
}
.hero-content {
    max-width: 720px;
    padding: 4rem 0;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.1rem;
    border: 1px solid rgba(212, 175, 55, 0.6);
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
    background: rgba(212, 175, 55, 0.08);
}
.hero-eyebrow i { color: var(--gold); }
.hero-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-title .gold { color: var(--gold-light); font-style: italic; }
.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,0.92);
    max-width: 580px;
}
.hero-text {
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 2rem;
    max-width: 540px;
}
.hero-actions { display: flex; gap: 0.85rem; flex-wrap: wrap; margin-bottom: 3rem; }

/* Hero stats strip */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.12);
    max-width: 720px;
}
.hero-stat { text-align: center; }
.hero-stat-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--gold-light);
    line-height: 1;
}
.hero-stat-label {
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-top: 0.3rem;
}

/* Hero scroll cue */
.hero-scroll {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gold-light);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    animation: bounceDown 2s ease-in-out infinite;
}
.hero-scroll::after {
    content: '';
    width: 2px; height: 28px;
    background: linear-gradient(to bottom, var(--gold-light), transparent);
}
@keyframes bounceDown {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(8px); }
}

/* -----------------------------------------------------------------
   7. PAGE HEADER (inner pages)
   ----------------------------------------------------------------- */
.page-header {
    position: relative;
    padding: 7rem 0 4rem;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}
.page-header-bg {
    position: absolute; inset: 0; z-index: -2;
}
.page-header-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-header-overlay {
    position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(135deg, rgba(14, 26, 62, 0.5) 0%, rgba(27, 42, 91, 0.4) 50%, rgba(178, 34, 34, 0.3) 100%);
}
.page-header h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6), 0 0 20px rgba(0,0,0,0.3);
}
.page-header .breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.9);
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.page-header .breadcrumb a { color: var(--gold-light); }
.page-header .breadcrumb a:hover { color: var(--gold); }
.page-header .breadcrumb .sep { color: var(--gold); }

/* Principal page header enhancements */
.principal-page-header {
    padding: 8rem 0 5rem;
}
.principal-page-header .page-header-overlay {
    background: linear-gradient(160deg, rgba(10,20,55,0.72) 0%, rgba(14,26,80,0.55) 55%, rgba(0,0,0,0.45) 100%);
}
.principal-header-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy-dark);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.principal-header-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.88);
    font-style: italic;
    margin: 0.4rem 0 1rem;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* Profile card photo strip */
.profile-school-tag {
    margin-top: 0.45rem;
    font-size: 0.78rem;
    color: var(--navy);
    font-weight: 500;
    line-height: 1.4;
}
.profile-school-tag i {
    color: var(--gold-dark);
    margin-right: 0.3rem;
}
.profile-photo-strip {
    position: relative;
    overflow: hidden;
    border-top: 3px solid var(--gold);
}
.profile-photo-strip img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.5s ease;
}
.profile-photo-strip:hover img {
    transform: scale(1.04);
}
.profile-photo-strip-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(10,20,55,0.82));
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 1.4rem 0.85rem 0.6rem;
    text-transform: uppercase;
}
.profile-photo-strip-caption i {
    color: var(--gold);
    margin-right: 0.3rem;
}

/* -----------------------------------------------------------------
   8. FEATURE CARDS
   ----------------------------------------------------------------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--t);
    border: 1px solid var(--gray-100);
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t);
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
    width: 64px; height: 64px;
    display: inline-flex;
    align-items: center; justify-content: center;
    font-size: 1.6rem;
    background: linear-gradient(135deg, var(--cream), var(--ivory));
    color: var(--navy);
    border-radius: var(--radius);
    margin-bottom: 1.25rem;
    transition: all var(--t);
    border: 2px solid var(--gold-light);
}
.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy-dark);
    transform: rotate(8deg) scale(1.05);
    border-color: var(--gold-dark);
}
.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 0.75rem;
}
.feature-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* -----------------------------------------------------------------
   9. ABOUT SECTION
   ----------------------------------------------------------------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.about-image-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-image-wrap::before {
    content: '';
    position: absolute;
    top: -15px; left: -15px;
    width: 100px; height: 100px;
    border-top: 4px solid var(--gold);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius-lg) 0 0 0;
    z-index: 2;
}
.about-image-wrap::after {
    content: '';
    position: absolute;
    bottom: -15px; right: -15px;
    width: 100px; height: 100px;
    border-bottom: 4px solid var(--navy);
    border-right: 4px solid var(--navy);
    border-radius: 0 0 var(--radius-lg) 0;
    z-index: 2;
}
.about-image-wrap img { transition: transform var(--t-slow); }
.about-image-wrap:hover img { transform: scale(1.05); }

.about-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--navy-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}
.about-content > p {
    color: var(--gray-500);
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Quote */
.quote-block {
    border-left: 4px solid var(--gold);
    padding: 1rem 1.25rem;
    background: var(--cream);
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--navy-dark);
    font-family: var(--font-heading);
}
.quote-block cite {
    display: block;
    font-style: normal;
    font-size: 0.85rem;
    color: var(--gold-dark);
    margin-top: 0.5rem;
    font-family: var(--font-body);
    font-weight: 600;
}

/* Check list */
.check-list { margin: 1.25rem 0; }
.check-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.6rem;
    color: var(--gray-700);
}
.check-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0; top: 0;
    width: 22px; height: 22px;
    background: var(--gold);
    color: var(--navy-dark);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.7rem;
}

/* -----------------------------------------------------------------
   10. VISION & MISSION
   ----------------------------------------------------------------- */
.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.vm-card {
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    transition: all var(--t);
}
.vm-card:hover { transform: translateY(-5px); }
.vm-vision {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
}
.vm-mission {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--navy-dark);
}
.vm-card::after {
    content: '';
    position: absolute;
    top: -50px; right: -50px;
    width: 150px; height: 150px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
}
.vm-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}
.vm-card h3 {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    margin-bottom: 1rem;
    position: relative;
}
.vm-card h3::after {
    content: '';
    display: block;
    width: 50px; height: 3px;
    background: currentColor;
    margin-top: 0.5rem;
    opacity: 0.6;
}
.vm-card p { line-height: 1.8; }

/* -----------------------------------------------------------------
   11. STATS BAND
   ----------------------------------------------------------------- */
.stats-band {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    color: var(--white);
    padding: var(--space-2xl) 0;
    position: relative;
    overflow: hidden;
}
.stats-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(178, 34, 34, 0.15) 0%, transparent 50%);
    pointer-events: none;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}
.stat-item { text-align: center; }
.stat-num {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--gold-light);
    line-height: 1;
    margin-bottom: 0.5rem;
    display: block;
}
.stat-label {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.05em;
}
.stat-divider { width: 60px; height: 2px; background: var(--gold); margin: 0.75rem auto; }

/* -----------------------------------------------------------------
   12. TESTIMONIAL / SLIDER
   ----------------------------------------------------------------- */
.testimonial-slider { padding: 1rem 0 3rem; }
.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin: 0 auto;
    max-width: 800px;
    text-align: center;
    position: relative;
}
.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: -10px; left: 30px;
    font-family: var(--font-heading);
    font-size: 6rem;
    color: var(--gold);
    line-height: 1;
    opacity: 0.4;
}
.testimonial-text {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}
.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}
.testimonial-avatar {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    display: flex; align-items: center; justify-content: center;
    color: var(--navy-dark);
    font-weight: 700;
    font-size: 1.3rem;
    font-family: var(--font-heading);
}
.testimonial-meta { text-align: left; }
.testimonial-name { font-weight: 700; color: var(--navy-dark); }
.testimonial-role { font-size: 0.85rem; color: var(--gray-500); }

.swiper-pagination-bullet {
    background: var(--navy) !important;
    opacity: 0.3 !important;
}
.swiper-pagination-bullet-active {
    background: var(--gold) !important;
    opacity: 1 !important;
    width: 28px;
    border-radius: 4px;
}

/* -----------------------------------------------------------------
   13. CTA BAND
   ----------------------------------------------------------------- */
.cta-band {
    background: linear-gradient(135deg, var(--red) 0%, #8B1A1A 100%);
    color: var(--white);
    padding: var(--space-xl) 0;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0l30 30-30 30L0 30z' fill='%23ffffff' fill-opacity='0.04'/%3E%3C/svg%3E");
}
.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
.cta-text h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 0.5rem;
}
.cta-text p { color: rgba(255,255,255,0.9); }
.cta-actions { display: flex; gap: 0.85rem; flex-wrap: wrap; }

/* -----------------------------------------------------------------
   14. FOOTER
   ----------------------------------------------------------------- */
.site-footer {
    background: var(--navy-dark);
    color: rgba(255,255,255,0.75);
    padding: var(--space-3xl) 0 0;
    position: relative;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-dark), var(--red), var(--gold-dark), var(--gold));
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2.5rem;
    padding-bottom: var(--space-2xl);
}
.brand-footer { margin-bottom: 1rem; }
.brand-footer .brand-name { color: var(--white); }
.brand-footer .brand-sub { color: var(--gold-light); }
.footer-tagline {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--gold-light);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}
.footer-about-text { font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.25rem; }
.footer-social { display: flex; gap: 0.5rem; }
.footer-social a {
    width: 38px; height: 38px;
    display: inline-flex;
    align-items: center; justify-content: center;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    color: var(--white);
    transition: all var(--t);
}
.footer-social a:hover { background: var(--gold); color: var(--navy-dark); transform: translateY(-3px); }

.footer-title {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.6rem;
    position: relative;
}
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 35px; height: 2px;
    background: var(--gold);
}
.footer-links li { margin-bottom: 0.65rem; }
.footer-links a {
    color: rgba(255,255,255,0.75);
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all var(--t);
}
.footer-links a i { color: var(--gold); font-size: 0.7rem; }
.footer-links a:hover { color: var(--gold-light); padding-left: 5px; }

.footer-contact li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    font-size: 0.9rem;
    line-height: 1.6;
}
.footer-contact i { color: var(--gold); margin-top: 4px; }
.footer-contact a { color: rgba(255,255,255,0.75); }
.footer-contact a:hover { color: var(--gold-light); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
    font-size: 0.85rem;
}
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.footer-credit i { color: var(--red-light); }

/* -----------------------------------------------------------------
   15. SCROLL TOP + WHATSAPP FLOAT
   ----------------------------------------------------------------- */
.scroll-top {
    position: fixed;
    bottom: 1.5rem; right: 1.5rem;
    width: 48px; height: 48px;
    background: var(--navy);
    color: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--t);
    z-index: 900;
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--gold); color: var(--navy-dark); transform: translateY(-3px); }

.whatsapp-float {
    position: fixed;
    bottom: 5.5rem; right: 1.5rem;
    width: 52px; height: 52px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
    z-index: 900;
    transition: all var(--t);
    animation: whatsappPulse 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); color: var(--white); }
@keyframes whatsappPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* -----------------------------------------------------------------
   16. PAGE CONTENT (inner pages)
   ----------------------------------------------------------------- */
.content-section { padding: var(--space-2xl) 0; }
.content-section.alt { background: var(--cream); }

.lead {
    font-size: 1.15rem;
    color: var(--navy-dark);
    font-weight: 500;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.prose p {
    margin-bottom: 1.1rem;
    color: var(--gray-700);
    line-height: 1.85;
}
.prose h3 {
    font-family: var(--font-heading);
    color: var(--navy-dark);
    font-size: 1.5rem;
    margin: 1.75rem 0 0.85rem;
    padding-left: 0.85rem;
    border-left: 4px solid var(--gold);
}
.prose h4 {
    color: var(--navy-dark);
    font-size: 1.15rem;
    margin: 1.25rem 0 0.6rem;
}

/* In-section sidebar nav */
.section-nav {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
}
.section-nav h4 {
    font-family: var(--font-heading);
    color: var(--navy-dark);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--gold);
}
.section-nav ul li { margin-bottom: 0.4rem; }
.section-nav ul li a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.6rem;
    border-radius: var(--radius-sm);
    color: var(--gray-700);
    font-size: 0.92rem;
    transition: all var(--t);
}
.section-nav ul li a i { color: var(--gold); font-size: 0.65rem; }
.section-nav ul li a:hover, .section-nav ul li a.active {
    background: var(--cream);
    color: var(--navy-dark);
    padding-left: 0.85rem;
}

/* Layout with sidebar */
.layout-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 2.5rem;
    align-items: start;
}

/* -----------------------------------------------------------------
   17. PROFILE CARDS (Principal, Chairman, Advisory)
   ----------------------------------------------------------------- */
.profile-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 3rem;
    align-items: start;
}
.profile-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
}
.profile-photo {
    aspect-ratio: 1 / 1.1;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    position: relative;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-photo .initials {
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--gold-light);
    font-weight: 800;
}
.profile-info { padding: 1.5rem; text-align: center; border-top: 4px solid var(--gold); }
.profile-info h3 {
    font-family: var(--font-heading);
    color: var(--navy-dark);
    font-size: 1.4rem;
    margin-bottom: 0.25rem;
}
.profile-role {
    color: var(--gold-dark);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
}
.profile-quote {
    background: var(--cream);
    padding: 1rem 1.25rem;
    border-left: 4px solid var(--gold);
    margin-top: 1.5rem;
    font-style: italic;
    color: var(--navy-dark);
    font-family: var(--font-heading);
    border-radius: 0 var(--radius) var(--radius) 0;
}
.profile-quote cite {
    display: block;
    font-style: normal;
    font-weight: 600;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--gold-dark);
    font-family: var(--font-body);
}

/* -----------------------------------------------------------------
   18. ADVISORY / TEAM GRID
   ----------------------------------------------------------------- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}
.team-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--t);
    text-align: center;
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.team-card-photo {
    aspect-ratio: 1 / 1.1;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    display: flex; align-items: center; justify-content: center;
    position: relative;
}
.team-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card-photo .initials {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--gold-light);
    font-weight: 800;
}
.team-card-photo::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(14, 26, 62, 0.7), transparent);
}
.team-card-body { padding: 1.5rem; }
.team-card-body h3 {
    font-family: var(--font-heading);
    color: var(--navy-dark);
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}
.team-role {
    color: var(--gold-dark);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}
.team-card-body p {
    color: var(--gray-500);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* -----------------------------------------------------------------
   19. ADMISSION STEPS
   ----------------------------------------------------------------- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    counter-reset: step;
}
.step-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    position: relative;
    counter-increment: step;
    transition: all var(--t);
    border-bottom: 4px solid var(--gold);
}
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.step-num {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy-dark);
    border-radius: 50%;
    display: inline-flex;
    align-items: center; justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-gold);
}
.step-card h4 {
    font-family: var(--font-heading);
    color: var(--navy-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}
.step-card p {
    color: var(--gray-500);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* -----------------------------------------------------------------
   20. FORMS
   ----------------------------------------------------------------- */
.form-wrap {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border-top: 4px solid var(--gold);
}
.form-wrap h3 {
    font-family: var(--font-heading);
    color: var(--navy-dark);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}
.form-wrap > p {
    color: var(--gray-500);
    margin-bottom: 1.75rem;
    font-size: 0.95rem;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--navy-dark);
}
.form-field label .req { color: var(--red); }
.form-control {
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--gray-900);
    transition: all var(--t);
    background: var(--gray-50);
}
.form-control:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231B2A5B' d='M6 8L0 2l2-2 4 4 4-4 2 2z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }

/* Form alert */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}
.alert-success { background: #DCFCE7; color: #14532D; border-left: 4px solid var(--success); }
.alert-error   { background: #FEE2E2; color: #7F1D1D; border-left: 4px solid var(--danger); }
.alert-info    { background: #E0F2FE; color: #0C4A6E; border-left: 4px solid var(--info); }
.alert i { font-size: 1.2rem; }

/* -----------------------------------------------------------------
   21. CURRICULUM CARDS
   ----------------------------------------------------------------- */
.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
}
.curr-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--t);
    border: 1px solid var(--gray-100);
}
.curr-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.curr-card-img {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    position: relative;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.curr-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.curr-card:hover .curr-card-img img { transform: scale(1.08); }
.curr-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(14, 26, 62, 0.5), transparent 50%);
}
.curr-stage {
    position: absolute;
    top: 1rem; left: 1rem;
    background: var(--gold);
    color: var(--navy-dark);
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    z-index: 2;
}
.curr-card-body { padding: 1.5rem; }
.curr-card-body h3 {
    font-family: var(--font-heading);
    color: var(--navy-dark);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}
.curr-grade {
    color: var(--gold-dark);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.85rem;
}
.curr-card-body p {
    color: var(--gray-500);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}
.curr-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.5rem;
}
.curr-list li {
    background: var(--cream);
    color: var(--navy-dark);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 500;
    border: 1px solid var(--gold-light);
}

/* -----------------------------------------------------------------
   22. FACILITIES GRID
   ----------------------------------------------------------------- */
.facility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.facility-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--t);
    border: 1px solid var(--gray-100);
}
.facility-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.facility-image {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.facility-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--t-slow);
}
.facility-card:hover .facility-image img {
    transform: scale(1.08);
}
.facility-content {
    padding: 1.75rem;
    text-align: center;
}
.facility-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy-dark);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: -3rem auto 1rem;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-gold);
    transition: transform var(--t);
    border: 3px solid var(--white);
}
.facility-card:hover .facility-icon {
    transform: rotate(-10deg) scale(1.1);
}
.facility-content h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--navy-dark);
    margin-bottom: 0.75rem;
    font-weight: 700;
}
.facility-content p {
    font-size: 0.92rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* -----------------------------------------------------------------
   23. DISCLOSURE TABLES
   ----------------------------------------------------------------- */
.disclosure-section {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--gold);
}
.disclosure-section h3 {
    font-family: var(--font-heading);
    color: var(--navy-dark);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.disclosure-section h3 i { color: var(--gold); }
table.disclosure-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}
.disclosure-table th, .disclosure-table td {
    padding: 0.85rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}
.disclosure-table th {
    background: var(--cream);
    color: var(--navy-dark);
    font-weight: 700;
    font-family: var(--font-heading);
}
.disclosure-table tr:hover td { background: var(--gray-50); }
.disclosure-table a {
    color: var(--navy);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.disclosure-table a:hover { color: var(--gold-dark); }
.disclosure-table a i { font-size: 0.85rem; }

/* -----------------------------------------------------------------
   24. GALLERY
   ----------------------------------------------------------------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}
.gallery-item {
    aspect-ratio: 1/1;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    position: relative;
    box-shadow: var(--shadow-sm);
}
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform var(--t-slow);
}
.gallery-item:hover img { transform: scale(1.15); }
.gallery-item::after {
    content: '\f00e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    inset: 0;
    background: rgba(14, 26, 62, 0.65);
    color: var(--gold-light);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    opacity: 0;
    transition: opacity var(--t);
}
.gallery-item:hover::after { opacity: 1; }

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(14, 26, 62, 0.95);
    z-index: 2000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--t);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--gold);
}
.lightbox-close {
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    width: 44px; height: 44px;
    background: var(--gold);
    color: var(--navy-dark);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
}

/* -----------------------------------------------------------------
   25. CONTACT
   ----------------------------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2.5rem;
    align-items: start;
}
.contact-info-card {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}
.contact-info-card::before {
    content: '';
    position: absolute;
    top: -50px; right: -50px;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
}
.contact-info-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    position: relative;
}
.contact-info-card > p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 2rem;
    position: relative;
}
.contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
}
.contact-info-icon {
    width: 48px; height: 48px;
    background: var(--gold);
    color: var(--navy-dark);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.contact-info-item h4 {
    color: var(--gold-light);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.2rem;
}
.contact-info-item p { color: var(--white); font-size: 0.95rem; line-height: 1.5; }
.contact-info-item a { color: var(--white); }
.contact-info-item a:hover { color: var(--gold-light); }

.contact-map {
    margin-top: 2rem;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 4px solid var(--gold);
    position: relative;
}
.contact-map iframe { width: 100%; height: 280px; border: 0; display: block; }

/* -----------------------------------------------------------------
   26. CAREER
   ----------------------------------------------------------------- */
.career-perks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin: 2rem 0;
}
.perk-card {
    background: var(--white);
    padding: 1.75rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all var(--t);
    border-top: 3px solid var(--gold);
}
.perk-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.perk-icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, var(--cream), var(--ivory));
    color: var(--gold-dark);
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    border: 2px solid var(--gold-light);
}
.perk-card h4 {
    font-family: var(--font-heading);
    color: var(--navy-dark);
    margin-bottom: 0.4rem;
    font-size: 1.05rem;
}
.perk-card p {
    color: var(--gray-500);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* -----------------------------------------------------------------
   27. ANIMATIONS & AOS OVERRIDES
   ----------------------------------------------------------------- */
[data-aos="fade-up"] { transform: translateY(30px); }
[data-aos="fade-right"] { transform: translateX(-30px); }
[data-aos="fade-left"] { transform: translateX(30px); }
[data-aos="zoom-in"] { transform: scale(0.9); }

/* Counter animation styling */
.counter { display: inline-block; }

/* -----------------------------------------------------------------
   28. RESPONSIVE
   ----------------------------------------------------------------- */
@media (max-width: 1100px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .layout-with-sidebar { grid-template-columns: 1fr; }
    .section-nav { position: static; }
}

@media (max-width: 900px) {
    .nav-toggle { display: flex; }
    .nav-close { display: block; }
    .btn-apply { display: none; }
    .btn-apply-mobile { display: inline-flex; }

    .main-nav {
        position: fixed;
        top: 0; right: -100%;
        width: min(340px, 85vw);
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 4.5rem 1.5rem 2rem;
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
        transition: right var(--t);
        z-index: 1100;
    }
    .main-nav.open { right: 0; }
    .nav-list { flex-direction: column; align-items: stretch; width: 100%; gap: 0; }
    .nav-item { width: 100%; }
    .nav-link {
        padding: 0.85rem 1rem;
        font-size: 1rem;
        border-bottom: 1px solid var(--gray-100);
        justify-content: space-between;
    }
    .nav-link::after { display: none; }
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0 0 0 1rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--t);
        border-top: none;
    }
    .has-dropdown.open .dropdown { max-height: 500px; }
    .has-dropdown .nav-caret { transition: transform var(--t); }
    .has-dropdown.open .nav-caret { transform: rotate(180deg); }

    /* Body scroll lock when nav open */
    body.nav-open { overflow: hidden; }

    .top-bar-left { font-size: 0.75rem; }
    .top-bar-left .divider { display: none; }

    .about-grid,
    .vm-grid,
    .profile-layout,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .profile-card, .section-nav { position: static; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }

    .cta-inner { flex-direction: column; text-align: center; }

    .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    :root { --header-h: 70px; }
    .section { padding: var(--space-2xl) 0; }
    .brand-logo { width: 44px; height: 44px; }
    .brand-name { font-size: 1.05rem; }
    .brand-sub { font-size: 0.62rem; }

    .top-bar-left span:nth-child(3),
    .top-bar-left span:nth-child(4),
    .top-bar-left span:nth-child(5) { display: none; }

    .hero-stats { grid-template-columns: 1fr 1fr; padding: 1rem; }
    .hero-stat-num { font-size: 1.6rem; }

    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-num { font-size: 2rem; }

    .feature-card, .vm-card, .form-wrap, .contact-info-card { padding: 1.5rem; }

    .footer-grid { grid-template-columns: 1fr; }

    .whatsapp-float { bottom: 4.75rem; }
    .scroll-top, .whatsapp-float { width: 42px; height: 42px; }
}
/* =========================================================================
   HERO SLIDER ADDITIONS — append to your existing stylesheet
   (only the rules needed for the new hero slider + Ken Burns effect)

   WHY THIS FILE EXISTS:
   The original hero had a single <img> inside .hero-bg that provided the
   section's height. When we replaced that <img> with a Swiper slider made
   of <div> background-image slides, the section had no intrinsic height
   and collapsed to ~0 pixels.

   The .hero rule below restores the height. Paste this entire file at the
   END of your existing main stylesheet (after all other rules), and the
   hero will render correctly.
   ========================================================================= */

/* 1. Base hero — establishes height + positioning context.
      This is the rule that stops the hero from collapsing.
      Without it, the section had no intrinsic height once the <img> was
      removed in favour of the Swiper background slider. */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--navy-dark, #0E1A3E);  /* fallback while slides load */
}

/* 2. Make .hero.hero-slider a positioning context for the slider background */
.hero.hero-slider {
    position: relative;
    overflow: hidden;
}

/* 3. Slider track — fills the hero area, sits BEHIND the overlay & content */
.hero-bg-swiper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.hero-bg-swiper .swiper-wrapper {
    height: 100%;
}
.hero-bg-swiper .swiper-slide {
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform;
}

/* 4. Ken Burns slow-zoom on the active slide (8s ease-out, 1.0 -> 1.12) */
.hero-bg-swiper .swiper-slide {
    transform: scale(1.0);
    transition: transform 8s ease-out;
}
.hero-bg-swiper .swiper-slide.kb-running {
    transform: scale(1.12);
}

/* 5. Make sure overlay and content stack above the slider */
.hero.hero-slider .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}
.hero.hero-slider .container,
.hero.hero-slider .hero-scroll {
    position: relative;
    z-index: 2;
}

/* 6. Hero slider pagination (dots) — pill style, bottom center */
.hero-pagination {
    position: absolute;
    bottom: 2.2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    pointer-events: auto;
}
.hero-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    opacity: 1;
    transition: width 0.35s ease, background 0.35s ease, border-radius 0.35s ease;
    cursor: pointer;
    border: 2px solid transparent;
}
.hero-pagination .swiper-pagination-bullet-active {
    width: 36px;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.55);
}

/* 7. On hover, pause hint (subtle ring) */
.hero-pagination .swiper-pagination-bullet:hover {
    background: rgba(255, 255, 255, 0.75);
}

/* 8. Mobile tweaks — keep dots visible above hero scroll cue */
@media (max-width: 768px) {
    .hero {
        min-height: 90vh;       /* slightly shorter on mobile */
    }
    .hero-pagination {
        bottom: 5.5rem;         /* lift above the "scroll to explore" cue */
    }
    .hero-pagination .swiper-pagination-bullet {
        width: 9px;
        height: 9px;
    }
    .hero-pagination .swiper-pagination-bullet-active {
        width: 28px;
    }
    /* Slightly faster zoom on mobile so users see motion sooner */
    .hero-bg-swiper .swiper-slide {
        transition: transform 6s ease-out;
    }
}

/* 9. Reduced motion — disable Ken Burns for accessibility */
@media (prefers-reduced-motion: reduce) {
    .hero-bg-swiper .swiper-slide,
    .hero-bg-swiper .swiper-slide.kb-running {
        transform: none;
        transition: none;
    }
}

/* 10. Welcome / curriculum image — subtle float-in (works with existing data-aos) */
.about-image-wrap img,
.curr-card-img img {
    transition: transform 0.6s ease, filter 0.6s ease;
}
.about-image-wrap:hover img,
.curr-card:hover .curr-card-img img {
    transform: scale(1.04);
}

/* 11. Facility card image — slow Ken Burns on hover (reuses same idea) */
.facility-card img {
    transition: transform 1.6s ease-out;
}
.facility-card:hover img {
    transform: scale(1.10);
}
