.facilities-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.facilities-slide {
    width: 100%;
    height: 420px;
    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* IMAGE */

.facilities-slide img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    display: block;
}


/* =========================================
   FACILITIES BLACK OVERLAY
========================================= */

.facilities-slide {
    position: relative !important;
    overflow: hidden !important;
}

/* IMAGE */
.facilities-slide img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    z-index: 0 !important;
}

/* STRONG BLACK OVERLAY */
.facilities-slide::after {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;

    width: 100% !important;
    height: 100% !important;

    background: rgba(0, 0, 0, 0.70) !important;

    z-index: 1 !important;
    pointer-events: none !important;
}

/* CONTENT ABOVE OVERLAY */
.facilities-content {
    position: relative !important;
    z-index: 5 !important;
}

/* CONTENT */

.facilities-content {
    position: relative;
    z-index: 2;

    width: 90%;
    max-width: 850px;

    text-align: center;
    padding: 25px;
}


/* ACADEMY NAME */

.facilities-content span {
    display: inline-block;

    background: #ffffff;
    color: #800020;

    padding: 9px 22px;
    margin-bottom: 18px;

    border-radius: 30px;

    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}


/* HEADING */

.facilities-content h2 {
    margin: 0 0 14px;

    color: #090103;

    font-size: 50px;
    line-height: 1.1;
    font-weight: 800;

    text-shadow: 0 2px 4px rgba(255,255,255,0.9);
}


/* DESCRIPTION */

.facilities-content p {
    max-width: 720px;

    margin: 0 auto;

    color: #333333;

    font-size: 17px;
    line-height: 1.7;
    font-weight: 500;

    text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 768px) {

    .facilities-slide {
        height: 340px;
    }

    .facilities-content {
        width: 90%;
        padding: 20px;
    }

    .facilities-content span {
        font-size: 13px;
        padding: 8px 17px;
        margin-bottom: 14px;
    }

    .facilities-content h2 {
        font-size: 38px;
        margin-bottom: 11px;
    }

    .facilities-content p {
        font-size: 15px;
        line-height: 1.6;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 480px) {

    .facilities-slide {
        height: 300px;
    }

    .facilities-content {
        width: 94%;
        padding: 15px;
    }

    .facilities-content span {
        font-size: 11px;
        padding: 7px 13px;
        margin-bottom: 12px;
    }

    .facilities-content h2 {
        font-size: 30px;
        line-height: 1.2;
        margin-bottom: 9px;
    }

    .facilities-content p {
        font-size: 13px;
        line-height: 1.5;
    }
}

