/* =========================================================
   ImgConvert Premium Header
========================================================= */

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e8ecf2;
    position: relative;
    z-index: 1000;
}

.header-container {
    max-width: 1180px;
    min-height: 72px;
    margin: 0 auto;
    padding: 0 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


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

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    text-decoration: none;
    color: #172033;

    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.5px;

    white-space: nowrap;
}

.logo-icon {
    width: 34px;
    height: 34px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: #eef4ff;
    color: #2563eb;

    font-size: 16px;
}

.logo-text span {
    color: #2563eb;
}


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

.main-navigation {
    margin-left: auto;
    margin-right: 30px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 6px;

    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 7px;

    padding: 10px 13px;

    color: #263247;
    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    border-radius: 8px;

    transition:
        background .2s ease,
        color .2s ease;
}

.nav-link:hover {
    background: #f4f7fb;
    color: #2563eb;
}

.nav-link i {
    font-size: 9px;
    color: #7c8799;
}


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

.dropdown-menu {
    position: absolute;

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

    min-width: 230px;

    padding: 8px;

    margin: 0;

    list-style: none;

    background: #ffffff;

    border: 1px solid #e5eaf1;
    border-radius: 12px;

    box-shadow:
        0 15px 35px rgba(25, 40, 65, .12);

    opacity: 0;
    visibility: hidden;
    transform: translateY(5px);

    transition:
        opacity .18s ease,
        visibility .18s ease,
        transform .18s ease;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;

    padding: 10px 12px;

    color: #344054;

    font-size: 13px;
    font-weight: 500;

    text-decoration: none;

    border-radius: 7px;

    transition:
        background .18s ease,
        color .18s ease;
}

.dropdown-menu a:hover {
    background: #f1f6ff;
    color: #2563eb;
}


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

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.language-selector,
.header-search {
    border: 0;
    background: transparent;

    color: #344054;

    cursor: pointer;

    font-family: inherit;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 6px;

    padding: 9px 8px;

    font-size: 13px;
    font-weight: 500;
}

.language-selector:hover {
    color: #2563eb;
}

.language-selector .fa-chevron-down {
    font-size: 8px;
}

.header-search {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    font-size: 15px;
}

.header-search:hover {
    background: #f3f6fa;
    color: #2563eb;
}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.mobile-menu-toggle {
    display: none;

    width: 40px;
    height: 40px;

    border: 0;
    border-radius: 8px;

    background: #f3f6fa;

    color: #1d2939;

    cursor: pointer;

    font-size: 17px;
}


/* =========================================================
   BREADCRUMB
========================================================= */

.breadcrumb-container {
    background: #ffffff;
    border-bottom: 1px solid #edf0f4;
}

.breadcrumb-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.breadcrumb {
    min-height: 42px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;

    list-style: none;

    margin: 0;
    padding: 0;

    font-size: 12px;
    color: #7b8798;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: "›";
    margin-left: 8px;
    color: #aab2bf;
}

.breadcrumb a {
    color: #2563eb;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .current {
    color: #667085;
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.site-header a:focus-visible,
.site-header button:focus-visible {
    outline: 3px solid rgba(37, 99, 235, .25);
    outline-offset: 2px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .header-container {
        min-height: 64px;
    }

    .mobile-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;

        margin-left: auto;
        margin-right: 8px;
    }

    .main-navigation {
        display: none;

        position: absolute;

        top: 64px;
        left: 0;
        right: 0;

        background: #ffffff;

        border-bottom: 1px solid #e5eaf1;

        box-shadow:
            0 15px 30px rgba(20, 35, 60, .08);

        padding: 12px 20px;
    }

    .main-navigation.mobile-open {
        display: block;
    }

    .nav-list {
        display: block;
    }

    .nav-item {
        border-bottom: 1px solid #f0f2f5;
    }

    .nav-link {
        padding: 13px 5px;
    }

    .dropdown-menu {
        position: static;

        display: none;

        opacity: 1;
        visibility: visible;
        transform: none;

        border: 0;
        box-shadow: none;

        padding: 0 0 8px 15px;

        min-width: 0;
    }

    .has-dropdown:hover .dropdown-menu {
        display: none;
    }

    .header-actions {
        margin-left: 0;
    }

    .language-selector span {
        display: none;
    }

}


@media (max-width: 600px) {

    .header-container {
        padding: 0 16px;
    }

    .site-logo {
        font-size: 18px;
    }

    .logo-icon {
        width: 31px;
        height: 31px;
    }

    .header-search {
        display: none;
    }

    .breadcrumb-inner {
        padding: 0 16px;
    }

}