/* ============================================
   SKD ACADEMY - MAIN STYLESHEET
   Color Scheme: Navy Blue #1a3a6b + Gold #c8a84b
   ============================================ */

:root {
    --primary: #1a3a6b;
    --primary-dark: #0f2347;
    --primary-light: #2a5298;
    --secondary: #c8a84b;
    --secondary-dark: #a8882b;
    --secondary-light: #e8c86b;
    --accent: #e8f0fe;
    --white: #ffffff;
    --off-white: #f8f9fc;
    --light-gray: #f0f2f7;
    --gray: #6b7280;
    --dark-gray: #374151;
    --text: #1f2937;
    --text-light: #6b7280;
    --border: #e5e7eb;
    --shadow: 0 4px 20px rgba(26, 58, 107, 0.12);
    --shadow-lg: 0 10px 40px rgba(26, 58, 107, 0.18);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
}

/* ===== 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.65;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--secondary); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }

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

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.85);
    font-size: 0.82rem;
    padding: 7px 0;
    border-bottom: 2px solid var(--secondary);
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.top-bar a { color: rgba(255,255,255,0.85); display: inline-flex; align-items: center; gap: 6px; margin-right: 16px; }
.top-bar a:hover { color: var(--secondary-light); }
.top-bar i { color: var(--secondary); font-size: 0.78rem; }
.top-bar-right { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.7); font-size: 0.8rem; }
.top-bar-right i { color: var(--secondary); }

/* ===== HEADER ===== */
.site-header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(26,58,107,0.12);
    transition: var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-lg); }
.header-spacer { height: 0; }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 16px;
    flex-wrap: wrap;
}

.logo-link { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo-img { height: 70px; width: auto; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; }
.logo-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
    letter-spacing: 0.02em;
}
.logo-sub {
    font-size: 0.72rem;
    color: var(--secondary-dark);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.logo-sub2 {
    font-size: 0.68rem;
    color: var(--gray);
    letter-spacing: 0.04em;
}

.affiliation-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.badge-link {
    background: var(--accent);
    border: 1.5px solid var(--primary-light);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.05em;
    transition: var(--transition);
}
.badge-link:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: var(--primary);
    border-radius: 6px;
}
.menu-toggle span { display: block; width: 24px; height: 2px; background: white; border-radius: 2px; transition: var(--transition); }
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== NAVIGATION ===== */
.main-nav {
    background: var(--primary);
    border-top: 2px solid var(--secondary);
}
.nav-list {
    display: flex;
    align-items: stretch;
}
.nav-list > li { position: relative; }
.nav-list > li > a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 13px 16px;
    color: rgba(255,255,255,0.92);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
    transition: var(--transition);
}
.nav-list > li > a:hover,
.nav-list > li > a.active { color: var(--secondary-light); background: rgba(255,255,255,0.08); }
.nav-list > li > a i { font-size: 0.7rem; transition: var(--transition); }
.nav-list > li:hover > a > i { transform: rotate(180deg); }

/* Dropdowns */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-top: 3px solid var(--secondary);
    border-radius: 0 0 var(--radius) var(--radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--transition);
    z-index: 1000;
}
.has-dropdown:hover > .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px;
    color: var(--text);
    font-size: 0.85rem;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}
.dropdown li:last-child a { border-bottom: none; }
.dropdown li a:hover { background: var(--accent); color: var(--primary); padding-left: 24px; }
.sub-dropdown { left: 100%; top: 0; border-top: 3px solid var(--secondary-dark); }

/* ===== HERO CAROUSEL ===== */
.hero-carousel {
    position: relative;
    overflow: hidden;
    background: var(--primary-dark);
    height: 520px;
}
.carousel-track { display: flex; transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1); height: 100%; }
.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    flex-shrink: 0;
}
.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(10,26,60,0.7) 0%, rgba(10,26,60,0.2) 60%, transparent 100%);
    display: flex;
    align-items: center;
    padding: 0 60px;
}
.slide-caption {
    max-width: 520px;
    color: white;
    animation: slideIn 0.6s ease forwards;
}
.slide-caption h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
    line-height: 1.3;
}
.slide-caption p { font-size: 1.05rem; opacity: 0.9; }
@keyframes slideIn { from { opacity:0; transform: translateX(-30px); } to { opacity:1; transform: translateX(0); } }

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
    z-index: 10;
    border: 2px solid rgba(255,255,255,0.3);
}
.carousel-btn:hover { background: var(--secondary); border-color: var(--secondary); }
.carousel-prev { left: 20px; }
.carousel-next { right: 20px; }

.carousel-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: 2px solid rgba(255,255,255,0.6);
    transition: var(--transition);
    cursor: pointer;
}
.carousel-dot.active { background: var(--secondary); border-color: var(--secondary); transform: scale(1.3); }

/* ===== ADMISSION BANNER ===== */
.admission-ticker {
    background: var(--secondary);
    color: var(--primary-dark);
    padding: 14px 0;
    overflow: hidden;
}
.ticker-inner { display: flex; align-items: center; gap: 0; }
.ticker-label {
    background: var(--primary);
    color: white;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 6px 18px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
    margin-right: 20px;
}
.ticker-items {
    display: flex;
    gap: 40px;
    white-space: nowrap;
    flex-wrap: nowrap;
    animation: ticker 30s linear infinite;
}
.ticker-items a {
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.ticker-items a i { color: var(--primary); }
.ticker-items a:hover { color: var(--primary-dark); text-decoration: underline; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ===== SECTIONS ===== */
section { padding: 60px 0; }
.section-header { text-align: center; margin-bottom: 44px; }
.section-tag {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 20px;
    border: 1.5px solid var(--primary-light);
    margin-bottom: 10px;
}
.section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    line-height: 1.3;
}
.section-divider {
    width: 60px;
    height: 3px;
    background: var(--secondary);
    margin: 0 auto 16px;
    border-radius: 2px;
}
.section-desc { color: var(--gray); max-width: 600px; margin: 0 auto; font-size: 1rem; }

/* ===== ABOUT SECTION ===== */
.about-section { background: var(--off-white); }
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; }
.about-img-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.about-img-wrap img { width: 100%; height: 360px; object-fit: cover; }
.about-img-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--secondary);
    color: var(--primary-dark);
    padding: 12px 20px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.85rem;
    text-align: center;
    box-shadow: var(--shadow);
}
.about-img-badge span { display: block; font-size: 1.5rem; font-family: var(--font-heading); }
.about-content h2 { font-family: var(--font-heading); font-size: 1.8rem; color: var(--primary); margin-bottom: 16px; }
.about-content p { color: var(--gray); margin-bottom: 16px; line-height: 1.8; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.stat-card {
    background: white;
    border: 1.5px solid var(--border);
    border-left: 4px solid var(--secondary);
    border-radius: var(--radius);
    padding: 14px 16px;
}
.stat-card .stat-num { font-family: var(--font-heading); font-size: 1.8rem; color: var(--primary); font-weight: 700; }
.stat-card .stat-label { font-size: 0.8rem; color: var(--gray); }

/* ===== MISSION VISION ===== */
.mission-section { background: var(--primary); }
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.mission-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: var(--transition);
}
.mission-card:hover { background: rgba(255,255,255,0.13); transform: translateY(-4px); }
.mission-icon {
    width: 54px;
    height: 54px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 18px;
}
.mission-card h3 { font-family: var(--font-heading); color: white; font-size: 1.35rem; margin-bottom: 14px; }
.mission-card ul { list-style: none; }
.mission-card ul li {
    color: rgba(255,255,255,0.82);
    font-size: 0.9rem;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    gap: 10px;
    align-items: flex-start;
    line-height: 1.5;
}
.mission-card ul li::before { content: '→'; color: var(--secondary); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ===== NOTICEBOARD ===== */
.notice-section { background: white; }
.notice-board {
    background: var(--off-white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.notice-board-header {
    background: var(--primary);
    color: white;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
}
.notice-board-header i { color: var(--secondary); font-size: 1.2rem; }
.notice-scroll { max-height: 340px; overflow-y: auto; }
.notice-scroll::-webkit-scrollbar { width: 5px; }
.notice-scroll::-webkit-scrollbar-track { background: var(--light-gray); }
.notice-scroll::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 4px; }
.notice-item {
    display: flex;
    gap: 14px;
    padding: 14px 24px;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
    align-items: flex-start;
}
.notice-item:hover { background: var(--accent); }
.notice-item:last-child { border-bottom: none; }
.notice-dot {
    width: 10px;
    height: 10px;
    background: var(--secondary);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 6px;
}
.notice-item.important .notice-dot { background: #dc2626; animation: pulse 1.5s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(220,38,38,0.4); } 50% { box-shadow: 0 0 0 6px rgba(220,38,38,0); } }
.notice-content a {
    display: block;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 4px;
}
.notice-content a:hover { color: var(--primary); }
.notice-date { font-size: 0.75rem; color: var(--secondary-dark); font-weight: 600; }
.notice-board-footer { padding: 14px 24px; background: white; border-top: 1.5px solid var(--border); text-align: center; }
.notice-board-footer a { color: var(--primary); font-weight: 600; font-size: 0.85rem; }
.notice-board-footer a:hover { color: var(--secondary-dark); }

/* ===== HOME CONTENT GRID ===== */
.home-content-section { background: var(--off-white); }
.home-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

/* ===== SUBJECTS SECTION ===== */
.subjects-section { background: var(--accent); border-top: 3px solid var(--secondary); border-bottom: 3px solid var(--secondary); }
.subjects-tags { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.subject-tag {
    background: white;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}
.subject-tag:hover { background: var(--primary); color: white; transform: translateY(-3px); box-shadow: var(--shadow); }

/* ===== AGE CALCULATOR ===== */
.age-calc-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow);
    border: 1.5px solid var(--border);
}
.age-calc-card h3 { font-family: var(--font-heading); color: var(--primary); margin-bottom: 20px; font-size: 1.2rem; }
.calc-row { display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-end; }
.calc-group { flex: 1; }
.calc-group label { display: block; font-size: 0.78rem; font-weight: 700; color: var(--gray); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.calc-group select {
    width: 100%;
    padding: 9px 10px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--text);
    background: var(--off-white);
    transition: var(--transition);
}
.calc-group select:focus { outline: none; border-color: var(--primary); background: white; }
.calc-section-label { font-size: 0.78rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.1em; margin: 12px 0 8px; padding-bottom: 4px; border-bottom: 2px solid var(--secondary); }
.calc-btn {
    background: var(--primary);
    color: white;
    padding: 11px 28px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
    width: 100%;
    margin-top: 8px;
}
.calc-btn:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.calc-result {
    margin-top: 16px;
    padding: 14px;
    background: var(--accent);
    border-radius: var(--radius);
    border-left: 4px solid var(--secondary);
    display: none;
}
.calc-result.show { display: block; }
.calc-result p { color: var(--primary); font-weight: 600; font-size: 0.95rem; }

/* ===== QUICK LINKS SIDEBAR ===== */
.quick-links-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1.5px solid var(--border);
}
.quick-links-card h3 { font-family: var(--font-heading); color: var(--primary); margin-bottom: 18px; font-size: 1.1rem; padding-bottom: 10px; border-bottom: 2px solid var(--secondary); }
.quick-link-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius);
    margin-bottom: 6px;
    transition: var(--transition);
    color: var(--text);
    font-size: 0.88rem;
    border: 1px solid transparent;
}
.quick-link-item:hover { background: var(--accent); color: var(--primary); border-color: var(--border); transform: translateX(4px); }
.quick-link-item i { color: var(--secondary); font-size: 1rem; flex-shrink: 0; }

/* ===== PAGE HERO ===== */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 48px 0;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    pointer-events: none;
}
.page-hero h1 { font-family: var(--font-heading); color: white; font-size: 2.2rem; margin-bottom: 10px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.75); font-size: 0.85rem; }
.breadcrumb a { color: var(--secondary-light); }
.breadcrumb i { font-size: 0.6rem; color: rgba(255,255,255,0.5); }

/* ===== CARDS ===== */
.card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1.5px solid var(--border);
    transition: var(--transition);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card-img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 20px; }
.card-title { font-family: var(--font-heading); color: var(--primary); font-size: 1.1rem; margin-bottom: 8px; }
.card-text { color: var(--gray); font-size: 0.88rem; line-height: 1.6; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 26px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
}
.btn-primary { background: var(--primary); color: white; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); color: white; border-color: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-secondary { background: var(--secondary); color: var(--primary-dark); border-color: var(--secondary); }
.btn-secondary:hover { background: var(--secondary-dark); color: var(--primary-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; }

/* ===== TABLE ===== */
.table-responsive { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { background: var(--primary); color: white; padding: 12px 16px; text-align: left; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.05em; }
td { padding: 11px 16px; border-bottom: 1px solid var(--border); font-size: 0.88rem; color: var(--text); }
tr:nth-child(even) td { background: var(--off-white); }
tr:hover td { background: var(--accent); }

/* ===== GALLERY ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26,58,107,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    color: white;
    font-size: 1.6rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox-close { position: absolute; top: 20px; right: 24px; color: white; font-size: 1.8rem; background: rgba(255,255,255,0.15); border-radius: 50%; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition); }
.lightbox-close:hover { background: var(--secondary); }

/* ===== FOOTER ===== */
.site-footer { background: var(--primary-dark); color: rgba(255,255,255,0.8); }
.footer-top { padding: 56px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-heading {
    font-family: var(--font-heading);
    color: white;
    font-size: 1rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary);
    display: inline-block;
    width: 100%;
}
.footer-logo { height: 50px; margin-bottom: 8px; filter: brightness(10); opacity: 0.9; }
.footer-logo-area p { color: var(--secondary-light); font-weight: 600; font-size: 0.85rem; margin-bottom: 8px; }
.footer-about-text { font-size: 0.82rem; line-height: 1.7; color: rgba(255,255,255,0.65); }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.83rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}
.footer-links a i { color: var(--secondary); font-size: 0.75rem; }
.footer-links a:hover { color: var(--secondary-light); padding-left: 4px; }
.subjects-box { margin-top: 20px; background: rgba(255,255,255,0.06); border-radius: var(--radius); padding: 12px 14px; border-left: 3px solid var(--secondary); }
.subjects-box h5 { color: var(--secondary-light); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.subjects-box p { font-size: 0.8rem; color: rgba(255,255,255,0.65); line-height: 1.7; }
.footer-contact { list-style: none; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; }
.footer-contact i { color: var(--secondary); margin-top: 3px; font-size: 0.9rem; flex-shrink: 0; }
.footer-contact span, .footer-contact a { color: rgba(255,255,255,0.75); font-size: 0.83rem; }
.footer-contact a:hover { color: var(--secondary-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 18px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.55); }
.footer-bottom a { color: var(--secondary-light); font-size: 0.8rem; }
.footer-bottom a:hover { color: white; }

/* ===== BACK TO TOP & WHATSAPP ===== */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 24px;
    background: var(--primary);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    font-size: 0.9rem;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px); }
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #25D366;
    color: white;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 16px rgba(37,211,102,0.5);
    z-index: 999;
    transition: var(--transition);
    animation: bounce 2s infinite;
}
.whatsapp-float:hover { background: #128C7E; color: white; transform: scale(1.1); animation: none; }
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* ===== ADMIN PANEL ===== */
.admin-layout { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.admin-sidebar {
    background: var(--primary-dark);
    color: white;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}
.admin-sidebar-header { padding: 24px 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.admin-sidebar-header h2 { font-family: var(--font-heading); font-size: 1.15rem; color: white; }
.admin-sidebar-header p { font-size: 0.78rem; color: rgba(255,255,255,0.55); margin-top: 4px; }
.admin-nav { flex: 1; padding: 16px 0; }
.admin-nav-item { display: flex; align-items: center; gap: 12px; padding: 12px 20px; color: rgba(255,255,255,0.75); font-size: 0.88rem; transition: var(--transition); border-left: 3px solid transparent; }
.admin-nav-item:hover, .admin-nav-item.active { color: white; background: rgba(255,255,255,0.08); border-left-color: var(--secondary); }
.admin-nav-item i { width: 20px; text-align: center; color: var(--secondary); }
.admin-nav-divider { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.35); padding: 16px 20px 6px; }
.admin-sidebar-footer { padding: 16px 20px; border-top: 1px solid rgba(255,255,255,0.1); }
.admin-main { background: var(--off-white); overflow-y: auto; }
.admin-topbar { background: white; border-bottom: 1.5px solid var(--border); padding: 16px 28px; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 100; }
.admin-topbar h1 { font-family: var(--font-heading); color: var(--primary); font-size: 1.3rem; }
.admin-content { padding: 28px; }
.admin-card { background: white; border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); border: 1.5px solid var(--border); margin-bottom: 24px; }
.admin-card h3 { font-family: var(--font-heading); color: var(--primary); margin-bottom: 20px; font-size: 1.05rem; padding-bottom: 12px; border-bottom: 2px solid var(--secondary); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 28px; }
.stat-widget { background: white; border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow); border: 1.5px solid var(--border); display: flex; align-items: center; gap: 16px; }
.stat-widget-icon { width: 52px; height: 52px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.stat-widget-icon.blue { background: var(--accent); color: var(--primary); }
.stat-widget-icon.gold { background: #fff8e1; color: var(--secondary-dark); }
.stat-widget-icon.green { background: #e8f5e9; color: #2e7d32; }
.stat-widget-icon.red { background: #fce4ec; color: #c62828; }
.stat-widget-info .num { font-family: var(--font-heading); font-size: 1.8rem; color: var(--primary); font-weight: 700; line-height: 1; }
.stat-widget-info .label { font-size: 0.8rem; color: var(--gray); margin-top: 2px; }

/* ===== FORM STYLES ===== */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 0.83rem; font-weight: 700; color: var(--dark-gray); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 7px; }
.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text);
    background: var(--off-white);
    transition: var(--transition);
}
.form-control:focus { outline: none; border-color: var(--primary); background: white; box-shadow: 0 0 0 3px rgba(26,58,107,0.08); }
textarea.form-control { resize: vertical; min-height: 100px; }
.form-check { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.form-check input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--primary); }
.form-check label { font-size: 0.88rem; cursor: pointer; }
.alert { padding: 13px 18px; border-radius: var(--radius); margin-bottom: 18px; font-size: 0.88rem; font-weight: 600; }
.alert-success { background: #e8f5e9; color: #2e7d32; border: 1.5px solid #a5d6a7; }
.alert-error { background: #fce4ec; color: #c62828; border: 1.5px solid #ef9a9a; }
.alert-info { background: var(--accent); color: var(--primary); border: 1.5px solid #90caf9; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; }
.badge-success { background: #e8f5e9; color: #2e7d32; }
.badge-danger { background: #fce4ec; color: #c62828; }
.badge-warning { background: #fff8e1; color: #f57f17; }
.actions-cell { display: flex; gap: 6px; }
.action-btn { padding: 5px 10px; border-radius: 5px; font-size: 0.78rem; font-weight: 700; transition: var(--transition); display: inline-flex; align-items: center; gap: 4px; }
.action-btn.edit { background: var(--accent); color: var(--primary); border: 1px solid var(--primary-light); }
.action-btn.delete { background: #fce4ec; color: #c62828; border: 1px solid #ef9a9a; }
.action-btn:hover { transform: translateY(-1px); box-shadow: 0 2px 8px rgba(0,0,0,0.12); }

/* ===== DRAG-DROP UPLOAD ===== */
.upload-area {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    background: var(--off-white);
}
.upload-area:hover, .upload-area.dragover { border-color: var(--primary); background: var(--accent); }
.upload-area i { font-size: 2.5rem; color: var(--primary-light); margin-bottom: 10px; }
.upload-area p { color: var(--gray); font-size: 0.88rem; }
.upload-area input[type="file"] { display: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stat-grid { grid-template-columns: 1fr 1fr; }
    .admin-layout { grid-template-columns: 220px 1fr; }
    .about-grid { gap: 30px; }
}
@media (max-width: 768px) {
    .top-bar-right { display: none; }
    .affiliation-badges { display: none; }
    .menu-toggle { display: flex; }
    .main-nav { display: none; }
    .main-nav.open { display: block; }
    .nav-list { flex-direction: column; }
    .nav-list > li > a { padding: 12px 16px; }
    .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding-left: 20px; display: none; background: rgba(255,255,255,0.05); }
    .dropdown.open { display: block; }
    .sub-dropdown { left: 0; padding-left: 20px; }
    .hero-carousel { height: 320px; }
    .slide-overlay { padding: 0 24px; }
    .slide-caption h2 { font-size: 1.3rem; }
    .about-grid { grid-template-columns: 1fr; }
    .mission-grid { grid-template-columns: 1fr; }
    .home-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .admin-layout { grid-template-columns: 1fr; }
    .admin-sidebar { position: fixed; left: -260px; z-index: 1000; height: 100vh; transition: var(--transition); }
    .admin-sidebar.open { left: 0; }
    .stat-grid { grid-template-columns: 1fr 1fr; }
    .section-title { font-size: 1.6rem; }
}
@media (max-width: 480px) {
    .stat-grid { grid-template-columns: 1fr; }
    .hero-carousel { height: 250px; }
    .slide-caption h2 { font-size: 1.1rem; }
    .calc-row { flex-direction: column; }
    .logo-img { height: 50px; }
    .logo-title { font-size: 1rem; }
}
