.hero-section {
    position: relative; /* Essential for positioning the ::before pseudo-element */
    width: 100%;
    height: 50vh; /* Or whatever height you prefer */
    background-image: url('images/gimp-graphicboost-o11.jpg'); /* Replace with your image path */
    background-size: cover; /* Ensures the image covers the entire area */
    background-position: center; /* Centers the image */
    display: flex; /* For centering the content easily */
    align-items: center; /* Vertically center content */
    justify-content: center; /* Horizontally center content */
    color: white; /* Text color for readability over a dark background */
    text-align: center;
    overflow: hidden; /* Important to contain the pseudo-element within the div */
}

/* The overlay for the fading effect */
.hero-section::before {
    content: ''; /* Required for pseudo-elements */
    position: absolute; /* Position relative to .hero-section */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8); /* Black overlay with 50% opacity */
    /* You can change the color (e.g., rgba(255, 255, 255, 0.3) for a white fade) */
    z-index: 1; /* Place the overlay between the background and the text */
}

.hero-content {
    position: relative; /* Essential to bring content above the overlay */
    z-index: 2; /* Ensure the content is above the ::before overlay */
    max-width: 800px; /* Limit content width for better readability */
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.0); /* Optional: a slight background for the text itself */
    border-radius: 8px;
}

.hero-content h1 {
    font-size: 3em;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.hero-content button {
    background-color: #007bff; /* Example button color */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.hero-content button:hover {
    background-color: #0056b3;
}
