
.about-school {
    overflow: hidden;
}

.about-school h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
}

.about-school p {
    font-family: 'Poppins', sans-serif;
    opacity: 0.75;

}

.about-school a {
    margin-top: 1.5rem;
    /* font-family: 'Poppins', sans-serif; */
    font-family: 'oswald', sans-serif;
    display: inline-flex;
    align-items: center;
}

.about-school a svg {
    position: relative;
    left: 5px;
    transition: 1s ease-in-out;
}

.about-school a:hover,
.about-school a:focus {
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

.about-school a:hover svg {
    animation: slideRight 1.2s infinite;
    animation-timing-function: ease-in-out;
}

@keyframes slideRight {
    from {
        left: 5px;
    }

    to {
        left: 15px;
    }
}



.about-school .img-box::before {
    left: -20px;
    background-position: 0 0;
}

.about-school .img-box::after {
    right: -20px;
    background-position: 100% 0;
}



.why-sec {
    background-image: url(assets/images/index/bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    box-sizing: border-box;
}

.why-sec .card {
    display: grid;
    height: 100%;
    background: #6e6957;
    border: unset;
    border-radius: 10px;
    transition: 1s ease-in-out;
}

.why-sec .card .card-body {
    padding: 2rem;
}

.why-sec .card .card-body .img-box img {
    filter: invert(1);
    opacity: 0.95;
}

.why-sec .card .card-body h3 {
    font-family: 'oswald', sans-serif;
    color: White;
}

.why-sec .card .card-body p {
    font-family: 'Poppins', sans-serif;
    color: White;
    opacity: 0.75;
}

.why-sec .lg-size .card .card-body {
    display: flex;
    align-items: center;
}

.why-sec .card .card-body .img-box {
    width: 77px;
    height: auto;
    margin-bottom: 1rem;
}

.why-sec .lg-size .card .card-body .img-box {
    margin-right: 1.5rem;
}

.why-sec .lg-size .card .card-body .img-box img {
    width: 100%;
}

.why-sec .card:hover {
    border-radius: 20px;
    background: var(--bs-dark);
    box-shadow: rgba(0, 0, 0, 0.17) 0px -23px 25px 0px inset, rgba(0, 0, 0, 0.15) 0px -36px 30px 0px inset, rgba(0, 0, 0, 0.1) 0px -79px 40px 0px inset, rgba(0, 0, 0, 0.06) 0px 2px 1px, rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px, rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px;
}

@media(max-width:767px) {
    .why-sec .lg-size .card .card-body {
        display: block;
    }
}

.our-faclities {
    position: relative;
}

.our-faclities .slider-divider {
    position: absolute;
    bottom: -15%;
    width: 100%;
    height: 25%;
    transform: rotate(180deg);
}

.our-faclities .slider-divider {
    fill: #fff;
}

.our-faclities .carousel-inner .carousel-item .carousel-content-box {
    position: absolute;
    width: 50%;
    padding: 1rem 2rem;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
    transform: skewX(-10deg);
    animation-timing-function: ease-in-out;
}

.our-faclities .carousel-inner .carousel-item .carousel-content-box h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 20px;
    line-height: 1.5;
    transition: .3s ease-in-out;
    transform: skewX(10deg);
}

.our-faclities .carousel-inner .carousel-item:first-child .carousel-content-box {
    background-color: var(--bs-warning);
}

.our-faclities .carousel-inner .carousel-item:nth-child(2) .carousel-content-box {
    background-color: var(--bs-purple);
    color: var(--bs-white);
}

.our-faclities .carousel-inner .carousel-item:nth-child(3) .carousel-content-box {
    background-color: var(--bs-primary);
    color: var(--bs-white);
}

.our-faclities .carousel-inner .carousel-item:nth-child(4) .carousel-content-box {
    background-color: var(--bs-cyan);
    color: var(--bs-white);
}

.our-faclities .carousel-inner .carousel-item:nth-child(5) .carousel-content-box {
    background-color: var(--bs-danger);
    color: var(--bs-white);
}

.our-faclities .carousel-inner .carousel-item:nth-child(6) .carousel-content-box {
    background-color: var(--bs-info);
    color: var(--bs-white);
}

.our-faclities .carousel-inner .carousel-item:nth-child(7) .carousel-content-box {
    background-color: var(--bs-red);
    color: var(--bs-white);
}

.our-faclities .carousel-inner .carousel-item:first-child .carousel-content-box {
    bottom: 10%;
    right: 5%;
    animation: cRight 1.2s;
}

.our-faclities .carousel-inner .carousel-item:nth-child(2) .carousel-content-box {
    top: 10%;
    right: 5%;
    animation: cRight 1.2s;
}

.our-faclities .carousel-inner .carousel-item:nth-child(3) .carousel-content-box {
    bottom: 10%;
    left: 5%;
    animation: cLeft 1.2s;
}

.our-faclities .carousel-inner .carousel-item:nth-child(4) .carousel-content-box {
    top: 10%;
    left: 5%;
    width: 35%;
    animation: cLeft 1.2s;
}

.our-faclities .carousel-inner .carousel-item:nth-child(5) .carousel-content-box {
    bottom: 10%;
    right: 5%;
    width: 35%;
    animation: cRight 1.2s;
}

.our-faclities .carousel-inner .carousel-item:nth-child(6) .carousel-content-box {
    top: 10%;
    right: 5%;
    animation: cRight 1.2s;
}

.our-faclities .carousel-inner .carousel-item:nth-child(7) .carousel-content-box {
    bottom: 10%;
    left: 5%;
    animation: cLeft 1.2s;
}

@media(min-width:768px) {
    @keyframes cRight {
        from {
            right: -100%;
        }

        to {
            right: 5%;
        }
    }

    @keyframes cLeft {
        from {
            left: -100%;
        }

        to {
            left: 5%;
        }
    }
}

@media(max-width:767px) {
    .our-faclities .carousel-inner .carousel-item .carousel-content-box {
        width: 100% !important;
        bottom: 0% !important;
        top: unset !important;
        left: 0 !important;
        right: unset !important;
        transform: unset !important;
    }

    .our-faclities .carousel-inner .carousel-item .carousel-content-box h4 {
        font-size: 14px;
        position: relative;
        opacity: 1;
        transform: unset;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .our-faclities .carousel-inner .carousel-item .carousel-content-box {
        width: 60%;
    }

    .our-faclities .carousel-inner .carousel-item:nth-child(4) .carousel-content-box,
    .our-faclities .carousel-inner .carousel-item:nth-child(5) .carousel-content-box {
        width: 50% !important;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .our-faclities .carousel-inner .carousel-item .carousel-content-box {
        width: 70%;
    }

    .our-faclities .carousel-inner .carousel-item:nth-child(4) .carousel-content-box,
    .our-faclities .carousel-inner .carousel-item:nth-child(5) .carousel-content-box {
        width: 50% !important;
    }
}

.testimonial-sec {
    background-image: url('../images/bg2.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    overflow: hidden;
}
.testimonial-sec .img-box img{
    width: 84px;
    height: 84px;
    object-fit: cover;
    object-position: 50% 50%;
}
.testimonial-sec .img-box{
    border-radius: 50%;
    width: 84px;
    height: 84px;
    margin: 0 auto 2rem;
    overflow: hidden;
    border:4px solid #fff
}
.testimonial-sec .conteant-area p,
.testimonial-sec .conteant-area h6{
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
    opacity: 0.75;
}
.testimonial-sec .conteant-area h4{
    font-family: 'oswald', sans-serif;
}
.testimonial-sec .conteant-area h6{
    opacity: 0.5;
}
.testimonial-sec .conteant-area p{
    font-style: italic;
    margin-top:2rem
}
.testimonial-sec .carousel-indicators{
    bottom: -20%;
}
.testimonial-sec .content-heading {
    margin-top: 4rem;
}

@media(min-width:768px) {
    .testimonial-sec .content-heading {
        margin-top: 5rem;
    }
}
@media(min-width:1600px){
    .banner-section .card {width:700px}
}




