
.kideewings-facilities {
    position: relative;
    overflow: hidden;
    padding: 90px 0 100px;
    background: #f7fbfc;
    font-family: "Poppins", sans-serif;
}

.kideewings-facilities::before {
    content: "";
    position: absolute;
    top: -90px;
    left: -90px;
    width: 260px;
    height: 210px;
    background: #dff5f3;
    border-radius: 0 0 130px 0;
    transform: rotate(-8deg);
}

.kideewings-facilities::after {
    content: "";
    position: absolute;
    right: -100px;
    bottom: -90px;
    width: 280px;
    height: 210px;
    background: #fff0bf;
    border-radius: 130px 0 0 0;
    transform: rotate(8deg);
}

.kideewings-facilities .container {
    position: relative;
    z-index: 2;
}

.kideewings-facilities__heading {
    max-width: 850px;
    margin: 0 auto 55px;
}

.kideewings-facilities__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 18px;
    margin-bottom: 12px;
    border-radius: 50px;
    background: #fff0b8;
    color: #5c49d0;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .4px;
}

.kideewings-facilities__title {
    margin: 0;
    color: #151923;
    font-family: "Baloo 2", sans-serif;
    font-size: 50px;
    font-weight: 800;
    line-height: 1.08;
}

.kideewings-facilities__title span {
    color: #ed0a1a;
}

.kideewings-facilities__intro {
    max-width: 700px;
    margin: 14px auto 0;
    color: #555b65;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.7;
}

.kideewings-facilities__list {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.kideewings-facilities__item {
    position: relative;
    display: grid;
    grid-template-columns: 40% 60%;
    min-height: 390px;
    overflow: hidden;
    border: 16px solid #12afb4;
    border-radius: 32px;
    background: #ffffff;
    box-shadow: 0 15px 35px rgba(35, 55, 75, .12);
    isolation: isolate;
    transition: transform .3s ease, box-shadow .3s ease;
}



.kideewings-facilities__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 42px rgba(35, 55, 75, .17);
}

.kideewings-facilities__image {
    position: relative;
    min-height: 358px;
    min-height: 200px;
    height: 100%;
    overflow: hidden;
    background: #eeeeee;
}

.kideewings-facilities__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform .5s ease;
}

.kideewings-facilities__item:hover .kideewings-facilities__image img {
    transform: scale(1.06);
}

.kideewings-facilities__content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 42px 55px;
    background: #ffffff;
}

.kideewings-facilities__shape {
    position: absolute;
    width: 64px;
    height: 64px;
    margin-bottom: 18px;
    border-radius: 22px 45% 45% 45%;
    background: #d5f7f7;
    transform: rotate(-8deg);
    top: 20px;
}

.kideewings-facilities__shape::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow:
        25px 0 0 rgba(255, 255, 255, .75),
        12px 23px 0 rgba(255, 255, 255, .75);
}

.kideewings-facilities__shape::after {
    content: "";
    position: absolute;
    right: -10px;
    bottom: -7px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: inherit;
}

.kideewings-facilities__content h3 {
    margin: 0 0 14px;
    color: #151923;
    font-family: "Baloo 2", sans-serif;
    font-size: 31px;
    font-weight: 750;
    line-height: 1.15;
}

.kideewings-facilities__content p {
    max-width: 720px;
    margin: 0;
    color: #535963;
    font-size: 15.5px;
    font-weight: 400;
    line-height: 1.75;
    text-align: justify;
}

.kideewings-facilities__item:nth-child(5n+1) {
    border-color: #12afb4;
}

.kideewings-facilities__item:nth-child(5n+1) .kideewings-facilities__shape {
    background: #d5f7f7;
}

.kideewings-facilities__item:nth-child(5n+2) {
    border-color: #ffd238;
}

.kideewings-facilities__item:nth-child(5n+2) .kideewings-facilities__shape {
    background: #fff0ba;
}

.kideewings-facilities__item:nth-child(5n+3) {
    border-color: #ff7a24;
}

.kideewings-facilities__item:nth-child(5n+3) .kideewings-facilities__shape {
    background: #ffe0c8;
}

.kideewings-facilities__item:nth-child(5n+4) {
    border-color: #398eea;
}

.kideewings-facilities__item:nth-child(5n+4) .kideewings-facilities__shape {
    background: #d6eaff;
}

.kideewings-facilities__item:nth-child(5n) {
    border-color: #83c94e;
}

.kideewings-facilities__item:nth-child(5n) .kideewings-facilities__shape {
    background: #dff4c9;
}

.kideewings-facilities__item:nth-child(even) {
    grid-template-columns: 60% 40%;
}

.kideewings-facilities__item:nth-child(even) .kideewings-facilities__image {
    order: 2;
}

.kideewings-facilities__item:nth-child(even) .kideewings-facilities__content {
    order: 1;
}

@media screen and (max-width:480px) {
    .kideewings-facilities {
        padding: 60px 0 70px;
    }

    .kideewings-facilities::before {
        top: -45px;
        left: -70px;
        width: 170px;
        height: 130px;
    }

    .kideewings-facilities::after {
        right: -70px;
        bottom: -45px;
        width: 180px;
        height: 130px;
    }

    .kideewings-facilities__heading {
        margin-bottom: 35px;
    }

    .kideewings-facilities__label {
        padding: 6px 14px;
        margin-bottom: 10px;
        font-size: 12px;
    }

    .kideewings-facilities__title {
        font-size: 36px;
    }

    .kideewings-facilities__intro {
        margin-top: 10px;
        font-size: 14px;
        line-height: 1.65;
    }

    .kideewings-facilities__list {
        gap: 25px;
    }

    .kideewings-facilities__item,
    .kideewings-facilities__item:nth-child(even) {
        display: flex;
        flex-direction: column;
        min-height: 0;
        border-width: 12px;
        border-radius: 24px;
    }

    .kideewings-facilities__item:nth-child(even) .kideewings-facilities__image,
    .kideewings-facilities__item:nth-child(even) .kideewings-facilities__content {
        order: initial;
    }

    .kideewings-facilities__image {
        width: 100%;
        height: 215px;
        min-height: 215px;
    }

    .kideewings-facilities__content {
        padding: 28px 20px 30px;
    }

    .kideewings-facilities__shape {
        width: 52px;
        height: 52px;
        margin-bottom: 15px;
        border-radius: 18px 45% 45% 45%;
    }

    .kideewings-facilities__shape::before {
        top: 12px;
        left: 12px;
        width: 14px;
        height: 14px;
        box-shadow:
            20px 0 0 rgba(255, 255, 255, .75),
            10px 18px 0 rgba(255, 255, 255, .75);
    }

    .kideewings-facilities__shape::after {
        right: -7px;
        bottom: -5px;
        width: 18px;
        height: 18px;
    }

    .kideewings-facilities__content h3 {
        margin-bottom: 11px;
        font-size: 26px;
        line-height: 1.15;
    }

    .kideewings-facilities__content p {
        font-size: 14px;
        line-height: 1.7;
    }
}

@media screen and (min-width:481px) and (max-width:576px) {
    .kideewings-facilities {
        padding: 65px 0 75px;
    }

    .kideewings-facilities__heading {
        margin-bottom: 38px;
    }

    .kideewings-facilities__title {
        font-size: 40px;
    }

    .kideewings-facilities__intro {
        font-size: 15px;
    }

    .kideewings-facilities__list {
        gap: 27px;
    }

    .kideewings-facilities__item,
    .kideewings-facilities__item:nth-child(even) {
        display: flex;
        flex-direction: column;
        min-height: 0;
        border-width: 14px;
        border-radius: 27px;
    }

    .kideewings-facilities__item:nth-child(even) .kideewings-facilities__image,
    .kideewings-facilities__item:nth-child(even) .kideewings-facilities__content {
        order: initial;
    }

    .kideewings-facilities__image {
        width: 100%;
        height: 235px;
        min-height: 235px;
    }

    .kideewings-facilities__content {
        padding: 30px 25px 32px;
    }

    .kideewings-facilities__shape {
        width: 56px;
        height: 56px;
    }

    .kideewings-facilities__content h3 {
        font-size: 28px;
    }

    .kideewings-facilities__content p {
        font-size: 14.5px;
        line-height: 1.7;
    }
}

@media screen and (min-width:577px) and (max-width:767px) {
    .kideewings-facilities {
        padding: 70px 0 80px;
    }

    .kideewings-facilities__heading {
        margin-bottom: 42px;
    }

    .kideewings-facilities__title {
        font-size: 44px;
    }

    .kideewings-facilities__intro {
        font-size: 16px;
    }

    .kideewings-facilities__list {
        gap: 30px;
    }

    .kideewings-facilities__item,
    .kideewings-facilities__item:nth-child(even) {
        display: flex;
        flex-direction: column;
        min-height: 0;
        border-width: 14px;
        border-radius: 28px;
    }

    .kideewings-facilities__item:nth-child(even) .kideewings-facilities__image,
    .kideewings-facilities__item:nth-child(even) .kideewings-facilities__content {
        order: initial;
    }

    .kideewings-facilities__image {
        width: 100%;
        height: 255px;
        min-height: 255px;
    }

    .kideewings-facilities__content {
        padding: 32px 30px 35px;
    }

    .kideewings-facilities__shape {
        width: 58px;
        height: 58px;
    }

    .kideewings-facilities__content h3 {
        font-size: 29px;
    }

    .kideewings-facilities__content p {
        font-size: 15px;
        line-height: 1.7;
    }
}

@media screen and (min-width:768px) and (max-width:992px) {
    .kideewings-facilities {
        padding: 80px 0 90px;
    }

    .kideewings-facilities__heading {
        margin-bottom: 45px;
    }

    .kideewings-facilities__title {
        font-size: 47px;
    }

    .kideewings-facilities__intro {
        font-size: 16px;
    }

    .kideewings-facilities__item,
    .kideewings-facilities__item:nth-child(even) {
        grid-template-columns: 40% 60%;
        min-height: 370px;
        border-width: 14px;
    }

    .kideewings-facilities__image {
        min-height: 342px;
    }

    .kideewings-facilities__content {
        padding: 38px 35px;
    }

    .kideewings-facilities__shape {
        width: 56px;
        height: 56px;
    }

    .kideewings-facilities__content h3 {
        font-size: 28px;
    }

    .kideewings-facilities__content p {
        font-size: 14.5px;
        line-height: 1.7;
    }
}


@media screen and (max-width: 576px)
{

        .kideewings-facilities__content h3
        {
            font-size: 18px;
        }
        .kideewings-facilities__title
        {
            font-size: 24px;
        }
        .kideewings-facilities__content p,
        .kideewings-facilities__intro
        {
            font-size: 13px;
        }
        .kideewings-facilities__shape
        {
            display: none;
        }
}