:root {
    --black: #2B2A29;
    --white: #fefefe;
    --black-mid-tone: #4A4948;
    --red: #AF222A;
    --grey: #C5C6C6;
    --grey-gradient: linear-gradient(90deg, #E2E3E3 0%, #F5F5F5 100%);
    --red-gradient: linear-gradient(95deg, #AF222A 30%, #BA222B 64%, #C53C43 100%);
    --red-holding-gradient: linear-gradient(179.41deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(175, 34, 42, 0.5) 42.30763018131256%,
            rgba(175, 34, 42, 1) 80.76916337013245%);

    --red-holding-gradient-hover: linear-gradient(180deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(175, 34, 42, 0.5) 32.21147656440735%,
            rgba(175, 34, 42, 1) 53.8460910320282%);
    --red-slider-gradient: linear-gradient(-90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(175, 34, 42, 0.4) 20.67301869392395%,
            rgba(175, 34, 42, 1) 39.72383737564087%);
    --red-btn-hover: #E92626;
    --red-hover: #C62828;
    --shadow-base: 0px 1px 10px 0.5px rgba(0, 0, 0, 0.2);
    --shadow-middle: 0 8px 20px rgba(0, 0, 0, 0.15);
    /* зробив для хедера */
    --shadow-large: 0px 10px 40px 0px rgba(0, 0, 0, 0.2);
}

body {
    max-width: 100vw;
    background-color: var(--white);
    margin: 0px;
    padding: 0px;
    font-family: "Lato-regular", sans-serif;
    color: var(--black);
    overflow-y: scroll;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

.no-scroll {
    overflow: hidden;
    /* блокує скрол на desktop */
    position: fixed;
    /* блокує скрол на iOS */
    width: 100%;
}


html {
    scrollbar-width: thin;
    scrollbar-color: var(--red) transparent;
}


main {
    padding-top: 80px;
}

main>section {
    margin: 100px 10% 100px 10%;
}

@media (max-width: 1023px) {
    main>section {
        margin: 40px 10%;
    }
}

/* Скролбар */
/* ::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--grey-gradient);
}

::-webkit-scrollbar-thumb {
    background: var(--red);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--red-btn-hover);
    border: 2px solid transparent;
    background-clip: content-box;
} */

/* html {
    
} */

.scroll-margin-top {
    scroll-margin-top: 80px;
}

/* Шрифти */

a {
    text-decoration: none;
    color: var(--black);
}

p {
    text-align: left;
    font-size: 16px;
    margin: 0;
}

h1 {
    font-size: 64px;
    margin: 0;
}

h2 {
    font-size: 48px;
    margin: 0;
}

h3 {
    font-size: 36px;
    margin: 0;
}

h4 {
    font-size: 30px;
    margin: 0;
}

h5 {
    font-size: 24px;
    margin: 0;
}

@media (min-width: 1201px) and (max-width: 1400px) {
    h3 {
        font-size: 28px;
    }
}

@media (min-width: 1024px) and (max-width: 1200px) {
    h1 {
        font-size: 48px;
    }

    h2 {
        font-size: 36px;
    }

    h3 {
        font-size: 28px;
    }

    h4 {
        font-size: 22.5px;
    }

    h5 {
        font-size: 18px;
    }

    p {
        font-size: 14px;
    }
}

@media (max-width: 1024px) {
    h1 {
        font-size: 38px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 22px;
    }

    h4 {
        font-size: 18px;
    }

    h5 {
        font-size: 15px;
    }

    p {
        font-size: 14px;
    }
}

@media (max-width: 550px) {
    p {
        font-size: 12px;
    }

    ;
}

.red {
    color: var(--red);
}

.white {
    color: var(--white);
}

.lighter {
    font-weight: lighter;
}

.holdings-heading {
    font-size: 24px;
}

@media (max-width: 1023px) {
    .lighter {
        font-weight: normal;
    }
}

.cursor {
    cursor: pointer;
}

/* Повторювані елементи */

header {
    width: 100%;
    height: 80px;
    background-color: var(--white);
    display: flex;
    position: fixed;
    z-index: 4;
}

.header-nav-list {
    list-style: none;
    padding: 0;
    width: 100%;
    margin: 0px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    width: 10%;

    img {
        width: 100%;
    }
}

.header-nav-item {
    box-sizing: border-box;
    height: 50px;
    padding: 16px;
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    border-radius: 10px;
    position: relative;
    cursor: pointer;
}

@media (min-width: 1024px) and (max-width: 1200px) {
    .header-nav-item {
        height: 40px;
        font-size: 16px;
        padding: 10px;
    }
}

.header-nav-item:hover {
    background: var(--grey-gradient);
}

.header-nav-item:hover>a {
    color: var(--red);
}

.header-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 300px;
    border-radius: 10px;
    box-shadow: var(--shadow-middle);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
}

.header-dropdown-list {
    list-style: none;
    margin: 0;
    padding: 16px;
}

.header-dropdown-item a {
    display: block;
    text-align: left;
    padding: 16px 16px;
    color: var(--black-mid-tone);
    font-size: 16px;
    transition: background-color 0.2s ease;
}

.header-dropdown-item a:hover {
    background: var(--grey-gradient);
    color: var(--red);
    border-radius: 10px;
}

.header-nav-item:hover .header-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}




/* Default mobile header hidden for larger screens */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    z-index: 5;
}

/* Mobile top bar */
.mobile-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 26px;
}

/* Hamburger button */
.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: all 0.3s ease;
}

.hamburger-line {
    width: 24px;
    height: 3px;
    background: var(--black-mid-tone);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile menu */
.mobile-nav {
    display: none;
    background: var(--white);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

.mobile-nav.open {
    display: block;
    animation: slideDownMobile 0.3s ease-out;
}

@keyframes slideDownMobile {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* .mobile-nav-item {
    border-bottom: 1px solid var(--grey);
} */

.mobile-nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 26px;
    font-size: 18px;
    font-weight: bold;
    color: var(--black-mid-tone);
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

.mobile-nav-link:hover {
    background: var(--grey-gradient);
    color: var(--red);
}

.mobile-nav-link.active {
    background: var(--grey-gradient);
    color: var(--red);
}

/* Dropdown arrow */
.mobile-dropdown-arrow {
    transition: transform 0.3s ease, color 0.2s ease;
    display: flex;
    align-items: center;
}

.mobile-nav-item.open .mobile-dropdown-arrow {
    transform: rotate(180deg);
    color: var(--red);
}

/* Dropdown list */
.mobile-dropdown-list {
    list-style: none;
    margin: 0;
    padding: 0;
    background: var(--white);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.mobile-nav-item.open .mobile-dropdown-list {
    max-height: 500px;
    opacity: 1;
}

/* .mobile-dropdown-item {
    border-top: 1px solid var(--grey);
} */

.mobile-dropdown-item a {
    display: block;
    padding: 16px 26px 16px 50px;
    font-size: 16px;
    font-weight: normal;
    color: var(--black-mid-tone);
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

.mobile-dropdown-item a:hover {
    background: var(--grey-gradient);
    color: var(--red);
    padding-left: 55px;
}

.mobile-dropdown-item a::before {
    content: "";
    position: absolute;
    left: 35px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: var(--red);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.mobile-dropdown-item a:hover::before {
    opacity: 1;
}

/* Mobile CTA button */
.mobile-nav-cta {
    padding: 20px 26px;
    border-bottom: none;
}

.mobile-nav-btn {
    position: relative;
    overflow: hidden;
    text-decoration: none;
    box-sizing: border-box;
    width: 100%;
    height: 50px;
    padding: 10px 10px 10px 0px;
    border-radius: 10px;
    color: var(--red);
    font-family: "Lato-SemiBold", sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
    justify-content: start;
    transition: color 0s ease;
}

.mobile-nav-btn .arrow {
    transition: opacity 0.4s ease, transform 0.4s ease;
    position: relative;
    z-index: 1;
}

.mobile-nav-btn .arrow-visible {
    opacity: 1;
    transform: translateX(0);
}

.mobile-nav-btn .arrow-hidden {
    opacity: 0;
    transform: translateX(-10px);
    position: absolute;
    right: 10px;
}

.mobile-nav-btn .btn-text {
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease;
}

.mobile-nav-btn .hover-bg {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--red);
    z-index: 0;
    border-radius: 10px;
    transition: width 0.4s ease;
}

.mobile-nav-btn:hover {
    color: var(--white);
    flex-direction: row-reverse;
    justify-content: center;
    gap: 4px;
}

.mobile-nav-btn:hover .arrow-visible {
    opacity: 0;
    transform: translateX(10px);
}

.mobile-nav-btn:hover .arrow-hidden {
    opacity: 1;
    transform: translateX(20px);
}

.mobile-nav-btn:hover .hover-bg {
    width: 100%;
}

.mobile-logo {
    width: 10%;
}

.mobile-header-logo {
    height: 50px;
}

/* Hide desktop header on small screens */
@media (max-width: 1023px) {
    .header-nav-list {
        display: none;
    }

    .mobile-header {
        display: block;
    }
}

@media (max-width: 768px) {
    .mobile-header-top {
        padding: 12px 20px;
    }

    .mobile-nav-link {
        padding: 16px 20px;
        font-size: 16px;
    }

    .mobile-dropdown-item a {
        padding: 14px 20px 14px 40px;
        font-size: 15px;
    }

    .mobile-dropdown-item a:hover {
        padding-left: 45px;
    }

    .mobile-dropdown-item a::before {
        left: 28px;
    }

    .mobile-nav-cta {
        padding: 16px 20px;
    }
}



footer {
    width: 100%;
    display: flex;
    /* height: 420px; */
    box-sizing: border-box;
}

.footer-white-wrapper {
    box-sizing: border-box;
    /* width: 100%; */
    background: var(--white);
    color: var(--red);
    display: flex;
    flex-direction: column;
    gap: 24px;

    h5 {
        margin-bottom: 8px;
    }
}

/* .footer-logo-container {
    padding: 60px 0 40px 40px;
    width: 100%;
} */

.footer-white-wrapper>img {
    width: 61%;
    height: 21%;
}

.footer-white-wrapper a {
    color: var(--red);
}

@media (min-width: 1024px) and (max-width: 1200px) {
    .footer-white-wrapper {
        gap: 18px;
    }

    .footer-white-wrapper>img {
        margin-bottom: 18px;
    }
}

.footer-red-wrapper {
    box-sizing: border-box;
    width: 40%;
    padding: 60px 60px 40px 10%;
    display: flex;
    background: var(--red-gradient);
    color: var(--white);
    border-radius: 0 15px 0 0;
    display: flex;
    flex-direction: column;
    gap: 24px;

    h5 {
        margin-bottom: 8px;
    }
}

.footer-white-wrapper-raw {
    width: 60%;
    display: flex;
    flex-direction: row;
    padding: 60px 10% 40px 60px;
}

.footer-red-wrapper a {
    color: var(--white);
}

.footer-red-wrapper>div,
.footer-white-wrapper>div {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-contacts-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 20px;
}

.footer-contacts {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* .footer-contacts-icon {
    width: 24px;
    height: 24px;
} */

.footer-contacts a:hover {
    color: var(--grey);
}

.footer-nav-item a:hover {
    color: var(--red-btn-hover);
}

.social {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: flex-start;
}

.social a {
    position: relative;
    width: 24px;
    height: 24px;
}

.social img {
    width: 24px;
    height: 24px;
    transition: opacity 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.visible-icon {
    opacity: 1;
    z-index: 1;
}

.hidden-icon {
    opacity: 0;
    z-index: 2;
}

.social a:hover .visible-icon {
    opacity: 0;
}

.social a:hover .hidden-icon {
    opacity: 1;
}

.footer-nav-container {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
    color: var(--red);
}

.footer-nav {
    box-sizing: border-box;
    display: flex;
    /* gap: 24px; */
    padding: 0;
}


/* .footer-nav-left {
    box-sizing: border-box;
    width: 40%;
}

.footer-nav-right {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: 55%;
    gap: 16px;
}

.footer-nav-left>ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0;
    margin: 0;

} */
/* 
.footer-nav-right>ul {

    padding: 0;
    margin: 0;
} */

/* .footer-nav-list {
    display: flex;
    flex-direction: column;
    padding: 0;
    gap: 10px;
} */
.footer-nav-container {
    display: flex;
    flex-direction: column;
    padding: 0 10%;
}

.footer-nav-list {
    display: flex;
    flex-direction: column;
    padding: 0;
    gap: 24px;
    margin: 0;
}

.footer-nav-heading {
    font-size: 20px;
    font-weight: bold;
}

.footer-nav-item {
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: 0;
    gap: 8px;

    a {
        color: var(--red);
    }

}

.footer-company-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    /* gap: 32px; */
}

.footer-company {
    /* display: flex;
    flex-direction: column; */
    /* gap: 32px; */
    display: flex;
    flex-wrap: wrap;
}

/* .footer-company-logo {
    display: flex;
    padding: 0 16px;
    justify-content: space-between;
    justify-content: flex-start;

} */


.footer-company a {
    box-sizing: border-box;
    display: flex;
    padding: 32px 16px;
    height: auto;
    justify-content: center;
    align-items: center;
    /* width: 40%; */
    width: 33%;
}

.footer-company>a>img:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease-in-out;
}

.footer-company a img {
    width: 100%;
    max-height: 30px;
}

@media (min-width: 1024px) and (max-width: 1200px) {
    .footer-nav-heading {
        font-size: 16px;
    }

    .footer-nav-list li a {
        font-size: 14px;
    }

    .footer-contacts img {
        width: 16px;
        height: auto;
    }

    .social img {
        width: 20px;
        height: auto;
    }

    .footer-company-container {
        gap: 24px;
    }

    /* .footer-company a {
            width: 33%;
    } */
}

@media (max-width: 1024px) {
    .footer-nav-heading {
        font-size: 14px;
    }

    footer p {
        font-size: 12px;
    }

    .footer-nav-list li a {
        font-size: 12px;
    }

    .footer-contacts img {
        width: 14px;
        height: auto;
    }

    .social img {
        width: 16px;
        height: auto;
    }

    .footer-nav-container {
        gap: 20px;
    }

    .footer-company-container {
        gap: 20px;

        .footer-company-logo {
            gap: 4%;
        }
    }

    /* 
    .footer-company {
        gap: 45px;
    } */

    /* .footer-company a {
        width: 48%;
        height: auto;
    } */
}

.hidden-footer-object {
    display: none !important;
}



@media (max-width: 1024px) {
    footer {
        flex-direction: column;

        .footer-red-wrapper {
            border-radius: 15px 15px 0 0;
        }

        .hidden-footer-object {
            display: flex !important;
            color: var(--white);

            .footer-nav-item a {
                color: var(--white);
            }
        }

        .visible-footer-container {
            display: none !important;
        }

        .footer-white-wrapper {
            flex-direction: row;
            justify-content: space-between;
            width: 100%;
            position: relative;

        }

        .footer-red-wrapper>div,
        .footer-white-wrapper>div {
            gap: 20px;
        }

        .footer-white-wrapper-raw {
            box-sizing: border-box;
            flex-direction: column;
            padding: 24px 10%;
            width: 100%;
            gap: 24px;
        }

        .footer-nav-container {
            padding: 0;
        }

        .footer-white-wrapper>div {
            width: 100%;
        }

        .footer-red-wrapper {
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            width: 100%;
            gap: 40px;
            padding: 24px 10%;

            div {
                gap: 20px;
            }

            .footer-office-container {
                width: 50%;
            }

            .footer-nav-container {
                width: 50%;
            }

            .footer-contacts-container {
                width: 100%;
            }

            .footer-nav-list {
                gap: 16px;
            }
        }

        .footer-company a {
            width: 25%;
        }
    }
}

@media (max-width: 600px) {
    footer {
        .footer-white-wrapper>div {
            width: 100%;
        }

        .footer-red-wrapper>div,
        .footer-white-wrapper>div {
            gap: 16px;
        }

        .footer-red-wrapper {
            .footer-office-container {
                width: 100%;
            }
        }

        .footer-white-wrapper-raw {
            gap: 42px;
        }

        .footer-nav-container {
            gap: 16px;
        }

        .hidden-footer-object {
            display: none !important;
        }

        .visible-footer-container {
            display: flex !important;
        }

        .footer-white-wrapper>.footer-company-container {
            gap: 0;
        }

    }

    .footer-nav-left>ul {
        gap: 12px;
    }
}

.btn-soft {
    position: relative;
    overflow: hidden;
    text-decoration: none;
    box-sizing: border-box;
    width: 200px;
    height: 50px;
    padding: 10px 10px 10px 0px;
    border-radius: 10px;
    /* background-color: var(--white); */
    color: var(--red, #af222a);
    font-family: "Lato-SemiBold", sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
    justify-content: start;
    transition: color 0s ease;
}

@media (min-width: 1024px) and (max-width: 1200px) {
    .btn-soft {
        width: 150px;
        height: 40px;
        font-size: 16px;
        padding: 5px 5px 5px 0;
    }
}

.link-delay.clicked {
    opacity: 0.6;
    transition: opacity 0.4s ease;
}


.btn-soft .arrow {
    transition: opacity 0.4s ease, transform 0.4s ease;
    position: relative;
    z-index: 1;
}

.arrow-visible {
    opacity: 1;
    transform: translateX(0);
}

.arrow-hidden {
    opacity: 0;
    transform: translateX(-10px);
    position: absolute;
    right: 10px;
}

.btn-soft .btn-text {
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease;
}

.btn-soft .hover-bg {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--red);
    z-index: 0;
    transition: width 0.4s ease;
}

.btn-soft:hover {
    color: var(--white);
    flex-direction: row-reverse;
    justify-content: center;
    gap: 4px;

    .arrow-visible {
        opacity: 0;
        transform: translateX(10px);
    }

    .arrow-hidden {
        opacity: 1;
        transform: translateX(20px);
    }

    .hover-bg {
        width: 100%;
    }

}

.btn-soft-reverse {
    position: relative;
    overflow: hidden;
    text-decoration: none;
    box-sizing: border-box;
    width: 200px;
    height: 50px;
    padding: 10px 10px 10px 0px;
    border-radius: 10px;
    /* background-color: var(--red, #af222a); */
    color: var(--white);
    font-family: "Lato-SemiBold", sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
    justify-content: start;
    transition: color 0s ease;
}

@media (min-width: 1024px) and (max-width: 1200px) {
    .btn-soft-reverse {
        width: 150px;
        height: 40px;
        font-size: 16px;
        padding: 5px 5px 5px 0;
    }
}

.btn-soft-reverse .arrow {
    transition: opacity 0.4s ease, transform 0.4s ease;
    position: relative;
    z-index: 1;
}

.arrow-visible {
    opacity: 1;
    transform: translateX(0);
}

.arrow-hidden {
    opacity: 0;
    transform: translateX(-10px);
    position: absolute;
    right: 10px;
}

.btn-soft-reverse .btn-text {
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease;
}

.btn-soft-reverse .hover-bg {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--white);
    z-index: 0;
    transition: width 0.4s ease;
}

.btn-soft-reverse:hover {
    color: var(--red);
    flex-direction: row-reverse;
    justify-content: center;
    gap: 4px;
}

.btn-soft-reverse:hover .arrow-visible {
    opacity: 0;
    transform: translateX(10px);
}

.btn-soft-reverse:hover .arrow-hidden {
    opacity: 1;
    transform: translateX(20px);
}

.btn-soft-reverse:hover .hover-bg {
    width: 100%;
}

.btn {
    box-sizing: border-box;
    width: 200px;
    height: 50px;
    padding: 10px;
    border-radius: 10px;
    border: none;
    background-color: var(--red);
    color: var(--white);
    font-family: "Lato-SemiBold", sans-serif;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

@media (min-width: 1024px) and (max-width: 1200px) {
    .btn {
        width: 150px;
        height: 40px;
        font-size: 16px;
        padding: 5px;
    }
}

@media (max-width: 1023px) {
    .btn-soft {
        width: 130px;
        height: 40px;
        font-size: 14px;
        padding: 5px 5px 5px 0;
        gap: 8px;
    }

    .btn-soft-reverse {
        width: 130px;
        height: 40px;
        font-size: 14px;
        padding: 5px 5px 5px 0;
        gap: 8px;
    }

    .btn {
        width: 120px;
        height: 40px;
        font-size: 14px;
        padding: 5px;
    }

    .arrow {
        width: 12.5px;
    }
}

.btn:hover {
    background-color: var(--red-hover);
}

/* Універсальні контейнери */

.flex {
    display: flex;
}

.heading-wrapper {
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.logo-animation-wrapper {
    width: 40%;
    display: flex;
    justify-content: flex-end;
}

.logo-animation {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.logo-container-red {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    gap: 8px;

    img {
        width: 36%;
        height: auto;
    }
}

.logo-container-grey {
    width: 100%;
    display: flex;
    justify-content: flex-end;

    img {
        width: 36%;
        height: auto;
    }
}

@media (max-width: 1023px) {
    .flex {
        gap: 24px;
        flex-direction: column-reverse;
    }

    .heading-wrapper {
        width: 100%;
        gap: 32px;
    }

    .logo-animation-wrapper {
        display: none;
        visibility: hidden;
        width: 100%;

        .logo-animation {
            width: 40%;
        }
    }
}



.white-wrapper {
    padding: 80px 10%;
    display: flex;
    gap: 5%;
    scroll-margin: 80px;

    .container-description {
        width: 45%;
    }

    .container-img {
        width: 50%;
    }

    .container-img img {
        width: 100%;
    }
}

.red-wrapper {
    padding: 80px 10%;
    background-color: var(--red);
    color: var(--white);
    display: flex;
    gap: 5%;
    scroll-margin: 80px;

    .container-description {
        width: 45%;
    }

    .container-img {
        width: 50%;
    }

    .container-img img {
        width: 100%;
    }
}

.red-wrapper-reverse {
    padding: 80px 10%;
    background-color: var(--red);
    color: var(--white);
    display: flex;
    flex-direction: row-reverse;
    gap: 5%;
    scroll-margin: 80px;

    .container-description {
        width: 45%;
    }

    .container-img {
        width: 50%;
    }

    .container-img img {
        width: 100%;
    }
}

.heading-container {
    display: flex;
    align-items: center;
    gap: 32px;
}

.container-heading {
    display: flex;
    align-items: center;
    gap: 32px;
}

@media (max-width: 599px) {
    html {
        overflow-x: hidden;
        max-width: 100vw;
    }

    .heading-container {
        gap: 16px;
    }

    .container-heading {
        gap: 16px;
    }

    .logo-partners .heading-container {
        flex-wrap: wrap;
        gap: 5%;
        row-gap: 10px;

        h2 {
            width: 100%;
        }

        .filter {
            width: 30%;
        }
    }
}

.container-description {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
}

.container-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
}

.container-img img {
    border-radius: 10px;
}

.block-wrapper {
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    row-gap: 32px;
    column-gap: 5%;
}

.block-small {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 30%;
    padding: 16px;
    background: var(--grey-gradient);
    box-shadow: var(--shadow-base);
    border-radius: 10px;
}

.block-small-img {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    box-shadow: none;
    padding: 0;
}

.block-small-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: none;
}

.red-border-top {
    border-top: 5px solid var(--red);
}

.block-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.block-middle-wrapper {
    padding-top: 60px;
    display: flex;
    gap: 5%;
}

.block-middle {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 24px;
    padding: 20px;
    width: 31%;
    border-radius: 10px;
    background: var(--red-gradient);
    color: var(--white);
    box-shadow: var(--shadow-large);
}

.block-middle-reverse {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 24px;
    padding: 20px;
    width: 32%;
    border-radius: 10px;
    background: var(--grey-gradient);
    box-shadow: var(--shadow-base);
}

.block-description {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 35%;
}

.block-description-white {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30%;
    color: var(--white);
}

.block-wide-wrapper {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 60%;
}

.block-wide {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    width: 100%;
    border-radius: 10px;
    background: var(--grey-gradient);
    box-shadow: var(--shadow-base);
}

.block-middle-img {
    width: 100%;
    text-align: left;
}

@media (min-width: 1024px) and (max-width: 1200px) {
    .heading-wrapper {
        gap: 45px;
    }

    .block-wide {
        gap: 12px;
    }

    .block-middle {
        gap: 18px;
    }

    .block-middle-reverse {
        gap: 18px;
    }

    .block-text {
        gap: 6px;
    }

    .block-small {
        gap: 12px;
    }

    .container-text {
        gap: 18px;
    }

    .container-description {
        gap: 30px;
    }

    .container-heading,
    .heading-container {
        gap: 24px;
    }
}


@media (max-width: 1024px) {
    .white-wrapper {
        flex-direction: column-reverse;
        gap: 24px;
        padding: 40px 10%;

        .container-description {
            width: 100%;
            gap: 24px;
        }

        .container-img {
            width: 100%;
        }

        .container-text {
            width: 100%;
        }
    }

    .red-wrapper {
        flex-direction: column-reverse;
        gap: 24px;
        padding: 40px 10%;

        .container-description {
            width: 100%;
            gap: 24px;
        }

        .container-img {
            width: 100%;
        }

        .container-text {
            width: 100%;
        }
    }

    .red-wrapper-reverse {
        flex-direction: column-reverse;
        gap: 24px;
        padding: 40px 10%;

        .container-description {
            width: 100%;
            gap: 24px;
        }

        .container-img {
            width: 100%;
        }

        .container-text {
            width: 100%;
        }
    }
}

.counter {
    font-size: 80px;
    color: var(--black-mid-tone);
}

@media (min-width: 1201px) and (max-width: 1400px) {
    .counter {
        font-size: 70px;
    }
}

@media (min-width: 1024px) and (max-width: 1200px) {
    .counter {
        font-size: 54px;
    }
}

@media (max-width: 1024px) {
    .counter {
        font-size: 42px;
    }
}

.counter-container {
    min-width: 28%;
    text-align: center;
}

video {
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

/* Анімації */

.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease-out;
}

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-down-on-scroll {
    opacity: 0;
    transform: translateY(-40px);
    transition: all 0.6s ease-out;
}

.fade-in-down-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transform: translateY(0px);
    transition: opacity 2s ease-out, transform 1s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.6s ease-out;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.6s ease-out;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

[data-stagger=fadeup] [data-item] {
    opacity: 0;
    transform: translateY(clamp(16px, 1.25vw, 24px));
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-item].visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    20% {
        opacity: 1;
        transform: translateY(0);
    }

    80% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* Turn off the tap highlight on touch */
/* a, button, input, select, textarea, label, summary, div {
  -webkit-tap-highlight-color: transparent;
} */