/********** Template CSS **********/
:root {
    --primary: #F3BD00;
    --secondary: #757575;
    --light: #F3F6F8;
    --dark: #0C2B4B;
}

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

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

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    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,
.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 .navbar-brand,
.navbar a.btn {
    height: 80px
}

.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);
}

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

.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: #f4b400;
    border: none;
    color: white;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

    .btn-send:hover {
        background: #d89e00;
    }

.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: #f4b400;
        color: #fff;
        font-weight: 600;
        flex-shrink: 0; 
    }
.enquiry-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 15px;
    background: #f5f7fb;
}

/* Card design */
.enquiry-card {
    width: 100%;
    max-width: 900px;
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: 0.3s;
}

    /* Hover effect (premium feel) */
    .enquiry-card:hover {
        transform: translateY(-5px);
    }

    /* Inputs styling */
    .enquiry-card .form-control {
        border-radius: 8px;
        padding: 10px;
        border: 1px solid #ddd;
    }

        .enquiry-card .form-control:focus {
            border-color: #198754;
            box-shadow: 0 0 5px rgba(25,135,84,0.3);
        }

    /* Labels */
    .enquiry-card label {
        font-weight: 600;
        margin-bottom: 5px;
    }

    /* Button */
    .enquiry-card .btn {
        border-radius: 30px;
        font-weight: 600;
    }
.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 {
    height: 80px; 
    width: auto;
    object-fit: contain;
}
/* Navbar full white hatao */
.navbar {
    background-color: floralwhite !important;
}
/* Logo area (left side) */
.navbar-brand {
    background-color: white;
    padding: 10px 25px;
    margin-right: 0;
}

/* 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/about-6.png') 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;
}