/* =========================================
   OUR FACILITIES SECTION
========================================= */

.facilities-section {
    width: 100%;
    position: relative;
    overflow: hidden;

    background: var(--green, #075B35);
    font-family: 'Roboto', Arial, sans-serif;
    padding: 75px 0 0;

    isolation: isolate;
}

/* BACKGROUND IMAGE */

.facilities-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;

    background-image: url("/images/facilities-bg.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    opacity: 0.18;
}

/* GREEN + NAVY OVERLAY */

.facilities-section::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;

    background: linear-gradient(120deg,
            rgba(7, 91, 53, 0.96),
            rgba(37, 33, 91, 0.93),
            rgba(7, 91, 53, 0.95));
}

/* MAIN CONTAINER */

.facilities-container {
    width: min(1128px, calc(100% - 48px));
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;

    gap: 80px;
}

/* LEFT CONTENT */

.facilities-content {
    width: 100%;
    padding-bottom: 75px;
}

.facilities-heading {
    color: var(--white, #ffffff);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;

    margin: 0 0 23px;
}

/* FACILITY CARDS */

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.facility-card {
    min-height: 185px;
    padding: 28px 32px;

    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.035);

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.facility-card:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: var(--yellow, #F5D51B);

    transform: translateY(-5px);
}

/* ICON */

.facility-icon {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    margin-bottom: 12px;
}

.facility-icon svg {
    width: 38px;
    height: 38px;

    fill: none;
    stroke: var(--yellow, #F5D51B);

    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.facility-icon svg path:nth-child(even) {
    stroke: var(--white, #ffffff);
}

/* CARD TEXT */

.facility-card h3 {
    color: var(--white, #ffffff);

    font-size: 18px;
    font-weight: 700;

    margin: 0 0 12px;
}

.facility-card p {
    color: rgba(255, 255, 255, 0.92);

    font-size: 13px;
    line-height: 1.55;

    margin: 0;
}

/* BOTTOM TEXT */

.facilities-bottom-text {
    margin-top: 18px;
}

.facilities-bottom-text p {
    color: rgba(255, 255, 255, 0.92);

    font-size: 13px;
    line-height: 1.6;

    margin: 0 0 5px;
}

.facilities-bottom-text a {
    display: inline-block;

    color: var(--yellow, #F5D51B);
    font-size: 13px;
    font-weight: 600;

    transition: color 0.3s ease;
}

.facilities-bottom-text a:hover {
    color: var(--white, #ffffff);
}

/* RIGHT IMAGE */

.facilities-image {
    position: relative;
    width: calc(100% + 80px);
    height: 590px;

    overflow: hidden;
}

.facilities-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition: transform 0.6s ease;
}

.facilities-image:hover img {
    transform: scale(1.04);
}

/* =========================================
   TABLET RESPONSIVE
========================================= */

@media (max-width: 1100px) {

    .facilities-container {
        gap: 35px;
    }

    .facilities-image {
        width: calc(100% + 35px);
        height: 550px;
    }

    .facility-card {
        padding: 24px 20px;
    }

}

/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media (max-width: 768px) {

    .facilities-section {
        padding: 55px 0 0;
    }

    .facilities-container {
        width: calc(100% - 36px);

        grid-template-columns: 1fr;
        gap: 30px;
    }

    .facilities-content {
        padding-bottom: 0;
    }

    .facilities-heading {
        font-size: 30px;
        margin-bottom: 22px;
    }

    .facilities-grid {
        gap: 15px;
    }

    .facility-card {
        min-height: 175px;
        padding: 22px 18px;
    }

    .facility-card h3 {
        font-size: 16px;
    }

    .facility-card p {
        font-size: 12px;
    }

    .facilities-image {
        width: 100%;
        height: 420px;
    }

}

/* SMALL MOBILE */

@media (max-width: 480px) {

    .facilities-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .facility-card {
        min-height: 165px;
        padding: 18px 14px;
    }

    .facilities-heading {
        font-size: 27px;
    }

    .facility-icon {
        margin-bottom: 10px;
    }

    .facility-icon svg {
        width: 32px;
        height: 32px;
    }

    .facility-card h3 {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .facility-card p {
        font-size: 11px;
        line-height: 1.5;
    }

    .facilities-image {
        height: 320px;
    }

}