/* contact US start  */

.educate-heading {
    background-color: #20BEC3;
    padding: 30px 0px 20px;
}

.educate-heading h1 {
    color: white;
    text-align: center;
    font-weight: 700;
}
.educate-heading h1 img{
    height: 40px;
    margin-right: 0.5rem;
}

.educate-heading h1:after {
    border-top: 4px solid white;
    border-radius: 50px;
    display: block;
    width: 60px;
    content: "";
    margin: 10px auto 0;
}

.educate-col h6 {
    font-size: 1.2rem;
    font-weight: 600;
    padding: 0rem 0.6rem;
    line-height: 2rem;
}

.educate-row {
    margin-top: 4rem;
    position: relative;
    border: 2px solid #20BEC3;
    box-shadow: 0px 0px 5px #20BEC3;
    border-radius: 20px;
}

.img-part {
    background-color: #20BEC3;
    border-radius: 0px 18px 18px 0px;
}

/* .educate-bg{
     position: relative;
}
.educate-bg:before {
    background-image: url(../img/educate-to-educate-bg.jpg);
    position: absolute;
    content: "";
    top: -60px;
    left: 0px;
    width: 100%;
    height: 600px;
    z-index: -1;
    opacity: 0.2;
    background-repeat: no-repeat;
    background-size: 100% 100%;
} */

.educate-img {
    border-radius: 20px;
    padding: 0.8rem;
    margin: auto;
    text-align: center;
    position: relative;
}

/* .educate-img:after {
    position: absolute;
    content: "";
    width: 420px;
    height: 420px;
    background-color: #b6e6e8;
    left: 0;
    top: 0;
    right: 0;
    border-radius: 5px;
    margin: auto;
    z-index: -1;
} */

.educate-img img {
    width: 310px;
    height: 310px;
    object-fit: fill;
    /* border: 4px solid white; */
    padding: 0.5rem;
    transform: scale(0.9);
}

.educate-news {
    margin-top: 3rem;
    padding-bottom: 2rem;
    position: relative;
}

.educate-news-heading h3 {
    color: #20BEC3;
    font-weight: 600;
    border-bottom: 3px solid #20BEC3;
    padding: 1rem 0.5rem;
    font-weight: 700;
    background-color: #20bec312;
}

.educate-news-heading h3 span {
    font-weight: 600;
    font-size: 1.4rem;
}

.educate-news-img {
    background-color: #fefefe;
    border-radius: 10px;
    height: 490px;
    border: 2px solid #20BEC3;
    padding: 0.5rem;
}

.educate-news-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px 10px 0px 0px;
}

.educate-news-img h5 {
    font-size: 1.3rem;
    font-weight: 700;
    padding: 1rem 0.5rem 0rem;
}

.educate-news-img h5 span {
    border-bottom: 2px solid #20BEC3;
}

.educate-news-img p {
    font-size: 1.1rem;
    color: #20BEC3;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.educate-news-img p a {
    color: #20BEC3;
}

.educate-news-text{
    padding: 0.5rem 0.5rem;
}
.educate-news-text h6{
    font-size: 1.1rem;
}

.educate-news-link {
    line-height: 1rem;
    margin-top: 1.5rem;
}

.educate-news-link a {
    color: white !important;
    background-color: #20BEC3;
    padding: 0.3rem 2rem;
    border-radius: 5px;
    border: 2px solid #20BEC3;
    transition: all 0.5s;
}

.educate-news-link a:hover {
    background-color: white;
    border: 2px solid #20BEC3;
    color: #20BEC3 !important;
    transition: all 0.5s;
}

.educate-news-img p a {
    font-size: 1rem;

}

.educate-news .swiper-prev {
    position: absolute;
    right: 0 !important;

}

.educate-news .swiper-prev::after {
    position: absolute;
    font-size: 1.3rem;
    left: 10px;
    border: 2px solid #20BEC3;
    padding: 0.5rem 1rem;
    transform: scale(0.8);
}

.educate-news .swiper-next::after {
    border: 2px solid #20BEC3;
    font-size: 1.3rem;
    padding: 0.5rem 1rem;
    transform: scale(0.8);
}

.educate-news .swiper-next:hover::after {
    border: 2px solid #20BEC3;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    background-color: #20BEC3;
    transform: scale(0.7);
    transition: 0.1s all;

}

.educate-news .swiper-prev:hover::after {
    border: 2px solid #20BEC3;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    background-color: #20BEC3;
    transform: scale(0.8);
    transition: 0.1s all;
}

.educate-news .swiper-button-prev {
    position: absolute;
    top: 40px;
    left: var(--swiper-navigation-top-offset, 92%);
    width: calc(50px/ 44 * 27);
    height: 44px;
    margin-top: calc(0px - (var(--swiper-navigation-size)/ 2));
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--swiper-navigation-color, var(--swiper-theme-color));
    color: #20BEC3 !important;

}

.educate-news .swiper-button-prev:hover {
    color: white !important;
}

.educate-news .swiper-button-next {
    position: absolute;
    top: 40px;
    right: var(--swiper-navigation-top-offset, 10px);
    width: calc(var(--swiper-navigation-size)/ 44 * 27);
    height: var(--swiper-navigation-size);
    margin-top: calc(0px - (var(--swiper-navigation-size)/ 2));
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--swiper-navigation-color, var(--swiper-theme-color));
    color: #20BEC3 !important;
}

.swiper-button-next:hover {

    color: white !important;
}

.swiper-prev {
    z-index: 1;
}

.swiper-next {
    /* position: relative; */
    z-index: 1;
}





/* categories */
.educate-caregories-box {
    text-align: center;
    padding: 0.5rem;
    border-radius: 10px;
    border: 2px solid #6bbfc2;

}

.educate-caregories-img-box {
    position: relative;
    background-color: #6bbfc2;
    padding: 1rem;
    border-radius: 10px;
    height: 130px;
}

.educate-caregories-box img {
    padding: 1rem;
    width: 95px;
    position: relative;
    z-index: 1;

}

.educate-caregories-img-box:before {
    position: absolute;
    content: "";
    background-color: rgb(255, 255, 255);
    border-radius: 100px;
    top: 12px;
    left: 0;
    width: 100px;
    height: 100px;
    right: 0;
    margin: auto;
}

.educate-caregories-box h5 {
    background-color: white;
    padding-top: 0.5rem;
    font-size: 1.1rem;
}
.read-btn{
    margin-top: 2.5rem;
}
.read-btn a{
    border-radius: 5px;
    font-weight: 600;
    color: #20BEC3;
    background-color: transparent;
    padding: 0.3rem 2rem;
    transition: all 0.5s;
    border: 2px solid #20BEC3;
}
.read-btn a:hover{
    background-color: #20BEC3;
    border: 2px solid #20BEC3;
    transition: all 0.5s;
    color: #fff;
}


@media only screen and (min-width:992px) and (max-width:1200px) {
    .educate-news-img img {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 10px 10px 0px 0px;
    }

    .educate-news-img {
        background-color: #fefefe;
        border-radius: 10px;
        height: 460px;
    }

    .educate-img {
        margin-top: 3rem;
    }
}

@media only screen and (min-width:768px) and (max-width:992px) {
    .educate-img {
        padding-top: 3rem;
    }

    .educate-img img {
        width: 100%;
        height: auto;
        object-fit: fill;
        padding: 0.5rem;
        transform: scale(0.9);
    }

    .educate-col {
        order: 2;
    }

    .img-part {
        order: 1;
    }

    .educate-img img {
        width: 250px;
        height: 250px;
    }

    .educate-col h6 {
        font-size: 1rem;
        font-weight: 600;
        padding: 1rem 0.6rem;
        line-height: 1.5rem;
    }

    .img-part {
        background-color: #20BEC3;
        border-radius: 18px 18px 0px 0px;
    }

}

@media only screen and (max-width:768px) {
    .educate-img img {
        width: 100%;
        height: 300px;
    }

    .educate-news-img img {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 10px 10px 0px 0px;
    }

    .educate-news-img {
        background-color: #fefefe;
        border-radius: 10px;
        height: auto;
        border: 2px solid #20BEC3;
        padding: 0.5rem;
    }

    .educate-col h6 {
        font-size: 1rem;
        font-weight: 600;
        padding: 1rem 0.6rem;
        line-height: 1.5rem;
    }

    .educate-row {

        margin: 0.5rem;
        margin-top: 1.5rem;
    }

    .educate-col {
        order: 2;
    }

    .img-part {
        order: 1;
    }

    .img-part {
        background-color: #20BEC3;
        border-radius: 18px 18px 0px 0px;
    }

}


@media only screen and (max-width:575px) {
    .educate-img img {
        width: 70%;
        height: 200px;
    }
}