/********** Template CSS **********/
:root {
    --primary: #0DA8F7;
    --secondary: #24C6FF;
    --light: #E6F7FF;
    --dark: #073659;
}

h1,
h2,
.font-weight-bold {
/* Override: use flex layout so brand and toggler stay on one line without absolute positioning */
@media (max-width: 991.98px) {
    .navbar {
        display: flex !important;
        align-items: center;
    }
    .navbar .navbar-brand {
        padding-right: 0 !important;
        margin-right: 8px;
    }
    .navbar .navbar-toggler {
        position: relative !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
        margin-left: auto;
        z-index: 1050;
    }
}
    font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

.btn {
    font-family: 'Jost', sans-serif;
    font-weight: 700;
    transition: .5s;
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: #FFFFFF;
}

.btn-secondary {
    background: #FFFFFF;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #FFFFFF;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

#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;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.top-shape::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    left: -17px;
    background: var(--primary);
    transform: skew(40deg);
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Jost', sans-serif;
    padding: 35px 15px;
    font-size: 18px;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 15px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
    font-weight: 700;
}

.navbar-light .navbar-nav .nav-link.active {
    position: relative;
}

.navbar-light .navbar-nav .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(9, 30, 62, .85);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.hero-wrap {
    position: relative;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-wrap .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #041a2f;
    opacity: 0.45;
    z-index: 1;
}

.hero-wrap .container,
.hero-wrap .slider-text {
    position: relative;
    z-index: 2;
}

.hero-wrap .slider-text {
    min-height: 650px;
}

.hero-wrap h1,
.hero-wrap h2,
.hero-wrap h3,
.hero-wrap h4,
.hero-wrap h5 {
    color: #ffffff;
}

.hero-wrap .btn-secondary {
    color: var(--primary);
    background: #ffffff;
    border: 1px solid #ffffff;
}

.hero-wrap .btn-secondary:hover {
    background: rgba(255,255,255,.95);
    color: var(--dark);
}

.hero-wrap .slider-text {
    text-align: right;
}

@media (max-width: 767.98px) {
    .hero-wrap .slider-text {
        text-align: center;
    }
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.hero-action-btn {
    width: 100%;
    max-width: 280px;
}

@media (min-width: 576px) {
    .hero-actions {
        justify-content: flex-end;
    }

    .hero-action-btn {
        width: auto;
    }
}

.feature-item {
    background: #FFFFFF;
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 25px 60px rgba(9, 30, 62, .08);
    transition: transform .3s ease, box-shadow .3s ease;
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 80px rgba(9, 30, 62, .14);
}

.feature-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-item h5 {
    font-size: 1.05rem;
    margin-bottom: 12px;
}

.feature-item p {
    color: #6c757d;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

.section-title h5::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 3px;
    right: -55px;
    bottom: 11px;
    background: var(--primary);
}

.section-title h5::after {
    position: absolute;
    content: "";
    width: 15px;
    height: 3px;
    right: -75px;
    bottom: 11px;
    background: var(--secondary);
}

.hero-header {
    background: linear-gradient(rgba(9, 30, 62, .85), rgba(9, 30, 62, .85)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.service-item img,
.service-item .bg-light,
.service-item .bg-light h5,
.team-item .team-text {
    transition: .5s;
}

.service-item:hover img {
    transform: scale(1.15);
}

.team-item .team-text::after,
.service-item .bg-light::after {
    position: absolute;
    content: "";
    top: 50%;
    bottom: 0;
    left: 15px;
    right: 15px;
    border-radius:100px / 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, .7);
    opacity: 0;
    transition: .5s;
    z-index: -1;
}

.team-item:hover .team-text::after,
.service-item:hover .bg-light::after {
    opacity: 1;
}

.nav-tabs {
    border-bottom: 1px solid rgba(13, 168, 247, 0.18);
}

.nav-tabs .nav-item {
    margin-bottom: 8px;
}

.nav-tabs .nav-link {
    cursor: pointer;
    color: var(--dark);
    font-weight: 600;
    border: 1px solid rgba(13, 168, 247, 0.15);
    background: #ffffff;
    border-radius: 12px 12px 0 0;
    padding: 12px 18px;
    transition: all 0.25s ease;
    box-shadow: 0 8px 18px rgba(9, 30, 62, 0.05);
}

.nav-tabs .nav-link:hover,
.nav-tabs .nav-link:focus {
    color: var(--primary);
    border-color: rgba(13, 168, 247, 0.35);
    background: #f7fcff;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(9, 30, 62, 0.08);
}

.nav-tabs .nav-link.active {
    color: #ffffff;
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 14px 28px rgba(13, 168, 247, 0.22);
}

.nav-tabs .nav-link.active:hover,
.nav-tabs .nav-link.active:focus {
    color: #ffffff;
    background: var(--primary);
    border-color: var(--primary);
}

.nav-tabs .nav-link:focus-visible {
    outline: 3px solid rgba(13, 168, 247, 0.25);
    outline-offset: 2px;
}