body {
    padding-top: 86px !important;
}

main {
    overflow: hidden;
}

.section .container {
    max-width: 1400px;
    /*padding: 0 40px;*/
    padding: 0;
}

.section {
    margin-bottom: 80px;
}


.hero-section {
    position: relative;
    overflow: hidden;
}

.floating-left,
.floating-right {
    position: absolute;
    top: 0;
    z-index: -1;
    pointer-events: none;
    animation: floatY 10s ease-in-out infinite;
}

.floating-left-mobile, .floating-right-mobile {
    display: none;
}

.floating-left {
    left: -30%;
    animation-delay: 0s;
}

.floating-right {
    right: -30%;
    animation-delay: 3s; /* половина періоду — створює протифазу */
}

@keyframes floatY {
    0%, 100% {
        transform: translateY(-300px);
    }
    50% {
        transform: translateY(40%);
    }
}


.hero-section__inner {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
    margin-bottom: 80px;
    padding-top: 40px;
}

.hero-section__inner .title {
    max-width: 926px;
    margin: 0 auto 22px;
    text-align: center;
}

.hero-section__inner .desc {
    max-width: 500px;
    margin: 0 auto 22px;
    text-align: center;
}

.hero-section__inner .buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    /*margin-bottom: 80px;*/
}


.currency-exchange-rates__inner {
    overflow: hidden;
    display: flex;
    align-items: center;
    margin-bottom: 80px;
    border-radius: 24px;
    background: #ffffff;

    /* Shadow */
    box-shadow: 0px 4px 38px 0px rgba(156, 25, 206, 0.10);
}

.currency-exchange-rates__cnt {
    flex: 1;
    padding: 60px;
}

.currency-exchange-rates__cnt .title {
    margin-bottom: 32px;
}

.currency-exchange-rates__img {
    flex-basis: 828px;
}


.save-currency {
    margin-top: 0 !important;
}
.save-currency .inner__main {
    display: flex;
    gap: 40px;
}

.save-currency__inner {
    padding: 40px;
    border-radius: 24px;
    background: #EEEFFF;
}

.save-currency__inner .title {
    max-width: 480px;
    margin-bottom: 20px;
}

.make-payments__inner {
    padding: 40px;
    border-radius: 24px;
    background: #F2F4F8;
}

.make-payments__inner .title {
    max-width: 460px;
    margin-bottom: 20px;
}


.exchange__inner {
    overflow: hidden;
    display: flex;
    align-items: center;
    border-radius: 32px;
    background: #ffffff;

    /* Shadow */
    box-shadow: 0px 4px 38px 0px rgba(156, 25, 206, 0.10);
}

.exchange__img {
    flex-basis: 992px;
}

.exchange__cnt {
    flex: 1;
    padding: 60px;
}

.exchange__cnt .title {
    max-width: 250px;
    margin-bottom: 20px;
}

.exchange__cnt .desc {
    margin-bottom: 50px;
}


.perks h2 {
    margin-bottom: 80px;
    text-align: center;
}

.perks__inner {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.perks__inner .item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc((100% / 2) - 20px);
    padding: 32px;
    text-align: center;
    border-radius: 20px;
    background: #ffffff;

    /* Shadow */
    box-shadow: 0px 4px 38px 0px rgba(156, 25, 206, 0.10);
}

.perks__inner .item .item__icon {
    margin-bottom: 20px;
}

.perks__inner .item .item__title {
    margin-bottom: 24px;
}

.perks__inner .item .item__text {
    max-width: 558px;
}

.perks__inner .item:last-child .item__text {
    max-width: 488px;
}



/* banner */
.banner__inner {
    padding: 78px;
    border-radius: 32px;
    background: url('../images/fx/banner-bg-fullhd.png') lightgray 50% / cover no-repeat;
    box-shadow: 0 4px 38px 0 rgba(143, 39, 199, 0.10);
}

.banner__inner .title {
    margin: 0 auto 16px;
    color: #F8F7F8;
    text-align: center;
}

.banner__inner .content {
    max-width: 640px;
    margin: 0 auto 56px;
    color: #F8F7F8;
    text-align: center;
}

.banner__inner .btn {
    display: flex;
    align-items: center;
    width: max-content;
    margin: 0 auto;
    color: #1E1E1E;
    border-radius: 8px;
    background: #FEF5FF;
}



.faq h2 {
    margin-bottom: 60px;
    text-align: center;
}


@media (max-width: 1399.98px) {
    .currency-exchange-rates__img {
        flex-basis: 634px;
    }

    .exchange__img {
        flex-basis: 600px;
    }
    .exchange__cnt .title {
        max-width: 100%;
    }
    .exchange__cnt .desc {
        max-width: 370px;
    }
}

@media (max-width: 1365px) {
    .currency-exchange-rates__inner {
        flex-direction: column-reverse;
    }

    .currency-exchange-rates__img {
        flex-basis: auto;
        width: 100%;
    }

    .currency-exchange-rates__img img {
        width: 100%;
    }

    .make-payments__inner .title {
        max-width: 340px;
    }

    .exchange__inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .exchange__img {
        width: 100%;
        flex-basis: auto;
    }

    .exchange__img img {
        width: 100%;
    }

    #banner .content {
        max-width: 610px;
    }
}

@media (max-width: 768px) {
    .save-currency .inner__main {
        flex-direction: column;
    }

    .perks__inner .item {
        width: 100%;
    }

    .banner__inner {
        padding: 40px;
    }
}


@media (max-width: 767px) {
    section {
        overflow: hidden;
    }

    section .container {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0;
    }

    @keyframes floatY {
        0%, 100% {
            transform: translateY(-100px);
        }
        50% {
            transform: translateY(100%);
        }
    }

    .hero-section {
        padding-bottom: 40px;
    }

    .floating-left,
    .floating-right {
        display: none;
    }

    .floating-left {
        left: -25%;
        animation-delay: 0s;
    }

    .floating-right {
        right: -25%;
        animation-delay: 6s;
    }

    .floating-left-mobile, .floating-right-mobile {
        display: block;
    }

    .hero-section__inner {
        margin-top: 0;
    }

    .hero-section .container {
        padding: 0;
    }

    .hero-section__inner {
        margin-bottom: 40px;
    }
    .hero-section__inner .title {
        padding: 0 20px;
    }

    .hero-section__inner .desc {
        padding: 0 20px;
    }

    .currency-exchange-rates__inner {
        margin-bottom: 0;
        border-radius: 0;
    }

    .currency-exchange-rates__cnt {
        padding: 20px;
    }

    .save-currency__inner {
        padding: 20px;
        border-radius: 0;
    }
    .save-currency__img {
        text-align: center;
    }


    .make-payments__inner {
        padding: 20px;
        border-radius: 0;
    }
    .make-payments__img {
        text-align: center;
    }


    .exchange__inner {
        border-radius: 0;
    }

    .exchange__cnt {
        padding: 20px;
    }

    .exchange__cnt .desc {
        margin-bottom: 30px;
    }

    .perks h2 {
        margin-bottom: 50px;
        padding: 0 20px;
    }

    .perks__inner .item {
        border-radius: 0;
    }

    .banner__inner {
        padding: 40px 20px;
        border-radius: 0;
        background: url("../images/fx/banner-bg-mobile.jpg") center/cover no-repeat;
    }

    .banner__inner .title {
        max-width: 250px;
    }
}
