/* HEADER CSS START*/

.app__header {
    width: 100%;
    background: var(--white-color);
    box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.1);
    z-index: 999;
    position: fixed;
    transition: top 0.5s ease-in-out;
}

.app__header .header__content {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.7rem 3rem;
}

.app__header .header__logo {
}

.app__header .header__logo .logo__img {
    width: 17.7rem;
    height: 4.6rem;
}

.app__header .header__navbar {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
}

.app__header .navbar_menu {
    margin-right: 3rem;
}

.app__header .navbar__list {
    display: flex;
    justify-content: space-between;
}

.app__header .navbar__item {
    padding: 0 2.5rem;
}

.app__header .navbar__item {
    transition: transform 0.3s ease-in-out;
}

.app__header .navbar__item:hover .navbar__link {
    opacity: 0.8;
}

.navbar__item--submenu {
    position: relative;
}

.navbar__item--submenu::before {
    content: "";
    position: absolute;
    top: 1.2rem;
    right: 1rem;
    border-left: 0.4rem solid rgba(255, 255, 255, 0);
    border-right: 0.4rem solid rgba(255, 255, 255, 0);
    border-top: 0.5rem solid #798a9a;
}

.app__header .navbar__item:hover .dropdown__list_about_us,
.app__header .navbar__item:hover .dropdown__list_payment {
    display: flex;
}
.app__header .dropdown__list {
    position: absolute;
    background-color: var(--white-color);
    border-radius: 1.6rem;
    top: 10rem;
    display: none;
    padding: 5rem;
    justify-content: flex-start;
    gap: 10rem 7.5rem;
    flex-wrap: wrap;
    box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.1);
}
.app__header .dropdown__list_about_us {
    /*display: flex;*/
    width: calc(31.6667vw);
    min-width: calc(43.3333rem);
    max-width: calc(50rem);
    max-height: 90vh;
    left: 50%;
    transform: translateX(calc(-50% - 2.25rem));
}
.app__header .dropdown__list_payment {
    width: 100%;
    min-width: 150rem;
    max-width: 150rem;
    max-height: 90vh;
    left: 50%;
    transform: translateX(calc(-50% - 22.25rem));
}

.app__header .dropdown__list_payment::before {
    content: "";
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(calc(-50% - -22.25rem));
    border-left: 2.5rem solid rgba(255, 255, 255, 0);
    border-right: 2.5rem solid rgba(255, 255, 255, 0);
    border-bottom: 3.5rem solid var(--white-color);
}
.app__header .dropdown__list_about_us::before {
    content: "";
    position: absolute;
    top: -2rem;
    left: 50%;
    border-left: 2.5rem solid rgba(255, 255, 255, 0);
    border-right: 2.5rem solid rgba(255, 255, 255, 0);
    border-bottom: 3.5rem solid var(--white-color);
}

.app__header .dropdown__list_about_us::after,
.app__header .dropdown__list_payment::after {
    content: "";
    width: 100%;
    height: 10rem;
    position: absolute;
    top: -8rem;
    left: 0;
    /* transform: translateX(-10%); */
}

.app__header .submenu__services {
    width: calc(100% / 3 - ((7.5rem * 2) / 3));
}

.app__header .services__header {
    margin-bottom: 5rem;
}

.app__header .services__header h2 {
    /* \1 */
    font-size: 2rem;
    line-height: 3rem;
    font-weight: 700;
}

.app__header .services__body {
}

.app__header .services__body .services__service {
    display: flex;
    align-items: top;
    text-decoration: none;
}

.app__header .services__body .services__service:hover .service__header {
    color: var(--primary-color);
}

.app__header .services__body .services__service:hover .service__icon-active {
    display: block;
}

.app__header .services__body li:not(:first-child) {
    margin-top: 2.5rem;
}

.app__header .services__body .service__icon {
}

.app__header .services__body .service__icon img {
    width: 3rem;
}

.app__header .services__body .service_content {
    margin-left: 2rem;
    flex: 1;
    max-width: 33rem;
}

.app__header .services__body .service__header {
    /* \1 */
    font-size: 2rem;
    line-height: 3rem;
    font-weight: 600;
    color: var(--text-color);
}

.app__header .services__body .service__content {
    font-size: 2rem;
    line-height: 3rem;
    font-weight: 400;
    color: #798a9a;
}

.app__header .services__body .service__icon-active {
    font-size: 1.8rem;
    margin-left: 2rem;
    margin-top: 0.5rem;
    color: var(--primary-color);
    display: none;
}

.app__header .navbar__link {
    color: var(--text-color);
    font-size: 2rem;
    line-height: 3rem;
    font-weight: 400;
}

.app__header .navbar__item--active .navbar__link {
    color: var(--primary-color);
    font-weight: 700;
}

.app__header .header__language {
    position: relative;
}

.app__header .header__language:hover .language__dropdown-list {
    display: block;
}

.app__header .header__language .language__select {
}

.app__header .header__language .language__img {
    width: 3.8rem;
    height: auto;
}

.app__header .header__language .language__dropdown-list {
    position: absolute;
    /* width: 95vw; */
    /* min-width: 25rem; */
    max-width: 40rem;
    max-height: 90vh;
    background-color: var(--white-color);
    border-radius: 1.6rem;
    top: 11rem;
    right: 0;
    transform: translateX(calc(6%));
    display: none;
    padding: 2rem 5rem 2rem 3rem;
    box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.1);
}

.app__header .header__language .language__dropdown-list::before {
    content: "";
    position: absolute;
    top: -2rem;
    right: 10%;
    border-left: 4.5rem solid rgba(255, 255, 255, 0);
    border-right: 1rem solid rgba(255, 255, 255, 0);
    border-bottom: 3.5rem solid var(--white-color);
}

.app__header .header__language .language__dropdown-list::after {
    content: "";
    width: 100%;
    height: 10rem;
    position: absolute;
    top: -8rem;
    left: 0;
    /* transform: translateX(-10%); */
}

.app__header .header__language .language__submenu-services {
}

.app__header .header__language .language__list {
    margin-top: -1.5rem;
}

.app__header .header__language .language__item {
    margin-top: 1.5rem;
}

.app__header .header__language .language__item {
    width: 100%;
}

.app__header .header__language .language__link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    white-space: nowrap;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-origin: top left;
}

.app__header .header__language .language__link:hover .language__text {
    color: var(--primary-color);
}

.app__header .header__language .language__link:hover {
    transform: scale(1.05);
}

.app__header .header__language .language__text {
    /* \1 */
    font-size: 1.6rem;
    line-height: 2.4rem;
    font-weight: 700;
    color: var(--text-color);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .app__header .dropdown__list {
        padding: 5rem;
        gap: 5rem 7.5rem;
    }

    .app__header .services__header {
        margin-bottom: 3rem;
    }

    .app__header .services__body li:not(:first-child) {
        margin-top: 1.5rem;
    }
}

/* 56% */
@media (min-width: 768px) and (max-width: 1023px) {
    .app__header .dropdown__list {
        padding: 5rem;
        gap: 5rem 7.5rem;
        max-height: 75vh;
    }

    .app__header .services__header {
        margin-bottom: 3rem;
    }

    .app__header .services__body li:not(:first-child) {
        margin-top: 1.5rem;
    }
    .app__header .navbar__item {
        padding: 0 1rem;
    }

    .navbar__item--submenu::before {
        top: 1.3rem;
        right: 0.1rem;
    }

    .app__header .services__body .service__icon-active {
        margin-left: 1rem;
    }

    .app__header .services__body .service_content {
        max-width: 34rem;
    }
}

/* 64% */
@media (min-width: 1024px) and (max-width: 1279px) {
    .app__header .dropdown__list {
        padding: 5rem;
        gap: 5rem 7.5rem;
        max-height: 80vh;
    }
    .app__header .dropdown__list_payment {
        transform: translateX(calc(-50% - 31.25rem));
    }
    .app__header .dropdown__list_payment::before {
        transform: translateX(calc(-50% - -31.25rem));
    }

    .app__header .services__header {
        margin-bottom: 3rem;
    }

    .app__header .services__body li:not(:first-child) {
        margin-top: 1.5rem;
    }

    .app__header .navbar__item {
        padding: 0 1.5rem;
    }

    .navbar__item--submenu::before {
        right: 0.3rem;
    }
}

/* 75% */
@media (min-width: 1280px) and (max-width: 1535px) {
    .app__header .dropdown__list {
        padding: 5rem;
        gap: 5rem 7.5rem;
        max-height: 80vh;
    }

    .app__header .services__header {
        margin-bottom: 3rem;
    }

    .app__header .services__body li:not(:first-child) {
        margin-top: 1.5rem;
    }
}

/* 85% */
@media (min-width: 1536px) and (max-width: 1919px) {
    .app__header .dropdown__list {
        padding: 5rem;
        gap: 5rem 7.5rem;
        max-height: 85vh;
    }

    .app__header .services__header {
        margin-bottom: 3rem;
    }

    .app__header .services__body li:not(:first-child) {
        margin-top: 1.5rem;
    }
}



.mobile-menu-button {
    display: none;
    width: 6.82rem;
    height: 6.82rem;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: var(--font-size-18px);
    position: relative;
    gap: 1.14rem;
    cursor: pointer;
}

.mobile-menu-button span {
    display: block;
    width: 100%;
    height: 2px;
    background: #383838;
    position: relative;
    border-radius: 2px;
    transition: all 0.2s linear;
    transform-origin: center;
}

input[name="mobile-menu-checkbox"]:checked
    ~ .mobile-menu-button
    span:first-child {
    opacity: 1;
    transform: rotate(-45deg) translateY(1.14rem);
    background: var(--primary-color);
    box-shadow: 0 0 2em 0.2em var(--primary-color);
}

input[name="mobile-menu-checkbox"]:checked
    ~ .mobile-menu-button
    span:nth-child(2) {
    opacity: 0;
    display: none;
}

input[name="mobile-menu-checkbox"]:checked
    ~ .mobile-menu-button
    span:nth-child(3) {
    display: block;
    opacity: 1;
    transform: rotate(45deg) translateY(-1.14rem);
    background: var(--primary-color);
    box-shadow: 0 0 2em 0.2em var(--primary-color);
}

input[name="mobile-menu-checkbox"] {
    display: none;
}

.mobile-menu-wrapper {
}

.mobile-menu {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    max-height: calc(100vh - var(--header-height));
    overflow-y: scroll;
    background: white;
}

input[name="mobile-menu-checkbox"]:checked ~ .mobile-menu {
    display: block;
    animation: fade-in 300ms linear;
}

@keyframes fade-in {
    0% {
        opacity: 0;
        top: calc(15px + var(--header-height));
    }

    25% {
        opacity: 0.25;
        top: calc(10px + var(--header-height));
    }

    50% {
        opacity: 0.5;
        top: calc(5px + var(--header-height));
    }

    100% {
        opacity: 1;
        top: var(--header-height);
    }
}

.mobile__nav > ul {
    display: block;
    height: 100%;
}

.mobile__nav > ul > li {
    padding-left: var(--space-20px);
    padding-right: var(--space-20px);
    box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.1);
}

.mobile__nav > ul > li > a {
    padding: var(--space-16px) 0;
    font-size: var(--font-size-16px);
    line-height: 1.2;
    width: 100%;
    color: var(--text-color) !important;
    font-weight: 600;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.mobile__nav > ul > li > a:hover,
.mobile__nav > ul > li.active > a,
.subnav li a:hover,
.subnav li.active a {
    color: var(--primary-color) !important;
}

.subnav {
    width: 100%;
}

.subnav__wrapper {
    display: block;
    height: auto;
    padding: var(--space-16px) 0;
    border-bottom: 1px solid #ebebeb;
}

.subnav__wrapper:last-child {
    border-bottom: none;
}

.subnav__note {
    margin-bottom: var(--space-24px);
    font-size: var(--font-size-12px);
    line-height: 1.2;
    color: #798a9a;
    font-weight: 600;
}

.subnav li {
    display: flex;
    align-items: flex-start;
    height: auto;
    width: 100%;
    margin: var(--space-16px) 0;
}

.subnav li:first-child {
    margin-top: 0;
}

.subnav__wrapper .subnav li:last-child {
    margin-bottom: 0;
}

.subnav__icon {
    margin-right: var(--space-16px);
}

.subnav__icon img {
    width: var(--space-24px);
    height: auto;
    object-fit: contain;
}

.subnav__link {
    display: block;
    flex: 1;
}

.subnav__link a {
    display: block;
    width: 100%;
    height: auto;
    color: var(--text-color);
    font-size: var(--font-size-16px);
    line-height: 1.2;
    font-weight: 600;
}

.subnav__link p {
    color: #798a9a;
    font-size: var(--font-size-14px);
    line-height: 1.2;
    margin-top: var(--space-6px);
}

.collapse {
    display: block;
    width: 100%;
    overflow: hidden;
}

.collapse-toggle {
    color: var(--text-color);
    padding: 4.55rem 0;
    border: none;
    background: transparent;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    font-size: var(--font-size-16px);
    line-height: 1.2;
    font-weight: 600;
}

.collapse-toggle:hover {
}

.collapse-toggle i {
    transition: transform 0.3s ease;
    transform-origin: center;
}

.collapse.open .collapse-toggle i {
    transform: rotate(180deg);
}

.collapse-content {
    overflow: hidden;
    transition: height 0.4s ease;
}

.collapse.open .collapse-content {
}

@media (max-width: 738px) {
    /* ===================== Header ======================== */
    .app__header {
        user-select: none;
    }

    .app__header a {
        user-select: none;
    }

    .app__header .header__content {
        padding: 2.84rem var(--space-20px);
    }

    .app__header .header__navbar {
        display: none;
    }

    .app__header .header__logo .logo__img {
        height: 8.52rem;
        width: auto;
        object-fit: contain;
    }

    .mobile-menu-button {
        display: flex;
    }

    /* ===================== /Header ======================== */
}

/* HEADER CSS END*/
