.hero {
    position: relative;
    background-size: cover;
    background-position: center center;
    border-radius: 15px; /* Скругляем углы изображения */
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Затемнение изображения */
    border-radius: 15px; /* Скругляем углы затемняющего слоя */
}

.hero .container {
    position: relative;
    z-index: 1; /* Ставим текст поверх затемняющего слоя */
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.hero h1, .hero p {
    margin-bottom: 20px;
}


