/********** Template CSS **********/
:root {
    --primary: #0687d1;
    --light: #FFF5F3;
    --dark: #103741;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#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;
}


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

.btn.btn-primary {
    color: #FFFFFF;
}

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

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

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

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}


/*** Heading ***/
h1,
h2,
h3,
h4,
.h1,
.h2,
.h3,
.h4,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-family: 'Lobster Two', cursive;
    font-weight: 700;
}

h5,
h6,
.h5,
.h6 {
    font-weight: 600;
}

.font-secondary {
    font-family: 'Lobster Two', cursive;
}


/*** Navbar ***/
.navbar .navbar-nav .nav-link {
    padding: 12px 15px; /* reduced from 30px */
    color: var(--dark);
    font-weight: 500;
    outline: none;
    border-radius: 6px;
    transition: 0.3s ease;
}

/* Hover + Active Effect (IMPROVED) */
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #fff !important;
    background-color: var(--primary);
}

/* Sticky Navbar */
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

/* Dropdown Arrow */
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 5px;
    transition: .5s;
}

/* Rotate Arrow */
.navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

/* Mobile View */
@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid #ffffff;
    }
}

/* Desktop Dropdown Animation */
@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        top: calc(100% - 15px);
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        opacity: 1;
    }
}

    .btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}



/*** Header ***/
/*** ===== HEADER CAROUSEL FIXED CSS ===== ***/

/* Remove unwanted top/bottom strips */
/*** ===== HEADER CAROUSEL WITH CLOUD EFFECT ===== ***/

/* Carousel container */
/********** HEADER CAROUSEL **********/

.header-carousel {
    position: relative;
}




/* CLOUD TOP */
.header-carousel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;

    /* IMPORTANT: FIXED PATH */
    background: url("../img/bg-header-top.png") repeat-x;

    z-index: 10;
    pointer-events: none;
}

/* CLOUD BOTTOM */
.header-carousel::after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 60px;

    /* IMPORTANT: FIXED PATH */
    background: url("../img/bg-header-bottom.png") repeat-x;

    z-index: 10;
    pointer-events: none;
}

/* EACH SLIDE */
.header-carousel .owl-carousel-item {
    position: relative;
    height: 650px;
}

/* IMAGE */
.header-carousel .owl-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* OVERLAY */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
   

    background: rgba(0, 0, 0, 0.2);

    display: flex;
    align-items: center;
}

/* TEXT ABOVE EVERYTHING */
.overlay .container {
    position: relative;
    z-index: 20;
}

/********** NAVIGATION **********/


.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    z-index: 20;
}

.header-carousel .owl-nav button {
    width: 45px;
    height: 45px;
    margin: 5px;
    border-radius: 50%;
    border: 1px solid #fff;
    background: transparent;
    color: #fff;
    font-size: 18px;
    transition: 0.3s;
}

.header-carousel .owl-nav button:hover {
    background: #0687d1;
    border-color: #0687d1;
}

/********** RESPONSIVE **********/

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        height: 400px;
    }

    .overlay h1 {
        font-size: 28px;
    }

    .overlay p {
        font-size: 14px;
    }
}

/*** Facility ***/
.facility-item .facility-icon {
    position: relative;
    margin: 0 auto;
    width: 100px;
    height: 100px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.facility-item .facility-icon::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .9);
    transition: .5s;
    z-index: 1;
}

.facility-item .facility-icon span {
    position: absolute;
    content: "";
    width: 15px;
    height: 30px;
    top: 0;
    left: 0;
    border-radius: 50%;
}

.facility-item .facility-icon span:last-child {
    left: auto;
    right: 0;
}

.facility-item .facility-icon i {
    position: relative;
    z-index: 2;
}

.facility-item .facility-text {
    position: relative;
    min-height: 250px;
    padding: 30px;
    border-radius: 100%;
    display: flex;
    text-align: center;
    justify-content: center;
    flex-direction: column;
}

.facility-item .facility-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .9);
    transition: .5s;
    z-index: 1;
}

.facility-item .facility-text * {
    position: relative;
    z-index: 2;
}

.facility-item:hover .facility-icon::before,
.facility-item:hover .facility-text::before {
    background: transparent;
}

.facility-item * {
    transition: .5s;
}

.facility-item:hover * {
    color: #FFFFFF !important;
}


/*** About ***/
.about-img img {
    transition: .5s;
}

.about-img img:hover {
    background: var(--primary) !important;
}


/*** Classes ***/

.gallery-box {
    width: 100%;
    height: 250px; /* FIXED HEIGHT */
    overflow: hidden;
    border-radius: 12px;
}

.gallery-box img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* IMPORTANT */
    display: block;
    transition: 0.3s;
}

/* Hover effect */
.gallery-box:hover img {
    transform: scale(1.05);
}

/*** Team ***/
.team-item .team-text {
    position: absolute;
    width: 250px;
    height: 250px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #FFFFFF;
    border: 17px solid var(--light);
    border-radius: 250px;
    transition: .5s;
}

.team-item:hover .team-text {
    border-color: var(--primary);
}


/*** Testimonial ***/
.testimonial-carousel {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 576px) {

    .testimonial-carousel {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

.testimonial-carousel .testimonial-item .border {
    border: 1px dashed rgba(0, 185, 142, .3) !important;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 45px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 45px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    border-color: var(--primary);
    background: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    font-size: 16px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary) !important;
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: rgba(255,255,255,0.5);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: #FFFFFF;
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .copyright a:hover,
.footer .footer-menu a:hover {
    color: var(--primary) !important;
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/* Mission & Vision Styling */

.mission-box, .vision-box {
    background: #f8f9fa;
    border-radius: 20px;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

/* Left border accent */
.mission-box::before {
    content: "";
    position: absolute;
    width: 6px;
    height: 100%;
    background: #FE5D37; /* primary orange */
    left: 0;
    top: 0;
}

.vision-box::before {
    content: "";
    position: absolute;
    width: 6px;
    height: 100%;
    background: #0d6efd; /* blue */
    left: 0;
    top: 0;
}

.mission-box:hover, .vision-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.icon {
    font-size: 40px;
    color: #FE5D37;
}

.vision-box .icon {
    color: #0d6efd;
}

.why-bright-munchkins {
    padding: 50px 20px;
    background: #f9f9f9;
}

.why-bright-munchkins h2 {
    text-align: center;
    margin-bottom: 20px;
}

.why-bright-munchkins p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.feature-item {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

/* Mini Feature Style */
.mini-feature {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 12px 15px;
    border-radius: 10px;
    transition: 0.3s;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    font-size: 14px;
    font-weight: 500;
}

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

.mini-feature .icon {
    font-size: 18px;
    margin-right: 10px;
    padding: 10px;
    border-radius: 50%;
    color: #fff;
}

/* Theme colors */
.mini-feature .blue {
    background: #0687d1;
}

.mini-feature .orange {
    background: #FE5D37;
}

/* ===== PREMIUM FAQ ===== */

.custom-faq .accordion-item {
    border: none;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Question */
.custom-faq .accordion-button {
    font-size: 17px;
    font-weight: 600;
    color: #103741;
    background: #fff;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Question icon */
.custom-faq .accordion-button::before {
    content: "\f059"; /* Font Awesome question icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
    color: #FE5D37;
}

/* Remove default arrow */
.custom-faq .accordion-button::after {
    content: "+";
    font-size: 22px;
    font-weight: bold;
    background-image: none !important;
    transform: none;
    color: #0687d1;
}

/* Open state (minus) */
.custom-faq .accordion-button:not(.collapsed)::after {
    content: "−";
    color: #FE5D37;
}

/* Active question */
.custom-faq .accordion-button:not(.collapsed) {
    background: #0687d1;
    color: #fff;
}

/* Answer */
.custom-faq .accordion-body {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    background: #f9f9f9;
    padding: 18px 20px;
}

/* Remove focus border */
.custom-faq .accordion-button:focus {
    box-shadow: none;
}

/* FIX CLASS IMAGES SIZE */
.classes-item .rounded-circle {
    width: 220px !important;
    height: 220px !important;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* IMAGE INSIDE CIRCLE */
.class-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* THIS MAKES ALL IMAGES SAME */
}
.school-name{
    color:#0d6efd;
    font-weight:bold;
    font-size:24px;
    margin-left:10px;
    line-height:1.2;
    word-break: break-word;
}

@media (max-width:768px){
    .school-name{
        font-size:16px;
    }
}


