/* ============================================================
   Audhaogik High School - Main Stylesheet
   Font: Playfair Display (headings) + Lato (body)
   Theme: Deep Navy + Gold accent — professional & trustworthy
   ============================================================ */

:root {
    --navy:       #0f2744;
    --navy-mid:   #1a3a5c;
    --navy-light: #254d7a;
    --gold:       #c9a84c;
    --gold-light: #e4c578;
    --gold-dark:  #a88530;
    --white:      #ffffff;
    --off-white:  #f8f5ef;
    --gray-100:   #f2f2f2;
    --gray-300:   #d1d1d1;
    --gray-500:   #888888;
    --gray-700:   #444444;
    --text:       #2c2c2c;
    --red:        #c0392b;
    --green:      #27ae60;

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body:    'Lato', Arial, sans-serif;

    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.18);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.7; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

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

/* ---- Top Bar ---- */
.topbar {
    background: var(--navy);
    color: rgba(255,255,255,0.85);
    font-size: 0.82rem;
    padding: 8px 0;
    border-bottom: 2px solid var(--gold);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar-left, .topbar-right { display: flex; gap: 20px; align-items: center; }
.topbar span i { margin-right: 6px; color: var(--gold); }
.topbar a { color: inherit; }
.topbar a:hover { color: var(--gold); }

/* ---- Header ---- */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 20px;
}
.logo a { display: flex; align-items: center; gap: 14px; }
.logo-icon {
    width: 54px; height: 54px;
    background: linear-gradient(135deg, var(--navy), var(--navy-mid));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
    font-size: 1.5rem;
    flex-shrink: 0;
    border: 2px solid var(--gold);
}
.logo-img-wrap {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-img-wrap img {
    display: block;
    border-radius: 6px;
}
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; color: var(--navy); line-height: 1.2; }
.logo-sub { font-size: 0.72rem; color: var(--gray-500); }

/* ---- Navigation ---- */
.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav ul li { position: relative; }
.main-nav ul li a {
    display: block;
    padding: 10px 14px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.3px;
    border-radius: var(--radius);
    text-transform: uppercase;
}
.main-nav ul li a:hover,
.main-nav ul li a.active { color: var(--gold-dark); background: var(--off-white); }
.main-nav ul li a i { font-size: 0.7rem; margin-left: 4px; }

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 210px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
    border-top: 3px solid var(--gold);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
    z-index: 999;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a { padding: 10px 18px; font-size: 0.85rem; text-transform: none; border-radius: 0; }
.dropdown li:first-child a { border-radius: var(--radius) var(--radius) 0 0; }
.dropdown li:last-child a { border-radius: 0 0 var(--radius) var(--radius); }
.dropdown li a:hover { background: var(--off-white); color: var(--gold-dark); padding-left: 24px; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--navy); transition: var(--transition); }

/* ---- Flash Messages ---- */
.flash-message {
    padding: 14px 0;
    font-weight: 600;
    font-size: 0.9rem;
}
.flash-message .container { display: flex; align-items: center; gap: 10px; }
.flash-success { background: #eafaf1; color: #1e8449; border-bottom: 2px solid #27ae60; }
.flash-error { background: #fdf0ed; color: #c0392b; border-bottom: 2px solid #e74c3c; }

/* ---- Hero Slider ---- */
.hero-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
    background: var(--navy);
}
.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slide.active { opacity: 1; }

/* Slide content & entrance animations */
.slide-content {
    text-align: center;
    color: var(--white);
    z-index: 2;
    padding: 20px;
    max-width: 820px;
}
.slide-tag {
    display: inline-block;
    background: rgba(201,168,76,0.18);
    border: 1px solid rgba(201,168,76,0.45);
    color: var(--gold-light);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 18px;
    opacity: 0;
    transform: translateY(-14px);
    transition: opacity 0.5s ease 0.1s, transform 0.5s ease 0.1s;
}
.slide-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.25s, transform 0.6s ease 0.25s;
}
.slide-title-gold { color: var(--gold); }
.slide-content p {
    font-size: 1.05rem;
    opacity: 0;
    max-width: 600px;
    margin: 0 auto 28px;
    line-height: 1.7;
    color: rgba(255,255,255,0.88);
    transform: translateY(16px);
    transition: opacity 0.6s ease 0.4s, transform 0.6s ease 0.4s;
}
.slide-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s ease 0.55s, transform 0.5s ease 0.55s;
}

/* Animate-in when slide is active */
.slide.active .slide-tag,
.slide.active h1,
.slide.active p,
.slide.active .slide-btns {
    opacity: 1;
    transform: translateY(0);
}

/* Decorative rings */
.slide-dec { position: absolute; width: 300px; height: 300px; border-radius: 50%; border: 60px solid rgba(201,168,76,0.06); }
.slide-dec-1 { top: -80px; right: -80px; }
.slide-dec-2 { bottom: -100px; left: -60px; width: 200px; height: 200px; }

.slider-nav {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.slider-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}
.slider-dot.active { background: var(--gold); width: 28px; border-radius: 5px; }
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    border: none;
    color: white;
    width: 44px; height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    z-index: 10;
    transition: var(--transition);
    display: flex; align-items: center; justify-content: center;
}
.slider-arrow:hover { background: var(--gold); }
.slider-prev { left: 20px; }
.slider-next { right: 20px; }

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}
.btn-primary { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(201,168,76,0.35); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-outline:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-mid); border-color: var(--navy-mid); transform: translateY(-2px); }

/* ---- Section Styles ---- */
.section { padding: 80px 0; }
.section-alt { background: var(--off-white); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
    display: inline-block;
    background: var(--gold);
    color: var(--navy);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
}
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.25;
    margin-bottom: 16px;
}
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}
.section-divider .line { width: 60px; height: 2px; background: var(--gray-300); }
.section-divider .diamond { width: 10px; height: 10px; background: var(--gold); transform: rotate(45deg); }
.section-sub { color: var(--gray-500); max-width: 600px; margin: 0 auto; }

/* ---- Stats Bar ---- */
.stats-bar { background: var(--navy); padding: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item {
    padding: 36px 20px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(255,255,255,0.05); }
.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
    display: block;
}
.stat-label { color: rgba(255,255,255,0.75); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; margin-top: 8px; }

/* ---- About Section ---- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img { position: relative; }
.about-img img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; height: 420px; object-fit: cover; background: var(--navy-light); }
.about-img-placeholder {
    width: 100%; height: 420px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--navy), var(--navy-mid));
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.6);
    box-shadow: var(--shadow-lg);
    gap: 16px;
}
.about-img-placeholder i { font-size: 5rem; color: var(--gold); opacity: 0.7; }
.about-img-placeholder span { font-size: 1rem; }
.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gold);
    color: var(--navy);
    padding: 20px;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    font-weight: 900;
    line-height: 1.1;
    text-align: center;
}
.about-badge .num { font-family: var(--font-heading); font-size: 1.8rem; }
.about-badge .txt { font-size: 0.65rem; text-transform: uppercase; }
.about-body { }
.about-body p { color: var(--gray-700); margin-bottom: 20px; }
.about-list { margin: 20px 0; }
.about-list li {
    display: flex; align-items: flex-start; gap: 12px;
    margin-bottom: 12px;
    color: var(--gray-700);
}
.about-list li i { color: var(--gold); margin-top: 4px; flex-shrink: 0; }

/* ---- Features / Rules ---- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    text-align: center;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.feature-icon {
    width: 68px; height: 68px;
    background: linear-gradient(135deg, var(--navy), var(--navy-mid));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
    font-size: 1.6rem;
    margin: 0 auto 20px;
    transition: var(--transition);
}
.feature-card:hover .feature-icon { transform: rotate(10deg) scale(1.05); }
.feature-card h3 { font-family: var(--font-heading); font-size: 1.15rem; color: var(--navy); margin-bottom: 12px; }
.feature-card p { color: var(--gray-500); font-size: 0.9rem; line-height: 1.6; }

/* ---- Staff Cards ---- */
.staff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.staff-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    text-align: center;
}
.staff-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.staff-photo {
    height: 180px;
    background: linear-gradient(135deg, var(--navy-light), var(--navy));
    display: flex; align-items: center; justify-content: center;
    font-size: 4rem;
    color: rgba(255,255,255,0.3);
}
.staff-photo img { width: 100%; height: 100%; object-fit: cover; }
.staff-info { padding: 20px 16px; }
.staff-info h3 { font-family: var(--font-heading); font-size: 1rem; color: var(--navy); margin-bottom: 6px; }
.staff-badge {
    display: inline-block;
    background: var(--off-white);
    color: var(--navy-mid);
    font-size: 0.72rem;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
    font-weight: 700;
}
.staff-subject { color: var(--gold-dark); font-size: 0.8rem; font-weight: 700; }
.staff-doj { color: var(--gray-500); font-size: 0.75rem; margin-top: 4px; }

/* ---- News Section ---- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-cat {
    background: var(--navy);
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 20px;
}
.news-body { padding: 24px; flex: 1; }
.news-body h3 { font-family: var(--font-heading); font-size: 1.05rem; color: var(--navy); margin-bottom: 10px; line-height: 1.4; }
.news-body p { color: var(--gray-500); font-size: 0.87rem; }
.news-footer { padding: 16px 24px; border-top: 1px solid var(--gray-100); display: flex; justify-content: space-between; align-items: center; }
.news-date { color: var(--gray-500); font-size: 0.78rem; }
.news-date i { color: var(--gold); margin-right: 4px; }
.news-read { color: var(--navy); font-size: 0.8rem; font-weight: 700; }
.news-read:hover { color: var(--gold-dark); }

/* ---- Page Banner ---- */
.page-banner {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}
.page-banner::before {
    content: '';
    position: absolute;
    top: -50px; right: -50px;
    width: 300px; height: 300px;
    border-radius: 50%;
    border: 60px solid rgba(201,168,76,0.08);
}
.page-banner-content { position: relative; z-index: 2; }
.page-banner h1 { font-family: var(--font-heading); font-size: 2.4rem; color: var(--white); font-weight: 700; margin-bottom: 10px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; color: rgba(255,255,255,0.6); font-size: 0.88rem; }
.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb i { font-size: 0.7rem; }

/* ---- Contact Form ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info h3 { font-family: var(--font-heading); font-size: 1.6rem; color: var(--navy); margin-bottom: 20px; }
.contact-info p { color: var(--gray-500); margin-bottom: 30px; }
.info-item { display: flex; gap: 16px; margin-bottom: 24px; }
.info-icon {
    width: 46px; height: 46px;
    background: var(--navy);
    color: var(--gold);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.info-text strong { display: block; color: var(--navy); font-size: 0.88rem; margin-bottom: 3px; }
.info-text span, .info-text a { color: var(--gray-500); font-size: 0.9rem; }
.info-text a:hover { color: var(--gold-dark); }

.contact-form { background: var(--white); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-md); border: 1px solid var(--gray-100); }
.contact-form h3 { font-family: var(--font-heading); font-size: 1.4rem; color: var(--navy); margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text);
    transition: var(--transition);
    background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(15,39,68,0.08); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---- Table Styles ---- */
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
    background: var(--navy);
    color: var(--white);
    padding: 14px 18px;
    text-align: left;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}
.data-table th:first-child { border-radius: var(--radius) 0 0 0; }
.data-table th:last-child { border-radius: 0 var(--radius) 0 0; }
.data-table td { padding: 14px 18px; border-bottom: 1px solid var(--gray-100); color: var(--gray-700); font-size: 0.9rem; }
.data-table tr:hover td { background: var(--off-white); }
.data-table tr:last-child td { border-bottom: none; }
.badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}
.badge-success { background: #eafaf1; color: var(--green); }
.badge-pending { background: #fef9e7; color: #d68910; }

/* ---- Gallery ---- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--navy-light), var(--navy));
    cursor: pointer;
    transition: var(--transition);
}
.gallery-item:hover { box-shadow: var(--shadow-lg); transform: scale(1.02); }
.gallery-placeholder {
    width: 100%; height: 100%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.5);
    gap: 10px;
}
.gallery-placeholder i { font-size: 2.5rem; color: var(--gold); opacity: 0.6; }
.gallery-placeholder span { font-size: 0.85rem; }
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,39,68,0.85) 0%, transparent 60%);
    display: flex; align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: var(--white); font-size: 0.9rem; font-weight: 600; }

/* ---- Bank Details ---- */
.bank-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid var(--gray-100);
}
.bank-header {
    background: linear-gradient(135deg, var(--navy), var(--navy-mid));
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.bank-header i { font-size: 2.5rem; color: var(--gold); }
.bank-header h2 { font-family: var(--font-heading); color: var(--white); font-size: 1.5rem; }
.bank-header p { color: rgba(255,255,255,0.7); font-size: 0.85rem; }
.bank-body { padding: 30px; }
.bank-row { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--gray-100); }
.bank-row:last-child { border-bottom: none; }
.bank-label { color: var(--gray-500); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.bank-value { color: var(--navy); font-size: 1rem; font-weight: 700; font-family: var(--font-heading); }

/* ---- Footer ---- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.8); }
.footer-top { padding: 70px 0 50px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr 1.5fr; gap: 50px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo i { font-size: 1.8rem; color: var(--gold); }
.footer-logo span { font-family: var(--font-heading); font-size: 1.2rem; color: var(--white); font-weight: 700; }
.footer-desc { font-size: 0.88rem; line-height: 1.7; margin-bottom: 24px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
    font-size: 0.9rem;
}
.footer-social a:hover { background: var(--gold); color: var(--navy); }
.footer-heading { font-family: var(--font-heading); font-size: 1.1rem; color: var(--white); margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer-heading::after { content: ''; position: absolute; bottom: 0; left: 0; width: 36px; height: 2px; background: var(--gold); }
.footer-links li { margin-bottom: 10px; }
.footer-links li a { color: rgba(255,255,255,0.7); font-size: 0.88rem; display: flex; align-items: center; gap: 8px; }
.footer-links li a:hover { color: var(--gold); padding-left: 4px; }
.footer-links li a i { font-size: 0.75rem; color: var(--gold); }
.footer-contact li { display: flex; gap: 14px; margin-bottom: 16px; align-items: flex-start; font-size: 0.88rem; }
.footer-contact li i { color: var(--gold); margin-top: 3px; width: 16px; flex-shrink: 0; }
.footer-contact li a:hover { color: var(--gold); }
.footer-map { border-radius: var(--radius); overflow: hidden; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.5); }

/* ---- Page-specific ---- */
.principal-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid var(--gray-100);
}
.principal-photo {
    background: linear-gradient(135deg, var(--navy), var(--navy-mid));
    display: flex; align-items: center; justify-content: center;
    padding: 40px;
    flex-direction: column;
    gap: 16px;
}
.principal-photo i { font-size: 5rem; color: rgba(255,255,255,0.3); }
.principal-photo .name { font-family: var(--font-heading); color: var(--white); font-size: 1.2rem; text-align: center; }
.principal-photo .title { color: var(--gold); font-size: 0.85rem; }
.principal-message { padding: 40px; }
.principal-message .quote { font-family: var(--font-heading); font-size: 1.1rem; color: var(--navy); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.principal-message p { color: var(--gray-500); margin-bottom: 16px; }
.quote-mark { font-size: 4rem; color: var(--gold); line-height: 0.5; font-family: Georgia, serif; opacity: 0.4; }

/* ---- Admin styles ---- */
.admin-body { background: #f0f2f5; min-height: 100vh; font-family: var(--font-body); }
.admin-sidebar {
    position: fixed;
    left: 0; top: 0; bottom: 0;
    width: 240px;
    background: var(--navy);
    padding: 0;
    z-index: 100;
}
.admin-brand {
    padding: 24px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}
.admin-brand i { font-size: 2rem; color: var(--gold); display: block; margin-bottom: 8px; }
.admin-brand span { font-family: var(--font-heading); color: var(--white); font-size: 1rem; }
.admin-nav { padding: 20px 0; }
.admin-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    color: rgba(255,255,255,0.7);
    font-size: 0.88rem;
    transition: var(--transition);
}
.admin-nav a:hover, .admin-nav a.active { background: rgba(255,255,255,0.08); color: var(--gold); border-left: 3px solid var(--gold); }
.admin-main { margin-left: 240px; padding: 30px; }
.admin-header { background: var(--white); padding: 20px 30px; margin: -30px -30px 30px; box-shadow: var(--shadow-sm); display: flex; justify-content: space-between; align-items: center; }
.admin-header h1 { font-family: var(--font-heading); color: var(--navy); font-size: 1.4rem; }
.admin-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 30px; border: 1px solid var(--gray-100); }
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 30px; }
.stat-card { background: var(--white); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100); display: flex; align-items: center; gap: 16px; }
.stat-card-icon { width: 50px; height: 50px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.stat-card-icon.navy { background: rgba(15,39,68,0.1); color: var(--navy); }
.stat-card-icon.gold { background: rgba(201,168,76,0.15); color: var(--gold-dark); }
.stat-card-icon.green { background: rgba(39,174,96,0.12); color: var(--green); }
.stat-card-icon.red { background: rgba(192,57,43,0.1); color: var(--red); }
.stat-card-num { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 900; color: var(--navy); }
.stat-card-lbl { font-size: 0.8rem; color: var(--gray-500); }
.admin-login { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); padding: 20px; }
.login-box { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 50px 40px; width: 100%; max-width: 420px; text-align: center; }
.login-icon { width: 70px; height: 70px; background: var(--navy); border-radius: 50%; margin: 0 auto 24px; display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 1.8rem; }
.login-box h2 { font-family: var(--font-heading); color: var(--navy); margin-bottom: 8px; }
.login-box p { color: var(--gray-500); margin-bottom: 30px; font-size: 0.9rem; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .staff-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
    .about-grid, .contact-grid, .principal-card { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .news-grid { grid-template-columns: 1fr 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .about-badge { bottom: 10px; right: 10px; }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: var(--white);
        padding: 80px 30px 30px;
        transform: translateX(-100%);
        transition: transform 0.35s ease;
        z-index: 999;
        overflow-y: auto;
    }
    .main-nav.open { transform: translateX(0); }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav ul li a { border-radius: var(--radius); padding: 14px 16px; font-size: 0.95rem; }
    .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-top: none; border-left: 3px solid var(--gold); margin-left: 16px; display: none; }
    .has-dropdown.open .dropdown { display: block; }
    .nav-toggle { display: flex; z-index: 1001; }
    .hero-slider { height: 380px; }
    .features-grid { grid-template-columns: 1fr; }
    .staff-grid { grid-template-columns: 1fr 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .topbar .container { justify-content: center; }
    .topbar-right { display: none; }
    .form-row { grid-template-columns: 1fr; }
    .stat-cards { grid-template-columns: 1fr 1fr; }
    .admin-sidebar { width: 200px; }
    .admin-main { margin-left: 200px; padding: 20px; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .staff-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .section { padding: 50px 0; }
    .stat-cards { grid-template-columns: 1fr; }
    .admin-sidebar { display: none; }
    .admin-main { margin-left: 0; }
}
