/* ================= HERO SECTIONS ================= */
.hero-section {
    height: 50vh; /* Banner height */
    overflow: hidden;
    position: relative;
    margin-bottom: 2rem;
}

.hero-image-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-image {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.hero-text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.4); /* semi-transparent overlay for readability */
    color: #fff;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 2;
}

.hero-text-container h5,
.hero-text-container h6,
.hero-text-container span,
.hero-text-container p {
    margin: 0.2rem 0;
}

.hero-text-container h5 {
    font-weight: 200;
    font-size: 2rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.hero-text-container h6 {
    font-size: 1.4rem;
    font-weight: 500;
}

.hero-text-container span,
.hero-text-container p {
    font-size: 1rem;
}

/* Link hover effect */
.hero-link:hover .hero-text-container h5,
.hero-link:hover .hero-text-container h6,
.hero-link:hover .hero-text-container span {
    text-decoration: underline;
}

/* Responsive adjustments (text remains overlay) */
@media (max-width: 992px) {
    .hero-section {
        height: 40vh;
    }

    .hero-text-container {
        padding: 1.5rem;
    }

    .hero-text-container h5 {
        font-size: 1.5rem;
    }

    .hero-text-container h6 {
        font-size: 1.2rem;
    }

    .hero-text-container span,
    .hero-text-container p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 30vh;
    }

    .hero-text-container {
        padding: 1rem;
    }

    .hero-text-container h5 {
        font-size: 1.2rem;
    }

    .hero-text-container h6 {
        font-size: 1rem;
    }

    .hero-text-container span,
    .hero-text-container p {
        font-size: 0.8rem;
    }
}
