/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "SF Pro Display", "Segoe UI", sans-serif;
    color: #f5f5f7;
    background: radial-gradient(circle at top, #1e1e1e, #000000 80%);
    background-attachment: fixed;
    background-size: cover;
    overflow-x: hidden;
    line-height: 1.7;
}

/* ===== Universal Event Section ===== */
.festival-section {
    padding: 40px 20px;
    text-align: center;
    background: #000;
    color: #fff;
}

.festival-heading {
    font-size: 2.4rem;
    font-weight: bold;
    color: #ffd633;
    margin-bottom: 10px;
}

.festival-desc {
    max-width: 700px;
    margin: 0 auto 25px auto;
    font-size: 1.1rem;
    color: #f0f0f0;
    line-height: 1.6;
}

/* ===== UNIVERSAL SLIDER CSS ===== */

.universal-slider {
    width: 420px;
    height: 520px;
    /* Increased for bottom arrows */
    margin: 0 auto;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
}

/* Slides box → leave space for dots + arrows */
.universal-slider .slides {
    width: 100%;
    height: calc(100% - 90px);
    /* 90px reserved for dots + arrows */
    position: relative;
}

/* IMAGES — full visible, no cut */
.universal-slider .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 0;
    transition: opacity 0.7s ease-in-out;
}

.universal-slider .slide.active {
    opacity: 1;
}

/* ====== Dots ====== */
.universal-slider .dots {
    position: absolute;
    bottom: 55px;
    /* arrows ke upar */
    width: 100%;
    text-align: center;
}

.universal-slider .dots span {
    width: 10px;
    height: 10px;
    display: inline-block;
    background: #777;
    margin: 3px;
    border-radius: 50%;
    cursor: pointer;
}

.universal-slider .dots .active-dot {
    background: #ffd633;
}

/* ====== Arrows BELOW dots ====== */
.universal-slider .arrow {
    position: absolute;
    bottom: 15px;
    /* dots ke neeche */
    padding: 8px 12px;
    font-size: 26px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    z-index: 20;
}

/* Left arrow center-left */
.universal-slider .arrow.left {
    left: 30%;
}

/* Right arrow center-right */
.universal-slider .arrow.right {
    right: 30%;
}

/* ===== MOBILE VIEW ===== */
@media (max-width: 768px) {

    .universal-slider {
        width: 95%;
        height: 430px;
    }

    .universal-slider .slides {
        height: calc(100% - 80px);
    }

    .festival-heading {
        font-size: 1.8rem;
    }

    .festival-desc {
        font-size: 1rem;
    }

    .universal-slider .arrow.left {
        left: 25%;
    }

    .universal-slider .arrow.right {
        right: 25%;
    }
}

/* ==========================================================
   ⭐ FINAL UPDATED HEADER + NAVBAR (FIXED & OPTIMIZED)
========================================================== */

/* ===== HEADER ===== */
header {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
    gap: 10px;
}

.logo img {
    height: 80px;
    width: auto;
}

/* ===== SCHOOL INFO ===== */
.school-info {
    flex: 1;
    text-align: center;
}

.school-info h1 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #ffffff;
}

.school-info p {
    font-size: 0.95rem;
    color: #aaaaaa;
    margin-top: 4px;
}

.header-link {
    color: #ddd;
    text-decoration: none;
    font-weight: 500;
}

.header-link:hover {
    color: #ffd633;
    text-decoration: underline;
}

/* ===== LOCATION ===== */
.school-location a {
    color: #ffd633;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
}

.school-location a:hover {
    color: #fff;
}

/* ==========================================================
   ⭐ NAVBAR (DESKTOP)
========================================================== */
nav {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;

    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);

    text-align: center;
}

.nav-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 12px 0;
}

.nav-links li {
    margin: 6px 8px;
}

.nav-links a {
    color: #f5f5f7;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    transition: 0.3s;
    display: inline-block;
}

.nav-links a.active,
.nav-links a:hover {
    background: #ffd633;
    color: #000;
}

.menu-toggle {
    display: none;
}

/* ============================
   ⭐ Navbar sticky for Desktop + iPad
   ============================ */
@media (min-width: 769px) {
    nav {
        position: sticky;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 9999;

        background: rgba(0, 0, 0, 0.85);
        backdrop-filter: blur(6px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }
}

/* ================================================================
   ⭐ MOBILE NAVBAR (FIXED — OPEN ON CLICK, CLOSE ON OUTSIDE)
================================================================ */
@media (max-width: 768px) {

    /* HEADER MOBILE */
    .header-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }

    .logo img {
        height: 90px;
        margin: 0 auto;
    }

    .school-info h1 {
        font-size: 1.4rem;
        line-height: 1.5rem;
    }

    .school-info p {
        font-size: 0.9rem;
        margin: 4px 0;
        line-height: 1.3rem;
    }

    .school-location {
        width: 100%;
        text-align: center;
        margin-top: -5px;
    }

    /* MENU BUTTON */
    .menu-toggle {
        display: block;
        font-size: 2.4rem;
        color: #fff;
        width: 100%;
        text-align: center;
        margin: 10px 0;
        background: #111;
        border: none;
        cursor: pointer;
        padding: 8px 0;
    }

    /* NAVBAR HIDDEN */
    nav {
        position: static !important;
        display: none;
        width: 100%;
        background: #000;
        padding: 15px 0;
        z-index: 99;
    }

    /* NAVBAR OPEN */
    nav.show {
        display: block !important;
    }

    /* ⭐ 3×3 GRID MENU — No Cut ⭐ */
    .nav-links {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
        padding: 15px 18px;
        box-sizing: border-box;
        justify-items: center;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        background: #111;
        color: #fff;
        padding: 10px 8px;
        border-radius: 12px;
        font-size: 0.9rem;
        max-width: 130px;
        width: 100%;
        transition: 0.3s;
    }

    .nav-links a.active,
    .nav-links a:hover {
        background: #FFD633;
        color: #000;
        font-weight: bold;
    }
}

/* =====================================
   HOME HERO — FINAL PERFECT VERSION
   (Based on your exact HTML)
===================================== */

/* HERO WRAPPER FIX */
.home-hero-box {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto !important;
    padding: 0 !important;

    background: #000;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);

    display: flex;
    flex-direction: column;
}

/* TEXT AREA */
.home-text {
    text-align: center;
    padding: 30px 20px !important;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;

    margin: 0 !important;
}

.home-text h2 {
    color: #FFD700;
    font-size: 2rem;
    margin-bottom: 10px;
}

.home-text .tagline {
    color: #e8e8e8;
    font-size: 1.1rem;
}

.home-text .intro-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #ccc;
}

/* IMAGE BLOCK */
.home-image {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

/* DESKTOP IMAGE */
.home-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;

    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0;
}

/* =====================================
   MOBILE FIX — ZERO GAP + FULL IMAGE
===================================== */
@media (max-width: 768px) {

    .home-img {
        width: 100%;
        height: auto !important;
        /* ⭐ Image not cut */
        object-fit: contain !important;
        /* ⭐ Full visible */

        margin: 0 !important;
        padding: 0 !important;
        background: #000;
        /* ⭐ No white/black gap */
    }

    .home-text h2 {
        font-size: 1.6rem;
    }

    .home-hero-box {
        margin-bottom: 0 !important;
        /* ⭐ No space after hero */
        padding-bottom: 0 !important;
    }
}


/* ===== WHY CHOOSE US ===== */
.why-choose-us {
    text-align: center;
    padding: 11px 20px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    width: 90%;
    max-width: 1100px;
    margin: 60px auto;
}

.why-choose-us h2 {
    color: #ffd633;
    font-size: 2rem;
    margin-bottom: 10px;
}

.section-intro {
    color: #ccc;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* ===================================================
   ⭐ FIXED SLIDER — NO IMAGE CUT IN MOBILE VIEW
=================================================== */

/* SLIDER WRAPPER */
.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

/* TRACK */
.slider {
    display: flex;
    transition: transform 0.8s ease-in-out;
}

/* SLIDE */
.slide {
    min-width: 100%;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
    border-radius: 20px;
}

/* ---------- DESKTOP IMAGE ---------- */
.slide img {
    width: 55%;
    height: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 20px 0 0 20px;
}

/* TEXT */
.slide-text {
    width: 45%;
    padding: 30px;
    text-align: left;
}

.slide-text h3 {
    color: #ffd633;
    font-size: 1.7rem;
    margin-bottom: 10px;
}

.slide-text p {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.4;
}

/* ---------- BUTTONS ---------- */
.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 214, 51, 0.3);
    color: #fff;
    border: none;
    padding: 12px 16px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10;
}

.prev:hover,
.next:hover {
    background: #ffd633;
    color: #000;
}

.prev {
    left: 15px;
}

.next {
    right: 15px;
}

/* ===================================================
   ⭐ MOBILE FIX — FULL IMAGE VISIBLE | NO CUT
=================================================== */
@media (max-width: 850px) {

    .slide {
        flex-direction: column;
    }

    .slide img {
        width: 100%;
        height: auto;
        /* ⭐ FIX */
        max-height: none;
        /* ⭐ FIX — remove limit */
        object-fit: contain;
        /* ⭐ FULL IMAGE, NO CUT */
        border-radius: 20px 20px 0 0;
        background: #000;
        /* optional padding bg */
    }

    .slide-text {
        width: 100%;
        text-align: center;
        padding: 20px 18px;
    }
}

@media (max-width: 500px) {

    .slide img {
        height: auto !important;
        /* ⭐ FORCE NO CUT */
        object-fit: contain !important;
    }

    .slide-text h3 {
        font-size: 1.4rem;
    }

    .slide-text p {
        font-size: 1rem;
    }
}

/* ===== ACADEMICS SECTION ===== */
.academics-section {
    text-align: center;
    padding: 2px 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    width: 90%;
    max-width: 1100px;
    margin: 60px auto;
}

.academics-section h2 {
    color: #ffd633;
    font-size: 2rem;
    margin-bottom: 20px;
}

.academic-card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.academic-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s;
}

.academic-card:hover {
    transform: translateY(-6px);
}

.academic-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.academic-card-content {
    padding: 20px;
}

.academic-card-content h3 {
    color: #ffd633;
    margin-bottom: 8px;
}

/* ===== Achievements ===== */
.achievements {
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05), transparent);
    text-align: center;
    padding: 80px 20px;
}

.achievements h2 {
    color: #ffd633;
    font-size: 2rem;
    margin-bottom: 15px;
}

.achievements p {
    color: #ccc;
    margin-bottom: 40px;
}

.achievements-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.achievement-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    transition: 0.3s;
}

.achievement-box:hover {
    background: rgba(255, 255, 255, 0.1);
}

.counter {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffd633;
    margin-bottom: 10px;
}

/* ================================
   ⭐ CHAIRMAN & PRINCIPAL MESSAGE
================================ */
.message-section {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    width: 90%;
    max-width: 1100px;
    margin: 50px auto;
}

.message-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

/* ——— CARD ——— */
.message-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    max-width: 450px;
    width: 100%;
    transition: transform 0.3s;
    text-align: center;
}

.message-card:hover {
    transform: translateY(-5px);
}

/* ——— PROFILE IMAGE ——— */
.message-card img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 12px;
}

/* ——— HEADINGS ——— */
.message-card h3 {
    color: #ffd633;
    font-size: 1.4rem;
    margin: 10px 0 5px;
}

.message-card h4 {
    color: #bbb;
    margin-bottom: 12px;
}

.message-card p {
    color: #ddd;
    line-height: 1.5;
}

/* ——— VISION & MISSION BOX ——— */
.vision-box,
.mission-box {
    background: rgba(255, 255, 255, 0.07);
    border-left: 4px solid #ffd633;
    border-radius: 10px;
    margin-top: 20px;
    padding: 15px;
    text-align: left;
}

/* =================================================
   ⭐ MOBILE RESPONSIVE — FULL IMAGE, NO CUT
================================================= */
@media (max-width: 768px) {

    .message-section {
        padding: 40px 15px;
        margin: 40px auto;
    }

    .message-card {
        padding: 25px;
    }

    /* ⭐ FULL IMAGE VISIBLE (NO CUT) ⭐ */
    .message-card img {
        width: 160px;
        height: 160px;

        object-fit: contain !important;
        /* Full image visible */
        background: #000;
        /* Clean look */
        padding: 10px;
        /* Adds nice spacing */
        border-radius: 50%;
    }

    .message-card h3 {
        font-size: 1.3rem;
    }

    .message-card p {
        font-size: 0.95rem;
    }
}

/* ===== Footer Section ===== */
.school-footer {
    background: #000;
    color: #ccc;
    padding: 60px 20px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

/* Columns layout */
.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
    /* space above copyright */
}

/* Column Heading */
.footer-column h4 {
    color: #ffd633;
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Column Links */
.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin: 6px 0;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}

.footer-column ul li a:hover {
    color: #ffd633;
}

.call-link {
    color: #ffd633 !important;
    /* Gold color */
    text-decoration: none;
    font-weight: 600;
}

.call-link:hover {
    color: #ffffff !important;
    /* Hover white */
}

/* Social Links */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-links a {
    color: #ccc;
    font-size: 1rem;
    text-decoration: none;
    transition: 0.3s;
}

.social-links a:hover {
    color: #ffcc00;
    transform: translateX(5px);
}

/* COPYRIGHT ALWAYS CENTER & FULL WIDTH */
.footer-bottom {
    width: 100%;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
    color: #888;
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .social-links {
        align-items: center;
    }
}

/* ===== Chairman & Principal Message Section ===== */

.message-section {
    padding: 40px 20px;
    background: #0a0a0a;
    text-align: center;
}

.message-section h2 {
    font-size: 2rem;
    color: #ffcc00;
    margin-bottom: 40px;
    font-weight: 700;
}

/* =============================
   MESSAGE CONTAINER
============================= */
.message-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

/* =============================
   MESSAGE CARD
============================= */
.message-card {
    background: #c9a027;
    border-radius: 20px;
    overflow: hidden;
    /* ⭐ Image gap fix */
    padding: 0;
    /* ⭐ Remove inside padding */
    max-width: 480px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* =============================
   IMAGE WRAPPER
============================= */
.image-wrapper {
    width: 100%;
    height: 550px;
    overflow: hidden;
    border-radius: 0 !important;
    /* ⭐ No rounded shape */
}


/* =============================
   IMAGE (Perfect Cover, No Black)
============================= */
.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0 !important;
    /* ⭐ Remove circle completely */
    display: block;
}


/* =============================
   MESSAGE CONTENT
============================= */
.message-content {
    padding: 25px;
    text-align: center;
}

.message-content h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: #000;
    font-weight: 700;
}

.message-content h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #fff;
}

.message-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #000;
}

/* =============================
   VISION / MISSION BOX
============================= */
.vision-box,
.mission-box {
    background: #fff7e6;
    border-left: 5px solid #ff6f3c;
    padding: 15px;
    border-radius: 12px;
    margin-top: 20px;
    text-align: left;
}

.vision-box h4,
.mission-box h4 {
    color: #d94e41;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

/* =============================
   RESPONSIVE FIX
============================= */
@media (max-width: 768px) {
    .image-wrapper {
        height: 320px;
        /* ⭐ Mobile compatible height */
    }

    .message-card {
        max-width: 90%;
    }
}

.achievements {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('images/background-image.png') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 20px 20px;
    font-family: 'Poppins', sans-serif;
}

.achievements h2 {
    font-size: 38px;
    margin-bottom: 10px;
    color: #ffcc00;
    letter-spacing: 1px;
}

.achievements p {
    font-size: 18px;
    margin-bottom: 40px;
    color: #dddddd;
}

.achievements-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    justify-items: center;
}

.achievement-box {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    width: 220px;
    padding: 30px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background 0.3s ease;
}

.achievement-box:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
}

.achievement-box h3::after {
    content: "+";
    margin-left: 3px;
    font-size: 0.8em;
    font-weight: bold;
}

.counter {
    font-size: 48px;
    color: #ffcc00;
    font-weight: bold;
    margin-bottom: 10px;
}

.achievement-box p {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

/* -------- ABOUT PAGE START -------- */
/* =====================================
   ABOUT PAGE HERO — FINAL FIX
===================================== */

/* Main hero section */
.about-hero-box {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background: #000;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);

    display: flex;
    flex-direction: column;

    height: auto !important;
    /* 🔥 Zero gap fix */
    padding: 0 !important;
    margin-bottom: 0 !important;
}

/* Text area */
.about-text {
    padding: 30px 25px 20px 25px;
    text-align: center;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
}

.about-text h2 {
    color: #FFD700;
    font-size: 2rem;
    margin-bottom: 10px;
}

.about-text p {
    font-size: 1.1rem;
    margin: 0;
}

/* Desktop image */
.about-image {
    width: 100%;
    height: 450px;
    /* ⭐ Desktop height */
    background-image: url("images/about/celebration.jpg");
    /* <-- change to your actual image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* =====================================
   MOBILE VERSION — ZERO SPACE + FULL IMAGE
===================================== */
@media (max-width: 768px) {

    .about-image {
        background-size: contain !important;
        background-position: top center !important;
        background-repeat: no-repeat !important;
        background-color: #000;

        width: 100%;
        height: auto !important;

        /* ⭐ MEGA FIX — remove bottom empty black space */
        padding-bottom: 70% !important;
        margin-bottom: 0 !important;
    }

    .about-hero-box {
        height: auto !important;
        padding: 0 !important;
        margin: 0 auto !important;
    }

    .about-text h2 {
        font-size: 1.4rem;
    }

    .about-text p {
        font-size: 1rem;
    }
}

/* ---------------------------------------
   OUR JOURNEY SECTION
---------------------------------------- */
.journey-box {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
    max-width: 1200px;
    margin: 0 auto 60px auto;
}

.story-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    justify-content: center;
}

.story-image img {
    width: 100%;
    max-width: 420px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.story-text {
    flex: 1;
    text-align: left;
}

.story-text h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #ffd633;
}

.story-text p {
    color: #ddd;
    line-height: 1.6;
}

/* Mobile */
@media (max-width: 768px) {
    .story-container {
        flex-direction: column;
        text-align: center;
    }
}

/* ---------------------------------------
   VISION & MISSION
---------------------------------------- */
.vision-mission {
    padding: 60px 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
}

.vision-mission h2 {
    font-size: 2.3rem;
    margin-bottom: 40px;
    color: #ffd633;
}

.vm-container {
    display: grid;
    gap: 25px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    max-width: 1000px;
    margin: auto;
}

.vm-box {
    background: rgba(255, 255, 255, 0.06);
    padding: 25px;
    border-radius: 12px;
    color: white;
    transition: 0.3s;
}

.vm-box:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-5px);
}

/* ---------------------------------------
   INFRASTRUCTURE SECTION (FINAL FIX)
---------------------------------------- */

.infrastructure {
    padding: 60px 20px;
    text-align: center;
}

.infrastructure h2 {
    font-size: 2.3rem;
    color: #ffd633;
}

.infrastructure-card img {
    width: 100%;
    height: 220px;
    /* Same height for all images */
    object-fit: cover;
    /* Image full visible + crop evenly */
    border-radius: 10px;
}

.infrastructure p {
    max-width: 700px;
    margin: auto;
    margin-bottom: 40px;
    color: #ccc;
}

.infra-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.infra-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    overflow: hidden;
    padding-bottom: 25px;
}

/* ⭐ IMAGE WILL NEVER CUT */
.image-area {
    width: 100%;
    background: #000;
    /* black background behind image */
    padding: 15px;
}

.image-area img {
    width: 100%;
    height: auto;
    /* ⭐ auto height → no image crop */
    object-fit: contain;
    /* ⭐ full image always visible */
    border-radius: 12px;
}

/* TEXT */
.text-area {
    padding: 15px 20px 0;
    text-align: center;
}

.text-area h4 {
    margin-bottom: 10px;
    color: #ffcc00;
    font-size: 1.2rem;
}

.text-area p {
    color: #fff;
    font-size: 1rem;
    line-height: 1.5;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {

    .image-area {
        padding: 10px;
    }

    .text-area p {
        font-size: 0.95rem;
    }
}


/* ---------------------------------------
   PRINCIPAL MESSAGE
---------------------------------------- */
.principal-message {
    padding: 60px 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
}

.pm-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    max-width: 1100px;
    margin: auto;
}

.pm-image img {
    width: 280px;
    border-radius: 12px;
}

.pm-text {
    max-width: 500px;
    text-align: left;
    color: #fff;
}

.pm-text h2 {
    color: #ffcc00;
    margin-bottom: 10px;
}

/* Mobile */
@media (max-width: 768px) {
    .pm-container {
        flex-direction: column;
        text-align: center;
    }

    .pm-text {
        text-align: center;
    }

    .pm-image img {
        width: 220px;
    }
}

/* ---------------------------------------
   SCHOOL VALUES
---------------------------------------- */
.school-values {
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.08);
    text-align: center;
}

.school-values h2 {
    font-size: 2.3rem;
    color: #ffd633;
}

.values-grid {
    display: grid;
    gap: 25px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    max-width: 1000px;
    margin: 30px auto 0;
}

.value-card {
    padding: 25px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: white;
    transition: 0.3s;
}

.value-card:hover {
    transform: translateY(-8px);
}

/* ---------------------------------------
   TIMELINE
---------------------------------------- */
.timeline {
    padding: 60px 20px;
    text-align: center;
}

.timeline h2 {
    color: #ffd633;
    font-size: 2.3rem;
}

.timeline-container {
    margin-top: 40px;
    max-width: 800px;
    margin-inline: auto;
    border-left: 3px solid #ffcc00;
    padding-left: 20px;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    color: white;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -9px;
    top: 8px;
    width: 15px;
    height: 15px;
    background: #ffcc00;
    border-radius: 50%;
}

.year {
    color: #ffd633;
    font-weight: bold;
    margin-bottom: 5px;
}

/* MOBILE */
@media (max-width: 768px) {
    .timeline-container {
        border-left: none;
        padding-left: 0;
    }
}

/* =====================================
   🌟 ACADEMICS PAGE STYLE (RESPONSIVE)
===================================== */

/* ===== COMMON STYLING ===== */
.academics-hero,
.curriculum-section,
.teaching-approach,
.academic-life,
.assessment-system,
.co-scholastic,
.subjects-section {
    background: radial-gradient(circle at top, #1e1e1e, #000000 80%);
    color: #f5f5f7;
    padding: 60px 20px;
    text-align: center;
    margin: 0;
}

/* =====================================
   PERFECT HERO (ZERO-GAP + RESPONSIVE)
===================================== */

/* WRAPPER */
.hero-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
}

/* MAIN BOX */
.hero-box {
    width: 90%;
    max-width: 1200px;
    border-radius: 25px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);

    display: flex;
    flex-direction: column;

    /* ❗ NO GAP BELOW IMAGE */
    height: auto;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* TOP HEADING AREA */
.hero-text {
    padding: 25px 25px 20px 25px;
    text-align: center;
    background: rgba(0, 0, 0, 0.65);
}

.hero-text h2 {
    color: #FFD700;
    font-size: 2rem;
    margin-bottom: 10px;
}

.hero-text p {
    font-size: 1.1rem;
    margin: 0;
}

/* IMAGE BOX */
.hero-image {
    width: 100%;
    background-image: url("images/gallery/Main-1.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    /* ❗ DESKTOP HEIGHT */
    height: 450px;
    margin: 0;
    padding: 0;
}

/* =====================================
   MOBILE FIX — NO CUT, NO BLACK SPACE
===================================== */
@media (max-width: 768px) {

    .hero-image {
        background-size: contain !important;
        background-position: top center !important;
        background-repeat: no-repeat !important;
        background-color: #000;

        /* ⭐ TRUE FIX → maintain aspect ratio, NO EMPTY GAP */
        width: 100%;
        height: auto !important;
        padding-bottom: 70% !important;
        /* Adjust ratio if needed */
        margin-bottom: 0 !important;
    }

    .hero-box {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
        height: auto !important;
    }

    .hero-text h2 {
        font-size: 1.4rem;
    }

    .hero-text p {
        font-size: 1rem;
    }
}


/* =====================================
   🟡 CURRICULUM 3D SLIDER
/* ===== CURRICULUM SECTION ===== */
.curriculum-section {
    position: relative;
    color: #fff;
    text-align: center;
    padding: 100px 8%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8)),
        url("images/Choose/clss.JPG") center/cover no-repeat fixed;
    overflow: hidden;
}

.curriculum-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.curriculum-section h2,
.curriculum-section p,
.curriculum-boxes {
    position: relative;
    z-index: 2;
}

.curriculum-section h2 {
    color: #FFD700;
    font-size: 2rem;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.section-intro {
    color: #eee;
    font-size: 1rem;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.6);
}

/* ===== 3 BOX GRID ===== */
.curriculum-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-items: center;
}

.curriculum-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px 25px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 400px;
}

.curriculum-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
}

.curriculum-card h3 {
    color: #FFD700;
    font-size: 1.4rem;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.curriculum-card p {
    font-size: 1rem;
    color: #f0f0f0;
    line-height: 1.6;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .curriculum-section {
        padding: 80px 6%;
    }

    .curriculum-card {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .curriculum-card {
        padding: 25px;
        text-align: center;
    }

    .curriculum-card h3 {
        font-size: 1.2rem;
    }

    .curriculum-card p {
        font-size: 0.95rem;
    }
}

/* =====================================
   🟡 TEACHING APPROACH
===================================== */
.approach-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.approach-item {
    flex: 1 1 280px;
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 12px;
    transition: 0.3s;
}

.approach-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.approach-item h4 {
    color: #FFD700;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .approach-item {
        padding: 20px;
    }
}

/* =====================================
   🟡 ACADEMIC LIFE
===================================== */
.academic-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    padding: 60px 8%;
    margin: 0 auto;
}

.academic-image {
    flex: 1 1 55%;
    display: flex;
    justify-content: center;
}

.academic-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

.academic-text {
    flex: 1 1 40%;
    color: #f0f0f0;
    max-width: 600px;
}

.academic-text ul {
    list-style: none;
    margin-top: 15px;
    padding-left: 0;
}

.academic-text ul li {
    margin-bottom: 8px;
    color: #ccc;
}

@media (max-width: 1200px) {
    .academic-container {
        gap: 30px;
    }

    .academic-image img {
        max-width: 500px;
    }
}

@media (max-width: 992px) {
    .academic-container {
        flex-direction: column;
        text-align: center;
    }

    .academic-text {
        text-align: center;
        max-width: 700px;
    }

    .academic-image img {
        max-width: 100%;
    }
}

@media (max-width: 768px) {

    .academic-image,
    .academic-text {
        flex: 1 1 100%;
    }

    .academic-text ul {
        text-align: left;
        padding-left: 20px;
    }
}

/* =====================================
   🟡 CO-SCHOLASTIC SECTION
===================================== */
.co-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    justify-items: center;
}

.co-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
    width: 100%;
    max-width: 320px;
}

.co-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.co-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.co-card h4 {
    color: #FFD700;
    margin: 15px 0 8px;
}

.co-card p {
    color: #ccc;
    padding: 0 15px 15px;
}

@media (max-width: 768px) {
    .co-card img {
        height: 180px;
    }
}

/* =====================================
   🟡 SUBJECTS SECTION
===================================== */
.subjects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    justify-items: center;
}

.subject-card {
    background: rgba(255, 255, 255, 0.07);
    padding: 15px 25px;
    border-radius: 20px;
    color: #fff;
    transition: 0.3s;
    text-align: center;
    width: 100%;
    max-width: 260px;
}

.subject-card:hover {
    background: rgba(255, 214, 51, 0.2);
    color: #FFD700;
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .subject-card {
        width: 90%;
    }
}

/* =====================================
   ✅ UNIVERSAL SPACING FIX
===================================== */
section+section {
    padding-top: 40px;
    padding-bottom: 40px;
}

@media (max-width: 768px) {
    section {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

/* FACILITIES HERO */
.facilities-hero-new {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 60px 5%;
    background: #000;
    border-radius: 20px;
}

.facilities-left-image {
    flex: 1;
    max-width: 550px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
}

.facilities-left-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.facilities-right-text {
    flex: 1;
    max-width: 550px;
    color: #fff;
    text-align: center;
    padding: 10px;
}

.facilities-right-text h2 {
    font-size: 2.4rem;
    color: #ffdd33;
    margin-bottom: 15px;
}

.facilities-right-text .tagline {
    font-size: 1.15rem;
    color: #e6e6e6;
    line-height: 1.6;
    margin-bottom: 18px;
}

.facilities-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.facilities-list li {
    font-size: 1.05rem;
    color: #fff;
    margin: 8px 0;
    line-height: 1.6;
    text-align: left;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .facilities-hero-new {
        gap: 25px;
        padding: 45px 4%;
    }

    .facilities-right-text h2 {
        font-size: 2.1rem;
    }
}

@media (max-width: 600px) {
    .facilities-hero-new {
        flex-direction: column;
        text-align: center;
        padding: 30px 3%;
    }

    .facilities-left-image {
        max-width: 100%;
        border-radius: 12px;
    }

    .facilities-right-text h2 {
        font-size: 1.9rem;
    }

    .facilities-right-text .tagline {
        font-size: 1rem;
    }

    .facilities-list li {
        font-size: 0.95rem;
        text-align: center;
        padding-left: 0;
    }
}

/* CAMPUS & SAFETY */
/* ============================================
   CAMPUS & SAFETY SECTION
============================================ */
.facilities-section {
    padding: 80px 20px;
    text-align: center;
    max-width: 1300px;
    margin: auto;
}

.facilities-section h2 {
    font-size: 2.4rem;
    margin-bottom: 40px;
    color: #00ffc3;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ===== GRID ===== */
.facility-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* ===== CARD ===== */
.facility-card {
    background: #101417;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 255, 195, 0.08);
    padding: 20px;
    transition: 0.3s ease;
    overflow: hidden;
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(0, 255, 195, 0.22);
}

.facility-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    /* no crop */
    background: #000;
    border-radius: 10px;
    margin-bottom: 15px;
    padding: 8px;
}


/* ===== TEXT ===== */
.facility-card h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: #00ffc3;
}

.facility-card p {
    font-size: 0.95rem;
    color: #d6d6d6;
    line-height: 1.5;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 1024px) {
    .facility-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .facility-grid {
        grid-template-columns: 1fr;
    }

    .facility-card img {
        height: 200px;
        /* mobile height for perfect visibility */
    }
}


/* EVENTS PAGE – CLEAN & RESPONSIVE */
.events-hero-new {
    width: 100%;
    background: #000;
    padding: 30px 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.events-image-box-new {
    width: 90%;
    max-width: 1100px;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
}

.events-hero-image-new {
    width: 100%;
    height: 380px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.events-hero-text-new {
    margin-top: 22px;
    width: 90%;
    max-width: 850px;
}

.events-hero-text-new h2 {
    color: #ffd633;
    font-size: 2rem;
    margin-bottom: 10px;
}

.events-hero-text-new p {
    color: #ddd;
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .events-hero-image-new {
        height: 380px;
    }

    .events-hero-text-new h2 {
        font-size: 1.7rem;
    }
}

@media (max-width: 600px) {
    .events-image-box-new {
        width: 95%;
        border-radius: 14px;
    }

    .events-hero-image-new {
        height: 220px;
        border-radius: 14px;
    }

    .events-hero-text-new {
        width: 95%;
        margin-top: 15px;
    }

    .events-hero-text-new h2 {
        font-size: 1.4rem;
    }

    .events-hero-text-new p {
        font-size: 0.9rem;
    }
}

/* ==========================================
   BASE SECTIONS
========================================== */

.events-section {
    padding: 80px 20px;
    color: #fff;
    text-align: center;
    backdrop-filter: blur(6px);
    background: rgba(255, 255, 255, 0.03);
}

.events-section h2 {
    font-size: 2.3rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    color: #ffda44;
}

.section-intro {
    font-size: 1.1rem;
    color: #ddd;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .events-section {
        padding: 60px 15px;
    }

    .section-intro {
        font-size: 1rem;
    }
}

/* ==========================================
   GRID SECTIONS
========================================== */

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.event-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    overflow: hidden;
    transition: 0.4s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.event-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.event-card img {
    width: 100%;
    height: 240px;
    object-fit: contain;
    display: block;
    background: #000;
    padding: 8px;
}

.event-info {
    padding: 25px;
    text-align: left;
}

.event-info h3 {
    font-size: 1.3rem;
    color: #ffdd33;
    margin-bottom: 10px;
}

.event-info p {
    font-size: 1rem;
    color: #f0f0f0;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .event-info h3 {
        font-size: 1.1rem;
    }

    .event-info p {
        font-size: 0.95rem;
    }
}

@media (max-width: 600px) {
    .event-card img {
        height: 200px;
    }
}

/* ==========================================
   SLIDER
========================================== */

.slider-container {
    overflow: hidden;
    width: 100%;
    margin-top: 30px;
}

.slider-track {
    display: flex;
    animation: scroll 30s linear infinite;
}

.slider-item {
    min-width: 300px;
    margin-right: 25px;
    border-radius: 15px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.slider-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 600px) {
    .slider-item {
        min-width: 250px;
    }

    .slider-item img {
        height: 160px;
    }
}

/* ============================================
   HERO SPLIT BANNER (TEXT LEFT + IMAGE RIGHT)
============================================ */
/* ==========================================
   GALLERY HERO SECTION — FINAL VERSION
========================================== */

.hero-split-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 8%;
    gap: 40px;
    background: #000;
    color: #fff;
    border-radius: 20px;
    overflow: hidden;
}

/* LEFT TEXT */
.hero-left {
    flex: 1;
}

.hero-split-banner h2 {
    font-size: 2.6rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: #FFD700;
}

.hero-split-banner .tagline {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #e8e8e8;
}

.hero-split-banner .subtext {
    font-size: 1.05rem;
    line-height: 1.5;
    color: #ccc;
    margin-bottom: 20px;
    max-width: 90%;
}

/* Button */
.hero-btn {
    display: inline-block;
    padding: 12px 25px;
    background: #ffda44;
    color: #000;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s ease;
}

.hero-btn:hover {
    background: #ffe26a;
    transform: translateY(-3px);
}

/* RIGHT IMAGE */
.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    display: block;
}

/* ==========================================
   MOBILE RESPONSIVE FIX — PERFECT VERSION
========================================== */
@media (max-width: 768px) {

    .hero-split-banner {
        flex-direction: column-reverse;
        text-align: center;
        padding: 20px 5%;
        gap: 20px;
    }

    .hero-left,
    .hero-right {
        width: 100%;
        flex: none;
    }

    /* Mobile image fix — zero empty space */
    .hero-img {
        width: 100%;
        height: auto;
        object-fit: contain !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block;
    }

    .hero-split-banner h2 {
        font-size: 2rem;
    }

    .hero-split-banner .subtext {
        max-width: 100%;
    }
}



/* ================================
   GALLERY SECTION
================================ */
.gallery-section {
    padding: 80px 20px;
    text-align: center;
    color: #fff;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(6px);
}

.gallery-section h2 {
    font-size: 2.2rem;
    color: #ffda44;
    margin-bottom: 40px;
    text-transform: uppercase;
}


/* ================================
   GRID FIX — NO IMAGE CUTTING
================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    justify-content: center;
}

/* Make figure uniform like a card */
.gallery-grid figure {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 10px;
    backdrop-filter: blur(4px);
    transition: 0.3s ease;
}

.gallery-grid figure:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
}

/* IMAGE — no cropping issue */
.gallery-grid img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    /* ⭐ FIX: No image cut */
    border-radius: 12px;
    transition: 0.4s ease;
    cursor: pointer;
    filter: brightness(90%);
    background: #000;
    /* for transparency images */
}

.gallery-grid img:hover {
    transform: scale(1.05);
    filter: brightness(100%);
}

/* CAPTION */
figcaption {
    margin-top: 10px;
    color: #ffeb99;
    font-size: 1rem;
    font-weight: 500;
}



/* ================================
   RESPONSIVE FIX
================================ */
@media (max-width: 768px) {

    .gallery-hero h2 {
        font-size: 1.8rem;
    }

    .gallery-hero p {
        font-size: 1rem;
    }

    .gallery-section {
        padding: 60px 15px;
    }

    .gallery-grid img {
        height: 180px;
    }

    figcaption {
        font-size: 0.9rem;
    }
}

/* -------------------------------------------
   ADMISSION PAGE – FINAL COMPLETE CSS
-------------------------------------------- */

/* ===== ADMISSION SECTION (Image Left + Text Right) ===== */
.admission-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 5%;
    gap: 50px;
    background: radial-gradient(circle at top, #1e1e1e, #000000 85%);
    color: white;
    border-radius: 20px;
}

/* Left Image */
.admission-left {
    flex: 0 0 60%;
    max-width: 60%;
}

.admission-left img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 18px;
    background: #000;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.05);
}

/* Right Text */
.admission-right {
    flex: 0 0 40%;
    max-width: 40%;
    text-align: left;
}

.admission-right h2 {
    color: #ffde59;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.admission-right p {
    color: #e6e6e6;
    font-size: 1.2rem;
    line-height: 1.7;
}


/* ===== ADMISSION PROCESS ===== */
.admission-process {
    text-align: center;
    padding: 80px 20px;
    background: radial-gradient(circle at top, #1e1e1e, #000000 85%);
    color: white;
}


.admission-process h2 {
    font-size: 2.2rem;
    color: #f2efef;
    margin-bottom: 25px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 35px;
}

.process-step {
    background: #ffffff;
    padding: 35px;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
}

.process-step:hover {
    background: #ffe8e8;
    transform: translateY(-6px);
}

.process-step span {
    font-size: 2.2rem;
    color: #e7e7e7;
}

.process-step h3 {
    font-size: 1.3rem;
    color: #222;
    margin: 15px 0 12px;
}

.process-step p {
    color: #555;
    line-height: 1.6;
}


/* ===== REQUIRED DOCUMENTS ===== */
.required-docs {
    text-align: center;
    padding: 80px 20px;
    background: radial-gradient(circle at top, #1e1e1e, #000000 85%);
    color: white;
}


.required-docs h2 {
    font-size: 2.2rem;
    color: #e4e3e3;
    margin-bottom: 25px;
}

.required-docs ul {
    background: #fff;
    padding: 35px 45px;
    border-radius: 14px;
    display: inline-block;
    text-align: left;
    list-style: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.required-docs li {
    margin: 12px 0;
    font-size: 1.1rem;
    color: #444;
    display: flex;
    align-items: center;
    gap: 10px;
}


/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 900px) {
    .admission-section {
        flex-direction: column;
        text-align: center;
        padding: 50px 20px;
    }

    .admission-left,
    .admission-right {
        max-width: 100%;
    }

    .admission-right h2 {
        font-size: 2.2rem;
    }
}


/* ===== FEES HERO (LEFT TEXT + RIGHT IMAGE) ===== */
.fees-hero {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 20px;
    backdrop-filter: blur(6px);
}

/* LEFT SIDE TEXT */
.fees-left {
    flex: 1;
    color: #fff;
    text-align: left;
}

.fees-left h2 {
    font-size: 2.5rem;
    color: #ffcc00;
    margin-bottom: 15px;
}

.fees-left p {
    font-size: 1.1rem;
    color: #ddd;
    margin-bottom: 20px;
    max-width: 550px;
}

/* Button */
.fee-btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: #2c7a7b;
    color: #fff;
    font-size: 18px;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s;
}

.fee-btn:hover {
    background-color: #225e5f;
}

/* RIGHT IMAGE */
.fees-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.fees-right img {
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: 20px;
    object-fit: contain;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .fees-hero {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .fees-left {
        text-align: center;
    }

    .fees-left h2 {
        font-size: 1.9rem;
    }

    .fees-left p {
        font-size: 1rem;
        margin: 10px auto 20px;
    }

    .fees-right img {
        max-width: 350px;
        margin-top: 20px;
    }
}

/* ===== PAYMENT MODES ===== */
.payment-modes {
    background: rgba(255, 255, 255, 0.08);
    /* same glassy background */
    backdrop-filter: blur(6px);
    padding: 60px 20px;
    text-align: center;
    color: #fff;
}

.payment-modes h2 {
    color: #ffcc00;
    margin-bottom: 40px;
    font-size: 1.9rem;
}

.modes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.mode-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 25px 20px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    color: #fff;
}

.mode-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.4);
}

.mode-card h3 {
    color: #ffcc00;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.mode-card p {
    color: #f1f1f1;
    font-size: 1rem;
    line-height: 1.5;
}

/* ===== IMPORTANT NOTES ===== */
.fee-note {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
    color: #fff;
    text-align: center;
    padding: 60px 20px;
}

.fee-note h2 {
    color: #ffcc00;
    font-size: 2rem;
    margin-bottom: 25px;
}

.fee-note ul {
    list-style: none;
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
    padding: 0;
}

.fee-note li {
    background: rgba(255, 255, 255, 0.08);
    margin: 10px 0;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 1rem;
    line-height: 1.5;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {

    .fee-structure-section h2,
    .payment-modes h2,
    .fee-note h2 {
        font-size: 1.5rem;
    }

    .fee-table th,
    .fee-table td {
        font-size: 0.9rem;
        padding: 10px;
    }

    .mode-card {
        padding: 20px;
    }

    .mode-card h3 {
        font-size: 1.1rem;
    }
}

/* ===== SPORTS PAGE STYLING ===== */
.sports-hero {
    background: url("images/sports/Mian.png") center/cover no-repeat;
    position: relative;
    color: #fff;
    text-align: center;
    padding: 120px 20px;
}

.sports-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.sports-hero .hero-overlay {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: auto;
}

.sports-hero h2 {
    font-size: 2.8rem;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.sports-hero p {
    font-size: 1.1rem;
    color: #f0f0f0;
}

/* ================================
   SPORTS 3D SLIDER SECTION
================================= */

.threeD-slider {
    background: #000;
    text-align: center;
    padding: 80px 8% 100px;
    perspective: 900px;
}

/* Highlighted Box */
.portfolio-box {
    border: 2px solid #00bfff;
    border-radius: 15px;
    padding: 50px 20px;
    max-width: 1100px;
    margin: 0 auto;
    box-shadow: 0 0 25px rgba(0, 191, 255, 0.4);
    background: rgba(10, 10, 10, 0.7);
}

.portfolio-box h2 {
    color: #ffd633;
    font-size: 2rem;
    margin-bottom: 10px;
    text-shadow: 0 0 10px #ffeb3b;
}

.portfolio-box p {
    color: #ccc;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* 3D Slider Carousel */
.slider3d {
    position: relative;
    width: 230px;
    height: 260px;
    margin: 34px auto;
    transform-style: preserve-3d;
    animation: rotate3D 20s linear infinite;
}

.slide3d {
    position: absolute;
    width: 100%;
    height: 100%;
    transform: rotateY(calc(var(--i) * 72deg)) translateZ(280px);
}

.slide3d img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.5);
    border: 1px solid #00bfff;
}

.slide3d h3 {
    margin-top: 10px;
    font-size: 1rem;
    color: #00bfff;
}

/* Animation */
@keyframes rotate3D {
    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(360deg);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .slider3d {
        width: 200px;
        height: 220px;
    }
}

@media (max-width: 768px) {
    .slider3d {
        width: 180px;
        height: 200px;
        transform: scale(0.95);
    }

    .slide3d {
        transform: rotateY(calc(var(--i) * 72deg)) translateZ(240px);
    }

    .portfolio-box h2 {
        font-size: 1.6rem;
    }

    .portfolio-box p {
        font-size: 0.9rem;
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .slider3d {
        width: 150px;
        height: 170px;
    }

    .slide3d {
        transform: rotateY(calc(var(--i) * 72deg)) translateZ(200px);
    }

    .portfolio-box h2 {
        font-size: 1.4rem;
    }

    .portfolio-box p {
        font-size: 0.85rem;
        padding: 0 8px;
    }
}

/* ===== GLASS EFFECT SECTIONS ===== */
.glass-section {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    padding: 50px 20px;
    margin: 40px auto;
    max-width: 1100px;
    color: #fff;
    text-align: center;
}

.glass-section h2 {
    font-size: 2.2rem;
    color: #ffcc00;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.glass-section p {
    font-size: 1.1rem;
    color: #e5e5e5;
    line-height: 1.7;
}

/* ===== SPORTS GRID ===== */
.sports-section {
    text-align: center;
}

.sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.sport-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sport-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.sport-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    filter: brightness(0.9);
}

.sport-card h3 {
    font-size: 1.4rem;
    color: #ffcc00;
    margin: 15px 0 10px;
}

.sport-card p {
    padding: 0 15px 20px;
    color: #e6e6e6;
    font-size: 0.95rem;
}

/* ===== SPORTS INFRASTRUCTURE ===== */
.sports-infra {
    text-align: center;
    margin-top: 50px;
}

.infra-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.infra-card {
    background: rgba(255, 255, 255, 0.07);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.08);
    transition: 0.3s ease;
}

.infra-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
}

.infra-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 12px;
}

.infra-card h3 {
    color: #ffd633;
    margin-bottom: 10px;
}

/* ⭐ FINAL INFRASTRUCTURE IMAGE FIX — All 3 images full visible, same size */
.infra-card .image-area img {
    width: 100%;
    height: 260px;
    /* SAME HEIGHT FOR ALL IMAGES */
    object-fit: contain;
    /* ⭐ NO CROP — IMAGE 100% FULL VISIBLE */
    background: #000;
    padding: 10px;
    /* Neat spacing */
    border-radius: 12px;
}

/* ===== TRAINING SECTION ===== */
.training-section {
    text-align: center;
    margin: 60px auto;
}

.training-section h2 {
    font-size: 2.4rem;
    color: #ffd633;
    margin-bottom: 10px;
}

.training-section p {
    color: #ddd;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* ===== TRAINING SECTION ===== */
.training-section {
    text-align: center;
}

/* MAIN CARD */
.training-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 20px;
    margin: 25px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

/* IMAGE BOX */
.train-img {
    flex: 1 1 50%;
    height: 260px;
    overflow: hidden;
    border-radius: 15px;
}

.train-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 🔥 Image always full visible & cover */
    object-position: center;
}

/* TEXT BOX */
.train-text {
    flex: 1 1 50%;
    text-align: center;
    /* 🔥 Full center align */
    padding: 15px;
}

.train-text h3 {
    color: #ffd633;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.train-text p {
    color: #eee;
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 90%;
    margin: 0 auto;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {

    .training-card {
        flex-direction: column;
        /* 🔥 Image upar, text neeche */
        padding: 20px;
        gap: 15px;
    }

    .train-img {
        width: 100%;
        height: 220px;
    }

    .train-text h3 {
        font-size: 1.5rem;
    }

    .train-text p {
        font-size: 1rem;
        max-width: 100%;
    }
}

/* ============================
   SPORTS HERO (Left Image + Right Text)
============================ */
.sports-hero-new {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 60px 5%;
    background: #000;
    border-radius: 20px;
    flex-wrap: wrap;
}

/* LEFT IMAGE */
.sports-left-image {
    flex: 1;
    max-width: 550px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
}

.sports-left-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* RIGHT TEXT */
.sports-right-text {
    flex: 1;
    max-width: 550px;
    color: #fff;
    padding: 20px 10px;
}

.sports-right-text h2 {
    font-size: 2.4rem;
    color: #ffdd33;
    margin-bottom: 15px;
    text-align: center;
}

.sports-tagline {
    font-size: 1.2rem;
    color: #eaeaea;
    margin-bottom: 20px;
    text-align: center;
}

.sports-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sports-list li {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 12px;
    font-size: 1.05rem;
    color: #ffffff;
    line-height: 1.5;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}

/* ============================
   RESPONSIVE 
============================ */

/* Tablet */
@media (max-width: 992px) {
    .sports-hero-new {
        padding: 40px 3%;
        gap: 30px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .sports-hero-new {
        flex-direction: column;
        padding: 30px 3%;
        text-align: center;
    }

    .sports-left-image {
        max-width: 100%;
        border-radius: 12px;
    }

    .sports-right-text h2 {
        font-size: 1.9rem;
    }

    .sports-tagline {
        font-size: 1rem;
    }

    .sports-list li {
        font-size: 1rem;
    }
}

/* Contact Page */

.contact-section {
    padding: 60px 20px;
    text-align: center;
    background: #000;
}

.section-heading {
    font-size: 2.5rem;
    color: #ffd633;
}

.section-tagline {
    color: #ccc;
    margin-bottom: 40px;
}

.contact-grid {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 35px;
}

.contact-box {
    background: #111;
    border-radius: 12px;
    padding: 30px 25px;
    border: 1px solid #333;
    transition: 0.3s;
    text-align: center;
}

.contact-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 20px rgba(255, 214, 51, 0.35);
}

.icon-circle {
    width: 70px;
    height: 70px;
    background: #ffd633;
    border-radius: 50%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(255, 214, 51, 0.6);
}

.contact-box h3 {
    color: #ffd633;
    margin-bottom: 10px;
}

.contact-box p {
    color: #ddd;
    line-height: 1.6;
    margin-bottom: 8px;
}

.note {
    display: block;
    color: #bbb;
    margin-top: 8px;
    font-size: 0.9rem;
    opacity: 0.8;
}


.call-number {
    color: #ffd633;
    font-weight: 600;
    text-decoration: none;
}

.call-number:hover {
    color: white;
    text-decoration: underline;
}

.custom-slider-section {
    text-align: center;
    padding: 40px 20px;
    background: #000;
}

.custom-heading {
    color: #ffd633;
    font-size: 2rem;
    margin-bottom: 20px;
}

.custom-slider {
    width: 400px;
    margin: auto;
    position: relative;
    overflow: hidden;
}

.custom-slides img {
    width: 100%;
    height: auto;
    display: none;
    border-radius: 15px;
}

.cs-slide.active {
    display: block;
}

/* Arrows */
.cs-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px;
    color: #fff;
    background: rgba(0, 0, 0, 0.4);
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
}

.cs-left {
    left: 10px;
}

.cs-right {
    right: 10px;
}

/* Dots */
.cs-dots {
    margin-top: 10px;
}

.cs-dots span {
    height: 10px;
    width: 10px;
    background: #777;
    display: inline-block;
    margin: 3px;
    border-radius: 50%;
    cursor: pointer;
}

.cs-dots .active-dot {
    background: #ffd633;
}