.gallery_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gallery_grid__box {
    width: 100%;
    height: 350px;
    background-color: whitesmoke;
    border: 1px solid #ccc;
    border-radius: 10px;
    overflow: hidden;
}

.gallery_grid__box img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: top;
    /* opacity: 0; */
}

.nav-tabs .nav-link {
    background-color: #C0C165 !important;
    color: #fff !important;
    border-radius: 10px !important;
    text-transform: capitalize;
    width: 100%;
}
.nav-pills .nav-link{
    text-transform: capitalize;
}

.nav-item {
    width: 100% !important;
}

.nav-tabs {
    border-bottom: 0 !important;
    justify-content: space-between;
    flex-wrap: nowrap !important;
    gap: 1rem;
}

.nav-link.active {
    background-color: #FFACA2 !important;
}

/* newslatter_wrapper__content */
.newslatter_wrapper__content .stay {
    text-align: center;
    margin-top: 2rem;
    font-style: italic;
    font-size: 25px;
    color: #FFACA2;
}



.stay_box {
    display: flex;
    padding: 45px 32px;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 2rem !important;
    justify-content: space-between;
    border-radius: 20px;
}

.stay_box:nth-child(1) {
    border: 2px solid #FFC830;
}

.stay_box:nth-child(2) {
    border: 2px solid #779EC2;
}

.stay_box:nth-child(3) {
    border: 2px solid #BFC060;
}

.stay_box:nth-child(4) {
    border: 2px solid #FFACA2;
}

.stay_box__left h3 {
    font-size: 25px;
    font-weight: 400;
}

.stay_box__left p {
    margin-top: 25px;
    font-size: 18px;
}

.form_input {
    position: relative;
    margin-bottom: 15px;
}

.form_input i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 10px;
    color: #666;
}

.form_input input {
    width: 100%;
    padding: 10px 10px 10px 40px;
    border: 1px solid #ccc;
    border-radius: 10px;

}

.stay_box__right,
.stay_box__left {
    width: 100%;
}

.stay_box__right button {
    width: 100%;
    padding: 12px;
}

.stay_box:nth-child(1) .stay_box__right button {
    background-color: #FFC830;
}

.stay_box:nth-child(2) .stay_box__right button {
    background-color: #779EC2;
}

.stay_box:nth-child(3) .stay_box__right button {
    background-color: #BFC060;
}

.stay_box:nth-child(4) .stay_box__right button {
    background-color: #FFACA2;
}

/* daycare_wrapper__content */
.daycare_wrapper__content h2,
.our-programmes h2,
.reviving_wrapper h1 {
    text-align: center;
    text-transform: uppercase;
    color: #c7abdc;
    font-weight: 500;
    letter-spacing: 1px;
}

.daycare_parra p {
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.94;
    margin-top: 4rem;
}

.reviving_wrapper {
    background-color: #e3f0d7;
}

.reviving_wrapper p {
    margin-top: 1rem;
    font-size: 18px;
    line-height: 30px;
}

.reviving_wrapper h1 {
    margin-bottom: 4rem !important;
    letter-spacing: 1px;
}


.reviving_wrapper h2 {
    margin: 0 auto;
    max-width: 700px;
    font-size: 25px;
    line-height: 1.5;
    color: #738c5a;
    font-weight: 600;
}

.our-programmes-left {
    padding: 25px;
    border-radius: 25px;
    border: 1px solid #ccc;
    height: 100%;
    box-shadow: 0px -25px 5px #E3F0D7;
}

.our-programmes-left h6 {
    margin-bottom: 2rem !important;
    color: #585757;
    border-radius: 1rem;
    font-size: 22px;
    text-transform: uppercase;
}

.our-programmes__content .global_content {
    margin-top: 6rem;
}

.our-programmes-left p {
    line-height: 28px;
}

.our-programmes-right img {
    width: 100%;
    height: 450px;
    object-fit: contain;
}

.book-btn {
    margin-top: 5rem;
    text-align: center;
}

.book-btn a {
    background-color: #cab0de;
    color: #7c5f91;
    font-weight: 600;
    padding: 16px 90px;
    border-radius: 100px;
}


.inner-btn {
    max-width: max-content;
}

.sub-categories .global_btn.active {
    background-color: #FFACA2;
}

.sub-categories .global_btn {
    background-color: #C0C165;
}


.weekly_form {
    text-align: center;
    max-height: 800px;
    margin: 0 auto;
    padding: 200px 0;
}

.weekly_form h6 {
    font-style: italic;
    font-size: 24px;
    font-weight: 400;
    max-width: 738px;
    line-height: 1.5;
    margin: 0 auto;
    color: #779EC2;
}

.weekly_form__input {
    display: flex;
    gap: 1rem;
    max-width: 768px;
    margin: 0 auto;
    margin-top: 100px;
}

.weekly_form__input select,
.weekly_form__input input {
    border: 2px solid #FFC830 !important;
    outline: none !important;
    box-shadow: none !important;
    width: 50%;
    padding: 10px !important;
    color: #434343 !important;
    border-radius: 14px !important;
}

.weekly_form__input input::placeholder {
    color: #434343;
}

.form-btn button {
    border-radius: 14px;
    padding: 13px 30px;
    background-color: #FFC830;
}

.form-btn {
    margin-top: 40px;
}

.weekly_form form p {
    margin-top: 3rem;
}


/* daycare-img */
.daycare-img img {
    width: 100%;
    border-radius: 25px;
}

.daycare-content {
    border-radius: 25px;
    padding: 25px 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    background-color: #cab0de;
}

.daycare-content p {
    font-size: 24px;
    color: var(--white-color);
    font-weight: 500;
}

@media(max-width:992px) {
    .nav-tabs {
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .gallery_grid__box img,
    .gallery_grid__box {
        height: 300px;
    }

    .nav-item {
        width: auto !important;
    }

    .our-programmes-left {
        margin-bottom: 3rem;
        height: auto;
    }

    .daycare-content {
        margin-top: 2rem;
    }
}


@media(max-width:768px) {
    .gallery_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .daycare-content {
        border-radius: 1rem;
        padding: 1rem;
        height: auto;
    }

    .daycare-content p {
        font-size: 18px;
    }

    .weekly_form {
        padding: 50px 0;
    }

    .weekly_form h6 {
        font-size: 18px;
        line-height: 1.46;
    }

    .weekly_form__input,
    .form-btn {
        margin-top: 56px;
    }


    .nav-tabs .nav-link {
        border-radius: 5px;
        font-size: 15px;
        padding: 5px 12px;
    }

    .tab-scroll-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-tabs {
        flex-wrap: nowrap !important;
        white-space: nowrap;
        width: max-content;
        min-width: 100%;
    }

    .nav-tabs .nav-link {
        white-space: nowrap;
    }

    .stay_box {
        gap: 1rem;
        padding: 24px;
        flex-direction: column;
        margin-bottom: 1rem !important;
        border-radius: 10px;
    }

    .newslatter_wrapper__content .stay {
        font-size: 17px;
    }

    .stay_box__left h3 {
        font-size: 20px;
    }

    .stay_box__left p,
    .daycare_parra p,
    .reviving_wrapper p,
    .our-programmes-left p {

        line-height: 25px;
        font-size: 15px;
        margin-top: 1rem;
    }

    .reviving_wrapper h1 {
        margin-bottom: 1rem !important;
    }

    .reviving_wrapper h2 {
        margin: 0 12px;
        font-size: 18px;
        line-height: 25px;
    }

    .our-programmes-left h6 {
        margin-bottom: 10px !important;
        font-size: 16px;
     
    }

    .daycare_wrapper__content h2,
    .our-programmes h2,
    .reviving_wrapper h1 {
        font-size: 18px;
    }
    .our-programmes-left{
        border-radius: 1rem;
        padding: 1rem;
    }

    .our-programmes__content .global_content {
        margin-top: 3rem;
    }

    .our-programmes-right img {
        height: 340px;
    }

    .book-btn {
        margin-top: 2rem;
    }

    .book-btn a {
        padding: 10px 30px;
        border-radius: 10px;
    }
    .daycare-img img{
        border-radius: 1rem;
    }
}

@media(max-width:576px){
    .daycare-content p{
        font-size: 16px;
    }
}