/* style.css */

/* ==========================================================
   COLOR SYSTEM & ROOT VARIABLES
   Extracted from Vertex School Building & Brand Identity
========================================================== */
:root {
    /* Brand Primary Colors (Architectural Copper Brown) */
    --primary-copper: #7A3B2E;
    --primary-copper-light: #9E4B37;
    --primary-copper-dark: #58281E;
    --primary-copper-glow: rgba(122, 59, 46, 0.35);

    /* Royal Blue Curtain Wall & Sky Reflection Glass */
    --royal-blue: #004B93;
    --royal-blue-light: #1E6091;
    --sky-blue: #4EA8DE;
    --sky-blue-glow: rgba(78, 168, 222, 0.25);

    /* Backgrounds & Architecture Off-Whites */
    --bg-dark: #0F131A;
    --bg-card-dark: rgba(21, 26, 36, 0.7);
    --bg-light: #FAF7F4;
    --bg-section-alt: #F2ECE6;

    /* Text Colors */
    --text-primary: #12161F;
    --text-secondary: #515B6B;
    --text-light: #F2F5F9;
    --text-muted: #8A94A6;

    /* Glassmorphism & Borders */
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.8);
    --glass-shadow: 0 20px 40px rgba(122, 59, 46, 0.08);
    --dark-glass-bg: rgba(15, 19, 26, 0.75);
    --dark-glass-border: rgba(255, 255, 255, 0.12);

    /* Status & Accents */
    --accent-gold: #C08A3E;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;

    /* Fonts */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Manrope', sans-serif;
    --font-accent: 'Space Grotesk', sans-serif;

    /* Smooth Transitions */
    --transition-fast: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================
   RESET & BASE STYLES
========================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
    outline: none;
    border: none;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-copper), var(--royal-blue), var(--sky-blue));
    z-index: 1000;
    transition: width 0.1s linear;
}

/* Background Animated Blobs */
.blob-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    filter: blur(100px);
    opacity: 0.3;
    border-radius: 50%;
    animation: blobFloat 20s infinite alternate ease-in-out;
}

.blob-copper {
    width: 450px;
    height: 450px;
    background: var(--primary-copper-light);
    top: -100px;
    right: -100px;
}

.blob-blue {
    width: 500px;
    height: 500px;
    background: var(--royal-blue);
    bottom: -150px;
    left: -150px;
    animation-delay: -5s;
}

.blob-gold {
    width: 350px;
    height: 350px;
    background: var(--accent-gold);
    top: 40%;
    left: 30%;
    animation-delay: -10s;
}

@keyframes blobFloat {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(60px, -40px) scale(1.1); }
    100% { transform: translate(-40px, 60px) scale(0.95); }
}

/* Layout Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 7rem 0;
    position: relative;
}

.text-center { text-align: center; }

/* Section Headers */
.section-header {
    max-width: 750px;
    margin: 0 auto 4rem auto;
}

.section-tag {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(122, 59, 46, 0.08);
    color: var(--primary-copper);
    border: 1px solid rgba(122, 59, 46, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

.section-tag.light-tag {
    background: rgba(255, 255, 255, 0.15);
    color: #FFF;
    border-color: rgba(255, 255, 255, 0.3);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* Glassmorphism Card Universal */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    transition: var(--transition-normal);
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(122, 59, 46, 0.12);
    border-color: rgba(122, 59, 46, 0.3);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.85rem 1.8rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-copper), var(--primary-copper-light));
    color: #FFFFFF;
    box-shadow: 0 10px 25px var(--primary-copper-glow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-copper-light), var(--primary-copper));
    transform: translateY(-3px);
    box-shadow: 0 15px 30px var(--primary-copper-glow);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: #FFFFFF;
    color: var(--primary-copper);
    transform: translateY(-3px);
}

.btn-secondary {
    background: rgba(0, 75, 147, 0.08);
    color: var(--royal-blue);
    border: 1px solid rgba(0, 75, 147, 0.2);
}

.btn-secondary:hover {
    background: var(--royal-blue);
    color: #FFFFFF;
}

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.1);
}

.btn-outline-light:hover {
    background: #FFFFFF;
    color: var(--primary-copper-dark);
}

.btn-large {
    padding: 1.1rem 2.2rem;
    font-size: 1.05rem;
}

.full-width {
    width: 100%;
}

/* Special Text Gradients */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-copper), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-blue {
    background: linear-gradient(135deg, var(--royal-blue), var(--sky-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================
   1. NAVBAR
========================================================== */
.navbar-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 1.25rem 0;
    transition: var(--transition-normal);
}

.navbar-header.scrolled {
    padding: 0.85rem 0;
    background: rgba(250, 247, 244, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(122, 59, 46, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo Styling */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-shield {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-copper), var(--primary-copper-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    font-family: var(--font-accent);
    font-size: 1.6rem;
    font-weight: 700;
    box-shadow: 0 6px 16px var(--primary-copper-glow);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--primary-copper-dark);
    line-height: 1;
}

.brand-sub {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--royal-blue);
}

/* Nav Menu Links */
.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    position: relative;
    padding: 0.25rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary-copper);
    transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-copper);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 3px;
    transition: var(--transition-fast);
}

/* Mobile Toggle Animation Active State */
.mobile-toggle.open .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.mobile-toggle.open .bar:nth-child(2) {
    opacity: 0;
}
.mobile-toggle.open .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================
   2. HERO SECTION
========================================================== */
.hero-section {
    min-height: 100vh;
    padding-top: 9rem;
    padding-bottom: 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 1rem;
    background: rgba(0, 75, 147, 0.08);
    border: 1px solid rgba(0, 75, 147, 0.18);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--royal-blue);
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--success);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.75rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 580px;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 3.5rem;
}

/* Stats counter */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    border-radius: 20px;
}

.stat-card {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-copper-dark);
    line-height: 1;
    display: inline;
}

.stat-symbol {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--royal-blue);
    margin-left: 2px;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-top: 0.2rem;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(0, 0, 0, 0.08);
}

/* Hero Architectural Visual Card */
.visual-card-wrapper {
    position: relative;
}

.architectural-frame {
    position: relative;
    padding: 1.5rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.3));
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 30px 70px rgba(122, 59, 46, 0.15);
}

.building-card-glass {
    position: relative;
    background: var(--bg-dark);
    border-radius: 20px;
    padding: 2rem;
    overflow: hidden;
    color: #FFF;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.glass-reflection-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 45%,
        rgba(78, 168, 222, 0.15) 50%,
        transparent 55%
    );
    animation: shineSweep 8s infinite linear;
}

@keyframes shineSweep {
    0% { transform: translateY(-30%) rotate(0deg); }
    100% { transform: translateY(30%) rotate(360deg); }
}

.building-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    width: fit-content;
}

.building-graphic {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.architectural-tower {
    display: flex;
    gap: 8px;
    height: 100%;
    align-items: flex-end;
}

.window-pane {
    width: 32px;
    border-radius: 6px;
    transition: var(--transition-normal);
}

.royal-glass {
    height: 80%;
    background: linear-gradient(180deg, var(--royal-blue), var(--royal-blue-light));
    box-shadow: 0 0 15px rgba(0, 75, 147, 0.5);
}

.sky-reflection {
    height: 100%;
    background: linear-gradient(180deg, var(--sky-blue), var(--royal-blue));
    box-shadow: 0 0 20px rgba(78, 168, 222, 0.6);
}

.copper-fin {
    height: 90%;
    background: linear-gradient(180deg, var(--primary-copper-light), var(--primary-copper));
}

.crest-overlay {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.crest-v {
    font-family: var(--font-accent);
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.building-details h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 0.3rem;
}

.building-details p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Scroll Down Indicator */
.scroll-down-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary-copper);
    border-radius: 2px;
    animation: mouseWheel 1.8s infinite ease-in-out;
}

@keyframes mouseWheel {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(12px); opacity: 0; }
}

/* ==========================================================
   3. ABOUT SECTION
========================================================== */
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.about-card {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.card-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #FFF;
    margin-bottom: 1.5rem;
}

.copper-bg { background: linear-gradient(135deg, var(--primary-copper), var(--primary-copper-light)); }
.blue-bg { background: linear-gradient(135deg, var(--royal-blue), var(--sky-blue)); }
.gold-bg { background: linear-gradient(135deg, var(--accent-gold), #E0A951); }

.about-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.about-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
}

.check-list i {
    color: var(--success);
}

.values-pill-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.v-pill {
    padding: 0.4rem 0.9rem;
    background: rgba(122, 59, 46, 0.08);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-copper-dark);
}

/* ==========================================================
   4. WHY CHOOSE VERTEX
========================================================== */
.why-section {
    background: var(--bg-section-alt);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.why-card {
    padding: 2.2rem 1.8rem;
    position: relative;
    overflow: hidden;
}

.why-number {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-family: var(--font-accent);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(122, 59, 46, 0.08);
}

.why-icon {
    font-size: 2.2rem;
    color: var(--primary-copper);
    margin-bottom: 1.25rem;
}

.why-card h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.why-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ==========================================================
   5. ACADEMIC PROGRAMS
========================================================== */
.program-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-btn {
    padding: 1rem 1.8rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--glass-border);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.tab-btn.active, .tab-btn:hover {
    background: var(--primary-copper);
    color: #FFF;
    box-shadow: 0 10px 20px var(--primary-copper-glow);
}

.tab-pane {
    display: none;
    animation: fadeInTab 0.5s ease forwards;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.program-content-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.program-info h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.program-info p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 1.8rem;
}

.program-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.ph-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
}

.ph-item i {
    color: var(--royal-blue);
}

.program-spec-card {
    padding: 2.5rem;
}

.program-spec-card h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.spec-list {
    margin-bottom: 2rem;
}

.spec-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.spec-list span {
    font-weight: 700;
    color: var(--text-primary);
}

/* ==========================================================
   6. FACILITIES
========================================================== */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.facility-card {
    padding: 2rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.facility-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 75, 147, 0.08);
    color: var(--royal-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    transition: var(--transition-fast);
}

.facility-card:hover .facility-icon {
    background: var(--royal-blue);
    color: #FFF;
    transform: scale(1.1);
}

.facility-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.facility-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ==========================================================
   7. GALLERY MASONRY
========================================================== */
.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 240px;
    gap: 1.5rem;
}

.gallery-item.item-tall { grid-row: span 2; }
.gallery-item.item-wide { grid-column: span 2; }

.gallery-card {
    height: 100%;
    position: relative;
    overflow: hidden;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: #FFF;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition-slow);
}

.g-bg-1 { background: linear-gradient(135deg, #2C3E50, #004B93); }
.g-bg-2 { background: linear-gradient(135deg, #7A3B2E, #34495E); }
.g-bg-3 { background: linear-gradient(135deg, #1E6091, #10B981); }
.g-bg-4 { background: linear-gradient(135deg, #4A2E2B, #7A3B2E); }
.g-bg-5 { background: linear-gradient(135deg, #0F131A, #1E6091); }

.gallery-placeholder i {
    font-size: 2.5rem;
    opacity: 0.8;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 19, 26, 0.85);
    backdrop-filter: blur(8px);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: var(--transition-normal);
    color: #FFF;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-card:hover .gallery-placeholder {
    transform: scale(1.08);
}

.gallery-overlay h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.gallery-overlay p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.lightbox-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-copper);
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 800px;
    width: 100%;
    text-align: center;
    color: #FFF;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: transparent;
    color: #FFF;
    font-size: 2rem;
    cursor: pointer;
}

.lightbox-display {
    width: 100%;
    height: 450px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* ==========================================================
   8. TEACHERS / FACULTY
========================================================== */
.teachers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.teacher-card {
    padding: 2rem 1.5rem;
    text-align: center;
}

.teacher-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin: 0 auto 1.5rem auto;
    background: linear-gradient(135deg, var(--primary-copper), var(--royal-blue));
    padding: 3px;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--bg-dark);
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
}

.teacher-info h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.teacher-role {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-copper);
    margin-bottom: 0.8rem;
}

.teacher-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.teacher-socials {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.teacher-socials a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.teacher-socials a:hover {
    background: var(--primary-copper);
    color: #FFF;
}

/* ==========================================================
   9. ACHIEVEMENTS TIMELINE
========================================================== */
.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-copper), var(--royal-blue));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 50%;
}

.timeline-item.left {
    left: 0;
    padding-right: 3rem;
}

.timeline-item.right {
    left: 50%;
    padding-left: 3rem;
}

.timeline-dot {
    position: absolute;
    top: 20px;
    width: 16px;
    height: 16px;
    background: var(--primary-copper);
    border: 4px solid #FFF;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.timeline-item.left .timeline-dot { right: -11px; }
.timeline-item.right .timeline-dot { left: -11px; }

.timeline-content {
    padding: 2rem;
}

.timeline-year {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--royal-blue);
    color: #FFF;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.timeline-content h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ==========================================================
   10. TESTIMONIALS SLIDER
========================================================== */
.testimonial-card {
    padding: 3rem;
    max-width: 750px;
    margin: 0 auto 2rem auto;
    text-align: center;
}

.quote-icon {
    font-size: 2.5rem;
    color: var(--primary-copper-light);
    opacity: 0.4;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--royal-blue);
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.author-details { text-align: left; }
.author-details h4 { font-family: var(--font-heading); font-size: 1.05rem; }
.author-details span { font-size: 0.8rem; color: var(--text-secondary); }

.swiper-pagination-bullet-active {
    background: var(--primary-copper) !important;
}

/* ==========================================================
   11. ADMISSIONS SECTION
========================================================== */
.admission-banner {
    background: linear-gradient(135deg, var(--primary-copper-dark), var(--primary-copper));
    color: #FFF;
    padding: 5rem 3rem;
    text-align: center;
    border-color: rgba(255, 255, 255, 0.2);
}

.banner-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.banner-content p {
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto 3rem auto;
    opacity: 0.9;
}

.admission-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.step-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-accent);
    font-weight: 700;
    font-size: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.step span {
    font-size: 0.85rem;
    font-weight: 600;
}

.step-line {
    width: 60px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
}

.banner-cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* ==========================================================
   12. FAQ ACCORDION
========================================================== */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    padding: 0;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
    text-align: left;
}

.faq-icon {
    transition: var(--transition-fast);
    color: var(--primary-copper);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out;
    padding: 0 2rem;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ==========================================================
   13. CONTACT SECTION
========================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
}

.contact-info-card, .contact-form-card {
    padding: 3rem;
}

.contact-info-card h3, .contact-form-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.contact-info-card > p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.info-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.info-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(122, 59, 46, 0.08);
    color: var(--primary-copper);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-item h4 { font-family: var(--font-heading); font-size: 1rem; }
.info-item p { font-size: 0.85rem; color: var(--text-secondary); }

.map-placeholder {
    height: 160px;
    margin-top: 2rem;
    background: rgba(0, 75, 147, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--royal-blue);
    font-weight: 700;
}

/* Form Styling */
.form-group {
    margin-bottom: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 0.85rem 1.2rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--primary-copper);
    box-shadow: 0 0 0 4px var(--primary-copper-glow);
    background: #FFF;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--bg-dark);
    color: #FFF;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 3000;
    transform: translateY(150%);
    transition: var(--transition-normal);
}

.toast.show {
    transform: translateY(0);
}

.toast i { color: var(--success); font-size: 1.2rem; }

/* ==========================================================
   14. FOOTER
========================================================== */
.footer {
    background: var(--bg-dark);
    color: #FFF;
    padding-top: 5rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo-text .brand-name { color: #FFF; }
.footer-desc {
    margin: 1.5rem 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 0.8rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.social-links a:hover {
    background: var(--primary-copper);
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #FFF;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--sky-blue);
    padding-left: 5px;
}

.footer-newsletter p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.btn-icon {
    width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 12px;
    flex-shrink: 0;
}

.footer-bottom {
    padding: 2rem 0;
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-links a { color: var(--text-muted); }
.legal-links a:hover { color: #FFF; }

/* ==========================================================
   RESPONSIVE MEDIA QUERIES
========================================================== */
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; gap: 3rem; }
    .hero-title { font-size: 3rem; }
    .about-grid, .why-grid, .teachers-grid { grid-template-columns: repeat(2, 1fr); }
    .facilities-grid { grid-template-columns: repeat(3, 1fr); }
    .gallery-masonry { grid-template-columns: repeat(2, 1fr); }
    .gallery-item.item-wide { grid-column: span 1; }
    .footer-container { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bg-dark);
        padding: 6rem 2rem 2rem 2rem;
        transition: var(--transition-normal);
        z-index: 998;
    }

    .nav-menu.active { right: 0; }
    .nav-list { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
    .nav-link { color: #FFF; font-size: 1.2rem; }
    .mobile-toggle { display: flex; z-index: 999; }
    
    .hero-title { font-size: 2.25rem; }
    .hero-stats { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .stat-divider { display: none; }
    
    .about-grid, .why-grid, .facilities-grid, .teachers-grid { grid-template-columns: 1fr; }
    .gallery-masonry { grid-template-columns: 1fr; grid-auto-rows: 200px; }
    .gallery-item.item-tall { grid-row: span 1; }
    
    .timeline-line { left: 20px; }
    .timeline-item { width: 100%; padding-left: 3rem !important; padding-right: 0 !important; }
    .timeline-item.right { left: 0; }
    .timeline-dot { left: 12px !important; }

    .program-content-grid { grid-template-columns: 1fr; }
    .program-tabs { flex-direction: column; }

    .footer-container { grid-template-columns: 1fr; }
    .footer-bottom-content { flex-direction: column; gap: 1rem; text-align: center; }
    .form-row { grid-template-columns: 1fr; }
    .admission-steps { flex-direction: column; }
    .step-line { width: 2px; height: 30px; }
}