/*
 * Hero Banner Block CSS.
 */
.hero-banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: calc(80vh - 120px);
    max-height: calc(80vh - 120px);
    background-size: cover;
    background-position: center;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .5);
    max-width: calc(100% - 45px);
    border-radius: 20px;
    overflow: hidden;
    margin: 0 auto;

}

.hero-banner .fullwidth {
    padding-inline: 45px;
}

/* Gradient overlay to make text more readable */
.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.hero-banner .fullwidth {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-banner .container {
    max-width: 800px;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .hero-banner {
        min-height: 380px;
        max-height: 480px;
        max-width: calc(100% - 20px);
        border-radius: 16px;
    }
    .hero-banner .fullwidth {
        padding-inline: 15px;
    }
    .hero-banner h1 {
        font-size: 2rem !important;
        margin-bottom: 0.75rem !important;
    }
    .hero-banner p {
        font-size: 0.95rem !important;
        margin-bottom: 1.5rem !important;
        line-height: 1.5;
    }
    .hero-banner .btn-lg {
        padding: 0.6rem 1.5rem !important;
        font-size: 0.95rem !important;
        min-width: unset !important;
    }
}