/********** Template CSS **********/
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,300&display=swap');

:root {
    --primary: #27ae60;
    --light: #F0FBFC;
    --dark: #181d38;
}

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

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

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

.bg-blue {
    background: #0984e3;
}
/*** 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: 'Roboto', 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: #5f27cd;
}

.owl-carousel-item .img-fluid {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mtop-mobile{
    margin-top: 0px;
}

.header-carousel .owl-carousel-item {
    min-height: 100vh;
}

.mtop-mobile-text{
    margin-top: -5rem;
}

@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-brand h2 {
        font-size: 15px;
    }

    .navbar-brand img {
        width: 35px;
    }

    #school-logo {
        display: none;
    }

    .mtop-mobile{
        margin-top: 4rem !important;
        clear: both;
    }

    .mtop-mobile-img-view{
        padding-top: 10rem;
    }
    .mtop-mobile-text{
        margin-top: -8rem;
    }
    .mobile-margin-nav {
        margin-bottom: 0px;
        width: 100%;
        text-align: left;
        padding-left: 2rem;
    }
}

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

.navbar-light .navbar-nav .nav-link {
    color: #341f97;
    font-weight: 600;
}

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

.mobile-margin-nav{
    margin-bottom: 0px;
}

@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;
    }

    .mtop-mobile{
        margin-top: 5rem !important;
        clear: both;
    }

    .mtop-mobile-img-view{
        padding-top: 10rem;
    }
    .mtop-mobile-text{
        margin-top: -8rem;
    }
    .mobile-margin-nav{
        margin-bottom: 0px;
    }
}


/*** Header carousel ***/
@media (min-width: 768px) {
    .mtop-mobile{
        margin-top: 4rem !important;
        clear: both;
    }

    .mtop-mobile-img-view{
        padding-top: 20rem;
    }
    .header-carousel .owl-carousel-item {
        min-height: 100vh !important;
    }

    .mtop-mobile-text{
        margin-top: -8rem;
    }
}
@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        min-height: 100vh !important;
    }

    .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 .owl-prev,
    .header-carousel .owl-nav .owl-next {
        visibility: hidden;
    }

    .mtop-mobile{
        margin-top: 4rem !important;
        clear: both;
    }

    .mtop-mobile-img-view{
        padding-top: 10rem;
    }

    .display-3{
        font-size: 30px !important;
        margin-top: 30px !important;
    }
    .font-15{
        font-size: 15px !important;
        margin-top: 30px !important;
        padding-top: 20px !important;
    }

    .font-17{
        font-size: 16px !important;
        margin-top: 30px !important;
    }
    .mtop-mobile-text{
        margin-top: -18rem;
    }
    
}

.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: #2193b0;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to left, #6dd5ed, #2193b0);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to left, #6dd5ed, #2193b0); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    border-color: #fff;
}

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

.btn-gradient {
    background: #2193b0;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to left, #6dd5ed, #2193b0);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to left, #6dd5ed, #2193b0); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    color: #fff;
}

.btn-gradient:hover {
    color: #fff;
    opacity: 0.8;
}

.text-blue {
    color: #341f97;
}
.text-blue:hover {
    color: #341f97;
}

/* width */
::-webkit-scrollbar {
    width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #dfe6e9;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #2193b0;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to left, #6dd5ed, #2193b0);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to left, #6dd5ed, #2193b0); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #2193b0;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to left, #6dd5ed, #2193b0);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to left, #6dd5ed, #2193b0); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.sub-title {
    color: #341f97;
    -webkit-text-fill-color: #0984e3; /* Will override color (regardless of order) */
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #fff;
}

.display-3 {
    font-size: 55px;
}

.blur{
    opacity: 1 !important;
}

/*landing page admission button*/
.button-admission {
    min-width: 300px;
    min-height: 60px;
    font-family: 'Nunito', sans-serif;
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    font-weight: 700;
    color: #313133;
    background: #ffca2c;
    background: linear-gradient(90deg, #ffca2c 0%, #ffd92e 100%);
    border: none;
    border-radius: 1000px;
    box-shadow: 12px 12px 24px rgba(255, 202, 44, .64);
    transition: all 0.3s ease-in-out 0s;
    cursor: pointer;
    outline: none;
    position: relative;
    padding: 10px;
}

.button-admission::before {
    content: '';
    border-radius: 1000px;
    min-width: calc(300px + 12px);
    min-height: calc(60px + 12px);
    border: 6px solid rgba(255, 202, 44, .8);
    box-shadow: 0 0 60px rgba(255, 202, 44, .64);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all .3s ease-in-out 0s;
}

.button-admission:hover, .button-admission:focus {
    color: #313133;
    transform: translateY(-6px);
}

.button-admission:hover::before, .button-admission:focus::before {
    opacity: 1;
}

.button-admission::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 100%;
    border: 6px solid rgba(255, 202, 44, .5);
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: ring 1.5s infinite;
    /*display: none; /* Hide the pulse initially */
}

.button-admission:hover::after{
    display: none; /* Hide the pulse on mobile view */
}

.button-admission.show-pulse::after {
    /* Display the pulse when the show-pulse class is present */
    display: block !important;
}

@keyframes ring {
    0% {
        width: 30px;
        height: 30px;
        opacity: 0;
    }
    50% {
        width: 200px;
        height: 200px;
        opacity: 1;
    }
    100% {
        width: 30px;
        height: 30px;
        opacity: 0;
    }
}

.mobile-hide {
    display: block;
}

.mobile-show {
    display: none;
}

/* Adjust pulse animation for mobile view */
@media (max-width: 600px) {
    @keyframes ring {
        0% {
            width: 30px;
            height: 30px;
            opacity: 0;
        }
        50% {
            width: 160px;
            height: 160px;
            opacity: 1;
        }
        100% {
            width: 30px;
            height: 30px;
            opacity: 0;
        }
    }
}

/* responsiveness */
@media (max-width: 600px) {
    .button-admission {
        min-width: 200px;
        font-size: 18px;
    }

    .button-admission::before {
        min-width: calc(200px + 12px);
        min-height: calc(60px + 12px);
    }

    .mobile-hide {
        display: none;
    }

    .mobile-show {
        display: block;
    }
}


