/* Facilities Section */
.facilities-section {
    position: relative;
    background-color: #F5F5F5;
    padding: 0;
    overflow: hidden;
}

.facilities-wrapper {
    display: flex;
    align-items: stretch;
    max-width: 100%;
    position: relative;
}

/* Content Container - Left side */
.facilities-content-container {
    flex: 0 0 40%;
    padding: 4rem 4rem 4rem 4rem;
    display: flex;
    align-items: center;
    min-height: 500px;
}

.facilities-content {
    max-width: 100%;
}

.facilities-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #862C91;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.facilities-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4b5563;
    text-align: left;
    margin-bottom: 2rem;
}

.facilities-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.facilities-list li {
    font-size: 1rem;
    color: #4b5563;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.5;
}

.facilities-list li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: #862C91;
    font-weight: 600;
}

/* Image Container - Right side, full bleed from right edge */
.facilities-image-container {
    flex: 0 0 60%;
    position: relative;
    margin-right: calc(-50vw + 50%);
    width: calc(60% + 50vw - 50%);
    display: flex;
    align-items: center;
    min-height: 500px;
}

.facilities-image-container img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    margin-left: auto;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .facilities-content-container {
        padding-right: 3rem;
    }

    .facilities-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .facilities-wrapper {
        flex-direction: column-reverse;
    }

    .facilities-image-container {
        flex: none;
        width: 100%;
        margin-right: 0;
        min-height: auto;
    }

    .facilities-image-container img {
        width: 100%;
        height: 350px;
        margin-left: 0;
    }

    .facilities-content-container {
        padding: 3rem 2rem;
        max-width: 100%;
        min-height: auto;
    }

    .facilities-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .facilities-image-container img {
        height: 300px;
    }

    .facilities-content-container {
        padding: 2.5rem 1.5rem;
    }

    .facilities-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .facilities-text {
        font-size: 1rem;
    }

    .facilities-list {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .facilities-image-container img {
        height: 250px;
    }

    .facilities-content-container {
        padding: 2rem 1rem;
    }

    .facilities-title {
        font-size: 1.5rem;
    }

    .facilities-text {
        font-size: 0.95rem;
    }

    .facilities-list li {
        font-size: 0.95rem;
    }
}