/********** Template CSS **********/
:root {
    --primary: #dfa342;
    --secondary: #757575;
    --light: #F3F6F8;
    --dark: #222b57;
    --ink: #10162f;
    --surface: #ffffff;
    --line: rgba(34, 43, 87, .12);
    --glow: rgba(223, 163, 66, .34);
}

* {
    letter-spacing: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    color: #4c5368;
    background:
        radial-gradient(circle at 12% 10%, rgba(223, 163, 66, .14), transparent 32rem),
        radial-gradient(circle at 85% 0%, rgba(34, 43, 87, .12), transparent 30rem),
        linear-gradient(180deg, #fbfcff 0%, #f4f7fb 46%, #ffffff 100%);
    font-family: "Work Sans", sans-serif;
    overflow-x: hidden;
}

body::before {
    position: fixed;
    content: "";
    inset: 0;
    pointer-events: none;
    z-index: -1;
    opacity: .32;
    background-image:
        linear-gradient(rgba(34, 43, 87, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 43, 87, .07) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, black 0%, transparent 76%);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--ink);
    font-weight: 700;
}

p {
    line-height: 1.75;
}

.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-dark {
    background: var(--dark) !important;
}

.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;
    border-radius: 999px;
    transition: .3s ease;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: var(--dark);
    border-color: var(--primary);
    background: linear-gradient(135deg, #f3c46c 0%, var(--primary) 100%);
    box-shadow: 0 14px 32px rgba(223, 163, 66, .28);
}

.btn.btn-primary:hover,
.btn.btn-outline-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 42px rgba(223, 163, 66, .38);
}

.btn.btn-outline-primary {
    color: var(--dark);
    border-color: rgba(223, 163, 66, .72);
    background: rgba(255, 255, 255, .82);
}

.btn.btn-link {
    color: rgba(255, 255, 255, .78);
}

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

.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: 50%;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: 0;
    transition: .35s ease;
    z-index: 1020;
}

.container-fluid.bg-dark.text-light.p-0 {
    background: linear-gradient(90deg, #10162f 0%, var(--dark) 55%, #111936 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.container-fluid.bg-dark.text-light.p-0 small {
    color: rgba(255, 255, 255, .82);
}

.navbar {
    background: rgba(255, 255, 255, .9) !important;
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(34, 43, 87, .1);
    box-shadow: 0 10px 30px rgba(16, 22, 47, .06);
}

.navbar.nav-scrolled {
    background: rgba(255, 255, 255, .96) !important;
    box-shadow: 0 18px 38px rgba(16, 22, 47, .12) !important;
}

.navbar .navbar-brand,
.navbar a.btn {
    height: 80px
}

.navbar .navbar-brand {
    background: #ffffff;
    border-right: 1px solid rgba(34, 43, 87, .1) !important;
}

.navbar .navbar-brand img {
    filter: drop-shadow(0 8px 14px rgba(16, 22, 47, .14));
}

.navbar .navbar-nav .nav-link {
    position: relative;
    margin-right: 24px;
    padding: 27px 0;
    color: var(--dark);
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link::after {
    position: absolute;
    content: "";
    left: 0;
    right: 0;
    bottom: 21px;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: .25s ease;
}

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

.navbar .navbar-nav .nav-link:hover::after,
.navbar .navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

.navbar-toggler {
    border: 1px solid rgba(34, 43, 87, .14);
    border-radius: 50%;
    width: 46px;
    height: 46px;
    box-shadow: none !important;
}

.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: 13px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid rgba(34, 43, 87, .1);
    }

    .navbar .navbar-nav .nav-link::after {
        bottom: 8px;
        right: auto;
        width: 42px;
    }
}

@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 ***/
#header-carousel {
    position: relative;
    background: var(--dark);
}

#header-carousel::before {
    position: absolute;
    content: "";
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(115deg, rgba(223, 163, 66, .16), transparent 34%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .07) 0 1px, transparent 1px 140px);
    mix-blend-mode: screen;
}

#header-carousel .carousel-item {
    min-height: 760px;
    background: var(--dark);
}

#header-carousel .carousel-item img {
    height: 760px;
    object-fit: cover;
    opacity: .74;
    transform: scale(1.02);
}

#header-carousel .carousel-caption .col-lg-7 {
    position: relative;
    max-width: 900px;
    padding: 0 1rem;
}

#header-carousel .carousel-caption .col-lg-7::before {
    display: inline-flex;
    content: "BKEY";
    align-items: center;
    justify-content: center;
    min-width: 84px;
    height: 34px;
    margin-bottom: 22px;
    color: var(--primary);
    font-size: .76rem;
    font-weight: 700;
    border: 1px solid rgba(223, 163, 66, .42);
    border-radius: 999px;
    background: rgba(34, 43, 87, .68);
    box-shadow: 0 0 28px rgba(223, 163, 66, .18);
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    background:
        linear-gradient(90deg, rgba(16, 22, 47, .94) 0%, rgba(34, 43, 87, .82) 48%, rgba(16, 22, 47, .45) 100%),
        radial-gradient(circle at 68% 32%, rgba(223, 163, 66, .22), transparent 28rem);
    z-index: 1;
}

.carousel-caption h4 {
    max-width: 920px;
    color: #ffffff !important;
    font-size: clamp(2rem, 4.6vw, 4.2rem);
    line-height: 1.04;
    text-shadow: 0 18px 42px rgba(0, 0, 0, .32);
}

.carousel-caption p {
    max-width: 720px;
    color: rgba(255, 255, 255, .82);
    text-align: left !important;
    font-size: 1.12rem !important;
}

.carousel-control-prev,
.carousel-control-next {
    width: 8%;
    z-index: 3;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3.3rem;
    height: 3.3rem;
    background-color: var(--primary);
    border: 12px solid var(--primary);
    border-radius: 50%;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .25);
}

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

    .carousel-caption {
        text-align: left;
    }

    .carousel-caption h4 {
        margin-bottom: 1.5rem !important;
    }

    .carousel-caption p {
        font-size: 1rem !important;
        margin-bottom: 2rem !important;
    }
}

.page-header {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(110deg, rgba(16, 22, 47, .96), rgba(34, 43, 87, .82)),
        url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header::before {
    position: absolute;
    content: "";
    inset: 0;
    background:
        radial-gradient(circle at 22% 20%, rgba(223, 163, 66, .24), transparent 24rem),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .07) 0 1px, transparent 1px 120px);
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    max-width: 980px;
    margin-inline: auto;
    line-height: 1.05;
}

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


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

/*** Sections ***/
.container-xxl {
    position: relative;
}

.container-xxl.py-6 > .container,
.container-xxl.my-6 > .container {
    position: relative;
    z-index: 1;
}

.container-xxl.py-6:nth-of-type(even) {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .78), rgba(244, 247, 251, .94));
}

.display-6 {
    color: var(--ink);
    line-height: 1.12;
}

h6.text-primary.text-uppercase {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-size: .76rem;
    font-weight: 700;
}

h6.text-primary.text-uppercase::before {
    display: inline-block;
    content: "";
    width: 28px;
    height: 2px;
    background: var(--primary);
    box-shadow: 0 0 18px var(--glow);
}

.position-relative.overflow-hidden.ps-5.pt-5.h-100,
.position-relative.overflow-hidden.pe-5.pt-5.h-100 {
    border-radius: 8px;
    min-height: 470px !important;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(16, 22, 47, .16);
}

.position-relative.overflow-hidden.ps-5.pt-5.h-100::after,
.position-relative.overflow-hidden.pe-5.pt-5.h-100::after {
    position: absolute;
    content: "";
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(135deg, rgba(223, 163, 66, .22), transparent 34%),
        linear-gradient(0deg, rgba(16, 22, 47, .22), transparent 46%);
}

.position-relative.overflow-hidden.ps-5.pt-5.h-100 img,
.position-relative.overflow-hidden.pe-5.pt-5.h-100 img {
    transition: transform .45s ease;
}

.position-relative.overflow-hidden.ps-5.pt-5.h-100:hover img:first-child,
.position-relative.overflow-hidden.pe-5.pt-5.h-100:hover img:first-child {
    transform: scale(1.04);
}

.position-relative.overflow-hidden.ps-5.pt-5.h-100 img:nth-child(2),
.position-relative.overflow-hidden.pe-5.pt-5.h-100 img:nth-child(2) {
    border-radius: 8px;
    border: 8px solid #ffffff;
    box-shadow: 0 18px 38px rgba(16, 22, 47, .24);
    z-index: 2;
}

.row.g-2.mb-4.pb-2 > .col-sm-6,
.row.gy-5.gx-4 > .col-sm-6 {
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .76);
    box-shadow: 0 16px 40px rgba(16, 22, 47, .06);
    transition: .3s ease;
}

.row.g-2.mb-4.pb-2 > .col-sm-6:hover,
.row.gy-5.gx-4 > .col-sm-6:hover {
    transform: translateY(-5px);
    border-color: rgba(223, 163, 66, .45);
    box-shadow: 0 24px 48px rgba(16, 22, 47, .12);
}

.row.g-2.mb-4.pb-2 > .col-sm-6 p,
.row.gy-5.gx-4 > .col-sm-6 p {
    margin-bottom: 0;
    font-size: .94rem;
}

.form-control,
.form-select {
    min-height: 56px;
    border: 1px solid rgba(34, 43, 87, .12) !important;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, .84) !important;
    box-shadow: 0 12px 26px rgba(16, 22, 47, .05);
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(223, 163, 66, .7) !important;
    box-shadow: 0 0 0 .22rem rgba(223, 163, 66, .16);
}

.form-floating > label {
    color: #667087;
}

iframe {
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(16, 22, 47, .14);
}

.card2 {
    position: relative;
    align-items: stretch !important;
    max-width: 1120px !important;
    margin: 0 auto !important;
    border: 1px solid var(--line) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, .88) !important;
    box-shadow: 0 24px 64px rgba(16, 22, 47, .11) !important;
    transition: .3s ease;
}

.card2:hover {
    transform: translateY(-5px);
    border-color: rgba(223, 163, 66, .44) !important;
    box-shadow: 0 32px 78px rgba(16, 22, 47, .16) !important;
}

.card2 img {
    width: 360px !important;
    min-height: 260px;
    filter: saturate(1.05) contrast(1.03);
}

.card2-content {
    padding: 1.7rem !important;
}

.card2-content h2 {
    color: var(--dark) !important;
    font-size: clamp(1.25rem, 2vw, 1.8rem);
}

.card2-content p {
    color: #4c5368 !important;
}

.card2-content a {
    color: var(--dark) !important;
    font-weight: 700;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(223, 163, 66, .5);
}

.card2-content a:hover {
    color: var(--primary) !important;
}


/*** Courses ***/
.courses {
    min-height: auto;
    background:
        linear-gradient(135deg, rgba(16, 22, 47, .95), rgba(34, 43, 87, .9)),
        url(../img/carousel-1.jpg) center center no-repeat;
    background-attachment: fixed;
    background-size: cover;
    color: rgba(255, 255, 255, .78);
    overflow: hidden;
}

.courses::before {
    position: absolute;
    content: "";
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 20%, rgba(223, 163, 66, .24), transparent 28rem),
        linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: auto, 90px 90px;
}

.courses h2,
.courses h5 {
    color: #ffffff;
}

.courses p {
    color: rgba(255, 255, 255, .78);
}

.courses-item .courses-overlay {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(34, 43, 87, .82), rgba(16, 22, 47, .58)),
        rgba(0, 0, 0, .32);
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.courses-item:hover .courses-overlay {
    height: 100%;
    opacity: 1;
}

.courses-item {
    position: relative;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    background: rgba(255, 255, 255, .08) !important;
    box-shadow: 0 26px 70px rgba(0, 0, 0, .22);
    backdrop-filter: blur(18px);
    transition: .3s ease;
}

.courses-item:hover {
    transform: translateY(-8px);
    border-color: rgba(223, 163, 66, .5);
    box-shadow: 0 34px 80px rgba(0, 0, 0, .32);
}

.courses-item .d-inline-block.bg-primary {
    border-radius: 999px;
    color: var(--dark) !important;
    box-shadow: 0 15px 34px rgba(223, 163, 66, .32);
}

.courses-item img {
    width: 100%;
    min-height: 240px;
    object-fit: cover;
}

.courses-item > p {
    padding: 0 1.5rem;
}

.courses-item > p:last-child {
    padding-bottom: 1.5rem;
}


/*** 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 {
    padding: 2rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .84);
    box-shadow: 0 24px 70px rgba(16, 22, 47, .1);
}

.testimonial-item p.fs-4 {
    color: #46506a;
    font-size: 1.12rem !important;
    line-height: 1.85;
}

.testimonial-item img {
    border: 5px solid #ffffff;
    box-shadow: 0 18px 40px rgba(16, 22, 47, .16);
}

.testimonial-item .bg-white.rounded-circle {
    box-shadow: 0 14px 28px rgba(16, 22, 47, .15);
}

.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: 12px;
    height: 12px;
    background: transparent;
    border: 2px solid var(--primary);
    border-radius: 999px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 36px;
    height: 12px;
    background: var(--primary);
}

.testimonial-carousel .owl-item img {
    width: 150px;
    height: 150px;
}


/*** Footer ***/
.footer {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, #10162f 0%, var(--dark) 62%, #111936 100%) !important;
}

.footer::before {
    position: absolute;
    content: "";
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 8% 20%, rgba(223, 163, 66, .2), transparent 26rem),
        linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: auto, 72px 72px;
}

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

.footer h4 {
    color: #ffffff !important;
}

.footer img {
    max-height: 64px;
    width: auto;
    padding: .6rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    transition: .3s ease;
}

.footer a:hover img {
    transform: translateY(-3px);
    border-color: rgba(223, 163, 66, .5);
}

.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);
    box-shadow: none;
}

.copyright {
    background: #0b1027;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

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

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

.modal-content {
    border: 1px solid rgba(34, 43, 87, .12);
    border-radius: 8px;
    box-shadow: 0 30px 90px rgba(16, 22, 47, .26);
}

.modal-header {
    background: linear-gradient(135deg, var(--dark), #10162f);
}

.modal-title {
    color: #ffffff;
}

.btn-close {
    filter: invert(1);
}

.back-to-top {
    box-shadow: 0 18px 42px rgba(223, 163, 66, .36);
}

@media (max-width: 991.98px) {
    .py-6 {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

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

    .position-relative.overflow-hidden.ps-5.pt-5.h-100,
    .position-relative.overflow-hidden.pe-5.pt-5.h-100 {
        min-height: 360px !important;
    }
}

@media (max-width: 575.98px) {
    .navbar .navbar-brand,
    .navbar a.btn {
        height: 70px;
    }

    .navbar .navbar-brand {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .navbar .navbar-brand img {
        height: 42px !important;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }

    #header-carousel .carousel-item {
        min-height: 600px;
    }

    .carousel-caption h4 {
        font-size: 1.85rem;
    }

    .row.g-2.mb-4.pb-2,
    .row.gy-5.gx-4 {
        gap: 1rem 0;
    }

    .testimonial-carousel {
        padding: 1.25rem;
    }

    .copyright .col-md-2,
    .copyright .col-md-3,
    .copyright .col-md-4 {
        text-align: center !important;
    }
}

@media (max-width: 767.98px) {
    .page-header {
        min-height: 300px;
    }

    .card2 {
        flex-direction: column !important;
        text-align: left !important;
    }

    .card2 img {
        width: 100% !important;
        height: 220px !important;
    }
}
