/* GLOBAL RESETS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}
html, body {
    width: 100%;
    overflow-x: hidden;
}
/* HEADER */
header {
    width: 100%;
    background-color: #002a5c; /* Dark blue */
    padding: 12px 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.navbar {
    max-width: 1200px;
    margin: auto;
    padding: 0 16px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

section {
    padding-left: clamp(16px, 6vw, 8%);
    padding-right: clamp(16px, 6vw, 8%);
}


/* LOGO AREA */
.logo-area {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 50px;
    margin-right: 10px;
}

.school-name {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
}

/* NAV LINKS - DESKTOP */
.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links li a {
    text-decoration: none;
    color: #fff;
    font-size: 17px;
    font-weight: 500;
    transition: 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: #ffcc00; /* gold highlight */
}

/* MENU ICON (MOBILE) */
.menu-icon {
    display: none;
    font-size: 34px;
    color: white;
    cursor: pointer;
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 900px) {

    .menu-icon {
        display: block;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        background: #002a5c;
        width: 250px;
        height: 100vh;
        flex-direction: column;
        padding: 30px 20px;
        gap: 20px;
        transition: 0.4s ease;
        display: none;
    }

    .nav-links.show {
        right: 0;
    }
}

@media (max-width: 450px) {
    .school-name {
        font-size: 18px;
    }

    .logo-img {
        width: 40px;
    }
}
/* =======================
   HERO CAROUSEL
========================= */

.hero-carousel {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
    margin-top: 70px; /* because navbar is fixed */
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: none;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Black Gradient Overlay */
.carousel-slide::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(0,0,0,0.6),
        rgba(0,0,0,0.6)
    );
}

/* Text Content */
.carousel-content {
    position: absolute;
    top: 50%;
    left: 8%;                 /* Move content to the left */
    transform: translateY(-50%); 
    text-align: left;         /* Align text to the left */
    color: white;
    z-index: 10;
    max-width: 500px;         /* Keeps text nicely contained */
}

.carousel-content h1 {
    font-size: 50px;
    font-weight: 700;
}

.carousel-content p {
    font-size: 20px;
    margin: 15px 0;
}

.hero-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #ffcc00;
    color: #002a5c;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: 0.3s ease;
}

.hero-btn:hover {
    background: white;
    color: #002a5c;
}


/* Fade Animation */
.fade {
    animation: fadeEffect 3s ease-in-out;
}

@keyframes fadeEffect {
    from { opacity: 0.5; }
    to { opacity: 1; }
}

/* MOBILE */
@media (max-width: 768px) {
    .carousel-content h1 {
        font-size: 28px;
    }

    .carousel-content p {
        font-size: 16px;
    }

    .hero-btn {
        padding: 10px 25px;
        font-size: 16px;
    }
}
.welcome-image {
    position: relative;
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.welcome-image img {
    width: 100%;
    max-width: 450px;
    border-radius: 25px;
    object-fit: cover;
}

/* Principal Info Box */
.principal-box {
    position: absolute;
    bottom: 20px;             /* distance from bottom */
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 42, 92, 0.85); /* navy with transparency */
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-align: center;
    width: fit-content;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.principal-box h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.principal-box p {
    margin: 3px 0 0;
    font-size: 14px;
    opacity: 0.9;
}

/* Welcome Section */
.welcome-section {
    padding: 80px 5%;
}

.welcome-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap; /* responsive */
}

/* Left Text */
.welcome-text {
    flex: 1;
    min-width: 300px;
}

.welcome-text h2 {
    font-size: 40px;
    font-weight: 700;
    color: #002a5c;
    margin-bottom: 15px;
}

.welcome-text p {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* List */
.welcome-list {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.welcome-list li {
    font-size: 17px;
    color: #002a5c;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.welcome-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #00aaff;
    font-size: 22px;
}

/* Button */
.welcome-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #007bff;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: 0.3s ease;
}

.welcome-btn:hover {
    background: #0056b3;
}

/* Right Image */
.welcome-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.welcome-image img {
    width: 100%;
    max-width: 450px;
    border-radius: 25px;
    object-fit: cover;
}
/* Academic Section */
.academics-section {
    padding: 70px 5%;
    background: #f8f9fc;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #002a5c;
    margin-bottom: 50px;
}

/* Grid Layout */
.academics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

/* Individual Card */
.academic-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: 0.3s ease;
    border-left: 6px solid #007bff;
}

.academic-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.academic-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #002a5c;
    margin-bottom: 10px;
}

.academic-card p {
    font-size: 16px;
    line-height: 1.5;
    color: #444;
}
.features-section {
    padding: 70px 20px;
    background: #f8f8f8;
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 50px;
    color: #222;
}

/* Grid layout */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: auto;
}

/* Feature Card */
.feature-card {
    text-align: left;
}

.feature-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: auto;
}


    .feature-card img {
        height: 220px;
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card img {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card img {
        height: 160px;
    }
}
.gallery-preview {
    width: 90%;
    max-width: 1200px;
    margin: 60px auto;
    text-align: center;
}

.gallery-preview h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #002a5c;
}

.gallery-preview p {
    font-size: 17px;
    color: #333;
    margin-bottom: 40px;
}

/* Masonry Layout */
.masonry-gallery {
    column-count: 3;
    column-gap: 20px;
}

.gallery-item {
    position: relative;
    margin-bottom: 20px;
    break-inside: avoid;
}

.gallery-item img {
    width: 100%;
    border-radius: 10px;
    display: block;
}

/* Caption Style */
.caption {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.6);
    padding: 6px 12px;
    border-radius: 5px;
    color: white;
    font-size: 14px;
    font-weight: 600;
}

/* View Full Button */
.gallery-btn-container {
    margin-top: 30px;
}

.gallery-btn {
    background: #002a5c;
    color: white;
    padding: 12px 30px;
    font-size: 17px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s ease;
}

.gallery-btn:hover {
    background: #ffcc00;
    color: #002a5c;
}

/* Responsive */
@media (max-width: 992px) {
    .masonry-gallery {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .masonry-gallery {
        column-count: 1;
    }
}
.testimonials {
    padding: 60px 8%;
    background: #f9f9f9;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 40px;
}

.testimonials-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #002a5c;
}

.testimonials-header p {
    color: #333;
    font-size: 16px;
}

/* Slider Container */
.testimonial-slider-container {
    position: relative;
    width: 100%;
}


.testimonial-slider {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

/* Cards */
.testimonial-card {
    min-width: calc(33.333% - 20px);
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.testimonial-card p {
    color: #444;
    font-size: 15px;
    margin-bottom: 15px;
}

.testimonial-card h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 3px;
}

.testimonial-card span {
    color: #777;
    font-size: 14px;
}

/* Arrows */
.arrow {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: #002a5c;
    color: white;
    border: none;
    padding: 12px 18px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 18px;
    z-index: 10;
}

.left { left: -10px; }
.right { right: -10px; }

.arrow:hover {
    background: #ffcc00;
    color: black;
}

/* Responsive */
@media screen and (max-width: 900px) {
    .testimonial-card {
        min-width: calc(50% - 20px);
    }
}

@media screen and (max-width: 600px) {
    .testimonial-card {
        min-width: 100%;
    }

    .arrow {
        display: none;
    }
}
/* Footer Container */
.footer {
    background: #002a5c;
    color: white;
    padding: 60px 8% 30px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

/* Columns */
.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-about h3 {
    font-size: 22px;
    margin: 10px 0 5px;
}

.footer-about p {
    font-size: 14px;
    line-height: 1.6;
    color: #dce3ee;
}

/* Logo */
.footer-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

/* Headings */
.footer-col h4 {
    font-size: 18px;
    margin-bottom: 15px;
    position: relative;
}

.footer-col h4::after {
    content: "";
    width: 40px;
    height: 3px;
    background: #ffcc00;
    position: absolute;
    left: 0;
    bottom: -5px;
}

/* Links */
.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin: 10px 0;
}

.footer-col ul li a {
    color: #e0e7f1;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: #ffcc00;
}

/* Contact info */
.footer-info li {
    font-size: 14px;
    color: #e0e7f1;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 25px;
}

.footer-bottom p {
    font-size: 14px;
    color: #cfd7e6;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
    }

    .footer-about {
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto;
        size: 100%;
    }
}
/* Back to Top Button */
#backToTop {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #ffcc00;
    color: #002a5c;
    border: none;
    padding: 12px 16px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    display: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: 0.3s ease;
    z-index: 1000;
}

#backToTop:hover {
    background: white;
}
/* Hidden state */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 1s ease;
}

/* Visible when scrolled into view */
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
/* ================= HERO SECTION ================= */

.about-hero {
    position: relative;
    width: 100%;
    height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center; /* centers the text */
    overflow: hidden;
}

/* Dark overlay on top of the background */
.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 1;
}

/* Text content */
.about-hero-content {
    position: relative; 
    z-index: 2;  /* ensures text appears ABOVE overlay */
    text-align: center;
}

.about-hero-content h1 {
    color: #fff;
    font-size: 40px;
    font-weight: 500;
    letter-spacing: 2px;
}
/* =============== ABOUT HERO SECTION =============== */

.custom-about-hero {
    position: relative;
    width: 100%;
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Black gradient overlay */
.custom-about-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(0, 0, 0, 0.55),
        rgba(0, 0, 0, 0.7)
    );
    z-index: 1;
}

/* Text */
.custom-about-text {
    position: relative;
    z-index: 2;
}

.custom-about-text h1 {
    color: #ffffff;
    font-size: 40px;
    font-weight: 600;
    letter-spacing: 2px;
    text-align: center;
}
/* WHO WE ARE SECTION */
.who-we-are {
    width: 100%;
    padding: 70px 8%;
    background: #ffffff;
}

.who-heading {
    text-align: left;
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #002a5c;
    letter-spacing: 1px;
}

/* Layout container */
.who-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

/* Text area */
.who-text {
    flex: 1;
    min-width: 320px;
}

.who-text p {
    font-size: 18px;
    line-height: 1.7;
    color: #444;
}

/* Image area */
.who-image {
    flex: 1;
    min-width: 320px;
}

.who-image img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}
/* VISION | MISSION | CORE VALUES SECTION */
.vmc-section {
    width: 100%;
    padding: 70px 8%;
    background: #f8f9fc;
}

.vmc-heading {
    text-align: center;
    font-size: 40px;
    font-weight: 600;
    color: #002a5c;
    margin-bottom: 50px;
}

/* Card container */
.vmc-cards {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Individual card */
.vmc-card {
    background: #ffffff;
    padding: 30px;
    width: 32%;
    min-width: 280px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: 0.3s ease;
    border-top: 5px solid #002a5c;
}

/* Hover effect */
.vmc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.vmc-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #002a5c;
}

.vmc-card p {
    font-size: 17px;
    color: #444;
    line-height: 1.6;
}
/* School Section */
.school-section {
    padding: 60px 5%;
    background: #f9f9f9;
}

.school-title {
    text-align: center;
    font-size: 35px;
    font-weight: 600;
    color: #0a2a57;
    margin-bottom: 40px;
}

/* Container */
.school-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 25px;
    flex-wrap: wrap; /* FIX: prevents side scrolling */
    width: 100%;
    box-sizing: border-box;
}

/* Individual Cards */
.school-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    max-width: 350px;
    width: 100%; /* FIX: ensures card scales down */
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover Effect */
.school-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Images */
.school-card img {
    width: 100%; /* FIX: prevents overflow */
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* Text */
.school-card h3 {
    color: #0a2a57;
    font-size: 22px;
    margin-bottom: 10px;
}

.school-card p {
    color: #555;
    line-height: 1.6;
    font-size: 15px;
}

/* RESPONSIVE FIXES */
@media (max-width: 900px) {
    .school-container {
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .school-card {
        max-width: 100%; /* full width on mobile */
    }
}

.team-section {
    padding: 60px 5%;
    background: #fff;
}

.team-title {
    text-align: center;
    font-size: 32px;
    color: #0a2a57;
    font-weight: bold;
    margin-bottom: 40px;
}

/* Grid layout */
.team-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 PER ROW */
    gap: 30px;
}

/* Each card */
.team-card {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

/* Bottom overlay box */
.team-info {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 42, 87, 0.92);
    padding: 14px 20px;
    border-radius: 12px;
    width: 90%;
    text-align: center;
    color: #fff;
}

.team-info h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.team-info p {
    margin: 5px 0 0;
    font-size: 14px;
    opacity: 0.9;
}

/* Hover effect */
.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Tablet: 2 per row */
@media (max-width: 900px) {
    .team-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile: 1 per row */
@media (max-width: 480px) {
    .team-container {
        grid-template-columns: 1fr;
    }
}
/* ================= WHY CHOOSE US ================= */
.why-choose {
    padding: 80px 20px;
    background-color: #f8f9fc;
}

.why-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 50px;
}

/* LEFT TEXT */
.why-text {
    flex: 1;
}

.why-text h2 {
    font-size: 36px;
    color: #0a2d5e;
    margin-bottom: 20px;
}

.why-text p {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.why-list {
    list-style: none;
    padding: 0;
}

.why-list li {
    font-size: 16px;
    color: #333;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

/* Custom bullet */
.why-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #0a2d5e;
    font-weight: bold;
}

/* RIGHT IMAGE */
.why-image {
    flex: 1;
}

.why-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .why-container {
        flex-direction: column;
        text-align: center;
    }

    .why-list li {
        padding-left: 0;
    }

    .why-list li::before {
        display: none;
    }
}
/* ================= STATS SECTION ================= */
.stats-section {
    padding: 70px 20px;
    background: linear-gradient(135deg, #0a2d5e, #003366);
    color: #fff;
}

.stats-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

/* Each stat */
.stat-box {
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-6px);
}

.stat-box h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #ffcc00;
}

.stat-box p {
    font-size: 16px;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 900px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .stats-container {
        grid-template-columns: 1fr;
    }
}
/* ================= ADMISSION PROCESS ================= */
.admission-section {
    padding: 80px 8%;
    background: #f9fafc;
    text-align: center;
}

.section-title {
    font-size: 35px;
    font-weight: 600;
    color: #002a5c;
}

.section-subtitle {
    margin: 10px 0 20px;
    font-size: 16px;
    color: #555;
    text-align: center;
}

/* Timeline Layout */

.admission-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}


.admission-step {
    background: #ffffff;
    padding: 25px 18px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.admission-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

/* Step Number */
.step-number {
    width: 45px;
    height: 45px;
    margin: 0 auto 15px;
    background: #002a5c;
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admission-step h4 {
    font-size: 18px;
    color: #002a5c;
    margin-bottom: 10px;
}

.admission-step p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
    .admission-timeline {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .admission-timeline {
        grid-template-columns: 1fr;
    }
}
/* ================= ADMISSION BUTTON ================= */
.admission-action {
    margin-top: 50px;
    text-align: center;
}

.download-btn {
    display: inline-block;
    padding: 14px 36px;
    background: #002a5c;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: #ffcc00;
    color: #002a5c;
    transform: translateY(-3px);
}
/* ================= DOWNLOADABLE MATERIALS ================= */
.downloads-section {
    padding: 50px 8%;
    background: #f4f6f9;
    text-align: center;
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 45px;
    margin-top: 50px;
}

.download-card {
    background: #ffffff;
    padding: 30px 22px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    position: relative;
}

.download-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}

/* File Icon */
.file-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    border-radius: 10px;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-icon.pdf {
    background: #d32f2f;
}

.download-card h4 {
    font-size: 18px;
    color: #002a5c;
    margin-bottom: 10px;
}

.download-card p {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}

/* Download Button */
.download-card a {
    display: inline-block;
    padding: 10px 24px;
    background: #002a5c;
    color: #ffffff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.download-card a:hover {
    background: #ffcc00;
    color: #002a5c;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
    .downloads-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .downloads-grid {
        grid-template-columns: 1fr;
    }
}
/* ================= FAQ SECTION ================= */
.faq-section {
    padding: 80px 10%;
    background: #f9fafc;
}

.faq-container {
    max-width: 900px;
    margin: 50px auto 0;
}

.faq-item {
    background: #ffffff;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.faq-question {
    width: 100%;
    padding: 18px 22px;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: #002a5c;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question .icon {
    font-size: 22px;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 22px;
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer ul {
    margin-top: 10px;
    padding-left: 20px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 15px 22px 20px;
}

.faq-item.active .icon {
    transform: rotate(45deg);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 600px) {
    .faq-section {
        padding: 60px 6%;
    }

    .faq-question {
        font-size: 15px;
    }
}

/* Gallery Section */
.gallery-section {
    max-width: 1300px;
    margin: 100% auto ; /* space from hero */
    padding: 60px 20px;  /* inner spacing */
}


/* Filters */
.gallery-filters {
    display: flex;
    justify-content: left;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 20px;
    border-radius: 20px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: #011b38;
    color: #fff;
    border-color: #031d3b;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

/* Gallery Item */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Hover Effect */
.gallery-item:hover {
    transform: scale(1.03);
}

/* Overlay */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Hide items */
.gallery-item.hide {
    display: none;
}


/* ================= LIGHTBOX ================= */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #ffffff;
    font-size: 40px;
    cursor: pointer;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item img {
        height: 220px;
    }
}
/* Contact Section CSS */
.contact-section {
    background: #f1f5f9; /* light grey-blue */
    padding: 100px 20px 50px 20px;
}
.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding: 50px 20px 50px 20px;
    margin-top: 70px; /* offset for fixed navbar */
}


.contact-info {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.contact-info h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #0f2b71;
}

.contact-info p {
    font-size: 18px;
    margin: 10px 0;
}

.contact-map {
    flex: 1;
    min-width: 300px;
    height: 400px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.contact-info:hover, .contact-map:hover {
    transform: translateY(-5px);
    transition: 0.3s;
}


@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        align-items: center;
    }
    .contact-map {
        width: 100%;
        height: 300px;
    }
}
.btn {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 15px;
    background: #1e40af; /* match your navbar */
    color: white;
    border-radius: 5px;
    text-decoration: none;
    transition: 0.3s;
}

.btn:hover {
    background: #2563eb;
}
.Directions{
   align-items: left; 
}
.footer-social {
    margin-top: 10px;
}

.footer-social a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    transition: opacity 0.3s ease;
}

.footer-social a:hover {
    opacity: 0.8;
}

.footer-social img {
    width: 20px;
    height: 20px;
}
