/* ==========================================================================
   ROYALE CONCORDE INTERNATIONAL SCHOOL (RCIS), CHAMRAJPET
   Master Stylesheet & UI Design System
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS VARIABLES & DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
    /* Primary Colors */
    --primary-navy: #0b1d3a;
    --primary-royal: #1e3a8a;
    --primary-blue: #2563eb;
    --accent-gold: #d97706;
    --accent-gold-light: #f59e0b;
    --accent-gold-glow: rgba(217, 119, 6, 0.35);

    /* Neutral Colors */
    --bg-dark: #0f172a;
    --bg-light: #f8fafc;
    --bg-surface: #ffffff;
    --bg-surface-alt: #f1f5f9;
    
    /* Text Colors */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-light: #f8fafc;

    /* Borders & Shadows */
    --border-color: #e2e8f0;
    --border-dark: #334155;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 35px -10px rgba(15, 23, 42, 0.15);
    --shadow-glow: 0 0 25px rgba(217, 119, 6, 0.4);

    /* Typography & Transitions */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   2. GLOBAL RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::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-primary);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--primary-navy);
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-gold);
}

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.small { font-size: 0.875rem; }
.mt-3 { margin-top: 1rem; }
.mb-3 { margin-bottom: 1rem; }

/* --------------------------------------------------------------------------
   3. BUTTONS & BADGES
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-royal);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--primary-navy);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-gold {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    color: #ffffff;
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--accent-gold-light) 0%, var(--accent-gold) 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-outline-light {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
    background-color: #ffffff;
    color: var(--primary-navy);
    border-color: #ffffff;
}

.btn-outline-dark {
    background-color: transparent;
    color: var(--primary-navy);
    border-color: var(--primary-navy);
}

.btn-outline-dark:hover {
    background-color: var(--primary-navy);
    color: #ffffff;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

.btn-glow {
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.4);
}

/* --------------------------------------------------------------------------
   4. ANNOUNCEMENT & TOP UTILITY BAR
   -------------------------------------------------------------------------- */
.announcement-bar {
    background: linear-gradient(90deg, #991b1b 0%, #dc2626 50%, #991b1b 100%);
    color: #ffffff;
    font-size: 0.875rem;
    padding: 8px 0;
    position: relative;
    z-index: 1001;
}

.announcer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.announcer-badge {
    background: rgba(0, 0, 0, 0.25);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.announcer-ticker {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    font-weight: 500;
}

.announcer-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.announcer-link {
    color: #fef08a;
    font-weight: 700;
    text-decoration: underline;
}

.announcer-link:hover {
    color: #ffffff;
}

.announcer-close {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    font-size: 1rem;
    opacity: 0.8;
}

.announcer-close:hover { opacity: 1; }

.top-bar {
    background-color: var(--primary-navy);
    color: #ffffff;
    font-size: 0.85rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.top-contact, .top-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-contact a, .top-links a {
    color: rgba(255, 255, 255, 0.85);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-contact a:hover, .top-links a:hover {
    color: var(--accent-gold-light);
}

.cbse-tag {
    background: rgba(217, 119, 6, 0.2);
    border: 1px solid var(--accent-gold);
    color: #fef08a;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.8rem;
}

/* --------------------------------------------------------------------------
   5. MAIN NAVIGATION HEADER
   -------------------------------------------------------------------------- */
.main-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.main-header.scrolled {
    box-shadow: var(--shadow-md);
    padding: 5px 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-emblem {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-royal) 0%, var(--primary-navy) 100%);
    color: var(--accent-gold-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(11, 29, 58, 0.2);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--primary-navy);
    letter-spacing: -0.5px;
    line-height: 1;
}

.brand-subtitle {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-gold);
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.brand-tagline {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.3px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    padding: 8px 0;
    position: relative;
}

.nav-link.active, .nav-link:hover {
    color: var(--primary-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 240px;
    background-color: var(--bg-surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

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

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

.dropdown-menu a:hover {
    background-color: var(--bg-surface-alt);
    color: var(--primary-blue);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-navy);
    cursor: pointer;
}

/* --------------------------------------------------------------------------
   6. HERO CAROUSEL SECTION
   -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    height: 600px;
    background-color: var(--bg-dark);
    color: #ffffff;
    overflow: hidden;
}

.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(217, 119, 6, 0.25);
    border: 1px solid var(--accent-gold-light);
    color: #fef08a;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 20px;
    backdrop-filter: blur(4px);
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    max-width: 680px;
}

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

.slider-nav {
    position: absolute;
    bottom: 30px;
    right: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10;
}

.slider-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(8px);
}

.slider-btn:hover {
    background: #ffffff;
    color: var(--primary-navy);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    width: 30px;
    background: var(--accent-gold);
}

/* --------------------------------------------------------------------------
   7. QUICK STATS BANNER
   -------------------------------------------------------------------------- */
.stats-banner {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-royal) 100%);
    color: #ffffff;
    padding: 40px 0;
    box-shadow: var(--shadow-md);
}

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

.stat-card {
    text-align: center;
}

.stat-icon {
    font-size: 2rem;
    color: var(--accent-gold-light);
    margin-bottom: 10px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: #ffffff;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 4px;
}

/* --------------------------------------------------------------------------
   8. ABOUT & PRINCIPAL DESK SECTIONS
   -------------------------------------------------------------------------- */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-gold);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.25rem;
    color: var(--primary-navy);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-lead {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-royal);
    margin-bottom: 15px;
}

.about-highlights {
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.highlight-item {
    display: flex;
    gap: 15px;
}

.highlight-icon {
    width: 45px;
    height: 45px;
    border-radius: var(--radius-md);
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.highlight-item h4 {
    font-size: 1.05rem;
    margin-bottom: 2px;
}

.highlight-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.about-cta {
    display: flex;
    gap: 15px;
}

.about-image-wrapper {
    position: relative;
}

.about-image-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.about-image-card img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.badge-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(11, 29, 58, 0.85);
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 10px 18px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.about-card-floating {
    position: absolute;
    top: -20px;
    right: -20px;
    background-color: var(--bg-surface);
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 260px;
    border: 1px solid var(--border-color);
}

.floating-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: rgba(217, 119, 6, 0.15);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.floating-icon h5 {
    font-size: 0.95rem;
}

.floating-icon p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.principal-section {
    background-color: var(--bg-surface-alt);
}

.principal-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 50px;
    align-items: center;
}

.principal-image-box {
    text-align: center;
}

.image-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--bg-surface);
}

.image-frame img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.principal-badge {
    margin-top: 15px;
}

.principal-badge h4 {
    font-size: 1.2rem;
}

.principal-badge p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.quote-box {
    background-color: var(--bg-surface);
    padding: 30px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent-gold);
    box-shadow: var(--shadow-sm);
    margin: 20px 0;
}

.quote-box p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.quote-box p:last-child { margin-bottom: 0; }

.sig-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-navy);
}

.sig-title {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   9. ACADEMIC TABS SECTION
   -------------------------------------------------------------------------- */
.academics-section {
    background-color: var(--bg-surface);
}

.section-header {
    margin-bottom: 40px;
}

.tab-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    background-color: var(--bg-surface-alt);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.tab-btn:hover {
    background-color: var(--border-color);
    color: var(--primary-navy);
}

.tab-btn.active {
    background-color: var(--primary-royal);
    color: #ffffff;
    border-color: var(--primary-royal);
    box-shadow: var(--shadow-md);
}

.tab-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.academic-grid {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 40px;
    align-items: center;
    background-color: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border-color);
}

.academic-info h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.academic-info p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.academic-list {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.academic-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.academic-list li i {
    color: #16a34a;
    margin-top: 4px;
}

.academic-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

/* --------------------------------------------------------------------------
   10. FACILITIES GRID
   -------------------------------------------------------------------------- */
.facilities-section {
    background-color: var(--bg-surface-alt);
}

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

.facility-card {
    background-color: var(--bg-surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.facility-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.facility-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.facility-content {
    padding: 25px;
    position: relative;
}

.facility-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--primary-royal);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    position: absolute;
    top: -22px;
    right: 25px;
    box-shadow: var(--shadow-sm);
}

.facility-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.facility-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   11. CAMPUS LIFE ACTIVITIES & GALLERY
   -------------------------------------------------------------------------- */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.activity-box {
    background-color: var(--bg-surface);
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

.activity-box:hover {
    border-color: var(--accent-gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.activity-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background: rgba(217, 119, 6, 0.1);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

.activity-box h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.activity-box p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.gallery-section {
    background-color: var(--bg-surface-alt);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 8px 20px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-full);
    background: var(--bg-surface);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary-royal);
    color: #ffffff;
    border-color: var(--primary-royal);
}

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

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 240px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(11, 29, 58, 0.2) 0%, rgba(11, 29, 58, 0.85) 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2rem;
    color: var(--accent-gold-light);
}

.gallery-overlay span {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   12. ADMISSIONS & INQUIRY FORM
   -------------------------------------------------------------------------- */
.admissions-grid {
    display: grid;
    grid-template-columns: 1fr 500px;
    gap: 50px;
    align-items: flex-start;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}

.step-card {
    display: flex;
    gap: 20px;
    background-color: var(--bg-surface);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.step-num {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--accent-gold);
    width: 45px;
    height: 45px;
    border-radius: var(--radius-full);
    background: rgba(217, 119, 6, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-details h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.step-details p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.eligibility-card {
    background-color: var(--bg-surface);
    border-radius: var(--radius-md);
    padding: 25px;
    border: 2px dashed var(--accent-gold);
}

.eligibility-card h4 {
    color: var(--accent-gold);
    margin-bottom: 5px;
}

.eligibility-flex {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.eligibility-result {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    background-color: var(--bg-surface-alt);
    font-weight: 600;
    color: var(--primary-royal);
    font-size: 0.95rem;
}

/* Form Styling */
.form-card {
    background-color: var(--bg-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 35px;
    border: 1px solid var(--border-color);
}

.form-header {
    text-align: center;
    margin-bottom: 25px;
}

.form-header h3 {
    font-size: 1.4rem;
    color: var(--primary-navy);
}

.form-header p {
    font-size: 0.85rem;
    color: var(--accent-gold);
    font-weight: 600;
}

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

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
    background-color: var(--bg-light);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-disclaimer {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 15px;
    text-align: center;
}

/* --------------------------------------------------------------------------
   13. TESTIMONIALS & FAQ ACCORDION
   -------------------------------------------------------------------------- */
.testimonials-section {
    background-color: var(--bg-surface);
}

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

.testimonial-card {
    background-color: var(--bg-surface-alt);
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.rating {
    color: var(--accent-gold-light);
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 25px;
}

.parent-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.parent-avatar {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-full);
    background: var(--primary-royal);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parent-info h4 {
    font-size: 0.95rem;
}

.parent-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.faq-section {
    background-color: var(--bg-surface-alt);
}

.faq-search-box {
    max-width: 600px;
    margin: 0 auto 40px;
    position: relative;
}

.faq-search-box i {
    position: absolute;
    top: 50%;
    left: 18px;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.faq-search-box input {
    padding-left: 45px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.accordion-item {
    background-color: var(--bg-surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 20px 25px;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--primary-navy);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.accordion-header:hover {
    color: var(--primary-blue);
}

.accordion-body {
    padding: 0 25px 20px;
    display: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.accordion-item.active .accordion-body {
    display: block;
}

.accordion-item.active .accordion-header i {
    transform: rotate(45deg);
    color: var(--accent-gold);
}

/* --------------------------------------------------------------------------
   14. CONTACT & MAP SECTION
   -------------------------------------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

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

.contact-details {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    gap: 18px;
}

.contact-icon {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-md);
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.contact-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 100%;
    min-height: 450px;
}

.map-container {
    width: 100%;
    height: 100%;
}

/* --------------------------------------------------------------------------
   15. FOOTER & FLOATING ACTIONS
   -------------------------------------------------------------------------- */
.main-footer {
    background-color: var(--bg-dark);
    color: #ffffff;
    padding-top: 70px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid var(--border-dark);
}

.footer-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    color: #ffffff;
    display: inline-block;
    margin-bottom: 15px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

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

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-gold);
    color: #ffffff;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-gold);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a, .footer-col p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-gold-light);
    padding-left: 4px;
}

.footer-badge span {
    background: rgba(217, 119, 6, 0.2);
    border: 1px solid var(--accent-gold);
    color: #fef08a;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.footer-bottom {
    padding: 25px 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    margin-left: 20px;
}

.footer-legal a:hover {
    color: #ffffff;
}

.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.float-btn {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.float-whatsapp {
    background-color: #25d366;
}

.float-phone {
    background-color: var(--primary-royal);
}

.float-btn:hover {
    transform: scale(1.1);
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   16. MODALS
   -------------------------------------------------------------------------- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background-color: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: 35px;
    max-width: 90%;
    width: 500px;
    z-index: 2001;
    box-shadow: var(--shadow-lg);
    animation: zoomIn 0.3s ease;
}

.modal-sm { width: 420px; }
.modal-lg { width: 850px; }

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
}

.modal-close:hover { color: var(--text-primary); }

.modal-icon {
    font-size: 2.5rem;
    color: var(--primary-royal);
    margin-bottom: 10px;
}

.success-icon i {
    font-size: 3.5rem;
    color: #16a34a;
}

.modal-lightbox img {
    max-height: 80vh;
    object-fit: contain;
    margin: 0 auto;
    border-radius: var(--radius-sm);
}

.lightbox-caption {
    text-align: center;
    margin-top: 15px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary-navy);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* --------------------------------------------------------------------------
   17. RESPONSIVE DESIGN (MEDIA QUERIES)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-title { font-size: 2.4rem; }
    .about-grid, .principal-grid, .academic-grid, .admissions-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .top-bar-container { flex-direction: column; align-items: flex-start; gap: 8px; }
    .header-container { height: 70px; }
    
    .mobile-toggle { display: block; }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--bg-surface);
        box-shadow: var(--shadow-lg);
        padding: 20px;
        display: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-menu.active { display: block; }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        transform: none;
        padding-left: 15px;
        display: none;
    }

    .dropdown.active .dropdown-menu { display: block; }

    .hero-title { font-size: 2rem; }
    .hero-section { height: 550px; }
    .slider-nav { right: 20px; bottom: 20px; }
    
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    
    .announcer-content { flex-direction: column; text-align: center; }
}
