body {
    padding-top: 40px;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden !important;
}

body.dark {
    background-color: #2A2C34;
}

.navbar .navbar-nav .nav-link {
    padding-left: 0;
    padding-right: 0;
    margin-right: 60px;
    font-size: 16px;
    line-height: 29px;
    color: #667088;
    font-weight: 400;
    display: flex;
    align-items: center;
}

body.dark .navbar .navbar-nav .nav-link {
    color: #969EB7;
}

.navbar .navbar-nav .nav-link:last-child {
    margin-right: 0;
}

.navbar .navbar-nav .nav-link.btn-register {
    background-color: #FFEFE5;
    color: #FF8F51;
    border-radius: 15px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.dark .navbar .navbar-nav .nav-link.btn-register {
    background-color: #2E3857;
    color: #85A3FF;
}

.navbar .navbar-toggler {
    border: none;
    background: #FFEFE5;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    appearance: none;
    outline: none;
}

body.dark .navbar .navbar-toggler {
    background: #2E3857;
}

.navbar .navbar-toggler span {
    width: 12px;
    height: 2px;
    background: #FF8F51;
    border-radius: 100px;
}

body.dark .navbar .navbar-toggler span {
    background: #4B73EC;
}

.navbar .navbar-toggler span + span {
    margin-top: 5px;
}

.navbar .navbar-toggler span + span + span {
    margin-top: 5px;
}

.navbar .navbar-toggler span:last-child {
    margin-bottom: 0;
}

.navbar .toggle-mode .btn-toggle,
.navbar .toggle-mode .btn-toggle-active {
    background-color: #FFEFE5;
    border-radius: 12px;
    padding: 12.5px;
    display: flex;
    align-items: center;
    margin-right: 0;
}

body.dark .navbar .toggle-mode .btn-toggle,
body.dark .navbar .toggle-mode .btn-toggle-active {
    background-color: #303644;
}

.navbar .toggle-mode .btn-toggle-active {
    border: 2px solid #FF8F51;
    margin-right: 5px;
}

body.dark .navbar .toggle-mode .btn-toggle-active {
    border: 2px solid #5B84FF;
    margin-right: 0;
    margin-left: 5px;
}

.hero {
    padding-top: 60px;
}

.hero-row {
    margin-right: 0;
}

.hero .hero-left {
    padding: 100px 0 0 50px;
    position: relative;
}

.hero .hero-left .absolute-1 {
    position: absolute;
    top: 0;
    left: 80px;
}

.hero .hero-left .absolute-2 {
    position: absolute;
    top: 20px;
    right: 170px;
}

.hero .hero-left .absolute-3 {
    position: absolute;
    bottom: -50px;
    right: 120px;
}

/* .hero .hero-left .absolute-4 {
    position: absolute;
    right: 100px;
    bottom: -60px;
}

.hero .hero-left .absolute-5 {
    position: absolute;
    right: 140px;
    bottom: -80px;
} */

.hero .hero-left h1 {
    font-weight: bold;
    font-size: 70px;
    line-height: 84px;
    letter-spacing: -0.015em;
    color: #1B243A;
}

body.dark .hero .hero-left h1 {
    color: #FFFFFF;
}

.hero .hero-left p {
    font-weight: normal;
    font-size: 16px;
    line-height: 29px;
    color: #667088;
    margin: 30px 0;
    max-width: 504px;
}

body.dark .hero .hero-left p {
    color: #969EB7;
}

.hero .hero-left .btn-hero {
    background: #FF8F51;
    border-radius: 20px;
    width: 220px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 18px;
    line-height: 32px;
    color: #FFFFFF;
    text-decoration: none;
    position: relative;
}

body.dark .hero .hero-left .btn-hero {
    background: #4B73EC;
}

.hero .hero-left .btn-hero::after {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(50% - 84px);
    width: 168px;
    height: 57px;
    background: rgba(255, 143, 81, 0.24);
    filter: blur(20px);
    z-index: 99;
}

body.dark .hero .hero-left .btn-hero::after {
    background: rgba(65, 103, 217, 0.19);
}

.hero .hero-right {
    padding: 0;
}

.hero .hero-banner {
    max-width: 670px;
}

.hero .hero-banner img {
    width: 100%;
}

.benefits {
    padding: 50px 50px 0 50px;
    
}

.bg-benefits {
    padding: 120px 0 115px;
    background-color: #F9FAFD;
    display: flex;
    justify-content: center;
}

body.dark .bg-benefits {
    background-color: #30333C;
}

.benefits h2 {
    font-weight: bold;
    font-size: 40px;
    line-height: 48px;
    letter-spacing: -0.02em;
    color: #1B243A;
    margin-bottom: 30px;
}

body.dark .benefits h2 {
    color: #FFFFFF;
}

.benefits p {
    font-weight: normal;
    font-size: 16px;
    line-height: 29px;
    color: #667088;
    max-width: 928px;
    margin-bottom: 72px;
}

body.dark .benefits p {
    color: #969EB7;
}

.benefits .benefits-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 900px;
}

.benefits .benefits-item:nth-child(1) {
    margin-bottom: 17px;
}

.benefits .benefits-item:nth-child(2) {
    margin-bottom: 60px;
}

.benefits .benefits-item:nth-child(3),
.benefits .benefits-item:nth-child(4) {
    margin-bottom: 50px;
}

.benefits .benefits-items .text {
    max-width: 455px;
}

.benefits .benefits-items .text h3 {
    font-weight: 500;
    font-size: 25px;
    line-height: 45px;
    color: #1B243A;
    margin-bottom: 10px;
}

body.dark .benefits .benefits-items .text h3 {
    color: #FFFFFF;
}

.benefits .benefits-items .text p {
    font-weight: normal;
    font-size: 16px;
    line-height: 29px;
    color: #667088;
    margin-bottom: 0;
}

body.dark .benefits .benefits-items .text p {
    color: #969EB7;
}

.benefits .benefits-items .image {
    max-width: 287px;
}

.benefits .benefits-items .image img {
    width: 100%;
    margin-right: 50px;
}

footer {
    background-color: #282E3C;
    padding: 75px 0 80px;
    color: #CCD4E9 !important;
}

body.dark footer {
    background-color: #353841;
}

footer .footer-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

footer .footer-left {
    max-width: 380px;
    margin-right: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

footer .footer-left img {
    margin-bottom: 18px;
}

footer .footer-left .links-group {
    display: flex;
}

footer .footer-left .footer-link {
    font-weight: normal;
    font-size: 16px;
    line-height: 29px;
    letter-spacing: -0.015em;
    color: #CCD4E9 !important;
    text-decoration: none;
    margin-right: 40px;
} 

footer .footer-left .footer-link:last-child {
    margin-right: 0;
}

footer .footer-left .copy {
    font-weight: normal;
    font-size: 16px;
    line-height: 29px;
    letter-spacing: -0.015em;
}

footer .footer-right {
    max-width: 600px;
}

footer .footer-right h5 {
    font-weight: 600;
    font-size: 16px;
    line-height: 29px;
    letter-spacing: -0.015em;
    margin-bottom: 20px;
}

footer .footer-right p {
    font-weight: normal;
    font-size: 16px;
    line-height: 29px;
    letter-spacing: -0.015em;
}

@media(max-width: 991px) {
    .navbar .navbar-nav .nav-link.btn-register {
        width: 100%;
    }
    .navbar-nav {
        align-items: center;
        padding-top: 30px;
    }
    .navbar .navbar-nav .nav-link {
        margin: 0;
    }
    .navbar .toggle-mode {
        margin-top: 16px;
    }
    .navbar .navbar-nav .toggle-mode .btn-toggle,
    .navbar .navbar-nav .toggle-mode .btn-toggle-active {
        background-color: #FFEFE5;
        border-radius: 12px;
        padding: 12.5px;
        display: flex;
        align-items: center;
        margin-right: 0;
    }
    .navbar .navbar-nav .toggle-mode .btn-toggle-active {
        margin-right: 5px;
    }

    body.dark .navbar .navbar-nav .toggle-mode .btn-toggle-active {
        margin-right: 0;
        margin-left: 5px;
    }
    .hero .row {
        flex-direction: column-reverse;
    }
    .hero .hero-left {
        padding: 40px 0 0 0;
    }
    .hero .hero-left .absolute-1,
    .hero .hero-left .absolute-2,
    .hero .hero-left .absolute-3 {
        display: none;
    }
    .bg-benefits {
        padding: 70px 50px;
    }
    footer .footer-left {
        margin-bottom: 50px;
    }
    footer .footer-left img {
        margin-bottom: 30px;
    }
    footer .footer-right p {
        margin-bottom: 50px;
    }
    footer .footer-right p.copy {
        margin-bottom: 0;
    }
}

@media(max-width: 575px) {
    .hero .hero-left {
        padding-top: 60px;
    }
    .hero .hero-left h1 {
        font-size: 50px;
        line-height: 50px;
    }
    .hero .hero-left p {
        font-size: 14px;
        line-height: 25px;
        margin: 20px 0 30px;
    }
    .hero .hero-left .btn-hero {
        width: 100%;
        height: 60px;
    }
    .hero .hero-banner {
        max-width: 325px;
        margin: 0 auto;
    }
    .benefits {
        padding: 0;
        padding-top: 70px;
    }
    .benefits h2 {
        font-size: 30px;
        line-height: 36px;
        margin-bottom: 20px;
    }
    .benefits p {
        font-size: 14px;
        line-height: 25px;
    }
    .bg-benefits {
        padding: 50px 0;
    }
    .benefits .contents {
        padding: 30px;
    }
    .benefits .benefits-item {
        margin-bottom: 0 !important;
    }
    .benefits .benefits-item:nth-child(2),
    .benefits .benefits-item:nth-child(4) {
        flex-direction: column-reverse;
    }
    .benefits .benefits-items .text h3 {
        font-size: 20px;
        line-height: 36px;
        margin-bottom: 15px;
    }
    .benefits .benefits-items .text p {
        font-size: 14px;
        line-height: 25px;
    }
    .benefits .benefits-item .image {
        max-width: 200px;
        margin: 20px auto 40px;
    }
    .benefits .benefits-item .image img {
        margin: 0;
    }
    footer {
        padding: 60px 0;
    }
    footer .footer-left {
        margin-bottom: 10px;
    }
    footer .footer-left .links-group {
        flex-direction: column-reverse;
    }
    footer .footer-left .footer-link {
        margin-right: 0;
        margin-bottom: 30px;
        font-size: 14px;
        line-height: 25px;
    }
    footer .footer-right p,
    footer .footer-right p.copy {
        font-size: 14px;
        line-height: 25px;
    }
}

@media(min-width: 992px) {
    .navbar .navbar-collapse {
        flex-grow: unset;
    }
    .navbar .navbar-toggler {
        display: none;
    }
}

@media(min-width: 1200px) {
    .container {
        max-width: calc(100% - 200px);
    }
}

@media(min-width: 1440px) {
    .container {
        max-width: 1200px;
    }
}