/* ========================
   CSS DESIGN SYSTEM
   ======================== */
:root {
    --navy: #333333;
    --navy-dark: #1a1a1a;
    --navy-light: #4d4d4d;
    --gold: #d32f2f;
    --gold-light: #ef5350;
    --gold-pale: #ffebee;
    --orange: #b71c1c;
    --orange-light: #e57373;
    --cream: #f5f5f5;
    --cream-dark: #e0e0e0;
    --white: #ffffff;
    --text-dark: #1a1a2e;
    --text-mid: #3d3d5c;
    --text-light: #6b6b8a;
    --border: rgba(211, 47, 47, 0.25);
    --shadow-sm: 0 2px 12px rgba(51, 51, 51, 0.08);
    --shadow-md: 0 8px 32px rgba(51, 51, 51, 0.12);
    --shadow-lg: 0 20px 60px rgba(51, 51, 51, 0.18);
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --nav-height: 80px;
    --font-heading: "Playfair Display", Georgia, serif;
    --font-display: "Cormorant Garamond", Georgia, serif;
    --font-body: "Inter", system-ui, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}
body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
a {
    text-decoration: none;
    color: inherit;
}

/* ========================
   ULTRA MODERN PRELOADER
   ======================== */
.preloader-modern {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--navy-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.8s cubic-bezier(0.8, 0, 0.2, 1);
}
.preloader-modern.loaded {
    transform: translateY(-100%);
}
.preloader-modern-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
.preloader-logo-reveal {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    animation: logoReveal 0.8s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}
.preloader-logo-reveal img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}
@keyframes logoReveal {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.preloader-text-reveal {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.25em;
    display: flex;
    overflow: hidden;
}
.preloader-text-reveal span {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
    animation: textReveal 0.8s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}
.preloader-text-reveal span:nth-child(1) { animation-delay: 0.1s; }
.preloader-text-reveal span:nth-child(2) { animation-delay: 0.15s; }
.preloader-text-reveal span:nth-child(3) { animation-delay: 0.2s; }
.preloader-text-reveal span:nth-child(4) { animation-delay: 0.25s; }
.preloader-text-reveal span:nth-child(5) { animation-delay: 0.3s; }
.preloader-text-reveal span:nth-child(6) { animation-delay: 0.35s; }
.preloader-text-reveal span:nth-child(7) { animation-delay: 0.4s; }
.preloader-text-reveal span:nth-child(8) { animation-delay: 0.45s; }

@keyframes textReveal {
    0% {
        transform: translateY(100%) skewY(5deg);
        opacity: 0;
    }
    100% {
        transform: translateY(0) skewY(0);
        opacity: 1;
    }
}
.preloader-modern-line {
    width: 0;
    height: 1px;
    background: var(--gold);
    animation: lineExpand 1s cubic-bezier(0.8, 0, 0.2, 1) 0.8s forwards;
}
@keyframes lineExpand {
    0% {
        width: 0;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        width: 280px;
        opacity: 0;
    }
}

/* ========================
   NAVIGATION
   ======================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    transition:
        transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        background 0.35s ease,
        box-shadow 0.35s ease,
        backdrop-filter 0.35s ease;
}
.navbar.nav-hidden {
    transform: translateY(-100%);
}
.navbar.scrolled {
    background: rgba(26, 26, 26, 0.97);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 40px rgba(0, 0, 0, 0.3);
}
.navbar-inner {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 0 0 3rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo — crest + school name */
.navbar-logo {
    display: flex;
    align-items: center;
    gap: 16px;
}
.navbar-logo img {
    width: 68px;
    height: 68px;
    object-fit: contain;
    /* Removed filters and border radius so the logo is perfectly crisp and original */
}
.school-name-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}
.navbar-logo .school-name {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.15em;
    line-height: 1;
}
.navbar-logo .school-subtitle {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--gold); /* This is the main red variable */
    letter-spacing: 0.2em;
    text-transform: uppercase;
    line-height: 1;
}

/* Color-changing animation for school name on inner pages */
@keyframes schoolNameColorCycle {
    0%   { color: #d32f2f; }    /* Red */
    15%  { color: #1565c0; }    /* Blue */
    30%  { color: #2e7d32; }    /* Green */
    45%  { color: #f57f17; }    /* Amber */
    60%  { color: #6a1b9a; }    /* Purple */
    75%  { color: #00838f; }    /* Teal */
    90%  { color: #c62828; }    /* Dark Red */
    100% { color: #d32f2f; }    /* Red (loop) */
}

/* Inner page navbar: color-changing school name, red subtitle */
.inner-page .navbar .school-name {
    animation: schoolNameColorCycle 6s ease-in-out infinite;
    transition: color 0.35s ease;
}
.inner-page .navbar .school-subtitle {
    color: var(--gold);
    transition: color 0.35s ease;
}
.inner-page .navbar .nav-action-link {
    color: #444;
    transition: color 0.35s ease;
}
/* When scrolled, revert to white (dark navbar bg is active) */
.inner-page .navbar.scrolled .school-name {
    animation: none;
    color: var(--white);
}
.inner-page .navbar.scrolled .school-subtitle {
    color: var(--gold);
}
.inner-page .navbar.scrolled .nav-action-link {
    color: var(--white);
}

/* Right-side action buttons */
.navbar-actions {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 0;
}
.nav-action-link {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--white);
    padding: 0 1.5rem;
    margin-right: 1.5rem;
    display: flex;
    align-items: center;
    transition: opacity 0.2s ease;
}
.nav-action-link:hover {
    opacity: 0.8;
}

.nav-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    height: 100%;
    padding: 0 2.2rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    border: none;
}

/* Enquire — solid cream */
.nav-action-enquire {
    background: var(--cream);
    color: var(--navy-dark);
    border-radius: 0 0 0 32px; /* Only bottom-left is rounded */
}
.nav-action-enquire:hover {
    background: var(--cream-dark);
}

/* Menu — solid red/maroon */
.nav-action-menu {
    background: var(--gold);
    color: var(--white);
    border-radius: 0; /* Perfectly flat, touching right edge */
}
.nav-action-menu svg {
    flex-shrink: 0;
}
.nav-action-menu:hover {
    background: var(--orange);
}

/* Menu open state — dark navbar background so white text stays visible */
.menu-overlay-open .navbar {
    background: rgba(26, 26, 26, 0.97);
}

/* Menu open state — X icon */
.menu-overlay-open .nav-action-menu svg line:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
    transform-origin: center;
    transition: transform 0.3s ease;
}
.menu-overlay-open .nav-action-menu svg line:nth-child(2) {
    opacity: 0;
    transition: opacity 0.2s ease;
}
.menu-overlay-open .nav-action-menu svg line:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
    transform-origin: center;
    transition: transform 0.3s ease;
}
.nav-action-menu svg line {
    transition:
        transform 0.3s ease,
        opacity 0.2s ease;
}

/* Menu Toggle Button (visible on all screens) */
.menu-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--navy-light);
    padding: 0.5rem 0.75rem;
    transition: var(--transition);
}
.navbar.scrolled .menu-toggle {
    color: var(--white);
}
.menu-toggle-icon {
    width: 24px;
    height: 16px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.menu-toggle-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition:
        transform 0.35s ease,
        opacity 0.35s ease;
}
.menu-overlay-open .menu-toggle-icon span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.menu-overlay-open .menu-toggle-icon span:nth-child(2) {
    opacity: 0;
}
.menu-overlay-open .menu-toggle-icon span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ========================
   FULL-SCREEN MENU OVERLAY
   ======================== */
.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 998;
    display: flex;
    visibility: hidden;
    opacity: 0;
    transition:
        opacity 0.5s ease,
        visibility 0s 0.5s;
}
.menu-overlay.open {
    visibility: visible;
    opacity: 1;
    transition:
        opacity 0.5s ease,
        visibility 0s;
}
.menu-overlay-left {
    width: 40%;
    background: var(--cream);
    padding: 7rem 3rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform: translateX(-60px);
    opacity: 0;
    transition:
        transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.05s,
        opacity 0.5s ease 0.05s;
}
.menu-overlay.open .menu-overlay-left {
    transform: translateX(0);
    opacity: 1;
}
.menu-overlay-right {
    width: 60%;
    background: var(--gold);
    padding: 7rem 3rem 3rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transform: translateX(60px);
    opacity: 0;
    transition:
        transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.1s,
        opacity 0.5s ease 0.1s;
}
.menu-overlay.open .menu-overlay-right {
    transform: translateX(0);
    opacity: 1;
}

.menu-overlay-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.menu-overlay-label::before {
    content: "✦";
    font-size: 0.6rem;
}
.menu-overlay-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.menu-overlay-nav a {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 400;
    color: var(--navy);
    padding: 0.4rem 0;
    transition:
        color 0.25s ease,
        transform 0.25s ease;
    display: inline-block;
}
.menu-overlay-nav a:hover {
    color: var(--gold);
    transform: translateX(10px);
}
.menu-overlay-socials {
    display: flex;
    gap: 1rem;
    margin-top: auto;
    padding-top: 2rem;
}
.menu-overlay-socials a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid var(--navy-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    transition: var(--transition);
}
.menu-overlay-socials a:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.menu-overlay-right-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.menu-overlay-right-label::before {
    content: "✦";
    font-size: 0.6rem;
}
.menu-overlay-sublinks {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.menu-overlay-sublinks a {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    padding: 0.3rem 0;
    transition:
        color 0.2s,
        transform 0.2s;
    display: inline-block;
    font-weight: 400;
}
.menu-overlay-sublinks a:hover {
    color: var(--white);
    transform: translateX(6px);
}

.menu-overlay-quicklinks {
    margin-top: auto;
    padding: 2rem;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.15);
}
.menu-overlay-quicklinks-title {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.menu-overlay-quicklinks-title::before {
    content: "✦";
    font-size: 0.6rem;
}
.menu-overlay-quicklinks a {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    padding: 0.35rem 0;
    transition: color 0.2s;
}
.menu-overlay-quicklinks a:hover {
    color: var(--white);
}

.menu-overlay-footer {
    position: absolute;
    bottom: 2rem;
    left: 3rem;
    right: 3rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1.25rem;
}

/* Old mobile menu hidden — replaced by overlay */
.mobile-menu {
    display: none !important;
}

/* ========================
   HERO SECTION
   ======================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    max-height: 960px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}
.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.hero-bg img {
    width: 100%;
    height: 120%;
    object-fit: cover;
    object-position: center 30%;
    will-change: transform;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(26, 26, 26, 0.95) 0%,
        rgba(26, 26, 26, 0.55) 40%,
        rgba(26, 26, 26, 0.18) 70%,
        transparent 100%
    );
}
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem 10rem;
}
.hero-welcome-text {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    opacity: 0;
    animation: fadeUp 0.8s ease 2.4s forwards;
}
.hero-welcome-line {
    width: 40px;
    height: 1px;
    background: var(--gold);
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gold-light);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeUp 0.8s ease 2.4s forwards;
}
.hero-eyebrow::before {
    content: "";
    width: 32px;
    height: 1px;
    background: var(--gold);
}
.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    max-width: 750px;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.8s ease 2.6s forwards;
}
.hero-title em {
    display: block;
    font-style: italic;
    font-weight: 300;
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 1.1em;
    position: relative;
    padding-bottom: 22px;
    margin-bottom: 15px;
    margin-top: 10px;
}
.hero-title em::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gold);
}
.hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    text-align: justify;
    opacity: 0;
    animation: fadeUp 0.8s ease 2.8s forwards;
}

/* Justified text for all content paragraphs */
.section-lead,
.cta-text,
.page-content p,
.about-text p,
.footer-tagline {
    text-align: justify;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s ease 3s forwards;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}
.btn:active {
    transform: scale(0.97);
}
.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--orange));
    color: var(--white);
    box-shadow: 0 6px 25px rgba(211, 47, 47, 0.4);
}
.btn-primary::before {
    background: linear-gradient(135deg, var(--orange), #7f0000);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 35px rgba(211, 47, 47, 0.55);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
}
.btn-outline::before {
    background: rgba(211, 47, 47, 0.12);
}
.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold-light);
}

/* Hero Stats Bar */
.hero-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    background: transparent;
    border-top: none;
}
.hero-stats-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.stat-item {
    padding: 0 1rem 0.4rem;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.stat-item:last-child {
    border-right: none;
}
.stat-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--gold);
    margin-bottom: 0.8rem;
}
.stat-number {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.3rem;
}
.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
}

/* ========================
   SECTIONS COMMON
   ======================== */
section {
    position: relative;
}
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}
.section-eyebrow::before {
    content: "";
    width: 24px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 1.25rem;
}
.section-title em {
    font-style: italic;
    font-weight: 400;
    color: var(--orange);
    font-family: var(--font-display);
    font-size: 1.08em;
}
.section-lead {
    font-size: 1.05rem;
    color: var(--text-mid);
    line-height: 1.75;
    max-width: 620px;
}

/* Fade-up animation */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.fade-up-delay-1 {
    transition-delay: 0.1s;
}
.fade-up-delay-2 {
    transition-delay: 0.2s;
}
.fade-up-delay-3 {
    transition-delay: 0.3s;
}
.fade-up-delay-4 {
    transition-delay: 0.4s;
}
.fade-up-delay-5 {
    transition-delay: 0.5s;
}
.fade-up-delay-6 {
    transition-delay: 0.6s;
}

/* Staggered children reveal */
.stagger-children > * {
    opacity: 0;
    transform: translateY(25px);
    transition:
        opacity 0.6s ease,
        transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--stagger-index, 0) * 0.1s);
}
.stagger-children.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* Split-line text reveal */
.split-line-wrap {
    overflow: hidden;
    display: block;
}
.split-line {
    display: block;
    transform: translateY(105%);
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.split-parent.revealed .split-line {
    transform: translateY(0);
}
.split-parent.revealed .split-line:nth-child(2) {
    transition-delay: 0.08s;
}
.split-parent.revealed .split-line:nth-child(3) {
    transition-delay: 0.16s;
}
.split-parent.revealed .split-line:nth-child(4) {
    transition-delay: 0.24s;
}

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

/* ========================
   IMAGE PARALLAX
   ======================== */
[data-parallax] {
    overflow: clip;
}
[data-parallax] img {
    transition: transform 0.1s linear;
    will-change: transform;
}

/* ========================
   CARD TILT EFFECT
   ======================== */
.tilt-card {
    transition:
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.4s ease;
    transform: perspective(800px) rotateX(var(--tilt-x, 0deg))
        rotateY(var(--tilt-y, 0deg));
    will-change: transform;
}
.tilt-card:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* ========================
   SCROLL PROGRESS BAR
   ======================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    z-index: 1001;
    background: linear-gradient(
        90deg,
        var(--gold),
        var(--gold-light),
        var(--orange)
    );
    width: 0%;
    transition: none;
    pointer-events: none;
}

/* ========================
   MARQUEE ANNOUNCEMENT
   ======================== */
.marquee-bar {
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    padding: 0.75rem 0;
    overflow: hidden;
    border-bottom: 1px solid rgba(211, 47, 47, 0.2);
    position: absolute;
    top: var(--nav-height);
    width: 100%;
    z-index: 999;
}
.marquee-track {
    display: flex;
    animation: marqueeScroll 30s linear infinite;
    white-space: nowrap;
}
.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0 2rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.03em;
}
.marquee-item .dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
}
@keyframes marqueeScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* ========================
   ABOUT SECTION
   ======================== */
.about-section {
    padding: 8rem 0;
    background: var(--cream);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.about-image-stack {
    position: relative;
}
.about-image-main {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-lg);
}
.about-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.about-image-main:hover img {
    transform: scale(1.04);
}
.about-badge {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    width: 130px;
    height: 130px;
    background: linear-gradient(135deg, var(--gold), var(--orange));
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    box-shadow: 0 10px 40px rgba(211, 47, 47, 0.45);
    border: 4px solid var(--white);
}
.about-badge .badge-text {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.3;
}
.about-content {
    padding-left: 1rem;
}
.about-body {
    color: var(--text-mid);
    line-height: 1.8;
    font-size: 0.97rem;
    margin-bottom: 1.5rem;
}
.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}
.highlight-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.25rem;
    transition: var(--transition);
}
.highlight-card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.highlight-icon {
    font-size: 1.6rem;
    margin-bottom: 0.6rem;
}
.highlight-title {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--navy);
    margin-bottom: 0.25rem;
}
.highlight-text {
    font-size: 0.78rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* ========================
   MOTTO BANNER
   ======================== */
.motto-banner {
    background: linear-gradient(
        135deg,
        var(--navy-dark) 0%,
        var(--navy) 60%,
        var(--navy-light) 100%
    );
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.motto-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d32f2f' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.motto-eyebrow {
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.motto-text {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 300;
    color: var(--white);
    font-style: italic;
    line-height: 1.2;
    margin-bottom: 1rem;
}
.motto-text strong {
    font-weight: 600;
    color: var(--gold-light);
    font-style: normal;
}
.motto-sub {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ========================
   VISION MISSION SECTION
   ======================== */
.visionmission-section {
    padding: 8rem 0;
    background: var(--white);
}
.vm-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}
.vm-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.vm-card {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}
.vm-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--orange));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}
.vm-card:hover::before {
    transform: scaleX(1);
}
.vm-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--gold);
}
.vm-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(
        135deg,
        var(--gold-pale),
        rgba(211, 47, 47, 0.15)
    );
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(211, 47, 47, 0.2);
}
.vm-card-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.6rem;
}
.vm-card-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
    line-height: 1.3;
}
.vm-card-text {
    font-size: 0.9rem;
    color: var(--text-mid);
    line-height: 1.8;
}

/* ========================
   FEATURES SECTION
   ======================== */
.features-section {
    padding: 8rem 0;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}
.features-section::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(211, 47, 47, 0.12) 0%,
        transparent 70%
    );
}
.features-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: end;
    margin-bottom: 4rem;
}
.features-header .section-eyebrow {
    color: var(--gold);
}
.features-header .section-title {
    color: var(--white);
}
.features-header .section-lead {
    color: rgba(255, 255, 255, 0.65);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.feature-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--orange));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}
.feature-card:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(211, 47, 47, 0.3);
    transform: translateY(-3px);
}
.feature-card:hover::after {
    transform: scaleX(1);
}
.feature-icon {
    font-size: 2.2rem;
    margin-bottom: 1.25rem;
}
.feature-num {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 300;
    color: rgba(211, 47, 47, 0.15);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    line-height: 1;
}
.feature-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}
.feature-text {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
}
.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 1rem;
}
.feature-tag {
    font-size: 0.68rem;
    padding: 0.25rem 0.6rem;
    background: rgba(211, 47, 47, 0.12);
    color: var(--gold);
    border-radius: 50px;
    border: 1px solid rgba(211, 47, 47, 0.2);
    font-weight: 500;
}

/* ========================
   CAMPUS GALLERY SECTION
   ======================== */
.campus-section {
    padding: 8rem 0;
    background: var(--cream);
}
.campus-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 1rem;
}
.gallery-item {
    border-radius: 14px;
    overflow: hidden;
    position: relative;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.gallery-item:hover img {
    transform: scale(1.07);
}
.gallery-item-1 {
    grid-column: 1 / 6;
    grid-row: 1 / 3;
}
.gallery-item-2 {
    grid-column: 6 / 9;
    grid-row: 1;
}
.gallery-item-3 {
    grid-column: 9 / 13;
    grid-row: 1;
}
.gallery-item-4 {
    grid-column: 6 / 10;
    grid-row: 2;
}
.gallery-item-5 {
    grid-column: 10 / 13;
    grid-row: 2;
}
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(26, 26, 26, 0.7) 0%,
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}
.gallery-caption {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

/* ========================
   INSTAGRAM SECTION
   ======================== */
.instagram-section {
    padding: 6rem 0;
    background: var(--white);
}
.instagram-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
    padding: 0.6rem 1.25rem;
    border: 1.5px solid var(--navy);
    border-radius: 50px;
    transition: var(--transition);
}
.instagram-link:hover {
    background: var(--navy);
    color: var(--white);
}
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
}
.insta-item {
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}
.insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.insta-item:hover img {
    transform: scale(1.1);
}
.insta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(51, 51, 51, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.insta-item:hover .insta-overlay {
    opacity: 1;
}
.insta-icon {
    color: var(--white);
    font-size: 1.5rem;
}

/* ========================
   FACULTY SECTION
   ======================== */
.faculty-section {
    padding: 8rem 0;
    background: var(--cream);
}
.faculty-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}
.faculty-regions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.faculty-region {
    background: var(--white);
    border-radius: 18px;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.faculty-region:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.region-flag {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.region-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}
.region-desc {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ========================
   SPORTS SECTION
   ======================== */
.sports-section {
    padding: 8rem 0;
    background: var(--white);
}
.sports-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}
.sports-image {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: var(--shadow-lg);
}
.sports-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sports-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2.5rem;
}
.sport-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.1rem;
    background: var(--cream);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.sport-item:hover {
    border-color: var(--gold);
    background: var(--gold-pale);
}
.sport-emoji {
    font-size: 1.4rem;
}
.sport-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
}

/* ========================
   CTA SECTION
   ======================== */
.cta-section {
    padding: 7rem 0;
    background: linear-gradient(
        135deg,
        var(--navy-dark) 0%,
        var(--navy) 50%,
        var(--navy-light) 100%
    );
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: "";
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(211, 47, 47, 0.15) 0%,
        transparent 70%
    );
}
.cta-eyebrow {
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--white);
    font-weight: 700;
    margin-bottom: 1.25rem;
    line-height: 1.2;
}
.cta-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}
.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================
   FOOTER
   ======================== */
.footer {
    background: var(--navy-dark);
    border-top: 1px solid rgba(211, 47, 47, 0.15);
    padding: 5rem 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.25rem;
}
.footer-logo img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: contain;
}
.footer-logo-text {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
}
.footer-tagline {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    text-align: justify;
}
.footer-social {
    display: flex;
    gap: 0.75rem;
}
.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: var(--transition);
}
.footer-social a:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(211, 47, 47, 0.1);
}
.footer-col-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.25rem;
}
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.footer-links a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
}
.footer-links a:hover {
    color: var(--gold-light);
}
.footer-contact-item {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    align-items: flex-start;
}
.footer-contact-icon {
    font-size: 1rem;
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 1px;
}
.footer-contact-text {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-copy {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}
.footer-motto {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--gold);
}

/* ========================
   SCROLL TO TOP
   ======================== */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1rem;
    cursor: pointer;
    z-index: 500;
    opacity: 0;
    transform: translateY(10px);
    transition:
        opacity 0.35s ease,
        transform 0.35s ease;
    border: none;
}
.scroll-top .scroll-top-ring {
    position: absolute;
    inset: 0;
}
.scroll-top .scroll-top-ring circle {
    transition: none;
}
.scroll-top .scroll-top-arrow {
    position: relative;
    z-index: 2;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--orange));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.35);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}
.scroll-top.visible {
    opacity: 1;
    transform: translateY(0);
}
.scroll-top:hover .scroll-top-arrow {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(211, 47, 47, 0.5);
}

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .vm-cards {
        grid-template-columns: 1fr 1fr;
    }
    .faculty-regions {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
.hero-stats-inner {
    grid-template-columns: repeat(2, 1fr);
}

.instagram-grid {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {

    :root {
        --nav-height: 60px;
    }

    .navbar-inner {
        padding: 0 0 0 1rem;
    }

    .navbar-logo {
        gap: 8px;
    }

    .navbar-logo img {
        width: 40px;
        height: 40px;
    }

    .navbar-logo .school-name {
        font-size: 0.95rem;
        letter-spacing: 0.05em;
    }

    .navbar-logo .school-subtitle {
        font-size: 0.5rem;
    }

    .nav-action-menu {
        padding: 0 1.2rem;
        font-size: 0.65rem;
    }

    .nav-action-link,
    .nav-action-enquire {
        display: none;
    }

    .menu-overlay-left {
        width: 100%;
        padding: 5.5rem 2rem 2rem;
    }

    .menu-overlay-right {
        display: none;
    }

    /* Hero Background */
    .hero-bg {
        position: absolute;
        inset: 0;
        overflow: hidden;
    }

    .hero-bg img {
        width: 100%;
        height: 120%;
        object-fit: cover;
        object-position: 30% 0%;
    }

    /* Hero Section */
    .hero {
        position: relative;
        min-height: 115vh;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 100px 24px 60px;
        overflow: hidden;
    }

    /* Dark Overlay */
    .hero-overlay {
        background: linear-gradient(
            to bottom,
            rgba(0,0,0,0.75) 0%,
            rgba(0,0,0,0.55) 35%,
            rgba(0,0,0,0.35) 60%,
            rgba(0,0,0,0.85) 100%
        );
    }

    /* Hero Content */
    .hero-content {
        position: relative;
        z-index: 2;
        max-width: 340px;
        padding: 40px 0;
        transform: none;
    }

    .hero-welcome-text {
        color: var(--gold);
    }
    .hero-welcome-line {
        background: var(--gold);
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        max-width: 100%;
        margin-bottom: 16px;
    }

    .hero-title em {
        display: block;
        font-size: 1.7rem;
        margin-top: 6px;
        color: var(--gold);
        position: relative;
        padding-bottom: 18px;
        margin-bottom: 5px;
    }
    .hero-title em::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 45px;
        height: 2px;
        background: var(--gold);
    }

    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.7;
        max-width: 300px;
        margin: 18px 0 28px;
    }

    .hero-buttons {
        width: 100%;
        max-width: 320px;
        margin-top: 20px;
    }

    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 14px;
        border-radius: 50px;
        padding: 0.8rem 1.5rem;
        display: flex;
        justify-content: center;
        text-align: center;
    }

    /* Stats Section */
    .hero-stats {
        position: relative;
        width: 100%;
        margin-top: auto;
        border-radius: 0;
        background: transparent;
        border-top: none;
    }

    .hero-stats-inner {
        grid-template-columns: repeat(4, 1fr);
        padding: 0.5rem 0.5rem 2rem;
        gap: 0;
    }

    .stat-item {
        border-right: 1px solid rgba(255, 255, 255, 0.08);
        border-bottom: none;
        padding: 0 0.25rem;
        text-align: center;
    }

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

    .stat-icon {
        color: var(--gold);
        margin-bottom: 0.4rem;
        display: flex;
        justify-content: center;
    }

    .stat-icon svg {
        width: 22px;
        height: 22px;
    }

    .stat-number {
        color: var(--gold);
        font-size: 1.3rem;
        font-weight: 600;
        margin-bottom: 0.2rem;
    }

    .stat-label {
        color: rgba(255, 255, 255, 0.85);
        font-size: 0.55rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        line-height: 1.3;
        font-weight: 500;
    }
}
    .about-grid,
    .sports-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .about-badge {
        bottom: -1rem;
        right: 1rem;
        width: 100px;
        height: 100px;
    }
    .vm-cards {
        grid-template-columns: 1fr;
    }
    .features-header {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .gallery-item-1,
    .gallery-item-2,
    .gallery-item-3,
    .gallery-item-4,
    .gallery-item-5 {
        grid-column: auto;
        grid-row: auto;
    }
    .gallery-item {
        height: 200px;
    }
    .instagram-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .faculty-regions {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sports-list {
        grid-template-columns: 1fr;
    }
    .about-highlights {
        grid-template-columns: 1fr;
    }
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        max-width: 210px;
        margin-right: auto;
    }
    .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 0.75rem 1.25rem;
    }
    .hero-stats-inner {
        grid-template-columns: repeat(4, 1fr);
        padding: 0.8rem 0.5rem;
        gap: 0;
    }
    .stat-item {
        border-right: 1px solid rgba(255, 255, 255, 0.08);
        border-bottom: none;
        padding: 0 0.25rem;
    }
    .stat-item:last-child {
        border-right: none;
    }
    .stat-number {
        font-size: 1.15rem;
        margin-bottom: 0.15rem;
    }
    .stat-label {
        font-size: 0.55rem;
        letter-spacing: 0.05em;
        line-height: 1.2;
    }
    .stat-icon {
        margin-bottom: 0.4rem;
    }
    .stat-icon svg {
        width: 20px;
        height: 20px;
    }
    .hero-subtitle {
        text-align: left;
    }
}

/* Footer Admin Link */
.footer-admin-link {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: color 0.3s;
}
.footer-admin-link:hover {
    color: rgba(255,255,255,0.7);
}

/* ========================
   ADMISSION FORM
   ======================== */
.admission-section {
    padding: 140px 0 100px;
    min-height: 100vh;
    background: linear-gradient(135deg, #fafafa 0%, var(--gold-pale) 50%, #fafafa 100%);
}
.admission-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
}
.admission-form-wrapper {
    max-width: 620px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(211,47,47,0.08);
}
.admission-form .form-group {
    margin-bottom: 1.25rem;
}
.form-label {
    display: block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-mid);
    margin-bottom: 0.4rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}
.form-input {
    width: 100%;
    padding: 0.85rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: #f8f8fa;
    border: 2px solid transparent;
    border-radius: 12px;
    transition: var(--transition);
    outline: none;
}
.form-input:focus {
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(211,47,47,0.1);
}
.form-input::placeholder {
    color: #aaa;
}
.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}
.form-row {
    display: flex;
    gap: 1rem;
}
.form-row .form-group {
    flex: 1;
}
.admission-submit-btn {
    width: 100%;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-size: 1rem;
    padding: 1rem;
}

/* Alerts */
.alert-success {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    border: 1px solid #66bb6a;
    color: #2e7d32;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}
.alert-error {
    background: linear-gradient(135deg, #ffebee, #ffcdd2);
    border: 1px solid #ef5350;
    color: #c62828;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-weight: 500;
}
.alert-error ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.alert-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Form file input */
.form-file-input {
    padding: 0.6rem 1rem;
    cursor: pointer;
}
.form-file-input::file-selector-button {
    background: var(--gold);
    color: white;
    border: none;
    padding: 0.4rem 1rem;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    margin-right: 0.75rem;
    transition: var(--transition);
}
.form-file-input::file-selector-button:hover {
    background: var(--orange);
}
.form-hint {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.78rem;
    color: var(--text-light);
}

@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .admission-form-wrapper {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    .admission-section {
        padding: 120px 0 60px;
    }
}

/* ========================
   ADMIN LOGIN
   ======================== */
.admin-login-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d1b3d 30%, #1a1a2e 60%, #0f0f1a 100%);
    font-family: var(--font-body);
}
.admin-login-wrapper {
    width: 100%;
    max-width: 420px;
    padding: 1rem;
}
.admin-login-card {
    background: rgba(255,255,255,0.04);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 32px 64px rgba(0,0,0,0.4);
}
.admin-login-logo img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 2px solid rgba(211,47,47,0.4);
}
.admin-login-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: #fff;
    margin-bottom: 0.25rem;
}
.admin-login-subtitle {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.admin-login-form .form-label {
    color: rgba(255,255,255,0.7);
    text-align: left;
}
.admin-login-form .form-input {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
}
.admin-login-form .form-input:focus {
    border-color: var(--gold);
    background: rgba(255,255,255,0.1);
}
.admin-login-form .form-input::placeholder {
    color: rgba(255,255,255,0.35);
}
.admin-login-back {
    display: inline-block;
    margin-top: 1.5rem;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}
.admin-login-back:hover {
    color: var(--gold-light);
}

/* ========================
   ADMIN DASHBOARD
   ======================== */
.admin-body {
    background: #f4f5f7;
    font-family: var(--font-body);
    min-height: 100vh;
}
.admin-navbar {
    background: var(--navy-dark);
    padding: 0 2rem;
    height: 64px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.admin-navbar-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.admin-navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
}
.admin-navbar-brand img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}
.admin-navbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.admin-nav-link {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}
.admin-nav-link:hover {
    color: #fff;
}
.admin-logout-btn {
    background: var(--gold);
    color: #fff;
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
}
.admin-logout-btn:hover {
    background: var(--orange);
}
.admin-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

/* Tabs */
.admin-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.admin-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--white);
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-mid);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.admin-tab:hover {
    border-color: var(--gold-light);
    color: var(--gold);
}
.admin-tab.active {
    border-color: var(--gold);
    color: var(--gold);
    background: var(--gold-pale);
}
.admin-tab-badge {
    background: var(--gold);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.55rem;
    border-radius: 20px;
    min-width: 1.5rem;
    text-align: center;
}
.admin-tab-content {
    display: none;
}
.admin-tab-content.active {
    display: block;
}

/* Cards */
.admin-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
}
.admin-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}
.admin-card-header h2 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-dark);
}
.admin-card-count {
    font-size: 0.8rem;
    color: var(--text-light);
    background: #f0f0f2;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
}

/* Table */
.admin-table-wrapper {
    overflow-x: auto;
}
.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.admin-table th {
    text-align: left;
    padding: 0.75rem 1rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-light);
    border-bottom: 2px solid #eee;
    white-space: nowrap;
}
.admin-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #f5f5f5;
    color: var(--text-mid);
}
.admin-table tr:hover td {
    background: #fafafa;
}
.admin-badge {
    display: inline-block;
    background: var(--gold-pale);
    color: var(--gold);
    font-weight: 600;
    font-size: 0.78rem;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
}
.admin-phone-link {
    color: var(--gold);
    text-decoration: none;
    font-weight: 500;
}
.admin-phone-link:hover {
    text-decoration: underline;
}

/* Empty state */
.admin-empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-light);
}
.admin-empty-state p {
    margin-top: 0.75rem;
    font-size: 0.95rem;
}

/* Notification items */
.admin-notifications-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.admin-notification-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: #fafafa;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: var(--transition);
}
.admin-notification-item:hover {
    border-color: var(--gold-light);
    background: var(--gold-pale);
}
.admin-notification-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.35rem;
}
.admin-notification-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.82rem;
    color: var(--text-light);
}
.admin-notification-meta a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
}
.admin-notification-meta a:hover {
    text-decoration: underline;
}
.admin-notification-no-pdf {
    opacity: 0.5;
}
.admin-delete-btn {
    background: none;
    border: 2px solid #eee;
    border-radius: 10px;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.admin-delete-btn:hover {
    border-color: #ef5350;
    color: #ef5350;
    background: #ffebee;
}
.admin-notification-form .form-group {
    margin-bottom: 1rem;
}

@media (max-width: 600px) {
    .admin-tabs {
        flex-direction: column;
    }
    .admin-container {
        padding: 0 1rem;
    }
    .admin-notification-item {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }
    .admin-notification-meta {
        flex-direction: column;
        gap: 0.35rem;
    }
}
/* ========================
   EVENTS CAROUSEL
   ======================== */
.events-scroll-container {
    width: 100%;
    overflow: hidden;
    padding: 0.5rem 0;
}
.events-scroll-track {
    display: flex;
    gap: 1.5rem;
    animation: events-scroll 25s linear infinite;
    width: max-content;
}
.events-scroll-track:hover {
    animation-play-state: paused;
}
.event-carousel-card {
    flex-shrink: 0;
    width: 280px;
    background: rgba(255,255,255,0.06);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: var(--white);
    transition: transform 0.3s ease, background 0.3s ease;
    border: 1px solid rgba(255,255,255,0.08);
}
.event-carousel-card:hover {
    transform: translateY(-6px) scale(1.02);
    background: rgba(255,255,255,0.12);
}
.event-carousel-poster {
    width: 100%;
    height: 340px;
    overflow: hidden;
}
.event-carousel-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.event-carousel-card:hover .event-carousel-poster img {
    transform: scale(1.08);
}
.event-carousel-info {
    padding: 1rem 1.25rem;
}
.event-carousel-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.3rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.event-carousel-date {
    font-size: 0.78rem;
    color: var(--gold-light);
    font-weight: 500;
}

@keyframes events-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .event-carousel-card {
        width: 220px;
    }
    .event-carousel-poster {
        height: 270px;
    }
    .events-scroll-track {
        gap: 1rem;
    }
}

/* ========================
   NOTIFICATION TICKER
   ======================== */
.notification-ticker {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 44px;
    background: linear-gradient(90deg, #1a1a2e, #2d1b3d, #1a1a2e);
    z-index: 9999;
    display: none;
    align-items: center;
    box-shadow: 0 -2px 20px rgba(0,0,0,0.25);
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s ease;
}
.notification-ticker:hover {
    background: linear-gradient(90deg, #2d1b3d, #3d2b4d, #2d1b3d);
}
.notification-ticker.ticker-visible {
    display: flex;
}
.ticker-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0 1rem;
    background: var(--gold);
    color: #fff;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    height: 100%;
    white-space: nowrap;
    flex-shrink: 0;
    z-index: 2;
    position: relative;
}
.ticker-label::after {
    content: '';
    position: absolute;
    right: -12px;
    top: 0;
    width: 0;
    height: 0;
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
    border-left: 12px solid var(--gold);
}
.ticker-label-icon {
    font-size: 1rem;
}
.ticker-wrapper {
    flex: 1;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
    margin-left: 12px;
}
.ticker-track {
    display: flex;
    animation: ticker-scroll 30s linear infinite;
    white-space: nowrap;
}
.ticker-track:hover {
    animation-play-state: paused;
}
.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 2rem;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.3s;
    cursor: pointer;
}
a.ticker-item:hover {
    color: var(--gold-light);
}
.ticker-icon {
    font-size: 1rem;
}
.ticker-text {
    opacity: 0.9;
}
.ticker-pdf-badge {
    background: rgba(255,255,255,0.15);
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #ffd54f;
    white-space: nowrap;
}
@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Add bottom padding to body when ticker is visible to prevent content overlap */
body:has(.ticker-visible) {
    padding-bottom: 44px;
}
body:has(.ticker-visible) .footer {
    margin-bottom: 0;
}

@media (max-width: 600px) {
    .ticker-label span:last-child {
        display: none;
    }
    .ticker-item {
        font-size: 0.78rem;
        padding: 0 1.5rem;
    }
    .ticker-pdf-badge {
        display: none;
    }
}
