/********** 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;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    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: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        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: #3361C0;
}

.section-title h5::after {
    position: absolute;
    content: "";
    width: 15px;
    height: 3px;
    right: -75px;
    bottom: 11px;
    background: #43E3F0;
}

.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);
}

.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;
}

/*  */
.text-primary {
    color: #3361C0 !important;
}
.bg-primary {
    background-color: #3361C0 !important;
}
.top-shape::before {
    background: #43E3F0
}
.navbar-light .navbar-nav .nav-link{
    color: #3361C0;
}
.navbar-light .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .nav-link.active {
    color: #43E3F0;
}
.btn-primary , .btn-secondary:hover{
    color: #fff;
    background-color: #3361C0;
    border-color: #3361C0;
}
.btn-primary:hover, .btn-secondary {
    color: #fff;
    background-color: #43E3F0;
    border-color: #43E3F0;
}
.custom-bg-secondary {
    background-color: #43E3F0 !important;
}
.appointment-form {
    background: #43E3F0;
}
.offer-text {
    background: #43E3F0;
}
.testimonial-carousel .owl-nav .owl-prev:hover{
    background: #43E3F0;
}
.testimonial-carousel .owl-nav .owl-next:hover{
    background: #43E3F0;
}
.btn-dark, .btn-dark:hover{
    color: #fff;
    background-color: #3361C0;
    border-color: #3361C0;
}
.service-container .service-item img{
    width: 213px;
    height: 128px;
}
.carousel-item img{
    /*height:  100%;*/
    height:  950px;
}
.dropdown-item.active, .dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: #43E3F0 !important;
}
label.error{
    color: #ea1f1d;
}
.embla__container{
    display: flex;
    justify-content: center;
    align-items: center; /* Use this if you want vertical centering as well */
    /* Other styles you have */
    transform: translate3d(-1.88682%, 0px, 0px);
    text-align: center;
}
.smooth-div {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.smooth-div.visible {
    opacity: 1;
    transform: translateY(0);
}
.service-img div{
    text-align: center;
}
.service-img img{
    height: 280px;
    padding: 8px !important;
}
.feature-service-img img.hover-shadow , .service-img img.hover-shadow {
    transition: 0.3s;
}
.feature-service-img img.hover-shadow:hover , .service-img .hover-shadow:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
@media (max-width: 500px) {
  .gallerysection .modal-content {
      height: auto !important;
    }
}

.testimonial{
    text-align: center;
    color: #F2EFE8;
    /*margin:80px 30px;*/
    margin:55px 30px;
    padding: 30px 40px;
    border-radius:30px;
    position: relative;
    z-index: 1;
}
@media (max-width: 500px) {
    .testimonial {
      margin:20px;
    }
}
.testimonial:before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #43E3F0;
    border-radius:30px;
    z-index: -1;
}
.testimonial:after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #3361C0;
    border-radius:30px;
    transform:rotate(-7deg);
    z-index: -2;
}
.testimonial .pic{
    border: 5px solid #F2EFE8;
    display: inline-block;
    margin-bottom: 10px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
}
.testimonial .pic img{
    width: 100%;
    height: 100%;
    border-radius: 50%;
}
.testimonial .testimonial-content{
    font-size: 16px;
    letter-spacing: 1px;
    line-height: 30px;
    margin-bottom: 20px;
}
.testimonial .testimonial-content p{
    font-weight: 600 !important;
}
.testimonial .testimonial-title a{
    display: inline-block;
    color: #3361C0;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.testimonial .testimonial-title small{
    color: #F2EFE8;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: capitalize;
}
.owl-theme .owl-controls{
    margin-top: 0px;
    margin-left: 10px;
    text-align: center;
}
.owl-theme .owl-controls .owl-buttons div{
    display: inline-block;
    opacity:1;
    background:#3361C0;
    color: #F2EFE8;
    border-radius: 0;
    width: 40px;
    height: 40px;
    line-height: 40px;
    margin-right: 5px;
}
.owl-prev:before,
.owl-next:before{
    content: "\f060";
    font-family: 'FontAwesome';
    font-size: 20px;
}
.owl-next:before{
    content: "\f061";
}
.pricingplan{
    border-right: 4px solid #3361C0;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
    padding: 10px;
    margin: 0 15px 30px 15px;
    overflow: hidden;
    position: relative;
}
.pricingplan:before{
    content: "";
    position: absolute;
    bottom: -4px;
    left: -17px;
    border-top: 25px solid #43E3F0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    transform: rotate(45deg);
}
.pricingplan:after{
    content: "";
    position: absolute;
    top: -4px;
    left: -17px;
    border-top: 25px solid #43E3F0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    transform: rotate(135deg);
}
.pricingplan .pic{
    display: inline-block;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    position: absolute;
    top: 60px;
    left: 20px;
}
.pricingplan .pic img{
    width: 100%;
    height: auto;
}
.pricingplan .description{
    font-size: 15px;
    letter-spacing: 1px;
    color: #6f6f6f;
    line-height: 25px;
    margin-bottom: 15px;
}
.pricingplan .title{
    display: inline-block;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #43E3F0;
    margin: 0;
}
.pricingplan img{
    height: 100px;
    object-fit: cover;
}
.pricingplan a{
    font-size: 1rem;
    line-height: 1.5;
}
.pricingplan .post{
    display: inline-block;
    font-size: 17px;
    color: #43E3F0;
    font-style:italic;
}
.owl-theme .owl-controls .owl-page span{
    border: 2px solid #3361C0;
    background: #fff !important;
  border-radius:0 !important;
    opacity: 1;
}
.owl-theme .owl-controls .owl-page.active span,
.owl-theme .owl-controls .owl-page:hover span{
    background: #43E3F0 !important;
  border-color:#43E3F0;
}
@media only screen and (max-width: 700px){
    .pricingplan{
        padding: 20px;
        text-align: center;
    }
    .pricingplan .pic{
        display: block;
        position: static;
        margin: 0 auto 15px;
    }
    .pricingplan a {
        font-size: 0.7rem;
        line-height: 1;
    }
}
.counter span{
    font-weight: 700;
}