/* ===== Google Fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Open+Sans:wght@300;400;500;600;700&display=swap');

/* ===== Developer Top Bar ===== */
.developer-bar {
    background: linear-gradient(135deg, #111827, #1e293b);
    color: #94a3b8;
    font-size: 0.78rem;
    padding: 6px 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.developer-bar img {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #475569;
}

.developer-bar span {
    color: #cbd5e1;
    font-weight: 500;
}

.developer-bar a {
    color: #fbbf24;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.developer-bar a:hover {
    color: #fcd34d;
}

/* ===== CSS Variables ===== */
:root {
    --primary: #111827;
    --primary-dark: #0f172a;
    --primary-light: #fef3c7;
    --secondary: #fbbf24;
    --accent: #fbbf24;
    --accent-pink: #fbbf24;
    --white: #ffffff;
    --black: #1e293b;
    --gray: #64748b;
    --gray-light: #f8fafc;
    --gray-border: #e2e8f0;
    --success: #22c55e;
    --danger: #ef4444;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 30px rgba(251, 191, 36, 0.2);
    --radius: 16px;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --gradient-primary: linear-gradient(135deg, #fbbf24, #f59e0b);
    --gradient-hero: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    --gradient-warm: linear-gradient(135deg, #fbbf24, #f59e0b);
    --gradient-cool: linear-gradient(135deg, #fbbf24, #f59e0b);
    --gradient-card: linear-gradient(135deg, rgba(251,191,36,0.05), rgba(245,158,11,0.05));
}

/* ===== Reset ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--black);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 400;
}

/* ===== Typography System ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 12px;
}

p {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.8;
}

a {
    font-family: 'Open Sans', sans-serif;
}

/* ===== Global Keyframe Animations ===== */
@keyframes floatUpDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}
@keyframes rotateGlow {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}
@keyframes scaleIn {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
@keyframes slideInLeft {
    0% { transform: translateX(-60px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}
@keyframes slideInRight {
    0% { transform: translateX(60px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}
@keyframes slideInUp {
    0% { transform: translateY(40px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes borderGlow {
    0%, 100% { border-color: rgba(251,191,36,0.3); }
    50% { border-color: rgba(251,191,36,0.8); }
}
@keyframes textGlow {
    0%, 100% { text-shadow: 0 0 10px rgba(251,191,36,0.3); }
    50% { text-shadow: 0 0 20px rgba(251,191,36,0.6); }
}
@keyframes morphBlob {
    0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    25% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    50% { border-radius: 50% 60% 30% 60% / 30% 60% 70% 40%; }
    75% { border-radius: 60% 30% 60% 40% / 70% 40% 50% 60%; }
}
@keyframes particleFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -30px) rotate(90deg); }
    50% { transform: translate(-20px, -60px) rotate(180deg); }
    75% { transform: translate(-40px, -20px) rotate(270deg); }
}
@keyframes ripple {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(2.5); opacity: 0; }
}
@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}
@keyframes heroCardGlow {
    0%, 100% { box-shadow: 0 8px 32px rgba(99,102,241,0.2), 0 0 60px rgba(139,92,246,0.1), inset 0 1px 0 rgba(255,255,255,0.1); }
    50% { box-shadow: 0 8px 48px rgba(99,102,241,0.35), 0 0 80px rgba(139,92,246,0.2), inset 0 1px 0 rgba(255,255,255,0.15); }
}
@keyframes emblemSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes statCountGlow {
    0%, 100% { text-shadow: 0 0 10px rgba(245,158,11,0.4), 0 0 30px rgba(245,158,11,0.15); }
    50% { text-shadow: 0 0 20px rgba(245,158,11,0.6), 0 0 50px rgba(245,158,11,0.25); }
}

@keyframes lightSweep {
    0% { transform: translateX(-100%) skewX(-15deg); }
    100% { transform: translateX(300%) skewX(-15deg); }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Animation Utility Classes ===== */
.fade-in {
    animation: fadeIn 0.8s ease-in-out;
}

.fade-in-down {
    animation: fadeInDown 0.8s ease-out;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.zoom-in {
    animation: zoomIn 0.8s ease-out;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-brand .logo-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 2px 16px rgba(251, 191, 36, 0.12);
}

.navbar-brand:hover .logo-icon {
    transform: rotate(12deg) scale(1.08);
    box-shadow: 0 6px 24px rgba(251, 191, 36, 0.2);
}

.navbar-brand .logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.navbar-brand h1 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.navbar-brand h1 span {
    display: block;
    font-size: 0.65rem;
    color: var(--gray);
    font-weight: 400;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--black);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateX(-50%);
}

.nav-links a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(251, 191, 36, 0.05);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 60%;
}

.nav-links a:hover::before {
    opacity: 1;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links .btn-admission {
    background: var(--gradient-primary);
    color: var(--primary);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.25);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.nav-links .btn-admission::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: 0.5s;
}

.nav-links .btn-admission:hover::before {
    left: 100%;
}

.nav-links .btn-admission::after {
    display: none;
}

.nav-links .btn-admission:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(251, 191, 36, 0.35);
    color: var(--primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--black);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    position: relative;
    overflow: hidden;
    padding: 120px 0 70px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(93deg, rgba(17, 24, 39, 0.95) 0%, rgba(17, 24, 39, 0.90) 36%, rgba(17, 24, 39, 0.55) 58%, rgba(17, 24, 39, 0.25) 76%, rgba(17, 24, 39, 0.08) 100%);
    backdrop-filter: blur(0px);
}

.hero::after {
    content: '';
    position: absolute;
    right: -130px;
    bottom: 80px;
    width: 470px;
    height: 470px;
    border-radius: 50%;
    border: 8px solid rgba(245, 158, 11, 0.9);
    border-left-color: rgba(245, 158, 11, 0.08);
    border-bottom-color: rgba(245, 158, 11, 0.08);
    pointer-events: none;
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}



.hero-particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.45);
    border-radius: 50%;
}

.hero-particle:nth-child(1) { top: 16%; left: 6%; width: 4px; height: 4px; }
.hero-particle:nth-child(2) { top: 20%; left: 10%; width: 4px; height: 4px; }
.hero-particle:nth-child(3) { top: 24%; left: 14%; width: 4px; height: 4px; }
.hero-particle:nth-child(4) { top: 28%; left: 18%; width: 4px; height: 4px; }

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: relative;
    z-index: 1;
    gap: 36px;
    max-width: 100%;
    margin: 0;
    padding: 0 56px;
}

.hero-main {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 28px;
    width: 100%;
    max-width: 780px;
    margin: 0;
    justify-items: start;
}

.hero-content {
    color: white;
    max-width: 680px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    margin-bottom: 20px;
    border-radius: 40px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.35);
    animation: fadeInDown 1s ease-out 0.2s backwards;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    padding: 9px 18px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.badge-pill--primary {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #111827;
}

.badge-pill--ghost {
    color: #ffffff;
    background: rgba(30, 41, 59, 0.55);
}

.hero-content h2 {
    margin-bottom: 18px;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.hero-script {
    display: block;
    font-family: 'Brush Script MT', 'Segoe Script', cursive;
    font-size: 3.2rem;
    line-height: 0.95;
    font-weight: 500;
    color: #fbbf24;
    margin-bottom: 8px;
}

.hero-title {
    display: block;
    font-size: 4.4rem;
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -1px;
    text-shadow: 0 2px 14px rgba(0,0,0,0.35);
}

.hero-title-white {
    color: #ffffff;
}

.hero-content h2 .highlight {
    background: linear-gradient(135deg, #fbbf24, #f59e0b, #fcd34d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.18rem;
    opacity: 0.95;
    margin-bottom: 30px;
    max-width: 640px;
    line-height: 1.5;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.hero-focus {
    color: #fbbf24;
    font-weight: 700;
}

.hero-visual {
    position: relative;
    width: 100%;
    min-height: 440px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual::before {
    content: '';
    position: absolute;
    inset: 2% 1% 2% 1%;
    border-radius: 34px 34px 120px 34px;
    border: 4px solid rgba(255, 255, 255, 0.9);
    background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    z-index: 0;
}

.hero-visual::after {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    right: -24px;
    bottom: -26px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.55), rgba(245, 158, 11, 0));
    z-index: 0;
}

.hero-kids {
    width: min(100%, 610px);
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center center;
    position: relative;
    z-index: 1;
    border-radius: 28px 28px 110px 28px;
    border: 3px solid rgba(255, 255, 255, 0.92);
    filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.42));
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 12px;
    animation: fadeInUp 1s ease-out 0.8s backwards;
}

.hero .btn-primary {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #111827;
    box-shadow: 0 8px 32px rgba(251, 191, 36, 0.35);
    font-weight: 700;
    transition: all 0.3s ease;
}

.hero .btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(251, 191, 36, 0.45);
}

.hero .btn-outline {
    background: rgba(15, 23, 42, 0.25);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.hero .btn-outline:hover {
    background: rgba(15, 23, 42, 0.35);
    border-color: rgba(251, 191, 36, 0.8);
    color: #fbbf24;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(251, 191, 36, 0.2);
}

/* ===== Hero Stats Bar ===== */
.hero-stats-bar {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(248, 250, 252, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(229, 231, 235, 0.8);
    border-radius: 24px;
    padding: 24px 34px;
    color: #1e293b;
    width: fit-content;
    max-width: 100%;
    margin: 0;
    margin-right: auto;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    transform: translateY(24px);
    justify-content: flex-start;
    animation: fadeInUp 1.2s ease-out 1s backwards;
}

.hero-stat-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 24px;
    flex: 0 0 auto;
    transition: all 0.3s ease;
}

.hero-stat-item:hover {
    transform: scale(1.05);
}

.hero-stat-icon {
    font-size: 1.6rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-radius: 12px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.15);
}

.hero-stat-item h4 {
    font-size: 1.95rem;
    font-weight: 800;
    color: #111827;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.hero-stat-item p {
    font-size: 0.8rem;
    color: #475569;
    margin-top: 4px;
    line-height: 1.25;
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 56px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(214, 219, 220, 0.8), rgba(0, 0, 0, 0));
    flex-shrink: 0;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0.3px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--primary);
    box-shadow: 0 8px 32px rgba(251, 191, 36, 0.3);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(251, 191, 36, 0.45);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--primary);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.9rem;
    border-radius: 40px;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.05rem;
    border-radius: 60px;
}

.btn-block {
    width: 100%;
}

.btn-loading {
    position: relative;
    color: transparent;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.btn-blue {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.btn-blue:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

/* ===== Button Effects ===== */
.btn-admission {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 30px rgba(251, 191, 36, 0.3);
}

.btn-admission:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(251, 191, 36, 0.4);
}

/* ===== Button Transitions ===== */
.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #fbbf24, var(--secondary), #d97706);
    color: var(--black);
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(245, 158, 11, 0.5);
}

.btn-outline {
    background: rgba(255,255,255,0.08);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    text-shadow: 0 1px 6px rgba(0,0,0,0.2);
    box-shadow: 0 0 20px rgba(255,255,255,0.08);
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.25);
    text-shadow: none;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

.btn-blue {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-blue:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

/* ===== Section Styles ===== */
.section {
    padding: 80px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header .badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 6px 22px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.25);
    letter-spacing: 0.5px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 4px;
}

.section-header p {
    color: var(--gray);
    max-width: 600px;
    margin: 16px auto 0;
}

/* ===== About Section ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image .image-box {
    background: var(--gradient-primary);
    border-radius: 20px;
    padding: 40px;
    color: white;
    text-align: center;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.about-image .image-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(255,255,255,0.05) 100%);
    border-radius: 20px;
}

.about-image .image-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
}

.about-image .image-box .icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: floatUpDown 4s ease-in-out infinite;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.15));
}

.about-image .image-box h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.about-image .experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--secondary), #d97706);
    color: var(--black);
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
    transition: var(--transition);
    animation: scaleIn 1s ease-out 0.5s both;
}

.about-image .experience-badge:hover {
    transform: scale(1.1) rotate(-3deg);
}

.about-image .experience-badge span {
    display: block;
    font-size: 2rem;
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.about-content > p {
    color: var(--gray);
    margin-bottom: 24px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-features .feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    background: var(--gradient-card);
    border-radius: 12px;
    border: 1px solid rgba(99, 102, 241, 0.08);
    transition: var(--transition);
}

.about-features .feature:hover {
    transform: translateX(5px);
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.1);
}

.about-features .feature .icon {
    font-size: 1.5rem;
}

.about-features .feature span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* ===== Director's Message ===== */
.director-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--gray-light) 0%, var(--white) 100%);
}

.director-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99,102,241,0.06), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: morphBlob 20s ease-in-out infinite;
}

.director-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245,158,11,0.05), transparent 70%);
    pointer-events: none;
    animation: morphBlob 15s ease-in-out infinite reverse;
}

.director-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.director-photo-wrap {
    position: relative;
}

.director-photo-wrap::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 22px;
    background: var(--gradient-primary);
    z-index: 0;
    animation: gradientShift 5s ease infinite;
    background-size: 200% 200%;
}

.director-photo {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: 18px;
    display: block;
    object-fit: cover;
    aspect-ratio: 3/4;
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.2);
    transition: var(--transition);
}

.director-photo-wrap:hover .director-photo {
    transform: scale(1.02);
}

.director-name-card {
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    background: linear-gradient(135deg, #111827, #1e293b);
    color: #fff;
    padding: 12px 28px;
    border-radius: 50px;
    text-align: center;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.director-name-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.director-name-card p {
    font-size: 0.75rem;
    color: var(--secondary);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.director-content h2 {
    font-size: 2rem;
    color: var(--black);
    margin-bottom: 6px;
}

.director-content .director-label {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 18px;
}

.director-content .director-msg {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
    position: relative;
    padding-left: 20px;
    border-left: 3px solid var(--primary);
    transition: var(--transition);
}

.director-content .director-msg:hover {
    border-left-color: var(--secondary);
    padding-left: 25px;
}

.director-content .director-msg::before {
    content: '\201C';
    position: absolute;
    top: -10px;
    left: -10px;
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.director-content .director-signature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--gray-border);
}

.director-content .director-signature .sig-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.25);
}

.director-content .director-signature .sig-info h5 {
    font-size: 0.95rem;
    color: var(--black);
    margin-bottom: 2px;
}

.director-content .director-signature .sig-info p {
    font-size: 0.8rem;
    color: var(--gray);
}

/* ===== Principal Section ===== */
.principal-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.principal-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 44px;
    align-items: center;
}

.principal-photo-wrap {
    position: relative;
}

.principal-photo-wrap::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 24px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    z-index: 0;
}

.principal-photo {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
    aspect-ratio: 3/4;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.18);
}

.principal-content h3 {
    font-size: 2rem;
    margin-bottom: 6px;
    color: var(--black);
}

.principal-role {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 18px;
}

.principal-quals {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.principal-quals span {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
    background: linear-gradient(135deg, #fde68a, #f59e0b);
}

.principal-content p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 14px;
}

/* ===== Why Choose Us ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.feature-card {
    background: white;
    border: 1px solid rgba(99, 102, 241, 0.08);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.6s ease-out backwards;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.06);
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(99,102,241,0.04), transparent 70%);
    border-radius: 50%;
    transition: var(--transition);
}

.feature-card:hover::after {
    transform: translate(-30px, -30px) scale(1.5);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.2);
}

.feature-card .icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-card);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.1);
}

.feature-card:hover .icon {
    background: var(--gradient-primary);
    transform: rotateY(180deg) scale(1.1);
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.25);
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    color: var(--primary);
    font-weight: 700;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--gray);
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

/* ===== Facilities ===== */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.facility-item {
    background: var(--gradient-card);
    border: 1px solid rgba(99, 102, 241, 0.06);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: default;
    animation: slideInUp 0.6s ease-out backwards;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.05);
}

.facility-item:nth-child(1) { animation-delay: 0.1s; }
.facility-item:nth-child(2) { animation-delay: 0.2s; }
.facility-item:nth-child(3) { animation-delay: 0.3s; }
.facility-item:nth-child(4) { animation-delay: 0.4s; }
.facility-item:nth-child(5) { animation-delay: 0.5s; }
.facility-item:nth-child(6) { animation-delay: 0.6s; }
.facility-item:nth-child(7) { animation-delay: 0.7s; }
.facility-item:nth-child(8) { animation-delay: 0.8s; }

.facility-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.facility-item:hover::before {
    opacity: 1;
}

.facility-item:hover {
    color: white;
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.25);
}

.facility-item .icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.facility-item:hover .icon {
    transform: scale(1.2);
    animation: floatUpDown 2s ease-in-out infinite;
}

.facility-item h4 {
    font-size: 0.95rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* ===== Gallery Filter Bar ===== */
.gallery-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 24px;
}

.filter-btn {
    padding: 8px 18px;
    border: 2px solid var(--primary);
    background: white;
    color: var(--primary);
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.filter-btn:hover::before,
.filter-btn.active::before {
    opacity: 1;
}

.filter-btn:hover,
.filter-btn.active {
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.filter-btn span {
    position: relative;
    z-index: 1;
}

/* Admin Gallery Badges */
.admin-gallery-badges {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.badge-cat {
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

.badge-home {
    background: #f59e0b;
    color: #000;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* ===== Gallery Preview ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 220px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    animation: slideInUp 0.6s ease-out backwards;
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }

.gallery-item:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.2);
}

.gallery-item .gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 500;
    color: white;
    position: relative;
    overflow: hidden;
}

.gallery-item .gallery-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-placeholder::after {
    opacity: 1;
}

.gallery-item .gallery-placeholder .icon {
    font-size: 3rem;
    margin-bottom: 8px;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-placeholder .icon {
    transform: scale(1.1);
}

.gallery-item:nth-child(1) .gallery-placeholder { background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.gallery-item:nth-child(2) .gallery-placeholder { background: linear-gradient(135deg, #f59e0b, #d97706); }
.gallery-item:nth-child(3) .gallery-placeholder { background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.gallery-item:nth-child(4) .gallery-placeholder { background: linear-gradient(135deg, #f59e0b, #d97706); }
.gallery-item:nth-child(5) .gallery-placeholder { background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.gallery-item:nth-child(6) .gallery-placeholder { background: linear-gradient(135deg, #f59e0b, #d97706); }

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.15) rotate(2deg);
}

.gallery-item .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(99, 102, 241, 0.85), transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-item .overlay p {
    color: white;
    font-weight: 500;
    transform: translateY(10px);
    transition: transform 0.4s ease;
    font-size: 0.95rem;
}

.gallery-item:hover .overlay p {
    transform: translateY(0);
}

/* ===== Teachers Preview ===== */
.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.teacher-card {
    background: white;
    border: 1px solid rgba(99, 102, 241, 0.08);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    text-align: center;
    position: relative;
    animation: slideInUp 0.6s ease-out backwards;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.06);
}

.teacher-card:nth-child(1) { animation-delay: 0.1s; }
.teacher-card:nth-child(2) { animation-delay: 0.2s; }
.teacher-card:nth-child(3) { animation-delay: 0.3s; }
.teacher-card:nth-child(4) { animation-delay: 0.4s; }
.teacher-card:nth-child(5) { animation-delay: 0.5s; }
.teacher-card:nth-child(6) { animation-delay: 0.6s; }

.teacher-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.5s ease;
    z-index: 1;
}

.teacher-card:hover::before {
    transform: scaleX(1);
}

.teacher-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.15);
}

.teacher-card .teacher-photo {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.teacher-card .teacher-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.teacher-card:hover .teacher-photo img {
    transform: scale(1.12) rotate(-2deg);
}

.teacher-card .teacher-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(99, 102, 241, 0.15), transparent 40%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.teacher-card:hover .teacher-photo::after {
    opacity: 1;
}

.teacher-card .teacher-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light), #c7d2fe);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary);
}

.teacher-card .teacher-info {
    padding: 20px;
    position: relative;
    z-index: 1;
}

.teacher-card .teacher-info h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: var(--primary);
    font-weight: 700;
}

.teacher-card .teacher-info .subject {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.teacher-card .teacher-info .qualification {
    color: var(--gray);
    font-size: 0.8rem;
}

/* ===== Contact Section ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    animation: fadeInUp 0.8s ease-out;
}

.contact-info {
    animation: fadeInUp 0.8s ease-out 0.1s backwards;
}

.contact-info .info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    padding: 20px;
    border-radius: 14px;
    transition: var(--transition);
    border: 1px solid rgba(99, 102, 241, 0.08);
    background: rgba(99, 102, 241, 0.02);
}

.contact-info .info-item:hover {
    background: var(--gradient-card);
    border-color: rgba(99, 102, 241, 0.15);
    transform: translateX(8px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.1);
}

.contact-info .info-item .icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.2);
    transition: var(--transition);
}

.contact-info .info-item:hover .icon {
    transform: rotate(12deg) scale(1.15);
    box-shadow: 0 6px 25px rgba(251, 191, 36, 0.3);
}

.contact-info .info-item h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: var(--primary);
    font-weight: 700;
}

.contact-info .info-item p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

.contact-form {
    background: white;
    border: 1px solid rgba(99, 102, 241, 0.08);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.06);
    transition: var(--transition);
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.contact-form:hover {
    box-shadow: 0 15px 50px rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.12);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary);
    letter-spacing: 0.3px;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #f8fafc;
    color: var(--primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(100, 116, 139, 0.5);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary);
    background: white;
    box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.15);
    transform: translateY(-2px);
}

.form-group textarea {
    height: 140px;
    resize: vertical;
    font-family: 'Open Sans', sans-serif;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 40px;
}

/* ===== Testimonials Section ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.testimonial-card {
    background: white;
    border: 1px solid rgba(99, 102, 241, 0.08);
    border-radius: var(--radius);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.6s ease-out backwards;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.06);
}

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.testimonial-card:hover::before {
    transform: scaleX(1);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.15);
}

.testimonial-quote {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 12px;
    opacity: 0.6;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid rgba(99, 102, 241, 0.08);
}

.testimonial-author-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--secondary);
}

.testimonial-author-info h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
    color: var(--primary);
}

.testimonial-author-info p {
    font-size: 0.8rem;
    color: var(--gray);
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    color: #fbbf24;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

/* ===== Admission Process Section ===== */
.admission-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    position: relative;
}

.admission-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary), transparent);
    transform: translateY(-50%);
    z-index: 0;
}

.step-card {
    background: white;
    border: 1px solid rgba(99, 102, 241, 0.08);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    animation: slideInUp 0.6s ease-out backwards;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.06);
}

.step-card:nth-child(1) { animation-delay: 0.1s; }
.step-card:nth-child(2) { animation-delay: 0.2s; }
.step-card:nth-child(3) { animation-delay: 0.3s; }
.step-card:nth-child(4) { animation-delay: 0.4s; }

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.15);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0 auto 20px;
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.3);
    transition: var(--transition);
}

.step-card:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(251, 191, 36, 0.4);
}

.step-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--primary);
}

.step-card p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.6;
}

.step-arrow {
    position: absolute;
    top: 50%;
    right: -24px;
    font-size: 1.5rem;
    color: var(--secondary);
    transform: translateY(-50%);
}
.admission-banner {
    background: var(--gradient-primary);
    padding: 70px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.admission-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: morphBlob 12s ease-in-out infinite;
}

.admission-banner::after {
    content: '';
    position: absolute;
    bottom: -40%;
    right: -15%;
    width: 400px;
    height: 400px;
    background: rgba(245, 158, 11, 0.08);
    border-radius: 50%;
    animation: morphBlob 10s ease-in-out infinite reverse;
}

.admission-banner .container {
    position: relative;
    z-index: 1;
}

.admission-banner h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.admission-banner p {
    opacity: 0.9;
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.admission-banner .buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Footer ===== */
.footer {
    background: linear-gradient(180deg, #0f172a, #020617);
    color: white;
    padding: 60px 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent), var(--accent-pink), var(--primary));
    background-size: 200% 100%;
    animation: gradientShift 5s ease infinite;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-about h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    color: var(--secondary);
    text-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
}

.footer-about p {
    opacity: 0.7;
    font-size: 0.9rem;
    line-height: 1.8;
}

.developer-credit {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    padding: 12px 16px;
    background: rgba(99, 102, 241, 0.08);
    border-radius: 10px;
    border: 1px solid rgba(99, 102, 241, 0.12);
    transition: var(--transition);
}

.developer-credit:hover {
    border-color: rgba(99, 102, 241, 0.25);
    background: rgba(99, 102, 241, 0.12);
}

.developer-credit img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    transition: var(--transition);
}

.developer-credit:hover img {
    transform: rotate(10deg) scale(1.1);
}

.developer-credit div {
    font-size: 0.85rem;
    color: #cbd5e1;
    line-height: 1.5;
}

.developer-credit strong {
    color: white;
}

.developer-credit a {
    color: #818cf8;
    text-decoration: none;
    font-size: 0.8rem;
}

.developer-credit a:hover {
    color: #a5b4fc;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.footer-links a {
    display: block;
    opacity: 0.7;
    font-size: 0.9rem;
    padding: 6px 0;
    transition: var(--transition);
    position: relative;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: var(--transition);
    color: var(--secondary);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary);
    padding-left: 18px;
}

.footer-links a:hover::before {
    left: 0;
    opacity: 1;
}

.footer-contact p {
    opacity: 0.7;
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-contact p:hover {
    opacity: 1;
    color: var(--secondary);
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    opacity: 0.5;
    font-size: 0.85rem;
}

/* ===== Social Media Links ===== */
.social-links {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50%;
    color: var(--secondary);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover {
    color: var(--primary);
    border-color: var(--secondary);
    transform: translateY(-4px) scale(1.15);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.3);
}

.social-link.facebook:hover {
    color: #1877f2;
    border-color: #1877f2;
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.3);
}

.social-link.instagram:hover {
    color: #e4405f;
    border-color: #e4405f;
    box-shadow: 0 8px 25px rgba(228, 64, 95, 0.3);
}

.social-link.twitter:hover {
    color: #1da1f2;
    border-color: #1da1f2;
    box-shadow: 0 8px 25px rgba(29, 161, 242, 0.3);
}

.social-link.linkedin:hover {
    color: #0a66c2;
    border-color: #0a66c2;
    box-shadow: 0 8px 25px rgba(10, 102, 194, 0.3);
}

.social-link.youtube:hover {
    color: #ff0000;
    border-color: #ff0000;
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.3);
}

/* ===== Footer Section Enhancement ===== */
.footer-about {
    animation: fadeInUp 0.8s ease-out;
}

.footer-links {
    animation: fadeInUp 0.8s ease-out 0.1s backwards;
}

.footer-contact {
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

/* ===== WhatsApp Floating Button ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    cursor: pointer;
    animation: whatsappPulse 3s ease-in-out infinite;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.3);
    animation: ripple 2s ease-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 8px 35px rgba(37, 211, 102, 0.5);
    animation: none;
}

@keyframes whatsappPulse {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-6px) scale(1.05); }
}

/* ===== Page Header ===== */
.page-header {
    background: var(--gradient-primary);
    padding: 120px 0 60px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    animation: morphBlob 15s ease-in-out infinite;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(245, 158, 11, 0.06);
    border-radius: 50%;
    animation: morphBlob 12s ease-in-out infinite reverse;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 8px;
    animation: slideInUp 0.8s ease-out;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.page-header p {
    opacity: 0.8;
    font-size: 1.1rem;
    animation: slideInUp 1s ease-out 0.2s both;
}

.page-header .breadcrumb {
    margin-top: 16px;
    opacity: 0.7;
    font-size: 0.9rem;
    animation: slideInUp 1s ease-out 0.4s both;
}

.page-header .breadcrumb a {
    color: white;
    opacity: 0.8;
    transition: var(--transition);
}

.page-header .breadcrumb a:hover {
    opacity: 1;
    color: var(--secondary);
}

/* ===== Map Section ===== */
.map-section {
    padding: 0;
}

.map-section iframe {
    width: 100%;
    height: 350px;
    border: none;
}

/* ===== Lightbox ===== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lightbox.active {
    display: flex;
    animation: scaleIn 0.3s ease-out;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox .close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    z-index: 2001;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox .close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    font-size: 2rem;
    padding: 15px 18px;
    cursor: pointer;
    border-radius: 50%;
    transition: var(--transition);
    z-index: 2001;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-title {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.1rem;
    background: rgba(99, 102, 241, 0.3);
    backdrop-filter: blur(10px);
    padding: 10px 24px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== Advanced Animations ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 60px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale3d(0.8, 0.8, 0.8);
    }
    to {
        opacity: 1;
        transform: scale3d(1, 1, 1);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes floatUpDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes morphBlob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(20px, -20px) scale(1.1); }
    50% { transform: translate(-10px, 30px) scale(0.95); }
    75% { transform: translate(30px, 10px) scale(1.05); }
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* ===== Utility Animation Classes ===== */
.fade-in {
    animation: fadeIn 0.8s ease-in-out;
}

.fade-in-down {
    animation: fadeInDown 0.8s ease-out;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.zoom-in {
    animation: zoomIn 0.8s ease-out;
}

.slide-in-up {
    animation: slideInUp 0.6s ease-out;
}

.scale-in {
    animation: scaleIn 0.5s ease-out;
}

.float-animation {
    animation: floatUpDown 3s ease-in-out infinite;
}

/* ===== Scroll Animation ===== */
.fade-in-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered fade-in for grid children */
.fade-in.visible .feature-card,
.fade-in.visible .facility-item,
.fade-in.visible .gallery-item,
.fade-in.visible .teacher-card {
    animation: slideInUp 0.6s ease-out both;
}

.fade-in.visible .feature-card:nth-child(1),
.fade-in.visible .facility-item:nth-child(1) { animation-delay: 0.1s; }
.fade-in.visible .feature-card:nth-child(2),
.fade-in.visible .facility-item:nth-child(2) { animation-delay: 0.2s; }
.fade-in.visible .feature-card:nth-child(3),
.fade-in.visible .facility-item:nth-child(3) { animation-delay: 0.3s; }
.fade-in.visible .feature-card:nth-child(4),
.fade-in.visible .facility-item:nth-child(4) { animation-delay: 0.4s; }
.fade-in.visible .feature-card:nth-child(5),
.fade-in.visible .facility-item:nth-child(5) { animation-delay: 0.5s; }
.fade-in.visible .feature-card:nth-child(6),
.fade-in.visible .facility-item:nth-child(6) { animation-delay: 0.6s; }

/* ===== Image Slider ===== */
.slider {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.slider-track {
    display: flex;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slider-slide {
    min-width: 100%;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.slider-slide:nth-child(1) { background: linear-gradient(135deg, #0f172a 0%, #4f46e5 50%, #6366f1 100%); }
.slider-slide:nth-child(2) { background: linear-gradient(135deg, #052e16 0%, #047857 50%, #06b6d4 100%); }
.slider-slide:nth-child(3) { background: linear-gradient(135deg, #431407 0%, #c2410c 50%, #f59e0b 100%); }
.slider-slide:nth-child(4) { background: linear-gradient(135deg, #2e1065 0%, #7c3aed 50%, #ec4899 100%); }

/* Animated background shapes */
.slide-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.slide-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.12;
}
.slide-shape.s1 {
    width: 300px; height: 300px;
    background: white;
    top: -80px; right: -60px;
    animation: slideShapeFloat 8s ease-in-out infinite;
}
.slide-shape.s2 {
    width: 200px; height: 200px;
    background: white;
    bottom: -60px; left: -40px;
    animation: slideShapeFloat 6s ease-in-out infinite reverse;
}
.slide-shape.s3 {
    width: 150px; height: 150px;
    background: white;
    top: 50%; left: 60%;
    animation: slideShapeFloat 10s ease-in-out infinite 2s;
}
@keyframes slideShapeFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -20px) scale(1.1); }
    66% { transform: translate(-15px, 15px) scale(0.95); }
}

/* Slide Content */
.slider-slide .slide-content {
    text-align: center;
    padding: 30px;
    position: relative;
    z-index: 1;
}

/* Icon Wrap with Ring Animation */
.slide-icon-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}
.slide-icon-ring {
    position: absolute;
    inset: -12px;
    border: 2px solid rgba(255,255,255,0.25);
    border-radius: 50%;
    animation: slideRingSpin 6s linear infinite;
}
.slide-icon-ring::before {
    content: '';
    position: absolute;
    top: -4px; left: 50%;
    width: 8px; height: 8px;
    background: #fbbf24;
    border-radius: 50%;
    box-shadow: 0 0 12px #fbbf24;
}
@keyframes slideRingSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.slider-slide .slide-content .icon {
    font-size: 4.5rem;
    display: block;
    animation: slideIconBounce 3s ease-in-out infinite;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.2));
}
@keyframes slideIconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.slider-slide .slide-content h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 800;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
    letter-spacing: 0.5px;
}

.slider-slide .slide-content p {
    font-size: 1.05rem;
    font-weight: 400;
    opacity: 0.85;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Slide Tag */
.slide-tag {
    display: inline-block;
    margin-top: 20px;
    padding: 8px 24px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    animation: slideTagPulse 3s ease-in-out infinite;
}
@keyframes slideTagPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.2); }
    50% { box-shadow: 0 0 20px 5px rgba(255,255,255,0.1); }
}

/* Slider Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255,255,255,0.6);
    box-shadow: 0 0 25px rgba(255,255,255,0.2);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

/* Dots */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid transparent;
}

.slider-dots .dot:hover {
    background: rgba(255,255,255,0.6);
}

.slider-dots .dot.active {
    background: white;
    width: 36px;
    border-radius: 6px;
    box-shadow: 0 0 15px rgba(255,255,255,0.4);
}

/* ===== Section Background Patterns ===== */
.section-alt {
    background: linear-gradient(180deg, var(--gray-light) 0%, var(--white) 100%);
}

/* ===== Scroll Top Button ===== */
.scroll-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 998;
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    border: none;
}

.scroll-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}

/* ===== Gradient Text Utility ===== */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Card Glow on Hover ===== */
.glow-card {
    transition: var(--transition);
}

.glow-card:hover {
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.15),
                0 10px 40px rgba(99, 102, 241, 0.1);
}

/* ===== Animated Underline ===== */
.animated-underline {
    position: relative;
    display: inline-block;
}

.animated-underline::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
    transition: width 0.4s ease;
}

.animated-underline:hover::after {
    width: 100%;
}

/* ===== Message Success ===== */
.message-success {
    display: none;
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #166534;
    padding: 16px 24px;
    border-radius: 12px;
    margin-top: 16px;
    text-align: center;
    font-weight: 500;
    border: 1px solid rgba(34, 197, 94, 0.2);
    animation: slideInUp 0.5s ease-out;
}

.message-success.show {
    display: block;
}

/* ===== Offer Section ===== */
.offer-section {
    position: relative;
    padding: 90px 20px;
    background: linear-gradient(135deg, #0a0a1a 0%, #0d1b2a 30%, #1b2a4a 60%, #162040 100%);
    overflow: hidden;
}

.offer-stars { position: absolute; inset: 0; pointer-events: none; }
.offer-star {
    position: absolute;
    width: 3px; height: 3px;
    background: #fff;
    border-radius: 50%;
    animation: offerTwinkle 3s ease-in-out infinite;
}
.offer-star:nth-child(1){top:8%;left:12%;animation-delay:0s;width:2px;height:2px;}
.offer-star:nth-child(2){top:15%;left:85%;animation-delay:0.7s;}
.offer-star:nth-child(3){top:45%;left:6%;animation-delay:1.4s;width:2px;height:2px;}
.offer-star:nth-child(4){top:70%;left:92%;animation-delay:0.3s;}
.offer-star:nth-child(5){top:88%;left:35%;animation-delay:2.1s;width:2px;height:2px;}
.offer-star:nth-child(6){top:25%;left:50%;animation-delay:1.8s;}
.offer-star:nth-child(7){top:55%;left:78%;animation-delay:0.9s;width:2px;height:2px;}
.offer-star:nth-child(8){top:35%;left:22%;animation-delay:2.5s;}
.offer-star:nth-child(9){top:75%;left:60%;animation-delay:1.1s;width:2px;height:2px;}
.offer-star:nth-child(10){top:5%;left:42%;animation-delay:1.6s;}
.offer-star:nth-child(11){top:92%;left:75%;animation-delay:0.5s;width:2px;height:2px;}
.offer-star:nth-child(12){top:60%;left:30%;animation-delay:2.3s;}
@keyframes offerTwinkle {
    0%,100%{opacity:0.2;transform:scale(1);}
    50%{opacity:1;transform:scale(1.8);}
}

.offer-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    animation: offerOrb 8s ease-in-out infinite;
}
.offer-orb-1 { width:300px;height:300px;background:rgba(245,158,11,0.12);top:-5%;right:-5%;animation-delay:0s; }
.offer-orb-2 { width:250px;height:250px;background:rgba(59,130,246,0.1);bottom:-10%;left:-5%;animation-delay:3s; }
.offer-orb-3 { width:200px;height:200px;background:rgba(168,85,247,0.08);top:40%;left:50%;animation-delay:5s; }
@keyframes offerOrb {
    0%,100%{transform:translate(0,0) scale(1);}
    33%{transform:translate(30px,-20px) scale(1.1);}
    66%{transform:translate(-20px,30px) scale(0.9);}
}

.offer-ribbon {
    position: absolute;
    top: 28px; right: -42px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 7px 50px;
    transform: rotate(45deg);
    letter-spacing: 2px;
    z-index: 10;
    box-shadow: 0 3px 15px rgba(239,68,68,0.5);
    text-transform: uppercase;
}

.offer-wrap {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.offer-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245,158,11,0.15);
    border: 1px solid rgba(245,158,11,0.3);
    color: #fbbf24;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 8px 24px;
    border-radius: 50px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    animation: offerGlow 2.5s ease-in-out infinite;
}
.offer-eyebrow .dot {
    width: 8px; height: 8px;
    background: #ef4444;
    border-radius: 50%;
    animation: offerBlink 1s infinite;
}
@keyframes offerBlink { 0%,100%{opacity:1;} 50%{opacity:0.2;} }
@keyframes offerGlow {
    0%,100%{box-shadow:0 0 0 0 rgba(245,158,11,0);}
    50%{box-shadow:0 0 25px 5px rgba(245,158,11,0.15);}
}

.offer-main-title {
    font-size: 3.2rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 8px;
    text-align: center;
}
.offer-main-title .gold {
    background: linear-gradient(135deg, #f59e0b, #fbbf24, #f59e0b);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: offerShimmer 3s linear infinite;
}
@keyframes offerShimmer {
    0%{background-position:0% center;}
    100%{background-position:200% center;}
}
.offer-date {
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 1rem;
    margin-bottom: 40px;
}
.offer-date strong {
    color: #fbbf24;
    font-weight: 700;
}

.offer-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: stretch;
}

.offer-benefits {
    position: relative;
    background: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 36px 32px;
    overflow: hidden;
}
.offer-benefits::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24, #f59e0b);
    background-size: 200% auto;
    animation: offerShimmer 3s linear infinite;
}

.offer-benefits-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.offer-benefits-title .gift-icon {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.offer-benefit-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    opacity: 0;
    transform: translateX(-30px);
}
.offer-benefit-row:last-child { border-bottom: none; }
.offer-benefit-row.reveal { animation: offerSlideIn 0.5s ease forwards; }
@keyframes offerSlideIn { to { opacity: 1; transform: translateX(0); } }

.benefit-icon {
    width: 50px; height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.benefit-icon.icon-green {
    background: linear-gradient(135deg, rgba(34,197,94,0.2), rgba(34,197,94,0.05));
    border: 1px solid rgba(34,197,94,0.3);
}
.benefit-icon.icon-blue {
    background: linear-gradient(135deg, rgba(59,130,246,0.2), rgba(59,130,246,0.05));
    border: 1px solid rgba(59,130,246,0.3);
}
.benefit-icon.icon-purple {
    background: linear-gradient(135deg, rgba(168,85,247,0.2), rgba(168,85,247,0.05));
    border: 1px solid rgba(168,85,247,0.3);
}

.benefit-text { text-align: left; flex: 1; }
.benefit-text h4 { color: #fff; font-size: 1.05rem; font-weight: 600; margin-bottom: 3px; }
.benefit-text p { color: rgba(255,255,255,0.45); font-size: 0.8rem; }
.benefit-free {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 50px;
    letter-spacing: 1.5px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(34,197,94,0.3);
    animation: offerFreePop 2s ease-in-out infinite;
}
@keyframes offerFreePop { 0%,100%{transform:scale(1);} 50%{transform:scale(1.08);} }

.offer-timer-card {
    position: relative;
    background: linear-gradient(145deg, rgba(245,158,11,0.08), rgba(245,158,11,0.02));
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(245,158,11,0.2);
    border-radius: 24px;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}
.offer-timer-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ef4444, #f59e0b, #ef4444);
    background-size: 200% auto;
    animation: offerShimmer 2s linear infinite;
}

.timer-emoji { font-size: 3rem; margin-bottom: 10px; animation: offerSwing 2s ease-in-out infinite; }
@keyframes offerSwing { 0%,100%{transform:rotate(0deg);} 25%{transform:rotate(15deg);} 75%{transform:rotate(-15deg);} }
.timer-heading { color: #fff; font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.timer-sub { color: rgba(255,255,255,0.4); font-size: 0.82rem; margin-bottom: 24px; }

.offer-cd { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; width: 100%; margin-bottom: 28px; }
.offer-cd-box {
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(245,158,11,0.2);
    border-radius: 16px;
    padding: 16px 8px;
    position: relative;
    overflow: hidden;
}
.offer-cd-box::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245,158,11,0.05), transparent);
    animation: offerSweep 3s ease-in-out infinite;
}
@keyframes offerSweep { 0%{left:-100%;} 50%{left:100%;} 100%{left:100%;} }
.offer-cd-num { display: block; font-size: 2.2rem; font-weight: 900; color: #fbbf24; line-height: 1; position: relative; z-index: 1; }
.offer-cd-unit { display: block; font-size: 0.65rem; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 2px; margin-top: 6px; position: relative; z-index: 1; }

.offer-tagline2 { color: rgba(255,255,255,0.5); font-size: 0.85rem; font-style: italic; }
.offer-tagline2 span { color: #fbbf24; font-weight: 600; font-style: normal; }

.offer-bottom { text-align: center; margin-top: 36px; }
.offer-cta2 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 44px;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
    border-radius: 60px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 30px rgba(245,158,11,0.35);
}
.offer-cta2::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}
.offer-cta2:hover::before { left: 100%; }
.offer-cta2:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 14px 40px rgba(245,158,11,0.45); }
.offer-cta2-sub { display: block; text-align: center; color: rgba(255,255,255,0.35); font-size: 0.78rem; margin-top: 12px; }

.offer-reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.offer-revealed { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .hero .container {
        padding: 0 28px;
    }

    .hero-main {
        grid-template-columns: 1fr;
        gap: 20px;
        justify-items: start;
    }

    .hero-content {
        max-width: 100%;
        text-align: left;
    }

    .hero-content p {
        font-size: 1.1rem;
        margin-left: 0;
        margin-right: 0;
    }

    .hero-script {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 3.2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        min-height: 360px;
        max-width: 520px;
        margin: 0 auto;
    }

    .hero-stats-bar {
        flex-wrap: wrap;
        justify-content: center;
        padding: 20px 24px;
        gap: 16px;
        margin: 0 auto;
    }

    .hero-stat-divider {
        display: none;
    }

    .hero-stat-item {
        padding: 0 16px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .director-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .principal-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .principal-photo-wrap {
        max-width: 280px;
        margin: 0 auto;
    }

    .principal-content {
        text-align: center;
    }

    .principal-quals {
        justify-content: center;
    }

    .director-photo-wrap {
        max-width: 280px;
        margin: 0 auto;
    }

    .director-content h2 {
        text-align: center;
    }

    .director-content .director-label {
        display: block;
        text-align: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero .container {
        padding: 0 20px;
        margin-top: 80px;
    }

    .navbar .container {
        padding: 12px 12px;
    }

    .navbar-brand h1 {
        font-size: 1rem;
    }

    .navbar-brand .logo-icon {
        width: 45px;
        height: 45px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 320px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        overflow-y: auto;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        padding: 120px 20px 20px;
        gap: 8px;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        padding: 12px 16px !important;
        font-size: 0.95rem !important;
        display: block;
        width: 100%;
        text-align: left;
    }

    .nav-links .btn-admission {
        margin-top: 12px;
        width: 100%;
        text-align: center;
    }

    .hamburger {
        display: flex;
    }

    .hero-script {
        font-size: 2.2rem;
    }

    .hero-title {
        font-size: 2.6rem;
        letter-spacing: -0.5px;
    }

    .hero-visual {
        min-height: 260px;
    }

    .hero-visual::before {
        border-radius: 24px 24px 74px 24px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .principal-content h3 {
        font-size: 1.7rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .slider-slide {
        height: 320px;
    }

    .slider-slide .slide-content h3 {
        font-size: 1.5rem;
    }

    .slide-icon-wrap .icon {
        font-size: 3rem !important;
    }

    .slide-shape.s1 { width: 200px; height: 200px; }
    .slide-shape.s2 { width: 140px; height: 140px; }
    .slide-shape.s3 { width: 100px; height: 100px; }

    /* Offer section responsive */
    .offer-section { padding: 60px 16px; }
    .offer-main-title { font-size: 2rem; }
    .offer-layout { grid-template-columns: 1fr; gap: 20px; }
    .offer-benefits, .offer-timer-card { padding: 28px 22px; }
    .offer-cd-num { font-size: 1.6rem; }
    .offer-ribbon { display: none; }
    .offer-cta2 { padding: 14px 32px; font-size: 0.95rem; }

    /* Gallery Mobile */
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 12px;
    }

    .gallery-item {
        height: 160px;
    }

    .gallery-item .gallery-placeholder .icon {
        font-size: 2rem;
    }

    /* Teachers Mobile */
    .teachers-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 16px;
    }

    .teacher-card {
        padding: 16px;
    }

    .teacher-card .teacher-image {
        height: 160px;
    }

    /* Form Mobile */
    .contact-form {
        padding: 24px 16px;
    }

    .form-group {
        margin-bottom: 12px;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 1rem;
    }

    .btn {
        padding: 12px 24px !important;
        font-size: 0.95rem !important;
        min-height: 44px;
    }

    .section {
        padding: 40px 20px !important;
    }

    .section-header {
        margin-bottom: 24px;
    }
}

@media (max-width: 600px) {
    .navbar-brand h1 {
        font-size: 0.9rem;
    }

    .navbar-brand .logo-icon {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 80vh;
        padding-top: 60px;
    }

    .hero-script {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 12px 16px !important;
        font-size: 0.9rem !important;
        min-height: 44px;
    }

    .hero-stats-bar {
        flex-wrap: wrap;
        padding: 12px 8px;
        border-radius: 12px;
        width: 100%;
        gap: 8px;
    }

    .hero-stat-item {
        flex: 0 1 calc(50% - 4px);
        padding: 8px 6px;
    }

    .hero-stat-item h4 {
        font-size: 1rem;
    }

    .hero-stat-item p {
        font-size: 0.75rem;
    }

    .hero-stat-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .hero-visual {
        min-height: 200px;
    }

    .hero-visual::before {
        border-width: 2px;
        inset: 4% 2% 4% 2%;
        border-radius: 16px 16px 36px 16px;
    }

    .hero-content h2 {
        margin-bottom: 12px;
    }

    .hero-badge {
        gap: 6px;
    }

    .badge-pill {
        padding: 6px 12px;
        font-size: 0.75rem;
    }

    .section {
        padding: 30px 16px !important;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-header p {
        font-size: 0.9rem;
    }

    /* Gallery Mobile - Small Screen */
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 10px;
    }

    .gallery-item {
        height: 140px;
    }

    .gallery-item .gallery-placeholder .icon {
        font-size: 1.5rem;
    }

    /* Teachers Mobile - Small Screen */
    .teachers-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }

    .teacher-card {
        padding: 12px;
    }

    .teacher-card .teacher-image {
        height: 140px;
        margin-bottom: 8px;
    }

    .teacher-card h3 {
        font-size: 0.95rem;
    }

    .teacher-card p {
        font-size: 0.8rem;
    }

    /* Features Grid Mobile */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-card {
        padding: 16px;
    }

    .feature-card .icon {
        font-size: 2rem;
    }

    /* Facilities Mobile */
    .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .facility-item {
        padding: 12px;
    }

    .facility-item .icon {
        font-size: 1.8rem;
    }

    /* Contact Mobile */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-form {
        padding: 16px;
    }

    .contact-info {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .contact-info .info-item {
        padding: 12px;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px;
        font-size: 1rem;
    }

    /* Admission Banner Mobile */
    .admission-banner {
        padding: 24px 16px;
    }

    .admission-banner h2 {
        font-size: 1.4rem;
    }

    .admission-banner p {
        font-size: 0.9rem;
    }

    .admission-banner .buttons {
        flex-direction: column;
        gap: 12px;
    }

    /* Footer Mobile */
    .footer .container {
        padding: 0 16px;
    }

    .develop-credit {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    /* Offer Section Mobile Adjustments */
    .offer-wrap {
        padding: 20px 16px;
        border-radius: 12px;
    }

    .offer-benefits-title,
    .timer-heading {
        font-size: 1.1rem;
    }

    .offer-benefit-row {
        padding: 10px 8px;
    }

    .admission-banner .buttons {
        flex-direction: column;
    }
}

@media (max-width: 360px) {
    .navbar-brand h1 {
        font-size: 0.8rem;
    }

    .navbar-brand .logo-icon {
        width: 35px;
        height: 35px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-script {
        font-size: 1.2rem;
    }

    .section {
        padding: 20px 12px !important;
    }

    .section-header h2 {
        font-size: 1.3rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .gallery-item {
        height: 120px;
    }

    .teachers-grid {
        grid-template-columns: 1fr;
    }

    .facilities-grid {
        grid-template-columns: 1fr;
    }

    .hero-stat-item {
        flex: 0 1 calc(50% - 2px);
    }
}

@media (max-width: 400px) {
    .offer-main-title { font-size: 1.6rem; }
    .offer-cd { gap: 6px; }
    .offer-cd-box { padding: 12px 4px; }
    .offer-cd-num { font-size: 1.3rem; }
    .benefit-icon { width: 40px; height: 40px; font-size: 1.1rem; }
}

/* ===== Admin Styles ===== */
.admin-body {
    background: var(--gray-light);
    min-height: 100vh;
}

.admin-login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
}

.admin-login-box {
    background: white;
    border-radius: 20px;
    padding: 40px;
    width: 400px;
    max-width: 90%;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.admin-login-box .logo {
    width: 70px;
    height: 70px;
    background: var(--primary);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    font-weight: 800;
}

.admin-login-box h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.admin-login-box p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.admin-login-box .form-group {
    text-align: left;
}

.admin-login-box .btn {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
}

.login-error {
    color: var(--danger);
    font-size: 0.85rem;
    margin-top: 8px;
    display: none;
}

/* Admin Layout */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: #0f172a;
    color: white;
    padding: 20px 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.admin-sidebar .sidebar-brand {
    padding: 10px 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.admin-sidebar .sidebar-brand h3 {
    font-size: 1.1rem;
}

.admin-sidebar .sidebar-brand p {
    font-size: 0.75rem;
    opacity: 0.5;
}

.admin-sidebar .nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.9rem;
}

.admin-sidebar .nav-item:hover,
.admin-sidebar .nav-item.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-left: 3px solid var(--secondary);
}

.admin-sidebar .nav-item .icon {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.admin-main {
    flex: 1;
    margin-left: 260px;
    padding: 24px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    background: white;
    padding: 16px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.admin-header h1 {
    font-size: 1.4rem;
}

.admin-header .btn-logout {
    background: var(--danger);
    color: white;
    padding: 8px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    transition: var(--transition);
}

.admin-header .btn-logout:hover {
    background: #dc2626;
}

/* Dashboard Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-card .stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-card:nth-child(1) .stat-icon { background: #dbeafe; color: #2563eb; }
.stat-card:nth-child(2) .stat-icon { background: #dcfce7; color: #16a34a; }
.stat-card:nth-child(3) .stat-icon { background: #fef3c7; color: #d97706; }

.stat-card .stat-info h3 {
    font-size: 1.8rem;
    line-height: 1;
}

.stat-card .stat-info p {
    color: var(--gray);
    font-size: 0.85rem;
}

/* Admin Card */
.admin-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
    margin-bottom: 24px;
}

.admin-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-border);
}

.admin-card .card-header h2 {
    font-size: 1.2rem;
}

.btn-add {
    background: var(--primary);
    color: white;
    padding: 8px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-add:hover {
    background: var(--primary-dark);
}

/* Admin Table */
.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--gray-border);
    font-size: 0.9rem;
}

.admin-table th {
    background: var(--gray-light);
    font-weight: 600;
    color: var(--gray);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-table td img {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    object-fit: cover;
}

.admin-table .teacher-avatar {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
}

.btn-edit {
    background: #dbeafe;
    color: #2563eb;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    margin-right: 6px;
    transition: var(--transition);
}

.btn-edit:hover {
    background: #2563eb;
    color: white;
}

.btn-delete {
    background: #fee2e2;
    color: #dc2626;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    transition: var(--transition);
}

.btn-delete:hover {
    background: #dc2626;
    color: white;
}

/* Admin Gallery Grid */
.admin-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.admin-gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 180px;
    border: 1px solid var(--gray-border);
}

.admin-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-gallery-item .gallery-placeholder-admin {
    width: 100%;
    height: 100%;
    background: var(--gray-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-size: 0.85rem;
}

.admin-gallery-item .gallery-placeholder-admin .icon {
    font-size: 2rem;
    margin-bottom: 4px;
}

.admin-gallery-item .delete-overlay {
    position: absolute;
    top: 8px;
    right: 8px;
}

.admin-gallery-item .delete-overlay button {
    background: rgba(220, 38, 38, 0.9);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.admin-gallery-item .delete-overlay button:hover {
    background: #dc2626;
    transform: scale(1.1);
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: white;
    border-radius: 16px;
    padding: 32px;
    width: 500px;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal h2 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.modal .form-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.modal .form-actions .btn {
    flex: 1;
    justify-content: center;
}

.btn-cancel {
    background: var(--gray-light);
    color: var(--black);
    padding: 12px 24px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
}

.btn-cancel:hover {
    background: var(--gray-border);
}

.btn-save {
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
}

.btn-save:hover {
    background: var(--primary-dark);
}

/* File upload */
.file-upload {
    border: 2px dashed var(--gray-border);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: var(--gray-light);
}

.file-upload:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.file-upload .icon {
    font-size: 2rem;
    margin-bottom: 8px;
    color: var(--gray);
}

.file-upload p {
    color: var(--gray);
    font-size: 0.9rem;
}

.file-upload input[type="file"] {
    display: none;
}

.image-preview {
    margin-top: 12px;
    display: none;
}

.image-preview img {
    max-width: 200px;
    max-height: 150px;
    border-radius: 8px;
    object-fit: cover;
}

/* About page specific */
.about-detail-section {
    padding: 60px 0;
}

.about-detail-section .about-content-full h2 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: var(--primary);
}

.about-detail-section .about-content-full p {
    color: var(--gray);
    margin-bottom: 16px;
    line-height: 1.8;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.value-card {
    background: var(--gradient-card);
    border: 1px solid rgba(99, 102, 241, 0.06);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.value-card:hover::before {
    opacity: 1;
}

.value-card:hover {
    color: white;
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.2);
}

.value-card .icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.value-card:hover .icon {
    transform: scale(1.2);
}

.value-card h4 {
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.value-card p {
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.value-card:hover p {
    color: rgba(255, 255, 255, 0.8);
}

/* Messages table */
.admin-messages .message-item {
    border: 1px solid var(--gray-border);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 12px;
    transition: var(--transition);
}

.admin-messages .message-item:hover {
    border-color: var(--primary);
}

.admin-messages .message-item .msg-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.admin-messages .message-item .msg-header strong {
    color: var(--primary);
}

.admin-messages .message-item .msg-header span {
    color: var(--gray);
    font-size: 0.8rem;
}

.admin-messages .message-item p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Admin responsive */
@media (max-width: 768px) {
    .admin-sidebar {
        width: 0;
        overflow: hidden;
    }

    .admin-main {
        margin-left: 0;
    }

    .admin-sidebar.show {
        width: 260px;
        z-index: 1001;
    }

    .admin-table {
        display: block;
        overflow-x: auto;
    }

    .modal {
        width: 95%;
        padding: 20px;
    }
}

/* Upload zone for gallery */
.upload-zone {
    margin-bottom: 24px;
}

.no-data {
    text-align: center;
    padding: 40px;
    color: var(--gray);
}

.no-data .icon {
    font-size: 3rem;
    margin-bottom: 12px;
}
