/* Health Section Styles */
.health-section {
    width: 100%;
    background-color: #f8f9fa;
    /* margin-top: 125px; */
}

/* Hero Section */
.health-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 3rem;
}

.health-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient( 135deg, rgba(19, 192, 195, 0.9) 0%, rgba(19, 192, 195, 0.7) 50%, rgba(0, 123, 155, 0.8) 100% ); */
    /* backdrop-filter: blur(2px); */
    mix-blend-mode: multiply;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.health-hero:hover .health-hero-overlay {
    opacity: 0.85;
}

.health-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.health-hero-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 3.5rem;
    font-weight: 700;
    text-align: center;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Facilities Grid */
.health-facilities {
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

/* Facility Cards */
.facility-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

    .facility-card:hover {
        transform: translateY(-5px);
    }

.facility-image {
    height: 200px;
    overflow: hidden;
}

    .facility-image a {
        display: block;
        height: 100%;
        cursor: pointer;
    }

    .facility-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

.facility-card:hover .facility-image img {
    transform: scale(1.1);
}

.facility-content {
    padding: 1.5rem;
}

    .facility-content h3 {
        color: var(--selcuk-blue);
        font-size: 1.5rem;
        margin-bottom: 1rem;
        text-align: center;
    }

.facility-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

    .facility-links a {
        display: flex;
        align-items: center;
        color: var(--selcuk-blue);
        text-decoration: none;
        padding: 0.5rem;
        border-radius: 5px;
        transition: all 0.3s ease;
    }

        .facility-links a:hover {
            background-color: #f0f0f0;
            color: var(--selcuk-blue-hover);
            padding-left: 1rem;
        }

    .facility-links i {
        margin-right: 0.8rem;
        color: var(--selcuk-blue);
        width: 20px;
    }

/* Responsive Design */
@media (max-width: 768px) {
    .health-hero {
        height: 300px;
    }

    .health-hero-title {
        font-size: 2.5rem;
    }

    .facilities-grid {
        grid-template-columns: 1fr;
    }
    .health-hero {
        margin-top: 7%;
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .health-hero {
        height: 200px;
    }

    .health-hero-title {
        font-size: 2rem;
    }

    .facility-content h3 {
        font-size: 1.2rem;
    }
}

