/********** Template CSS **********/


.top-header{
    background: #F0FBFC;
    color: rgb(8, 15, 17);
    font-size: 14px;
}

.social-links a{

    width: 34px;
    height: 34px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    margin-left: 8px;

    color: white;
    text-decoration: none;

    font-size: 14px;

    transition: 0.3s;
}

/* Facebook */
.social-links a:nth-child(1){

    background: #1877F2;

}

/* Instagram Official Gradient */
.social-links a:nth-child(2){

    background: radial-gradient(circle at 30% 107%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285AEB 90%);

}

/* LinkedIn */
.social-links a:nth-child(3){

    background: #0A66C2;

}

/* YouTube */
.social-links a:nth-child(4){

    background: #FF0000;

}

.social-links a:hover{

    transform: scale(1.08);

}

.logo-box{
    width: 70px;
    height: 70px;

    background: white;
    color: #051c77;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid #051c77;
    border-radius: 12px;
 
    font-size: 30px;
}

.school-title{
    color: #051c77;
    font-weight: 700;

}


.navbar-custom{
    background: #051c77;
    padding-top: 0;
    padding-bottom: 0;
}
.navbar-toggler {
    border: 1px solid white;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-custom .nav-link{

    color: white !important;
    padding: 18px 16px !important;

    font-weight: 500;
    transition: 0.3s;
}

.navbar-custom .nav-link:hover{

    background: rgba(255,255,255,0.15);

}

.dropdown-menu{

    border: none;
    border-radius: 10px;

    box-shadow: 0 8px 20px rgba(252, 250, 250, 0.1);

}

.dropdown-item:hover{

    background: #051c77;
    color: white;

}

.carousel-img {
    width: 100%;
    height: 75vh;
    object-fit: cover;
}

/* Desktop */
@media (min-width: 992px) {
    .carousel-img {
        height: 500px;
    }
}

/* Tablet */
@media (max-width: 991px) {
    .carousel-img {
        height: 420px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .carousel-img {
        height: 300px;
    }
}

:root {
    --primary: #051c77;
    --light: #F0FBFC;
    --dark: #181d38;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 700 !important;
}

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9998;
}


/*** 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-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    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: 0px;
}


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

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

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

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

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

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

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}




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

    .navbar .dropdown-menu.fade-down {
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header carousel ***/
/* Carousel Images */
.header-carousel .owl-carousel-item img {
    height: 100vh;
    object-fit: cover;
}

/* Dark Overlay */
.carousel-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
}

/* Title Styling */
.carousel-title {
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
    font-size: 60px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.4);
}

/* Tablet */
@media (max-width: 991px) {
    .carousel-title {
        font-size: 42px;
    }

    .header-carousel .owl-carousel-item img {
        height: 80vh;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .carousel-title {
        font-size: 28px;
        text-align: center;
    }

    .header-carousel .owl-carousel-item img {
        height: 65vh;
    }

    .row.align-items-center {
        justify-content: center;
        text-align: center;
    }
}
.page-header {
    background: linear-gradient(rgba(24, 29, 56, .7), rgba(24, 29, 56, .7)), url(../img/carousel-1.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-header-inner {
    background: rgba(15, 23, 43, .7);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.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 ***/
.service-item {
    background: var(--light);
    transition: .5s;
}

.service-item:hover {
    margin-top: -10px;
    background: var(--primary);
}

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

.service-item:hover * {
    color: var(--light) !important;
}









/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-weight: normal;
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

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

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    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 {
    letter-spacing: 1px;
    box-shadow: none;
}

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

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

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

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}
.carousel-img {
    height: 550px;
    object-fit: cover;
}

.carousel-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

@media (max-width: 768px) {
    .carousel-img {
        height: 350px;
    }

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

.custom-nav button {
    position: absolute;
    top: 60%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s ease;
}

.custom-nav button:hover {
    background:#051c77;
    transform: translateY(-50%) scale(1.08);
}

.custom-prev {
    left: 20px;
}

.custom-next {
    right: 20px;
}

@media (max-width: 768px) {
    .custom-nav button {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .custom-prev {
        left: 10px;
    }

    .custom-next {
        right: 10px;
    }
}

.owl-nav{
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
}

.owl-prev,
.owl-next{
    position: absolute;
    width: 50px;
    height: 50px;
    background: #051c77 !important;
    color: white !important;
    border-radius: 50% !important;
    font-size: 22px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.owl-prev{
    left: 20px;
}

.owl-next{
    right: 20px;
}

.owl-prev:hover,
.owl-next:hover{
    background: #0097a7 !important;
}

@media (max-width: 991px) {
    #navbarCollapse {
        display: none;
        width: 100%;
    }
}

.navbar-toggler {
    border-color: white;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-nav {
    flex-wrap: nowrap;
}

.navbar-nav .nav-link {
    white-space: nowrap;
}

.navbar-custom .nav-link {
    padding: 15px 10px !important;
    font-size: 18px;
}

@media (min-width: 992px) {
    .navbar-nav {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
    }

    .navbar-nav .nav-link {
        white-space: nowrap;
    }
}

.navbar-custom .nav-link {
    color: white !important;
    font-weight: 500;
    transition: 0.3s;
}

.navbar-custom .nav-link.active {
    color: #FFD700 !important;
    font-weight: 700 !important;
}
/* ===== HEADER CONTAINER ===== */
/* HEADER WRAPPER */
/* Container */
.container {
    width: 100%;
    padding: 10px 15px;
}

/* Header Section */
.header-section {
    display: flex;
    align-items: center;
    gap: 10px;              /* small gap between logo and title */
    flex-wrap: wrap;        /* allows wrapping on small screens */
}

/* Logo Box */
.logo-box {
    width: 70px;
    height: 70px;
    background: #fff;
    border: 2px solid #051c77;
    border-radius: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;        /* prevents shrinking */
}

/* Logo Image */
.logo-img {
    width: 90%;
    height: 90%;
    object-fit: contain;
}

/* School Title */
.school-title {
    font-size: 28px;
    font-weight: 700;
    color: #051c77;
    margin: 0;

    flex: 2;               /* takes remaining space */
    line-height: 1.2;
}

/* =========================
   MOBILE VIEW
========================= */
@media (max-width: 768px) {

    .header-section {
        flex-direction: row;   /* still in one line */
        align-items: center;
        gap: 8px;
    }

    .logo-box {
        width: 50px;
        height: 50px;
    }

    .school-title {
        font-size: 28px;
        line-height: 1.2;

        /* prevents text going outside screen */
        overflow-wrap: anywhere;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .school-title {
        font-size: 28px;
    }

    .logo-box {
        width: 45px;
        height: 45px;
    }
}

.language-switcher{
    display:flex;
    gap:8px;
}

.lang-btn{

    background:#fff;
    color:#0d6efd;

    border:1px solid #0d6efd;
    border-radius:20px;

    padding:6px 16px;

    font-size:14px;
    font-weight:600;

    cursor:pointer;
    transition:0.3s;
}

.lang-btn:hover{

    background:#0d6efd;
    color:white;

}

/* Hide Google UI */

.goog-te-banner-frame.skiptranslate{
    display:none !important;
}

body{
    top:0 !important;
}

.goog-te-gadget{
    display:none !important;
}
/* Hide Google Translate Top Bar */

.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

body {
    top: 0 !important;
}

/* Hide translate popup frame */
iframe.skiptranslate {
    display: none !important;
}

/* Hide Google translate branding area */
.goog-te-gadget {
    font-size: 0 !important;
}

.goog-te-gadget span,
.goog-logo-link {
    display: none !important;
}

.whatsapp-float {
    position: fixed;
    bottom: 90px; /* Moved up */
    right: 20px;
    width: 65px;
    height: 65px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 38px;
    height: 38px;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 80px; /* Moved up on mobile too */
        right: 15px;
    }

    .whatsapp-float img {
        width: 32px;
        height: 32px;
    }
}