/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-xl-square {
    width: 66px;
    height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    color: var(--bs-white);
    border: none;
}

.btn.btn-primary:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}

.btn.btn-light {
    color: var(--bs-primary);
    border: none;
}

.btn.btn-light:hover {
    color: var(--bs-white);
    background: var(--bs-dark);
}

.btn.btn-dark {
    color: var(--bs-white);
    border: none;
}

.btn.btn-dark:hover {
    color: var(--bs-primary);
    background: var(--bs-light);
}

/*** Topbar Start ***/ 
.topbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
    color: var(--bs-primary);
}

.topbar .dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.topbar .dropdown .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    padding-top: 10px;
    border: 0;
    transition: .5s;
    opacity: 1;
}
/*** Topbar End ***/

/*** Navbar Start ***/
.nav-bar {
    background: var(--bs-white);
    transition: 1s;
}

/* Responsive Logo */
.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
    width: auto;
}

.nav-bar .navbar-light .navbar-brand img {
    max-height: 60px; /* Desktop */
    
    /* Tablet */
    @media (max-width: 991px) {
        max-height: 50px;
    }
    
    /* Mobile */
    @media (max-width: 767px) {
        max-height: 40px;
    }
    
    /* Small Mobile */
    @media (max-width: 575px) {
        max-height: 31px;
    }
}

/* Alternative fluid logo sizing */
/*
.nav-bar .navbar-light .navbar-brand img {
    height: 4.5vw;
    max-height: 60px;
    min-height: 30px;
    width: auto;
}
*/

.navbar .navbar-nav .nav-item .nav-link {
    padding: 0;
}

.navbar .navbar-nav .nav-item {
    display: flex;
    align-items: center;
    padding: 15px;
}

.navbar-light .navbar-nav .nav-item:hover,
.navbar-light .navbar-nav .nav-item.active,
.navbar-light .navbar-nav .nav-item:hover .nav-link,
.navbar-light .navbar-nav .nav-item.active .nav-link {
    color: var(--bs-primary);
}

@media (max-width: 991px) {
    .navbar {
        padding: 15px 0;
    }

    .navbar .navbar-nav .nav-link {
        padding: 0;
    }

    .navbar .navbar-nav .nav-item {
        display: flex;
        padding: 15px;
        flex-direction: column;
        justify-content: start;
        align-items: start;
    }

    .navbar .navbar-nav .nav-btn {
        display: flex;
        justify-content: start;
    }

    .navbar .navbar-nav {
        width: 100%;
        display: flex;
        margin-top: 15px;
        padding-bottom: 15px;
        background: var(--bs-light);
        border-radius: 8px;
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 6px 12px;
        border: 1px solid var(--bs-primary);
        color: var(--bs-primary);
    }
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
}

.dropdown .dropdown-menu .dropdown-item:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

@media (min-width: 992px) {
    .navbar {
        padding: 15px 0;
    }

    .navbar .nav-btn {
        display: flex;
        align-items: center;
        justify-content: end;
    }

    .navbar .navbar-nav {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        background: var(--bs-light);
        border-radius: 8px;
    }

    .navbar .navbar-nav .nav-btn {
        width: 100%;
        display: flex;
        margin-left: auto;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 8px;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        margin-top: 15px;
        background: var(--bs-light);
        transition: .5s;
        opacity: 1;
    }
}
/*** Navbar End ***/

/*** Carousel Hero Header Start ***/
.header-carousel .header-carousel-item {
    height: 700px;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 60px;
    background: var(--bs-light);
    color: var(--bs-primary);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev {
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 30px;
}
.header-carousel .owl-nav .owl-next {
    bottom: 30px;
    right: 50%;
    transform: translateX(-50%);
    margin-right: 30px;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 0 0 100px 0 var(--bs-secondary);
    color: var(--bs-white);
}

.header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 60%;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .2);
    display: flex;
    align-items: center;
}
/*  oo*/
@media (max-width: 991px) {
    .header-carousel .header-carousel-item .carousel-caption {
        padding-top: 45px;
    }

    .header-carousel .header-carousel-item {
        height: 1300px;
    }
}

@media (max-width: 767px) {
    .header-carousel .header-carousel-item {
        height: 950px;
    }

    .header-carousel .owl-nav .owl-prev {
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        margin-left: -45px;
    }

    .header-carousel .owl-nav .owl-next {
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        margin-left: 45px;
    }
}
/*** Carousel Hero Header End ***/


/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(1, 95, 201, 0.9), rgba(0, 0, 0, 0.2)), url(../img/sevice.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px 0 60px 0;
    transition: 0.5s;
}

.bg-breadcrumb .breadcrumb {
    position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--bs-white);
}
/*** Single Page Hero Header End ***/


/*** Feature Start ***/
.feature .feature-item {
    border-radius: 10px;
    background: var(--bs-white);
    transition: 0.5s;
}

.feature .feature-item:hover {
    background: var(--bs-primary);
}

.feature .feature-item .feature-icon {
    position: relative;
    width: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-light);
}

.feature .feature-item:hover .feature-icon i {
    z-index: 9;
}

.feature .feature-item .feature-icon::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-dark);
    transition: 0.5s;
    z-index: 1;
}

.feature .feature-item:hover .feature-icon::after {
    height: 100%;
}

.feature .feature-item .feature-icon {
    color: var(--bs-primary);
}

.feature .feature-item .feature-icon,
.feature .feature-item h4,
.feature .feature-item p {
    transition: 0.5s;
}

.feature .feature-item:hover .feature-icon {
    color: var(--bs-white);
}
.feature .feature-item:hover h4,
.feature .feature-item:hover p {
    color: var(--bs-white);
}

.feature .feature-item:hover a.btn {
    background: var(--bs-white);
    color: var(--bs-primary);
}

.feature .feature-item:hover a.btn:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}
/*** Feature End ***/


/*** Service Start ***/
.service .service-item {
    border-radius: 10px;
}
.service .service-item .service-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.service .service-item .service-img img {
    transition: 0.5s;
}

.service .service-item:hover .service-img img {
    transform: scale(1.1);
}

.service .service-item .service-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: rgba(1, 95, 201, .2);
    transition: 0.5s;
    z-index: 1;
}

.service .service-item:hover .service-img::after {
    height: 100%;
}

.service .service-item .service-img .service-icon {
    position: absolute;
    width: 70px;
    bottom: 0;
    right: 25px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: var(--bs-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 9;
}

.service .service-item .service-img .service-icon i {
    color: var(--bs-primary);
    transition: 0.5s;
}

.service .service-item:hover .service-img .service-icon i {
    transform: rotateX(360deg);
    color: var(--bs-white);
}

.service .service-item:hover .service-img .service-icon {
    bottom: 0;
    color: var(--bs-white);
    background: var(--bs-primary);
}

.service .service-content {
    position: relative;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-light);
}

.service .service-item .service-content .service-content-inner {
    position: relative;
    z-index: 9;
}

.service .service-item .service-content .service-content-inner .h4,
.service .service-item .service-content .service-content-inner p {
    transition: 0.5s;
}

.service .service-item:hover .service-content .service-content-inner .h4,
.service .service-item:hover .service-content .service-content-inner p {
    color: var(--bs-white);
}

.service .service-item:hover .service-content .service-content-inner .btn.btn-primary {
    color: var(--bs-primary);
    background: var(--bs-white);
}

.service .service-item:hover .service-content .service-content-inner .btn.btn-primary:hover {
    color: var(--bs-white);
    background: var(--bs-dark);
}

.service .service-item:hover .service-content .service-content-inner .h4:hover {
    color: var(--bs-dark);
}

.service .service-item .service-content::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-primary);
    transition: 0.5s;
    z-index: 1;
}

.service .service-item:hover .service-content::after {
    height: 100%;
}
/*** Service End ***/


/*** FAQs Start ***/
.faq-section .accordion .accordion-item .accordion-header .accordion-button {
    color: var(--bs-white);
    background: rgba(1, 95, 201, .8);
    font-size: 18px;
}

.faq-section .accordion .accordion-item .accordion-header .accordion-button.collapsed {
    color: var(--bs-primary);
    background: var(--bs-light);
}
/*** FAQs End ***/


/*** Blog Start ***/
.blog .blog-item {
    border-radius: 10px;
    transition: 0.5s;
}

.blog .blog-item:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, .1);
}

.blog .blog-item:hover .blog-content {
    background: var(--bs-white);
}

.blog .blog-item .blog-img {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    position: relative;
    overflow: hidden;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.2);
}

.blog .blog-item .blog-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: rgba(1, 95, 201, .2);
    transition: 0.5s;
    z-index: 1;
}

.blog .blog-item:hover .blog-img::after {
    height: 100%;
}

.blog .blog-item .blog-img .blog-categiry {
    position: absolute;
    bottom: 0;
    right: 0;
    border-top-left-radius: 10px;
    display: inline-flex;
    color: var(--bs-white);
    background: var(--bs-primary);
    z-index: 9;
}

.blog .blog-item .blog-content {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-light);
}

.blog .blog-item .blog-content a.btn {
    color: var(--bs-dark);
}

.blog .blog-item:hover .blog-content a.btn:hover {
    color: var(--bs-primary);
}
/*** Blog End ***/


/*** Team Start ***/
.team .team-item .team-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
} 

.team .team-item .team-img img {
    transition: 0.5s;
}

.team .team-item:hover .team-img img {
    transform: scale(1.1);
}

.team .team-item .team-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: 0.5s;
}

.team .team-item:hover .team-img::after {
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
}

.team .team-item .team-img .team-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    margin-bottom: -100%;
    transition: 0.5s;
    z-index: 9;
}

.team .team-item:hover .team-img .team-icon {
    margin-bottom: 0;
}

.team .team-item .team-title {
    color: var(--bs-white);
    background: var(--bs-primary);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    transition: 0.5s;
}

.team .team-item .team-title h4 {
    color: var(--bs-white);
}

.team .team-item:hover .team-title {
    background: var(--bs-dark);
}
/*** Team End ***/


/*** Testimonial Start ***/
.testimonial-carousel .owl-stage-outer {
    margin-top: 58px;
    margin-right: -1px;
}

.testimonial .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    left: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-prev:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}

.testimonial .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-next:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}
/*** Testimonial End ***/


/*** Contact Start ***/
.contact .contact-img {
    position: relative;
}

.contact .contact-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 1;
    animation-name: image-efects;
    animation-duration: 10s;
    animation-delay: 1s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    transition: 0.5s
}

@keyframes image-efects {
    0%  {border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;}

    25% {border-radius: 35% 65% 27% 73% / 71% 25% 75% 29%;}

    50% {border-radius: 41% 59% 45% 55% / 32% 21% 79% 68%;}

    75% {border-radius: 69% 31% 39% 61% / 70% 83% 17% 30%;}

    100% {border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;}
}

.contact .contact-img .contact-img-inner {
    position: relative;
    z-index: 9;
}
/*** Contact End ***/


/*** Footer Start ***/
.footer {
    background: var(--bs-dark);
}

.footer .footer-item {
    display: flex;
    flex-direction: column;
}

.footer .footer-item a {
    line-height: 35px;
    color: var(--bs-body);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 35px;
}

.footer .footer-item a:hover {
    color: var(--bs-primary);
}

.footer .footer-item .footer-btn a,
.footer .footer-item .footer-btn a i {
    transition: 0.5s;
}

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-white);
}

.footer .footer-item .footer-btn a:hover i {
    color: var(--bs-primary);
}


.footer .footer-item .footer-instagram {
    position: relative;
    overflow: hidden;
}

.footer .footer-item .footer-instagram img {
    transition: 0.5s;
}

.footer .footer-item .footer-instagram:hover img {
    transform: scale(1.2);
}

.footer .footer-item .footer-instagram .footer-search-icon {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    opacity: 0;
}

.footer .footer-item .footer-instagram:hover .footer-search-icon {
    opacity: 1;
    background: rgba(43, 80, 189, 0.6);
}

.footer .footer-item .footer-btn a {
    background: var(--bs-light);
    color: var(--bs-primary);
}

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-primary);
}

.footer .footer-item .footer-btn a:hover i {
    color: var(--bs-white);
}
/*** Footer End ***/


/*** copyright Start ***/
.copyright {
    background: var(--bs-dark);
    border-top: 1px solid rgba(43, 80, 189, 0.6);
}
/*** copyright end ***/




/* new footer */


 /* Footer Styles */
        .school-footer {
            background-color: #1a2a3a;
            color: #ffffff;
            padding: 50px 0 20px;
            font-family: 'Inter', sans-serif;
        }
        
        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }
        
        .footer-row {
            display: flex;
            flex-wrap: wrap;
            margin-bottom: 30px;
        }
        
        .footer-col {
            flex: 1;
            min-width: 250px;
            padding: 0 15px;
            margin-bottom: 30px;
        }
        
        .footer-col h4 {
            color: #ffffff;
            font-size: 18px;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
        }
        
        .footer-col h4::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 50px;
            height: 2px;
            background: #4CAF50;
        }
        
        .footer-about {
            display: flex;
            flex-direction: column;
        }
        
        .footer-logo {
            width: 255px;
            height: auto;
            margin-bottom: 15px;
        }
        
        .footer-about p {
            margin-bottom: 20px;
            line-height: 1.6;
        }
        
        .social-links a {
            display: inline-block;
            width: 40px;
            height: 40px;
            background-color: rgba(255, 255, 255, 0.1);
            margin-right: 10px;
            text-align: center;
            line-height: 40px;
            border-radius: 50%;
            color: #ffffff;
            transition: all 0.3s ease;
        }
        
        .social-links a:hover {
            background-color: #4CAF50;
            transform: translateY(-3px);
        }
        
        .footer-links ul {
            list-style: none;
            padding: 0;
        }
        
        .footer-links li {
            margin-bottom: 10px;
        }
        
        .footer-links a {
            color: #dddddd;
            text-decoration: none;
            transition: all 0.3s ease;
        }
        
        .footer-links a:hover {
            color: #4CAF50;
            padding-left: 5px;
        }
        
        .contact-info p {
            display: flex;
            align-items: flex-start;
            margin-bottom: 15px;
            line-height: 1.6;
        }
        
        .contact-info i {
            margin-right: 10px;
            color: #4CAF50;
            margin-top: 5px;
        }
        
        .footer-map {
            width: 100%;
            height: 200px;
            border: none;
            border-radius: 5px;
        }
        
        .footer-bottom {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .footer-bottom p {
            margin: 0;
            font-size: 14px;
            color: #aaaaaa;
        }
        
        .footer-bottom a {
            color: #4CAF50;
            text-decoration: none;
        }
        
        @media (max-width: 768px) {
            .footer-col {
                flex: 100%;
                max-width: 100%;
            }
        }

        /*   end the footer */



        /*     sliderr css*/


          .carousel-container {
    max-width: 1800px;
    max-height: auto;
    margin: 40px auto;
    font-family: 'Arial', sans-serif;
}

.carousel-container h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 20px;
}

.carousel {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-inner {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.carousel-item {
    min-width: 100%;
    position: relative;
}

.carousel-item img {
    width: 100%;
    display: block;
    height: 400px;
    object-fit: cover;
}
/*
.caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    text-align: center;
    font-size: 1.1em;
}*/

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 50%;
    transition: background 0.3s;
    z-index: 10;
}

.carousel-control:hover {
    background: rgba(255, 255, 255, 0.8);
    color: #2c3e50;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.indicator.active {
    background: white;
}

/* Responsive design */
@media (max-width: 768px) {
    .carousel-container {
        margin: 20px;
    }
    
    .carousel-item img {
        height: 300px;
    }
    
    .carousel-control {
        font-size: 1.5rem;
        padding: 8px 12px;
    }
}





/* Unique CSS namespace to prevent conflicts */
        .gms-carousel-container {
            max-width: 1800px;
            max-height: auto;
            margin: 40px auto;
            font-family: 'Arial', sans-serif;
        }

        .gms-carousel {
            position: relative;
            overflow: hidden;
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }

        .gms-carousel-inner {
            display: flex;
            transition: transform 0.6s ease-in-out;
        }

        .gms-carousel-item {
            min-width: 100%;
            position: relative;
        }

        .gms-carousel-item img {
            width: 100%;
            display: block;
            height: 400px;
            object-fit: cover;
        }

        .gms-carousel-control {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.3);
            border: none;
            color: white;
            font-size: 2rem;
            cursor: pointer;
            padding: 10px 15px;
            border-radius: 50%;
            transition: background 0.3s;
            z-index: 10;
        }

        .gms-carousel-control:hover {
            background: rgba(255, 255, 255, 0.8);
            color: #2c3e50;
        }

        .gms-carousel-prev {
            left: 20px;
        }

        .gms-carousel-next {
            right: 20px;
        }

        .gms-carousel-indicators {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 10px;
            z-index: 10;
        }

        .gms-carousel-indicator {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.5);
            cursor: pointer;
            transition: background 0.3s;
        }

        .gms-carousel-indicator.active {
            background: white;
        }

        /* Responsive design - maintaining original dimensions */
        @media (max-width: 768px) {
            .gms-carousel-container {
                margin: 0px;
            }
            
            .gms-carousel-item img {
                height: 300px;
            }
            
            .gms-carousel-control {
                font-size: 1.5rem;
                padding: 8px 12px;
            }
        }

        /* Error handling for images */
        .gms-carousel-item img.error-state {
            display: none;
        }
        
        .gms-carousel-item .gms-img-error {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 100%;
            background: #f5f5f5;
            color: #666;
            text-align: center;
            padding: 20px;
        }




        /* Importing custom fonts */
@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap");

/* Base styles for body */
body {
  font-family: "Quicksand", serif; /* Primary font */
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

/* Universal reset for margin, padding, and box-sizing */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Shared button styles */
.ks-btn {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4rem;
  display: inline-block;
  padding: 10px;
  background: #fea301;
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  transition: opacity 0.3s ease;
  border: none;
  font-family: Quicksand;
}

/* Button hover effect */
.ks-btn:hover {
  opacity: 0.8;
}

/* Footer menu and social icon styles */
.ks-footer-menu,
.ks-social-icons {
  list-style: none;
}

/* Section styling with max-width and centered alignment */
.ks-header,
.ks-curriculum,
.ks-stories,
.ks-our-stories,
.ks-footer {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 100px;
  padding-bottom: 60px;
}

/* Hamburger menu for mobile */
.ks-hamburger-menu {
  display: none;
  border: none;
  background: transparent;
}

/* Date styling */
.ks-date {
  display: inline-block;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 3rem;
  font-family: Raleway;
  position: relative;
  top: -25px;
}

/* Navbar styling */
.ks-nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #9a9a9a12;
}

/* Logo and menu container */
.ks-logo,
.ks-menu {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ks-logo img {
  width: 35px;
  height: 35px;
}

/* Logo styling */
.ks-logo h3 {
  color: #111;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.88rem;
  margin-left: 8px;
}

/* Menu items with color styling */
.ks-menu {
  gap: 2.5rem;
  list-style: none;
  margin-left: 422px;
}

.ks-menu li a {
  font-size: 18px;
  font-weight: 570;
  line-height: 1.5rem;
  text-decoration: none;
}
.ks-home {
  color: #fea301;
}

.ks-about {
  color: #01acfd;
}

.ks-facilities {
  color: #05d4df;
}

.ks-admission {
  color: #5d58ef;
}

/* Contact button */
.ks-contact-btn {
  width: 8rem;
}

/* Hero section */
.ks-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 0px;
}

/* Hero content styling */
.ks-hero-content {
  max-width: 500px;
}

.ks-hero-content h1 {
  color: #fea301;
  font-size: 50px;
  font-weight: 700;
  line-height: 65px;
  margin-bottom: 2.5rem;
}

.ks-hero-content .ks-black {
  color: #111;
}

.ks-hero-content .ks-sky-blue {
  color: #01acfd;
}

.ks-hero-content p {
  color: #111;
  font-size: 17px;
  margin-bottom: 2.5rem;
}

/* Hero image styling */
.ks-hero-img {
  max-width: 600px;
}

.ks-hero-img img {
  width: 100%;
}

/* Enrollment and view-all buttons */
.ks-enroll-btn,
.ks-view-all-btn {
  font-weight: 700;
  background: #111;
  width: 14rem;
  text-align: center;
  align-content: center;
}

/* Curriculum section */
.ks-curriculum {
  background: url("../assets/bg.png");
  background-position: top;
  background-size: cover;
  background-repeat: no-repeat;
  margin-top: 40px;
}

.ks-curriculum h2 {
  color: #000;
  text-align: center;
  font-size: 35px;
  font-weight: 700;
  line-height: 55.5px;
  margin-bottom: 55px;
}

/* Card container and individual card styling */
.ks-cards-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.ks-cards-container .ks-card {
  display: flex;
  max-width: 367.805px;
  max-height: 476.784px;
  padding: 52.819px 40.668px 53.762px 40.878px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32.069px;
  border-radius: 18.864px;
}

.ks-cards-container .ks-card h4 {
  color: #202020;
  font-size: 24.523px;
  font-weight: 700;
  line-height: 30.654px;
}

.ks-cards-container .ks-card p {
  color: #808080;
  text-align: center;
  font-family: Raleway;
  font-size: 15.091px;
  font-weight: 500;
  line-height: 28.296px;
}

/* Read more button inside cards */
.ks-card .ks-read-more-btn {
  text-align: center;
  font-family: "Raleway", serif;
  font-size: 15.091px;
  font-weight: 700;
  line-height: 28.296px;
  border: none;
  background-color: transparent;
}

/* Card styles with different color themes */
.ks-card-1 {
  border: 0.943px solid #def5ff;
  background: linear-gradient(180deg, #def5ff 0%, rgba(255, 255, 255, 0) 40%),
    #fff;
  box-shadow: 0px 0px 28.296px 0.943px rgba(0, 0, 0, 0.05) inset;
}

.ks-card-1 .ks-read-more-btn {
  color: #64c8ff;
}

.ks-card-2 {
  border: 0.943px solid #fff4dc;
  background: linear-gradient(180deg, #fff4dc 0%, rgba(255, 255, 255, 0) 40%),
    #fff;
  box-shadow: 0px 0px 28.296px 0.943px rgba(0, 0, 0, 0.05) inset;
}

.ks-card-2 .ks-read-more-btn {
  color: #f0aa00;
}

.ks-card-3 {
  border-radius: 18.864px;
  border: 0.943px solid #f2e8ff;
  background: linear-gradient(180deg, #eee1ff 0%, rgba(255, 255, 255, 0) 40%),
    #fff;
  box-shadow: 0px 0px 28.296px 0.943px rgba(0, 0, 0, 0.05) inset;
}

.ks-card-3 .ks-read-more-btn {
  color: #8700ff;
}

/* Arrow button container */
.ks-btn-container {
  display: flex;
  justify-content: center;
  gap: 75rem;
  margin-top: -320px;
  margin-bottom: 200px;
}

.ks-arrow-btn {
  color: #fea301;
  text-align: center;
  font-size: 24px;
  font-weight: 900;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  transition: all 0.3s ease;
  background: white;
}

/* Our stories section */
.ks-our-stories {
  display: flex;
  justify-content: center;
  align-items: center;
  background: url("../assets/bg.png"),
  linear-gradient(0deg, rgba(254, 163, 1, 0.12), rgba(255, 255, 255, 0.09));
  background-position: top;
  background-size: contain;
}

.ks-our-stories h2 {
  color: #000;
  font-size: 40px;
  font-weight: 700;
  line-height: 45px;
  margin-top: 60px;
  margin-bottom: 50px;
  text-align: center;
}

/* Story card container */
.ks-story-cards-container {
  display: grid;
  grid-template-columns: 540px 1fr 1fr;
  gap: 20px;
  max-width: 100%;
  margin: 0 auto;
  margin-bottom: 80px;
}

.ks-story-big {
  grid-row: span 2;
}

.ks-story-card-img img {
  width: 100%;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

/* Story card and text styling */
.ks-story-card {
  background: #fff;
  border-radius: 16px;
}

.ks-card-text {
  padding: 0 25px 25px 25px;
}

.ks-card-text h4 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 38.347px;
  max-width: 402px;
  margin-bottom: 3.2rem;
}

.ks-first-card-description {
  color: #666;
  font-family: Raleway;
  font-size: 1rem;
  font-weight: 500;
  line-height: 28.761px;
}

/* Button styles within story cards */
.ks-btn-1 {
  background: #3cd8e8;
  padding: 15px 20px;
  margin-bottom: 1rem;
}

.ks-btn-2,
.ks-btn-3,
.ks-btn-5 {
  padding: 10px 20px;
  margin-bottom: 0.5rem;
}

.ks-btn-2 {
  background: #95b226;
}

.ks-btn-3 {
  background: #5d58f0;
}

.ks-btn-5 {
  font-size: 1rem;
}

.ks-simillar-text {
  font-size: 1rem;
  line-height: 1.3rem;
  font-weight: 700;
}

.ks-center-btn {
  text-align: center;
}

/* Footer styles */
.ks-footer {
  background: #0294d9;
  min-height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 70px;
}

.ks-footer-container {
  display: flex;
  justify-content: space-between;
  color: #fff;
  flex-wrap: wrap;
}

/* Footer left section */
.ks-footer-logo {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 35px;
}

.ks-footer-logo img {
  max-width: 100%;
  height: auto;
}

.ks-footer-logo h2 {
  font-family: Quicksand;
  font-size: 35px;
  font-weight: 700;
  line-height: 39.509px;
}

.ks-footer-row {
  flex: 1;
}

.ks-footer-menu li{
  font-size: 12px;
}

.ks-kids-education p {
  font-size: 17px;
}

/* Footer right section */
.ks-footer-menu li a {
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  text-decoration: none;
}

.ks-keep-touch,
.ks-about-school {
  display: flex;
  justify-content: center;
}

.ks-about-school h4,
.ks-keep-touch h4 {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 2rem;
}

.ks-social-icons {
  display: flex;
  column-gap: 0.5rem;
}

.ks-social-icons img {
  width: 40.613px;
}

.ks-subscribe-btn {
  background: #fea301;
  padding: 14px 20px;
  border-radius: 40px;
}

.ks-footer-copy {
  text-align: center;
  font-family: Raleway;
  font-size: 15px;
  font-weight: 500;
  line-height: 24px;
  color: #fff;
  margin-top: 40px;
}

/* Responsive mobile devices */

@media (max-width: 767px) {
  .ks-header,
  .ks-curriculum,
  .ks-our-stories {
    padding: 0;
  }

  .ks-nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 0.2px solid #FEA301;
  }

  .ks-menu,
  .ks-contact-btn,
  .ks-story-big {
    display: none;
  }

  .ks-logo h3{
    font-size: 26px;
  }

  .ks-hamburger-menu {
    display: block;
    font-size: 30px;
  }

  .ks-menu {
    display: none;
    flex-direction: column;
    gap: 1rem;
    background: #fff;
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }
  
  .ks-menu.active {
    display: flex;
  }
  
  .ks-menu li a {
    color: #fea301;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
  }
  
  .ks-hero {
    flex-direction: column-reverse;
    row-gap: 20px;
    padding: 8px 16px;
    padding-bottom: 60px;
  }

  .ks-hero-content {
    text-align: center;
    padding-left: 20px;
  }

  .ks-our-stories {
    display: flex;
    justify-content: center;
    align-items: center;
    background: url("../assets/bg.png"),
      linear-gradient(0deg, rgba(254, 163, 1, 0.3), rgba(255, 255, 255, 0.3));
    background-position: top;
    background-size: contain;
  }

  .ks-hero-content h1 {
    font-size: 32px;
    line-height: normal;
    margin-bottom: 18px;
  }

  .ks-hero-content p {
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
    margin-bottom: 18px;
  }

  .ks-hero .ks-hero-img {
    padding: 20px 10px 0 10px;
  }

  .ks-enroll-btn,
  .ks-view-all-btn {
    width: auto;
    padding: 6px 24px;
    font-size: 16px;
    border-radius: 12px;
  }

  /* curriculum section for mobile */

  .ks-curriculum h2 {
    font-size: 26px;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 20px;
  }

  .ks-cards-container {
    padding-bottom: 40px;
    margin-bottom: 0;
  }

  .ks-btn-container {
    display: none;
  }

  .ks-footer-container {
    flex-direction: column;
  }
  .ks-keep-touch,
  .ks-about-school {
    display: flex;
    justify-content: flex-start;
  }

  .ks-center-btn {
    text-align: center;
    padding-bottom: 40px;
  }

  .ks-date,
  .ks-btn-2 {
    font-size: 9px;
    padding: 6px 12px;
    position: static;
    text-align: center;
    margin-bottom: 14px;
  }

  .ks-card-text {
    padding: 0 22px 0 22px;
    position: relative;
    top: -20px;
  }

  .ks-story-cards-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .ks-simillar-text {
    font-size: 9.133px;
    font-style: normal;
    font-weight: 700;
    line-height: 17.125px;
  }

  .ks-footer {
    padding: 4rem 1rem;
  }

  .ks-footer-logo {
    margin-bottom: 1.5rem;
  }

  .ks-kids-education p {
    margin-bottom: 2rem;
    font-size: 1rem;
  }

  .ks-about-school {
    margin-bottom: 31px;
  }

  .ks-about-school h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 2rem;
  }

  .ks-keep-touch h4 {
    font-size: 22.043px;
    font-weight: 700;
    line-height: 22.043px;
  }

  .ks-footer-menu li {
    margin-bottom: 17px;
  }

  .ks-footer-menu li a {
    font-size: 16.957px;
    font-weight: 500;
  }

  /* our stories section */
  .ks-our-stories h2 {
    margin-bottom: 20px;
    margin-top: 0;
    font-size: 26px;
  }
  .ks-story-cards-container {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 11px;
    margin-bottom: 20px;
  }

  .ks-footer-logo h2 {
    font-size: 35px;
  }
}





/*  main page css */


/* Unique CSS Styles */
        :root {
            --primary-color: #2c5e92;
            --secondary-color: #4f8bc9;
            --accent-color: #f5a623;
            --light-color: #f8f9fa;
            --dark-color: #343a40;
            --success-color: #28a745;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            background-color: #ffffff;
            color: #333;
            line-height: 1.6;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }

        header {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
            padding: 2rem 0;
            text-align: center;
            border-radius: 0 0 10px 10px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            margin-bottom: 30px;
            position: relative;
            overflow: hidden;
        }

        header::before {
            content: "";
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
            transform: rotate(30deg);
            pointer-events: none;
        }

        header h1 {
            font-size: 2.5rem;
            margin-bottom: 0.5rem;
            position: relative;
        }

        header p {
            font-size: 1.2rem;
            opacity: 0.9;
            position: relative;
        }

        .main-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 25px;
            margin-bottom: 30px;
        }

        .section {
            background: #f2f5f9;
            border-radius: 8px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
            padding: 25px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .section:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }

        .section::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
        }

        /* Centered Section Titles with Improved Styling */
        .section-title {
            color: var(--primary-color);
            margin: 0 auto 1.5rem auto;
            padding-bottom: 0.75rem;
            border-bottom: 3px solid var(--accent-color);
            display: block;
            text-align: center;
            width: fit-content;
            font-size: 1.5rem;
            position: relative;
        }

        .section-title::after {
            content: "";
            position: absolute;
            bottom: -3px;
            left: 50%;
            transform: translateX(-50%);
            width: 50px;
            height: 3px;
            background: var(--accent-color);
        }

        .principal-info {
            display: flex;
            align-items: center;
            gap: 20px;
            margin-top: 15px;
        }

        .principal-img {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid var(--secondary-color);
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
        }

        .notice-board {
            grid-column: span 1;
        }

        .notice-list {
            list-style: none;
            max-height: 400px;
            overflow-y: auto;
            padding-right: 10px;
        }

        .notice-list::-webkit-scrollbar {
            width: 6px;
        }

        .notice-list::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 10px;
        }

        .notice-list::-webkit-scrollbar-thumb {
            background: var(--secondary-color);
            border-radius: 10px;
        }

        .notice-item {
            padding: 15px;
            margin-bottom: 15px;
            background: #f8f9fa;
            border-left: 4px solid var(--accent-color);
            border-radius: 4px;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .notice-item:hover {
            background: #e9ecef;
            transform: translateX(5px);
        }

        .notice-date {
            font-size: 0.8rem;
            color: #6c757d;
            margin-bottom: 5px;
            display: flex;
            align-items: center;
        }

        .notice-date::before {
            content: "📅";
            margin-right: 5px;
        }

        .notice-title {
            font-weight: bold;
            margin-bottom: 5px;
            color: var(--dark-color);
        }

        .notice-content {
            font-size: 0.9rem;
            color: #495057;
        }

        .events-section, .activities-section {
            margin-top: 40px;
            background: white;
            border-radius: 8px;
            padding: 30px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
        }

        .events-grid, .activities-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 20px;
            margin-top: 25px;
        }

        .event-card, .activity-card {
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
            border: 1px solid #eee;
        }

        .event-card:hover, .activity-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }

        .event-image, .activity-image {
            width: 100%;
            height: 160px;
            object-fit: cover;
        }

        .event-details, .activity-details {
            padding: 15px;
        }

        .event-date, .activity-date {
            display: flex;
            align-items: center;
            color: var(--primary-color);
            font-weight: bold;
            margin-bottom: 8px;
            justify-content: center;
        }

        .event-date::before, .activity-date::before {
            content: "⏰";
            margin-right: 8px;
        }

        .event-title, .activity-title {
            font-size: 1.1rem;
            margin-bottom: 8px;
            color: var(--dark-color);
            text-align: center;
        }

        .event-desc, .activity-desc {
            font-size: 0.9rem;
            color: #6c757d;
            margin-bottom: 12px;
            text-align: center;
        }

        .read-more {
            display: block;
            margin: 0 auto;
            padding: 6px 12px;
            background: var(--secondary-color);
            color: white;
            border-radius: 4px;
            text-decoration: none;
            font-size: 0.8rem;
            transition: background 0.3s ease;
            width: fit-content;
        }

        .read-more:hover {
            background: var(--primary-color);
        }

        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            z-index: 1000;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .modal.active {
            display: flex;
            opacity: 1;
        }

        .modal-content {
            background: white;
            border-radius: 8px;
            width: 90%;
            max-width: 600px;
            max-height: 90vh;
            overflow-y: auto;
            padding: 25px;
            position: relative;
            transform: translateY(-20px);
            transition: transform 0.3s ease;
        }

        .modal.active .modal-content {
            transform: translateY(0);
        }

        .close-modal {
            position: absolute;
            top: 15px;
            right: 15px;
            font-size: 1.5rem;
            cursor: pointer;
            color: #6c757d;
            transition: color 0.3s ease;
        }

        .close-modal:hover {
            color: var(--dark-color);
        }

        .modal-title {
            color: var(--primary-color);
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--accent-color);
            text-align: center;
        }

        .modal-date {
            color: #6c757d;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .modal-date::before {
            content: "📅";
            margin-right: 8px;
        }

        .modal-body {
            line-height: 1.7;
        }

        @media (max-width: 768px) {
            .main-grid {
                grid-template-columns: 1fr;
            }
            
            .principal-info {
                flex-direction: column;
                text-align: center;
            }

            .section-title {
                font-size: 1.3rem;
            }
        }

        /* Animation classes */
        .fade-in {
            animation: fadeIn 0.5s ease forwards;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .delay-1 { animation-delay: 0.1s; }
        .delay-2 { animation-delay: 0.2s; }
        .delay-3 { animation-delay: 0.3s; }
        .delay-4 { animation-delay: 0.4s; }
        .delay-5 { animation-delay: 0.5s; }

        /* School Stats Styling */
        .school-stats {
            margin-top: 20px;
            display: flex;
            justify-content: space-around;
            flex-wrap: wrap;
            gap: 10px;
        }

        .stat-item {
            text-align: center;
            padding: 10px;
            min-width: 100px;
        }

        .stat-number {
            font-size: 1.8rem;
            color: var(--primary-color);
            font-weight: bold;
            line-height: 1;
        }

        .stat-label {
            font-size: 0.9rem;
            color: #6c757d;
        }








    /* for teachers */

            /* Unique CSS Styles */
        :root {
            --primary-color: #2c5e92;
            --secondary-color: #4f8bc9;
            --accent-color: #f5a623;
            --light-color: #f8f9fa;
            --dark-color: #343a40;
            --text-color: #333;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', 'Nirmala UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            background-color: #f5f7fa;
            color: var(--text-color);
            line-height: 1.6;
        }

        .container-fluid.service {
            padding: 0;
            text-align: center; /* Center all content */
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }

        /* Centered Heading Styles */
        .centered-heading {
            display: inline-block;
            font-size: 2rem;
            color: var(--primary-color);
            margin: 0 auto 2rem auto;
            padding-bottom: 0.5rem;
            border-bottom: 3px solid var(--accent-color);
            position: relative;
            text-align: center;
        }

        .centered-heading::after {
            content: "";
            position: absolute;
            bottom: -3px;
            left: 50%;
            transform: translateX(-50%);
            width: 50px;
            height: 3px;
            background: var(--accent-color);
        }

        .main-heading {
            font-size: 2.5rem;
            font-weight: 600;
            color: var(--primary-color);
            margin-bottom: 1.5rem;
            display: block;
            text-align: center;
        }

        /* Teacher Cards */
        .player-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 25px;
            margin: 30px auto 0;
            max-width: 1200px;
        }

        .player-card {
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            text-align: center;
        }

        .player-card img {
            width: 100%;
            height: 450px,
            object-fit: cover;
            border-bottom: 3px solid var(--accent-color);
        }

        .player-card-content {
            padding: 20px;
        }

        .player-card h3 {
            font-size: 1.3rem;
            color: var(--primary-color);
            margin-bottom: 0.5rem;
        }

        .player-card h4 {
            font-size: 1rem;
            color: var(--secondary-color);
            margin-bottom: 1rem;
            font-weight: 600;
        }

        .player-card p {
            font-size: 0.9rem;
            margin-bottom: 0.5rem;
            color: var(--text-color);
            text-align: left;
            padding: 0 10px;
        }

        .player-card p strong {
            color: var(--dark-color);
            font-weight: 600;
        }

        /* Responsive Design */
        @media (max-width: 992px) {
            .player-grid {
                grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            }
            .main-heading {
                font-size: 2.2rem;
            }
        }

        @media (max-width: 768px) {
            .player-grid {
                grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
                gap: 20px;
            }
            .player-card img {
                height: 220px;
            }
            .main-heading {
                font-size: 2rem;
            }
            .centered-heading {
                font-size: 1.8rem;
            }
        }

        @media (max-width: 576px) {
            .player-grid {
                grid-template-columns: 1fr;
                max-width: 350px;
            }
            .main-heading {
                font-size: 1.8rem;
            }
            .centered-heading {
                font-size: 1.6rem;
            }
        }