header {
    position: relative;
    z-index: 1000;
}

.header-top {
    background: #1a9141;
    color: white;
    font-size: 14px;
    padding: 5px 0;
    font-weight: 400;
    display: none;
}

.clm.header-top__right {
    text-align: right;
}

header.is-scroll .header-bottom {
    position: fixed;
    background: white;
    left: 0;
    top: 0;
    width: 100%;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.129);
    z-index: 99;
}

.header-top a {
    color: inherit;
}

.header-lang {
    gap: 5px;
}

.header-lang .active {
    color: #e24b2b;
}

.icon-arrow svg {
    width: 20px;
    height: 20px;
}

.header-action button {
    padding: 0;
}

.header-action svg {
    width: 24px;
    height: 24px;
}

.header-action svg path {
    stroke: #fff;
}

.header-action .menu-btn svg path {
    stroke: #1a9141;
}

.header-action .menu-btn svg {
    transform: translateY(2px);
}

/* logo header */
.header-logo {
    line-height: 0;
}

.header-logo img {
    max-width: 185px;
    /* width: 100%; */
}

/* header menu */
.header-bottom {
    padding: 10px 0;
}

.header-nav__list {
    gap: 10px 33px;
}

.nav-item {
    position: relative;
    display: flex;
}

.nav-item .icon-arrow {
    padding-top: 2px;
}


.nav-item>a {
    font-weight: 600;
    font-size: 15px;
    color: #333;
    text-transform: uppercase;
}

.nav-item>a:hover {
    color: #008b34;
}

.nav-item:hover .nav-item__sub {
    height: max-content;
    visibility: visible;
    opacity: 1;
    transform: translateY(0) scale(1);
}



.nav-item__sub li {
    padding: 5px 20px;
}

.nav-item__sub a {
    color: #333;
    font-size: 15px;
    font-weight: 400;
}

/* header-action */
.header-action {
    gap: 10px;
    align-items: center;
}

.header-action a {
    line-height: 1;
}

/* header-search-mobile */
.header-search {
    position: fixed;
    background: #000000cc;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1001;
    display: none;
}

.header-search__box .ctnr {
    max-width: 850px;
}

.header-search__box .search-input {
    height: 50px;
    width: 100%;
    padding: 10px 65px 10px 15px;
}

.header-search__form {
    position: relative;
}

.header-search__form .search-btn {
    position: absolute;
    background: transparent;
    padding: 0;
    border: none;
    height: 50px;
    width: 50px;
    right: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.header-search__form .search-btn svg {
    width: 35px;
    height: 35px;
}

.header-search__close {
    background: transparent;
    margin-left: auto;
    display: block;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-search__close svg {
    width: 35px;
    height: 35px;
    stroke: white;
}

.navbar-collapse__heading {
    position: relative;
    border-bottom: 1px solid #eee;
    padding: 10px 10px 5px;
    margin-bottom: 10px;
}

.navbar-collapse__logo {
    max-width: 190px;
}

.navbar-collapse__close {
    position: absolute;
    padding: 0;
    right: 0;
    top: 10px;
}

.navbar-collapse__close svg {
    width: 20px;
    height: 20px;
}

.gtranslate_wrapper a {
    margin: 0 5px;
}

li.active-auth a span {
    color: #FFF;
    font-size: 15px;
}

li.active-auth:hover .box-history {
    display: block;
}

.box-history-wrap {
    z-index: 99999;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%);
    padding-top: 15px;
    display: none;
}

.box-history {
    background: #1a9141;
    padding: 0;
    width: 167px;
    border-radius: 6px;
    /* display: none; */
    overflow: hidden;
}

.box-history ul li a {
    color: #fff;
    display: inline-block;
    padding: 10px;
    width: 100%;
    text-align: left;
}

/* li.active-auth:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100px;
    top: 100%;
} */
li.active-auth {
    position: relative;
}

li.active-auth:hover .box-history-wrap {
    display: block;
}

.booking-car {
    position: fixed;
    bottom: 15px;
    left: 15px;
    z-index: 10;
}

@media (max-width: 1400px) {
    .box-history-wrap {
        right: 0;
        left: unset;
        transform: unset;
    }
}

@media (min-width: 1023px) {
    .nav-item__sub a:hover {
        color: var(--color-2);
    }

    .nav-item__sub {
        position: absolute;
        left: 0;
        top: 100%;
        background: white;
        width: max-content;
        box-shadow: 0 0 50px rgba(0, 0, 0, .07);
        border-radius: 10px;
        padding: 10px 0;
        height: 0;
        transform: translateY(-100px) scale(0);
        visibility: hidden;
        opacity: 0;
        transition: all .3s ease-in-out;
    }

    .nav-item__sub li {
        position: unset;
        display: flex;
    }

    .nav-item__sub-child {
        position: absolute;
        left: 100%;
        width: max-content;
        background: white;
        height: 100%;
        top: 0;
        padding: 10px 0;
        border-radius: 10px;
    }
}

@media(min-width:990px){
    section.footer-header {
    display: none;
}
}

@media (max-width: 1023px) {
    .header-bottom__row {
        justify-content: space-between;
    }

    .navbar-collapse {
        position: fixed;
        left: 0;
        top: 0;
        z-index: 100;
        background: white;
        width: 100%;
        height: 100%;
        opacity: 0;
        transform: translateX(-100%);
        transition: all .5s;
    }

    .navbar-collapse.is-open {
        transform: translateX(0);
        opacity: 1;
        overflow-y: scroll;
    }


    .header-nav__list {
        flex-direction: column;
        gap: 0;
    }

    .header-nav__list li>.icon-arrow svg {
        transition: all .3s ease-in;
    }

    .header-nav__list li.is-open>.icon-arrow svg {
        transform: rotate(180deg);
    }

    .nav-item {
        flex-wrap: wrap;
        padding: 12px 0 15px 10px;
    }

    .nav-item .icon-arrow {
        position: absolute;
        top: 5px;
        right: 10px;
    }

    .nav-item__sub {
        width: 100%;
        display: none;
    }

    .nav-item ul {
        display: none;
    }

    .nav-item__sub li {
        list-style: circle;
        padding: 5px 30px 5px 0;
        margin-left: 25px;
    }
}

li.active-auth a {
    background: #1a9141;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
    padding: 7px 20px;
    gap: 5px;
}

@media(max-width:990px) {

    a.navbar-collapse__logo.d-block img {
        height: 50px;
    }

}

@media (max-width: 640px) {
    .header-logo img {
        height: 43px;
    }

    .home-about .c-ttl__01 {
        font-size: 2.3rem;
    }

    .header-top__left {
        display: none;
    }
}

.swal2-container {
    z-index: 999999999 !important;
}


/* Ẩn sub-menu mặc định */
.nav-item .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    /* nằm ngay dưới nav-item cha */
    left: 0;
    background: #fff;
    min-width: 200px;
    /* padding: 10px 0; */
    list-style: none;
    margin: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    z-index: 999;
}

/* Hiển thị sub-menu khi hover vào nav-item */
.nav-item:hover .sub-menu {
    display: block;
}

/* Style cho item trong sub-menu */
.sub-menu li {
    position: relative;
}

.sub-menu li a {
    display: block;
    padding: 8px 15px;
    color: #333;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}

/* Hover sub-menu item */
.sub-menu li a:hover {
    background: #f5f5f5;
    color: #008b34;
    /* màu xanh ví dụ */
}

/* Nếu muốn cấp con của sub-menu (lv-2) hiển thị ngang */
.sub-menu .sub-menu {
    top: 0;
    left: 100%;
    margin-left: 1px;
}
 .icon-type-font-icon-phone {
    display: flex
;
    justify-content: center;
    align-items: center;
    margin: 0 15px 0 0;
    background-color: #ffaa17;
    width: 42px;
    height: 42px;
    border-radius: 100%;
    padding: 9px;
}

.icon-box-wrapper {
    display: flex;
    transition: .4s 
ease;
}
 .icon-box-wrapper .icon-text .content {
    font-size: 14px;
    margin-bottom: -1px;
}
 .icon-text .icon-box-title {
    font-weight: 600;
    font-size: 18px;
}
@media(max-width:990px){
    .icon-box-wrapper {
    display: none;
}
}