/********** Template CSS **********/
:root {
    --primary: #06A3DA;
    --secondary: #F57E57;
    --light: #EEF9FF;
    --dark: #091E3E;
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

.btn {
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
}

.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.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;
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

#languageWidget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    background: #ffffff00;
    padding: 8px;
    border-radius: 2px;
    box-shadow: 0 4px 8px rgb(0 0 0 / 32%);
}

#languageSwitcher {
    padding: 6px 10px;
    font-size: 14px;
}

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

.top-shape::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    left: -17px;
    background: var(--primary);
    transform: skew(40deg);
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Jost', sans-serif;
    padding: 35px 15px;
    font-size: 18px;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 15px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(9, 30, 62, .85);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 12px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 16px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (min-width: 991.98px) {
    .banner {
        position: relative;
        margin-top: -90px;
        z-index: 1;
    }
}

.section-title h5::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 3px;
    right: -55px;
    bottom: 11px;
    background: var(--primary);
}

.section-title h5::after {
    position: absolute;
    content: "";
    width: 15px;
    height: 3px;
    right: -75px;
    bottom: 11px;
    background: var(--secondary);
}

.twentytwenty-wrapper {
    height: 100%;
}

.hero-header {
    background: linear-gradient(rgba(9, 30, 62, .85), rgba(9, 30, 62, .85)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.bg-appointment {
    background: linear-gradient(rgba(9, 30, 62, .85), rgba(9, 30, 62, .85)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.appointment-form {
    background: rgba(6, 163, 218, .7);
}

.appointment-form-footer {
    background: rgba(6, 163, 218, .7);
}

.service-item img,
.service-item .bg-light,
.service-item .bg-light h5,
.team-item .team-text {
    transition: .5s;
}

.service-item:hover img {
    transform: scale(1.15);
}

.team-item .team-text::after,
.service-item .bg-light::after {
    position: absolute;
    content: "";
    top: 50%;
    bottom: 0;
    left: 15px;
    right: 15px;
    border-radius:100px / 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, .7);
    opacity: 0;
    transition: .5s;
    z-index: -1;
}

.team-item:hover .team-text::after,
.service-item:hover .bg-light::after {
    opacity: 1;
}

.bg-offer {
    background:url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.offer-text {
    background: rgba(6, 163, 218, .85);
}

.price-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 45px);
    height: 45px;
    top: calc(50% - 22.5px);
    left: -22.5px;
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
}

.price-carousel:hover .owl-nav {
    opacity: 1;
}

.price-carousel .owl-nav .owl-prev,
.price-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: 2px;
    font-size: 22px;
    transition: .5s;
}

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

.bg-testimonial {
    background: url(../img/carousel-2.jpg) center center no-repeat;
    background-size: cover;
}

.testimonial-carousel {
    background: rgba(6, 163, 218, .85);
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 46px);
    height: 46px;
    top: calc(50% - 23px);
    left: -23px;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

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

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

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

/* Accordion */

.accordion-button {
    font-size: 1rem;
}

.accordion-body {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* div#team-section {
     margin-bottom: 9%;
} */

/* .................................................MOBILE CSS UPDATE................................................. */
@media (max-width: 430px) {
    
    /* nav.navbar.navbar-expand-lg.bg-white.navbar-light.shadow-sm.px-5.py-3.py-lg-0 {
    display: flex;
    flex-wrap: nowrap;
    } */

    nav.navbar.navbar-expand-lg.bg-white.navbar-light.shadow-sm.px-4.py-3.py-lg-0 {
        font-size: 10px;
        display: flex;
        align-items: center;
    }

    a.btn.btn-primary.py-md-3.px-md-5.me-3.animated.slideInLeft, a.btn.btn-secondary.py-md-3.px-md-5.animated.slideInRight {
        margin-top: 5%;
    }

    /* BANNER SECTION START */

    .bg-primary.d-flex.flex-column.p-5 {
        height: 389px !important;
    }

    .bg-secondary.d-flex.flex-column.p-5 {
        height: 450px !important;
        padding: 1.5rem !important;
    }

    .bg-dark.p-4.d-flex.flex-column {
        height: 385px !important;
    }

    .col-12.p-5.text-center {
        padding: 1rem !important;
        margin-top: 1rem !important;
    }
    #banner-explore-btn {
        width: 100% !important;
    }

    /* BANNER SECTION END */

    /* OUR EXPERTS START */

    a.btn.btn-primary.py-3.px-5 {
        padding: 1rem !important;
    }

    /* OUR EXPERTS END */

    h3 {
        font-size: 20px !important;
    }

    h2.text-white.mb-0 {
        font-size: 20px;
    }

    h1 {
        font-size: 20px !important;
    }

    h4 {
        font-size: 18px !important;
    }

    p {
        font-size: 15px !important;
    }

    h1.display-1.text-white.mb-md-4.animated.zoomIn {
        font-size: 17.5px !important;
    }

    p.fs-5 {
        font-size: 15px !important;
    }

    div#contact-section {
        margin-top: 0px !important;
    }

    a.btn.btn-primary.py-2.px-4.ms-3 {
        margin-left: 0rem !important;
    }

    h5.experts.position-relative.d-inline-block.text-primary.text-uppercase {
        margin-left: -72px;
    }

    /* APPOINTMENT FORM MIDDLE */

    div#form-section {
        padding-bottom: 4rem;
    }

    .appointment-form.h-100.d-flex.flex-column.justify-content-center.text-center.p-5.wow.zoomIn {
        width: 100% !important;
        padding: 1.5rem !important;
        margin-bottom: 0rem !important;
    }

    /* APPOINTMENT FORM FOOTER */

    .appointment-form-footer.h-100.d-flex.flex-column.justify-content-center.text-center.p-5.wow.zoomIn {
        width: 100% !important;
        padding: 1.5rem !important;
        margin-bottom: -3.4rem !important;
    }

    .container-fluid.position-relative.pt-5.wow.fadeInUp {
        padding-top: 0rem !important;
    }

}