.text-block-hero {
    display: flex;
    align-items: center;
    flex-direction: column;
}
.text-block-hero h1 {
    font-size: 5.5rem;
    font-weight: 400;
    line-height: 101.9%;
    width: 65%;
}

.text-block-hero p {
    line-height: 33px;
    font-size: 1.5rem;
    width: 80%;
    margin-top: 1.5rem;
}

@media screen and (max-width: 767px) {
    .text-block-hero h1,
    .text-block-hero p {
        width: 100%;
    }

    .text-block-hero h1 {
        font-size: 3rem;
    }

    .text-block-hero p {
        font-size: 1.1rem;
        margin-top: 0.8rem;
    }
}

.text-block-hero {
    background-image: url('/client/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: #ffffff;
    position: relative;
}

/* Optional overlay for better text visibility */
.text-block-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.text-block-hero h1,
.text-block-hero p {
    position: relative;
    z-index: 1;
}

