/* =========================================
HEADER
========================================= */

.fd-header {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 9999;

    background: rgba(15, 23, 42, .45);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border-bottom: 1px solid rgba(255, 255, 255, .08);

    transition: .35s ease;

}

.fd-header-scrolled {

    background: rgba(15, 23, 42, .92);

    border-bottom: 1px solid rgba(255, 255, 255, .12);

}

/* =========================================
CONTAINER
========================================= */

.fd-header-container {

    max-width: 1280px;

    margin: 0 auto;

    padding: 0 28px;

    height: 82px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}

/* =========================================
LOGO
========================================= */

.fd-header-logo {

    display: flex;

    align-items: center;

    text-decoration: none;

    flex-shrink: 0;

}

.fd-header-logo img {

    width: 78px;

    height: auto;

    display: block;

}

/* =========================================
NAV WRAP
========================================= */

.fd-nav-wrap {

    display: flex;

    align-items: center;

    gap: 34px;

}

/* =========================================
NAVIGATION
========================================= */

.fd-nav {

    display: flex;

    align-items: center;

    gap: 28px;

}

.fd-nav>a,
.fd-dropdown-toggle {

    position: relative;

    color: #ffffff;

    text-decoration: none;

    font-size: .84rem;

    font-weight: 600;

    cursor: pointer;

    transition: .3s ease;

}

.fd-nav>a:hover,
.fd-dropdown-toggle:hover {

    color: #5ca8ff;

}

/* =========================================
UNDERLINE EFFECT
========================================= */

.fd-nav>a::after,
.fd-dropdown-toggle::after {

    content: "";

    position: absolute;

    bottom: -8px;
    left: 0;

    width: 0;

    height: 2px;

    background: #116ad6;

    transition: .3s ease;

}

.fd-nav>a:hover::after,
.fd-dropdown:hover .fd-dropdown-toggle::after {

    width: 100%;

}

/* =========================================
DROPDOWN
========================================= */

.fd-dropdown {

    position: relative;

}

.fd-dropdown-toggle {

    display: flex;

    align-items: center;

    gap: 8px;

}

.fd-dropdown-toggle svg {

    width: 12px;
    height: 12px;

    fill: currentColor;

    transition: .3s ease;

}

.fd-dropdown:hover .fd-dropdown-toggle svg {

    transform: rotate(180deg);

}

/* =========================================
DROPDOWN MENU
========================================= */

.fd-dropdown-menu {

    position: absolute;

    top: calc(100% + 18px);
    left: 0;

    min-width: 290px;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    opacity: 0;
    visibility: hidden;

    transform: translateY(12px);

    transition: .3s ease;

    overflow: hidden;

}

.fd-dropdown:hover .fd-dropdown-menu {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);

}

.fd-dropdown-menu a {

    display: block;

    padding: 15px 20px;

    color: #0f172a;

    text-decoration: none;

    font-size: .85rem;

    font-weight: 600;

    border-bottom: 1px solid #f1f5f9;

    transition: .3s ease;

}

.fd-dropdown-menu a:last-child {

    border-bottom: none;

}

.fd-dropdown-menu a:hover {

    background: #f8fafc;

    color: #116ad6;

    padding-left: 26px;

}

/* =========================================
HEADER BUTTON
========================================= */

.fd-header-btn {

    min-width: 190px;

    height: 48px;

    padding: 0 26px;

    border: none;

    background: #116ad6;

    color: #ffffff;

    font-size: .78rem;

    font-weight: 700;

    text-transform: uppercase;

    cursor: pointer;

    transition: .3s ease;

}

.fd-header-btn:hover {

    background: #ffffff;

    color: #116ad6;

}

/* =========================================
MOBILE TOGGLE
========================================= */

.fd-mobile-toggle {

    display: none;

    width: 34px;

    cursor: pointer;

}

.fd-mobile-toggle span {

    display: block;

    width: 100%;

    height: 3px;

    margin: 6px 0;

    background: #ffffff;

    transition: .3s ease;

}

/* =========================================
MOBILE
========================================= */

@media(max-width:992px) {

    .fd-mobile-toggle {

        display: block;

    }

    .fd-nav-wrap {

        position: fixed;

        top: 82px;
        left: 0;

        width: 100%;

        background: #0f172a;

        flex-direction: column;

        align-items: flex-start;

        padding: 24px;

        gap: 0;

        transform: translateY(-120%);

        opacity: 0;

        visibility: hidden;

        transition: .35s ease;

    }

    .fd-nav-wrap.fd-mobile-open {

        transform: translateY(0);

        opacity: 1;

        visibility: visible;

    }

    .fd-nav {

        width: 100%;

        flex-direction: column;

        align-items: flex-start;

        gap: 0;

    }

    .fd-nav>a {

        width: 100%;

        padding: 14px 0;

    }

    .fd-dropdown {

        width: 100%;

    }

    .fd-dropdown-toggle {

        width: 100%;

        padding: 14px 0;

        justify-content: space-between;

    }

    .fd-dropdown-menu {

        position: static;

        opacity: 1;

        visibility: visible;

        transform: none;

        display: none;

        min-width: 100%;

        margin-bottom: 12px;

    }

    .fd-dropdown.fd-open .fd-dropdown-menu {

        display: block;

    }

    .fd-dropdown-menu a {

        padding: 14px 16px;

    }

    .fd-header-btn {

        width: 100%;

        margin-top: 16px;

    }

}

/* =========================================
SMALL MOBILE
========================================= */

@media(max-width:576px) {

    .fd-header-container {

        padding: 0 18px;

        height: 74px;

    }

    .fd-header-logo img {

        width: 150px;

    }

    .fd-nav-wrap {

        top: 74px;

    }

}