/* for section 3*/

.section3 {

    max-width: 1300px;

    padding-bottom: 4rem;

}

.section3 .content {

    position: relative;

    padding-top: 5rem;

    padding-inline: 6rem;

}

.section3 .content h2.title {

    font-family: "Kanit";

    font-style: normal;

    font-weight: 500;

    font-size: 39.6px;

    line-height: 59px;

    text-align: center;

    color: black;

}

.section3 .content .swiper {

    max-width: 1100px;

}

.section3 .content .swiper .swiper-slide {

    width: 33.33% !important;

}

.section3 .swiper-pagination {

    text-align: center !important;

    color: #1e5bfa;

    position: relative;

    margin-top: 0.5rem;

    padding-top: 1rem;

}

.section3 .card-swiper {

    border-radius: 0.85rem;

    box-shadow: 10px 10px 25px 0px #a3cbdf;

}

.section3 .card-swiper .image .hover {

    position: absolute;

    top: 50%;

    bottom: 50%;

    left: 0;

    right: 0;

    margin: auto;

    background-color: #00000000;

    width: 100%;

    height: 100%;

    transition: 0.5s;

}

.section3 .card-swiper .image .hover span {

    position: absolute;

    top: 50%;

    bottom: 50%;

    margin: auto;

    left: 0;

    right: 0;

    font-family: "Kanit";

    font-style: normal;

    font-weight: 500;

    font-size: 25px;

    line-height: 37px;

    text-align: center;

    opacity: 0;

    transition: 0.5s;

}

.section3 .card-swiper .image {

    position: relative;

    height: 23rem;

}

.section3 .card-swiper .image:hover .hover {

    cursor: pointer;

    background-color: #000000b0;

}

.section3 .card-swiper .image:hover .hover span {

    opacity: 1;

}

.section3 .card-swiper .card-body {

    color: black;

    background-color: #1e5bfa;

    min-height: 11rem;

    border-bottom-left-radius: 0.85rem;

    border-bottom-right-radius: 0.85rem;

    padding: 1rem;

}

.section3 .card-swiper .card-body h5 {

    color: white;

    font-family: "Kanit";

    font-style: normal;

    font-weight: 500;

    font-size: 25px;

    line-height: 37px;

    text-align: center;



    display: -webkit-box;

    -webkit-line-clamp: 1;

    -webkit-box-orient: vertical;

    overflow: hidden;

}

.section3 .card-swiper .card-body p {

    color: white;

    font-family: "Kanit";

    font-style: normal;

    font-weight: 100;

    font-size: 16px;

    line-height: 20px;

    text-align: center;



    display: -webkit-box;

    /* -webkit-line-clamp: 4; */

    -webkit-box-orient: vertical;

    overflow: hidden;

}

.section3 .mySwiper {

    margin-top: 3rem;

}

.section3 .mySwiper .swiper-slide {

    padding: 2rem;

}

/* for section 3*/







@media screen and (max-width: 1600px) {

    .sec3 .swiper-button-next {

        right: 50px;

    }

    .sec3 .swiper-button-prev {

        left: 50px;

    }

}

@media screen and (max-width: 1100px) {

    .section3 {

        max-width: 1100px !important;

    }

    .section3 .card-swiper {

        min-height: 25rem !important;

    }

    .section3 .card-swiper .card-body p {

        font-size: 14px;

    }

    .section3 .card-swiper .card-body h5 {

        font-size: 18px;

    }

    .section3 .card-swiper .card-body {

        padding: 0.5rem;

    }

    .sec3 .swiper-button-next {

        right: 25px;

    }

    .sec3 .swiper-button-prev {

        left: 25px;

    }

}

@media screen and (max-width: 900px) {

    .section3 .content .swiper .swiper-slide {

        width: 100% !important;

    }

    .section3 .card-swiper {

        max-width: 320px;

    }

    .section3 .card-swiper .card-body {

        padding: 1rem;

    }

    .section3 .content {

        padding-top: 2rem;

    }

    .section3 .content h2.title {

        font-size: 34.6px;

    }

    .section3 .mySwiper {

        margin-top: 0;

    }

}

@media screen and (max-width: 500px){

    .section3 .card-swiper {

        max-width: 275px;

    }

    .section3 .card-swiper .card-body {

        min-height: 0;

    }

    .section3 .card-swiper {

        height: 30rem !important;

    }

}

@media screen and (max-width: 420px){

    .section3 .card-swiper {

        max-width: 250px;

    }
}
@media screen and (max-width: 360px){
    .section3 .card-swiper {
        max-width: 200px;
    }
    .section3 .card-swiper {
        min-height: 20rem !important;
    }
    .section3 .card-swiper .card-body {
        padding: 0.5rem;
    }
    .section3 .card-swiper .card-body h5 {
        font-size: 15px;
    }
    .section3 .card-swiper .card-body p {
        font-size: 12px;
    }
    .section3 .card-swiper .card-body {
        min-height: 5rem;
    }
}

@media screen and (min-width: 1100px) {

    .section3 .card-swiper {

        height: 32rem;

    }

}