/********** Template CSS **********/
:root {
    --primary: #c02e26;
    --secondary: #354F8E;
    --light: #EFF5F9;
    --dark: #1D2A4D;
}

.btn {
    font-weight: 700;
    transition: .5s;
}

.btn:hover {
    -webkit-box-shadow: 0 8px 6px -6px #555555;
    -moz-box-shadow: 0 8px 6px -6px #555555;
    box-shadow: 0 8px 6px -6px #555555;
}

.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 0;
    border-radius: 50% 50% 0 0;
    z-index: 99;
}






@media (min-width: 576px) {

    .team-item .row {
        height: 350px;
    }
}

.team-carousel .owl-nav {
    position: absolute;
    padding: 0 45px;
    width: 100%;
    height: 45px;
    top: calc(50% - 22.5px);
    left: 0;
    display: flex;
    justify-content: space-between;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}

.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 20px;
    height: 20px;
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 40px;
    height: 40px;
    background: var(--primary);
}

.testimonial-carousel .owl-item img {
    width: 150px;
    height: 150px;
}

/* other page banner */

.page-banner {
    position: relative;
    width: 100%;
    height: 373px;
    overflow: hidden;
}

.page-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.page-banner .banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgb(255 255 255 / 85%) 0%, rgba(126, 125, 125, 0.9) 100%);
    mix-blend-mode: multiply;


}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* width: 100%; */
    text-align: center;
    color: #fff;
    z-index: 2;
}

.banner-content h1 {
    font-size: 60px;
    font-weight: 700;
}

/* Tablet */
@media (max-width:991px) {

    .page-banner {
        height: 280px;
    }

    .page-banner img {
        object-position: 75% center;
    }

    .banner-content h1 {
        font-size: 42px;
    }
}

/* Mobile */
@media (max-width:767px) {

    .page-banner {
        height: 350px;
    }

    .page-banner img {
        object-fit: cover;
        object-position: 85% center;
        /* keeps student visible */
    }

    .banner-content h1 {
        font-size: 50px;
        color: #fff;
    }

    .banner-content {
        backdrop-filter: blur(10px);

    }
}