/* ===============================================
   Hero Background Fix - Critical for Hero Display
   =============================================== */

/* Hero section with background image and overlay */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0F1D35;
    overflow: hidden;
}

/* Dark gradient overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(23, 45, 92, 0.9) 0%, rgba(15, 29, 53, 0.95) 50%, rgba(15, 29, 53, 0.98) 100%);
    z-index: 1;
}

/* Background image container */
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../imgs/medical_staff.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.25;
    z-index: 0;
}

/* Ensure content is above overlay */
.hero-content {
    position: relative;
    z-index: 2;
}

/* Fade effect at bottom for smooth transition */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, var(--color-white), transparent);
    z-index: 1;
    pointer-events: none;
}

/* Tablet adjustments */
@media (max-width: 768px) {
    .hero-bg-image {
        opacity: 0.15;
    }

    .hero-overlay {
        background: linear-gradient(135deg, rgba(23, 45, 92, 0.95) 0%, rgba(15, 29, 53, 0.98) 100%);
    }
}