.facility-section {
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap; /* Allows cards to wrap on smaller screens */
    padding: 20px;
}

.facility-card {
    min-height: 50vh;
    width: 20vw; /* Adjust the width of each card */
    object-fit: contain;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    background-color: #f9f9f9; /* Light background for card */
    transition: transform 0.3s ease-in-out;
    margin: 10px;
    font-family: poppins, sans-serif;
}

.facility-card:hover {
    transform: translateY(-10px); /* Hover effect */
}

.facility-image img {
    width: 100%; /* Ensures the image takes up the full width */
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
}

.facility-info {
    padding: 15px;
    text-align: center;
}

.facility-tile {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.facility-desc {
    font-size: 16px;
    color: #1a1a1a;
    line-height: 1.6;
    text-align: justify;
}

@media (max-width: 1024px) {
    .facility-card {
        width: 45vw; /* Slightly larger on tablets */
    }
}

@media (max-width: 720px) {
    .facility-card {
        width: 90vw; /* Full width on mobile */
        margin-bottom: 20px;
    }

    .facility-image img {
        height: 150px; /* Adjust image height for mobile */
    }

    .facility-info {
        padding: 10px;
    }

    .facility-tile {
        font-size: 20px; /* Adjust heading size for mobile */
    }

    .facility-desc {
        font-size: 14px; /* Slightly smaller text on mobile */
    }
}
