/* ==========================================================================
   CSS Variables & Defaults (Red & Green Theme)
   ========================================================================== */
   :root {
    /* Brand Colors: Red & Green */
    --primary-color: #B91C1C; /* Rich Red */
    --primary-light: #EF4444;
    --primary-dark: #7F1D1D;
    
    --secondary-color: #15803D; /* Deep Green */
    --secondary-light: #22C55E;
    --secondary-dark: #14532D;

    --accent-color: #FBBF24; /* Warm Yellow for C-T-A contrast */
    
    /* Neutral Colors / Text */
    --text-main: #1F2937;
    --text-muted: #4B5563;
    --text-light: #F9FAFB;
    
    --bg-main: #FFFFFF;
    --bg-alt: #F3F4F6; /* light gray for sections */
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions & Shadows */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --border-radius: 8px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px; /* Offset for sticky header */
}

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

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }

.mt-4 { margin-top: 1.5rem; }
.section-bg { background-color: var(--bg-alt); }
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
}
.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-solid-primary {
    background-color: var(--primary-color);
    color: white;
}
.btn-solid-primary:hover { background-color: var(--primary-dark); }

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

.btn-solid-accent {
    background-color: var(--accent-color);
    color: var(--text-main);
}
.btn-solid-accent:hover { background-color: #F59E0B; }

.btn-outline-white {
    border-color: rgba(255, 255, 255, 0.7);
    color: white;
}
.btn-outline-white:hover {
    background-color: white;
    color: var(--primary-color);
}


/* ==========================================================================
   Utility Top Bar
   ========================================================================== */
.top-bar {
    background-color: var(--primary-color); /* Premium Red */
    color: white;
    font-size: 0.85rem;
}

.top-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 1.5rem;
}
.contact-info i {
    margin-right: 0.3rem;
    color: var(--accent-color);
}

.quick-links {
    display: flex;
    gap: 1rem;
}
.quick-links .btn {
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
}


/* ==========================================================================
   Header & Navigation
   ========================================================================== */
#main-header {
    background-color: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-base);
}
#main-header.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    background-color: var(--secondary-color); /* Green logo container */
    color: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
}

.logo-text h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0;
}
.logo-text p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
}

#nav-links ul {
    display: flex;
    gap: 2rem;
}

#nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
    position: relative;
}

#nav-links a:hover, #nav-links a.active {
    color: var(--secondary-color); /* Green on hover */
}

#nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    bottom: -4px;
    left: 0;
    transition: var(--transition-base);
}
#nav-links a:hover::after, #nav-links a.active::after {
    width: 100%;
}

/* ==========================================================================
   Admission Ticker
   ========================================================================== */
.admission-ticker-wrapper {
    background-color: var(--primary-dark);
    color: white;
    padding: 0.6rem 0;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    position: relative;
    z-index: 99;
}

.admission-ticker {
    display: flex;
    animation: ticker-translate 35s linear infinite;
}

.admission-ticker:hover {
    animation-play-state: paused;
}

.admission-ticker p {
    margin: 0;
    padding: 0 50px;
    font-size: 0.95rem;
    font-weight: 500;
}

.admission-ticker p a {
    color: #1a1a1a;
    text-decoration: none;
    margin-left: 12px;
    font-weight: 800;
    padding: 4px 14px;
    background-color: #FFD700;
    border-radius: 20px;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    animation: pulse-btn 1.5s ease-in-out infinite;
    display: inline-block;
    transition: transform 0.2s, background-color 0.2s;
}

.admission-ticker p a:hover {
    background-color: white;
    color: var(--primary-dark);
    transform: scale(1.08);
    animation-play-state: paused;
}

@keyframes pulse-btn {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7); }
    50% { box-shadow: 0 0 0 6px rgba(255, 215, 0, 0); }
}

@keyframes ticker-translate {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    height: calc(100vh + 50px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: black;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: none; /* removed gradient */
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.5); /* semi-transparent dark overlay for text */
    border-radius: var(--border-radius);
}

.hero-content h2 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.hero-content .highlight {
    color: var(--accent-color); /* Yellow highlight */
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Animations */
.animate-fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards ease-out;
}
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Stats Section
   ========================================================================== */
.stats-section {
    background-color: var(--secondary-color); /* Deep Green */
    color: white;
    padding: 3rem 0;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}
.stat-item p {
    font-size: 1.1rem;
    font-weight: 500;
}

/* ==========================================================================
   Notice Board (Vertical Auto Scroll)
   ========================================================================== */
.notice-section {
    background-color: var(--bg-alt);
}

.notice-board-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border-top: 5px solid var(--primary-color);
    padding: 1.5rem;
}

.notice-scroll-box {
    height: 400px;
    overflow: hidden;
    position: relative;
    border-radius: var(--border-radius);
}

.notice-scroll-box::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 40px;
    background: linear-gradient(transparent, white);
    pointer-events: none;
}

.vertical-scrolling-list {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    animation: scrollVertical 20s linear infinite;
}

.vertical-scrolling-list:hover {
    animation-play-state: paused;
}

.vertical-scrolling-list li {
    padding: 1.5rem 0.5rem;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: background-color var(--transition-fast);
}

.vertical-scrolling-list li:hover {
    background-color: #f9fafb;
    border-radius: var(--border-radius);
}

.notice-date {
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    text-align: center;
    min-width: 100px;
}

.notice-content h4 {
    margin-bottom: 0.4rem;
    font-size: 1.1rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.notice-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    color: white;
    font-weight: 600;
}
.badge.new { background-color: var(--secondary-light); }
.badge.update { background-color: var(--accent-color); color: var(--text-main); }
.badge.alert { background-color: var(--primary-color); }

@keyframes scrollVertical {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); } 
}



/* ==========================================================================
   Facilities grid
   ========================================================================== */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.facility-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    border-bottom: 4px solid transparent;
}
.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-bottom: 4px solid var(--secondary-color);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.facility-card h3 {
    color: var(--primary-dark);
}

.facility-card.image-card {
    padding: 0;
    overflow: hidden;
    position: relative;
    border-bottom: none;
    min-height: 250px;
}
.facility-card.image-card .card-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(transparent, rgba(127, 29, 29, 0.9)); /* red fade */
    color: white;
}
.facility-card.image-card h3 { color: white; margin-bottom: 0; }

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery-section {
    background-color: var(--bg-main);
    overflow: hidden;
}

.gallery-scroll-wrapper {
    width: 100%;
    overflow-x: auto;
    padding: 2rem 0;
    cursor: grab;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.gallery-scroll-wrapper::-webkit-scrollbar {
    height: 8px;
}

.gallery-scroll-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.gallery-scroll-wrapper::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 10px;
}

.gallery-scroll-wrapper::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

.gallery-grid {
    display: flex;
    gap: 2rem;
    padding: 0 1rem;
}

.gallery-item {
    flex: 0 0 350px; /* Fixed width for scrolling items */
    scroll-snap-align: center;
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 300px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

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

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

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

.gallery-item::after {
    content: '\f002'; /* FontAwesome search icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: white;
    font-size: 2rem;
    transition: var(--transition-base);
    z-index: 2;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(185, 28, 28, 0.4); /* Primary color overlay */
    opacity: 0;
    transition: var(--transition-base);
    z-index: 1;
}

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

.gallery-item:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.founder-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 { font-size: 2.5rem; }
.about-content p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 1.1rem; }

.about-image .image-frame {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
}
.shape-blob {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: blobMorph 8s infinite alternate ease-in-out;
}
@keyframes blobMorph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

/* ==========================================================================
   Principal Section
   ========================================================================== */
.principal-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}
.principal-grid-reverse {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.principal-photo img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border: 8px solid white;
}

.principal-content {
    position: relative;
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary-light);
    opacity: 0.2;
    position: absolute;
    top: -1rem;
    left: -1rem;
}

.principal-content h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
.principal-content blockquote {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.principal-signature strong {
    display: block;
    font-size: 1.2rem;
    color: var(--primary-dark);
}
.principal-signature span {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.main-footer {
    background-color: var(--text-main);
    color: var(--text-light);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.logo-area.light h2 { color: white; margin: 0; }
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    margin-right: 0.5rem;
    transition: var(--transition-base);
}
.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
}

.footer-column h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}
.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 40px; height: 2px;
    background-color: var(--primary-color);
}

.links-col ul li { margin-bottom: 0.8rem; }
.links-col ul a:hover { color: var(--accent-color); padding-left: 5px; }

.contact-col ul li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}
.contact-col i {
    margin-top: 5px;
    margin-right: 15px;
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}


/* ==========================================================================
   Modal Overlay & Form
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: translateY(20px);
    transition: var(--transition-base);
    box-shadow: var(--shadow-lg);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-base);
}
.close-modal:hover { color: var(--primary-color); }

.modal-content h2 { margin-bottom: 0.5rem; }
.modal-content p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 0.95rem; }

.form-group {
    margin-bottom: 1.25rem;
    text-align: left;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #D1D5DB;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-base);
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.1);
}
.btn-block {
    width: 100%;
}


/* ==========================================================================
   Responsive Queries
   ========================================================================== */
@media (max-width: 992px) {
    .nav-container { padding: 0.75rem 1.5rem; }
    
    .menu-toggle { display: block; }
    
    #nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
        padding: 0.5rem 0;
        display: none;
        z-index: 1000;
        border-top: 1px solid #eee;
    }
    
    #nav-links.active { display: block; }
    #nav-links ul { flex-direction: column; gap: 0; }
    #nav-links a {
        display: block;
        padding: 0.75rem 2rem;
        border-bottom: 1px solid #f3f4f6;
        color: var(--text-main);
    }

    .hero-content h2 { font-size: 2.5rem; }
    
    .about-grid, .founder-grid, .principal-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .principal-photo { order: -1; }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    /* Top Bar Mobile */
    .top-bar-container {
        flex-direction: column;
        gap: 0.75rem;
        padding: 0.75rem 1.5rem;
        text-align: center;
    }
    .contact-info {
        font-size: 0.8rem;
    }
    .contact-info span { display: block; margin-right: 0; margin-bottom: 5px;}
    
    .quick-links {
        display: flex;
        gap: 0.5rem;
        width: 100%;
    }
    .quick-links .btn {
        flex: 1;
        font-size: 0.7rem;
        padding: 0.5rem 0.25rem;
    }

    /* Header Mobile */
    .logo-icon { width: 40px; height: 40px; }
    .logo-text h1 { font-size: 1.2rem; }
    .logo-text p { font-size: 0.7rem; }

    /* Hero Mobile */
    .hero { height: 60vh; }
    .hero-content { padding: 0 1.5rem; }
    /* Stats Bar Mobile - Single Row */
    .stats-section { padding: 1.5rem 0; }
    .stats-grid {
        flex-wrap: nowrap;
        gap: 0.5rem;
        justify-content: space-between;
        padding: 0 1rem;
    }
    .stat-item h3 {
        font-size: 1.4rem;
        margin-bottom: 0.25rem;
    }
    .stat-item p {
        font-size: 0.65rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    /* Facilities Scroll for Mobile */
    .facilities-grid {
        display: flex;
        overflow-x: auto;
        gap: 1.5rem;
        padding: 1.5rem 0.5rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        margin-top: 1rem;
    }
    .facilities-grid::-webkit-scrollbar { display: none; } /* Hide scrollbar for cleaner look */
    
    .facility-card {
        flex: 0 0 280px; /* Fixed width for card */
        scroll-snap-align: center;
        margin-bottom: 0px;
    }

    /* Modal Mobile */
    .modal-content {
        padding: 1.5rem;
        width: 95%;
    }
    .modal-content h2 { font-size: 1.5rem; }
}

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 2rem;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox-overlay.active .lightbox-img {
    transform: scale(1);
}

.close-lightbox {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: white;
    font-size: 3.5rem;
    cursor: pointer;
    line-height: 1;
    z-index: 10000;
}

.lightbox-caption {
    position: absolute;
    bottom: 2rem;
    color: white;
    font-size: 1.2rem;
    background: rgba(0,0,0,0.5);
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

/* ==========================================================================
   Leadership Unified Typography (Founder, Chairman, Principal)
   ========================================================================== */
.about-section h2, 
.principal-section h2, 
.about-content h2, 
.principal-content h2 { 
    font-size: 2.8rem !important; 
    font-weight: 800 !important;
    margin-bottom: 1.5rem !important;
}

.about-section blockquote,
.principal-section blockquote,
.about-section p,
.principal-section p,
.about-content p,
.principal-content blockquote { 
    font-size: 1.15rem !important;
    line-height: 1.8 !important;
    color: var(--text-muted) !important;
}

@media (max-width: 768px) {
    .about-section h2, 
    .principal-section h2, 
    .about-content h2, 
    .principal-content h2 { 
        font-size: 2rem !important; 
    }
    
    .about-section blockquote,
    .principal-section blockquote,
    .about-section p,
    .principal-section p { 
        font-size: 1rem !important;
    }
}
