/*
    Header custom styles.
    Add only partials/header.blade.php related changes here.
*/

:root {
    --site-header-height: 154px;
}

.header-area {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

/* Replace the template's red menu state with the site blue/navy palette. */
.header-area .main-menu.main-menu-white > nav > ul > li:hover > a,
.header-area .main-menu.main-menu-white > nav > ul > li > a:focus-visible,
.header-area .main-menu.main-menu-white > nav > ul > li > a.active {
    color: #071a3d;
}

.header-area .main-menu > nav > ul > li > ul li:hover > a,
.header-area .main-menu > nav > ul > li > ul li > a:focus-visible,
.header-area .main-menu > nav > ul > li > ul li > a.active {
    color: #0064e0;
}

.main-wrapper {
    padding-top: var(--site-header-height);
}

.mobile-header-active {
    z-index: 1001;
    pointer-events: none;
    transform: translateX(100%);
    -webkit-transform: translateX(100%);
}

.mobile-header-active.sidebar-visible {
    pointer-events: auto;
    transform: translateX(0);
    -webkit-transform: translateX(0);
}

.header-small-device .mobile-logo img {
    width: auto;
    max-width: 150px;
    max-height: 42px;
}

.header-small-device .header-action.header-action-flex {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.header-small-device .header-action .main-menu-icon {
    margin: 0;
    line-height: 1;
}

.header-small-device .header-action .same-style-2 a.mobile-header-button-active {
    display: flex;
    width: 42px;
    height: 42px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #d7e5f7;
    border-radius: 6px;
    background: #f3f8ff;
    color: #0064e0;
    font-size: 22px;
    line-height: 1;
    text-decoration: none;
}

.header-small-device .header-action .same-style-2 a.mobile-header-button-active:hover,
.header-small-device .header-action .same-style-2 a.mobile-header-button-active:focus {
    border-color: #0064e0;
    background: #eaf3ff;
    color: #0064e0;
}

.header-small-device .header-action .mobile-header-button-active i,
.header-small-device .header-action .mobile-header-button-active i::before {
    display: block;
    margin: 0;
    font-size: 22px;
    line-height: 1;
}

.mobile-header-active .mobile-search input {
    color: #172033;
}

.mobile-header-active .mobile-menu > li > a {
    color: #172033;
    font-weight: 700;
}

.mobile-header-active .mobile-menu .dropdown li a {
    color: #5d6879;
}

.site-mobile-contact {
    background: #f6faff;
}

.site-mobile-contact ul {
    margin: 0;
}

.site-mobile-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #596579;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.site-mobile-contact ul li i {
    flex: 0 0 auto;
    margin-top: 3px;
    color: #0064e0;
}

.site-mobile-contact a {
    color: #596579;
}

.site-mobile-contact a:hover {
    color: #0064e0;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    :root {
        --site-header-height: 82px;
    }
}

@media only screen and (max-width: 767px) {
    :root {
        --site-header-height: 82px;
    }
}

@media only screen and (max-width: 575px) {
    :root {
        --site-header-height: 76px;
    }

    .header-small-device.small-device-ptb-1 {
        padding: 17px 0;
    }

    .header-small-device .mobile-logo img {
        max-width: 132px;
        max-height: 40px;
    }
}
