/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #2c3e4e;
    background: #f0f4f8;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER & NAVIGATION - FIXED LAYOUT ===== */
header {
    background: linear-gradient(135deg,rgba(0, 110, 255, 0.659) 0%, #3925ea 20%, #0d3b4f 80%,rgba(0, 110, 255, 0.659) 100%);
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
   
}

.logo img {
    height: 80px;
    width: auto;
     border-radius: 50%;
}

.logo h1 {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
}

.logo h1 span {
    font-weight: 300;
    color: #8bcbff;
}

.logo h1 small {
    font-size: 0.7rem;
    font-weight: 400;
    color: #c8e6ff;
    display: block;
}

/* Navigation - Desktop */
nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.nav-links li a:hover,
.nav-links li a.active {
    background: linear-gradient(135deg, #4a9fd8, #2c7ab0);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 159, 216, 0.3);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #0d3b4f;
    list-style: none;
    padding: 10px 0;
    border-radius: 15px;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: white;
    background: transparent;
    border-radius: 0;
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background: #4a9fd8;
    border-radius: 0;
    transform: none;
}

/* Hamburger Menu - Hidden on Desktop */
.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: white;
    z-index: 1001;
}
/* Small image under navigation links */
.nav-under-image {
    text-align: center;
    margin-top: 12px;
    padding-top: 8px;
}

.nav-under-image img {
    height: 30px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.nav-under-image img:hover {
    opacity: 1;
}

/* On mobile, keep it small */
@media (max-width: 768px) {
    .nav-under-image {
        margin-top: 8px;
        padding-top: 5px;
    }
    
    .nav-under-image img {
        height: 25px;
    }
}

/* ===== RESPONSIVE NAVIGATION ===== */
@media (max-width: 1024px) {
    .nav-links li a {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
}

@media (max-width: 900px) {
    .hamburger {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: #0d3b4f;
        flex-direction: column;
        justify-content: flex-start;
        padding: 80px 20px 30px;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -5px 0 20px rgba(0,0,0,0.2);
    }
    
    nav.active {
        right: 0;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .nav-links li a {
        display: block;
        text-align: center;
        padding: 12px;
        font-size: 1rem;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        background: rgba(255,255,255,0.1);
        margin-top: 10px;
        display: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
}

@media (max-width: 768px) {
    .logo h1 {
        font-size: 0.9rem;
    }
    
    .logo img {
        height: 55px;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 0.75rem;
    }
    
    .logo h1 small {
        font-size: 0.6rem;
    }
    
    .logo img {
        height: 45px;
    }
}

/* ===== HERO SLIDESHOW BACKGROUND - 10 IMAGES ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.fade {
    animation-name: fadeEffect;
    animation-duration: 40s;
    animation-iteration-count: infinite;
}

.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 4s; }
.slide:nth-child(3) { animation-delay: 8s; }
.slide:nth-child(4) { animation-delay: 12s; }
.slide:nth-child(5) { animation-delay: 16s; }
.slide:nth-child(6) { animation-delay: 20s; }
.slide:nth-child(7) { animation-delay: 24s; }
.slide:nth-child(8) { animation-delay: 28s; }
.slide:nth-child(9) { animation-delay: 32s; }
.slide:nth-child(10) { animation-delay: 36s; }

@keyframes fadeEffect {
    0% { opacity: 0; }
    2.5% { opacity: 1; }
    10% { opacity: 1; }
    12.5% { opacity: 0; }
    100% { opacity: 0; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero-content {
    color: white;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 10px;
    animation: fadeInUp 1s ease-out;
}

.hero-content h3 {
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: #c8e6ff;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.motto {
    margin: 20px 0;
    font-size: 1.4rem;
    font-style: italic;
    color: #ffd966;
    font-weight: 500;
    letter-spacing: 1px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-content p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-content .btn-primary {
    animation: fadeInUp 1s ease-out 0.8s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Hero */
@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 500px;
        padding: 100px 0;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h3 {
        font-size: 1.2rem;
    }
    
    .motto {
        font-size: 1rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
        padding: 0 15px;
    }
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #4a9fd8, #2c7ab0);
    color: white;
    padding: 12px 30px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(74, 159, 216, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2c7ab0, #1a5a82);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 159, 216, 0.4);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: #0d3b4f;
    padding: 10px 25px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 700;
    border: 2px solid #0d3b4f;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: #0d3b4f;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 85px rgba(13, 59, 79, 0.3);
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: 70px 0;
    background: radial-gradient(circle at 10% 20%, rgba(133, 157, 201, 0.9), rgba(67, 26, 216, 0.9));
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: -10 10px 90px rgba(5, 235, 59, 1);
    border: 5px solid rgba(24, 232, 21, 0.5);
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02) rotate(10deg);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 1);
}

.feature-card i {
    font-size: 2.8rem;
    color: #0d3b4f;
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.feature-card:hover i {
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #0a2b3e;
    font-weight: 700;
}

.feature-card p {
    color: #4a5b6b;
    font-size: 0.95rem;
}

/* ===== QUICK FACTS SECTION ===== */
.quickfacts {
    padding: 70px 0;
    background: linear-gradient(145deg, #0e265c, #c8dcf5, rgb(16, 4, 105));
}

.facts-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: linear-gradient(145deg, #0e265c, #fefefe, rgb(16, 4, 105));
    border-radius: 30px;
    padding: 35px;
    backdrop-filter: blur(10px);
    box-shadow: -20px 20px 90px rgb(248, 245, 245);
}

.facts-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 1);
    transition: transform 0.9s;
}

.facts-image img:hover {
    transform: scale(1.02) rotate(360deg);

}

.facts-content h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: #0a2b3e;
    font-weight: 700;
}

.fact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
    padding: 5px 0;
    transition: transform 0.2s;
}

.fact-item:hover {
    transform: translateX(8px);
}

.fact-item i {
    width: 35px;
    color: #0d3b4f;
    font-size: 1.2rem;
}

.facts-description {
    margin: 25px 0 20px;
    color: #2c3e4e;
    line-height: 1.7;
}

/* ===== WORLD-CLASS FACILITIES SECTION ===== */
.facilities {
    padding: 80px 0;
    background: conic-gradient(from 90deg at 50% 50%, #e8f0ff, #d4e4fc, #c5d9f5, #d4e4fc, #e8f0ff);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: #0a2b3e;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-header p {
    color: #4a5b6b;
    font-size: 1rem;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
}

/* Facility Image Slideshow (2 seconds per image) */
.facility-image-slideshow {
    position: relative;
    height: 220px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.facility-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

/* 3 images per facility - 2 seconds each = 6 seconds total cycle */
.fade2 {
    animation-name: fadeEffect2;
    animation-duration: 6s;
    animation-iteration-count: infinite;
}

.facility-image-slideshow .facility-slide:nth-child(1) { animation-delay: 0s; }
.facility-image-slideshow .facility-slide:nth-child(2) { animation-delay: 2s; }
.facility-image-slideshow .facility-slide:nth-child(3) { animation-delay: 4s; }

@keyframes fadeEffect2 {
    0% { opacity: 0; }
    8% { opacity: 1; }
    33% { opacity: 1; }
    41% { opacity: 0; }
    100% { opacity: 0; }
}

.photo-count {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
    z-index: 10;
}

.facility-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.facility-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.98);
}

.facility-card h3 {
    font-size: 1.3rem;
    margin: 20px 20px 10px;
    color: #0a2b3e;
    font-weight: 700;
}

.facility-card p {
    margin: 0 20px 20px;
    color: #4a5b6b;
    font-size: 0.9rem;
}

/* ===== LATEST UPDATES SECTION ===== */
.latest-updates {
    padding: 80px 0;
    background: linear-gradient(120deg, #e8f0ff, #d4e4fc, #c5d9f5);
}

.updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

.update-card {
    border-radius: 25px;
    padding: 30px;
    display: flex;
    gap: 20px;
    transition: all 0.4s;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.update-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.2);
}

.update-card-1 {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.update-card-2 {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: white;
}

.update-card-3 {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: white;
}

.update-icon {
    font-size: 2.5rem;
}

.update-content h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.update-content p {
    margin-bottom: 15px;
    opacity: 0.95;
    line-height: 1.6;
    font-size: 0.9rem;
}

.update-status {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    padding: 6px 15px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

/* ===== FOOTER ===== */
footer {
    background: #0a2b3e;
    color: #c8d6df;
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo img {
    height: 40px;
    border-radius: 50%;
}

.footer-logo h3 {
    font-size: 0.9rem;
    color: white;
}

.footer-logo h3 span {
    font-weight: 300;
}

.motto-footer {
    font-style: italic;
    margin-top: 15px;
    font-size: 0.85rem;
    color: #8bcbff;
}

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 700;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #c8d6df;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #8bcbff;
    padding-left: 5px;
}

.footer-col p {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.footer-col p i {
    width: 25px;
    color: #8bcbff;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: white;
    background: #1a4f6e;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.social-links a:hover {
    background: linear-gradient(135deg, #4a9fd8, #2c7ab0);
    transform: translateY(-5px) rotate(360deg);
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid #1a4f6e;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.8rem;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #c8d6df;
    text-decoration: none;
}

.footer-links a:hover {
    color: #8bcbff;
}

/* ===== RESPONSIVE FIXES ===== */
@media (max-width: 768px) {
    .facts-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .update-card {
        flex-direction: column;
        text-align: center;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .feature-card {
        padding: 25px 15px;
    }
    
    .btn-primary, .btn-secondary {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
    
    .facts-content h2 {
        font-size: 1.5rem;
    }
    
    .fact-item {
        font-size: 0.85rem;
    }
    
    .facilities-grid {
        grid-template-columns: 1fr;
    }
    
    .updates-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
}
/* ===== FULLSCREEN IMAGE MODAL STYLES ===== */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    background: rgba(20, 20, 30, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: modalContentZoom 0.3s ease;
}

@keyframes modalContentZoom {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 25px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.close-modal:hover {
    color: #ff6b6b;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 20px;
}

.modal-header h3 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.modal-image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
}

#modalImage {
    max-width: 90%;
    max-height: 70vh;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
    object-fit: contain;
}

.modal-prev,
.modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-prev {
    left: -70px;
}

.modal-next {
    right: -70px;
}

.modal-prev:hover,
.modal-next:hover {
    background: #4a9fd8;
    transform: translateY(-50%) scale(1.1);
}

.modal-counter {
    text-align: center;
    margin: 15px 0;
    color: #c8e6ff;
    font-size: 1rem;
    font-weight: 500;
}

.modal-thumbnails {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.thumb-img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
    opacity: 0.6;
}

.thumb-img:hover {
    transform: translateY(-5px);
    opacity: 1;
}

.thumb-img.active {
    border-color: #4a9fd8;
    opacity: 1;
    transform: scale(1.05);
}

/* Responsive Modal */
@media (max-width: 1024px) {
    .modal-prev {
        left: -20px;
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }
    
    .modal-next {
        right: -20px;
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        padding: 15px;
    }
    
    .modal-header h3 {
        font-size: 1.3rem;
    }
    
    .modal-prev,
    .modal-next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        padding: 8px;
    }
    
    .modal-prev {
        left: -15px;
    }
    
    .modal-next {
        right: -15px;
    }
    
    #modalImage {
        max-width: 100%;
        max-height: 55vh;
    }
    
    .thumb-img {
        width: 55px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .modal-prev {
        left: -10px;
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .modal-next {
        right: -10px;
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .thumb-img {
        width: 45px;
        height: 35px;
    }
    
    .close-modal {
        top: 10px;
        right: 15px;
        font-size: 30px;
    }
}
/* ===== ABOUT PAGE STYLES ===== */

/* Motto Section */
.motto-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #e8f0ff, #d4e4fc);
}

.motto-card {
    background: linear-gradient(135deg, #667eea, #764ba2);
    padding: 50px 30px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
}

.motto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.2);
}

.motto-card h2 {
    font-size: 2rem;
    color: white;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.motto-card p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

/* About Intro Section */
.about-intro {
    padding: 70px 0;
    background: conic-gradient(from 90deg at 50% 50%, #e8f0ff, #d4e4fc, #c5d9f5, #d4e4fc, #e8f0ff);
}

.about-header {
    text-align: center;
    margin-bottom: 50px;
}

.about-header h2 {
    font-size: 2.2rem;
    color: #0a2b3e;
    margin-bottom: 20px;
    font-weight: 700;
}

.about-header p {
    max-width: 800px;
    margin: 0 auto;
    color: #2c3e4e;
    line-height: 1.8;
}

.about-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.about-detail-item {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.about-detail-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.about-detail-item i {
    font-size: 2.5rem;
    color: #0d3b4f;
    margin-bottom: 20px;
}

.about-detail-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #0a2b3e;
}

.about-detail-item p {
    color: #4a5b6b;
    line-height: 1.6;
}

/* Statistics Section */
.stats-section {
    padding: 70px 0;
    background: radial-gradient(circle at 20% 30%, #0a2b3e, #0d3b4f);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px 20px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-box:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #ffd966;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    letter-spacing: 1px;
}

/* Level Sections (KG, Elementary, High School) */
.level-section {
    padding: 70px 0;
    background: linear-gradient(145deg, #e0eaff, #c8dcf5);
}

.level-section.alternate {
    background: radial-gradient(circle at 30% 40%, #d4e4fc, #c5d9f5);
}

.level-header {
    text-align: center;
    margin-bottom: 50px;
}

.level-header h2 {
    font-size: 2rem;
    color: #0a2b3e;
    margin-bottom: 10px;
    font-weight: 700;
}

.level-header p {
    color: #4a5b6b;
    font-size: 1rem;
}

.level-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
    align-items: start;
}

.level-text p {
    margin-bottom: 15px;
    color: #2c3e4e;
    line-height: 1.7;
}

.director-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 25px;
    text-align: center;
    transition: all 0.4s;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.director-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.15);
}

.director-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #4a9fd8;
}
/* Make director images clickable */
.director-card img {
    cursor: pointer;
    transition: all 0.3s;
}

.director-card img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.director-card h3 {
    font-size: 1.3rem;
    color: #0a2b3e;
    margin-bottom: 5px;
}

.director-title {
    color: #4a9fd8;
    font-weight: 600;
    margin-bottom: 15px;
}

.director-card p {
    margin-bottom: 8px;
    color: #4a5b6b;
}

.director-card p i {
    width: 25px;
    color: #0d3b4f;
}

/* Level Gallery */
.level-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.gallery-img-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s;
    cursor: pointer;
}

.gallery-img-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.gallery-img-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-img-card:hover img {
    transform: scale(1.1);
}

.gallery-img-card .overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(74, 159, 216, 0.9), rgba(44, 122, 176, 0.9));
    color: white;
    text-align: center;
    padding: 12px;
    font-weight: 600;
    transition: bottom 0.3s;
}

.gallery-img-card:hover .overlay {
    bottom: 0;
}

/* Vision & Mission Section */
.vision-mission-section {
    padding: 70px 0;
    background: conic-gradient(from 180deg at 50% 50%, #667eea, #764ba2, #667eea);
}

.vision-mission-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.vision-box, .mission-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 30px;
    border-radius: 25px;
    text-align: center;
    transition: all 0.4s;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.vision-box:hover, .mission-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.vision-box i, .mission-box i {
    font-size: 2.8rem;
    color: #0d3b4f;
    margin-bottom: 20px;
}

.vision-box h3, .mission-box h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: #0a2b3e;
    font-weight: 700;
}

.vision-box p, .mission-box p {
    color: #4a5b6b;
    line-height: 1.7;
}

/* Responsive About Page */
@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .level-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .level-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .vision-mission-section .container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .motto-card h2 {
        font-size: 1.3rem;
    }
    
    .about-header h2 {
        font-size: 1.6rem;
    }
    
    .about-details {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .level-gallery {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .director-card img {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .motto-card {
        padding: 30px 20px;
    }
    
    .motto-card h2 {
        font-size: 1.1rem;
    }
    
    .level-header h2 {
        font-size: 1.5rem;
    }
    
    .director-card {
        padding: 20px;
    }
}
/* ===== STAFF PAGE STYLES ===== */

/* Page Header */
.staff-page-header {
    background: transparent;
    color: rgb(68, 32, 32);
    padding: 80px 0 60px;
    text-align: center;
    border-radius: 30px;
}

.staff-page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.staff-page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Staff Introduction */
.staff-intro {
    position: relative;
    padding: 70px 0;
    background: linear-gradient(145deg, #e0eaff, #c8dcf5);
    overflow: hidden;
}
.staff-bg-watermark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/lasalle.png');
    background-repeat: repeat;
    background-size: 100px 100px;
    background-position: center;
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}
/* Staff Introduction Section with Background Image */
.staff-intro {
    position: relative;
    padding: 70px 0;
    overflow: hidden;
    background-image: url('../images/la.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Optional: parallax effect */
}


.staff-intro-bg {
    display: none;
}

.staff-intro::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay - adjust opacity as needed */
    z-index: 0;
}
.staff-intro .container {
    position: relative;
    z-index: 1;
}

.staff-intro-card {
    background: transparent; /* Fully transparent */
    backdrop-filter: none;
    padding: 50px 40px;
    border-radius: 30px;
    text-align: center;
    box-shadow: none;
    transition: transform 0.3s;
    position: relative;
    z-index: 1;
}

.staff-intro-card:hover {
    transform: translateY(-5px);
}


.staff-intro-card i {
    font-size: 3rem;
    color: #ffd966; /* Gold color for better visibility */
    margin-bottom: 20px;
}

.staff-intro-card h2 {
    font-size: 2rem;
    color: white;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.staff-intro-card p {
    color: white;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 500;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}


.staff-intro-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 50px 40px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    position: relative;
    z-index: 1;
}


.staff-intro-card:hover {
    transform: translateY(-5px);
}

.staff-intro-card i {
    font-size: 3rem;
    color: #0d3b4f;
    margin-bottom: 20px;
}

.staff-intro-card h2 {
    font-size: 2rem;
    color: #0a2b3e;
    margin-bottom: 20px;
    font-weight: 700;
}

.staff-intro-card p {
    color: #4a5b6b;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* Leader Section (Principal & Vice Principal) - FIXED SIZES */
.leader-section {
    padding: 70px 0;
    background: radial-gradient(circle at 30% 40%, #8095f4, #c2c6ea,#a3abf4);
}

.leader-section.alternate {
    background: radial-gradient(circle at 30% 40%, #d4e4fc, #b0adee);
}

.leader-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
    align-items: center;
    background: radial-gradient(circle at 30% 40%, #00000e, #292b4d,#97a2fa);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 10, 0, 1);
}

.leader-card.reverse {
    direction: rtl;
}

.leader-card.reverse .leader-message {
    direction: ltr;
}

.leader-image {
    text-align: center;
}

.leader-image img {
    width: 100%;
    max-width: 250px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #4a9fd8;
    box-shadow: 0 15px 35px rgba(0, 10, 0, 1);
    transition: all 0.3s;
    cursor: pointer;
}

.leader-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 10, 0, 1);
}

.leader-message {
    flex: 1;
}

.leader-message h2 {
    font-size: 1.8rem;
    color: #dee8ee;
    margin-bottom: 10px;
}

.leader-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #d4e6ed;
}

.leader-title {
    color: #fcfcfc;
    font-weight: 600;
    margin-bottom: 20px;
}

.message-content p {
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.7;
}

.message-content .quote {
    font-style: italic;
    color: #ffffff;
    font-weight: 500;
    margin-top: 20px;
}

/* Level Staff Sections */
.level-staff-section {
    padding: 70px 0;
    background:rgb(184, 185, 253);
    box-shadow: 10px 10px 40px navy;
}

.level-staff-section.alternate {
    background: radial-gradient(circle at 70% 30%, #b1ade8, #06387e);
}

.level-title {
    text-align: center;
    margin-bottom: 50px;
}

.level-title h2 {
    font-size: 2.2rem;
    color: #d8e8f1;
    margin-bottom: 10px;
    font-weight: 700;
}

.level-title p {
    color: #feffff;
    font-size: 1rem;
}

.staff-category {
    margin-bottom: 50px;
}

.staff-category h3 {
    font-size: 1.5rem;
    color: #0d3b4f;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #4a9fd8;
    display: inline-block;
}

/* BIG IMAGES - NO CROPPING, FULL SIZE VISIBLE */
.staff-big-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s;
    background: #f0f4f8;
    width: 80%;
    max-width: 800px;
    margin: 0 auto;
    display: block;
}

.staff-big-image:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 1);
}

.staff-big-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s;
    display: block;
}
.staff-big-image:hover img {
    transform: scale(1.02);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(74, 159, 216, 0.9), rgba(44, 122, 176, 0.9));
    color: white;
    text-align: center;
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.staff-big-image:hover .image-overlay {
    transform: translateY(0);
}

.image-overlay span {
    font-size: 1rem;
    font-weight: 600;
}
/* Individual Staff Grid for Administrative Staff */
.staff-individual-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.staff-individual-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 25px 20px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.staff-individual-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 1);
}

.staff-individual-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #4a9fd8;
    transition: transform 0.3s;
}

.staff-individual-card:hover img {
    transform: scale(1.05);
}

.staff-individual-card h4 {
    font-size: 1.1rem;
    color: #0a2b3e;
    margin-bottom: 5px;
    font-weight: 700;
}

.staff-individual-card p {
    color: #4a9fd8;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Responsive for individual staff grid */
@media (max-width: 768px) {
    .staff-individual-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 20px;
    }
    
    .staff-individual-card img {
        width: 120px;
        height: 120px;
    }
    
    .staff-individual-card h4 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .staff-individual-grid {
        grid-template-columns: 1fr;
    }
    
    .staff-individual-card img {
        width: 100px;
        height: 100px;
    }
}

/* Responsive Staff Page */
@media (max-width: 992px) {
    .leader-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .leader-card.reverse {
        direction: ltr;
    }
    
    .leader-image img {
        max-width: 200px;
        margin: 0 auto;
    }
    
    .staff-big-image img {
        max-height: 350px;
    }
}

@media (max-width: 768px) {
    .staff-page-header h1 {
        font-size: 2rem;
    }
    
    .staff-intro-card {
        padding: 30px 20px;
    }
    
    .staff-intro-card h2 {
        font-size: 1.5rem;
    }
    
    .leader-message h2 {
        font-size: 1.4rem;
    }
    
    .level-title h2 {
        font-size: 1.8rem;
    }
    
    .staff-category h3 {
        font-size: 1.2rem;
    }
    
    .staff-big-image img {
        max-height: 280px;
    }
}

@media (max-width: 480px) {
    .staff-big-image img {
        max-height: 220px;
    }
    
    .leader-image img {
        max-width: 150px;
    }
    
    .message-content p {
        font-size: 0.9rem;
    }
    
    .leader-card {
        padding: 25px;
    }
}
/* ===== OUR STORY PAGE STYLES (NO NAVBAR) ===== */

/* Body style for story page */
body.story-page {
    background: linear-gradient(135deg, #f5f7fc 0%, #e8edf5 100%);
}

/* Back Button Container */
.back-button-container {
    padding: 25px 0 0;
    background: transparent;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #0a2b3e, #0d3b4f);
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.back-btn:hover {
    background: linear-gradient(135deg, #4a9fd8, #2c7ab0);
    transform: translateX(-5px);
    box-shadow: 0 8px 25px rgba(74, 159, 216, 0.3);
}

.back-btn i {
    font-size: 1.1rem;
}

/* Hero Section with Watermark */
.story-hero {
    position: relative;
    background: linear-gradient(135deg, #0a2b3e 0%, #0d4b6a 50%, #1a6a8a 100%);
    padding: 100px 0 80px;
    text-align: center;
    overflow: hidden;
}
.story-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/delasalle-watermark.png');
    background-repeat: repeat;
    background-size: 100px 100px;
    background-position: center;
    opacity: 0.2;
    pointer-events: none;
    z-index: 1;
}
.watermark {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/delasalle-watermark.png');
    background-repeat: repeat;
    background-size: 120px auto;
    background-position: center;
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
}

.watermark img {
    display: none;
}

.story-hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.story-hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.story-hero-content p {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 25px;
}

.hero-years {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffd966;
}

.hero-years i {
    font-size: 1.5rem;
    color: white;
}

/* Story Timeline Sections */
.story-section {
    padding: 70px 0;
    background: linear-gradient(145deg, #ffffff, #f0f4fa);
}

.story-section.alternate {
    background: radial-gradient(circle at 30% 40%, #f5f7fc, #e8edf5);
}

.story-timeline {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.timeline-year {
    background: linear-gradient(135deg, #0a2b3e, #0d3b4f);
    color: white;
    padding: 12px 25px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 1.3rem;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-content {
    flex: 1;
}

.timeline-content h2 {
    font-size: 1.8rem;
    color: #0a2b3e;
    margin-bottom: 20px;
    font-weight: 700;
}

.timeline-content p {
    color: #4a5b6b;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Statistics Section */
.story-stats {
    padding: 70px 0;
    background: conic-gradient(from 90deg at 50% 50%, #0a2b3e, #0d3b4f, #0a2b3e);
}

.story-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.story-stat {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 35px 20px;
    border-radius: 20px;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.story-stat:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.2);
}

.story-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffd966;
    margin-bottom: 10px;
}

.story-stat-label {
    color: white;
    font-weight: 500;
}

/* Headmasters Section */
.headmasters-section {
    padding: 70px 0;
    background: linear-gradient(135deg, #f5f7fc, #e8edf5);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: #0a2b3e;
    margin-bottom: 15px;
    font-weight: 700;
}
.future-section .section-title {
    color: white;
}

.section-subtitle {
    text-align: center;
    color: #4a5b6b;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.headmasters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.headmaster-card {
    background: linear-gradient(135deg, #c8cdef, #a696f6,  #b771f5);
    padding: 25px 20px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 5px 12px rgba(0, 0, 0, 1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
}

.headmaster-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: linear-gradient(135deg, #120af5, #e8edf5);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.1), 0 10px 20px rgba(0, 0, 0, 1);
}

.headmaster-years {
    background: linear-gradient(135deg, #0a2b3e, #0d3b4f);
    color: white;
    padding: 5px 15px;
    border-radius: 30px;
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.headmaster-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0a2b3e;
    margin-bottom: 5px;
}

.headmaster-duration {
    color: #f4f5f6;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Vision & Mission Section */
/* ===== VISION MISSION VALUES SECTION - 4 BOXES ===== */
.vision-values-section {
    padding: 80px 0;
    background: conic-gradient(from 180deg at 50% 50%, #667eea, #764ba2, #667eea);
}

.vision-values-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.values-four-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.value-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 35px 25px;
    border-radius: 25px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.value-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.2);
}

.value-card i {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.value-card p {
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Individual card colors */
.value-card.vision i,
.value-card.vision h3 {
    color: #4a9fd8;
}
.value-card.vision {
    background: linear-gradient(135deg, #ffffff, #e8f0ff);
}

.value-card.mission i,
.value-card.mission h3 {
    color: #764ba2;
}
.value-card.mission {
    background: linear-gradient(135deg, #ffffff, #f3e8ff);
}

.value-card.history i,
.value-card.history h3 {
    color: #d4a05a;
}
.value-card.history {
    background: linear-gradient(135deg, #ffffff, #fff5e8);
}

.value-card.impact i,
.value-card.impact h3 {
    color: #2c7ab0;
}
.value-card.impact {
    background: linear-gradient(135deg, #ffffff, #e0f0ff);
}

/* Responsive: 4 boxes */
@media (max-width: 1024px) {
    .values-four-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .vision-values-section {
        padding: 60px 0;
    }
    
    .values-four-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .value-card {
        padding: 25px 20px;
    }
    
    .value-card i {
        font-size: 2.2rem;
    }
    
    .value-card h3 {
        font-size: 1.3rem;
    }
    
    .value-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .value-card {
        padding: 20px 15px;
    }
    
    .value-card i {
        font-size: 2rem;
    }
    
    .value-card h3 {
        font-size: 1.2rem;
    }
}

/* Core Values Section */
.core-values-section {
    padding: 70px 0;
    background: linear-gradient(135deg, #f5f7fc, #e8edf5);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 30px 25px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.value-item:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.1);
}

.value-item i {
    font-size: 2rem;
    color: #0d3b4f;
    margin-bottom: 15px;
}

.value-item h4 {
    font-size: 1.2rem;
    color: #0a2b3e;
    margin-bottom: 10px;
    font-weight: 700;
}

.value-item p {
    color: #4a5b6b;
    font-size: 0.9rem;
}

/* Future Section */
.future-section {
    padding: 70px 0;
    background: radial-gradient(circle at 30% 20%, #0a2b3e, #0d3b4f);
    color: white;
}

.future-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.future-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 1rem;
}

/* Back Button Bottom */
.back-button-bottom {
    padding: 40px 0;
    text-align: center;
    background: linear-gradient(135deg, #f5f7fc, #e8edf5);
}

/* Story Footer */
.story-footer {
    background: #0a2b3e;
    color: #c8d6df;
    text-align: center;
    padding: 25px 0;
    font-size: 0.85rem;
}

/* Responsive Our Story Page */
@media (max-width: 992px) {
    .story-hero-content h1 {
        font-size: 2.8rem;
    }
    
    .story-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .vision-values-section .container {
        grid-template-columns: 1fr;
    }
    
    .story-timeline {
        flex-direction: column;
        gap: 20px;
    }
    
    .timeline-year {
        display: inline-block;
    }
}

@media (max-width: 768px) {
    .story-hero-content h1 {
        font-size: 2rem;
    }
    
    .story-hero-content p {
        font-size: 1rem;
    }
    
    .hero-years {
        font-size: 1.2rem;
        gap: 10px;
    }
    
    .timeline-content h2 {
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .story-stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .headmasters-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .back-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .story-hero-content h1 {
        font-size: 1.6rem;
    }
    
    .watermark img {
        width: 80vw;
    }
    
    .timeline-content p {
        font-size: 0.9rem;
    }
    
    .vision-card, .mission-card {
        padding: 25px 20px;
    }
    
    .vision-card h3, .mission-card h3 {
        font-size: 1.2rem;
    }
}
/* ===== GALLERY PAGE STYLES ===== */

/* Page Header */
.gallery-page-header {
    background: linear-gradient(135deg, #0a2b3e, #0d3b4f);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
}

.gallery-page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.gallery-page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Category Tabs */
.gallery-tabs-section {
    padding: 40px 0 20px;
    background: linear-gradient(135deg, #e8f0ff, #d4e4fc);
}

.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.7);
    color: #0a2b3e;
}

.tab-btn:hover {
    background: #4a9fd8;
    color: white;
    transform: translateY(-3px);
}

.tab-btn.active {
    background: linear-gradient(135deg, #0a2b3e, #0d3b4f);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Gallery Grid */
.gallery-grid-section {
    padding: 60px 0;
    background: conic-gradient(from 90deg at 50% 50%, #e8f0ff, #d4e4fc, #c5d9f5, #d4e4fc, #e8f0ff);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s;
    aspect-ratio: 4 / 3;
    background: #f0f4f8;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2.5rem;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    padding: 15px;
    border-radius: 50%;
}

/* Loading Spinner */
.loading-spinner {
    text-align: center;
    padding: 50px;
    font-size: 1.2rem;
    color: #0a2b3e;
}

.loading-spinner i {
    font-size: 2rem;
    margin-right: 10px;
}

.no-images {
    text-align: center;
    padding: 50px;
    font-size: 1.2rem;
    color: #4a5b6b;
}

/* Pagination */
.gallery-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.page-btn {
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.8);
    color: #0a2b3e;
}

.page-btn:hover {
    background: #4a9fd8;
    color: white;
    transform: translateY(-2px);
}

.page-btn.active {
    background: linear-gradient(135deg, #0a2b3e, #0d3b4f);
    color: white;
}

.page-dots {
    padding: 10px 5px;
    color: #4a5b6b;
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .gallery-page-header h1 {
        font-size: 2rem;
    }
    
    .tab-btn {
        padding: 8px 20px;
        font-size: 0.85rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 15px;
    }
    
    .page-btn {
        padding: 6px 14px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .gallery-tabs {
        gap: 10px;
    }
    
    .tab-btn {
        padding: 6px 16px;
        font-size: 0.75rem;
    }
    
    .gallery-pagination {
        gap: 5px;
    }
    
    .page-btn {
        padding: 5px 12px;
        font-size: 0.7rem;
    }
}
/* Gallery Caption/Description Styles */
.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8));
    color: white;
    padding: 10px 12px;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-caption p {
    font-size: 0.8rem;
    margin: 0;
    line-height: 1.4;
}

/* Modal Description Styles */
.modal-description {
    text-align: center;
    margin: 15px auto 0;
    color: #c8e6ff;
    font-size: 1rem;
    font-weight: 500;
    max-width: 80%;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    backdrop-filter: blur(5px);
}

@media (max-width: 768px) {
    .gallery-caption p {
        font-size: 0.7rem;
    }
    
    .modal-description {
        font-size: 0.85rem;
        max-width: 90%;
    }
}
/* ===== CONTACT PAGE STYLES ===== */

/* Page Header */
.contact-page-header {
    background: linear-gradient(135deg, #0a2b3e, #0d3b4f);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
}

.contact-page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.contact-page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Contact Section */
.contact-section {
    padding: 70px 0;
    background: conic-gradient(from 90deg at 50% 50%, #e8f0ff, #d4e4fc, #c5d9f5, #d4e4fc, #e8f0ff);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

/* Contact Info Card */
.contact-info {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.contact-info:hover {
    transform: translateY(-5px);
}

.contact-info h2 {
    font-size: 1.8rem;
    color: #0a2b3e;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info h2 i {
    color: #4a9fd8;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 15px;
    border-radius: 15px;
    transition: all 0.3s;
}

.info-item:hover {
    background: rgba(74, 159, 216, 0.1);
    transform: translateX(10px);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0a2b3e, #0d3b4f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    color: white;
    font-size: 1.2rem;
}

.info-text h3 {
    font-size: 1.1rem;
    color: #0a2b3e;
    margin-bottom: 5px;
}

.info-text p {
    color: #4a5b6b;
    line-height: 1.5;
}

.info-text .sub-text {
    font-size: 0.85rem;
    color: #4a9fd8;
}

/* Social Contact */
.social-contact {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.social-contact h3 {
    font-size: 1.1rem;
    color: #0a2b3e;
    margin-bottom: 15px;
}

.social-links-contact {
    display: flex;
    gap: 15px;
}

.social-links-contact a {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #0a2b3e, #0d3b4f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.social-links-contact a:hover {
    transform: translateY(-5px) rotate(360deg);
    background: linear-gradient(135deg, #4a9fd8, #2c7ab0);
}

/* Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.contact-form:hover {
    transform: translateY(-5px);
}

.contact-form h2 {
    font-size: 1.8rem;
    color: #0a2b3e;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-form h2 i {
    color: #4a9fd8;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #0a2b3e;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0eaff;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.8);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4a9fd8;
    box-shadow: 0 0 0 3px rgba(74, 159, 216, 0.2);
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #0a2b3e, #0d3b4f);
    color: white;
    border: none;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #4a9fd8, #2c7ab0);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(74, 159, 216, 0.3);
}

/* Map Section */
.map-section {
    padding: 70px 0;
    background: linear-gradient(135deg, #e8f0ff, #d4e4fc);
}

.map-section h2 {
    text-align: center;
    font-size: 1.8rem;
    color: #0a2b3e;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    display: block;
}

/* Responsive Contact Page */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .contact-page-header h1 {
        font-size: 2rem;
    }
    
    .contact-info, .contact-form {
        padding: 25px;
    }
    
    .contact-info h2, .contact-form h2 {
        font-size: 1.4rem;
    }
    
    .info-item {
        margin-bottom: 20px;
    }
    
    .map-container iframe {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .contact-page-header h1 {
        font-size: 1.6rem;
    }
    
    .info-icon {
        width: 40px;
        height: 40px;
    }
    
    .info-text h3 {
        font-size: 1rem;
    }
    
    .info-text p {
        font-size: 0.85rem;
    }
    
    .social-links-contact a {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
    
    .submit-btn {
        padding: 12px;
        font-size: 0.9rem;
    }
}