@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;700;800&display=swap');

:root {
    --primary-color: #2e2b82;
    --primary-dark: #0782c6;
    --gradient-color: linear-gradient(90deg, #00b0ff, #2e2b82);
    --gradient-color1: linear-gradient(180deg, #00b0ff, #2e2b82);
    --gradient-light: linear-gradient(90deg, #fdf2e5, #fdf2e5);
    --Secondary-color: #00b0ff;
    --light-color: #fceac2;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Syne', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Rubik', sans-serif;
}

body {
    background: linear-gradient(90deg, #fffcf7, #fffcf9);
}

p {
    font-size: 1.1rem;
    line-height: 1.7;
}

.primary-color {
    color: var(--primary-color);
}

.crystal-nav {
    max-width: 1200px !important;
    margin: 0 auto;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 15px;
    position: fixed !important;
    top: 20px !important;
    z-index: 999 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 95%;
}

/* The Brand Crystal */
.brand-crystal {
    position: relative;
    background: var(--gradient-color);
    border: 1px solid #fff;
    backdrop-filter: blur(10px);
    padding: 8px 25px;
    border-radius: 100px 0px 40px 100px;
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 15px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: 0.3s;
}

@media (max-width: 900px) {
    .brand-crystal {
        position: relative;
        background: var(--gradient-color);
        border: 1px solid #fff;
        backdrop-filter: blur(10px);
        padding: 28px 15px;
        border-radius: 100px;
        display: flex;
        align-items: center;
        gap: 15px;
        text-decoration: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        transition: 0.3s;
        width: 90%;
    }
}


.brand-crystal:hover {
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
}

.brand-crystal img {
    width: 120px;
    position: absolute;
    left: -15px;
}

.brand-text {
    padding-left: 85px;
}

@media (max-width: 1200px) {
    .brand-text h1 {
        display: none !important;
    }
}

.brand-text h1 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.6;
    text-transform: uppercase;
    margin-bottom: 0px;
    font-family: 'Syne', sans-serif;
}

.brand-text span {
    color: #a855f7;
    font-size: 0.7rem;
    letter-spacing: 3px;
    font-weight: 400;
}

/* 3D Link Shards */
.nav-shards {
    display: flex;
    list-style: none;
    gap: 11px;
    margin: 0px;
    background: var(--gradient-color);
    padding: 8px 20px 8px 10px;
    border-radius: 100px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid #fff;
}

    .nav-shards img {
        width: 45px;
        height: 45px;
        background: var(--primary-color);
        border-radius: 50%;
        padding: 8px;
    }

    .nav-shards li {
        flex-grow: 1;
    }

        .nav-shards li a {
            text-decoration: none;
            color: #fff;
            background: transparent;
            border: none;
            padding: 10px 5px;
            text-align: start;
            display: block;
            font-size: 16px;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            font-family: 'Rubik', sans-serif;
        }

            /* Refraction Glow Hover */
            .nav-shards li a:hover {
                color: #fff;
                background: var(--primary-dark);
                border-color: var(--primary-dark);
                transform: translateY(-8px) scale(1.05);
            }

/* Responsive Mobile View */
@media (max-width: 1200px) {
    .crystal-nav {
        flex-direction: column;
    }

    .nav-shards {
        flex-wrap: wrap;
        justify-content: center;
    }

        .nav-shards li a {
            padding: 15px 25px;
        }
}

.affiliation {
    position: absolute;
    top: -18px;
    right: 50px;
    color: #fff;
    font-family: 'Rubik', sans-serif;
    text-shadow: 1px 1px 5px rgb(0, 0, 0);
    font-size: 16px;
}

/* --------------------drodown */
/* Custom Crystal Dropdown */
.crystal-dropdown {
    background: #fff;
    border: none;
    border-radius: 5px;
    padding: 0 !important;
    width: 260px;
    /* Fixed Width */
    min-width: 260px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

    .crystal-dropdown .dropdown-item {
        font-size: 16px;
        padding: 8px 20px;
        color: #333;
        border-bottom: 1px solid #cfcfcf !important;
        /* font-weight: 500; */
        white-space: normal;
        border-radius: 5px;
    }

        .crystal-dropdown .dropdown-item:last-child {
            border-bottom: none;
        }

        .crystal-dropdown .dropdown-item:hover {
            background: #d6d6d6;
            color: #000;
        }

/* Remove default arrow spacing issue */
.nav-shards .dropdown-toggle::after {
    margin-left: 0px;
}

/* Desktop Hover Dropdown */
@media (min-width: 1200px) {
    .nav-shards .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }

    .nav-shards .dropdown .dropdown-menu {
        display: none;
    }
}

.nav-shards .dropdown-menu {
    transition: opacity 0.2s ease, transform 0.2s ease;
    opacity: 0;
    transform: translateY(10px);
}

@media (min-width: 1200px) {
    .nav-shards .dropdown:hover .dropdown-menu {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ===========================  OFFCANVAS  ================================== */

/* Force Circle Toggler */
button.navbar-toggler {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px;
    min-height: 48px;
    border-radius: 50% !important;
    background-color: #4da6ff !important;
    border: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    box-shadow: none !important;
    position: absolute;
    right: 25px;
    z-index: 99;
}

    /* Icon */
    button.navbar-toggler i {
        color: #ffffff !important;
        font-size: 20px;
    }

    /* Remove Bootstrap default focus ring */
    button.navbar-toggler:focus,
    button.navbar-toggler:active,
    button.navbar-toggler:hover {
        outline: none !important;
        box-shadow: none !important;
        border: none !important;
        background-color: #4da6ff !important;
    }


/* ---------close button----- */

/* Offcanvas Close Button */
button.btn-close {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background-color: #4da6ff !important; /* Light Blue */
    opacity: 1 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    box-shadow: none !important;
}

/* Remove default Bootstrap background image */
button.btn-close-white {
    filter: none !important;
}

/* Remove focus & hover effects */
button.btn-close:focus,
button.btn-close:active,
button.btn-close:hover {
    outline: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
    background-color: #4da6ff !important;
}


/* ---------close button----- */


.offcanvas {
    background: linear-gradient(90deg, #0d8bdc, #2e2b82);
}

.offcanvas-body .nav-link {
    color: var(--light-color) !important;
    padding: 10px 20px;
    transition: all 0.2s;
}

.offcanvas-body .nav-item {
    border-bottom: 1px solid #cbc49b;
}

.offcanvas-body .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0px;
}

.offcanvas-body .dropdown-item {
    color: #ffffff;
    padding: 8px 18px;
    transition: all 0.25s ease;
    /* border-radius: 20px; */
    white-space: normal;
}

    .offcanvas-body .dropdown-item:hover {
        background: #fff !important;
        color: var(--primary-color);
        border-radius: 50px;
    }



/* ===========================  HERO SECTION  ================================== */

.socil-sec {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9;
    left: -20px;
}

    .socil-sec ul li {
        list-style: none;
        color: #fff;
        width: 35px;
        height: 35px;
        display: flex;
        align-items: center;
        background: var(--Secondary-color);
        justify-content: center;
        font-size: 0.85rem;
        transition: 0.3s;
        border-radius: 20px;
        backdrop-filter: blur(10px);
        margin-top: 10px;
    }

        .socil-sec ul li:hover {
            background: var(--primary-color);
        }

            .socil-sec ul li:hover i {
                color: #fff;
            }


/* --- Pagination indicators like your Bootstrap version --- */

#hero .swiper-pagination-bullet {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.6;
    transition: all 0.3s ease;
}

#hero .swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.2);
}

/* --- Overlay same as carousel-item::before --- */
#hero .swiper-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.171), rgba(0, 0, 0, 0.171), rgba(0, 0, 0, 0.6));
    z-index: 1;
    pointer-events: none;
}

#hero .swiper-slide {
    position: relative;
}

    #hero .swiper-slide img {
        width: 100%;
        height: 100vh;
        object-fit: cover;
    }

.underline {
    width: 290px;
    height: 5px;
    background-color: var(--primary-dark);
    border-radius: 20px;
    margin: 10px auto;
}

.underline1 {
    width: 290px;
    height: 5px;
    background-color: var(--Secondary-color);
    border-radius: 20px;
    margin: 10px auto;
}


.hero-school-text {
    position: absolute;
    top: 45%;
    z-index: 999;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
}


    .hero-school-text p {
        color: #fff;
        font-size: 20px;
        text-shadow: 2px 2px 1px rgba(0, 0, 0, 0.788);
        font-family: 'Rubik', sans-serif;
    }


#heroTitle {
    font-family: 'Mokgech', sans-serif;
    color: #fff;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.911);
    font-size: 2.8rem;
    display: inline-block;
    letter-spacing: 2px;
}

/* each character */
.char {
    display: inline-block;
    opacity: 0;
    transform: translateY(-25px);
    animation: charShift 0.8s ease forwards;
}

@keyframes charShift {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========Swipper overide issue====== */
/* from Swiper */
#hero .swiper-horizontal > #hero .swiper-pagination-bullets,
#hero .swiper-pagination-bullets.swiper-pagination-horizontal {
    bottom: 10px;
    left: 0;
    width: 100%;
}

/* ensure the containing block */
#hero .mySwiper {
    position: relative;
}

    /* put bullets on the right-center, vertical stack */

    #hero .mySwiper .swiper-pagination.swiper-pagination-bullets.swiper-pagination-horizontal {
        bottom: 10px;
        left: 50%;
        width: auto;
        display: flex;
        z-index: 10;
        transform: translateX(-50%);
    }

    /* bullet look (optional) */
    #hero .mySwiper .swiper-pagination-bullet {
        width: 15px;
        height: 15px;
        border-radius: 50px;
        background: transparent;
        border: 2px solid #fff;
        opacity: 0.6;
        transition: transform .3s ease, opacity .3s ease;
    }

    #hero .mySwiper .swiper-pagination-bullet-active {
        opacity: 1;
        background: #fff;
        transform: scale(1.2);
    }


.hero-nav button {
    width: 40px;
    height: 40px;
    border: 1px solid #fff;
    background: var(--gradient-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s all ease-in-out;
    cursor: pointer;
    border-radius: 50%;
}

    .hero-nav button:hover {
        background: #fff;
        color: var(--primary-color);
        border: 1px solid var(--primary-color);
    }

.hero-nav .news-prev {
    position: absolute;
    z-index: 99;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.hero-nav .news-next {
    position: absolute;
    z-index: 99;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
}



/* =============================news section=============================== */

.newsSwiper {
    border-radius: 200px;
}

@media (max-width: 900px) {
    .newsSwiper {
        border-radius: 0px;
    }

    #news-section .event-card {
        background: #fff !important;
        color: #000 !important;
        border-radius: 10px !important;
        transition: 0.3s all;
        border: 1px solid var(--primary-dark) !important;
        /* height: 260px; */
        display: flex;
        flex-direction: column;
        margin: 5px 0px;
    }
}

.event-card .card-title {
    text-transform: uppercase;
    margin: 12px 0px;
}

.gradient {
    background: var(--gradient-color1);
}

/* Slide spacing */
#news-section .swiper-slide {
    height: auto;
}

/* Card Design */
#news-section .event-card {
    background: #fff !important;
    color: #000 !important;
    border-radius: 100px;
    transition: 0.3s all;
    border: 1px solid var(--primary-dark) !important;
    /* height: 260px; */
    display: flex;
    flex-direction: column;
    margin: 5px 0px;
}


    /* Title */
    #news-section .event-card .card-title {
        text-transform: uppercase;
        margin: 5px 0px 0px 0px;
    }

    #news-section .event-card .card-footer {
        position: absolute;
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
    }

/* Keeps footer always at bottom */
#news-section .card-body {
    flex: 1;
    padding: 8px 5px 8px 100px;
}

#news-section .card-text a {
    color: var(--primary-dark);
}

#news-section .event-card:hover .card-text a {
    color: var(--Secondary-color);
}

@media (max-width: 900px) {
    #news-section .card-body {
        flex: 1;
        padding-left: 5%;
    }

    #news-section .card-text a {
        display: none;
    }
}

/* Date Badge */
#news-section .news-date {
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    padding: 8px 12px;
    border-radius: 100px;
    z-index: 2;
    height: 100%;
    width: 84px;
    height: 84px;
}

/* Gradient */
#news-section .gradient {
    background: var(--gradient-color1);
    transition: 0.3s all ease-in-out;
}

.news-date-day {
    font-family: 'Rubik', sans-serif;
    font-size: 30px;
    font-weight: 600;
    margin: auto;
}

/* =========================
   News Navigation
========================= */
.news-nav button {
    width: 40px;
    height: 40px;
    border: 1px solid #fff;
    background: var(--gradient-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s all;
    cursor: pointer;
    border-radius: 50%;
}

    .news-nav button:hover {
        background: transparent;
        color: var(--primary-color);
        border: 1px solid var(--primary-color);
    }


/* ========================About Us Section============================ */


.aboutus-h3 {
    font-weight: 700;
    color: transparent;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.campus-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 20px;
}

/* Different Sizes */
.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item.wide {
    grid-column: span 2;
}

/* Card Styling */
.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.5s ease;
    box-shadow: 0 8px 10px rgba(0, 0, 0, .18);
}

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

    /* Hover Zoom */
    .gallery-item:hover img {
        transform: scale(1.08);
    }

/* Overlay */
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

/* Center Icon */
.icon {
    color: #fff;
    font-size: 28px;
    background: linear-gradient(90deg, #00b0ffde, #2e2b82d9);
    padding: 10px;
    border-radius: 50%;
    transition: transform 0.3s ease;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-item:hover .icon {
    transform: scale(1.2);
}

@media (max-width: 992px) {
    .campus-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 160px;
    }
}

@media (max-width: 576px) {
    .campus-gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }

    .gallery-item.wide,
    .gallery-item.tall {
        grid-column: span 1;
        grid-row: span 1;
    }
}


/* ==============================Quick Link========================== */

.quick-link {
    background: linear-gradient(90deg, #2e2b82eb, #007ae4de), url(../images/quick-link-bg.jpg) center center / cover no-repeat fixed;
    /* height: 400px; */
    display: flex;
    align-items: center;
}

    .quick-link .quick-link-sec {
        text-align: center;
    }

        .quick-link .quick-link-sec h5 {
            color: #fff;
            font-weight: 700;
            text-transform: uppercase;
            margin-bottom: 5px;
            margin-top: 20px;
        }

        .quick-link .quick-link-sec img {
            width: 100%;
            max-width: 100px;
        }

/* ==========================principal Section========================== */

.message-tab {
    background: transparent !important;
    display: flex !important;
    align-items: center !important;
    padding: 4px 9px 4px 4px !important;
    border: 1px solid var(--primary-color) !important;
}

    .message-tab span {
        color: var(--primary-color) !important;
    }

    .message-tab.active span {
        color: #fff !important;
    }

    .message-tab.active {
        background: linear-gradient(270deg, #00b0ff, #2e2b82) !important;
        display: flex !important;
        align-items: center !important;
        padding: 5px 10px 5px 5px !important;
        border: none !important;
    }

.message-img-round {
    padding: 3px;
    border: 1px solid var(--primary-dark);
    border-radius: 50%;
}


/* ==========================School Facilities========================== */

.facility-slider {
    border-radius: 20px;
}

.facility-img {
    width: 100%;
}

.facility-card {
    height: 320px;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    box-shadow: 0 8px 10px rgba(0, 0, 0, .18);
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
}


    /* Dark gradient overlay */
    .facility-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.151) 40%, rgba(0, 0, 0, 0.7) 100%);
        border-radius: 20px;
    }

    .facility-card:hover .card-overlay {
        position: absolute;
        color: #fff;
        z-index: 2;
    }

    .facility-card .card-overlay {
        position: absolute;
        bottom: 20px;
        left: 20px;
        right: 20px;
        color: #fff;
        z-index: 2;
        transition: 0.4s ease-in-out;
    }

    .facility-card h6 {
        font-weight: 700;
        margin-bottom: 6px;
        color: var(--light-color);
    }

    .facility-card p {
        font-size: 12px;
        margin: 0;
    }

    .facility-card:hover .facility-icon {
        width: 100%;
        max-width: 90px;
        /* margin: 10px; */
        opacity: 1;
        transition: 0.4s all;
    }

    .facility-card .facility-icon {
        width: 100%;
        max-width: 60px;
        margin: 10px;
        opacity: 1;
    }

/* Navigation buttons */
.facility-nav {
    display: flex;
    gap: 10px;
    margin-left: 30px;
    justify-content: start;
    align-items: center;
}

    .facility-nav button {
        border: none;
        border-radius: 50px;
        padding: 6px 14px;
        font-size: 14px;
        background: var(--gradient-color1);
        color: #fff;
    }

        .facility-nav button:hover {
            background: var(--primary-color);
            color: white;
            border-color: none;
        }

/* Navigation buttons */
.facility-nav1 {
    display: flex;
    gap: 10px;
    margin-left: 30px;
    justify-content: center;
    align-items: center;
}

    .facility-nav1 button {
        width: 45px;
        height: 45px;
        border-radius: 50%;
        border: none;
        background: var(--gradient-color1);
        color: #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 8px 16px rgba(0, 0, 0, .18);
        cursor: pointer;
        margin: 0px 5px;
        transition: 0.3s ease-in-out;
    }

        .facility-nav1 button:hover {
            background: var(--theme-secondary);
            color: #000;
        }

.facility-icons {
    max-width: 60px;
    padding: 0px 0px 15px 0px;
}

.facility-line {
    width: 100%;
    height: 5px;
    background: var(--theme-secondary);
    border-radius: 10px;
    max-width: 300px;
    margin: auto 30px;
}


.facility-text-white {
    position: absolute;
    width: 600px;
    height: 100%;
    background: #fff;
    right: 0px;
    top: 0px;
    border-radius: 0px 30px 30px 0px;
    z-index: -1;
}

.facility-text-icons {
    width: 100%;
    padding: 10px;
}


/* ==============================Quick Link========================== */

.quick-link1 {
    background: linear-gradient(90deg, #2e2b82eb, #007ae4de), url(../images/Slider-photo.jpg) center center / cover no-repeat fixed;
    /* height: 400px; */
    display: flex;
    align-items: center;
}

    .quick-link1 .quick-link-sec {
        text-align: center;
    }

/* The Animation Keyframes */
@keyframes burst {
    0% {
        transform: scale(1);
        text-shadow: 0 0 0px rgba(255, 255, 255, 0);
    }

    50% {
        transform: scale(1.15);
        /* Adjust this for a bigger/smaller burst */
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.63);
        /* Adds a subtle glow */
    }

    100% {
        transform: scale(1);
        text-shadow: 0 0 0px rgba(255, 255, 255, 0);
    }
}

/* Apply to the h1 */
.quick-link1 .quick-link-sec h1 {
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
    margin-top: 20px;
    font-size: 3rem;
    /* Animation Properties */
    display: inline-block;
    /* Required for transform/scale to work properly */
    animation: burst 3s ease-in-out infinite;
}

/* Optional: Stagger the animation so they don't all burst at the same time */
.col-md-3:nth-child(2) h1 {
    animation-delay: 0.3s;
}

.col-md-3:nth-child(3) h1 {
    animation-delay: 1s;
}

.quick-link1 .quick-link-sec h5 {
    color: var(--Secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 5px;
    margin-top: 5px;
}

.quick-link1 .quick-link-sec p {
    color: #fff;
    font-size: 18px;
}



/* ==========================Toppers Code========================== */


.toppers-card-img {
    position: relative;
    width: 200px;
    height: 200px;
    object-fit: cover;
    margin-top: 10px;
    border: 1px solid var(--theme-primary-light);
    padding: 5px;
}

.toppers-card .round-frame {
    width: 270px;
    object-fit: cover;
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
}

.toppers-card h6 {
    background: var(--gradient-color1);
    padding: 6px;
    border-radius: 40px;
    color: #fff;
    white-space: normal;
}

.toppers-card p {
    color: #c07918;
    font-weight: 600;
}

/* ==========================Achievements Album========================== */

.image-container-single {
    height: 320px;
    /* Same height as column 7 images */
    overflow: hidden;
    width: 100%;
    border-radius: 25px;
}

    .image-container-single img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* This ensures all images fill the container consistently */
    }

.underline-single-gall {
    width: 50%;
    height: 2px;
    background-color: var(--Secondary-color);
    margin: 2px auto;
    border-radius: 20px;
}

/* Gradient overlay for album name */
.gradient-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.745) 0%, rgba(0, 0, 0, 0.526) 50%, transparent 100%);
    z-index: 2;
}

    .gradient-overlay h6 {
        font-weight: 700;
    }

/* Custom pagination styling */
.single-gallery-pagination {
    position: relative;
    bottom: 0;
    text-align: center;
    margin-top: 1rem;
}

    .single-gallery-pagination .swiper-pagination-bullet {
        width: 15px;
        height: 15px;
        border-radius: 10px;
        background: transparent;
        border: 2px solid var(--primary-dark);
        opacity: 1;
        transition: transform .3s ease, opacity .3s ease;
    }

    .single-gallery-pagination .swiper-pagination-bullet-active {
        opacity: 1;
        background: var(--primary-dark);
        transform: scale(1.2);
    }



/* Ensure swiper container has proper height */
.SingleGallerySwiper {
    height: auto;
    border-radius: 20px;
}

    .SingleGallerySwiper h5 {
        color: var(--primary-color);
        /* font-weight: 700; */
    }

.gallery-title h6 {
    text-shadow: 0 1px 1px rgb(255, 255, 255);
    color: var(--Dark-color);
}

.underline-gall {
    width: 100%;
    max-width: 330px;
    height: 2px;
    background-color: var(--Secondary-color);
    border-radius: 20px;
    margin: 10px auto;
}


.achievement-button {
    width: 40px;
    height: 40px;
    border: 1px solid #fff;
    background: var(--gradient-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s all ease-in-out;
    cursor: pointer;
    border-radius: 50%;
}

    .achievement-button:hover {
        background: #fff;
        color: var(--primary-color);
        border: 1px solid var(--primary-color);
    }

.achievement-prev {
    position: absolute;
    z-index: 99;
    left: 20px;
    top: 35%;
    transform: translateY(-50%);
}

.achievement-next {
    position: absolute;
    z-index: 99;
    right: 20px;
    top: 35%;
    transform: translateY(-50%);
}


/* ==========================Gallery Album========================== */

.GallerySwiper {
    border-radius: 25px;
}

.quick-link-gal {
    background: linear-gradient(90deg, #2e2b82f5 0%, #0783c6f3 50%, #2e2b82f5 100%), url(../images/Gallery-image.jpg) center center / cover no-repeat;
    display: flex;
    align-items: center;
}

.gallery-button {
    width: 40px;
    height: 40px;
    border: 1px solid #fff;
    background: var(--gradient-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s all ease-in-out;
    cursor: pointer;
    border-radius: 50%;
}

    .gallery-button:hover {
        background: #fff;
        color: var(--primary-color);
        border: 1px solid var(--primary-color);
    }

.gallery-prev {
    position: absolute;
    z-index: 99;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.gallery-next {
    position: absolute;
    z-index: 99;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.single-gallery-img {
    object-fit: cover;
    width: 100%;
    height: 205px !important;
    border-radius: 20px;
}

.single-gallery-img-overlay {
    position: absolute;
    bottom: 0px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 30px 0px 10px 0px;
    border-radius: 0px 0px 20px 20px;
}

.image-container-single1 {
    height: 440px;
    /* Same height as column 7 images */
    overflow: hidden;
    width: 100%;
    border-radius: 25px;
}

    .image-container-single1 img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* This ensures all images fill the container consistently */
    }


/* ==============================Quick Link 3rd========================== */

.quick-link3 {
    background: linear-gradient(90deg, #2e2b82eb, #007ae4de), url(../images/Gallery-image.jpg) center center / cover no-repeat;
    /* height: 400px; */
    display: flex;
    align-items: center;
}


    .quick-link3 .quick-link-sec h5 {
        color: #fff;
        text-transform: uppercase;
        margin-bottom: 5px;
        margin-top: 20px;
    }

    .quick-link3 .quick-link-sec img {
        width: 100%;
        position: relative;
        bottom: 0px;
    }

.quick-link-sec1 img {
    width: 60px;
    margin: 10px 0px;
}

.quick-link-sec1 .quick-link-round {
    background: #00a8f6a8;
    border: 2px solid #00a8f600;
    padding: 10px 0px 25px 0px;
    border-radius: 100px;
    transition: 0.4s all ease-in-out;
}

    .quick-link-sec1 .quick-link-round:hover {
        background: var(--Secondary-color);
        border: 2px solid #fff;
        padding: 10px 0px 25px 0px;
        border-radius: 100px;
    }

    .quick-link-sec1 .quick-link-round h6 {
        color: #fff;
        margin-top: 5px;
    }

    .quick-link-sec1 .quick-link-round a {
        text-decoration: none;
    }



/* ==========================Happy Birthday========================== */

.happy-birthday {
    width: 100%;
    max-width: 280px;
    margin: 0px auto;
    display: flex;
}

.happy-birthday-gif {
    width: 100%;
    height: 100%;
    opacity: 0.3;
    position: absolute;
    z-index: -1;
    inset: 0;
}

.birthday-round-frame {
    position: absolute;
    width: 280px;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.Topper-student {
    width: 190px;
    height: 190px;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.carousel-controls .custom-prev2,
.carousel-controls .custom-next2 {
    border: 1px solid #fff;
    border-radius: 50px;
    font-size: 14px;
    background: var(--gradient-color1);
    color: #fff;
    transition: 0.3s ease;
    margin: 0px 10px;
    width: 40px;
    height: 40px;
}

    .carousel-controls .custom-prev2:hover,
    .carousel-controls .custom-next2:hover {
        background: transparent;
        color: var(--primary-color);
        border: 1px solid var(--primary-color);
    }

.Toppers-gif {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.5;
    width: 100%;
    max-width: 400px;
    top: 0;
}

.birthday-name {
    position: absolute;
    inset: 0px;
    color: #fff;
}

.birthday-class {
    position: absolute;
    bottom: -7px;
    left: 40px;
    color: #fff;
}


/* ==========================School Activity========================== */



.image-container-activity {
    height: 260px;
    /* Same height as column 7 images */
    overflow: hidden;
    width: 100%;
    border-radius: 25px;
}

    .image-container-activity img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* This ensures all images fill the container consistently */
    }

.underline-single-gall {
    width: 50%;
    height: 2px;
    background-color: var(--Secondary-color);
    margin: 2px auto;
    border-radius: 20px;
}

/* Gradient overlay for album name */
.gradient-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.745) 0%, rgba(0, 0, 0, 0.526) 50%, transparent 100%);
    z-index: 2;
}

    .gradient-overlay h6 {
        font-weight: 700;
    }



/* Ensure swiper container has proper height */
.ActivitySwiper {
    height: auto;
    border-radius: 20px;
}

    .ActivitySwiper h5 {
        color: var(--primary-color);
    }


/* ==========================Bottom Floating pof========================== */



.logo-footer {
    width: 145px;
    z-index: 20;
    border-radius: 50%;
    padding: 6px;
    overflow: hidden;
    margin: 0px auto;
}

    .logo-footer a {
        display: block;
        position: relative;
    }

    .logo-footer img {
        width: 100%;
        height: auto;
        display: block;
    }

    .logo-footer a::after {
        content: "";
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(120deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 70%);
        transform: rotate(25deg);
        animation: shine 3s infinite;
    }

@keyframes shine {
    0% {
        transform: translateX(-150%) rotate(25deg);
    }

    100% {
        transform: translateX(150%) rotate(25deg);
    }
}

/* Footer bottom */

.site-footer {
    background: linear-gradient(90deg, #2e2b82 0%, #0783c6b2 50%, #2e2b82 100%), url('../images/read-More.gif') no-repeat center center / cover;
    padding: 2% 0% 6% 0%;
    position: relative;
}

@media (max-width: 574px) {
    .site-footer {
        background: linear-gradient(90deg, #2e2b82 0%, #0782c6 100%);
        padding: 2% 0% 50% 0%;
        position: relative;
    }
}

.santhome-miraroad {
    width: 100%;
    z-index: 20;
    padding: 6px 6px 0px 6px;
    overflow: hidden;
    margin: 0px auto;
}

    .santhome-miraroad img {
        width: 100%;
        height: auto;
        display: block;
        max-width: 300px;
        margin: 0px auto;
    }

    .santhome-miraroad h4 {
        font-family: 'Syne', sans-serif;
        font-weight: 600;
    }

.footer-logo {
    width: 100%;
    max-width: 100px;
}

.site-footer h6 {
    color: var(--light-color);
}

.social-sec {
    position: absolute;
    bottom: 80px;
    left: 50%;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
    margin-left: 0rem;
    padding-left: 0rem;
}

@media (max-width: 574px) {
    .social-sec {
        bottom: 130px;
    }
}

.social-sec li {
    list-style: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: 0.3s ease;
    cursor: pointer;
}

    .social-sec li a {
        color: white;
        font-size: 18px;
        transition: 0.3s;
    }

    .social-sec li:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: translateY(-5px) scale(1.05);
    }



.btn-border-flow {
    display: inline-block;
    padding: 6px 18px;
    font-size: 18px;
    color: var(--theme-primary);
    background: #0B1E44;
    border-radius: 50px;
    text-decoration: none;
    position: relative;
    z-index: 1;
    box-shadow: 0 6px 12px rgba(18, 56, 150, 0.52);
}

    .btn-border-flow::before {
        content: "";
        position: absolute;
        inset: -2px;
        border-radius: 50px;
        background: linear-gradient(270deg, var(--primary-color), var(--primary-dark), var(--primary-dark), var(--primary-color));
        background-size: 400% 400%;
        z-index: -1;
        animation: borderMove 6s linear infinite;
    }

@keyframes borderMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}



.founder {
    width: 100%;
    z-index: 20;
    padding: 6px 6px 0px 6px;
    overflow: hidden;
    margin: 0px auto;
    max-width: 400px;
}

    .founder img {
        width: 100%;
        height: auto;
        display: block;
    }



/* ==========================Bottom Floating pof========================== */

#floating-pod {
    position: fixed;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 30px;
    display: flex;
    gap: 20px;
    z-index: 40;
    color: #fff;
}

@media (max-width: 1024px) {
    #floating-pod {
        position: fixed;
        bottom: 0px;
        left: 50%;
        transform: translateX(-50%);
        padding: 10px 20px;
        display: flex;
        gap: 10px;
        z-index: 40;
        color: #fff;
        flex-flow: column;
        width: 90%;
    }
}

.pod-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    white-space: nowrap;
    color: #fff;
    text-decoration: none;
    background: var(--gradient-color);
    padding: 10px 20px;
    border-radius: 50px;
}

    .pod-item i {
        font-size: 1.7rem;
        color: #fff;
    }

    .pod-item span {
        display: block;
        line-height: 1.1;
    }

.top-line {
    font-weight: 600;
    text-transform: uppercase;
}

.bottom-line {
    /* font-size: 1rem; */
    color: #fff;
}

.pod-divider {
    height: 38px;
    border-right: 2px solid var(--primary-dark);
}

@media (max-width: 768px) {
    .menu-link {
        margin: 0 0.5rem;
        font-size: 0.8rem;
    }

    .pod-item {
        font-size: 0.8rem;
    }

        .pod-item i {
            font-size: 1.4rem;
        }

    .pod-divider {
        height: 30px;
    }
}


/* ===========================Button Code==================== */


.learn-more1 {
    padding: 9px 26px;
    border: 1px solid #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    transition: 0.3s ease;
    border-radius: 60px;
    background: var(--gradient-color);
    color: #fff;
}

    .learn-more1:hover {
        background: transparent;
        color: var(--primary-color);
        border: 1px solid var(--primary-color);
    }

.learn-more2 {
    padding: 9px 26px;
    border: 1px solid #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    transition: 0.3s ease;
    border-radius: 100px;
    background: var(--gradient-color);
    color: #fff;
}

    .learn-more2:hover {
        background: #fff;
        color: var(--primary-color);
        border: 1px solid var(--Secondary-color);
    }


/* ============================heading Shade==================== */

.heading-shade.image-text {
    text-transform: uppercase;
    font-weight: 800;
    font-size: 35px;
    font-family: 'Rubik', sans-serif;
    margin-bottom: 2px;
    color: transparent;
    background-image: url('../images/heading-text.gif');
    /* YOUR IMAGE */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
}

.heading-shade.image-text1 {
    text-transform: uppercase;
    font-weight: 800;
    font-size: 35px;
    font-family: 'Rubik', sans-serif;
    margin-bottom: 2px;
    color: #fff;
}

.heding-under {
    font-size: 14px;
    font-weight: 100;
    width: 100%;
    max-width: 250px;
    margin: 0px auto;
    background: #fff;
    padding: 4px 0px;
    border-radius: 30px;
    border: 1px solid var(--primary-color);
}

.heding-under1 {
    font-size: 14px;
    font-weight: 100;
    width: 100%;
    color: #fff;
    max-width: 250px;
    margin: 0px auto;
    background: var(--primary-color);
    padding: 4px 0px;
    border-radius: 30px;
    border: 1px solid #fff;
}

.underline-img {
    width: 100%;
    max-width: 280px;
}



/* =========================Page Designs========================= */

.hero-banner {
    background: linear-gradient(to right, #000000b0, #000000b0), url('../images/page-head.jpg') center / cover no-repeat;
    height: 350px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0px 0px 40px 0px;
}

.banner-img-1 {
    background: linear-gradient(to right, #000000b0, #000000b0), url('../images/Slider/slider-7.jpg') center / cover no-repeat !important;
}

.banner-img-2 {
    background: linear-gradient(to right, #000000b0, #000000b0), url('../images/Slider/slider-5.jpg') center / cover no-repeat !important;
}

.banner-img-3 {
    background: linear-gradient(to right, #000000b0, #000000b0), url('../images/Slider/slider-10.jpg') center / cover no-repeat !important;
}

.banner-img-4 {
    background: linear-gradient(to right, #000000b0, #000000b0), url('../images/Slider/slider-11.jpg') center / cover no-repeat !important;
}

.banner-img-5 {
    background: linear-gradient(to right, #000000b0, #000000b0), url('../images/Slider/slider-9.jpg') center / cover no-repeat !important;
}

.about-quote {
    color: var(--primary-dark);
    font-size: 24px;
}

.hero-banner h6 {
    font-size: 14px !important;
}

.hero-banner h2 {
    color: #fff;
    text-transform: uppercase;
}

.hero-banner i {
    font-size: 14px !important;
}

.breadcrumb {
    display: inline-block !important;
    padding: 6px 16px !important;
    font-size: 14px !important;
    margin: 0 !important;
    background: rgba(255, 255, 255, 0.18) !important;
    border-radius: 30px !important;
    position: relative !important;
    z-index: 1 !important;
    text-transform: uppercase;
}

    .breadcrumb a {
        color: #fff;
        text-decoration: none;
        font-weight: 500;
        opacity: 0.85;
    }

    .breadcrumb span {
        margin: 0 8px;
        color: #fff;
        opacity: 0.85;
    }


.hero-title {
    z-index: 3;
    padding: 15px;
    border-radius: 100px;
    width: 95%;
    max-width: 1100px;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translate(-50%);
    height: 100px;
}

.heading-shade1 {
    text-transform: uppercase;
    color: #fff;
}

.right-image {
    position: sticky;
    top: 100px;
    padding-top: 30px;
}

/* ------------------List-------------- */


.list-group {
    padding: 0;
    margin: 0;
}

    .list-group li {
        position: relative;
        padding: 8px 0px 0px 32px;
        list-style: none;
        margin: 4px 0;
    }

        .list-group li::before {
            content: "\f061";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            position: absolute;
            left: 0;
            top: 20px;
            transform: translateY(-50%);
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--gradient-color1);
            color: #ffffff;
            font-size: 12px;
            border-radius: 20px;
        }

/* ---------------------------Accordian--------------------------------------- */
/* Remove default accordion border */
.accordion {
    border: none !important;
}

/* Accordion Item */
.accordion-item {
    border: none !important;
    border-radius: 10px !important;
    margin-bottom: 15px !important;
    background: transparent !important; /* you wrote var(--); which is invalid */
}

/* Accordion Button */
.accordion-button {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    padding: 8px 18px !important;
    font-size: 1rem !important;
    color: #ffffff !important;
    text-align: left !important;
    background: var(--gradient-color) !important;
    border: 0 !important;
    border-radius: 30px !important;
    box-shadow: none !important;
}

    /* Remove focus */
    .accordion-button:focus {
        outline: none !important;
        box-shadow: none !important;
    }

    /* Hover text animation */
    .accordion-button span {
        position: relative !important;
        z-index: 1 !important;
        transition: transform 0.3s ease, text-shadow 0.3s ease !important;
        padding: 5px 0px !important;
        color: #ffffff !important;
        text-transform: uppercase;
    }

    .accordion-button:hover span {
        transform: translateX(5px) !important;
        text-shadow: 2px 2px 8px rgba(0,0,0,0.2) !important;
    }

    /* Active (Opened) State */
    .accordion-button:not(.collapsed) {
        background: var(--primary-color) !important;
        color: #ffffff !important;
        border-radius: 30px !important;
    }

/* Accordion Body */
.accordion-body {
    background: #ffffff !important;
    border-radius: 10px !important;
    box-shadow: 0 1px 1px rgba(0,0,0,0.14) !important;
    padding: 30px;
}

    /* Image inside body */
    .accordion-body img {
        border-radius: 20px !important;
        /* box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.233) !important; */
        margin-bottom: 10px !important;
        width: 100%;
    }
/* Default Arrow (Collapsed) */
.accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") !important;
    transform: rotate(0deg) !important;
}

/* When Open */
.accordion-button:not(.collapsed)::after {
    transform: rotate(180deg) !important;
}



/* =============Table=============== */

thead th {
    background: var(--gradient-color1) !important;
    color: white !important;
}

thead th, td {
    padding: 10px 0px !important;
    font-family: 'Rubik', sans-serif;
}

table {
    position: relative;
    z-index: 9;
}

.table > tbody {
    vertical-align: middle !important;
}
