/********** Template CSS **********/
:root {
    --primary: #0463FA;
    --light: #EFF5FF;
    --dark: #1B2C51;
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-black {
    font-weight: 900 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}







/*==================== 
    Banner Styles
====================*/

.banner-home {
    width: 100%;
    height: 80vh;
    display: flex;
    color: #fff;
    position: relative;
    padding-top: 180px;
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    background-image: url('../img/banner_desktop3.jpg');
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    font-family: 'Old Standard TT', serif;
}

.banner-another:after {
    content: "";
    width: 100%;
    height: 100px;
    background: url('../img/background-white-color.png');
    bottom: -10px;
    left: 0;
    position: absolute;
    display: inline-block;
}

.banner-home .gradient {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: -moz-linear-gradient(left, rgba(255, 0, 0, 0.3) 0%, rgba(255, 240, 0, 0.3) 100%);
    background: -webkit-linear-gradient(left, rgba(255, 0, 0, 0.3) 0%, rgba(255, 240, 0, 0.3) 100%);
    background: linear-gradient(to right, rgba(255, 0, 0, 0.3) 0%, rgba(255, 240, 0, 0.3) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4dff0000', endColorstr='#4dfff000', GradientType=1);
}

.banner-home:after {
    content: "";
    width: 100%;
    height: 100px;
    background: url('../img/background-white-color.png');
    bottom: 0;
    left: 0;
    position: absolute;
    display: inline-block;
}

.banner-home h1 {
    padding: 0;
    font-size: 60px;
    font-weight: 600;
    padding-bottom: 10px;
    color: #fff;
}

.banner-home h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

.banner-home p {
    font-size: 20px;
    font-weight: 500;
}

.banner-home i {
    font-size: 25px;
    margin-right: 15px;
}

.banner-home .btn-success {
    font-size: 22px;
    padding: 15px 28px;
    margin: 30px 0;
    font-weight: 700;
    border-radius: 100px;
    text-transform: uppercase;
    background-color: #ffffff;
    border-color: #ffffff;
    color: #000000;
    border: 2px solid #ffffff;
}

.banner-home .btn-success:hover {
    color: #000000;
    background-color: #ffffff;
    border: 2px solid #ffffff;
}

/* Styles for Large Desktops */
@media only screen and (min-width: 1200px) {
    .banner-home {
        padding-top: 100px;
        height: 80vh;
    }

    .banner-home h1 {
        font-size: 60px;
    }

    .banner-home p {
        font-size: 20px;
    }

    .banner-home .btn-success {
        font-size: 22px;
        padding: 10px 14px;
        margin:5px 0;
    }

    .banner-home:after {
        content: "";
        width: 100%;
        height: 80px;
        background: url('../img/background-white-color.png');
        bottom: 0;
        left: 0;
        position: absolute;
        display: inline-block;
    }
}

/* Styles for Medium Desktops */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .banner-home {
        padding-top: 120px;
        height:80vh;
    }

    .banner-home h1 {
        font-size: 50px;
    }

    .banner-home p {
        font-size: 18px;
    }

    .banner-home .btn-success {
        font-size: 20px;
        padding: 12px 24px;
        margin: 10px 0;
    }

    .banner-home:after {
        content: "";
        width: 100%;
        height: 80px;
        background: url('../img/background-white-color.png');
        bottom: -20px;
        left: 0;
        position: absolute;
        display: inline-block;
    }
}

/* Styles for Small Desktops and Laptops */
@media only screen and (min-width: 769px) and (max-width: 991px) {
    .banner-home {
        padding-top: 120px;
        height: 85vh;
    }

    .banner-home h1 {
        font-size: 40px;
    }

    .banner-home p {
        font-size: 16px;
    }

    .banner-home .btn-success {
        font-size: 18px;
        padding: 10px 20px;
        margin: 5px 0;
    }

    .banner-home:after {
        content: "";
        width: 100%;
        height: 80px;
        background: url('../img/background-white-color.png');
        bottom: -25px;
        left: 0;
        position: absolute;
        display: inline-block;
    }
}

/* Styles for Tablets */
@media only screen and (max-width: 768px) {
    .banner-home {
        background-image: url('../img/banner_mobile2.jpg');
        padding-top: 100px;
        height: 70vh;
    }

    .banner-home h1 {
        font-size: 36px;
    }

    .banner-home p {
        font-size: 16px;
    }

    .banner-home .btn-success {
        font-size: 18px;
        padding: 8px 18px;
        margin: 15px 0;
    }

    .banner-home:after {
        content: "";
        width: 100%;
        height: 80px;
        background: url('../img/background-white-color.png');
        bottom: -25px;
        left: 0;
        position: absolute;
        display: inline-block;
    }
}

/* Styles for Mobile Devices */
@media only screen and (max-width: 576px) {
    .banner-home {
        background-image: url('../img/banner_mobile2.jpg');
        padding-top: 80px;
        height: 70vh;
    }

    .banner-home h1 {
        font-size: 30px;
    }

    .banner-home p {
        font-size: 14px;
    }

    .banner-home .btn-success {
        font-size: 16px;
        padding: 6px 16px;
        margin: 10px 0;
    }

    .banner-home:after {
        content: "";
        width: 100%;
        height: 80px;
        background: url('../img/background-white-color.png');
        bottom: -25px;
        left: 0;
        position: absolute;
        display: inline-block;
    }
}

/*** Header ***/
.header-carousel .owl-carousel-text {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 3rem;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 0 30px rgba(0, 0, 0, .1);
}

.header-carousel .owl-nav {
    position: absolute;
    width: 200px;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.header-carousel .owl-dots {
    position: absolute;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 15px;
    transition: .5s;
}

.header-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 5px;
    height: 5px;
    top: 4px;
    left: 4px;
    background: #FFFFFF;
    border-radius: 5px;
}

.header-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: url(../img/header-page.jpg) top center no-repeat;
    background-size: cover;
    text-shadow: 0 0 30px rgba(0, 0, 0, .1);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** Service ***/
.service-item {
    transition: .5s;
}

.service-item:hover {
    margin-top: -10px;
    box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .08);
}

.service-item .btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    background: #FFFFFF;
    border-radius: 40px;
    white-space: nowrap;
    overflow: hidden;
    transition: .5s;
}

.service-item:hover .btn {
    width: 140px;
}


/*** Feature ***/
@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
    }

    .feature-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .feature-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .feature-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}

/* teacher */
.title {
    text-align: center;
    font-size: 2.5em;
    color: #312e81;
    font-weight: bold;
    text-transform: capitalize;
}

.separator {
    display: block;
    width: 50px;
    height: 4px;
    background-color: #68d391;
    margin: 16px auto;
    border: none;
}

.subtitle {
    text-align: center;
    font-size: 1.25em;
    color: #2d3748;
}

.team {
    margin-top: 40px;
}

.team-member {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.team-member.reverse {
    flex-direction: column-reverse;
}

.image-container {
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
}

.image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px;
    border-radius: 16px;
    color: #312e81;
}

.details h3 {
    font-size: 1.75em;
    font-weight: 600;
    text-transform: capitalize;
}

.details .position {
    font-size: 1.25em;
    font-weight: 300;
    margin: 8px 0 20px 0;
    text-transform: capitalize;
}

.details .description {
    opacity: 0.75;
    line-height: 1.6;
}

/* Background colors for the details sections */
.bg-red {
    background-color: #fed7d7;
}

.bg-blue {
    background-color: #bee3f8;
}

.bg-yellow {
    background-color: #fefcbf;
}

.bg-green {
    background-color: #c6f6d5;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .team-member {
        flex-direction: row;
    }
    .team-member.reverse {
        flex-direction: row-reverse;
    }
    .image-container {
        width: 25%;
    }
    .details {
        width: 75%;
    }
}
/*** Team ***/
.team-item img {
    position: relative;
    top: 0;
    transition: .5s;
}

.team-item:hover img {
    top: -30px;
}

.team-item .team-text {
    position: relative;
    /* height: 100px; */
    transition: .5s;
}

.team-item:hover .team-text {
    margin-top: -60px;
    /* height: 160px; */
}

.team-item .team-text .team-social {
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-text .team-social {
    opacity: 1;
}

.team-item .team-social .btn {
    display: inline-flex;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px;
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Appointment ***/
.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** Testimonial ***/
.corporate-testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.corporate-testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .corporate-testimonial-carousel::before,
    .corporate-testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .corporate-testimonial-carousel::before,
    .corporate-testimonial-carousel::after {
        width: 300px;
    }
}

.corporate-testimonial-carousel .owl-item .testimonial-text {
    background: var(--light);
    transform: scale(.8);
    transition: .5s;
}

.corporate-testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary);
    transform: scale(1);
}

.corporate-testimonial-carousel .owl-item .testimonial-text *,
.corporate-testimonial-carousel .owl-item .testimonial-item img {
    transition: .5s;
}

.corporate-testimonial-carousel .owl-item.center .testimonial-text * {
    color: var(--light) !important;
}

.corporate-testimonial-carousel .owl-item.center .testimonial-item img {
    background: var(--primary) !important;
} 

.corporate-testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.corporate-testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.corporate-testimonial-carousel .owl-nav .owl-prev,
.corporate-testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--primary);
    font-size: 45px;
    transition: .5s;
}

.corporate-testimonial-carousel .owl-nav .owl-prev:hover,
.corporate-testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}