/* 
===============================================
    PREMIUM SCHOOL HOME PAGE STYLESHEET
===============================================
*/

:root {
    /* Color Palette - Default Light */
    --primary: #2563eb;
    --primary-light: #3b82f6;
    --primary-dark: #1d4ed8;
    --secondary: #f59e0b;
    --secondary-hover: #d97706;
    --accent: #10b981;
    --urgent: #ef4444;

    --bg-body: #f8fafc;
    --bg-surface: #ffffff;
    --bg-alt: #f1f5f9;
    --bg-primary: #f8fafc;
    --bg-card: #ffffff;
    --bg-secondary: #f1f5f9;
    
    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-light: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --text-tertiary: #94a3b8;
    
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.2);
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 12px;
}

/* Dark Mode Variables */
html.dark:root {
    --primary: #3b82f6;
    --primary-light: #60a5fa;
    --primary-dark: #2563eb;
    --secondary: #fbbf24;
    --secondary-hover: #f59e0b;
    --accent: #34d399;
    --urgent: #f87171;

    --bg-body: #020617; /* Very dark premium blue/black */
    --bg-surface: #0f172a;
    --bg-alt: #1e293b;
    --bg-primary: #020617;
    --bg-card: #0f172a;
    --bg-secondary: #1e293b;
    
    --text-main: #f8fafc;
    --text-muted: #cbd5e1;
    --text-light: #ffffff;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-tertiary: #94a3b8;
    
    --border: #334155;
    
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.5);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.5);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.5);
    
    --glass-bg: rgba(15, 23, 42, 0.85);
    --glass-border: rgba(255, 255, 255, 0.05);
}

/* =========================================
   Reset & Base Styles
   ========================================= */
* {
    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-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.highlight {
    color: var(--primary);
}

.text-center { text-align: center; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.w-100 { width: 100%; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 0%; height: 100%;
    background: rgba(255,255,255,0.1);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before { width: 100%; }

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: var(--bg-surface);
    color: var(--text-main);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-outline-light:hover {
    background: #fff;
    color: var(--primary);
}

.btn.lg { padding: 16px 40px; font-size: 1.125rem; }
.btn.sm { padding: 8px 20px; font-size: 0.875rem; }
.btn-text { background: none; border: none; color: var(--primary); font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-size: 1rem; }
.btn-text:hover { color: var(--primary-dark); }

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1.5rem;
}

section {
    padding: 5rem 0;
}

/* =========================================
   Advanced Animations & Utilities
   ========================================= */
   
/* Base Reveal Animation - Visible by default for accessibility */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    visibility: visible;
}

/* Only apply animation states when JS is active */
.js-enabled .reveal {
    opacity: 0;
    transform: translateY(30px);
    visibility: hidden;
}

.js-enabled .reveal.visible {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

/* Reveal Left */
.reveal-left {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.js-enabled .reveal-left {
    opacity: 0;
    transform: translateX(-50px);
}

.js-enabled .reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Reveal Right */
.reveal-right {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.js-enabled .reveal-right {
    opacity: 0;
    transform: translateX(50px);
}

.js-enabled .reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Fade Left */
.fade-left {
    opacity: 1;
    transform: translateX(0);
}

.js-enabled .fade-left {
    opacity: 0;
    transform: translateX(-50px);
}

.js-enabled .fade-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Fade Right */
.fade-right {
    opacity: 1;
    transform: translateX(0);
}

.js-enabled .fade-right {
    opacity: 0;
    transform: translateX(50px);
}

.js-enabled .fade-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Zoom In */
.zoom-in {
    opacity: 1;
    transform: scale(1);
}

.js-enabled .zoom-in {
    opacity: 0;
    transform: scale(0.9);
}

.js-enabled .zoom-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Zoom Out */
.zoom-out {
    opacity: 1;
    transform: scale(1);
}

.js-enabled .zoom-out {
    opacity: 0;
    transform: scale(1.1);
}

.js-enabled .zoom-out.visible {
    opacity: 1;
    transform: scale(1);
}

/* Flip Up */
.flip-up {
    opacity: 1;
    transform: perspective(1000px) rotateX(0deg);
}

.js-enabled .flip-up {
    opacity: 0;
    transform: perspective(1000px) rotateX(-90deg);
    transform-origin: bottom;
}

.js-enabled .flip-up.visible {
    opacity: 1;
    transform: perspective(1000px) rotateX(0deg);
}

/* Flip Down */
.flip-down {
    opacity: 1;
    transform: perspective(1000px) rotateX(0deg);
}

.js-enabled .flip-down {
    opacity: 0;
    transform: perspective(1000px) rotateX(90deg);
    transform-origin: top;
}

.js-enabled .flip-down.visible {
    opacity: 1;
    transform: perspective(1000px) rotateX(0deg);
}

/* Slide Up */
.slide-up {
    opacity: 1;
    transform: translateY(0);
}

.js-enabled .slide-up {
    opacity: 0;
    transform: translateY(100px);
}

.js-enabled .slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Slide Down */
.slide-down {
    opacity: 1;
    transform: translateY(0);
}

.js-enabled .slide-down {
    opacity: 0;
    transform: translateY(-100px);
}

.js-enabled .slide-down.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Delay Classes */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(59, 130, 246, 0.2); }
    50% { box-shadow: 0 0 20px rgba(59, 130, 246, 0.4); }
}

@keyframes pulse-soft {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.9; }
    100% { transform: scale(1); opacity: 1; }
}

.animate-float { animation: float 3s ease-in-out infinite; }
.animate-glow { animation: glow 4s ease-in-out infinite; }
.animate-pulse { animation: pulse-soft 2s ease-in-out infinite; }

/* =========================================
   Notification Popup
   ========================================= */
.notification-popup {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-surface);
    border-radius: var(--border-radius);
    padding: 16px 24px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: top 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    min-width: 320px;
    max-width: 90vw;
    border: 1px solid var(--urgent);
}

.notification-popup.show { top: 20px; }

.popup-content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.notification-icon {
    color: var(--urgent);
    font-size: 1.5rem;
    margin-top: 4px;
    animation: ring 2s infinite;
}

.popup-content h4 { margin-bottom: 4px; font-size: 1.1rem; color: var(--urgent); font-family: var(--font-body); }
.popup-content p { font-size: 0.9rem; margin-bottom: 0; color: var(--text-muted); }

.close-popup {
    background: none; border: none; font-size: 1.2rem; color: var(--text-muted); cursor: pointer;
    margin-left: auto; transition: var(--transition);
}
.close-popup:hover { color: var(--text-main); }

.progress-bar {
    height: 3px; background: var(--urgent); width: 100%; transform-origin: left;
}

@keyframes ring {
    0%, 100% { transform: rotate(0); }
    10%, 30%, 50% { transform: rotate(10deg); }
    20%, 40% { transform: rotate(-10deg); }
}

/* =========================================
   Top Bar
   ========================================= */
.top-bar {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    font-size: 0.875rem;
    padding: 8px 0;
    transition: var(--transition);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-left a, .social-links a { color: var(--text-muted); }
.top-bar-left a:hover, .social-links a:hover { color: var(--primary); }
.top-bar-left i, .social-links i { margin-right: 6px; }

.emergency-banner {
    background: rgba(239, 68, 68, 0.1);
    color: var(--urgent);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    animation: blink 2s infinite;
}

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }

.lang-switch select {
    background: var(--bg-alt);
    color: var(--text-main);
    border: 1px solid var(--border);
    padding: 4px 8px;
    border-radius: 4px;
    font-family: inherit;
    cursor: pointer;
    outline: none;
}

.btn-top-admission {
    background: var(--secondary);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
}
.btn-top-admission:hover { background: var(--secondary-hover); }

/* =========================================
   Navbar (Sticky)
   ========================================= */
.navbar {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 15px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
}

.navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 2rem;
    color: var(--primary);
    background: rgba(37, 99, 235, 0.1);
    width: 50px; height: 50px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
}

.logo-text h1 { margin: 0; font-size: 1.5rem; letter-spacing: 1px; }
.logo-text span { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 2px; }

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 500;
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
    background: var(--primary); transition: var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }

.dropdown { position: relative; }
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-surface);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    padding: 10px 0;
    opacity: 0; visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a {
    display: block; padding: 10px 20px;
}
.dropdown-menu a::after { display: none; }
.dropdown-menu a:hover { background: var(--bg-alt); padding-left: 25px; }

.nav-login {
    background: var(--bg-alt);
    padding: 8px 16px !important;
    border-radius: 20px;
    border: 1px solid var(--border);
}
.nav-login::after { display: none !important; }

.nav-actions { display: flex; gap: 16px; align-items: center; }
.search-btn, .mobile-toggle {
    background: none; border: none; font-size: 1.25rem; color: var(--text-main); cursor: pointer; transition: var(--transition);
}
.search-btn:hover { color: var(--primary); }
.mobile-toggle { display: none; }

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    z-index: 1001;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: var(--transition);
}
.search-overlay.active { opacity: 1; visibility: visible; }
.search-container {
    width: 90%; max-width: 600px;
    position: relative;
    transform: translateY(-50px);
    transition: var(--transition);
}
.search-overlay.active .search-container { transform: translateY(0); }
.search-container input {
    width: 100%; padding: 20px 30px; font-size: 1.25rem;
    border-radius: 50px; border: none; outline: none;
    font-family: inherit;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.close-search {
    position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
    background: none; border: none; font-size: 1.5rem; color: var(--text-muted); cursor: pointer;
}

/* =========================================
   Hero Slider
   ========================================= */
.hero {
    position: relative;
    height: calc(100vh - 130px);
    min-height: 600px;
    overflow: hidden;
    background: #000;
}

.slider {
    width: 100%; height: 100%; position: relative;
}

.slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0; visibility: hidden;
    transition: opacity 1s ease-in-out;
}
.slide.active { opacity: 1; visibility: visible; }

.slide img {
    width: 100%; height: 100%; object-fit: cover;
    transform: scale(1.1); transition: transform 6s ease-out;
}
.slide.active img { transform: scale(1); }

.slide::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
}

.slide-content {
    position: absolute;
    top: 50%; left: 10%; transform: translateY(-50%);
    z-index: 10;
    color: #fff;
    max-width: 600px;
}

.slide-content .badge {
    display: inline-block; padding: 6px 16px; background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px); border-radius: 30px; font-weight: 500; margin-bottom: 20px;
    transform: translateY(30px); opacity: 0; transition: var(--transition);
}
.slide-content h2 {
    font-size: clamp(2.5rem, 6vw, 4.5rem); margin-bottom: 20px; color: #fff;
    transform: translateY(30px); opacity: 0; transition: var(--transition); transition-delay: 0.2s;
}
.slide-content h2 .highlight { color: var(--secondary); }
.slide-content p {
    font-size: 1.125rem; margin-bottom: 40px; color: rgba(255,255,255,0.9);
    transform: translateY(30px); opacity: 0; transition: var(--transition); transition-delay: 0.4s;
}

.hero-btns {
    display: flex; gap: 16px;
    transform: translateY(30px); opacity: 0; transition: var(--transition); transition-delay: 0.6s;
}

.slide.active .slide-content .badge,
.slide.active .slide-content h2,
.slide.active .slide-content p,
.slide.active .hero-btns {
    transform: translateY(0); opacity: 1;
}

.slider-controls {
    position: absolute; bottom: 40px; right: 10%; z-index: 10;
    display: flex; gap: 10px;
}
.slider-controls button {
    width: 50px; height: 50px; border-radius: 50%;
    background: rgba(255,255,255,0.2); backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.3); color: #fff;
    font-size: 1.2rem; cursor: pointer; transition: var(--transition);
    display: flex; align-items: center; justify-content: center;
}
.slider-controls button:hover { background: var(--primary); border-color: var(--primary); }

.slider-dots {
    position: absolute; bottom: 55px; left: 10%; z-index: 10;
    display: flex; gap: 8px;
}
.slider-dots .dot {
    width: 10px; height: 10px; border-radius: 5px;
    background: rgba(255,255,255,0.5); cursor: pointer; transition: var(--transition);
}
.slider-dots .dot.active { width: 30px; background: var(--secondary); }

/* =========================================
   Notice Ticker
   ========================================= */
.notice-ticker-wrapper { background: var(--primary); color: #fff; }
.ticker-container {
    display: flex; align-items: center; padding: 12px 20px;
}
.ticker-label {
    background: rgba(0,0,0,0.2); padding: 4px 12px; border-radius: 4px;
    font-weight: 600; font-size: 0.875rem; white-space: nowrap; margin-right: 20px;
}
.ticker-content {
    flex-grow: 1; overflow: hidden; white-space: nowrap; position: relative;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}
.ticker-track {
    display: inline-block; padding-left: 100%;
    animation: ticker 30s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-track span { margin-right: 20px; font-weight: 500; }
.ticker-track span.urgent { color: var(--secondary); font-weight: 700; }
.ticker-view-all {
    color: #fff; text-decoration: underline; font-size: 0.875rem; white-space: nowrap; margin-left: 20px; font-weight: 600;
}
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* =========================================
   Quick Info
   ========================================= */
.quick-info { margin-top: -50px; position: relative; z-index: 20; }
.quick-cards {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px;
}
.q-card {
    background: var(--bg-surface); padding: 30px; border-radius: var(--border-radius);
    box-shadow: var(--shadow-xl, 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1));
    text-align: center; border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease; position: relative; overflow: hidden;
}
html.dark .q-card { box-shadow: 0 10px 25px rgba(0,0,0,0.5); border-top: 1px solid rgba(255,255,255,0.1); }
.q-card:hover { transform: translateY(-10px); }
.q-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--primary);
}
.q-card:nth-child(2)::before { background: var(--secondary); }
.q-card:nth-child(3)::before { background: var(--accent); }
.q-card:nth-child(4)::before { background: var(--urgent); }

.icon-wrap {
    width: 60px; height: 60px; margin: 0 auto 20px; border-radius: 50%;
    background: var(--bg-alt); display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: var(--primary);
}
.q-card h3 { font-size: 1.25rem; font-family: var(--font-body); margin-bottom: 10px; }
.q-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; }
.counter { font-size: 2.5rem; font-weight: 800; color: var(--text-main); line-height: 1; display: inline-block; }
.q-card span { font-weight: 600; color: var(--text-muted); }

/* =========================================
   About School Section
   ========================================= */
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-content p.lead { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 30px; }
.mission-vision { display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; }
.mv-box { display: flex; gap: 20px; background: var(--bg-surface); padding: 20px; border-radius: var(--border-radius); box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: var(--transition); }
.mv-box:hover { box-shadow: var(--shadow-md); transform: translateX(10px); }
.mv-box i { font-size: 2rem; color: var(--secondary); background: rgba(245, 158, 11, 0.1); padding: 15px; border-radius: 12px; height: max-content; }
.mv-box h4 { margin-bottom: 5px; font-family: var(--font-body); }
.mv-box p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0; }

/* Core Values */
.core-values { margin-top: 2rem; }
.core-values h4 { font-family: var(--font-body); margin-bottom: 1rem; color: var(--text-main); }
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.value-item { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--bg-alt); border-radius: 8px; font-weight: 500; font-size: 0.9rem; transition: var(--transition); }
.value-item:hover { background: rgba(37, 99, 235, 0.1); transform: translateX(5px); }
.value-item i { color: var(--accent); font-size: 1.1rem; }
.about-actions { display: flex; gap: 20px; align-items: center; }

.about-visuals { position: relative; }
.img-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; position: relative; }
.img-1 { border-radius: var(--border-radius); grid-column: 1 / 3; height: 300px; object-fit: cover; }
.img-2 { border-radius: var(--border-radius); height: 250px; object-fit: cover; transform: translateY(-30px); margin-left: auto; width: 80%; border: 10px solid var(--bg-body); position: absolute; right: -20px; bottom: -80px; z-index: 2; }
.experience-badge { position: absolute; bottom: 0; left: -20px; background: var(--primary); color: #fff; padding: 30px; border-radius: 50%; width: 150px; height: 150px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; box-shadow: 0 10px 20px rgba(37,99,235,0.3); z-index: 3; animation: float 4s ease-in-out infinite; }
.experience-badge span { font-size: 2.5rem; font-weight: 800; line-height: 1; }
.experience-badge p { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; margin: 0; line-height: 1.2; }
.play-video-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 70px; height: 70px; background: #fff; color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; cursor: pointer; z-index: 4; box-shadow: 0 0 0 10px rgba(255,255,255,0.3); animation: pulse-white 2s infinite; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
@keyframes pulse-white { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.7); } 70% { box-shadow: 0 0 0 20px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }

/* =========================================
   Academics Section
   ========================================= */
.academic-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.academic-card { background: var(--bg-surface); border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid var(--border); }
.academic-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-10px); }
.card-img { height: 220px; overflow: hidden; position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.academic-card:hover .card-img img { transform: scale(1.1); }
.card-body { padding: 30px; }
.card-body h3 { font-family: var(--font-body); font-size: 1.5rem; }
.card-body p { color: var(--text-muted); margin-bottom: 20px; }
.card-link { color: var(--primary); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.card-link:hover { color: var(--primary-dark); gap: 12px; }

/* =========================================
   Notices & Events
   ========================================= */
.ne-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.panel-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; border-bottom: 2px solid var(--border); padding-bottom: 15px; }
.panel-header h2 { margin: 0; font-size: 1.8rem; font-family: var(--font-body); position: relative; }
.panel-header h2::after { content: ''; position: absolute; bottom: -17px; left: 0; width: 50px; height: 2px; background: var(--primary); }
.panel-header a { font-weight: 600; color: var(--primary); }
.panel-header a:hover { text-decoration: underline; }

/* Notices */
.notices-list { display: flex; flex-direction: column; gap: 20px; }
.notice-item { display: flex; gap: 20px; align-items: center; background: var(--bg-surface); padding: 20px; border-radius: var(--border-radius); border: 1px solid var(--border); transition: var(--transition); }
.notice-item:hover { box-shadow: var(--shadow-md); border-color: var(--primary-light); }
.notice-item.urgent { border-left: 4px solid var(--urgent); }
.date-box { background: var(--primary); color: #fff; width: 60px; height: 60px; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.2; text-align: center; }
.notice-item.urgent .date-box { background: var(--urgent); }
.date-box .day { font-size: 1.5rem; font-weight: 700; }
.date-box .month { font-size: 0.8rem; text-transform: uppercase; font-weight: 600; }
.notice-info { flex-grow: 1; }
.notice-info h4 { margin-bottom: 4px; font-family: var(--font-body); transition: var(--transition); }
.notice-item:hover .notice-info h4 { color: var(--primary); }
.notice-info p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }
.download-btn { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-alt); color: var(--text-main); display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.download-btn:hover { background: var(--primary); color: #fff; }

/* Events */
.event-nav button { width: 40px; height: 40px; border-radius: 5px; background: var(--bg-alt); border: 1px solid var(--border); color: var(--text-main); cursor: pointer; transition: var(--transition); }
.event-nav button:hover { background: var(--primary); color: #fff; }
.featured-event { background: var(--bg-surface); border-radius: var(--border-radius); overflow: hidden; border: 1px solid var(--border); }
.fe-img { height: 250px; position: relative; }
.fe-img img { width: 100%; height: 100%; object-fit: cover; }
.fe-date { position: absolute; top: 20px; left: 20px; background: #fff; color: var(--primary); padding: 5px 15px; border-radius: 20px; font-weight: 700; font-size: 0.9rem; box-shadow: var(--shadow-sm); z-index: 2; }
html.dark .fe-date { background: var(--bg-surface); color: var(--text-main); }
.fe-body { padding: 30px; }
.fe-body h3 { font-family: var(--font-body); margin-bottom: 10px; }
.fe-body p { color: var(--text-muted); margin-bottom: 25px; }

/* Countdown */
.countdown { display: flex; gap: 15px; margin-bottom: 30px; }
.countdown div { flex: 1; background: var(--bg-alt); padding: 15px 10px; border-radius: 10px; text-align: center; border: 1px solid var(--border); }
.countdown span { display: block; font-size: 1.8rem; font-weight: 700; color: var(--primary); line-height: 1; }
.countdown small { display: block; font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; margin-top: 5px; font-weight: 600; }

/* =========================================
   Gallery Section
   ========================================= */
.gallery-filters { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; margin-bottom: 40px; }
.gallery-filters button { padding: 8px 20px; border-radius: 30px; background: transparent; border: 1px solid var(--border); color: var(--text-main); cursor: pointer; transition: var(--transition); font-weight: 500; }
.gallery-filters button.active, .gallery-filters button:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); grid-auto-rows: 250px; gap: 20px; }
.g-item { position: relative; border-radius: var(--border-radius); overflow: hidden; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.g-item.wide { grid-column: span 2; }
.g-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; transition: var(--transition); }
.g-overlay i { color: #fff; font-size: 2rem; margin-bottom: 10px; transform: translateY(20px); transition: var(--transition); }
.g-overlay span { color: #fff; font-family: var(--font-body); font-weight: 600; font-size: 1.2rem; transform: translateY(20px); transition: var(--transition); transition-delay: 0.1s; }
.g-item:hover img { transform: scale(1.1); }
.g-item:hover .g-overlay { opacity: 1; }
.g-item:hover .g-overlay i, .g-item:hover .g-overlay span { transform: translateY(0); }

/* =========================================
   Testimonials
   ========================================= */
.testi-slider-wrap { overflow: hidden; padding: 20px 0; }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.testi-card { background: var(--bg-surface); padding: 40px 30px; border-radius: var(--border-radius); box-shadow: var(--shadow-sm); position: relative; border: 1px solid var(--border); transition: var(--transition); }
.testi-card:hover { box-shadow: var(--shadow-md); transform: translateY(-5px); }
.rating { color: var(--secondary); margin-bottom: 20px; font-size: 1.1rem; }
.testi-card p { font-style: italic; color: var(--text-muted); margin-bottom: 30px; font-size: 1.05rem; line-height: 1.8; }
.parent-profile { display: flex; align-items: center; gap: 15px; border-top: 1px solid var(--border); padding-top: 20px; }
.parent-profile img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.parent-profile h4 { margin: 0; font-family: var(--font-body); font-size: 1.1rem; }
.parent-profile span { font-size: 0.85rem; color: var(--text-muted); }

/* =========================================
   Call To Action
   ========================================= */
.cta-section { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); padding: 80px 0; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></svg>') repeat; opacity: 0.5; animation: rotate 60s linear infinite; }
.cta-inner { position: relative; z-index: 10; text-align: center; color: #fff; }
.cta-content h2 { font-size: clamp(2rem, 4vw, 3rem); color: #fff; margin-bottom: 15px; }
.cta-content p { font-size: 1.2rem; margin-bottom: 40px; color: rgba(255,255,255,0.9); }
.cta-btns { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
@keyframes rotate { 0% { background-position: 0 0; } 100% { background-position: 1000px 1000px; } }

/* =========================================
   Map & Contact
   ========================================= */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 0; border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--bg-surface); border: 1px solid var(--border); }
.contact-info-panel { padding: 50px 40px; }
.contact-info-panel h3 { font-size: 1.8rem; margin-bottom: 10px; }
.contact-info-panel p { color: var(--text-muted); margin-bottom: 30px; }
.contact-list { display: flex; flex-direction: column; gap: 25px; }
.contact-list li { display: flex; gap: 20px; align-items: flex-start; }
.contact-list i { font-size: 1.5rem; color: var(--primary); width: 40px; height: 40px; background: rgba(37,99,235,0.1); display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.contact-list strong { display: block; margin-bottom: 5px; color: var(--text-main); }
.contact-list p { margin: 0; font-size: 0.95rem; }
.map-container { height: 100%; min-height: 400px; }
.map-placeholder { width: 100%; height: 100%; background: #ddd; position: relative; }

/* =========================================
   Faculty Section
   ========================================= */
.faculty-section {
    padding: 5rem 0;
}

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.faculty-card {
    background: var(--bg-surface);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.faculty-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px);
}

.f-img {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.f-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.faculty-card:hover .f-img img {
    transform: scale(1.1);
}

.f-socials {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    padding: 12px 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    transition: var(--transition);
}

.faculty-card:hover .f-socials {
    bottom: 0;
}

.f-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.f-socials a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

.f-info {
    padding: 20px;
    text-align: center;
}

.f-info h3 {
    font-family: var(--font-body);
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--text-main);
}

.f-info span {
    color: var(--primary);
    font-weight: 500;
    font-size: 0.9rem;
    display: block;
}

/* =========================================
   Footer
   ========================================= */
.footer { background: var(--bg-alt); padding: 80px 0 20px; border-top: 1px solid var(--border); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 60px; }
.footer-logo { margin-bottom: 20px; display: inline-flex; }
.brand-col p { color: var(--text-muted); margin-bottom: 25px; font-size: 0.95rem; }
.social-links.lg a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--bg-surface); color: var(--text-main); transition: var(--transition); border: 1px solid var(--border); }
.social-links.lg a:hover { background: var(--primary); color: #fff; transform: translateY(-3px); border-color: var(--primary); }

.footer-col h3 { font-size: 1.2rem; margin-bottom: 25px; font-family: var(--font-body); position: relative; padding-bottom: 10px; }
.footer-col h3::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 2px; background: var(--primary); }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: var(--text-muted); transition: var(--transition); }
.footer-links a:hover { color: var(--primary); padding-left: 5px; }

.newsletter-col p { color: var(--text-muted); margin-bottom: 20px; font-size: 0.95rem; }
.newsletter-form { display: flex; margin-bottom: 25px; }
.newsletter-form input { flex-grow: 1; padding: 12px 20px; border: 1px solid var(--border); border-radius: 30px 0 0 30px; background: var(--bg-surface); color: var(--text-main); outline: none; transition: border-color 0.3s; }
.newsletter-form input:focus { border-color: var(--primary); }
.newsletter-form button { background: var(--primary); color: #fff; border: none; padding: 0 25px; border-radius: 0 30px 30px 0; cursor: pointer; transition: background 0.3s; }
.newsletter-form button:hover { background: var(--primary-dark); }
.app-btns { display: flex; gap: 10px; }
.app-btns a { display: inline-flex; align-items: center; gap: 8px; background: var(--bg-surface); color: var(--text-main); border: 1px solid var(--border); padding: 8px 15px; border-radius: 5px; font-size: 0.85rem; font-weight: 600; transition: var(--transition); }
.app-btns a:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; color: var(--text-muted); font-size: 0.9rem; }

/* =========================================
   Floating Extras
   ========================================= */
.theme-toggle, .back-to-top, .chatbot-toggle {
    position: fixed; width: 50px; height: 50px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 990; transition: var(--transition);
    border: none; box-shadow: var(--shadow-md);
}

.theme-toggle { bottom: 20px; left: 20px; background: var(--bg-surface); color: var(--text-main); border: 1px solid var(--border); }
.theme-toggle:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
html.dark .dark-icon { display: none; }
html:not(.dark) .light-icon { display: none; }

.back-to-top { bottom: 80px; left: 20px; background: var(--secondary); color: #fff; opacity: 0; visibility: hidden; transform: translateY(20px); }
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--secondary-hover); transform: translateY(-5px); }

.chatbot-toggle { bottom: 20px; right: 20px; background: var(--primary); color: #fff; font-size: 1.5rem; animation: pulse-primary 2s infinite; }
.chatbot-toggle:hover { background: var(--primary-dark); transform: scale(1.1); }
@keyframes pulse-primary { 0% { box-shadow: 0 0 0 0 rgba(37,99,235,0.7); } 70% { box-shadow: 0 0 0 15px rgba(37,99,235,0); } 100% { box-shadow: 0 0 0 0 rgba(37,99,235,0); } }

/* Chatbot Window */
.chatbot-window { position: fixed; bottom: 80px; right: 20px; width: 350px; max-width: calc(100vw - 40px); background: var(--bg-surface); border-radius: var(--border-radius); box-shadow: var(--shadow-lg); border: 1px solid var(--border); z-index: 991; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(20px) scale(0.9); transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55); overflow: hidden; }
.chatbot-window.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.chat-header { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; }
.chat-title { font-weight: 600; display: flex; align-items: center; gap: 8px; }
.close-chat { background: none; border: none; color: #fff; font-size: 1.2rem; cursor: pointer; opacity: 0.8; transition: opacity 0.3s; }
.close-chat:hover { opacity: 1; }
.chat-body { padding: 20px; height: 300px; overflow-y: auto; display: flex; flex-direction: column; gap: 15px; background: var(--bg-alt); }
.message.bot p { background: var(--bg-surface); color: var(--text-main); padding: 12px 15px; border-radius: 15px 15px 15px 0; border: 1px solid var(--border); display: inline-block; font-size: 0.95rem; box-shadow: var(--shadow-sm); }
.chat-suggestions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.chat-suggestions button { background: var(--bg-surface); border: 1px solid var(--primary); color: var(--primary); padding: 6px 12px; border-radius: 20px; font-size: 0.8rem; cursor: pointer; transition: var(--transition); }
.chat-suggestions button:hover { background: var(--primary); color: #fff; }
.chat-input { display: flex; padding: 15px; border-top: 1px solid var(--border); background: var(--bg-surface); }
.chat-input input { flex-grow: 1; border: none; outline: none; background: transparent; color: var(--text-main); font-family: inherit; }
.chat-input button { background: none; border: none; color: var(--primary); font-size: 1.2rem; cursor: pointer; transition: color 0.3s; }
.chat-input button:hover { color: var(--primary-dark); }

/* =========================================
   Reveal Animations
   ========================================= */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.reveal.fade-left {
    transform: translateX(0);
}
.reveal.fade-right {
    transform: translateX(0);
}
.reveal.fade-left.active, .reveal.fade-right.active {
    transform: translateX(0);
}
.reveal.zoom-in {
    transform: scale(1);
}
.reveal.zoom-in.active {
    transform: scale(1);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* =========================================
   ABOUT PAGE - MODERN DESIGN
   ========================================= */

/* Modern Color Scheme for About Page */
.about-page-modern {
    --about-primary: #2563eb;
    --about-primary-light: #3b82f6;
    --about-secondary: #1e40af;
    --about-accent: #60a5fa;
    --about-bg-light: #f8fafc;
    --about-bg-white: #ffffff;
    --about-bg-gray: #f1f5f9;
    --about-text-dark: #1e293b;
    --about-text-gray: #64748b;
    --about-border: #e2e8f0;
    --about-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --about-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Section Padding */
.about-section {
    padding: 5rem 0;
}

/* 1. Modern Hero Banner */
.about-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-hero::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="%23ffffff" fill-opacity="0.05"%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');
    opacity: 0.5;
}

.hero-content {
    text-align: center;
    color: #fff;
    z-index: 10;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-tagline {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero-breadcrumb a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
}

.hero-breadcrumb a:hover {
    opacity: 0.8;
}

.hero-breadcrumb .separator {
    font-size: 0.8rem;
}

.hero-breadcrumb .current {
    font-weight: 600;
}

/* 2. School Introduction - Modern Layout */
.school-intro-modern {
    background: #fff;
    padding: 5rem 0;
}

.intro-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.intro-grid-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-text h2 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.intro-text .highlight {
    color: #2563eb;
}

.intro-text p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.intro-image-wrapper {
    position: relative;
}

.intro-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--about-shadow-lg);
    transition: transform 0.3s ease;
}

.intro-image:hover {
    transform: scale(1.02);
}

/* 3. Statistics Section - Modern Cards */
.stats-section-modern {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 5rem 0;
}

.stats-grid-modern {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.stat-card-modern {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.stat-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.stat-icon-modern {
    font-size: 3rem;
    color: #2563eb;
    margin-bottom: 15px;
    display: block;
}

.stat-number-modern {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1e293b;
    display: block;
    margin-bottom: 10px;
}

.stat-label-modern {
    font-size: 1rem;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 4. Mission & Vision - Clean Cards */
.mission-vision-modern {
    background: #f8fafc;
    padding: 5rem 0;
}

.mv-grid-modern {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.mv-card-modern {
    background: #fff;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: var(--about-shadow);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.mv-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: var(--about-shadow-lg);
    border-color: #2563eb;
}

.mv-icon-modern {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #fff;
}

.mv-card-modern h3 {
    font-size: 2rem;
    color: #1e293b;
    margin-bottom: 20px;
    font-weight: 700;
}

.mv-card-modern p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.8;
}

/* 5. Principal Message - Professional Card */
.principal-section-modern {
    background: #fff;
    padding: 5rem 0;
}

.principal-card-modern {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 50px;
    align-items: center;
}

.principal-photo-frame {
    position: relative;
}

.principal-photo {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--about-shadow-lg);
}

.principal-info-modern h3 {
    font-size: 2rem;
    color: #1e293b;
    margin-bottom: 10px;
}

.principal-role {
    color: #2563eb;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.principal-message {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 30px;
    font-style: italic;
}

.principal-quote-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 25px;
    border-radius: 15px;
    margin: 30px 0;
    position: relative;
}

.principal-quote-box::before {
    content: '\201C';
    font-size: 4rem;
    position: absolute;
    top: -10px;
    left: 20px;
    opacity: 0.3;
}

.principal-quote-box p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0;
}

/* 6. Infrastructure - Modern Grid */
.infrastructure-modern {
    background: #f8fafc;
    padding: 5rem 0;
}

.facilities-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.facility-card-modern {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--about-shadow);
    transition: all 0.3s ease;
}

.facility-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: var(--about-shadow-lg);
}

.facility-img-modern {
    height: 220px;
    overflow: hidden;
}

.facility-img-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.facility-card-modern:hover .facility-img-modern img {
    transform: scale(1.1);
}

.facility-info-modern {
    padding: 25px;
}

.facility-info-modern h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    color: #1e293b;
    margin-bottom: 10px;
    font-weight: 700;
}

.facility-info-modern h3 i {
    color: #2563eb;
}

.facility-info-modern p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* 7. Achievements - Modern Display */
.achievements-modern {
    background: #fff;
    padding: 5rem 0;
}

.achievements-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.achievement-card-modern {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--about-shadow);
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.achievement-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: var(--about-shadow-lg);
    border-color: #2563eb;
}

.achievement-icon-modern {
    font-size: 4rem;
    color: #fbbf24;
    margin-bottom: 20px;
    display: block;
}

.achievement-card-modern h3 {
    font-size: 1.4rem;
    color: #1e293b;
    margin-bottom: 10px;
    font-weight: 700;
}

.achievement-card-modern p {
    color: #64748b;
    margin-bottom: 15px;
}

.achievement-meta-modern {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 0.9rem;
    color: #64748b;
}

/* 8. Timeline - Interactive Design */
.timeline-modern {
    background: #f8fafc;
    padding: 5rem 0;
}

.timeline-container-modern {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.timeline-modern::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.timeline-item-modern {
    position: relative;
    margin-bottom: 50px;
    width: 50%;
    padding: 0 40px;
}

.timeline-item-modern.left {
    left: 0;
    text-align: right;
}

.timeline-item-modern.right {
    left: 50%;
    text-align: left;
}

.timeline-item-modern::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #fff;
    border: 4px solid #2563eb;
    border-radius: 50%;
    top: 10px;
    z-index: 1;
}

.timeline-item-modern.left::after {
    right: -10px;
}

.timeline-item-modern.right::after {
    left: -10px;
}

.timeline-content-modern {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--about-shadow);
    transition: all 0.3s ease;
}

.timeline-content-modern:hover {
    box-shadow: var(--about-shadow-lg);
    transform: translateY(-5px);
}

.timeline-year-modern {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 6px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.timeline-content-modern h3 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 10px;
    font-weight: 700;
}

.timeline-content-modern p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* 9. Gallery Preview - Modern Grid */
.gallery-preview-modern {
    background: #fff;
    padding: 5rem 0;
}

.gallery-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gallery-item-modern {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

.gallery-item-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item-modern:hover img {
    transform: scale(1.1);
}

.gallery-overlay-modern {
    position: absolute;
    inset: 0;
    background: rgba(102, 126, 234, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item-modern:hover .gallery-overlay-modern {
    opacity: 1;
}

.gallery-overlay-modern i {
    color: #fff;
    font-size: 2rem;
}

.gallery-btn-modern {
    text-align: center;
    margin-top: 40px;
}

.btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.btn-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.4);
}

/* 10. Call-to-Action - Highlighted Section */
.cta-modern {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 5rem 0;
    text-align: center;
}

.cta-content-modern {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta-content-modern h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #fff;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-content-modern p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-buttons-modern {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-apply-modern {
    background: #fff;
    color: #667eea;
    padding: 16px 45px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-apply-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.btn-contact-modern {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 16px 45px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-contact-modern:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* 11. Modern Footer */
.footer-modern {
    background: #1e293b;
    color: #fff;
    padding: 5rem 0 2rem;
}

.footer-grid-modern {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    margin-bottom: 40px;
}

.footer-col-modern h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 700;
}

.footer-col-modern p {
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-links-modern {
    list-style: none;
    padding: 0;
}

.footer-links-modern li {
    margin-bottom: 12px;
}

.footer-links-modern a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links-modern a:hover {
    color: #fff;
    padding-left: 5px;
}

.social-links-modern {
    display: flex;
    gap: 15px;
}

.social-links-modern a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links-modern a:hover {
    background: #2563eb;
    transform: translateY(-3px);
}

.newsletter-form-modern {
    display: flex;
    margin-bottom: 25px;
}

.newsletter-form-modern input {
    flex-grow: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 30px 0 0 30px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    outline: none;
}

.newsletter-form-modern input::placeholder {
    color: #94a3b8;
}

.newsletter-form-modern button {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 0 25px;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-form-modern button:hover {
    background: #1d4ed8;
}

.footer-bottom-modern {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .stats-grid-modern,
    .mv-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .principal-card-modern,
    .footer-grid-modern {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .intro-grid-modern,
    .stats-grid-modern,
    .mv-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .timeline-modern::before {
        left: 20px;
    }
    
    .timeline-item-modern {
        width: 100%;
        left: 0 !important;
        padding-left: 50px !important;
        text-align: left;
    }
    
    .timeline-item-modern::after {
        left: 10px !important;
    }
}

/* 2. School Introduction */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-video-wrapper {
    margin: 2rem 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-thumbnail {
    position: relative;
    cursor: pointer;
}

.video-thumbnail img {
    width: 100%;
    display: block;
    border-radius: var(--border-radius);
}

.play-video-btn-large {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    border: none;
    color: var(--primary);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    animation: pulse-white 2s infinite;
}

.play-video-btn-large:hover {
    background: var(--primary);
    color: #fff;
    transform: translate(-50%, -50%) scale(1.1);
}

.expandable-content {
    margin-top: 2rem;
}

.read-more-btn {
    background: none;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.read-more-btn:hover {
    background: var(--primary);
    color: #fff;
}

.hidden-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.hidden-content.show {
    max-height: 500px;
}

.hidden-content p {
    margin-bottom: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.stat-card {
    background: var(--bg-surface);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    display: block;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-main);
    display: block;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* 3. Timeline Styles */
.timeline-container {
    margin: 4rem 0;
    position: relative;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--primary);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    width: 50%;
}

.timeline-item.left {
    left: 0;
    padding-right: 50px;
}

.timeline-item.right {
    left: 50%;
    padding-left: 50px;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--bg-surface);
    border: 4px solid var(--secondary);
    border-radius: 50%;
    top: 20px;
    z-index: 1;
}

.timeline-item.left::after {
    right: -10px;
}

.timeline-item.right::after {
    left: -10px;
}

.timeline-content {
    background: var(--bg-surface);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.timeline-year {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-family: var(--font-body);
}

.timeline-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.timeline-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-top: 15px;
}

.timeline-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.timeline-content:hover .timeline-image img {
    transform: scale(1.1);
}

.founder-section {
    margin-top: 4rem;
}

.founder-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: center;
    background: var(--bg-surface);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.founder-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.founder-info h3 {
    font-size: 2rem;
    margin-bottom: 5px;
}

.founder-role {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 20px;
}

.founder-info p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.view-bio-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.view-bio-btn:hover {
    background: var(--primary-dark);
    gap: 15px;
}

/* 4. Mission Vision Cards */
.mv-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 3rem;
}

.mv-card {
    background: var(--bg-surface);
    padding: 50px 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: var(--transition);
    text-align: center;
}

.mv-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.mv-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary);
    transition: var(--transition);
}

.mv-card:hover .mv-icon {
    background: var(--primary);
    color: #fff;
    transform: rotateY(360deg);
}

.mv-card h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.vision-text, .mission-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 30px;
    font-style: italic;
}

.vision-points {
    list-style: none;
    padding: 0;
    text-align: left;
}

.vision-points li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.vision-points i {
    color: var(--accent);
}

.mission-pillars {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.pillar {
    background: var(--bg-alt);
    padding: 25px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.pillar:hover {
    background: rgba(37, 99, 235, 0.1);
    transform: translateY(-5px);
}

.pillar i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    display: block;
}

.pillar h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-family: var(--font-body);
}

.pillar p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* 5. Principal Message */
.principal-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 3rem;
}

.principal-image-wrapper {
    position: relative;
}

.principal-frame {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.principal-frame img {
    width: 100%;
    display: block;
}

.principal-name-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--secondary);
    color: #fff;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    text-align: center;
    min-width: 200px;
}

.principal-name-badge i {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.principal-name-badge span {
    display: block;
    font-weight: 700;
    font-size: 1.1rem;
}

.principal-name-badge small {
    font-size: 0.8rem;
    opacity: 0.9;
}

.principal-message-text {
    position: relative;
}

.quote-icon-large {
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.2;
    margin-bottom: -20px;
}

.message-lead {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 20px;
    line-height: 1.6;
}

.principal-message-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 1.05rem;
}

.principal-signature {
    margin: 30px 0;
}

.principal-signature img {
    width: 200px;
    opacity: 0.6;
}

.message-actions {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

/* 6. Infrastructure/Facilities */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.facility-card {
    background: var(--bg-surface);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.facility-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.facility-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.facility-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.facility-card:hover .facility-image img {
    transform: scale(1.1);
}

.facility-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.facility-card:hover .facility-overlay {
    opacity: 1;
}

.view-360-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border: 2px solid #fff;
    color: #fff;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.view-360-btn:hover {
    background: #fff;
    color: var(--primary);
}

.facility-info {
    padding: 25px;
}

.facility-info h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-family: var(--font-body);
}

.facility-info h3 i {
    color: var(--primary);
}

.facility-info p {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* 7. Management Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.team-card {
    background: var(--bg-surface);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.team-image {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-socials {
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    padding: 15px 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    transition: var(--transition);
}

.team-card:hover .team-socials {
    bottom: 0;
}

.team-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.team-socials a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

.team-info {
    padding: 25px;
    text-align: center;
}

.team-info h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    font-family: var(--font-body);
}

.team-role {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 10px;
}

.team-qualification {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.team-experience {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.view-profile-btn {
    background: none;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.view-profile-btn:hover {
    background: var(--primary);
    color: #fff;
    gap: 12px;
}

/* 8. Achievements */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.achievement-card {
    background: var(--bg-surface);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.achievement-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.achievement-icon {
    font-size: 4rem;
    color: var(--secondary);
    margin-bottom: 20px;
    display: block;
}

.achievement-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-family: var(--font-body);
}

.achievement-card > p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.achievement-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.achievement-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.achievement-stats {
    margin-top: 4rem;
}

.stats-counters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.achievement-stat {
    text-align: center;
    padding: 30px;
    background: var(--bg-surface);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.achievement-stat:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.achievement-stat i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 15px;
    display: block;
}

.achievement-stat .counter {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-main);
    display: block;
    margin-bottom: 10px;
}

.achievement-stat p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
    font-weight: 500;
}

/* 9. Values Grid */
.values-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 3rem;
}

.value-card {
    background: var(--bg-surface);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.value-icon-box {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #fff;
    transition: var(--transition);
}

.value-card:hover .value-icon-box {
    transform: rotateY(360deg) scale(1.1);
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-family: var(--font-body);
}

.value-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* 10. Why Choose Section */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.why-card {
    background: var(--bg-surface);
    padding: 40px 35px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.why-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.why-icon {
    width: 80px;
    height: 80px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 25px;
    transition: var(--transition);
}

.why-card:hover .why-icon {
    background: var(--primary);
    color: #fff;
    transform: rotate(360deg);
}

.why-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-family: var(--font-body);
}

.why-card > p {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.why-list {
    list-style: none;
    padding: 0;
}

.why-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.why-list i {
    color: var(--accent);
}

/* 11. Statistics Infographic */
.statistics-infographic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 3rem;
}

.stat-item-large {
    text-align: center;
}

.stat-circle {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
}

.circular-chart {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.circle-bg {
    fill: none;
    stroke: var(--bg-alt);
    stroke-width: 2.5;
}

.circle {
    fill: none;
    stroke: var(--primary);
    stroke-width: 2.5;
    stroke-linecap: round;
    transition: stroke-dasharray 1s ease;
}

.stat-number-lg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-main);
}

.stat-label-lg {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    white-space: nowrap;
}

.stat-item-large h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-family: var(--font-body);
}

.stat-item-large p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* 12. Gallery Slider */
.gallery-filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text-main);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.gallery-slider-wrapper {
    background: var(--bg-surface);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.gallery-main-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.main-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
}

.main-slide.active {
    opacity: 1;
    visibility: visible;
}

.main-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    color: #fff;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
}

.slider-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
}

.slider-navigation button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border: 2px solid #fff;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.slider-navigation button:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.thumbnail-slider {
    display: flex;
    gap: 10px;
    padding: 20px;
    background: var(--bg-alt);
    overflow-x: auto;
}

.thumb {
    width: 100px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition);
    flex-shrink: 0;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb.active, .thumb:hover {
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 0 0 3px var(--primary);
}

/* 13. CTA Section */
.cta-about {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    position: relative;
    overflow: hidden;
}

.cta-box {
    position: relative;
    z-index: 10;
}

.cta-content-wrapper {
    text-align: center;
    color: #fff;
    max-width: 900px;
    margin: 0 auto;
}

.cta-content-wrapper h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #fff;
    margin-bottom: 20px;
}

.cta-content-wrapper > p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.quick-contact {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    padding: 20px 30px;
    border-radius: var(--border-radius);
    display: inline-block;
}

.quick-contact p {
    margin: 0;
    font-size: 1rem;
}

.quick-contact a {
    color: var(--secondary);
    font-weight: 600;
    text-decoration: underline;
}

.whatsapp-float {
    position: absolute;
    bottom: -20px;
    right: 40px;
}

.whatsapp-btn {
    background: #25D366;
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

/* =========================================
   MEDIA QUERIES FOR ABOUT PAGE
   ========================================= */

@media (max-width: 1024px) {
    .intro-grid, .principal-content {
        grid-template-columns: 1fr;
    }
    
    .stats-grid, .mv-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .founder-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .mission-pillars, .values-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .statistics-infographic, .stats-counters {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 50px !important;
        padding-right: 0 !important;
    }
    
    .timeline-item::after {
        left: 10px !important;
        right: auto;
    }
}

@media (max-width: 768px) {
    .about-banner {
        height: 50vh;
        min-height: 400px;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mission-pillars, .values-grid-3, .why-choose-grid {
        grid-template-columns: 1fr;
    }
    
    .statistics-infographic, .stats-counters {
        grid-template-columns: 1fr;
    }
    
    .gallery-main-slider {
        height: 300px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .whatsapp-float {
        position: static;
        display: flex;
        justify-content: center;
        margin-top: 30px;
    }
}

@media (max-width: 600px) {
    .section-padding {
        padding: 3rem 0;
    }
    
    .intro-grid {
        gap: 40px;
    }
    
    .stats-grid {
        gap: 20px;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .timeline-container {
        margin: 2rem 0;
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    .founder-card {
        padding: 25px;
    }
    
    .mv-card {
        padding: 30px 20px;
    }
    
    .principal-content {
        gap: 40px;
    }
    
    .principal-image-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .principal-name-badge {
        right: 0;
        bottom: -20px;
    }
    
    .message-actions {
        flex-direction: column;
    }
    
    .facilities-grid, .team-grid, .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-main-slider {
        height: 250px;
    }
    
    .thumbnail-slider {
        padding: 15px;
    }
    
    .thumb {
        width: 80px;
        height: 60px;
    }
}

/* =========================================
   COMPREHENSIVE RESPONSIVE MEDIA QUERIES
   ========================================= */

/* ===== INDEX.HTML SPECIFIC RESPONSIVE ===== */

/* Large Tablets & Small Desktops (max-width: 1024px) */
@media (max-width: 1024px) {
    /* Top Bar Responsive */
    .top-bar-inner {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }

    .top-bar-left,
    .top-bar-right {
        justify-content: center;
        width: 100%;
    }

    .top-bar-left {
        flex-wrap: wrap;
        gap: 10px;
    }

    .emergency-banner {
        width: 100%;
        justify-content: center;
    }

    /* Navigation Responsive */
    .navbar-inner {
        padding: 0 20px;
    }

    .custom-nav-menu {
        gap: 5px;
    }

    .nav-menu-link {
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    .nav-mega-menu {
        min-width: 250px;
    }

    /* Hero Section */
    .hero-content h1 {
        font-size: clamp(2.5rem, 5vw, 3.5rem);
    }

    .hero-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Grid Layouts */
    .features-grid,
    .facilities-grid,
    .team-grid,
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer */
    .footer-top,
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Medium Tablets (max-width: 900px) */
@media (max-width: 900px) {
    /* Mobile Navigation */
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-surface);
        flex-direction: column;
        padding: 40px 20px;
        transition: all 0.4s ease;
        overflow-y: auto;
    }

    .nav-links.active {
        left: 0;
        box-shadow: var(--shadow-md);
    }

    .mobile-toggle {
        display: block;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        border-left: 2px solid var(--border);
        background: transparent;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding-left: 10px;
        margin-top: 10px;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    /* Custom Nav Mobile */
    .custom-nav-menu {
        flex-direction: column;
        width: 100%;
        padding: 20px 0;
    }

    .nav-menu-item {
        width: 100%;
    }

    .nav-menu-link {
        padding: 15px 20px;
        width: 100%;
        justify-content: space-between;
    }

    .nav-mega-menu {
        position: static;
        box-shadow: none;
        border: none;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 10px;
        margin-left: 20px;
        padding-left: 10px;
        border-left: 2px solid var(--border);
    }

    .nav-menu-item.active .nav-mega-menu {
        display: grid;
    }

    .nav-action-buttons {
        gap: 10px;
    }

    .btn-nav-action span {
        display: none;
    }

    /* Hero Section */
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    /* Section Padding */
    .section-padding {
        padding: 3rem 0;
    }

    /* Grid Adjustments */
    .features-grid,
    .facilities-grid {
        grid-template-columns: 1fr;
    }

    .quick-cards {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-top,
    .footer-content,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-bottom-links {
        justify-content: center;
    }
}

/* Large Tablets & Small Desktops (max-width: 1024px) */
@media (max-width: 1024px) {
    /* Navigation */
    .navbar-inner {
        padding: 0 20px;
    }

    .custom-nav-menu {
        gap: 5px;
    }

    .nav-menu-link {
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    .nav-mega-menu {
        min-width: 250px;
    }

    /* Hero Sections */
    .hero-content h1 {
        font-size: clamp(2.5rem, 5vw, 3.5rem);
    }

    .hero-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Grid Layouts */
    .features-grid,
    .facilities-grid,
    .team-grid,
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer */
    .footer-top,
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    /* Contact Page */
    .contact-wrap {
        grid-template-columns: 1fr;
    }

    .map-container iframe {
        height: 350px;
    }

    /* Events Page */
    .event-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .calendar-wrapper {
        padding: 20px;
    }

    /* About Page */
    .about-inner {
        grid-template-columns: 1fr;
    }

    .principal-content {
        grid-template-columns: 1fr;
    }

    /* Academics Page */
    .ac-sections-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Faculty Page */
    .faculty-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Gallery Page */
    .gallery-filters {
        flex-wrap: wrap;
    }
}

/* Medium Tablets (max-width: 900px) */
@media (max-width: 900px) {
    /* Mobile Navigation */
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-surface);
        flex-direction: column;
        padding: 40px 20px;
        transition: all 0.4s ease;
        overflow-y: auto;
    }

    .nav-links.active {
        left: 0;
        box-shadow: var(--shadow-md);
    }

    .mobile-toggle {
        display: block;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        border-left: 2px solid var(--border);
        background: transparent;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding-left: 10px;
        margin-top: 10px;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    /* Custom Nav Mobile */
    .custom-nav-menu {
        flex-direction: column;
        width: 100%;
        padding: 20px 0;
    }

    .nav-menu-item {
        width: 100%;
    }

    .nav-menu-link {
        padding: 15px 20px;
        width: 100%;
        justify-content: space-between;
    }

    .nav-mega-menu {
        position: static;
        box-shadow: none;
        border: none;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 10px;
        margin-left: 20px;
        padding-left: 10px;
        border-left: 2px solid var(--border);
    }

    .nav-menu-item.active .nav-mega-menu {
        display: grid;
    }

    .nav-action-buttons {
        gap: 10px;
    }

    .btn-nav-action span {
        display: none;
    }

    /* Hero Sections */
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    /* Section Padding */
    .section-padding {
        padding: 3rem 0;
    }

    /* Grid Adjustments */
    .features-grid,
    .facilities-grid {
        grid-template-columns: 1fr;
    }

    .quick-cards {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-top,
    .footer-content,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-bottom-links {
        justify-content: center;
    }
}

/* Small Mobile Devices (max-width: 600px) */
@media (max-width: 600px) {
    /* Global */
    section {
        padding: 3rem 0;
    }

    .container {
        padding: 0 15px;
    }

    /* Typography */
    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* Top Bar */
    .top-bar-inner {
        flex-direction: column;
        gap: 10px;
    }

    .top-bar-left,
    .top-bar-right {
        justify-content: center;
        width: 100%;
    }

    /* Navigation */
    .logo-text h1 {
        font-size: 1.5rem;
    }

    .logo-text span {
        font-size: 0.8rem;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
    }

    /* Hero Banner */
    .slide-content h2 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 0.9rem;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .hero-btns .btn {
        width: 100%;
    }

    /* Cards */
    .quick-cards,
    .feature-cards,
    .info-cards {
        grid-template-columns: 1fr;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-card {
        padding: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    /* Timeline */
    .timeline-container {
        margin: 2rem 0;
    }

    .timeline-content {
        padding: 20px;
    }

    /* Founder Card */
    .founder-card {
        padding: 25px;
    }

    /* Mission/Vision */
    .mv-card {
        padding: 30px 20px;
    }

    /* Principal Message */
    .principal-content {
        gap: 40px;
    }

    .principal-image-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }

    .principal-name-badge {
        right: 0;
        bottom: -20px;
    }

    .message-actions {
        flex-direction: column;
        gap: 10px;
    }

    /* Facilities */
    .facilities-grid {
        grid-template-columns: 1fr;
    }

    /* Team */
    .team-grid {
        grid-template-columns: 1fr;
    }

    /* Achievements */
    .achievements-grid {
        grid-template-columns: 1fr;
    }

    /* Gallery */
    .gallery-main-slider {
        height: 250px;
    }

    .thumbnail-slider {
        padding: 15px;
    }

    .thumb {
        width: 80px;
        height: 60px;
    }

    /* CTA Buttons */
    .cta-btns {
        flex-direction: column;
        align-items: center;
    }

    .cta-btns .btn {
        width: 100%;
        max-width: 300px;
    }

    /* Experience Badge */
    .experience-badge {
        width: 100px;
        height: 100px;
        padding: 15px;
        left: 0;
    }

    .experience-badge span {
        font-size: 1.5rem;
    }

    .experience-badge p {
        font-size: 0.6rem;
    }

    /* Values */
    .values-grid {
        grid-template-columns: 1fr;
    }

    /* Contact Form */
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 20px;
    }

    /* Department Cards */
    .dept-grid {
        grid-template-columns: 1fr;
    }

    /* FAQ */
    .faq-container {
        padding: 20px;
    }

    /* Emergency Contacts */
    .emergency-grid {
        grid-template-columns: 1fr;
    }

    /* Events */
    .event-cards-grid {
        grid-template-columns: 1fr;
    }

    .countdown-timer {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .category-filters {
        flex-wrap: wrap;
        justify-content: center;
    }

    .filter-btn {
        margin: 5px;
    }

    /* Calendar */
    .calendar-header {
        flex-direction: column;
        gap: 10px;
    }

    .calendar-grid {
        overflow-x: auto;
    }

    /* Past Events */
    .past-events-grid {
        grid-template-columns: 1fr;
    }

    /* Academics */
    .ac-sections-grid {
        grid-template-columns: 1fr;
    }

    /* Admission */
    .process-steps {
        grid-template-columns: 1fr;
    }

    .fee-structure-table {
        overflow-x: auto;
    }

    /* Faculty */
    .faculty-grid {
        grid-template-columns: 1fr;
    }

    /* Floating Elements */
    .theme-toggle {
        bottom: 15px;
        left: 15px;
        width: 45px;
        height: 45px;
    }

    .back-to-top {
        bottom: 70px;
        left: 15px;
        width: 45px;
        height: 45px;
    }

    .chatbot-toggle {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .chatbot-window {
        bottom: 75px;
        right: 15px;
        left: 15px;
        width: calc(100% - 30px);
        max-height: 400px;
    }

    /* WhatsApp Float */
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
    }
}

/* Extra Small Devices (max-width: 480px) */
@media (max-width: 480px) {
    /* Typography */
    .section-title {
        font-size: 1.8rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    /* Navigation */
    .logo-text h1 {
        font-size: 1.3rem;
    }

    .logo-text span {
        display: none;
    }

    .logo-icon {
        width: 35px;
        height: 35px;
    }

    /* Buttons - Enhanced Mobile Sizing */
    .btn {
        padding: 14px 24px;      /* Larger vertical for easy tap */
        font-size: 0.95rem;       /* Readable text */
        width: 100%;              /* Full width on mobile */
        max-width: 320px;         /* Max width for very small screens */
        margin: 5px auto;         /* Centered with spacing */
    }

    .btn i {
        font-size: 0.9rem;
    }

    .btn-primary,
    .btn-secondary,
    .btn-outline {
        width: 100%;
        max-width: 320px;
    }

    /* Hero Buttons Stack */
    .hero-btns {
        width: 100%;
    }

    .hero-btns .btn {
        width: 100%;
    }

    /* CTA Buttons */
    .cta-btns {
        width: 100%;
    }

    .cta-btns .btn {
        width: 100%;
    }

    /* Cards */
    .card {
        padding: 20px;
    }

    .card-title {
        font-size: 1.2rem;
    }

    .card-text {
        font-size: 0.9rem;
    }

    /* Footer */
    .footer {
        padding: 60px 0 20px;
    }

    .footer-col h3 {
        font-size: 1.1rem;
    }

    .footer-col p {
        font-size: 0.9rem;
    }

    .newsletter-form input,
    .newsletter-form button {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    /* Chatbot */
    .chat-header {
        padding: 12px 15px;
    }

    .chat-header .chat-title {
        font-size: 1rem;
    }

    .chat-body {
        height: 250px;
        padding: 15px;
    }

    .message-bot p {
        font-size: 0.9rem;
    }

    /* Countdown Timer */
    .countdown-item {
        padding: 10px;
    }

    .countdown-item .number {
        font-size: 1.5rem;
    }

    .countdown-item .label {
        font-size: 0.7rem;
    }

    /* Form Elements */
    .form-group label {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 0.95rem;
        padding: 12px 15px;
    }

    /* Navigation Menu Text */
    .nav-menu-link {
        font-size: 0.95rem;
    }

    /* Section Subtitles */
    .section-subtitle {
        font-size: 1rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .theme-toggle,
    .back-to-top,
    .chatbot-toggle,
    .whatsapp-float,
    .mobile-toggle {
        display: none !important;
    }

    body {
        background: #fff;
    }

    .container {
        max-width: 100%;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-icon,
    .nav-menu-link i,
    .btn i {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Landscape Orientation (Mobile) */
@media (max-width: 900px) and (orientation: landscape) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .slide-content {
        padding: 20px;
    }

    .chatbot-window {
        max-height: 300px;
    }
}
