/* =====================================================
   Finozone Header
===================================================== */

.fz-header {
    position: relative;
    z-index: 1050;
    width: 100%;
}

/* =====================================================
   Navbar
===================================================== */

.fz-navbar {
    width: 100%;
    min-height: 82px;
    padding: 0;
    border-bottom: 1px solid #eeeeee;
    background: rgba(255, 255, 255, 0.98);
}

/* =====================================================
   Logo
===================================================== */

.fz-navbar .navbar-brand {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.fz-navbar .navbar-brand img {
    display: block;
    width: 180px;
    height: auto;
}

/* =====================================================
   Navigation
===================================================== */

.fz-navbar .navbar-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-right: 18px;
}

.fz-navbar .nav-item {
    position: relative;
}

.fz-navbar .nav-link {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 82px;
    padding: 0 13px !important;

    color: #333333;

    font-family: var(--primary-font);
    font-size: var(--font-sm);
    font-weight: 500;
    line-height: 1;

    text-decoration: none;
    white-space: nowrap;

    transition: color 0.2s ease;
}

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

/* =====================================================
   Active Indicator
===================================================== */

.fz-navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;

    width: 0;
    height: 3px;

    border-radius: 5px 5px 0 0;
    background: var(--bg-first);

    transform: translateX(-50%);
    transition: width 0.25s ease;
}

.fz-navbar .nav-link:hover::after {
    width: 20px;
}

.fz-navbar .nav-link.active::after {
    width: 26px;
}

/* =====================================================
   Actions
===================================================== */

.fz-nav-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

/* =====================================================
   Talk To Us
===================================================== */

.fz-nav-help {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    min-height: 44px;
    padding: 0 15px;

    border: 1px solid #e4e4e4;
    border-radius: 9px;

    background: #ffffff;
    color: #333333;

    font-family: var(--primary-font);
    font-size: var(--font-sm);
    font-weight: 500;
    line-height: 1;

    text-decoration: none;
    white-space: nowrap;

    transition:
        border-color 0.2s ease,
        color 0.2s ease,
        background 0.2s ease;
}

.fz-nav-help i {
    color: var(--bg-first);
    font-size: 17px;
}

.fz-nav-help:hover {
    border-color: rgba(255, 51, 0, 0.25);
    background: #fff8f6;
    color: var(--bg-first);
}

/* =====================================================
   Login
===================================================== */

.fz-nav-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-height: 44px;
    padding: 0 18px;

    border: 1px solid var(--bg-first);
    border-radius: 9px;

    background: var(--bg-first);
    color: #ffffff;

    font-family: var(--primary-font);
    font-size: var(--font-sm);
    font-weight: 600;
    line-height: 1;

    text-decoration: none;
    white-space: nowrap;

    box-shadow: 0 5px 15px rgba(255, 51, 0, 0.12);

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.fz-nav-login i {
    font-size: 15px;
    transition: transform 0.2s ease;
}

.fz-nav-login:hover {
    border-color: #e52e00;
    background: #e52e00;
    color: #ffffff;

    box-shadow: 0 7px 18px rgba(255, 51, 0, 0.18);
    transform: translateY(-1px);
}

.fz-nav-login:hover i {
    transform: translate(2px, -2px);
}

/* =====================================================
   Mobile Toggler
===================================================== */

.fz-navbar .navbar-toggler {
    display: none;

    width: 44px;
    height: 44px;
    padding: 10px;

    border: 1px solid #e8e8e8;
    border-radius: 9px;

    background: #ffffff;
    box-shadow: none;
}

.fz-navbar .navbar-toggler:focus {
    border-color: rgba(255, 51, 0, 0.3);
    box-shadow: none;
}

.fz-toggler-line {
    display: block;

    width: 21px;
    height: 2px;
    margin: 4px auto;

    border-radius: 10px;
    background: #222222;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

/* =====================================================
   Medium Desktop
===================================================== */

@media (max-width: 1199.98px) {

    .fz-navbar .navbar-brand img {
        width: 165px;
    }

    .fz-navbar .navbar-nav {
        margin-right: 10px;
        gap: 0;
    }

    .fz-navbar .nav-link {
        padding: 0 9px !important;
        font-size: var(--font-sm);
    }

    .fz-nav-help {
        display: none;
    }
}

/* =====================================================
   Tablet / Mobile
===================================================== */

@media (max-width: 991.98px) {

    .fz-navbar {
        min-height: 72px;
        padding: 0;
    }

    .fz-navbar .navbar-brand img {
        width: 160px;
    }

    .fz-navbar .navbar-toggler {
        display: block;
    }

    .fz-navbar .navbar-collapse {
        position: absolute;
        top: calc(100% + 8px);
        left: 12px;
        right: 12px;

        padding: 10px 18px 18px;

        border: 1px solid #eeeeee;
        border-radius: 14px;

        background: #ffffff;
        box-shadow: 0 18px 45px rgba(0, 0, 0, 0.1);
    }

    .fz-navbar .navbar-nav {
        align-items: stretch !important;
        width: 100%;
        margin: 0;
    }

    .fz-navbar .nav-item {
        width: 100%;
        border-bottom: 1px solid #f1f1f1;
    }

    .fz-navbar .nav-link {
        width: 100%;
        min-height: auto;

        padding: 15px 2px !important;

        color: #333333;

        font-size: var(--font-base);
        line-height: 1.4;
    }

    .fz-navbar .nav-link::after {
        display: none;
    }

    .fz-navbar .nav-link.active {
        color: var(--bg-first);
        font-weight: 600;
    }

    .fz-nav-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;

        margin-top: 16px;
    }

    .fz-nav-help,
    .fz-nav-login {
        min-height: 46px;
        font-size: var(--font-sm);
    }
}

/* =====================================================
   Small Mobile
===================================================== */

@media (max-width: 575.98px) {

    .fz-navbar {
        min-height: 68px;
    }

    .fz-navbar .navbar-brand img {
        width: 145px;
    }

    .fz-navbar .navbar-toggler {
        width: 40px;
        height: 40px;
        padding: 8px;
    }

    .fz-navbar .navbar-collapse {
        left: 10px;
        right: 10px;

        padding: 8px 16px 16px;

        border-radius: 12px;
    }

    .fz-navbar .nav-link {
        padding: 14px 2px !important;
    }

    .fz-nav-actions {
        grid-template-columns: 1fr;
    }

    .fz-nav-help,
    .fz-nav-login {
        width: 100%;
    }
}

