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


body {
    overflow: auto;
}

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

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

.padding-y {
    padding-top: 60px;
    padding-bottom: 60px;
}

@media (max-width: 768px) {
    .padding-y {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}


.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;
    background: radial-gradient(circle at center, #0c2b4b 0%, #061626 100%);
    top: 0;
    left: 0;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.preloader-wrapper {
    position: relative;
    width: 250px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-container {
    position: relative;
    width: 140px;
    height: 140px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3), inset 0 0 15px rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 5;
    animation: pulsar-glow 3s infinite ease-in-out;
}

.preloader-logo {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 8px rgba(243, 189, 0, 0.3));
}

.logo-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-25deg);
    animation: shimmer-sweep 3s infinite;
}

.orbit-system {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.orbit-path {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 220px;
    height: 220px;
    margin-top: -110px;
    margin-left: -110px;
    border: 1px dashed rgba(243, 189, 0, 0.2);
    border-radius: 50%;
    transform: rotateX(65deg) rotateY(15deg);
}

.particle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    margin-top: -5px;
    margin-left: -5px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--primary);
    animation: orbit-animation 4s linear infinite;
}

.particle:nth-child(1) {
    animation-delay: 0s;
}

.particle:nth-child(2) {
    animation-delay: -1.33s;
}

.particle:nth-child(3) {
    animation-delay: -2.66s;
}

@keyframes orbit-animation {
    from {
        transform: rotate(0deg) translateX(110px) rotate(0deg);
    }

    to {
        transform: rotate(360deg) translateX(110px) rotate(-360deg);
    }
}

@keyframes shimmer-sweep {
    0% {
        left: -100%;
    }

    100% {
        left: 150%;
    }
}

@keyframes pulsar-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(243, 189, 0, 0.2);
        border-color: rgba(255, 255, 255, 0.2);
    }

    50% {
        box-shadow: 0 0 40px rgba(243, 189, 0, 0.4);
        border-color: var(--primary);
    }
}


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

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #FFFFFF;
}

.py-60 {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}


.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 {
    height: 80px;
}

.navbar .btn-fees {
    height: 100%;
    display: flex;
    align-items: center;
    border-radius: 0;
}

@media (max-width: 991.98px) {
    .navbar .navbar-brand {
        height: 60px;
    }

    .navbar .navbar-brand-img {
        max-height: 45px;
    }

    .navbar .btn-fees {
        height: auto;
        margin: 1rem;
        border-radius: 5px;
        justify-content: center;
    }
}

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

.navbar .navbar-nav .nav-link {
    margin-right: 15px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 18px;
    font-weight: 500;
    outline: none;
}

@media (max-width: 1394px) {
    .navbar .navbar-nav .nav-link {
        font-size: 15px;
    }
}

.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(rgb(12 43 75 / 85%), rgb(1 46 92 / 88%)), url(../img/school-1.jpg) center center no-repeat;
    background-size: cover;
    padding: 40px 0;
}

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


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

/*** Flash News ***/
.flash-news-container {
    background: var(--dark);
    height: 45px;
    padding: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.flash-news-label-wrapper {
    background: var(--primary);
    padding: 0 30px;
    height: 100%;
    position: relative;
    z-index: 1;
}

@media (max-width: 576px) {
    .flash-news-label-wrapper {
        padding: 0 15px;
    }
}


.flash-news-label-wrapper::after {
    content: "";
    position: absolute;
    right: -20px;
    top: 0;
    width: 0;
    height: 0;
    border-top: 45px solid var(--primary);
    border-right: 20px solid transparent;
    z-index: -1;
}

.flash-news-label {
    color: var(--dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.flash-news-marquee {
    color: #ffffff;
    font-size: 15px;
    font-weight: 400;
}

.flash-news-marquee span {
    display: inline-flex;
    align-items: center;
}


/*** Courses ***/
.courses {
    min-height: 100vh;
    background: linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, .9)), url(../img/carousel-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;
}

/*** Management Carousel ***/
.management-carousel .owl-nav {
    position: absolute;
    bottom: 20px;
    right: 120px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.management-carousel .owl-nav .owl-prev,
.management-carousel .owl-nav .owl-next {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff !important;
    color: #333333 !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 4px;
    transition: 0.3s;
}

.management-carousel .owl-nav .owl-prev:hover,
.management-carousel .owl-nav .owl-next:hover {
    background: #f3bd00 !important;
    color: #ffffff !important;
    border-color: #f3bd00 !important;
}


/*** 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;
    margin-right: 10px;
}

@media (max-width: 768px) {
    .footer .btn.btn-link {
        padding-left: 0;
        margin-bottom: 5px;
    }
}

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

/*** News Carousel ***/
.news-carousel .owl-stage {
    display: flex;
}

.news-carousel .owl-item {
    display: flex;
}

.news-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card .p-4 {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-card .p-4 a {
    margin-top: auto;
}

/* --- New Classes From Inline Styles --- */

/* Navbar */
.navbar-brand-img {
    max-height: 75px;
}

/* Header Carousel */
.header-carousel-img {
    height: 650px;
    object-fit: cover;
}

/* Facts */
.fact-item-inner {
    min-height: 150px;
    transition: .5s;
}

.fact-item-inner:hover {
    background-color: var(--primary) !important;
}

.fact-item-inner .btn-lg-square {
    transition: .5s;
}

.fact-item-inner:hover .btn-lg-square {
    background-color: #ffffff !important;
}

.fact-item-inner .btn-lg-square i {
    transition: .5s;
}

.fact-item-inner:hover .btn-lg-square i {
    color: var(--primary) !important;
}

.fact-item-inner:hover h5,
.fact-item-inner:hover span {
    color: #ffffff !important;
}

/* Flash News */
.flash-news-bullet {
    font-size: 8px;
}

/* About & Features */
.about-img-container,
.features-img-container {
    min-height: 400px;
}

.img-cover {
    object-fit: cover;
}

.about-small-img {
    width: 200px;
    height: 200px;
}

/* Management Messages */
.management-section {
    position: relative;
    background-color: #3197b9;
}

.management-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../img/bg-02.png) center center no-repeat;
    background-size: cover;
    opacity: 0.2;
    z-index: 0;
}

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


.management-img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
}

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

.text-dark-blue {
    color: #0c2b4b;
}

.text-justify {
    text-align: justify;
}

.btn-readmore {
    background-color: #f3bd00;
    border: none;
    font-size: 14px;
    color: #0c2b4b;
}

.btn-readmore:hover {
    background-color: #e2af00;
    color: #0c2b4b;
}

.quote-icon {
    color: #f3bd00;
    bottom: 20px;
    right: 30px;
    z-index: 0;
}

/* Counter */
.counter-section-alt {
    position: relative;
    background: #3197b9;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.counter-section-alt::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../img/bg-4.png) center center no-repeat;
    background-size: cover;
    opacity: 0.15;
    z-index: 0;
}

.counter-section-alt .container {
    position: relative;
    z-index: 1;
}

.text-yellow {
    color: #ffc107;
}

.counter-value {
    color: #0c2b4b;
    font-size: 2.2rem;
}

/* News & Events */
.news-section {
    background-color: #0c2b4b;
}

.news-subtitle {
    color: #f3bd00;
    letter-spacing: 2px;
}

.news-img-container {
    height: 200px;
}

.news-date-icon {
    color: #f3bd00;
}

.news-title {
    color: #0c2b4b;
}

.news-text-small {
    font-size: 14px;
}

.news-link {
    color: #f3bd00;
    font-size: 14px;
}

/* Footer */
.footer-title {
    font-size: 1.8rem;
}

.footer-logo {
    width: 200px;
}

/* News Carousel Nav Arrows */
.news-carousel .owl-nav {
    position: absolute;
    top: -85px;
    right: 0;
    display: flex;
}

.news-carousel .owl-nav .owl-prev,
.news-carousel .owl-nav .owl-next {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0c2b4b;
    background: #f3bd00;
    border-radius: 4px;
    font-size: 20px;
    margin-left: 10px;
    transition: .5s;
}

.news-carousel .owl-nav .owl-prev:hover,
.news-carousel .owl-nav .owl-next:hover {
    background: #fff;
    color: #0c2b4b;
}

@media (max-width: 768px) {
    .news-carousel .owl-nav {
        position: relative;
        top: 0;
        margin-top: 25px;
        justify-content: center;
    }
}

/*** Photo Gallery ***/
.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: .5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(12, 43, 75, .7);
    opacity: 0;
    transition: .5s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-carousel .owl-nav {
    position: absolute;
    top: -85px;
    right: 0;
    display: flex;
}

.gallery-carousel .owl-nav .owl-prev,
.gallery-carousel .owl-nav .owl-next {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0c2b4b;
    background: #f3bd00;
    border-radius: 4px;
    font-size: 20px;
    margin-left: 10px;
    transition: .5s;
}

.gallery-carousel .owl-nav .owl-prev:hover,
.gallery-carousel .owl-nav .owl-next:hover {
    background: #fff;
    color: #0c2b4b;
}

@media (max-width: 768px) {
    .gallery-carousel .owl-nav {
        position: relative;
        top: 0;
        margin-top: 25px;
        justify-content: center;
    }
}