/* ========================================
   S.R. PUBLIC SCHOOL -- CSS DESIGN SYSTEM
   CBSE English Medium - Orai
   ======================================== */

/* === DESIGN TOKENS === */
:root {
    /* Primary Palette */
    --maroon: #381E29;
    --maroon-hover: #5A2E3F;
    --maroon-faint: #F5EEF0;
    --maroon-mid: #4D2438;
    --taupe: #AEA693;
    --taupe-light: #D4CEC0;
    --taupe-dark: #7A7162;
    --navy: #0F1E49;
    --navy-hover: #1A3070;
    --navy-faint: #EEF1F8;
    --black: #000000;

    /* Warm tonal surfaces -- new additions */
    --taupe-surface: #E8E3DA;
    --taupe-mid: #C8BFB0;
    --cream-warm: #FDF6EE;
    --maroon-section: rgba(56, 30, 41, 0.05);
    --joy-amber: #F5A623;
    --joy-amber-faint: #FEF3DC;
    --joy-green: #2D7A4F;
    --joy-green-faint: #E8F5EE;
    --cream: #FAF8F5;
    --white: #FFFFFF;

    /* Semantic */
    --bg: #FAF8F5;
    --text: #1A1A1A;
    --text-muted: #5A5045;
    --border: #D4CEC0;

    /* Shadows (warm, school-specific) */
    --shadow-sm: 0 2px 8px rgba(56, 30, 41, 0.08);
    --shadow-md: 0 8px 24px rgba(56, 30, 41, 0.12);
    --shadow-lg: 0 16px 48px rgba(56, 30, 41, 0.16);

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
    --font-label: 'Inter', system-ui, sans-serif;

    /* Spacing scale */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;

    /* Layout */
    --max-width: 1320px;
    --nav-height: 72px;
    --section-pad: var(--space-2xl) 0;

    /* Transitions */
    --transition: 0.3s ease;

    /* Effects */
    --glass-bg: rgba(250, 248, 245, 0.85);
    --glass-blur: blur(20px);
}

/* === RESET === */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul,
ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* === MATERIAL SYMBOLS === */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
    display: inline-flex;
    align-items: center;
}

/* === SECTION CONTAINER === */
.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .section-container {
        padding: 0 1.25rem;
    }
}

@media (max-width: 480px) {
    .section-container {
        padding: 0 1rem;
    }
}

/* === SECTION LABEL === */
.section-label {
    font-family: var(--font-label);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--maroon);
    display: block;
    margin-bottom: 0.5rem;
}

.section-dark-maroon .section-label,
.section-dark-navy .section-label,
.section-dark-black .section-label {
    color: var(--joy-amber);
}

/* === TYPOGRAPHY SCALE === */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    line-height: 1.2;
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 600;
}

h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
}

p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
}

/* === SKIP NAV === */
.skip-nav {
    position: absolute;
    top: -100px;
    left: 1rem;
    background: var(--maroon);
    color: var(--cream);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    z-index: 9999;
    transition: top 0.2s;
    text-decoration: none;
    font-weight: 700;
}

.skip-nav:focus {
    top: 1rem;
}

/* === NAVBAR === */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    height: var(--nav-height);
    display: flex;
    align-items: center;
    transition: box-shadow var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

/* Logo */
.nav-logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    line-height: 1;
}

.logo-sr {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--maroon);
    letter-spacing: -0.02em;
}

.logo-name {
    font-family: var(--font-label);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text);
}

.logo-tag {
    font-family: var(--font-label);
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--maroon);
    opacity: 0.85;
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-link {
    font-family: var(--font-label);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
    transition: all var(--transition);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--maroon);
    border-bottom-color: var(--taupe);
}

/* Admissions Badge */
.nav-admissions {
    background: var(--maroon);
    color: var(--cream);
    font-family: var(--font-label);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.45rem 1rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: background var(--transition);
    white-space: nowrap;
}

.nav-admissions:hover {
    background: var(--maroon-hover);
}

.nav-admissions-dot {
    width: 6px;
    height: 6px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

/* Hamburger */
.hamburger {
    display: none;
    padding: 0.5rem;
    color: var(--maroon);
    background: none;
    border: none;
    cursor: pointer;
}

.nav-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--cream);
    cursor: pointer;
    font-size: 1.75rem;
    display: none;
}

/* === HERO SECTION === */
.hero {
    min-height: min(90vh, 720px);
    background: var(--maroon);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-height) + 3rem) 0 3.5rem;
    clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
}

.hero-mesh {
    position: absolute;
    inset: 0;
    opacity: 0.06;
    background-image: radial-gradient(circle at 1px 1px, var(--cream) 1px, transparent 0);
    background-size: 32px 32px;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: var(--joy-amber);
    font-family: var(--font-label);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 700;
    color: var(--cream);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero h2 {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 500;
    color: rgba(250, 248, 245, 0.90);
    margin-bottom: 1.5rem;
}

.hero-body {
    font-size: 1.05rem;
    color: rgba(250, 248, 245, 0.88);
    max-width: 560px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-btn-primary {
    background: var(--cream);
    color: var(--maroon);
    font-family: var(--font-label);
    font-weight: 700;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
}

.hero-btn-primary:hover {
    background: var(--taupe-light);
}

.hero-btn-ghost {
    border: 2px solid rgba(250, 248, 245, 0.4);
    color: var(--cream);
    font-family: var(--font-label);
    font-weight: 700;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
}

.hero-btn-ghost:hover {
    border-color: var(--taupe);
    background: rgba(250, 248, 245, 0.08);
}

/* Hero Visual */
.hero-visual {
    background: linear-gradient(135deg, rgba(15, 30, 73, 0.8), rgba(56, 30, 41, 0.6));
    border: 1px solid rgba(174, 166, 147, 0.25);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    transform: rotate(2deg);
    transition: transform 0.7s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-visual:hover {
    transform: rotate(0deg);
}

.hero-visual-icon {
    font-size: 3.5rem;
    color: var(--joy-amber);
}

.hero-visual-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--cream);
    font-weight: 600;
    line-height: 1.3;
}

.hero-visual-sub {
    font-size: 0.85rem;
    color: rgba(250, 248, 245, 0.88);
}

.hero-chips {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    font-family: var(--font-label);
    font-size: 0.7rem;
    font-weight: 700;
    width: fit-content;
}

.chip-cream {
    background: var(--cream);
    color: var(--maroon);
}

.chip-navy {
    background: var(--navy);
    color: var(--cream);
}

.chip-maroon {
    background: var(--maroon-hover);
    color: var(--cream);
}

/* === ANNOUNCEMENT TICKER === */
.ticker {
    background: var(--navy);
    overflow: hidden;
    white-space: nowrap;
    padding: 0.65rem 0;
    display: flex;
    align-items: center;
    position: relative;
    border-bottom: 1px solid rgba(174, 166, 147, 0.15);
}

.ticker-badge-wrap {
    position: relative;
    z-index: 5;
    background: var(--navy);
    padding: 0 1.25rem 0 1rem;
    box-shadow: 14px 0 18px -4px var(--navy);
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.ticker-badge {
    background: var(--maroon);
    color: var(--cream);
    font-family: var(--font-label);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    white-space: nowrap;
    flex-shrink: 0;
    border: 1px solid rgba(250, 248, 245, 0.2);
}

.ticker-content {
    overflow: hidden;
    flex: 1;
    display: flex;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 20px, black calc(100% - 20px), transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 20px, black calc(100% - 20px), transparent);
}

.ticker-track {
    display: flex;
    gap: 3rem;
    animation: ticker-scroll 40s linear infinite;
    align-items: center;
    will-change: transform;
}

.ticker-track:hover {
    animation-play-state: paused;
}

.ticker-item {
    color: rgba(250, 248, 245, 0.88);
    font-family: var(--font-label);
    font-size: 0.82rem;
    white-space: nowrap;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-1 * var(--ticker-half-width, 50%)));
    }
}

/* === PAGE HEADER === */
.page-header {
    background: var(--maroon);
    color: var(--cream);
    padding: calc(var(--nav-height) + 4rem) 0 4rem;
    clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.06;
    background-image: radial-gradient(circle at 1px 1px, var(--cream) 1px, transparent 0);
    background-size: 32px 32px;
}

.page-header.navy {
    background: var(--navy);
}

.page-header.light {
    background: var(--cream);
    clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
}

.page-header.light h1 {
    color: var(--maroon);
}

.page-header.light p {
    color: var(--text-muted);
}

.page-header.light::before {
    background-image: radial-gradient(circle at 1px 1px, var(--taupe-mid) 1px, transparent 0);
    opacity: 0.4;
}

.page-header.taupe-bg {
    background: var(--taupe-surface);
    clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
}

.page-header.taupe-bg h1 {
    color: var(--maroon);
}

.page-header.taupe-bg p {
    color: var(--text-muted);
}

.page-header.taupe-bg::before {
    display: none;
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    color: var(--cream);
    margin-bottom: 0.75rem;
}

.page-header p {
    color: rgba(250, 248, 245, 0.75);
    max-width: 640px;
    font-size: 1.1rem;
}

/* === CARDS === */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--maroon-faint);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.card-icon .material-symbols-outlined {
    font-size: 1.6rem;
    color: var(--maroon);
}

/* === STREAM CARDS === */
.stream-card {
    border-radius: var(--radius-lg);
    padding: 2rem;
    color: var(--cream);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform var(--transition);
}

.stream-card:hover {
    transform: translateY(-4px);
}

.stream-pcm {
    background: var(--maroon);
}

.stream-pcb {
    background: var(--navy);
}

.stream-commerce {
    background: var(--taupe-surface);
    border: 2px solid var(--taupe-mid);
    color: var(--text);
}

.stream-commerce h3 {
    color: var(--maroon);
}

.stream-commerce .stream-subjects {
    color: var(--text-muted);
}

.stream-commerce .stream-for {
    color: var(--text-muted);
    font-style: italic;
}

.stream-commerce .material-symbols-outlined {
    color: var(--maroon);
    opacity: 1;
}

.stream-humanities {
    background: var(--cream-warm);
    border: 2px solid var(--border);
    color: var(--text);
}

.stream-humanities h3 {
    color: var(--maroon);
}

.stream-humanities .stream-subjects {
    color: var(--text-muted);
}

.stream-humanities .stream-for {
    color: var(--text-muted);
    font-style: italic;
}

.stream-humanities .material-symbols-outlined {
    color: var(--navy);
    opacity: 1;
}

.stream-card .material-symbols-outlined {
    font-size: 2.25rem;
    opacity: 0.85;
}

.stream-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--cream);
}

.stream-subjects {
    font-size: 0.85rem;
    color: rgba(250, 248, 245, 0.80);
    line-height: 1.5;
}

.stream-for {
    font-size: 0.75rem;
    color: rgba(250, 248, 245, 0.85);
    font-style: italic;
    margin-top: auto;
}

/* === DARK SECTIONS === */
.section-dark-maroon {
    background: var(--maroon);
    color: var(--cream);
    padding: var(--section-pad);
}

.section-dark-navy {
    background: var(--navy);
    color: var(--cream);
    padding: var(--section-pad);
}

.section-dark-black {
    background: var(--black);
    color: var(--cream);
    padding: var(--section-pad);
}

.section-warm-taupe {
    background: var(--taupe-surface);
    padding: var(--space-2xl) 0;
}

.section-warm-taupe h2 {
    color: var(--maroon);
}

.section-warm-taupe p {
    color: var(--text);
}

.section-warm-taupe .card p {
    color: var(--text-muted);
}

.section-warm-taupe .section-label {
    color: var(--maroon);
}

.section-warm-taupe .card {
    background: var(--white);
    border-color: var(--taupe-mid);
}

.section-dark-maroon h2,
.section-dark-navy h2,
.section-dark-black h2 {
    color: var(--cream);
}

.section-dark-maroon p,
.section-dark-navy p {
    color: rgba(250, 248, 245, 0.85);
}

.section-dark-maroon .card {
    background: rgba(250, 248, 245, 0.08);
    border-color: rgba(250, 248, 245, 0.12);
}

.section-dark-navy .card {
    background: rgba(250, 248, 245, 0.08);
    border-color: rgba(250, 248, 245, 0.12);
}

/* === DIFFERENTIATION NOTICE === */
.notice-differentiation {
    border-left: 4px solid var(--maroon);
    background: var(--maroon-faint);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: var(--space-xl) 0;
}

.notice-differentiation .material-symbols-outlined {
    color: var(--maroon);
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.notice-differentiation p {
    font-size: 0.9rem;
    color: var(--text);
    margin: 0;
}

.notice-differentiation strong {
    color: var(--maroon);
}

/* === PRINCIPAL QUOTE CARD === */
.principal-quote {
    background: var(--maroon);
    border-radius: var(--radius-xl);
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.quote-icon-large {
    font-size: 6rem;
    color: rgba(174, 166, 147, 0.15);
    position: absolute;
    top: -1rem;
    left: -1rem;
    font-family: Georgia, serif;
    line-height: 1;
}

.quote-text {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--cream);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.quote-attribution {
    font-family: var(--font-label);
    font-size: 0.8rem;
    color: var(--taupe);
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* === FOOTER === */
.site-footer {
    background: var(--black);
    color: var(--cream);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 3rem;
}

.footer-logo-area .logo-sr {
    color: var(--cream);
}

.footer-logo-area .logo-name,
.footer-logo-area .logo-tag {
    color: var(--taupe);
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(250, 248, 245, 0.80);
    margin-top: 0.75rem;
    line-height: 1.6;
}

.footer-col h5 {
    font-family: var(--font-label);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--taupe);
    margin-bottom: 1.25rem;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-col a {
    color: rgba(250, 248, 245, 0.85);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--cream);
}

.footer-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(250, 248, 245, 0.85);
    margin-bottom: 0.6rem;
}

.footer-info-item .material-symbols-outlined {
    font-size: 1rem;
    color: var(--taupe);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.footer-notice {
    background: rgba(174, 166, 147, 0.08);
    border: 1px solid rgba(174, 166, 147, 0.20);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
}

.footer-notice p {
    font-size: 0.78rem;
    color: rgba(250, 248, 245, 0.85);
    margin: 0;
    line-height: 1.6;
}

.footer-notice strong {
    color: var(--taupe);
}

.footer-bottom {
    border-top: 1px solid rgba(174, 166, 147, 0.15);
    margin-top: 3rem;
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: rgba(250, 248, 245, 0.75);
}

/* === MOBILE BOTTOM NAV === */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    z-index: 99;
    padding: 0.5rem 0 calc(0.5rem + env(safe-area-inset-bottom));
}

.mobile-bottom-nav-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.mob-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    text-decoration: none;
    color: var(--text-muted);
    font-family: var(--font-label);
    font-size: 0.6rem;
    font-weight: 600;
    padding: 0.35rem 0.5rem;
    border-radius: var(--radius-sm);
    transition: color var(--transition);
}

.mob-nav-item .material-symbols-outlined {
    font-size: 1.35rem;
}

.mob-nav-item.active {
    color: var(--maroon);
}

/* === BACK TO TOP === */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    background: var(--maroon);
    color: var(--cream);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity var(--transition), transform var(--transition);
    z-index: 90;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === MAP WRAPPER === */
.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 420px;
    position: relative;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* === FACILITY SECTIONS === */
.facility-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: var(--space-2xl) 0;
}

.facility-section.reverse {
    direction: rtl;
}

.facility-section.reverse>* {
    direction: ltr;
}

.facility-visual {
    border-radius: var(--radius-xl);
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(174, 166, 147, 0.25);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition), box-shadow var(--transition);
}

.facility-visual:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.facility-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.08;
    background-image: radial-gradient(circle at 1px 1px, var(--cream) 1px, transparent 0);
    background-size: 24px 24px;
    pointer-events: none;
}

.facility-visual::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(250, 248, 245, 0.15), transparent 70%);
    pointer-events: none;
}

.fac-science {
    background: linear-gradient(135deg, #381E29, #5A2E3F);
}

.fac-maths {
    background: linear-gradient(135deg, #0F1E49, #1A3070);
}

.fac-computer {
    background: linear-gradient(135deg, #381E29, #0F1E49);
}

.fac-library {
    background: linear-gradient(135deg, #7A7162, #AEA693);
}

.fac-sports {
    background: linear-gradient(135deg, #1A1A1A, #381E29);
}

.fac-arts {
    background: linear-gradient(135deg, #5A2E3F, #7A7162);
}

.fac-icon {
    font-size: 3.5rem;
    color: var(--cream);
    background: rgba(250, 248, 245, 0.12);
    border: 1px solid rgba(250, 248, 245, 0.25);
    border-radius: 50%;
    width: 90px;
    height: 90px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    transition: transform var(--transition);
}

.facility-visual:hover .fac-icon {
    transform: scale(1.08);
}

.fac-label {
    font-family: var(--font-label);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--cream);
    background: rgba(0, 0, 0, 0.25);
    padding: 0.4rem 1.1rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(250, 248, 245, 0.18);
}

.facility-content h2 {
    margin-bottom: 1rem;
}

.facility-content p {
    margin-bottom: 1.5rem;
}

.facility-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.facility-feature-tag {
    background: var(--maroon-faint);
    color: var(--maroon);
    font-family: var(--font-label);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
}

/* === GRIDS === */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.classes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.stream-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.principal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.facilities-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.facility-mini-card {
    background: rgba(250, 248, 245, 0.08);
    border: 1px solid rgba(250, 248, 245, 0.12);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    transition: background var(--transition);
}

.facility-mini-card:hover {
    background: rgba(250, 248, 245, 0.12);
}

.facility-mini-card .material-symbols-outlined {
    font-size: 2rem;
    color: var(--taupe);
    margin-bottom: 0.75rem;
}

.facility-mini-card h4 {
    color: var(--cream);
    font-size: 0.9rem;
}

.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--cream);
    margin-bottom: 0.25rem;
}

.stat-item p {
    color: var(--taupe);
    font-size: 0.85rem;
}

/* === CONTACT GRID === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card-icon .material-symbols-outlined {
    font-size: 1.4rem;
    color: var(--cream);
}

.contact-card-icon.maroon {
    background: var(--maroon);
}

.contact-card-icon.navy {
    background: var(--navy);
}

.contact-card-icon.taupe {
    background: var(--taupe-dark);
}

.contact-card-content h4 {
    margin-bottom: 0.35rem;
}

.contact-card-content p {
    font-size: 0.9rem;
}

/* === CAMPUS CALLOUT === */
.campus-callout {
    background: var(--navy);
    color: var(--cream);
    padding: 3rem;
    border-radius: var(--radius-xl);
    text-align: center;
    margin: var(--space-xl) 0;
}

.campus-callout h2 {
    color: var(--cream);
    margin-bottom: 0.5rem;
}

.campus-callout p {
    color: var(--taupe);
}

/* === ACTIVITIES GRID === */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.activity-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.activity-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.activity-card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.activity-card-icon .material-symbols-outlined {
    font-size: 1.8rem;
}

.activity-card-icon.maroon {
    background: var(--maroon-faint);
    color: var(--maroon);
}

.activity-card-icon.navy {
    background: var(--navy-faint);
    color: var(--navy);
}

.activity-card-icon.taupe {
    background: var(--taupe-light);
    color: var(--taupe-dark);
}

.activity-card-icon.maroon-hover {
    background: var(--maroon-faint);
    color: var(--maroon-hover);
}

.activity-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.activity-card p {
    font-size: 0.9rem;
}

/* === TIMELINE === */
.timeline {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0;
    scrollbar-width: thin;
}

.timeline-item {
    min-width: 200px;
    background: var(--maroon);
    color: var(--cream);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    flex-shrink: 0;
}

.timeline-month {
    font-family: var(--font-label);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--taupe);
    margin-bottom: 0.5rem;
}

.timeline-event {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* === PROCESS STEPS === */
.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.process-step {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--maroon);
    color: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-label);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.process-step h4 {
    margin-bottom: 0.5rem;
}

.process-step p {
    font-size: 0.9rem;
}

/* === CLASSES BADGES === */
.classes-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.class-badge {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-sm);
}

.class-badge h4 {
    margin-bottom: 0.25rem;
}

.class-badge p {
    font-size: 0.8rem;
}

/* === DOCUMENTS CHECKLIST === */
.documents-checklist {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.checklist-item:last-child {
    border-bottom: none;
}

.checklist-icon {
    width: 24px;
    height: 24px;
    background: var(--maroon-faint);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.checklist-icon .material-symbols-outlined {
    font-size: 0.9rem;
    color: var(--maroon);
}

.checklist-item p {
    font-size: 0.9rem;
    color: var(--text);
}

/* === IDENTITY BANNER === */
.identity-banner {
    background: var(--navy);
    color: var(--cream);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: var(--space-xl) 0;
}

.identity-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-label);
    font-size: 0.85rem;
    font-weight: 600;
}

.identity-badge .material-symbols-outlined {
    color: var(--taupe);
}

/* === HISTORY TIMELINE === */
.history-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: var(--space-xl) 0;
}

.history-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--maroon);
    color: var(--cream);
    border-radius: var(--radius-lg);
    position: relative;
}

.history-item::after {
    content: '';
    position: absolute;
    right: -1.2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 12px solid var(--maroon);
    display: none;
}

.history-year {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--taupe);
    margin-bottom: 0.5rem;
}

.history-item h4 {
    color: var(--cream);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.history-item p {
    color: rgba(250, 248, 245, 0.70);
    font-size: 0.8rem;
}

@media (min-width: 769px) {
    .history-item:not(:last-child)::after {
        display: block;
    }
}

/* === MISSION VISION GRID === */
.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: var(--space-xl) 0;
}

.mission-card,
.vision-card {
    border-radius: var(--radius-xl);
    padding: 2.5rem;
}

.mission-card {
    background: var(--maroon);
    color: var(--cream);
}

.vision-card {
    background: var(--navy);
    color: var(--cream);
}

.mission-card h3,
.vision-card h3 {
    color: var(--cream);
    margin-bottom: 1rem;
}

.mission-card p,
.vision-card p {
    color: rgba(250, 248, 245, 0.80);
}

.mission-card .material-symbols-outlined,
.vision-card .material-symbols-outlined {
    font-size: 2.5rem;
    color: var(--taupe);
    margin-bottom: 1rem;
}

/* === CORE VALUES === */
.core-values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin: var(--space-xl) 0;
}

.core-value-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.core-value-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.core-value-card .material-symbols-outlined {
    font-size: 2rem;
    color: var(--maroon);
    margin-bottom: 0.75rem;
}

.core-value-card h4 {
    margin-bottom: 0.25rem;
}

.core-value-card p {
    font-size: 0.8rem;
}

/* === PRINCIPAL PROFILE CARD === */
.principal-profile {
    background: var(--maroon-faint);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: start;
    border: 1px solid var(--border);
}

.principal-avatar {
    width: 88px;
    height: 88px;
    background: linear-gradient(135deg, var(--maroon), var(--maroon-hover));
    border: 3px solid var(--taupe-light);
    box-shadow: var(--shadow-sm);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.principal-avatar .material-symbols-outlined {
    font-size: 2.75rem;
    color: var(--cream);
}

.principal-info h3 {
    margin-bottom: 0.25rem;
}

.principal-title {
    font-family: var(--font-label);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--maroon);
    margin-bottom: 1rem;
}

.principal-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.principal-stat {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.principal-stat .material-symbols-outlined {
    font-size: 1rem;
    color: var(--taupe-dark);
}

.principal-message {
    font-style: italic;
    color: var(--text);
    line-height: 1.7;
}

/* === SCHOOL AT A GLANCE === */
.at-glance {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: var(--space-xl) 0;
}

.glance-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.glance-icon {
    width: 44px;
    height: 44px;
    background: var(--maroon-faint);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.glance-icon .material-symbols-outlined {
    font-size: 1.3rem;
    color: var(--maroon);
}

.glance-content h4 {
    margin-bottom: 0.2rem;
}

.glance-content p {
    font-size: 0.9rem;
}

/* === ADDITIONAL FACILITIES STRIP === */
.additional-facilities {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.add-facility {
    background: var(--maroon-faint);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all var(--transition);
}

.add-facility:hover {
    background: var(--border);
}

.add-facility .material-symbols-outlined {
    font-size: 1.8rem;
    color: var(--maroon);
    margin-bottom: 0.5rem;
}

.add-facility p {
    font-size: 0.8rem;
    color: var(--text);
    font-weight: 600;
}

/* === CONTACT CARDS LARGE === */
.contact-cards-large {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: var(--space-xl) 0;
}

.contact-card-large {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    text-align: center;
}

.contact-card-large .material-symbols-outlined {
    font-size: 3rem;
    color: var(--maroon);
    margin-bottom: 1rem;
}

.contact-card-large h3 {
    margin-bottom: 0.75rem;
}

.contact-card-large p {
    font-size: 0.95rem;
}

/* === FADE IN ANIMATION === */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === SECTION SPACING === */
/* Note: section padding is now controlled inline per-section */

/* === RESPONSIVE BREAKPOINTS === */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .hero-grid {
        gap: 2.5rem;
    }

    .core-values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .section-container {
        padding: 0 1.5rem;
    }

    .facility-section {
        grid-template-columns: 1fr;
    }

    .facility-section.reverse {
        direction: ltr;
    }

    .stream-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .history-timeline {
        grid-template-columns: repeat(2, 1fr);
    }

    .classes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .additional-facilities {
        grid-template-columns: repeat(3, 1fr);
    }

    .core-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--maroon);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        z-index: 99;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-close {
        display: block;
    }

    .nav-link {
        color: rgba(250, 248, 245, 0.85);
        font-size: 1.25rem;
        border-bottom: 2px solid transparent;
        padding-bottom: 4px;
    }

    .nav-link:hover {
        color: var(--cream);
        border-bottom-color: var(--taupe-light);
    }

    .nav-link.active {
        color: var(--joy-amber);
        border-bottom: 2px solid var(--joy-amber);
        font-weight: 700;
    }

    .nav-admissions {
        background: var(--cream);
        color: var(--maroon);
    }

    .hero {
        clip-path: polygon(0 0, 100% 0, 100% 96%, 0 100%);
        padding-bottom: 3rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: none;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .classes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stream-cards-grid {
        grid-template-columns: 1fr;
    }

    .principal-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .mobile-bottom-nav {
        display: block;
    }

    main {
        padding-bottom: 4rem;
    }

    .back-to-top {
        bottom: 5.5rem;
    }

    .facility-section {
        grid-template-columns: 1fr;
        padding: var(--space-xl) 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .activities-grid {
        grid-template-columns: 1fr;
    }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
    }

    .core-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .at-glance {
        grid-template-columns: 1fr;
    }

    .principal-profile {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .principal-avatar {
        margin: 0 auto;
    }

    .principal-stats {
        justify-content: center;
    }

    .identity-banner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .contact-cards-large {
        grid-template-columns: 1fr;
    }

    .history-timeline {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .additional-facilities {
        grid-template-columns: repeat(2, 1fr);
    }

    .facilities-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-header {
        padding: calc(var(--nav-height) + 3rem) 0 3rem;
    }
}

@media (max-width: 480px) {
    .section-container {
        padding: 0 1rem;
    }

    .hero {
        padding-top: calc(var(--nav-height) + 2.5rem);
        padding-bottom: 2.5rem;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .classes-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        padding: 2rem 1rem;
    }

    .ticker-badge-wrap {
        padding: 0 0.5rem 0 0.75rem;
    }

    .ticker-badge {
        font-size: 0.65rem;
        padding: 0.2rem 0.55rem;
    }

    .ticker-item {
        font-size: 0.75rem;
    }

    .core-values-grid {
        grid-template-columns: 1fr;
    }

    .additional-facilities {
        grid-template-columns: 1fr;
    }

    .facilities-preview-grid {
        grid-template-columns: 1fr;
    }

    .stats-bar {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }

    .page-header p {
        font-size: 1rem;
    }
}

/* === UTILITY CLASSES === */
.text-center {
    text-align: center;
}

/* === CLIP SECTION TOP === */
/* Used on dark sections with angled top edge (index.html Classes section) */
.clip-section-top {
    clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 100%);
    margin-top: -2rem;
    position: relative;
    z-index: 1;
}

/* === ACTIVITIES STRIP === */
/* Horizontal strip of co-curricular activity icons on homepage */
.activities-strip {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    text-align: center;
}

@media (max-width: 1024px) {
    .activities-strip {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .activities-strip {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* === AGE CRITERIA GRID === */
/* 4-column responsive grid for admissions age criteria */
.age-criteria-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

@media (max-width: 768px) {
    .age-criteria-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .age-criteria-grid {
        grid-template-columns: 1fr;
    }
}

/* === NAV OVERLAY === */
/* Full-screen backdrop shown behind mobile menu when open */
.nav-overlay {
    visibility: hidden;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 98;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity var(--transition), visibility var(--transition);
}

.nav-overlay.active {
    visibility: visible;
    opacity: 1;
}


.mb-sm {
    margin-bottom: var(--space-sm);
}

.mb-md {
    margin-bottom: var(--space-md);
}

.mb-lg {
    margin-bottom: var(--space-lg);
}

.mb-xl {
    margin-bottom: var(--space-xl);
}

.mt-sm {
    margin-top: var(--space-sm);
}

.mt-md {
    margin-top: var(--space-md);
}

.mt-lg {
    margin-top: var(--space-lg);
}

.mt-xl {
    margin-top: var(--space-xl);
}
@media (max-width: 900px) {
    .who-we-are-grid {
        grid-template-columns: 1fr !important;
    }
}

/* === FORM DISABLEMENT (TEMPORARY MEASURE) === */
form[aria-disabled="true"],
.form-disabled {
    opacity: 0.65;
    pointer-events: none;
    user-select: none;
    cursor: not-allowed;
}

form[aria-disabled="true"] input,
form[aria-disabled="true"] select,
form[aria-disabled="true"] textarea,
form[aria-disabled="true"] button {
    cursor: not-allowed !important;
}