#hero {
    position: relative;
    overflow: hidden;
    margin-top: -1px;  /* Remove any gap between header and hero */
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;  /* Back to 100% */
    background-image: url('../images/Background.png');
    background-repeat: no-repeat;
    background-position: bottom right;  /* Changed to bottom right to show bottom of image */
    background-size: cover;  /* Back to cover */
    opacity: 0.4;  /* Slightly more transparent (0.5 to 0.4) */
    z-index: -1;
}

/* Make Browse Directory button black */
.cta-button.secondary {
    background-color: #000;
    color: #fff;
}

.cta-button.secondary:hover {
    background-color: #333;
}

/* Make hero text white */
.hero-text-content p {
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);  /* Add shadow for better readability */
}

@media (max-width: 768px) {
    #hero::before {
        background-position: bottom center;
        opacity: 0.25;  /* More transparent on mobile */
    }
}