.heroSection {
    position: relative;
    width: 100%;
    min-height: 400px; /* Adjust as needed */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease; /* Smooth transitions for responsiveness */
}

.heroSection img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers the section without distortion */
    filter: brightness(50%); /* Low brightness filter */
    z-index: 0; /* Place image behind the heading */
}

.mainHeading {
    position: relative;
    color: white; /* Adjust text color for contrast */
    font-size: 2.5rem;
    font-family: Arial, sans-serif;
    text-align: center;
    padding: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 1; /* Ensure heading is above the image */
}

/* Media Queries for Responsiveness */
@media screen and (max-width: 768px) {
    .heroSection {
        min-height: 300px; /* Shorter height for tablets */
    }

    .mainHeading {
        font-size: 2rem; /* Smaller font for tablets */
        padding: 15px;
    }
}

@media screen and (max-width: 480px) {
    .heroSection {
        min-height: 200px; /* Even shorter for mobile */
    }

    .mainHeading {
        font-size: 1.5rem; /* Smaller font for mobile */
        padding: 10px;
    }
}