.hero {
    background-image: url('img/header.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top 40%;
    min-height: 600px; /* Or adjust to your needs */
    position: relative; /* Needed for overlays if you want them */
}

/* Optional: Add a semi-transparent overlay for better text readability */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust opacity as needed */
}

/* Ensure content is in front of the overlay */
.hero > .container {
    position: relative;
    z-index: 1;
}

/* Add more responsive adjustments if needed using bootstrap breakpoints and media queries */
@media (max-width: 768px) {
    .hero {
        min-height: 400px; /* Adjust height for smaller screens */
        background-position: center center;
    }
}