/* Hero banner styles */
.hero {
    height: 40vh;
    padding: 60px 20px;
    text-align: center;
    color: white;
    background-color: #444; 
    background-size: cover;
    background-position: center;
    position: relative;
    transition: background-image 0.5s ease;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Overlay to ensure text readability */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero h1 {
    position: relative;
    z-index: 2;
    margin: 0;
    font-size: 2.8rem;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    margin-bottom: 15px;
}

.hero p {
    position: relative;
    z-index: 2;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        padding: 40px 20px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
}