/* ============================================
   MODERN SCHOOL WEBSITE - REDESIGNED CSS
   Theme: Modern Education Hub
   ============================================ */

:root {
    /* Brighter, playful palette for Primary School */
    --primary-color: #3B82F6;      /* Sky Blue */
    --primary-light: #60A5FA;
    --primary-dark: #2563EB;
    --primary-gradient: linear-gradient(135deg, #3B82F6 0%, #06B6D4 100%);
    
    --secondary-color: #F59E0B;     /* Warm Amber */
    --secondary-light: #FBBF24;
    --secondary-dark: #D97706;
    
    --accent-color: #10B981;        /* Emerald Green */
    --accent-light: #34D399;
    --accent-dark: #059669;
    
    --success-color: #10B981;       /* Green */
    --warning-color: #F59E0B;
    --danger-color: #EF4444;
    
    /* Text Colors */
    --text-main: #1E293B;           /* Dark Slate */
    --text-muted: #64748B;          /* Muted Slate */
    --text-light: #94A3B8;          /* Light Slate */
    --text-white: #FFFFFF;
    
    /* Background Colors */
    --bg-main: #F8FAFC;             /* Very Light Gray */
    --bg-white: #FFFFFF;
    --bg-card: rgba(255, 255, 255, 0.95);
    --bg-element: rgba(248, 250, 252, 0.8);
    --bg-dark: #0F172A;
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #3B82F6 0%, #06B6D4 100%);
    --gradient-secondary: linear-gradient(135deg, #F59E0B 0%, #F43F5E 100%);
    --gradient-accent: linear-gradient(135deg, #10B981 0%, #14B8A6 100%);
    --gradient-dark: linear-gradient(135deg, #1E293B 0%, #334155 100%);
    --gradient-hero: linear-gradient(135deg, rgba(59, 130, 246, 0.9) 0%, rgba(6, 182, 212, 0.85) 100%);
    
    /* Border & Shadow */
    --border-color: #E2E8F0;
    --border-light: #F1F5F9;
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.3);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: all 0.2s ease;
    --transition-normal: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

body {
    font-family: 'Prompt', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

button, input, textarea {
    font-family: inherit;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Text Colors */
.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-accent { color: var(--accent-color) !important; }
.text-success { color: var(--success-color) !important; }
.text-danger { color: var(--danger-color) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-white { color: var(--text-white) !important; }

/* Background Colors */
.bg-primary { background-color: var(--primary-color) !important; color: white; }
.bg-secondary { background-color: var(--secondary-color) !important; color: white; }
.bg-accent { background-color: var(--accent-color) !important; color: white; }
.bg-white { background-color: var(--bg-white) !important; }
.bg-light { background-color: var(--bg-main) !important; }
.bg-dark { background-color: var(--bg-dark) !important; color: white; }

/* Gradient Backgrounds */
.bg-gradient-primary { background: var(--gradient-primary) !important; color: white; }
.bg-gradient-secondary { background: var(--gradient-secondary) !important; color: white; }
.bg-gradient-accent { background: var(--gradient-accent) !important; color: white; }
.bg-gradient-dark { background: var(--gradient-dark) !important; color: white; }

/* ============================================
   NEW NAVBAR - FLOATING DESIGN
   ============================================ */

.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1200px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    top: 10px;
    box-shadow: var(--shadow-xl);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    padding: 0 30px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-color);
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text h1 {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.2;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text p {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Navigation Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links > li > a {
    font-weight: 500;
    font-size: 0.95rem;
    padding: 10px 18px;
    border-radius: var(--radius-full);
    position: relative;
    transition: var(--transition-normal);
    color: var(--text-main);
}

.nav-links > li > a:hover,
.nav-links > li > a.active {
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.08);
}

.nav-links > li > a.active {
    background: var(--gradient-primary);
    color: white;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown > a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown > a i {
    font-size: 0.7rem;
    transition: var(--transition-fast);
}

.dropdown:hover > a i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius-md);
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-normal);
    padding: 8px;
    border: 1px solid var(--border-color);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    font-size: 0.9rem;
    color: var(--text-main);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.dropdown-menu li a:hover {
    background: var(--bg-element);
    color: var(--primary-color);
}

.dropdown-menu li a i {
    width: 18px;
    text-align: center;
    color: var(--primary-light);
}

/* Search Bar */
.nav-search {
    display: flex;
    align-items: center;
    background: var(--bg-element);
    border-radius: var(--radius-full);
    padding: 8px 16px;
    gap: 10px;
    border: 1px solid transparent;
    transition: var(--transition-normal);
}

.nav-search:focus-within {
    border-color: var(--primary-light);
    background: var(--bg-white);
    box-shadow: var(--shadow-glow);
}

.nav-search input {
    border: none;
    background: transparent;
    font-size: 0.9rem;
    width: 150px;
    outline: none;
}

.nav-search i {
    color: var(--text-muted);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-full);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.mobile-menu-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::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: var(--transition-slow);
}

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

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.5);
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background: white;
    color: var(--primary-color);
    border-color: white;
    transform: translateY(-3px);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* ============================================
   HERO SECTION - NEW DESIGN
   ============================================ */

.hero {
    min-height: 100vh;
    background: var(--bg-dark) url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%232563EB" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 100px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    background: radial-gradient(circle at 70% 50%, rgba(245, 158, 11, 0.2) 0%, transparent 50%);
    z-index: 1;
}

/* Animated Background Shapes */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: -50px;
    animation-delay: -5s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    right: 20%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -20px) rotate(5deg); }
    50% { transform: translate(-10px, 20px) rotate(-5deg); }
    75% { transform: translate(-20px, -10px) rotate(3deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-badge i {
    color: var(--accent-light);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.hero-title span {
    background: linear-gradient(135deg, var(--accent-light) 0%, #FCD34D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 550px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Scroll Down Indicator */
.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 10;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: var(--transition-normal);
}

.scroll-down:hover {
    background: rgba(255,255,255,0.2);
    transform: translateX(-50%) scale(1.1);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateX(-50%) translateY(0);}
    40% {transform: translateX(-50%) translateY(-15px);}
    60% {transform: translateX(-50%) translateY(-7px);}
}

/* ============================================
   STATISTICS BAR - NEW DESIGN
   ============================================ */

.stats-bar-section {
    background: var(--bg-white);
    padding: 50px 0;
    margin-top: -80px;
    position: relative;
    z-index: 10;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

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

.stat-item {
    text-align: center;
    padding: 20px;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.stat-item:hover {
    background: var(--bg-element);
    transform: translateY(-5px);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: white;
    box-shadow: var(--shadow-glow);
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
    padding: 80px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-main);
}

.section-header h2 i {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-top: 10px;
    max-width: 600px;
}

.view-all {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
}

.view-all:hover {
    background: rgba(37, 99, 235, 0.08);
    transform: translateX(5px);
}

/* ============================================
   DUAL SECTION LAYOUT
   ============================================ */

.dual-section {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 40px;
    align-items: start;
    position: relative;
}

.school-menu-panel {
    grid-column: 1;
    width: 350px;
}

.content-area {
    grid-column: 2;
    min-width: 0;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* ============================================
   SCHOOL MENU PANEL - NEW DESIGN
   ============================================ */

.school-menu-panel {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    align-self: start;
    position: sticky;
    top: 120px;
    z-index: 10;
}

.content-area {
    min-width: 0;
    width: 100%;
}

.panel-header {
    padding: 25px;
    background: var(--gradient-primary);
    color: white;
}

.panel-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.panel-body {
    padding: 15px 0;
}

.custom-list li a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 25px;
    border-left: 4px solid transparent;
    transition: var(--transition-normal);
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
}

.custom-list li a i {
    width: 22px;
    text-align: center;
    color: var(--primary-light);
    transition: var(--transition-normal);
}

.custom-list li a:hover {
    background: var(--bg-element);
    border-left-color: var(--primary-color);
    color: var(--primary-color);
}

.custom-list li a:hover i {
    color: var(--primary-color);
    transform: scale(1.1);
}

/* ============================================
   NEWS CARDS - NEW DESIGN
   ============================================ */

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

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

.news-img {
    height: 220px;
    width: 100%;
    background-color: var(--primary-light);
    background-image: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.news-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.3));
    z-index: 1;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.news-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gradient-primary);
    color: white;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: var(--shadow-md);
}

.news-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
    color: var(--text-main);
    transition: var(--transition-normal);
}

.news-card:hover .news-title {
    color: var(--primary-color);
}

.news-excerpt {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
    line-height: 1.6;
}

.read-more {
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-normal);
}

.read-more i {
    transition: var(--transition-normal);
}

.news-card:hover .read-more i {
    transform: translateX(5px);
}

/* ============================================
   DEPARTMENT CARDS - NEW DESIGN
   ============================================ */

.dept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
}

.dept-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    position: relative;
    overflow: hidden;
}

.dept-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.dept-card:hover::before {
    transform: scaleX(1);
}

.dept-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
}

.dept-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-element);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition-normal);
    margin-bottom: 10px;
}

.dept-card:hover .dept-icon {
    background: var(--gradient-primary);
    color: white;
    transform: rotateY(360deg);
}

.dept-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
}

.dept-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ============================================
   FOOTER - NEW DESIGN
   ============================================ */

.footer {
    background: var(--gradient-dark);
    color: white;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.03" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat center center/cover;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: rgba(255,255,255,0.7);
    margin-bottom: 25px;
    line-height: 1.8;
}

.footer-col h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: white;
    position: relative;
    padding-bottom: 15px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col ul li a:hover {
    color: var(--accent-light);
    padding-left: 5px;
}

.footer-col ul li a i {
    font-size: 0.8rem;
}

.contact-info li {
    display: flex;
    gap: 15px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin-bottom: 20px;
}

.contact-info li i {
    color: var(--accent-light);
    margin-top: 4px;
    width: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
    font-size: 1.1rem;
}

.social-links a:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-5px);
}

.footer-bottom {
    background: rgba(0,0,0,0.3);
    padding: 25px 0;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    position: relative;
    z-index: 1;
}

/* ============================================
   SUB-PAGE HERO
   ============================================ */

.subpage-hero {
    height: 350px;
    background: var(--gradient-primary);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.subpage-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat center center/cover;
}

.subpage-hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.subpage-hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.subpage-hero-content p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ============================================
   SECTION ITEM
   ============================================ */

.section-item {
    margin-bottom: 60px;
}

.section-item.reveal {
    transform: none; /* Prevent translateY from messing up scroll anchor calculation */
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-main);
}

/* ============================================
   CONTACT FORM
   ============================================ */

.contact-form {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-main);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-normal);
    background: var(--bg-main);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ============================================
   PERSONNEL CARDS
   ============================================ */

.personnel-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 35px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

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

.personnel-avatar {
    width: 150px;
    height: 150px;
    background: var(--bg-element);
    border-radius: var(--radius-full);
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 4px solid var(--bg-white);
    box-shadow: var(--shadow-lg);
}

.personnel-avatar i {
    font-size: 4rem;
    color: var(--primary-light);
}

.personnel-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-main);
}

.personnel-card .position {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.personnel-card .quote {
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
    z-index: 1;
}

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

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

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

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1200px) {
    .dual-section {
        grid-template-columns: 300px 1fr;
    }
    .school-menu-panel {
        width: 300px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .navbar {
        width: calc(100% - 30px);
        top: 15px;
    }
    
    .nav-search {
        display: none;
    }
    
    .dual-section {
        grid-template-columns: 1fr;
    }
    
    .school-menu-panel {
        position: static;
        width: 100%;
        grid-column: auto;
    }
    
    .content-area {
        grid-column: auto;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        width: calc(100% - 20px);
        top: 10px;
        border-radius: var(--radius-md);
    }
    
    .nav-container {
        padding: 0 20px;
        height: 60px;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        width: 100%;
        background: var(--bg-white);
        flex-direction: column;
        padding: 15px;
        box-shadow: var(--shadow-xl);
        gap: 5px;
        border-radius: var(--radius-md);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links > li {
        width: 100%;
    }
    
    .nav-links > li > a {
        padding: 12px 15px;
        justify-content: center;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: var(--bg-element);
        margin-top: 5px;
        padding-left: 20px;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .logo-text p {
        display: none;
    }
    
    .hero {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 60px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .stats-bar-section {
        margin-top: -40px;
        padding: 30px 0;
    }
    
    .stats-bar {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .dept-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .subpage-hero {
        height: 250px;
    }
    
    .subpage-hero-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .logo-text h1 {
        font-size: 1.1rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .dept-grid {
        grid-template-columns: 1fr;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

/* ============================================
   LOADING ANIMATION
   ============================================ */

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   COUNTER ANIMATION
   ============================================ */

.counter {
    display: inline-block;
}

/* ============================================
   PULSE ANIMATION
   ============================================ */

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ============================================
   GLOW EFFECT
   ============================================ */

.glow {
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.5);
}

/* ============================================
   GRADIENT TEXT
   ============================================ */

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
