/*
==================================================
SRB HEADER
==================================================
*/

.srb-header {

    position: sticky;

    top: 0;
    left: 0;

    width: 100%;

    height: 90px;

    background: rgba(255, 255, 255, 0.97);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border-bottom: 1px solid rgba(23, 50, 77, 0.06);

    z-index: 9999;

    transition:
        height .35s ease,
        box-shadow .35s ease,
        background .35s ease;

}


/*
==================================================
SCROLLED HEADER
==================================================
*/

.srb-header.srb-scrolled {

    height: 78px;

    background: rgba(255, 255, 255, 0.98);

    box-shadow:
        0 12px 35px rgba(23, 50, 77, 0.08);

}


/*
==================================================
HEADER WRAPPER
==================================================
*/

.srb-header__wrapper {

    display: flex;

    align-items: center;

    justify-content: space-between;

    height: 90px;

    gap: 35px;

    transition: height .35s ease;

}

.srb-header.srb-scrolled
.srb-header__wrapper {

    height: 78px;

}


/*
==================================================
LOGO
==================================================
*/

.srb-header__logo {

    flex: 0 0 auto;

    display: flex;

    align-items: center;

}

.srb-header__logo a {

    display: inline-flex;

    align-items: center;

    text-decoration: none;

}

.srb-header__logo img {

    display: block;

    width: auto;

    height: 58px;

    max-width: 190px;

    object-fit: contain;

    transition:
        height .35s ease,
        transform .35s ease;

}

.srb-header.srb-scrolled
.srb-header__logo img {

    height: 50px;

}

.srb-header__site-title {

    color: #17324d;

    font-size: 22px;

    font-weight: 800;

}


/*
==================================================
DESKTOP NAV
==================================================
*/

.srb-header__nav {

    flex: 1 1 auto;

    display: flex;

    align-items: center;

    justify-content: center;

    min-width: 0;

}

.srb-menu {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 34px;

    margin: 0;

    padding: 0;

    list-style: none;

}


/*
==================================================
MENU ITEM
==================================================
*/

.srb-menu > li {

    position: relative;

    margin: 0;

    padding: 0;

}


/*
==================================================
MENU LINK
==================================================
*/

.srb-menu > li > a {

    position: relative;

    display: inline-flex;

    align-items: center;

    min-height: 90px;

    color: #17324d;

    text-decoration: none;

    font-size: 15px;

    font-weight: 650;

    white-space: nowrap;

    transition:
        color .3s ease;

}


/*
==================================================
ACTIVE / HOVER UNDERLINE
==================================================
*/

.srb-menu > li > a::after {

    content: "";

    position: absolute;

    left: 0;
    right: 0;

    bottom: 20px;

    height: 2px;

    border-radius: 10px;

    background: var(--srb-primary, #00a6d6);

    transform: scaleX(0);

    transform-origin: center;

    transition:
        transform .3s ease;

}

.srb-menu > li:hover > a,
.srb-menu > li.current-menu-item > a,
.srb-menu > li.current-menu-ancestor > a {

    color: var(--srb-primary, #00a6d6);

}

.srb-menu > li:hover > a::after,
.srb-menu > li.current-menu-item > a::after,
.srb-menu > li.current-menu-ancestor > a::after {

    transform: scaleX(1);

}


/*
==================================================
SUB MENU
==================================================
*/

.srb-menu .sub-menu {

    position: absolute;

    top: calc(100% - 8px);

    left: 50%;

    width: 230px;

    margin: 0;

    padding: 12px;

    list-style: none;

    background: #ffffff;

    border: 1px solid #edf2f7;

    border-radius: 16px;

    box-shadow:
        0 20px 50px rgba(23, 50, 77, 0.12);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transform:
        translate(-50%, 12px);

    transition:
        opacity .25s ease,
        visibility .25s ease,
        transform .25s ease;

    z-index: 10000;

}

.srb-menu li:hover > .sub-menu {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform:
        translate(-50%, 0);

}


.srb-menu .sub-menu li {

    position: relative;

    margin: 0;

}


.srb-menu .sub-menu a {

    display: flex;

    align-items: center;

    width: 100%;

    padding: 11px 13px;

    border-radius: 10px;

    color: #17324d;

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;

    transition:
        background .25s ease,
        color .25s ease,
        padding-left .25s ease;

}

.srb-menu .sub-menu a:hover {

    background: #f1fbfe;

    color: var(--srb-primary, #00a6d6);

    padding-left: 17px;

}


/*
==================================================
HEADER ACTIONS
==================================================
*/

.srb-header__actions {

    flex: 0 0 auto;

    display: flex;

    align-items: center;

    gap: 12px;

}


/*
==================================================
SEARCH BUTTON
==================================================
*/

.srb-search-toggle {

    position: relative;

    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background: var(--srb-primary, #00a6d6);

    color: #ffffff;

    cursor: pointer;

    box-shadow:
        0 10px 28px rgba(0, 166, 214, .22);

    transition:
        transform .3s ease,
        box-shadow .3s ease;

}

.srb-search-toggle:hover {

    transform: translateY(-3px);

    box-shadow:
        0 15px 35px rgba(0, 166, 214, .30);

}


/*
==================================================
SEARCH ICON
==================================================
*/

.srb-search-icon {

    position: relative;

    display: block;

    width: 16px;
    height: 16px;

    border: 2px solid currentColor;

    border-radius: 50%;

}

.srb-search-icon::after {

    content: "";

    position: absolute;

    width: 7px;
    height: 2px;

    right: -5px;
    bottom: -3px;

    border-radius: 10px;

    background: currentColor;

    transform: rotate(45deg);

    transform-origin: left center;

}


/*
==================================================
MOBILE TOGGLE
==================================================
*/

.srb-mobile-toggle {

    display: none;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 5px;

    width: 48px;
    height: 48px;

    padding: 0;

    border: 0;

    border-radius: 13px;

    background: var(--srb-primary, #00a6d6);

    cursor: pointer;

}

.srb-mobile-toggle span {

    display: block;

    width: 21px;
    height: 2px;

    border-radius: 10px;

    background: #ffffff;

    transition:
        transform .3s ease,
        opacity .3s ease;

}


/*
==================================================
SEARCH POPUP
==================================================
*/

.srb-search-popup {

    position: fixed;

    inset: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 30px;

    background:
        rgba(15, 23, 42, .94);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity .35s ease,
        visibility .35s ease;

    z-index: 99999;

}

.srb-search-popup.active {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

}


/*
==================================================
SEARCH BOX
==================================================
*/

.srb-search-box {

    width: 100%;

    max-width: 720px;

    transform: translateY(20px);

    transition:
        transform .35s ease;

}

.srb-search-popup.active
.srb-search-box {

    transform: translateY(0);

}

.srb-search-box__label {

    margin-bottom: 14px;

    color: #ffffff;

    font-size: 14px;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;

}

.srb-search-box form {

    display: flex;

    width: 100%;

    overflow: hidden;

    border-radius: 16px;

    background: #ffffff;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, .25);

}

.srb-search-box input {

    flex: 1;

    min-width: 0;

    height: 68px;

    padding: 0 22px;

    border: 0;

    outline: 0;

    color: #17324d;

    font-size: 17px;

    background: #ffffff;

}

.srb-search-box button {

    flex: 0 0 130px;

    height: 68px;

    border: 0;

    background: var(--srb-primary, #00a6d6);

    color: #ffffff;

    font-size: 15px;

    font-weight: 700;

    cursor: pointer;

    transition:
        background .3s ease;

}

.srb-search-box button:hover {

    background: #087eaa;

}


/*
==================================================
SEARCH CLOSE
==================================================
*/

.srb-search-close {

    position: absolute;

    top: 35px;
    right: 35px;

    width: 52px;
    height: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background: #ffffff;

    color: #17324d;

    font-size: 30px;

    line-height: 1;

    cursor: pointer;

    transition:
        transform .3s ease,
        background .3s ease;

}

.srb-search-close:hover {

    transform: rotate(90deg);

    background: #f1fbfe;

}


/*
==================================================
MOBILE OVERLAY
==================================================
*/

.srb-mobile-overlay {

    position: fixed;

    inset: 0;

    background:
        rgba(15, 23, 42, .50);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity .35s ease,
        visibility .35s ease;

    z-index: 9998;

}

.srb-mobile-overlay.active {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

}


/*
==================================================
MOBILE MENU
==================================================
*/

.srb-mobile-menu {

    position: fixed;

    top: 0;
    left: 0;

    width: 340px;

    max-width: 88vw;

    height: 100vh;

    padding: 28px;

    background: #ffffff;

    overflow-y: auto;

    transform: translateX(-105%);

    transition:
        transform .4s cubic-bezier(.22, 1, .36, 1);

    z-index: 9999;

    box-shadow:
        15px 0 50px rgba(15, 23, 42, .12);

}

.srb-mobile-menu.active {

    transform: translateX(0);

}


/*
==================================================
MOBILE HEADER
==================================================
*/

.srb-mobile-menu__header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    padding-bottom: 24px;

    margin-bottom: 24px;

    border-bottom: 1px solid #edf2f7;

}

.srb-mobile-menu__logo {

    min-width: 0;

}

.srb-mobile-menu__logo img {

    display: block;

    width: auto;

    max-width: 170px;

    height: 48px;

    object-fit: contain;

}

.srb-mobile-menu__logo a {

    color: #17324d;

    text-decoration: none;

    font-size: 20px;

    font-weight: 800;

}


/*
==================================================
MOBILE CLOSE
==================================================
*/

.srb-mobile-close {

    flex: 0 0 auto;

    width: 44px;
    height: 44px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background: #f5f8fa;

    color: #17324d;

    font-size: 26px;

    cursor: pointer;

    transition:
        transform .3s ease,
        background .3s ease;

}

.srb-mobile-close:hover {

    transform: rotate(90deg);

    background: #eaf9ff;

    color: var(--srb-primary, #00a6d6);

}


/*
==================================================
MOBILE SEARCH
==================================================
*/

.srb-mobile-search {

    display: flex;

    width: 100%;

    height: 48px;

    margin-bottom: 25px;

    overflow: hidden;

    border: 1px solid #e5edf2;

    border-radius: 12px;

    background: #ffffff;

}

.srb-mobile-search input {

    flex: 1;

    min-width: 0;

    width: 100%;

    padding: 0 14px;

    border: 0;

    outline: 0;

    color: #17324d;

    font-size: 14px;

}

.srb-mobile-search button {

    flex: 0 0 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 0;

    background: var(--srb-primary, #00a6d6);

    color: #ffffff;

    cursor: pointer;

}


/*
==================================================
MOBILE NAV
==================================================
*/

.srb-mobile-list {

    margin: 0;

    padding: 0;

    list-style: none;

}

.srb-mobile-list li {

    position: relative;

    margin: 0;

    padding: 0;

    border-bottom: 1px solid #edf2f7;

}

.srb-mobile-list a {

    display: block;

    padding: 15px 5px;

    color: #17324d;

    text-decoration: none;

    font-size: 15px;

    font-weight: 650;

    transition:
        color .25s ease,
        padding-left .25s ease;

}

.srb-mobile-list a:hover,
.srb-mobile-list .current-menu-item > a {

    color: var(--srb-primary, #00a6d6);

    padding-left: 10px;

}


/*
==================================================
MOBILE SUBMENU
==================================================
*/

.srb-mobile-list .sub-menu {

    margin: 0;

    padding: 0 0 5px 15px;

    list-style: none;

}

.srb-mobile-list .sub-menu a {

    padding: 11px 5px;

    color: #667085;

    font-size: 14px;

}


/*
==================================================
BODY LOCK
==================================================
*/

body.menu-open {

    overflow: hidden;

}


/*
==================================================
TABLET
==================================================
*/

@media (max-width: 1100px) {

    .srb-header__wrapper {

        gap: 22px;

    }

    .srb-menu {

        gap: 22px;

    }

    .srb-menu > li > a {

        font-size: 14px;

    }

}


/*
==================================================
MOBILE / TABLET
==================================================
*/

@media (max-width: 991px) {

    .srb-header {

        height: 78px;

    }

    .srb-header__wrapper {

        height: 78px;

    }

    .srb-header.srb-scrolled {

        height: 72px;

    }

    .srb-header.srb-scrolled
    .srb-header__wrapper {

        height: 72px;

    }


    .srb-header__nav {

        display: none;

    }


    .srb-header__actions {

        margin-left: auto;

    }


    .srb-mobile-toggle {

        display: flex;

    }


    .srb-header__logo img {

        height: 52px;

        max-width: 175px;

    }

}


/*
==================================================
MOBILE
==================================================
*/

@media (max-width: 767px) {

    .srb-header {

        height: 72px;

    }

    .srb-header__wrapper {

        height: 72px;

        gap: 10px;

    }

    .srb-header.srb-scrolled {

        height: 68px;

    }

    .srb-header.srb-scrolled
    .srb-header__wrapper {

        height: 68px;

    }


    .srb-header__logo img {

        height: 46px;

        max-width: 155px;

    }


    .srb-search-toggle {

        width: 44px;
        height: 44px;

    }


    .srb-mobile-toggle {

        width: 44px;
        height: 44px;

    }


    .srb-search-popup {

        padding: 20px;

    }


    .srb-search-close {

        top: 20px;
        right: 20px;

        width: 46px;
        height: 46px;

    }


    .srb-search-box form {

        display: block;

        overflow: visible;

        background: transparent;

        box-shadow: none;

    }


    .srb-search-box input {

        width: 100%;

        height: 58px;

        border-radius: 13px;

        margin-bottom: 10px;

    }


    .srb-search-box button {

        width: 100%;

        height: 55px;

        border-radius: 13px;

    }


    .srb-mobile-menu {

        width: 320px;

        padding: 22px;

    }

}


/*
==================================================
REDUCED MOTION
==================================================
*/

@media (prefers-reduced-motion: reduce) {

    .srb-header,
    .srb-header *,
    .srb-search-popup,
    .srb-mobile-menu,
    .srb-mobile-overlay {

        transition: none !important;

    }

}