
.bg-imgs {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
section.form-bg-screen.first-screen .text-wrapper .text {
    z-index: 5;
}
.bg-imgs img {
    position: absolute;
}

.bg-imgs .upper-card-img {
    top: 0;
    right: calc(50% - 100px);
}

.bg-imgs .left-circle-calculator {
    top: 7rem;
    left: -10rem;
}

.bg-imgs .first-screen-card-img {
    bottom: -12%;
    left: 18%;
}

section.form-bg-screen.first-screen {
    background: radial-gradient(38.86% 173% at 77.88% 32.89%, #3A4454 0%, #232C39 100%);
    width: 100%;
    margin: 0 0 150px 0 !important;
    position: relative;
}

section.form-bg-screen.first-screen .text-wrapper .info-slider-btn {
    cursor: pointer;
    z-index: 10;
    position: absolute;

}

li.text-wrapper {
    height: auto !important;
}

section.form-bg-screen.first-screen > .wrapper {
    position: relative;
    z-index: 5;
}

section.form-bg-screen.first-screen .text-wrapper {
    transition: opacity 0.2s ease-in-out;
}

ul.first-screen-slider-wrapper {
    user-select: none;
}

.first-screen-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.first-screen-slider-container {
    padding-top: 7rem;
}

section.form-bg-screen.first-screen .text-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease, opacity 0.4s ease;
    will-change: transform; /* Optimize for performance */
}

.info-slider-btn.inactive {
    cursor: default;
    pointer-events: none;
}

.text-wrapper {
    transition: opacity 0.5s ease-in-out;
}

section.form-bg-screen.first-screen .text-wrapper {
    position: relative;
    z-index: 5;
}

section.form-bg-screen.first-screen .text-wrapper .info-slider-img {
    position: absolute;
    bottom: -38.5% !important;
    left: 350px;
}

section.form-bg-screen.first-screen {
    margin-bottom: 0px !important;
    border-radius: 60px 60px 60px 60px;
    overflow: hidden;
}



@media (min-width: 2559px) {
    section.form-bg-screen.first-screen {
        background: radial-gradient(38.86% 173% at 77.88% 32.89%, #3A4454 0%, #232C39 100%) !important;
        background-size: cover !important;
    }
}

@media (max-width: 1682px) {
    section.form-bg-screen.first-screen .text-wrapper .info-slider-img {
        display: none;
    }

    section.form-bg-screen.first-screen {
        background: radial-gradient(38.86% 173% at 77.88% 32.89%, #3A4454 0%, #121A25 100%) !important;
        background-size: cover !important;
    }
}

@media (max-width: 1442px) {
    section.first-screen .btn.calculator-btn {
        max-width: 320px;
    }

    section.form-bg-screen.first-screen .text-wrapper {
        height: auto !important;
        min-height: auto !important;
    }

    section.form-bg-screen.first-screen {
        padding-bottom: 80px !important;
    }
}

@media (max-width: 1200px) {
    section.form-bg-screen {
        margin-bottom: 200px !important;
        background: radial-gradient(30.86% 173% at 77.88% 32.89%, #2e3a42 0%, #232C39 100%)
    }
}

@media (max-width: 1024px) {
    .bg-imgs .right-circle-calculator {
        bottom: -30px;
        right: 52px;
    }

    section.first-screen .text-wrapper {
        max-width: 465px !important;
    }

    section.first-screen h1 {
        font-size: 36px;
        line-height: 36px;
    }

}

@media (max-width: 800px) {
    .bg-imgs img {
        max-width: 200px;
    }

    section.form-bg-screen.first-screen {
        padding-top: 40px !important;
    }

    section.form-bg-screen.first-screen .form .circle {
        border-color: #232C39 !important;
    }

    section.form-bg-screen.first-screen {
        padding-top: 32px !important;
        padding-inline: 32px !important;
    }

    .first-screen-slider-container {
        position: relative;
    }

    section.form-bg-screen.first-screen {
        background: radial-gradient(25.86% 71% at 71.88% 38.89%, #3A4454 0%, #232C39 100%) !important;
    }


    section.first-screen h1 {
        padding-inline: 12%;
    }

    section.first-screen .text {
        padding-inline: 12%;
    }

    .wrapper-arrows {
        width: 100%;
        justify-content: space-between;
        position: absolute;
        top: 20%;
    }

    section.first-screen .btn.left-part {
        position: static;
        display: flex;
        align-items: center;
        margin-left: 8%;
    }
}

@media (max-width: 700px) {

    section.form-bg-screen.first-screen .form {
        bottom: -87px;
    }

    section.form-bg-screen.first-screen .form {
        bottom: -100px;
    }

    section.form-bg-screen.first-screen .form .circle {
        position: absolute;
        top: 40px;
        right: -38px;
        width: 78px;
        height: 88px;
        background-color: transparent;
        border-top-left-radius: 100px;
        border: 40px solid #242b34;
        border-right: none;
        border-bottom: none;
        transform-origin: center;
    }

}

@media (max-width: 600px) {
    .form-bg-container {
        padding-bottom: 0;
    }

}

@media (max-width: 500px) {
    .bg-imgs .right-circle-calculator {
        right: 0;
    }

    .first-screen.form-bg-screen {
        border-radius: 26px 26px 26px 0 !important;
    }

    section.first-screen .btn.left-part {
        bottom: -90px;
    }


}

@media (max-width: 440px) {
    ul.first-screen-slider-wrapper h1 {
        font-size: 28px;
        line-height: 28px;
    }
}

@media (max-width: 430px) {

    section.form-bg-screen.first-screen {
        padding: 20px 20px 32px 20px !important;
    }
}