:root {
    --primary-color: #136fff;
    --primary-dark: #053885;
    --gradient-color: linear-gradient(90deg, #136fff, #2C7EFF, #136fff);
    --gradient-color1: linear-gradient(90deg, #136fff, #053885);
    --Secondary-color: #fce0c2;
    /* --body-color: rgba(166, 126, 0, 0.08); */
}


body {
    margin: 0;
    padding: 0;
    font-family: 'Rubik', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    background: #FAFCFF;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    /* font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; */
    /* font-family: "Marcellus", serif; */
    font-weight: 700;
    color: var(--primary-dark);
}

a {
    text-decoration: none;
}

p {
    font-size: 16px !important;
}

.colour {
    color: var(--primary-color);
    font-size: 20px;
}

.text-shadow {
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.527);
}

.brown-text {
    color: var(--primary-dark);
}

.lightbrown-text {
    color: var(--primary-color);
}

.heading-text {
    position: relative;
}

    .heading-text h2 {
        position: inherit;
        z-index: 9;
    }

    .heading-text small {
        position: inherit;
        z-index: 9;
    }

.heading-text-img {
    width: 100%;
    max-width: 130px;
    position: absolute;
    opacity: 0.3;
    left: 50%;
    transform: translateX(-50%);
    top: -35px;
}

/* =====================Nav Bar======================== */


.main-header {
    position: relative;
    display: block;
    width: 100%;
    z-index: 99;
    clear: both;
}

.navbar-wrapper1 {
    background: var(--gradient-color);
    border-radius: 40px;
    position: fixed;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 90%;
    max-width: 1300px;
    /* padding: 2px 0px; */
    transition: all 0.3s ease;
    border: 1px solid #fce0c270;
}

@media (max-width:575px) {
    /* .navbar-wrapper1 {
    background: var(--gradient-color);
    border-radius: 40px;
    position: fixed;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 90%;
    max-width: 1200px;
    transition: all 0.3s ease;
    border: 1px solid #fce0c270;
  } */
}

.navbar {
    padding: 0;
}

.navbar-wrapper1 .nav-link {
    color: #fff !important;
    padding: 10px 20px;
    transition: all 0.2s;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
}

/* Fixed width dropdown */
.dropdown-fixed {
    width: 260px;
    min-width: 260px;
    padding: 10px;
}

/* Enable hover dropdown only on desktop */
@media (min-width: 992px) {
    .navbar .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}


/* Dropdown Menu */
.dropdown-menu {
    border-radius: 15px !important;
    background: linear-gradient(1deg, #136fff, #053885);
    border: none;
}

.dropdown-item {
    color: #fff !important;
    padding: 8px 18px;
    transition: all 0.25s ease;
    border-radius: 20px;
    white-space: normal;
}

    .dropdown-item:hover {
        background-color: rgba(255, 255, 255, 0.12) !important;
    }

.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0em !important;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: bold;
    color: #fff;
    /* border: 2px solid var(--primary-color); */
    width: 55px;
    height: 55px;
    justify-content: center;
    border-radius: 50%;
    margin: 1px 2px;
    background: linear-gradient(90deg, #3f8aff, #2C7EFF, #0059e4);
    transition: 0.3s all ease-in-out;
}

    .navbar-brand:hover {
        color: #ffffff !important;
        background: linear-gradient(270deg, #136fff, #4990FF);
    }

.navbar-brand1 {
    display: flex;
    align-items: center;
    font-weight: bold;
    color: #fff;
    /* border: 2px solid var(--primary-color); */
    width: 55px;
    height: 55px;
    justify-content: center;
    border-radius: 50px;
    margin: 1px 2px;
    background: linear-gradient(270deg, #3f8aff, #2C7EFF, #0059e4);
    transition: 0.3s all ease-in-out;
}

    .navbar-brand1:hover {
        color: #ffffff !important;
        background: linear-gradient(90deg, #136fff, #4990FF);
    }

#navbarNav {
    margin: 0px 8px;
}

.home-icon {
    font-size: 20px;
}

.home-icon1 {
    font-size: 25px;
}

.logo {
    position: fixed;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 155px;
    z-index: 20;
    padding: 10px;
    overflow: hidden;
}

    .logo a {
        display: block;
        position: relative;
    }

    .logo img {
        width: 100%;
        height: auto;
        display: block;
    }

/* -------------------Dropdown----------------- */

/* .nav-item.dropdown {
  position: static;
} */

.mega-menu {
    position: absolute;
    top: 100%;
    display: none;
    background: var(--gradient-color1);
    /* border-radius: 15px; */
    padding: 0;
    border: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    z-index: 5;
    /* overflow: hidden; */
}

    .mega-menu .dropdown-item {
        white-space: normal !important;
        word-wrap: break-word;
        word-break: break-word;
    }

    .mega-menu video {
        border-radius: 30px;
        width: 100%;
        height: 100%;
        object-fit: cover;
        padding: 15px;
        max-height: 300px;
    }

.nav-item.dropdown:hover .mega-menu {
    display: block;
}

/* Left navbar */
.navbar-nav.me-auto .mega-menu {
    left: 0;
    /* lock to UL left side */
    right: auto;
    min-width: 500px;
    max-width: 700px;
}

/* Right navbar */
.navbar-nav.ms-auto .mega-menu {
    right: 0;
    left: auto;
    min-width: 500px;
    max-width: 700px;
}

#offcanvas-body .nav-link {
    color: var(--Secondary-color) !important;
    padding: 10px 20px;
    transition: all 0.2s;
}

#offcanvas-body .nav-item {
    border-bottom: 1px solid #cbc49b96;
}

/* ============================================= */

/* Offcanvas Custom */


.offcanvas {
    background: var(--gradient-color1);
    color: white;
}

    .offcanvas .nav-link {
        color: white !important;
        font-size: 1.1rem;
        padding: 0.5rem 1rem;
    }

.offcanvas-body .nav-item a {
    background: var(--primary-dark);
    margin: 5px 0px;
    border-radius: 20px;
}

.offcanvas-body .dropdown-menu {
    width: 100%;
    background: #fff;
    padding: 10px;
}

/* Hide desktop nav items on mobile */
@media (max-width: 991px) {
    .main-navbar .navbar-nav {
        display: none !important;
    }
}


.navbar-right .nav-link {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.55);
}

.navbar-left .nav-link {
    text-shadow: -1px 1px 2px rgba(0, 0, 0, 0.55);
}


/* ===========================  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);
        /* background: rgba(0, 0, 0, 0.3); */
        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 {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 10;
} */

#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: rgba(0, 0, 0, 0.171); */
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.171), 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: 50%;
    z-index: 999;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
}


    .hero-school-text p {
        color: #fff;
        font-size: 1.5rem;
        /* text-shadow: 2px 2px 1px rgb(5, 56, 133); */
        text-shadow: 2px 2px 1px rgba(0, 0, 0, 0.788);
    }


#heroTitle {
    font-family: 'Mokgech', sans-serif;
    color: #fff;
    /* text-shadow: 2px 2px 3px rgb(5, 56, 133); */
    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 {
  top: 58%;
  left: 50%;
  width: auto;
  transform: translateX(-50%);
  display: flex;
  z-index: 10;
} */
    #hero .mySwiper .swiper-pagination.swiper-pagination-bullets.swiper-pagination-horizontal {
        bottom: 2%;
        left: 2%;
        width: auto;
        display: flex;
        z-index: 10;
    }

    /* bullet look (optional) */
    #hero .mySwiper .swiper-pagination-bullet {
        width: 12px;
        height: 12px;
        border-radius: 10px;
        background: transparent;
        border: 1px 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);
    }


/* ================Read More=================== */

.read-more {
    text-decoration: none;
    border: 2px solid var(--primary-color);
    padding: 8px 16px;
    border-radius: 50px;
    color: #fff;
    background: var(--primary-color);
    transition: 0.5s ease;
}

    .read-more i {
        padding: 4px;
        border-radius: 50%;
        color: var(--primary-color);
        background: #fff;
        margin-left: 5px;
        transition: 0.2s ease;
        font-size: 13px;
    }

    .read-more:hover i {
        padding: 4px;
        border-radius: 50%;
        color: #fff;
        background: var(--primary-color);
        margin-left: 5px;
    }

    .read-more:hover {
        text-decoration: none;
        border: 2px solid var(--primary-color);
        padding: 8px 16px;
        border-radius: 50px;
        color: var(--primary-color);
        background: transparent;
    }

.read-more1 {
    text-decoration: none;
    /* border: 2px solid var(--primary-color); */
    padding: 10px 16px;
    border-radius: 50px;
    color: #fff;
    background: linear-gradient(1deg, var(--primary-dark), var(--primary-color));
    transition: 0.5s ease;
}

    .read-more1 i {
        padding: 4px;
        border-radius: 50%;
        color: var(--primary-color);
        background: #fff;
        margin-left: 5px;
        transition: 0.2s ease;
        font-size: 13px;
    }

    .read-more1:hover i {
        padding: 4px;
        border-radius: 50%;
        color: #fff;
        background: var(--primary-color);
        margin-left: 5px;
    }

    .read-more1:hover {
        text-decoration: none;
        border: 2px solid var(--primary-dark);
        padding: 10px 16px;
        border-radius: 50px;
        color: var(--primary-dark);
        background: transparent;
    }

.read-moreW:hover {
    text-decoration: none;
    /* border: 2px solid #fff; */
    padding: 8px 16px;
    border-radius: 50px;
    color: var(--primary-dark);
    background: #fff;
}

    .read-moreW:hover i {
        padding: 4px;
        border-radius: 50%;
        color: #fff;
        background: var(--primary-color);
        margin-left: 5px;
    }

.read-moreW i {
    padding: 4px;
    border-radius: 50%;
    color: var(--primary-color);
    background: #fff;
    margin-left: 5px;
    transition: 0.2s ease;
    font-size: 13px;
}

.read-moreW {
    text-decoration: none;
    border: 2px solid #fff;
    border-radius: 50px;
    padding: 8px 16px;
    color: #fff;
    background: var(--primary-color);
    transition: 0.5s ease;
}


.small-text {
    color: #000;
}

.small-text1 {
    color: var(--Secondary-color);
}




/* ===============Page Padding================ */

.section-padding {
    padding: 2% 0%;
}

.section-padding1 {
    padding: 0% 0% 5% 0%;
}

.principal-sec {
    padding: 2% 0%;
    background: var(--primary-dark);
}

.facilities-sec {
    padding: 4% 0%;
    background: var(--primary-dark);
}

.principal-section {
    padding: 2% 0% 3% 0%;
    background: var(--primary-dark);
}

.principal-sec1 {
    background: linear-gradient(90deg, var(--primary-dark), var(--primary-dark)), url('../images/Slider/Slider-5.jpg') center / cover;
    /* background: var(--primary-dark); */
}

.principal-sec2 {
    background: linear-gradient(90deg, var(--primary-dark), var(--primary-dark)ee, var(--primary-dark)), url('../images/Slider/Slider-5.jpg') center / cover;
}

/* .facility-sec {
  padding: 4% 0%;
} */

/* ==========================About Us========================= */


.about-3cards {
    margin-top: 0px;
    position: relative;
    z-index: 9;
    gap: 2%;
}

.about-4cards {
    margin-bottom: -150px;
    margin-top: 30px;
    position: relative;
    z-index: 9;
}



.service-card {
    padding: 8px 0px;
    border-radius: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    background: #fff;
    border: 1px solid #136fff59;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

    .service-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 8px 15px rgba(5, 56, 133, 0.12);
    }


    .service-card img {
        width: 55px;
        margin: 10px 0px;
    }



    .service-card p {
        font-weight: 500;
        letter-spacing: 1px;
        line-height: 1.4;
        padding-top: 5px;
        font-size: 16px !important;
    }

    .service-card:hover p {
        font-size: 16px;
        font-weight: 500;
        letter-spacing: 1px;
        line-height: 1.4;
        color: var(--primary-dark);
    }

/* .service-card:hover {
  transform: translateY(-6px);
} */


/* ==========================principal Section========================== */

.message-tab {
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    padding: 5px 10px 5px 5px;
}

    .message-tab.active {
        background: var(--primary-color);
        display: flex;
        align-items: center;
        padding: 5px 10px 5px 5px;
    }



/* ==========================News Section========================== */

#news-slider-section .swiper {
    padding-bottom: 10px;
}

.news-card {
    /* border: 2px solid #c62d2d; */
    border-radius: 50px;
    background-color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.25);
    margin: 30px 10px;
}

/* .news-card:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transform: translateY(-3px);
} */

.date-badge {
    width: 80px;
    border-radius: 20px;
    overflow: hidden;
    font-weight: 600;
    /* box-shadow: 0 0 0 2px #c62d2d; */
}

.date-top {
    background: var(--primary-color);
    color: #fff;
    padding: 8px 0;
    font-size: 16px;
}

.date-bottom {
    background: var(--primary-dark);
    color: #ffffff;
    padding: 6px 0;
    font-size: 14px;
}

#news-slider-section .btn-prev,
#news-slider-section .btn-next {
    background: var(--gradient-color1);
    color: #fff;
    border: none;
    border-radius: 50px;
    /* padding: 10px 14px; */
    width: 38px;
    height: 38px;
    margin: 0 8px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease;
}

#news-slider-section span {
    background: red;
    padding: 4px 6px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    position: absolute;
    right: 80px;
    top: 20px;
    line-height: 12px;
    border-radius: 8px;
}

#news-slider-section span {
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    line-height: 12px;
}

.btn-outline-danger i {
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    margin-left: 10px;
    padding: 4px;
    transition: 0.2s ease-in-out;
}

.btn-outline-danger:hover i {
    background: #fff;
    color: var(--primary-color);
    border-radius: 50%;
    margin-left: 10px;
    padding: 4px;
}

/* ===================Principal Message================= */
.rotating-bg {
    position: absolute;
    width: 100%;
    max-width: 100px;
    opacity: 0.6;
    right: 2%;
    top: 15%;
}

.principal-scroll-section {
    height: 300vh;
    /* ⬅️ KEY FIX: more scroll room */
    background: var(--primary-dark);
}

.scroll-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
}


.scroll-track {
    display: flex;
    width: 200vw;
    height: 100%;
    will-change: transform;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}


.scroll-panel {
    width: 100vw;
    height: 100vh;
    padding: 4% 0;
}

/* .scroll-track {
  transition: 0.3s ease-in-out;
} */


.message-btn-text {
    display: flex;
    align-items: center;
    gap: 20px;
}


@media (max-width: 768px) {
    .scroll-sticky {
        position: sticky;
        top: 0;
        height: 100vh;
        overflow: hidden;
    }

    .message-btn-text {
        display: flex;
        align-items: center;
        flex-flow: column;
        gap: 20px;
        margin-top: 20px;
    }
}


/* ==========================Facilities Section========================== */


.facility-sec {
    position: relative;
    padding: 2% 0%;
}

    /* Background video */
    .facility-sec .bg-video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* key for full cover */
        z-index: 1;
    }

    /* White overlay */
    .facility-sec .bg-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.959);
        /* background: rgba(255, 255, 255, 0.85); */
        z-index: 2;
    }

    /* Content above video + overlay */
    .facility-sec .container {
        position: relative;
        z-index: 3;
    }



.facility-showcase {
    /* background: #1855e4; */
    background: var(--gradient-color1);
    padding: 5% 0%;
}

.facility-card {
    border-radius: 20px;
    overflow: hidden;
    height: 380px;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 320px;
    margin-top: 10px;
    border: 2px solid #fff;
}

    .facility-card img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

    .facility-card:hover {
        transform: translateY(-5px);
    }

.facility-text {
    position: absolute;
    bottom: -18%;
    left: 40px;
    color: #fff;
}

.facility-num {
    font-size: 45px;
    font-weight: 700;
    margin-bottom: 0px;
    color: var(--Secondary-color);
    font-family: 'Rubik', sans-serif;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.facility-text h6 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.facility-text p {
    font-size: 13px;
    color: #aeceff;
    margin: 0;
}

/* Zig-zag layout (alternate positioning) */
.top-row {
    margin-top: 0;
}

.bottom-row {
    margin-top: 50px;
}

@media (max-width: 991px) {
    .facility-card {
        height: 320px;
    }

    .bottom-row {
        margin-top: 0;
    }
}


/* Swiper Navigation Buttons */
.facility-nav button {
    background: var(--gradient-color1);
    color: #fff;
    border: 1px solid #fff;
    border-radius: 50px;
    /* padding: 10px 14px; */
    width: 38px;
    height: 38px;
    margin: 0 8px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease;
}

    .facility-nav button:hover {
        background: var(--primary-dark);
    }


/* Swiper fix to show slides properly */
.facilitySwiper {
    overflow: hidden;
    padding-bottom: 100px;
}

.swiper-slide {
    display: flex;
    justify-content: center;
}

.facility-icon {
    width: 100%;
    max-width: 60px;
    margin-bottom: 10px;
    transition: 0.3s all ease-in-out;
    margin-left: -10%;
    /* margin-left: 10%; */
}

    .facility-icon:hover {
        width: 100%;
        max-width: 50px;
        margin-bottom: 10px;
        margin-left: -10%;
    }


/* ===================Gallery============== */

.gallery-date {
    background: #0052cd;
    color: #fff;
    padding: 4px 10px;
    border-radius: 50px;
}


.Gallery-nav button {
    background: #fff;
    color: var(--primary-dark);
    border: none;
    border-radius: 50px;
    padding: 10px 14px;
    /* width: 40px;
  height: 40px; */
    /* margin: 0 8px; */
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease;
}

    .Gallery-nav button:hover {
        background: var(--primary-color);
        color: #fff;
    }

/* Fixed height for square images */
.image-container {
    height: 300px;
    /* Adjust height as needed */
    overflow: hidden;
    border-radius: 1rem;
}

    .image-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* This ensures images fill the container without distortion */
    }

/* Date pill styling */
.date-pill {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

/* Album title styling */
.album-title h4 {
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.gallery-card-img {
    width: 100%;
    height: 180px;
    margin-bottom: 5px;
    transition: 0.3s all ease-in-out;
}

    .gallery-card-img:hover {
        transform: translateY(-6px);
        /* move up on Y-axis */
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
    }

/* -------------------------------- */
/* Single image slider container with fixed height */
.image-container-single {
    height: 340px;
    /* Same height as column 7 images */
    overflow: hidden;
    width: 100%;
    border-radius: 1rem;
}

    .image-container-single img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* This ensures all images fill the container consistently */
    }

/* 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;
}

/* Custom pagination styling */
.single-gallery-pagination {
    /* position: relative; */
    bottom: 0;
    text-align: center;
    margin-top: 1rem;
}

    .single-gallery-pagination .swiper-pagination-bullet {
        width: 12px;
        height: 12px;
        border-radius: 10px;
        background: transparent;
        border: 2px solid #fff;
        opacity: 0.6;
        transition: transform .3s ease, opacity .3s ease;
    }

    .single-gallery-pagination .swiper-pagination-bullet-active {
        opacity: 1;
        background: #fff;
        transform: scale(1.2);
    }



/* Ensure swiper container has proper height */
.SingleGallerySwiper {
    height: auto;
}

.gallery-title h6 {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.underline-gall {
    width: 100%;
    max-width: 330px;
    height: 2px;
    background-color: var(--Secondary-color);
    border-radius: 20px;
    margin: 10px auto;
}

.underline-gall1 {
    width: 100%;
    max-width: 290px;
    height: 2px;
    background-color: var(--Secondary-color);
    border-radius: 20px;
    margin-top: 10px;
}

/* ===================Toppers / Birthday====================== */

.Topper-student {
    width: 180px;
    height: 190px;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.carousel-controls .custom-prev2, .carousel-controls .custom-next2 {
    background: var(--gradient-color1);
    color: #fff;
    border: none;
    border-radius: 50px;
    width: 38px;
    height: 38px;
    margin: 0 8px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease;
}

    .carousel-controls .custom-prev2:hover, .carousel-controls .custom-next2:hover {
        background: var(--primary-dark);
    }

.Toppers-gif {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.5;
    width: 100%;
    max-width: 400px;
    top: 0;
}

/* ----------Birthday------------ */

.happy-birthday {
    width: 100%;
    max-width: 350px;
    padding-bottom: 20px;
    margin: 0px auto;
    display: flex;
}

.happy-birthday-bg {
    border: 1px solid #05388526;
    padding: 20px 0px;
    border-radius: 20px;
    background: url('../images/Happy-Birthda-bg.svg') center center / cover;
    position: relative;
}

.birthday-gif-1 {
    position: absolute;
    right: 20px;
    bottom: 10px;
    width: 100px;
}

.birthday-gif-2 {
    position: absolute;
    left: 20px;
    bottom: 0px;
    width: 100px;
}


/* ==========================Bottom Floating pof========================== */

#floating-pod {
    position: fixed;
    bottom: 0px;
    /* bottom: 5px; */
    left: 50%;
    transform: translateX(-50%);
    padding: 7px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 40;
    color: #fff;
}


.pod-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    white-space: nowrap;
    color: #fff;
    text-decoration: none;
}

    .pod-item i {
        font-size: 1.7rem;
        color: var(--Secondary-color);
    }

    .pod-item span {
        display: block;
        line-height: 1.1;
    }

.top-line {
    font-weight: 600;
}

.bottom-line {
    font-size: 0.8rem;
    color: var(--Secondary-color);
}

.pod-divider {
    height: 38px;
    border-right: 2px solid var(--Secondary-color);
}

@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;
    }
}

/* -------------for mobile-------- */

#mobile-floating-pills {
    position: fixed;
    bottom: 12px;
    left: 0;
    width: 100%;
    z-index: 60;
}

.mobile-pill {
    display: block;
    padding: 10px 16px;
    background: var(--bs-primary);
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    transition: all 0.25s ease;
}

    .mobile-pill:hover {
        background: #0b5ed7;
        transform: translateY(-2px);
    }

/* ==========================footer DATA========================== */


.footer-sec {
    position: relative;
    padding: 1% 0% 3% 0%;
    background: linear-gradient(180deg, #FAFCFF 0%, #FAFCFF 50%, #ffffffee 100%), url('../images/Footer.jpg') no-repeat center center / cover;
}


.admission-banner {
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    background: var(--gradient-color1);
    width: 100%;
    max-width: 800px;
    justify-content: center;
    margin: 30px auto;
}

.admission-img {
    flex: 2;
    background: url('../images/Admission-Open.jpg') center/cover no-repeat;
    position: relative;
}

    .admission-img h2 {
        position: absolute;
        bottom: 20px;
        left: 20px;
        color: #fff;
        font-weight: 700;
        font-size: 26px;
        max-width: 70%;
    }

.admission-content {
    flex: 1;
    padding: 40px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .admission-content h3 {
        font-weight: 700;
        color: #fff;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.542);
    }

    .admission-content span {
        font-size: 15px;
        display: block;
        margin-bottom: 20px;
    }

.enroll-btn {
    background: #fff;
    color: var(--primary-color);
    border-radius: 50px;
    padding: 10px 24px;
    font-weight: 600;
    width: fit-content;
    text-decoration: none;
    transition: 0.3s all ease-in-out;
}

    .enroll-btn i {
        margin-left: 8px;
    }

    .enroll-btn:hover {
        color: var(--primary-dark);
    }

/* LOGO SECTION */
.school-logo {
    max-width: 180px;
}

/* ACTION ICONS */
.action-box {
    padding: 25px 10px;
    text-align: center;
}

    .action-box i {
        font-size: 28px;
        color: #B35A4D;
        margin-bottom: 8px;
    }

.divider {
    border-right: 1px solid #ccc;
}

/* SOCIAL ICONS */
.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-color1);
    /* background: #4A4A4A; */
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 6px;
    text-decoration: none;
    font-size: 18px;
}

/* FOOTER WATERMARK */
.footer-pattern {
    background: url('https://www.transparenttextures.com/patterns/people.png');
    opacity: 0.15;
    height: 70px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .admission-banner {
        flex-direction: column;
    }

    .admission-img h2 {
        font-size: 20px;
    }
}

.cisoft {
    text-decoration: none;
    color: #000 !important;
}

    .cisoft:hover {
        text-decoration: none;
        color: var(--primary-color) !important;
    }

.contact i {
    color: var(--primary-color);
}

.contact a:hover {
    color: var(--primary-color) !important;
}

/* ==========================PAGE DATA========================== */

.hero-banner {
    background: linear-gradient(to right, #000000cb, #000000cb, #000000cb), url('../images/Footer.jpg') center/cover no-repeat;
    height: 380px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.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;
    padding: 6px 16px;
    font-size: 14px !important;
    margin: 0;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 30px;
    position: relative;
    z-index: 1;
}

    .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;
}

.list-group li {
    line-height: 28px;
    background: url(../images/icons/arrow-right.svg) no-repeat left 3px;
    padding: 0px 0px 0px 30px;
    list-style: none;
    margin: 8px 0px;
    vertical-align: middle;
}


/* ------------Table-------------- */

thead th {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-dark) 100%) !important;
    color: #fff !important;
}

.school-time-img {
    width: 50px;
    margin-right: 10px;
}


/* ---------------------------Accordian--------------------------------------- */

.accordion {
    border: none;
}

.accordion-item {
    border: none;
    border-radius: 10px;
    margin-bottom: 15px;
}

.accordion-button {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px 18px;
    font-size: 1rem;
    color: #000;
    text-align: left;
    background: linear-gradient(90deg, var(--primary-color) 0%, #2C7EFF 100%);
    border: 0;
    border-radius: 0;
    overflow-anchor: none;
    /* transition: var(--bs-accordion-transition); */
}

.accordion-body {
    /* padding: var(--bs-accordion-body-padding-y) var(--bs-accordion-body-padding-x); */
    background: #fff;
    border-radius: 0px 0px 10px 10px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.14);
}

    .accordion-body img {
        border-radius: 10px;
        box-shadow: 1px 1px rgba(0, 0, 0, 0.41);
        margin-bottom: 10px;
    }

.accordion-item:first-of-type,
.accordion-item:first-of-type .accordion-button {
    border-radius: 30px;
}

.accordion-button .hero-about {
    display: flex;
    align-items: center;
    width: 100%;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    background-color: #967b7b;
    border: none;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.accordion-button span {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
    padding: 5px 0px;
    color: #fff;
}

.accordion-button:hover span {
    transform: translateX(5px);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
}


.accordion-button:not(.collapsed) {
    background: var(--primary-dark);
    color: #fff;
    border-radius: 10px;
}


.accordion-header {
    margin-bottom: 5px;
}


.accordion-button:focus {
    outline: none;
    box-shadow: none;
}

.accordion-item:last-of-type .accordion-button.collapsed {
    border-radius: 30px;
}

.accordion-button:not(.collapsed)::after {
    --bs-accordion-btn-active-icon: 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");
}

.facility-img {
    width: 100%;
    max-width: 600px;
    border: none !important;
    border-radius: 10px;
    padding: 0px !important;
}


/* ===================PAGE VIDEO STYLE================ */

.counter-section::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background: #053885ef;
    z-index: -1;
}

.counter-section {
    position: relative;
    width: 100vw;
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    color: white;
    overflow: hidden;
    text-align: center;
}

.video-background {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: auto;
    object-fit: cover;
    width: 100%;
    height: 100%;
    margin: 0;
    z-index: -2;
}

.counter-section {
    color: white;
    text-align: center;
}

.counter-box img {
    height: 100px;
}

.counter-box h3 {
    font-size: 48px;
    color: #fff;
    font-weight: 600;
}

.counter-box p {
    font-size: 22px;
    margin-top: 5px;
    color: #fff;
}
