@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@400;500;600&family=Nunito:wght@600;700;800&display=swap');
@import url('style.css');

:root {
    --primary: #06BBCC;
    --secondary: #757575;
    --light: #F0FBFC;
    --dark: #181d38;
}

body {
    font-family: 'Heebo', sans-serif;
    color: #555555;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Nunito', sans-serif;
    color: var(--dark);
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.back-to-top {
    position: fixed !important;
    right: 30px !important;
    bottom: 30px !important;
    left: auto !important;
    z-index: 9999 !important;
}


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

/* Custom School Ring & Icon Spinner */
.spinner-school-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner-school-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid rgba(6, 187, 204, 0.1);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spinSchoolRing 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.spinner-school-icon {
    font-size: 32px !important;
    color: var(--primary) !important;
    animation: pulseSchoolIcon 1.5s ease-in-out infinite alternate;
}

.spinner-school-text {
    letter-spacing: 2px;
    font-size: 16px;
    text-transform: uppercase;
    animation: fadeInText 1.5s ease-in-out infinite alternate;
}

@keyframes spinSchoolRing {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulseSchoolIcon {
    0% { transform: scale(0.9); opacity: 0.8; }
    100% { transform: scale(1.1); opacity: 1; }
}

@keyframes fadeInText {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}


/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    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;
}


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

.navbar-light .navbar-brand,
.navbar-light a.btn,
.navbar .navbar-brand,
.navbar a.btn {
    height: 75px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: var(--dark);
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

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

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

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

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

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


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(0, 0, 0, .75);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}

/*** Header carousel ***/
@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .75), rgba(0, 0, 0, .75)), url(../img/school-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}


/*** Facts ***/
@media (min-width: 991.98px) {
    .facts {
        position: relative;
        margin-top: -75px;
        z-index: 1;
    }
}


/*** Courses ***/
.courses {
    min-height: 100vh;
    background: linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, .9)), url(../img/school-1.jpg) center center no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

.courses-item .courses-overlay {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.courses-item:hover .courses-overlay {
    height: 100%;
    opacity: 1;
}


/*** Team ***/
.team-items {
    margin: -.75rem;
}

.team-item {
    padding: .75rem;
}

.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s;
    z-index: -1;
}

.team-item:hover::after {
    height: 100%;
    background: var(--primary);
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .75);
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-social {
    height: 100%;
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    height: 40px;
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 20px;
    height: 20px;
    background: transparent;
    border: 2px solid var(--primary);
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 40px;
    height: 40px;
    background: var(--primary);
}

.testimonial-carousel .owl-item img {
    width: 150px;
    height: 150px;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    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;
    color: var(--light);
    margin-right: 10px;
}

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

.copyright {
    background: #092139;
}

.copyright a {
    color: var(--primary);
}

.copyright a:hover {
    color: var(--light);
}
.contact-container {
    display: flex;
    gap: 30px;
    padding: 40px;
    background: #f5f7fa;
}

.contact-box {
    flex: 1;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

    .contact-box h2 {
        margin-bottom: 20px;
        font-weight: bold;
    }

.form-row {
    display: flex;
    gap: 15px;
}

.form-control {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    outline: none;
    transition: 0.3s;
}

    .form-control:focus {
        border-color: #007bff;
    }

.full {
    width: 100%;
}

.btn-send {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    border: none;
    color: white;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

    .btn-send:hover {
        background: #05a8b9;
    }

.map-box {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
}

    .map-box iframe {
        width: 100%;
        height: 100%;
        min-height: 400px;
    }
    .contact-card {
background: #f5f7f8;
border-radius: 25px;
padding: 40px 25px;
transition: 0.4s;
position: relative;
overflow: hidden;
height: 100%;
}

/* Hover Effect */
.contact-card:hover {
transform: translateY(-8px);
box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* ICON CIRCLE */
.icon-box {
width: 90px;
height: 90px;
margin: 0 auto;
border-radius: 50%;
border: 3px solid #1f6f63;
display: flex;
align-items: center;
justify-content: center;
position: relative;
}

/* Inner Circle */
.icon-box::before {
content: "";
position: absolute;
width: 65px;
height: 65px;
background: #1f6f63;
border-radius: 50%;
}

/* ICON */
.icon-box i {
position: relative;
color: #fff;
font-size: 26px;
z-index: 1;
}

/* TITLE */
.contact-card h5 {
margin-top: 20px;
font-weight: 700;
font-size: 20px;
}

/* TEXT */
.contact-card p {
margin-top: 10px;
font-size: 15px;
color: #555;
line-height: 1.6;
}

/* BOTTOM SHAPE */
.contact-card::after {
content: "";
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 20px;
background: #1f6f63;
clip-path: polygon(0 0, 100% 100%, 0 100%);
}
.newsletter-box {
    display: flex;
    max-width: 450px;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

    /* INPUT */
    .newsletter-box input {
        flex: 1;
        min-width: 0; 
        padding: 14px 15px;
        border: none;
        outline: none;
        background: #e9ecef;
    }

    /* BUTTON */
    .newsletter-box button {
        white-space: nowrap; 
        padding: 0 20px;
        border: none;
        background: var(--primary);
        color: #fff;
        font-weight: 600;
        flex-shrink: 0; 
    }
.enquiry-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 15px;
    background: #f8fafc !important; /* Modern light background color */
}

.enquiry-wrapper::before {
    display: none !important; /* Remove overlay */
}

/* Card design */
.enquiry-card {
    position: relative;
    z-index: 2; /* Sits above the background overlay */
    width: 100%;
    background: #ffffff;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #eef2f5;
    border-top: 6px solid var(--primary); /* Turquoise top border */
}

    /* Hover effect (premium feel) */
    .enquiry-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    }

/* Side image styling & hover effect */
.enquiry-img-wrap {
    transition: all 0.3s ease;
}
.enquiry-img-wrap:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08) !important;
}
.enquiry-img-wrap .image-overlay {
    transition: all 0.3s ease;
}
.enquiry-img-wrap:hover .image-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.2)) !important;
}

    /* Inputs styling */
    .enquiry-card .form-control {
        border-radius: 10px;
        padding: 12px 15px;
        border: 1px solid #e2e8f0;
        background-color: #f8fafc;
        font-size: 15px;
        color: #334155;
        transition: all 0.3s ease;
    }

    .enquiry-card .form-control:focus {
        border-color: var(--primary) !important;
        background-color: #ffffff;
        box-shadow: 0 0 0 3px rgba(6, 187, 204, 0.15) !important;
    }

    /* Labels */
    .enquiry-card label {
        font-weight: 600;
        color: #475569;
        margin-bottom: 6px;
        font-size: 14px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    /* Button */
    .enquiry-card .btn-submit {
        background-color: #ff9f1a !important;
        border-color: #ff9f1a !important;
        color: #ffffff !important;
        font-weight: 600;
        font-size: 16px;
        border-radius: 30px;
        padding: 12px 50px;
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(255, 159, 26, 0.2);
    }

    .enquiry-card .btn-submit:hover {
        background-color: #e08b10 !important;
        border-color: #e08b10 !important;
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(255, 159, 26, 0.3);
    }
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

    .gallery img {
        width: 100%;
        height: 70px;
        object-fit: cover;
        border-radius: 6px;
    }

/* Links alignment */
.footer .btn-link {
    padding: 3px 0;
    font-size: 14px;
    color: #ccc;
}

    .footer .btn-link:hover {
        color: #fff;
        letter-spacing: 1px;
    }
.footer-logo {
    width: 60px;  
    height: 60px;
    object-fit: contain;
    border-radius: 50%;
}
.footer-logo {
    border: 2px solid #fff;
    padding: 2px;
}
/* Privacy Section */
.privacy-section {
    background: #f5f7fa;
    padding: 60px 15px;
    min-height: 100vh;
}

/* Card */
.privacy-card {
    max-width: 900px;
    margin: auto;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

    /* Heading */
    .privacy-card h1 {
        font-size: 42px;
        font-weight: 700;
        color: #1f355e;
        margin-bottom: 25px;
        font-family: Georgia, serif;
    }

    /* Sub Heading */
    .privacy-card h3 {
        font-size: 24px;
        color: #1f355e;
        margin-top: 25px;
        margin-bottom: 10px;
        font-weight: 600;
    }

    /* Paragraph */
    .privacy-card p {
        font-size: 17px;
        line-height: 1.9;
        color: #555;
        margin-bottom: 15px;
    }
.header-logo-icon {
    height: 60px; 
    width: auto;
    object-fit: contain;
}

.header-logo-text {
    height: 45px; 
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

/* Navbar full white hatao */
.navbar {
    background-color: floralwhite !important;
}
/* Logo area (left side) */
.navbar-brand {
    background-color: transparent !important;
    padding: 0 15px;
    margin-right: 0;
    display: flex;
    align-items: center;
}

/* Menu area (right side grey) */
.navbar-collapse {
    margin-left: 0 !important;
    padding-left: 0 !important;
}
.navbar-brand.border-end {
    border-right: none !important;
}

.navbar-nav {
    align-items: center;
}
.navbar .nav-link:hover {
    font-weight: 700;
}
/* DROPDOWN MENU (GLASS EFFECT) */
.navbar .dropdown-menu {
    background: rgba(13, 43, 77, 0.6); /* transparent dark blue */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 10px 0;
    min-width: 250px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.3s ease;
    display: block;
    visibility: hidden;
}

/* SHOW ON HOVER */
.navbar .dropdown:hover .dropdown-menu {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

/* DROPDOWN ITEMS */
.navbar .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-weight: 500;
    padding: 12px 20px;
    transition: all 0.3s ease;
}


    /* RIGHT ARROW */


    /* HOVER EFFECT */
    .navbar .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.08);
        padding-left: 25px;
    }

        /* HOVER ARROW COLOR */
        .navbar .dropdown-item:hover::after {
            color: #38bdf8;
        }

    /* DIVIDER LINE */
    .navbar .dropdown-item + .dropdown-item {
        border-top: 1px solid rgba(255,255,255,0.1);
    }

/* TOP NAV ARROW */
.navbar .dropdown-toggle::after {
    border-top-color: #ffffff;
}

/* BOOTSTRAP FIX */
.navbar .dropdown-menu {
    pointer-events: none;
}

.navbar .dropdown:hover .dropdown-menu {
    pointer-events: auto;
}
.carousel-caption h1 {
    font-size: 40px;
    line-height: 1.3;
}
@media (max-width: 768px) {
    .carousel-caption h1 {
        font-size: 28px;
    }
}
.stats-section {
    position: relative;
    background: url('/img/12.jpg') center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
    padding: 55px 0;
    overflow: hidden;
    color: #fff;
}

    .stats-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(15, 118, 110, 0.75);
    }

    .stats-section .container {
        position: relative;
        z-index: 2;
    }

.particles {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Content top */
.stats-section .container {
    position: relative;
    z-index: 10;
}

/* Vertical Border */
.stat-box {
    border-right: 1px solid rgba(255,255,255,.2);
    padding: 20px;
}

    .stat-box:last-child {
        border-right: none;
    }

.icon {
    font-size: 55px;
    margin-bottom: 15px;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.3));
}

.stat-box:hover .icon {
    transform: translateY(-8px);
    color: #ffd700;
}

.stat-box h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.1;
}

.stat-box h4 {
    font-size: 18px;
    margin: 0;
}
/* ------------------ */
/* Moving Stars */
/* ------------------ */

.particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

    .particles span {
        position: absolute;
        display: block;
        width: 5px;
        height: 5px;
        background: rgba(255,255,255,.9);
        border-radius: 50%;
        animation: animate 18s linear infinite;
    }
        /* Different positions */

        .particles span:nth-child(1) {
            left: 5%;
            animation-duration: 12s;
            animation-delay: 0s;
            top: 100%;
        }

        .particles span:nth-child(2) {
            left: 15%;
            animation-duration: 18s;
            animation-delay: 2s;
            top: 100%;
        }

        .particles span:nth-child(3) {
            left: 25%;
            animation-duration: 15s;
            animation-delay: 1s;
            top: 100%;
        }

        .particles span:nth-child(4) {
            left: 35%;
            animation-duration: 20s;
            animation-delay: 3s;
            top: 100%;
        }

        .particles span:nth-child(5) {
            left: 45%;
            animation-duration: 13s;
            animation-delay: 2s;
            top: 100%;
        }

        .particles span:nth-child(6) {
            left: 55%;
            animation-duration: 17s;
            animation-delay: 1s;
            top: 100%;
        }

        .particles span:nth-child(7) {
            left: 65%;
            animation-duration: 22s;
            animation-delay: 4s;
            top: 100%;
        }

        .particles span:nth-child(8) {
            left: 75%;
            animation-duration: 14s;
            animation-delay: 2s;
            top: 100%;
        }

        .particles span:nth-child(9) {
            left: 85%;
            animation-duration: 19s;
            animation-delay: 1s;
            top: 100%;
        }

        .particles span:nth-child(10) {
            left: 95%;
            animation-duration: 16s;
            animation-delay: 3s;
            top: 100%;
        }

        .particles span:nth-child(11) {
            left: 10%;
            animation-duration: 21s;
            animation-delay: 5s;
            top: 100%;
        }

        .particles span:nth-child(12) {
            left: 30%;
            animation-duration: 15s;
            animation-delay: 2s;
            top: 100%;
        }

        .particles span:nth-child(13) {
            left: 50%;
            animation-duration: 12s;
            animation-delay: 1s;
            top: 100%;
        }

        .particles span:nth-child(14) {
            left: 70%;
            animation-duration: 17s;
            animation-delay: 3s;
            top: 100%;
        }

        .particles span:nth-child(15) {
            left: 90%;
            animation-duration: 14s;
            animation-delay: 2s;
            top: 100%;
        }

        .particles span:nth-child(16) {
            left: 20%;
            animation-duration: 19s;
            animation-delay: 1s;
            top: 100%;
        }

        .particles span:nth-child(17) {
            left: 40%;
            animation-duration: 15s;
            animation-delay: 4s;
            top: 100%;
        }

        .particles span:nth-child(18) {
            left: 60%;
            animation-duration: 18s;
            animation-delay: 3s;
            top: 100%;
        }

        .particles span:nth-child(19) {
            left: 80%;
            animation-duration: 13s;
            animation-delay: 2s;
            top: 100%;
        }

        .particles span:nth-child(20) {
            left: 98%;
            animation-duration: 20s;
            animation-delay: 1s;
            top: 100%;
        }

@keyframes animate {

    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        transform: translateY(-900px) scale(1.8);
        opacity: 0;
    }
}

.testimonial-area {
    position: relative;
}

.ts-bg {
    background-image: url(../img/testimonial/bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
}

    .ts-bg::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: rgba(1, 39, 88, .85);
    }

.testimonial-item {
    background: var(--color-white);
    border-radius: 40px 40px 40px 0;
    padding: 25px 25px;
    margin: 6px;
    position: relative;
    border-bottom: 5px solid var(--theme-color2);
}

.testimonial-content {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.testimonial-quote p {
    color: var(--body-text-color);
    font-style: italic;
    font-weight: 500;
}

.testimonial-author-info {
    margin: 15px 0 10px 0;
}

.testimonial-author-img {
    width: 75px;
    padding: 4px;
    border-radius: 50px;
    border: 2px dashed var(--theme-color2);
}

    .testimonial-author-img img {
        border-radius: 50%;
    }

.testimonial-author-info h4 {
    font-size: 20px;
    color: var(--color-dark);
    margin-bottom: 2px;
}

.testimonial-author-info p {
    color: var(--theme-color2);
    font-weight: 500;
}

.testimonial-quote-icon {
    position: absolute;
    right: 0px;
    top: 0px;
    color: var(--color-white);
    font-size: 30px;
    width: 40px;
    height: 40px;
    line-height: 41px;
    text-align: center;
    background: var(--theme-color2);
    border-radius: 50px 50px 50px 0;
}

.testimonial-area .owl-dots {
    text-align: center;
    margin-top: 30px;
}

    .testimonial-area .owl-dots .owl-dot span {
        background: var(--theme-color2);
        border-radius: 50px;
        margin: 5px;
        width: 8px;
        height: 8px;
        display: inline-block;
        transition: var(--transition);
    }

    .testimonial-area .owl-dots .owl-dot.active span {
        width: 20px;
    }

.testimonial-rate {
    color: var(--theme-color2);
    margin-bottom: 15px;
}

.testimonial-area2.ts-bg {
    padding-top: 120px;
    background-attachment: fixed;
}

/* ==========================================================================
   🔥 PREMIUM WEBSITE STYLE UPGRADES (GLASSMORPHISM & HERO BANNER)
   ========================================================================== */

/* Keyframes for animations */
@keyframes slideDownHeader {
    0% {
        opacity: 0;
        transform: translateY(-40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInContainer {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes kenBurnsZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.08);
    }
}

/* 1. Premium Subpage Hero Banner (.page-header) */
.page-header {
    position: relative;
    overflow: hidden;
    padding: 130px 0 !important;
    margin-top: 0 !important;
    margin-bottom: 3rem !important;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: transparent !important; /* transparent because the pseudo-element holds the image */
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.2);
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url('/img/happy_school_children.png') center center no-repeat;
    background-size: cover;
    z-index: -1;
    animation: kenBurnsZoom 15s ease-out infinite alternate;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Prevent image search on other pages from showing old style image */
.page-header.about-header::before {
    /* If a specific page header style is used, keep it standard but with same effects */
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url('/img/happy_school_children.png') center center no-repeat;
    background-size: cover;
}

.page-header .container {
    position: relative;
    z-index: 2;
    animation: fadeInContainer 1s ease-out forwards;
}

/* Large Bold White Heading (60px) with slide-down animation */
.page-header h1,
.page-header .display-2,
.page-header .display-4 {
    font-size: 60px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    letter-spacing: -1px;
    margin-bottom: 20px !important;
    text-transform: capitalize;
    display: block !important; /* Force title to occupy its own line so breadcrumbs sit below */
    animation: slideDownHeader 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Glassmorphism breadcrumb container */
.page-header nav[aria-label="breadcrumb"],
.page-header .container > .breadcrumb {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(12px) saturate(120%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(120%) !important;
    padding: 10px 30px !important;
    border-radius: 50px !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2) !important;
    animation: fadeInContainer 1.2s ease-out forwards;
}

/* Breadcrumbs typography and color changes */
.page-header .breadcrumb {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* If .breadcrumb is nested inside a nav wrapper, prevent double styling */
.page-header nav[aria-label="breadcrumb"] .breadcrumb {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 0 !important;
}

.page-header .breadcrumb-item {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9) !important;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.page-header .breadcrumb-item a:hover {
    color: var(--primary) !important;
    text-shadow: 0 0 10px rgba(6, 187, 204, 0.5);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6) !important;
    content: ">>" !important;
    padding: 0 10px;
    font-size: 14px;
}

/* Active page in orange template color */
.page-header .breadcrumb-item.active {
    color: #ff9f1a !important;
    font-weight: 600;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .page-header {
        padding: 90px 0 !important;
        min-height: 280px;
    }
    .page-header h1,
    .page-header .display-2,
    .page-header .display-4 {
        font-size: 38px !important;
        margin-bottom: 15px !important;
    }
    .page-header nav[aria-label="breadcrumb"] {
        padding: 8px 20px;
    }
    .page-header .breadcrumb-item {
        font-size: 13px;
    }
}


/* 2. Project-Wide Glassmorphic Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.82) !important;
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 5px 0 !important;
}

/* Premium links style in Navbar */
.navbar .navbar-nav .nav-link {
    position: relative;
    padding: 28px 0;
    margin-right: 25px;
    transition: color 0.3s ease;
}

/* Animated bottom line hover effect on Navbar links */
.navbar .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar .navbar-nav .nav-link:hover::after,
.navbar .navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary) !important;
    transform: translateY(-1px);
}

/* Dropdown menu upgrades */
.navbar .nav-item .dropdown-menu {
    border-radius: 12px !important;
    background: #1e3c72 !important; /* Royal Blue background */
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2) !important;
    padding: 10px 0;
    overflow: hidden;
}

.navbar .dropdown-item {
    transition: all 0.3s ease;
    padding: 10px 20px;
    font-weight: 500;
    color: #ffffff !important; /* White text on royal blue background */
}

.navbar .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: var(--primary) !important; /* Vadli (turquoise) text on hover */
    padding-left: 25px;
}

/* Topbar Premium aesthetics */
.bg-dark {
    background-color: black !important;
}


/* 3. Modern Footer & General Premium Effects */
.footer {
    background: #08203a !important;
    border-top: 5px solid var(--primary);
    position: relative;
    overflow: hidden;
}

/* Subtle background accent glow in footer */
.footer::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(243, 189, 0, 0.15) 0%, rgba(243, 189, 0, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer .btn.btn-link {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.footer .btn.btn-link:hover {
    color: var(--primary) !important;
    transform: translateX(8px);
    letter-spacing: 0.5px !important;
}

/* General premium transitions and micro-interactions */
.btn {
    border-radius: 6px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    overflow: hidden;
    position: relative;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn:active {
    transform: translateY(0);
}

/* Card glass-morphism effect upgrades (like Admission Enquiry, General Cards) */
.enquiry-card, .contact-box {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.enquiry-card:hover, .contact-box:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid rgba(243, 189, 0, 0.3);
}

/* Image gallery zoom effect */
.gallery img {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.gallery img:hover {
    transform: scale(1.1) rotate(2deg);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 2;
    cursor: pointer;
}


/* ==========================================================================
   🏫 eLEARNING TEMPLATE SIGNATURE STYLES
   ========================================================================== */

/*** Section Title Underlines ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 4px;
    left: -40px;
    background: var(--primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 5px;
    left: -60px;
    background: var(--primary);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}

/*** Service Highlight Cards ***/
/*** Service Highlight Cards ***/
.service-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(6, 187, 204, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-item:hover {
    transform: translateY(-12px);
    background: linear-gradient(135deg, var(--primary) 0%, #05a7b8 100%) !important;
    box-shadow: 0 20px 40px rgba(6, 187, 204, 0.35);
    border-color: transparent;
}

.service-item * {
    transition: all 0.4s ease;
}

.service-item i {
    display: inline-block;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-item h5 {
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    min-height: 54px; /* Uniform height for titles */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px !important;
    color: #181d38;
}

.service-item p {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #555555;
    margin-bottom: 0 !important;
}

.service-item:hover h5,
.service-item:hover p,
.service-item:hover i {
    color: #ffffff !important; /* Force pure white contrast on hover */
}

.service-item:hover i {
    transform: translateY(-10px) scale(1.25) rotate(360deg);
    filter: drop-shadow(0 8px 12px rgba(255, 255, 255, 0.6));
}

/*** Category & Course Item Image Zooms ***/
.category img,
.course-item img,
.team-item img {
    transition: all 0.5s ease;
}

.category a:hover img,
.course-item:hover img,
.team-item:hover img {
    transform: scale(1.1);
}

/*** Testimonial Carousel Overlay Borders ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item.center .testimonial-text * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 1px solid #CCCCCC;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}

/* ==========================================================================
   HOMEPAGE CUSTOM STATS & GALLERY ADDITIONS
   ========================================================================== */

/* Stats Section Overlay & Layout */
.stats-section {
    position: relative;
    background: url('/img/12.jpg') center center no-repeat !important;
    background-size: cover !important;
    background-attachment: fixed !important;
    padding: 40px 0; /* Reduced from 60px */
    overflow: hidden;
    color: #fff;
    border-bottom: 5px solid var(--primary);
}

.stats-section::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: rgba(10, 60, 54, 0.8) !important; /* Semi-transparent dark teal overlay (#0a3c36) */
    display: block !important;
}

/* Stat Box Layout */
.stats-section .stat-box {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    padding: 25px 15px;
    transition: all 0.3s ease;
}

.stats-section .stat-box:last-child {
    border-right: none;
}

/* Rounded Turquoise Icon Badge with Outer Spinning Ring */
.stats-section .stat-icon-wrapper {
    width: 90px;
    height: 90px;
    background: #ffffff; /* White background */
    border: 3px solid var(--primary); /* Turquoise border */
    border-radius: 50%; /* Perfect circle */
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px auto;
    box-shadow: 0 8px 25px rgba(6, 187, 204, 0.15);
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Aaju baju border effect (Expanding dashed outline) */
.stats-section .stat-icon-wrapper::after {
    content: "";
    position: absolute;
    inset: -6px;
    border: 2px dashed rgba(6, 187, 204, 0.4);
    border-radius: 50%;
    transition: all 0.4s ease;
    pointer-events: none;
}

.stats-section .stat-icon-wrapper i {
    font-size: 40px; /* Thoda mota/larger icon */
    color: var(--primary); /* Vadli (turquoise) icon color */
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Stat Box Hovers */
.stats-section .stat-box:hover {
    transform: translateY(-5px);
}

/* Hover triggers: icon background fills, dashed ring expands & spins */
.stats-section .stat-box:hover .stat-icon-wrapper {
    background: var(--primary); /* Fills with turquoise */
    border-color: #ffffff; /* Outline turns white */
    transform: scale(1.08);
    box-shadow: 0 12px 30px rgba(6, 187, 204, 0.45);
}

.stats-section .stat-box:hover .stat-icon-wrapper i {
    color: #ffffff; /* Icon turns white */
    transform: scale(1.1) rotate(360deg); /* Icon spins and bounces slightly */
}

.stats-section .stat-box:hover .stat-icon-wrapper::after {
    inset: -10px; /* Expands outwards */
    border-color: #ffffff; /* Border turns white */
    animation: spin-border-dash 6s linear infinite; /* Slowly rotates */
}

/* Border rotation keyframes */
@keyframes spin-border-dash {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.stats-section .stat-box h2 {
    font-size: 44px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 5px;
    letter-spacing: -0.5px;
}

.stats-section .stat-box h4 {
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Home Gallery Styles */
.home-gallery .gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    background: #000;
}

.home-gallery .gallery-img {
    width: 100%;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0.95;
}

/* Vadli (turquoise) hover overlay with + sign */
.home-gallery .gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 187, 204, 0.85); /* Semi-transparent vadli color overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 2;
}

.home-gallery .gallery-overlay::before {
    content: "+";
    font-size: 64px;
    color: #ffffff;
    font-weight: 300;
    transform: scale(0.6);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Hover state triggers */
.home-gallery .gallery-card:hover .gallery-img {
    transform: scale(1.08);
    opacity: 0.7;
}

.home-gallery .gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.home-gallery .gallery-card:hover .gallery-overlay::before {
    transform: scale(1);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .stats-section .stat-box {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }
    .stats-section .stat-box:last-child {
        border-bottom: none;
    }
}

/* Custom Topbar Styles */
.custom-topbar {
    background-color: #0a3c36 !important; /* Dark teal/green color */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'Heebo', sans-serif;
}

.topbar-social-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    background-color: #ff9f1a !important; /* Orange background */
    border: 1.5px solid #ffffff;
    border-radius: 50%;
    color: #ffffff !important; /* White icons */
    margin: 0 4px;
    font-size: 11px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.topbar-social-btn:hover {
    background-color: var(--primary) !important; /* Shift to turquoise on hover */
    transform: scale(1.15) rotate(15deg);
}

.text-orange {
    color: #ff9f1a !important; /* Orange matching the icons */
}

.border-white-15 {
    border-color: rgba(255, 255, 255, 0.15) !important;
}

/* Privacy Policy Page Styles */
.privacy-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.privacy-card {
    background: #ffffff;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #eef2f5;
    max-width: 850px;
    margin: 0 auto;
}

.privacy-card h2 {
    color: var(--primary) !important;
    font-weight: 800;
}

.privacy-card h4 {
    font-size: 1.25rem;
    color: var(--dark) !important;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-family: 'Nunito', sans-serif;
}

.privacy-card p {
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.privacy-card .lead {
    font-size: 1.15rem;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .privacy-section {
        padding: 3rem 0;
    }
    .privacy-card {
        padding: 2rem 1.5rem;
    }
}

.footer-gallery-img:hover {
    transform: scale(1.08);
    cursor: pointer;
}