/* ==========================================================================
   Site header v2 — Bootstrap 5 navbar + offcanvas mobile menu
   ========================================================================== */

:root {
    --jk-blue: #0066FF;
    --jk-blue-dark: #0050cc;
    --jk-ink: #0066FF;
}

.jk-header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    transition: box-shadow .25s ease;
}

.jk-header-fixed.is-scrolled {
    box-shadow: 0 4px 18px rgba(11, 27, 51, .08);
}

.jk-topbar {
    background: var(--jk-ink);
    color: #cfd8e8;
    font-size: 13px;
    padding: 6px 0;
    overflow: hidden;
    transition: max-height .25s ease, padding .25s ease, opacity .2s ease;
    max-height: 60px;
}

.jk-header-fixed.is-scrolled .jk-topbar {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
}

.jk-topbar a, .jk-topbar p {
    color: white;
    text-decoration: none;
    transition: color .2s ease;
    font-size: 15px;



}

.jk-topbar a:hover {
    color: #fff;
}

.jk-topbar .jk-topbar-contact li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 22px;
}

.jk-topbar .jk-topbar-contact li:last-child {
    margin-right: 0;
}

.jk-topbar .jk-topbar-contact i {
    color: white;
    font-size: 16px;

}

.jk-topbar .jk-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    margin-left: 6px;
    font-size: 12px;
}

.jk-topbar .jk-social a:hover {
    background: var(--jk-blue);
    color: #fff;
}

.jk-navbar {
    background: #fff;
    padding: 10px 0;
    transition: padding .25s ease;
}

.jk-header-fixed.is-scrolled .jk-navbar {
    padding: 8px 0;
}

.jk-navbar .navbar-brand {
    padding: 0;
    margin-right: 32px;
}

.jk-navbar .navbar-brand img {
    height: 75px;
    width: auto;
    display: block;
    transition: height .25s ease;
}

.jk-header-fixed.is-scrolled .navbar-brand img {
    height: 38px;
}

.jk-nav .nav-link {
    color: black;
    font-weight: 600;
    font-size: 15px;
    padding: 10px 16px !important;
    position: relative;
}

.jk-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 4px;
    height: 2px;
    background: var(--jk-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
}

.jk-nav .nav-item.dropdown>.nav-link::after {
    left: 16px;
    right: 30px;
}

.jk-nav .nav-link:hover,
.jk-nav .nav-link:focus,
.jk-nav .nav-link.active {
    color: var(--jk-blue);
}

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

.jk-nav .dropdown-toggle::after {
    vertical-align: 1px;
    margin-left: 6px;
}

.jk-nav .dropdown-menu {
    float: none;
    border: none;
    box-shadow: 0 12px 32px rgba(11, 27, 51, .14);
    border-radius: 10px;
    padding: 8px;
    margin-top: 8px;
}

.jk-nav .dropdown-item {
    border-radius: 6px;
    padding: 9px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--jk-ink);
}

.jk-nav .dropdown-item:hover,
.jk-nav .dropdown-item:focus {
    background: #eef4ff;
    color: var(--jk-blue-dark);
}

.jk-cta {
    background: var(--jk-blue);
    border: 2px solid var(--jk-blue);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .4px;
    text-transform: uppercase;
    padding: 10px 22px;
    border-radius: 6px;
    transition: all .25s ease;
    white-space: nowrap;
}

.jk-cta:hover,
.jk-cta:focus {
    background: var(--jk-ink);
    border-color: var(--jk-ink);
    color: #fff;
}

.jk-navbar-toggler {
    border: none;
    padding: 8px;
    line-height: 1;
}

.jk-navbar-toggler:focus {
    box-shadow: none;
}

.jk-navbar-toggler .bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--jk-ink);
    margin: 5px 0;
    transition: transform .25s ease, opacity .25s ease;
}

/* Offcanvas mobile menu */
.jk-offcanvas {
    width: min(340px, 86vw);
}

.jk-offcanvas .offcanvas-header {
    border-bottom: 1px solid #eef0f4;
}

.jk-offcanvas .navbar-brand img {
    height: 34px;
}

.jk-offcanvas .jk-nav {
    flex-direction: column;
    align-items: stretch;
}

.jk-offcanvas .jk-nav .nav-link {
    padding: 13px 4px !important;
    border-bottom: 1px solid #f0f2f6;
}

.jk-offcanvas .jk-nav .nav-link::after {
    display: none;
}

.jk-offcanvas .dropdown-menu {
    position: static !important;
    float: none !important;
    top: auto !important;
    left: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none;
    border-radius: 0;
    background: #f8f9fc;
    margin: 0 0 4px;
    min-width: 0;
    width: 100%;
}

.jk-offcanvas .jk-cta {
    display: block;
    text-align: center;
    margin-top: 18px;
}

.jk-offcanvas .jk-topbar-contact {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    font-size: 14px;
}

.jk-offcanvas .jk-topbar-contact li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--jk-ink);
}

.jk-offcanvas .jk-topbar-contact i {
    color: var(--jk-blue);
}

@media (max-width: 991px) {
    .jk-navbar .navbar-brand img {
        height: 38px;
    }
}