/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

@font-face {
    font-family: tnr;
    src: url("/times\ new\ roman.ttf");
}

@font-face {
    font-family: tnrb;
    src: url("/times\ new\ roman\ bold.ttf");
}

@font-face {
    font-family: tnri;
    src: url("/times\ new\ roman\ italic.ttf");
}

html,
body {
    height: 100%;
    width: 100%;
}

#page5 {
    min-height: 100vh;
    width: 100%;
    position: relative;
    /* display: flex;
    align-items: center;
    justify-content: center; */
    background-color: rgb(186, 186, 186);
    border-radius: 26px 26px 26px 26px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.slide-container {
    min-height: inherit;
    width: 100%;
    padding: 40px 100px;
    /* display: flex;
    justify-content: center;
    align-items: center; */
}

.slide-content {
    min-height: inherit;
    width: 100%;
    border-radius: 25px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 55px;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}

.courses-cards {
    margin: 0 40px;
    border-radius: 25px;
    overflow: hidden;
}

.card {
    height: 350px;
    width: 300px;
    display: inline-block;
    border-radius: 25px;
    background-color: #fff;
}

.coures-card {
    height: 100%;
    width: 100%;
    border-radius: 25px;
    background-color: #fff;
}

.image-content,
.card-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    padding: 10px 14px;
}

.image-content {
    position: relative;
    row-gap: 5px;
    padding: 25px 0;
}

.overlay {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: #4070F4;
    border-radius: 25px 25px 0 25px;
    border: none;
}

.overlay::before,
.overlay::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -40px;
    height: 40px;
    width: 40px;
    background-color: #4070F4;
}

.overlay::after {
    border-radius: 0 25px 0 0;
    background-color: #fff;
}

.card-image {
    position: relative;
    height: 150px;
    width: 150px;
    border-radius: 50%;
    background-color: #fff;
    padding: 3px;
}

.coures {
    height: 150px;
    width: 100%;
}

.course-image {
    position: relative;
    height: 150px;
    width: 100%;
    border-radius: 50%;
    background-color: #fff;
    padding: 3px;
}

.course-image img {
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
       object-fit: cover;

}

.card-image .card-img {
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    border-radius: 50%;
    border: 4px solid #4070F4;
    background-color: #4070F4;
    object-position: 100% 0%;
}

.name {
    font-size: 18px;
    font-weight: 700;
    color: #161616;
}

.teach {
    font-size: 15px;
    font-weight: 500;
    color: #292929;
}

.description {
    font-size: 14px;
    color: #707070;
    text-align: center;
}

.swiper-navbtn {
    color: #2a2c31;
    -webkit-transition: color 0.3s ease;
    -o-transition: color 0.3s ease;
    transition: color 0.3s ease;
}

.swiper-navbtn:hover {
    color: #131417;
}

.swiper-navbtn::before,
.swiper-navbtn::after {
    font-size: 40px;
}

.coures-navbtn {
    color: #2a2c31;
    -webkit-transition: color 0.3s ease;
    -o-transition: color 0.3s ease;
    transition: color 0.3s ease;
}

.coures-navbtn:hover {
    color: #131417;
}

.coures-navbtn::before,
.coures-navbtn::after {
    font-size: 40px;
}

.swiper-button-next {
    right: 0;
}

.coures-button-next {
    right: 0;
}

.swiper-button-prev {
    left: 0;
}

.coures-button-prev {
    left: 0;
}

.hidden {
    display: none;
}

/* Style for See More and Less buttons */
#seeMoreBtn,
#lessBtn {
    height: 40px;
    position: absolute;
    bottom: 2%;
    right: 3%;
    border: 2px solid #000080;
    padding: 5px;
    margin-top: 10px;
    display: none;
    background-color: transparent;
    font-size: 1rem;
    border-radius: 20px;
}


/* Style for See More and Less buttons */
#seeMoreBtncou,
#lessBtncou {
    height: 40px;
    position: absolute;
    bottom: 2%;
    right: 3%;
    border: 2px solid #000080;
    padding: 5px;
    margin-top: 10px;
    display: none;
    background-color: transparent;
    font-size: 1rem;
    border-radius: 20px;
}

/* -----------------corses ---------------- */
#page6 {
    min-height: 100vh;
    width: 100%;
    background-color: rgb(186, 186, 186);
    border-radius: 26px 26px 26px 26px;
    position: relative;
    margin: 20px 0px;
    padding: 20px;
}

#page6 .allco {
    font-size: 2rem;
    font-weight: 800;
}

.course {
    /* min-height: 75vh; */
    width: 100%;
    /* background-color: red; */
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 20px;
    /* overflow: hidden; */
}

.course-card {
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    width: 20rem;
    background-color: whitesmoke;
    border-radius: 10px;
    -webkit-transition: all ease-in 0.5s;
    -o-transition: all ease-in 0.5s;
    transition: all ease-in 0.5s;
    /* padding: 5px; */
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
}

.course-card:hover {
    -webkit-transition: all ease-in 0.5s;
    -o-transition: all ease-in 0.5s;
    transition: all ease-in 0.5s;
    -webkit-box-shadow: 0px 16px 9px 0px #8b8888;
            box-shadow: 0px 16px 9px 0px #8b8888;
}

.first {
    /* height: 170px; */
    width: 100%;
    /* background-color: aqua; */
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}

.first img {
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    scale: 1;
    -webkit-transition: all 0.6s ease;
    -o-transition: all 0.6s ease;
    transition: all 0.6s ease;
}

.course-card:hover .first img {
    scale: 1.2;
    -webkit-transition: all 0.6s ease;
    -o-transition: all 0.6s ease;
    transition: all 0.6s ease;
}

.second {
    padding: 10px 20px;
}

.second h5 {
    font-size: 0.7rem;
}

.second h2 {
    font-size: 1rem;
    font-weight: 800;
    color: #000;
}

.second p {
    font-size: 0.9rem;
    line-height: 1;
}

.second h4 {
    font-size: 1rem;
    font-weight: 700;
}

.second h4 .real {
    text-decoration: line-through;
}

.second h4 .off {
    color: red;
}

.second h3 {
    font-size: 0.9rem;
}

.detailscard {
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    width: 100%;
}

.sumarycard{
    padding:10px 0;
    background-color: #000080;
    border-radius: 10px 10px 0px 0px;
    padding-left: 18px;
    color: #fff;
}

/* ------------------------- admission button in ---------------------------- */

.admission {
    height: 50px;
    width: 10rem;
    background-color: #000080;
    color: #fff;
    border: none;
    border-radius: 4px;
}

@media screen and (max-width: 768px) {
    .slide-content {
        margin: 0px;
    }

    .swiper-navbtn {
        display: none;
    }
}

@media screen and (max-width: 600px) {

    #seeMoreBtncou,
    #lessBtncou {
        height: 40px;
        position: unset;
        /* bottom: 2%;
        right: 3%; */
        border: 2px solid #000080;
        padding: 5px;
        margin-top: 10px;
        display: none;
        background-color: transparent;
        font-size: 1rem;
        border-radius: 20px;
    }

    #seeMoreBtn,
    #lessBtn {
        height: 40px;
        position: unset;
        /* bottom: 2%;
    right: 3%; */
        border: 2px solid #000080;
        padding: 5px;
        margin-top: 10px;
        display: none;
        background-color: transparent;
        font-size: 1rem;
        border-radius: 20px;
    }

    .slide-container {
        padding: 5px;
    }
    .slide-content {
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
    }

    .card {
        height: -webkit-fit-content;
        height: -moz-fit-content;
        height: fit-content;
    }
    .allco{
        text-align: center;
    }
}