.hero-section {
    background: url('../images/Rectangle-3-1.jpg') no-repeat center center/cover;
    height: 100vh;
    max-height: 790px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-content {
    text-align: center;
}

.hero-title {
    color: #9d6cff;
    font-size: 36px;
    font-weight: 300;
    font-style: normal;
    line-height: 52px;
    letter-spacing: 0;
    margin-bottom: 37px;
}

.hero-subhead {
    color: #ffffff;
    font-size: 40px;
    font-weight: 300;
    text-transform: uppercase;
    font-style: normal;
    line-height: 80px;
    margin-bottom: 26px;
}

.hero-subtitle {
    text-align: center;
    color: #9A9A9A;
    font-weight: 400;
    text-transform: uppercase;
    font-style: normal;
    font-size: 22px;
    line-height: 1.64;
    letter-spacing: 0;
    margin-bottom: 42px;
}

.hero-buttons-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-evenly;
}

.hero-buttons a {
    display: inline-block;
    line-height: 1;
    font-size: 16px;
    padding: 15px 30px;
    border-radius: 4px;
    font-weight: 500;
    background-color: #6239B5;
    box-shadow: none;
    text-decoration: none;
    color: #fff;
    fill: #fff;
    text-align: center;
    transition: all .3s;
    box-sizing: border-box;
}

.hero-buttons:first-child {
    margin-left: 0;
}

.slick-slide {
    padding: 0 10px; /* Устанавливает отступы между слайдами */
}

.slick-list {
    margin: 0 -10px; /* Выравнивает отступы, чтобы карусель отображалась правильно */
}


@media screen and (max-width: 1024px) {
    .hero-section {
        max-height: 558px;
    }

    .hero-title {
        display: none;
    }
}

@media screen and (max-width: 769px) {
    .hero-section {
        max-height: 450px;
    }

    .hero-subhead {
        font-size: 28px;
        line-height: 50px;
    }

    .hero-subtitle {
        font-size: 19px;
    }

    .hero-button {
        padding: 12px 24px !important;
    }
}