/********** CSS **********/
:root {
    --primary: #f3bd00;
    --secondary: #757575;
    --light: #f3f6f8;
    --dark: #0c2b4b;
    --navy: #0f172a;
    --slate: #475569;
    --blue: #0d6efd;
    --indigo: #4f46e5;
    --light-bg: #f8fafc;
    --white: #ffffff;
}

.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 0.5s ease-out,
        visibility 0s linear 0.5s;
    z-index: 99999;
}

#spinner.show {
    transition:
        opacity 0.5s ease-out,
        visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/*** Button ***/
.btn {
    font-weight: 500;
    transition: 0.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: 55px;
    height: 55px;
    border-radius: 50%;
}

.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: 0.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: 0.5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: 0.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%;
    padding: 10px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}
#header-carousel .carousel-item {
    position: relative;
    min-height: 600px;
    /* max-height: 250px; */
}

#header-carousel .carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 250px;
        max-height: 250px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background:
        linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)),
        url(../img/about-header-banner.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, 0.9), rgba(255, 255, 255, 0.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, 0.5);
    overflow: hidden;
    opacity: 0;
    transition: 0.5s;
}

.courses-item:hover .courses-overlay {
    height: 100%;
    opacity: 1;
}

/*** Team ***/
.team-items {
    margin: -0.75rem;
}

/* .team-item { */
/* padding: .75rem; */
/* } */

.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    /* background: #FFFFFF; */
    transition: 0.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, 0.75);
    overflow: hidden;
    opacity: 0;
    transition: 0.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: 0.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: 0.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: #f3bd00 !important;
}

.copyright a:hover {
    color: var(--light) !important;
}

/* ===== Scrollbar Width ===== */

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #1e5fcf63 #f1f1f8;
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
    width: 5px;
}

/* ===== Track ===== */
::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 5px;
}

/* ===== Thumb ===== */
::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #01050c63, #070118);
    border-radius: 10px;
    transition: 0.3s;
}

/* ===== Hover Effect ===== */
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #05213f63, #171818);
}

/* ===== Optional: Add shadow ===== */
::-webkit-scrollbar-thumb {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

/* Alumi CSS Start */
body {
    background: var(--light-bg);
    overflow-x: hidden;
}

.section-padding {
    padding: 60px 0;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    color: #0f172a;
}

.section-subtitle {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 50px;
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-text {
    color: #475569;
    line-height: 1.9;
    font-size: 16px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
    transition: all 0.35s ease;
    position: relative;
    z-index: 2;
}

.glass-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.12);
}

/* ===========================
       HERO CAROUSEL - FIXED IMAGE FIT
    =========================== */
.hero-carousel {
    position: relative;
}

.hero-carousel .carousel-item {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 480px;
    max-height: 800px;
    overflow: hidden;
    background: #0f172a;
}

.hero-image-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(2, 6, 23, 0.82) 0%,
        rgba(15, 23, 42, 0.5) 42%,
        rgba(15, 23, 42, 0.18) 100%
    );
    z-index: 1;
}

.hero-image-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.28), transparent 45%);
    z-index: 1;
}

.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1);
    transition: transform 8s ease-in-out;
    z-index: 0;
    filter: brightness(1.1) contrast(1.05);
}

.carousel-item.active .hero-img {
    transform: scale(1.05);
}

.hero-caption {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 620px;
    color: #fff;
    padding: 28px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    animation: fadeSlideUp 1s ease;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.hero-title {
    /* font-size: 58px;  */
    font-size: 45px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #fff;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.9;
    margin-bottom: 28px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.35s ease;
    margin-right: 12px;
}

.hero-btn-primary {
    background: linear-gradient(135deg, #0d6efd, #4f46e5);
    color: #fff;
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.35);
}

.hero-btn-primary:hover {
    color: #fff;
    transform: translateY(-3px);
}

.hero-btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.hero-btn-outline:hover {
    color: #fff;
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.15);
}

.custom-arrow {
    width: auto;
    opacity: 1;
}

.custom-arrow span {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    color: #fff;
    transition: 0.35s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.custom-arrow span:hover {
    background: #0d6efd;
    transform: scale(1.06);
}

/* ===========================
       FACTS CARDS
    =========================== */
.facts-wrapper {
    /* margin-top: -80px; */
    margin-top: 20px;
    position: relative;
    z-index: 5;
}

/* background: rgba(255, 255, 255, 0.96); */
/* border-radius: 24px; */
/* .fact-card {
    padding: 28px;
    min-height: 160px;
    border-radius: 8px;
    background: rgba(204, 213, 238, 0.96);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    transition: all 0.35s ease;
    height: 100%;
} */

/* .fact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
} */

.fact-card {
    padding: 30px;
    min-height: 180px;
    border-radius: 8px;

    background: linear-gradient(
        135deg,
        #ffffff 0%,
        #f8fbff 35%,
        #eef7ff 70%,
        #e3f2ff 100%
    );

    border: 1px solid rgba(207, 226, 255, 0.8);

    box-shadow:
        0 15px 35px rgba(15, 23, 42, 0.08),
        0 5px 15px rgba(59, 130, 246, 0.06);

    transition: all 0.4s ease;

    height: 100%;
}

.fact-card:hover {
    transform: translateY(-8px);

    background: linear-gradient(135deg, #ffffff, #f3f9ff, #e8f4ff);

    box-shadow:
        0 25px 60px rgba(15, 23, 42, 0.14),
        0 12px 30px rgba(59, 130, 246, 0.15);
}

.fact-icon {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    background: linear-gradient(135deg, #0d6efd, #4f46e5);
    box-shadow: 0 12px 30px rgba(13, 110, 253, 0.25);
    flex-shrink: 0;
}

.fact-card h5 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #0f172a;
}

.fact-card p {
    margin-bottom: 0;
    /* color: #64748b; */
    color: #1d1515;
    line-height: 1.7;
}

/* ===========================
       ABOUT SECTION
    =========================== */
.premium-about-section {
    background: linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%);
    position: relative;
    overflow: hidden;
}

.premium-about-section::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(13, 110, 253, 0.08);
    top: -80px;
    right: -80px;
}

.premium-about-section::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(25, 135, 84, 0.07);
    bottom: -60px;
    left: -60px;
}

.premium-image-wrap {
    position: relative;
    min-height: 520px;
    z-index: 2;
}

.premium-main-img {
    width: 100%;
    height: 100%;
    min-height: 580px;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    transition: transform 0.7s ease;
}

.premium-image-wrap:hover .premium-main-img {
    transform: scale(1.04);
}

.premium-small-img {
    position: absolute;
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 24px;
    left: -25px;
    bottom: -25px;
    border: 8px solid #fff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
    transition: transform 0.5s ease;
}

.premium-image-wrap:hover .premium-small-img {
    transform: translateY(-8px) rotate(-2deg);
}

.premium-badge {
    position: absolute;
    top: 25px;
    right: 25px;
    background: linear-gradient(135deg, #0d6efd, #4f46e5);
    color: #fff;
    padding: 14px 18px;
    border-radius: 18px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.28);
    z-index: 3;
}

.floating-shape {
    position: absolute;
    width: 90px;
    height: 90px;
    background: linear-gradient(
        135deg,
        rgba(13, 110, 253, 0.2),
        rgba(79, 70, 229, 0.15)
    );
    border-radius: 24px;
    transform: rotate(25deg);
    z-index: 1;
}

.shape-1 {
    top: 40px;
    left: -20px;
}

/* ===========================
       FEATURE SECTION
    =========================== */
.premium-feature-section {
    background: linear-gradient(135deg, #fdfcff 0%, #eef7ff 100%);
    position: relative;
    overflow: hidden;
}

.premium-feature-section::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(13, 110, 253, 0.06);
    top: -80px;
    left: -80px;
}

.premium-feature-section::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(79, 70, 229, 0.06);
    bottom: -70px;
    right: -60px;
}

.premium-feature-img-wrap {
    position: relative;
    min-height: 520px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.premium-feature-img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.premium-feature-img-wrap:hover .premium-feature-img {
    transform: scale(1.06);
}

.shape-2 {
    bottom: 40px;
    right: -20px;
}

/* ===========================
       ANIMATION
    =========================== */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(35px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===========================
       RESPONSIVE
    =========================== */
@media (max-width: 1399px) {
    .hero-image-wrapper {
        height: 82vh;
        min-height: 580px;
    }
}

@media (max-width: 1199px) {
    .hero-image-wrapper {
        height: 76vh;
        min-height: 520px;
    }

    .hero-title {
        font-size: 46px;
    }
}

@media (max-width: 991.98px) {
    .hero-image-wrapper {
        height: 420px;
        min-height: 420px;
        max-height: 420px;
    }

    .hero-img {
        object-fit: cover;
        object-position: center center;
        transform: none !important;
    }

    .hero-caption {
        display: none !important;
    }

    .custom-arrow {
        display: none !important;
    }

    .section-title {
        font-size: 32px;
    }

    .premium-image-wrap,
    .premium-feature-img-wrap {
        min-height: 380px;
    }

    .premium-main-img,
    .premium-feature-img {
        min-height: 380px;
    }

    .premium-small-img {
        width: 160px;
        height: 160px;
        left: 15px;
        bottom: -15px;
    }

    .facts-wrapper {
        margin-top: -40px;
    }
}

@media (max-width: 767.98px) {
    .hero-image-wrapper {
        height: 340px;
        min-height: 340px;
        max-height: 340px;
    }

    .section-padding {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .premium-small-img {
        width: 120px;
        height: 120px;
    }

    .premium-badge {
        font-size: 12px;
        padding: 10px 14px;
    }

    .fact-card {
        padding: 24px;
    }
}

@media (max-width: 575.98px) {
    .hero-image-wrapper {
        height: 280px;
        min-height: 280px;
        max-height: 280px;
    }

    .facts-wrapper {
        margin-top: 30px;
    }

    .section-padding {
        padding: 50px 0;
    }

    .premium-image-wrap,
    .premium-feature-img-wrap,
    .premium-main-img,
    .premium-feature-img {
        min-height: 300px;
    }

    .premium-small-img {
        display: none;
    }
}
