/********** Template CSS **********/
:root {
    --primary: #5439b0;
    --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;
}

.bg-primary{
    background-color: #5439b0 !important;
}

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

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

.btn-primary{
    background: var(--primary) !important;
    border-color: var(--primary) !important;
}

.text-primary{
    color: var(--primary) !important;
}
.btn-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.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-brand {
    width: 120px;
}

.navbar-brand img{
    width: 100%;
}

.navbar-toggler:focus {
    text-decoration: none;
    outline: 0;
    box-shadow: 0 0 0 0rem !important; 
}

@media(max-width:420px){
   .navbar-brand {
        width: 80px;
    }

    .navbar-brand img{
        width: 100%;
    } 
    .text-effect span{
        font-size: 18px;
        line-height:24px ;

    }
}

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

#header-carousel{
    height: 500px;
}

#header-carousel .carousel-inner{
    height: 500px;
}


@media(max-width:820px){
    #header-carousel{
        max-height: 380px;
    }

    #header-carousel .carousel-inner{
        max-height: 380px;
    }

    #header-carousel .carousel-inner img{
        max-height: 380px;
    }
}

.carousel-caption {
    top: -20px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .7);
    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: var(--primary);
}

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

.twentytwenty-wrapper {
    height: 100%;
}


.bg-appointment {
    background: url(../img/black.jpg) center center no-repeat;
    background-size: cover;
}

.appointment-form {
    background: rgba(0, 0, 0, .7);
}

.with-errors{
    color: red;
    text-align: left;
    margin-top: 10px;
}

.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/black.jpg) center center no-repeat;
    background-size: cover;
}

.offer-text {
    background: rgba(84, 57, 176, .5);
}

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




.serviceBox{
    color: var(--dark-color);
    background: #F5F2F3;
    font-family: 'Roboto', sans-serif;
    text-align: center;
    padding: 0 0 45px;
    border-radius: 20px;
    border: 3px solid var(--dark-color);
    border-top-color: transparent;
    border-bottom-style: dotted;
    position: relative;
    z-index: 1;
}
.serviceBox:before{
    content: "";
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: -1;
}
.serviceBox .service-icon{
    color: #fff;
    background: linear-gradient(to right,var(--dark-color) 23%,var(--main-color) 23%,var(--main-color) 79%, var(--dark-color) 0%);
    font-size: 45px;
    padding: 3px;
    margin: 0 -3px 30px;
    border-radius: 15px 15px 0 0;
    clip-path: polygon(0 0, 100% 0, 100% 60%, 78% 100%, 23% 100%, 0% 60%);
}
.serviceBox .title{
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 20px 10px;
    text-align: left;
}


.serviceBox.purple{
    --main-color: #cd84f1;
    --dark-color: #c56cf0;
}

@media only screen and (max-width: 1199px){
    .serviceBox{ margin: 0 0 30px; }
}


.text-effect{
    font-size: 28px;
    line-height: 42px;
    text-align: left;
    font-weight: 800;
}
.text-effect span{
    color: #5439b0;
    font-weight: 800;
    position: relative;
    overflow: hidden;
}
.text-effect span:before,
.text-effect span:after{
    content: attr(data-content);
    color: #000;
    text-shadow: 0 0 3px #fff;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: absolute;
    left: 0;
    top: 0;
    animation: animate1 3s infinite;
}
.text-effect span:after{
    color: #173a2e;
    width: 100%;
    height: 0;
    animation: animate2 3s infinite;
}
@keyframes animate1{
    0%{ width: 0; }
    50%{ width: 100%; }
    100%{ width: 0; }
}
@keyframes animate2{
    0%{ height: 0; }
    50%{ height: 100%; }
    100%{ height: 0; }
}


