/*
Theme Name: Virtue International School
Theme URI: https://nexcoresystems.com
Author: NexCore Systems
Author URI: https://nexcoresystems.com
Description: Premium custom WordPress theme for Virtue International School — an elite basic school in Accra, Ghana. Features deep blue & gold branding, animated counters, gallery lightbox, WhatsApp integration, and full CMS editability.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: Proprietary
License URI: https://nexcoresystems.com/license
Text Domain: virtue-school
Tags: education, school, custom-theme, ghana
*/

/* ============================================================
   CSS VARIABLES & RESET
   ============================================================ */
:root {
    --deep-blue: #0B3C5D;
    --deep-blue-dark: #082d47;
    --deep-blue-light: #0f4f7a;
    --gold: #D4AF37;
    --gold-light: #e8cc6e;
    --gold-dark: #b8952e;
    --white: #FFFFFF;
    --light-grey: #F5F5F5;
    --dark-grey: #333333;
    --medium-grey: #666666;
    --border-grey: #e0e0e0;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Open Sans', 'Segoe UI', sans-serif;
    --font-accent: 'Poppins', sans-serif;
    --section-padding: 100px 0;
    --section-padding-mobile: 60px 0;
    --container-width: 1200px;
    --container-padding: 0 20px;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(11, 60, 93, 0.06);
    --shadow-md: 0 4px 20px rgba(11, 60, 93, 0.1);
    --shadow-lg: 0 8px 40px rgba(11, 60, 93, 0.14);
    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.25);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark-grey);
    background: var(--white);
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition-base); }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--deep-blue);
    line-height: 1.25;
    font-weight: 700;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.container { max-width: var(--container-width); margin: 0 auto; padding: var(--container-padding); }
.section-padding { padding: var(--section-padding); }
.bg-light { background: var(--light-grey); }
.bg-blue { background: var(--deep-blue); color: var(--white); }
.bg-blue h2, .bg-blue h3, .bg-blue p { color: var(--white); }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }

.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}
.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 16px auto 0;
    border-radius: 2px;
}
.section-header p {
    font-size: 1.05rem;
    color: var(--medium-grey);
    max-width: 640px;
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 4px;
    font-family: var(--font-accent);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-base);
}
.btn-primary { background: var(--gold); color: var(--deep-blue); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--deep-blue); transform: translateY(-2px); }
.btn-outline-blue { background: transparent; color: var(--deep-blue); border-color: var(--deep-blue); }
.btn-outline-blue:hover { background: var(--deep-blue); color: var(--white); transform: translateY(-2px); }
.btn-group { display: flex; gap: 16px; flex-wrap: wrap; }

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(11,60,93,0.08);
    transition: var(--transition-base);
}
.site-header.scrolled { box-shadow: var(--shadow-md); border-bottom-color: transparent; }
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 20px; max-width: var(--container-width); margin: 0 auto;
}
.site-logo { display: flex; align-items: center; gap: 12px; }
.site-logo img { height: 50px; width: auto; }
.site-logo .logo-text {
    font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700;
    color: var(--deep-blue); line-height: 1.2;
}
.site-logo .logo-text small {
    display: block; font-family: var(--font-accent); font-size: 0.65rem;
    font-weight: 400; color: var(--gold); letter-spacing: 2px; text-transform: uppercase;
}
.nav-main ul { display: flex; align-items: center; gap: 4px; }
.nav-main a {
    font-family: var(--font-accent); font-size: 0.85rem; font-weight: 500;
    color: var(--dark-grey); padding: 8px 16px; border-radius: 4px;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.nav-main a:hover, .nav-main a.active { color: var(--deep-blue); background: rgba(11,60,93,0.05); }
.nav-main .nav-cta { background: var(--gold); color: var(--deep-blue); font-weight: 600; margin-left: 8px; }
.nav-main .nav-cta:hover { background: var(--gold-dark); }
.nav-toggle {
    display: none; background: none; border: none; cursor: pointer;
    width: 36px; height: 36px; position: relative;
}
.nav-toggle span {
    display: block; width: 24px; height: 2px; background: var(--deep-blue);
    position: absolute; left: 6px; transition: var(--transition-base);
}
.nav-toggle span:nth-child(1) { top: 10px; }
.nav-toggle span:nth-child(2) { top: 17px; }
.nav-toggle span:nth-child(3) { top: 24px; }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg); top: 17px; }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg); top: 17px; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    position: relative; min-height: 100vh; display: flex;
    align-items: center; justify-content: center; overflow: hidden; background: var(--deep-blue);
}
.hero-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center; background-repeat: no-repeat;
}
.hero-bg::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(11,60,93,0.88) 0%, rgba(11,60,93,0.72) 50%, rgba(8,45,71,0.85) 100%);
}
.hero-content {
    position: relative; z-index: 2; text-align: center;
    padding: 120px 20px 80px; max-width: 820px;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(212,175,55,0.15); border: 1px solid rgba(212,175,55,0.4);
    color: var(--gold); font-family: var(--font-accent); font-size: 0.8rem;
    font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
    padding: 8px 20px; border-radius: 30px; margin-bottom: 24px;
}
.hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); color: var(--white); margin-bottom: 8px; letter-spacing: -0.5px; }
.hero .hero-pillars {
    font-family: var(--font-accent); font-size: clamp(0.9rem, 2vw, 1.15rem); font-weight: 500;
    color: var(--gold); letter-spacing: 4px; text-transform: uppercase; margin-bottom: 24px;
}
.hero .hero-desc {
    font-size: clamp(1rem, 2vw, 1.15rem); color: rgba(255,255,255,0.85);
    max-width: 600px; margin: 0 auto 36px; line-height: 1.8;
}
.hero-line { width: 80px; height: 3px; background: var(--gold); margin: 20px auto; border-radius: 2px; }

/* ============================================================
   AWARDS / HIGHLIGHT
   ============================================================ */
.awards-section { padding: var(--section-padding); background: var(--white); }
.awards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.awards-image { position: relative; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-lg); }
.awards-image img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.awards-image::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: var(--gold); }
.awards-content h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-bottom: 16px; }
.awards-content p { color: var(--medium-grey); margin-bottom: 32px; font-size: 1.05rem; }
.highlight-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.highlight-card {
    background: var(--light-grey); border-left: 3px solid var(--gold);
    padding: 20px 24px; border-radius: 0 6px 6px 0; transition: var(--transition-base);
}
.highlight-card:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.highlight-card .h-number { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--deep-blue); display: block; }
.highlight-card .h-label { font-family: var(--font-accent); font-size: 0.8rem; color: var(--medium-grey); text-transform: uppercase; letter-spacing: 1px; }

/* ============================================================
   MISSION & VISION
   ============================================================ */
.mission-vision { padding: var(--section-padding); background: var(--deep-blue); position: relative; overflow: hidden; }
.mission-vision::before { content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px; border-radius: 50%; background: rgba(212,175,55,0.04); }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; position: relative; z-index: 1; }
.mv-card {
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px; padding: 48px 40px; transition: var(--transition-base);
}
.mv-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); }
.mv-card .mv-icon {
    width: 56px; height: 56px; background: rgba(212,175,55,0.15);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px; font-size: 1.4rem;
}
.mv-card h3 { font-size: 1.4rem; color: var(--gold); margin-bottom: 16px; }
.mv-card p { color: rgba(255,255,255,0.8); font-size: 1rem; line-height: 1.8; }

/* ============================================================
   SCHOOL HISTORY
   ============================================================ */
.school-history { padding: var(--section-padding); }
.history-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.history-content h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-bottom: 16px; }
.history-content p { color: var(--medium-grey); font-size: 1.05rem; margin-bottom: 24px; }
.history-image { border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.history-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.history-year-badge {
    position: absolute; bottom: 20px; right: 20px; background: var(--gold);
    color: var(--deep-blue); font-family: var(--font-heading); font-size: 1.1rem;
    font-weight: 700; padding: 10px 20px; border-radius: 4px;
}

/* ============================================================
   DEPARTMENTS
   ============================================================ */
.departments { padding: var(--section-padding); background: var(--light-grey); }
.dept-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.dept-card {
    background: var(--white); border-radius: 8px; padding: 48px 36px; text-align: center;
    box-shadow: var(--shadow-sm); border-top: 4px solid transparent;
    transition: var(--transition-base); position: relative; overflow: hidden;
}
.dept-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: var(--gold); transform: scaleX(0); transition: var(--transition-base);
}
.dept-card:hover::before { transform: scaleX(1); }
.dept-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.dept-icon {
    width: 72px; height: 72px; background: rgba(11,60,93,0.06); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; font-size: 1.8rem;
}
.dept-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.dept-card p { color: var(--medium-grey); font-size: 0.95rem; }

/* ============================================================
   FACILITIES
   ============================================================ */
.facilities { padding: var(--section-padding); }
.facilities-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.facility-item {
    text-align: center; padding: 40px 24px; background: var(--white);
    border: 1px solid var(--border-grey); border-radius: 8px; transition: var(--transition-base);
}
.facility-item:hover { border-color: var(--gold); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.facility-icon {
    width: 64px; height: 64px; background: linear-gradient(135deg, var(--deep-blue), var(--deep-blue-light));
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; font-size: 1.5rem; color: var(--white);
}
.facility-item h4 { font-family: var(--font-accent); font-size: 0.95rem; font-weight: 600; color: var(--dark-grey); }

/* ============================================================
   STUDENT LIFE
   ============================================================ */
.student-life { padding: var(--section-padding); background: var(--light-grey); }
.student-life-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.sl-image { border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-md); }
.sl-image img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/10; transition: var(--transition-slow); }
.sl-image:hover img { transform: scale(1.04); }

/* ============================================================
   ACHIEVEMENTS / COUNTERS
   ============================================================ */
.achievements { padding: 80px 0; background: var(--deep-blue); position: relative; }
.achievements::before {
    content: ''; position: absolute; inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><circle cx="40" cy="40" r="1" fill="rgba(212,175,55,0.08)"/></svg>');
    background-size: 40px 40px;
}
.counters-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; z-index: 1; }
.counter-item { text-align: center; padding: 30px 20px; }
.counter-number { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--gold); display: block; }
.counter-label { font-family: var(--font-accent); font-size: 0.85rem; color: rgba(255,255,255,0.8); text-transform: uppercase; letter-spacing: 1.5px; margin-top: 8px; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-section { padding: var(--section-padding); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-item { border-radius: 6px; overflow: hidden; cursor: pointer; position: relative; aspect-ratio: 1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-slow); }
.gallery-item::after {
    content: '+'; position: absolute; inset: 0; background: rgba(11,60,93,0.6);
    color: var(--white); display: flex; align-items: center; justify-content: center;
    font-size: 2rem; font-family: var(--font-accent); opacity: 0; transition: var(--transition-base);
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item:hover::after { opacity: 1; }

.lightbox-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 10000;
    display: none; align-items: center; justify-content: center; padding: 40px;
}
.lightbox-overlay.active { display: flex; }
.lightbox-overlay img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: 4px; }
.lightbox-close {
    position: absolute; top: 20px; right: 30px; background: none; border: none;
    color: var(--white); font-size: 2rem; cursor: pointer; width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
}
.lightbox-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.15); border: none; color: var(--white);
    font-size: 1.5rem; cursor: pointer; width: 48px; height: 48px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; transition: var(--transition-base);
}
.lightbox-nav:hover { background: rgba(255,255,255,0.3); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ============================================================
   ADMISSION CTA
   ============================================================ */
.admission-cta {
    padding: 100px 0; background: linear-gradient(135deg, var(--deep-blue) 0%, var(--deep-blue-dark) 100%);
    text-align: center; position: relative; overflow: hidden;
}
.admission-cta::before {
    content: ''; position: absolute; top: -100px; left: -100px;
    width: 400px; height: 400px; border-radius: 50%; background: rgba(212,175,55,0.05);
}
.admission-cta .container { position: relative; z-index: 1; }
.admission-cta h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--white); margin-bottom: 16px; }
.admission-cta p { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 36px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #071e2f; color: rgba(255,255,255,0.7); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand .logo-text { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; color: var(--white); margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.8; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6);
    font-size: 0.9rem; transition: var(--transition-base);
}
.footer-social a:hover { background: var(--gold); color: var(--deep-blue); }
.footer-col h4 {
    font-family: var(--font-accent); font-size: 0.9rem; font-weight: 600;
    color: var(--white); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 0.9rem; color: rgba(255,255,255,0.6); }
.footer-col ul a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact-item { display: flex; gap: 12px; margin-bottom: 16px; font-size: 0.9rem; }
.footer-contact-item .fci-icon {
    width: 36px; height: 36px; background: rgba(212,175,55,0.1); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    font-size: 0.8rem; color: var(--gold);
}
.footer-bottom { text-align: center; padding: 24px 0; margin-top: 30px; font-size: 0.82rem; color: rgba(255,255,255,0.4); }

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.whatsapp-float {
    position: fixed; bottom: 24px; right: 24px; z-index: 9000;
    width: 56px; height: 56px; background: #25d366; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,0.4); transition: var(--transition-base);
    animation: whatsapp-pulse 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,0.5); }
.whatsapp-float svg { width: 28px; height: 28px; fill: var(--white); }
@keyframes whatsapp-pulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 4px 24px rgba(37,211,102,0.6); }
}

/* ============================================================
   INNER PAGE: PAGE BANNER
   ============================================================ */
.page-banner {
    background: var(--deep-blue); padding: 140px 0 80px; text-align: center;
    position: relative; overflow: hidden;
}
.page-banner::before {
    content: ''; position: absolute; inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1.5" fill="rgba(212,175,55,0.06)"/></svg>');
    background-size: 50px 50px;
}
.page-banner h1 { font-size: clamp(2rem, 4.5vw, 3rem); color: var(--white); margin-bottom: 12px; position: relative; }
.page-banner .breadcrumb { font-family: var(--font-accent); font-size: 0.85rem; color: rgba(255,255,255,0.6); position: relative; }
.page-banner .breadcrumb a { color: var(--gold); }
.page-banner .breadcrumb a:hover { text-decoration: underline; }

/* ============================================================
   INNER PAGE: ABOUT
   ============================================================ */
.about-values-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; margin-top: 40px; }
.value-card {
    background: var(--white); border: 1px solid var(--border-grey); border-radius: 8px;
    padding: 28px 24px; text-align: center; transition: var(--transition-base);
}
.value-card:hover { border-color: var(--gold); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.value-card .val-num { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700; color: var(--gold); display: block; margin-bottom: 8px; }
.value-card h4 { font-family: var(--font-accent); font-size: 0.95rem; font-weight: 600; color: var(--deep-blue); }

.mgmt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; margin-top: 40px; }
.mgmt-card {
    text-align: center; padding: 36px 24px; background: var(--white);
    border-radius: 8px; box-shadow: var(--shadow-sm); transition: var(--transition-base);
}
.mgmt-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.mgmt-card img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 20px; border: 3px solid var(--gold); }
.mgmt-card h4 { font-size: 1.05rem; color: var(--deep-blue); margin-bottom: 4px; }
.mgmt-card span { font-family: var(--font-accent); font-size: 0.82rem; color: var(--gold); text-transform: uppercase; letter-spacing: 1px; }

/* ============================================================
   INNER PAGE: ADMISSION STEPS
   ============================================================ */
.admission-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.step-card {
    text-align: center; padding: 40px 24px; background: var(--white);
    border-radius: 8px; box-shadow: var(--shadow-sm); position: relative; transition: var(--transition-base);
}
.step-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.step-num {
    width: 48px; height: 48px; background: var(--deep-blue); color: var(--gold);
    font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700;
    border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
}
.step-card h4 { font-size: 1rem; margin-bottom: 8px; }
.step-card p { font-size: 0.9rem; color: var(--medium-grey); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
.contact-form .form-group { margin-bottom: 20px; }
.contact-form label { display: block; font-family: var(--font-accent); font-size: 0.85rem; font-weight: 600; color: var(--dark-grey); margin-bottom: 6px; }
.contact-form input, .contact-form textarea, .contact-form select {
    width: 100%; padding: 12px 16px; border: 1px solid var(--border-grey);
    border-radius: 4px; font-family: var(--font-body); font-size: 0.95rem;
    transition: var(--transition-base); background: var(--white);
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: none; border-color: var(--deep-blue); box-shadow: 0 0 0 3px rgba(11,60,93,0.08); }
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-info-card { background: var(--deep-blue); border-radius: 8px; padding: 48px 40px; color: var(--white); }
.contact-info-card h3 { color: var(--gold); font-size: 1.4rem; margin-bottom: 24px; }
.ci-item { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.ci-item .ci-icon {
    width: 44px; height: 44px; background: rgba(212,175,55,0.15); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1rem;
}
.ci-item p { font-size: 0.95rem; color: rgba(255,255,255,0.8); line-height: 1.6; }
.google-map-wrap { margin-top: 40px; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-md); }
.google-map-wrap iframe { width: 100%; height: 350px; border: 0; }

/* ============================================================
   HANDBOOK PAGE
   ============================================================ */
.handbook-section { padding: var(--section-padding); }
.handbook-item {
    margin-bottom: 40px; padding: 36px; background: var(--white);
    border-radius: 8px; border-left: 4px solid var(--gold); box-shadow: var(--shadow-sm);
}
.handbook-item h3 { font-size: 1.25rem; margin-bottom: 12px; }
.handbook-item p, .handbook-item ul { color: var(--medium-grey); font-size: 0.95rem; }
.handbook-item ul { padding-left: 20px; }
.handbook-item ul li { list-style: disc; margin-bottom: 6px; }

/* ============================================================
   ANIMATIONS (Scroll Reveal)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .facilities-grid { grid-template-columns: repeat(2, 1fr); }
    .counters-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .admission-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    :root { --section-padding: 60px 0; }
    .nav-toggle { display: block; }
    .nav-main {
        position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
        background: var(--white); box-shadow: var(--shadow-lg); padding: 80px 24px 40px;
        transition: var(--transition-base); z-index: 999;
    }
    .nav-main.open { right: 0; }
    .nav-main ul { flex-direction: column; align-items: stretch; gap: 0; }
    .nav-main a { display: block; padding: 12px 16px; border-bottom: 1px solid var(--border-grey); }
    .nav-main .nav-cta { margin-left: 0; margin-top: 16px; text-align: center; }
    .awards-grid, .history-grid, .mv-grid, .student-life-grid, .contact-grid { grid-template-columns: 1fr; gap: 30px; }
    .dept-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .counters-grid { grid-template-columns: repeat(2, 1fr); }
    .admission-steps { grid-template-columns: 1fr; }
    .hero-content { padding: 100px 16px 60px; }
    .btn-group { flex-direction: column; align-items: center; }
    .btn { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
    .facilities-grid { grid-template-columns: 1fr; }
    .highlight-cards { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
}
