*, *::before, *::after,
html, body{
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}
html, body{
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}
:root{
    --theme-blue: #198db4;
    --theme-black: #1a1a1a;
    --theme-btn-blue: #27a0d7;
    --theme-footer-bg: #0c0b0b;
    --theme-text-dark: #333333;
    --theme-text-light: #666666;
}
html{
    font-size: 62.5%;
}
body{
    font-family: 'Roboto', sans-serif;
    font-size: 1.4rem;
    background-color: #ffffff;
}
.navbar .btn,
.nav-link,
.home .btn,
.about-us .btn{
    text-transform: uppercase;
}
.btn{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
}
.btn,
.btn:hover,
.btn:focus,
.btn:active{
    border: none !important;
    outline: none;
    -webkit-box-shadow: none;
            box-shadow: none;
}

.btn-primary{
    background-color: var(--theme-btn-blue);
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active{
    background-color: #2895c7;
}

.btn-dark{
    background-color: var(--theme-black);
}
.btn-dark:hover,
.btn-dark:focus,
.btn-dark:active{
    background-color: #000000;
}
.navbar{
    background-color: #ffffff !important;
}
.logo{
    height: 6rem;
}
.navbar-light .navbar-nav .nav-link{
    font-weight: 500 !important;
    font-size: 1.5rem;
}
.navbar-light .navbar-nav .nav-item.active .nav-link{
    color: #6d6e71 !important;
    font-weight: 700 !important;
}
.navbar .nav-item{
    margin-top: 2rem;
}
.navbar .btn{
    height: 3.5rem;
    width: 9rem;
    font-size: 1.3rem;
    border-radius: .3rem;
    margin-top: 2rem;
}
.navbar-toggler{
    outline: none !important;
}

h2 span,
h3 span{
    font-weight: 700;
}


.custom-carousel{
    width: 100%;
    height: 40rem;
    overflow: hidden;
    margin-bottom: 7rem;
    margin-top: 4rem;
}
.custom-carousel-inner{
    height: 100%;
    width: 100%;
    overflow: hidden;
    position: relative;
}
.custom-carousel-inner .carousel-btn{
    position: absolute;
    bottom: 5rem;
    left: 50%;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
    -webkit-animation: move-up-down 1s infinite;
            animation: move-up-down 1s infinite;
}
.custom-carousel-inner .carousel-btn img{
    max-height: 5rem;

}
.custom-carousel-item{
    display: none;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    overflow: hidden;
    height: 100%;
    width: 100%;
    -webkit-transition: opacity 1s;
    -o-transition: opacity 1s;
    transition: opacity 1s;
    position: absolute;
}
.custom-carousel-item.active{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.custom-carousel-item .carousel-text{
    max-height: 59.5rem;
    height: 100%;
    width: 100%;
    color: #ffffff;
}
.custom-carousel-item:nth-child(2n+1) .carousel-text{
    -ms-flex-item-align: end;
        align-self: flex-end;
}
.custom-carousel-item:nth-child(2n+1) .carousel-thumbnail{
    -ms-flex-item-align: start;
        align-self: flex-start;
}
.custom-carousel-item:nth-child(2n+2) .carousel-text{
    -ms-flex-item-align: end;
        align-self: flex-end;
}
.custom-carousel-item:nth-child(2n+2) .carousel-thumbnail{
    -ms-flex-item-align: start;
        align-self: flex-start;
}

.custom-carousel-item.animate .carousel-text{
    -webkit-animation: custom-carousel-slide 1s;
            animation: custom-carousel-slide 1s;
}
.custom-carousel-item:nth-child(2n+1) .carousel-text{
    background-color: var(--theme-black);
    text-align: right;
}
.custom-carousel-item:nth-child(2n+2) .carousel-text{
    background-color: var(--theme-btn-blue);
    text-align: left;
}
.carousel-thumbnail{
    display: none;
}
.carousel-thumbnail,
.carousel-text{
    max-width: 100%;
    overflow: hidden;
    background-color: #ffffff;
}
.custom-carousel-item .carousel-text h2{
    font-size: 3.75rem;
    color: #ffffff;
    font-weight: 700;
    margin-top: 0;
}
.carousel-text h3{
    font-size: 2rem;
    font-weight: 400;
}
.custom-carousel-item.animate .carousel-thumbnail{
    -webkit-animation: custom-carousel-zoom-out 1s;
            animation: custom-carousel-zoom-out 1s;
}


.home h2,
.about-us h3,
.about-us-sub-section h2,
.our-services h2{
    color: var(--theme-text-dark);
    font-size: 2.5rem;
    font-weight: 400;
}
.home h2{
    margin-top: 5rem;
}

.home p,
.about-us p,
.our-services .our-services-summary p,
.contact-us p{
    color: var(--theme-text-light);
    margin-top: 2rem;
    line-height: 1.9;
    font-size: 1.5rem;
}
.home .btn,
.about-us .btn,
.our-services .btn,
.contact-us .btn{
    height: 3.6rem;
    font-size: 1.3rem;
    border-radius: 0;
    width: 12rem;
    margin-top: 2.5rem;
}

.about-us-video-section .btn,
.our-services .btn,
.contact-us .btn{
    border-radius: .5rem;
}

.about-us-video-section{
    padding: 5rem 0 0;
}
.about-us-content{
    padding: 0 2rem 5rem;
}
.about-us-video-section h2,
.our-services h2{
    font-size: 2.3rem;
}
.about-us-video-section p{
    text-align: justify;
}
.about-us-video-section video{
    width: 100%;
    display: none;
}

.about-us-sub-section{
    background: url(img/doctor-bg.png) no-repeat, var(--theme-blue);
    background-size: 70rem auto;
    height: 80rem;
    width: 100%;
    color:  #ffffff;
}
.about-us-sub-content{
    margin-top: 5rem;
}
.about-us-sub-content h2{
    color: #ffffff;
    position: relative;
    margin-left: 5%;
}
.about-us-sub-content h2::before{
    content: "";
    display: block;
    position: absolute;
    left: -7%;
    height: 100%;
    width: .7rem;
    background-color: var(--theme-blue);
}
.about-us-sub-content p{
    color: #ffffff;
    margin-left: 5%;
}
.about-us-services{
    padding: 5rem 0 0 2rem;
}
.about-us-services h2{
    color: #ffffff;
    text-shadow: .5rem .5rem 1rem #33333342;
    font-size: 1.9rem;
}
.about-us-services ul{
    margin-top: 5rem;
    padding: 0 0 0 4rem;
}
.about-us-services ul li{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin-bottom: 2rem;
    text-shadow: .5rem .5rem 1rem #33333342 ;
    font-size: 1.6rem;
}
.about-us-services ul li .icon{
    width: 6rem;
}
.about-us-services ul li img{
    height: 3rem;
}

.our-services{
    margin-top: -6rem;
    padding-bottom: 7rem;
}
.our-services--services{
    margin-top: 4rem;
}
.our-services--services .icon{
    height: 8rem;
}
.our-services--services img{
    max-width: 5rem;
}
.our-services h3{
    color: var(--theme-text-dark);
    font-size: 1.7rem;
    font-weight: 700;
}
.our-services--services p{
    margin-top: 2rem;
    line-height: 1.7;
    font-size: 1.5rem;
}

.testimonials{
    background-color: var(--theme-black);
    color: #ffffff;
}
.testimonial-content{
    padding: 8rem 2rem;
}
.testimonial-content img{
    height: 3rem;
}
.testimonial-content h2 span{
    font-size: 1.9rem;
    text-transform: uppercase;
    font-weight: 400;
}
.testimonials blockquote{
    font-size: 1.6rem;
    font-style: italic;
    margin: 2rem 0 4rem;
    text-align: justify;
}
.testimonials h4{
    font-size: 2rem;
    font-weight: 700;
    color: var(--theme-btn-blue);
    line-height: 1;
}
.testimonials h5{
    font-size: 1.6rem;
    font-weight: 400;
}
.testimonial-image{
    width: 40rem;
    display: block;
    margin: 0 auto;
}
.carousel-control-prev,
.carousel-control-next{
    top: auto;
    bottom: 2rem;
}
.carousel-control-prev img,
.carousel-control-next img{
    height: 5rem;
}
.carousel-control-prev{
    left: 35%;
}
.carousel-control-next{
    right: 35%;
}
.team{
    max-height: auto;
}
.team img{
    position: relative;
    z-index: 1;
}
.slick-slide,
.slick-slide:active,
.slick-slide:focus,
.slick-arrow,
.slick-arrow:focus,
.slick-arrow:active{
    border: none;
    outline: none;
    background-color: transparent;
}
.slick-arrow{
    position: absolute;
    z-index: 2;
    top: 50%;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
}
.slick-arrow.slick-prev{
    left: 1%;
}
.slick-arrow.slick-next{
    right: 1%;
}
.slick-arrow img{
    width: 3rem;
}

.contact-us h2{
    font-size: 3rem;
    font-weight: 700;
}
.contact-content{
    padding: 5rem 2rem;
}
.contact-us .form-control{
    background-color: #e5e5e5;
    color: #000000;
    border: none;
    min-height: 4rem;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    padding: 1rem 2rem;
}
.contact-us .form-control:focus,
.contact-us .form-control:active{
    border: none !important;
    outline: none !important;
    -webkit-box-shadow: none !important;
            box-shadow: none !important;
}
.contact-us textarea.form-control{
    resize: none;
    min-height: 10rem;
    padding: 1.5rem 2rem;
}
footer{
    background-color: var(--theme-footer-bg);
    padding: 6rem 0;
    color: #fafafa;
    position: relative;
}
.footer-logo{
    width: 25rem;
}
footer p{
    margin: 3rem 0 5rem;
}
footer ul{
    list-style: none;
}
footer h3{
    color: #6d6e71;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}
footer ul li a,
footer ul li{
    color: #fafafa;
    font-size: 1.5rem;
    margin-bottom: .3em;
}
footer ul li a:hover{
    color: #ffffff;
}
footer .social{
    margin-bottom: 3rem;
}
footer .social img{
    height: 4rem;
    margin-right: 1rem;
}
footer .arrow-up{
    position: absolute;
    right: 5%;
    bottom: 5%;
    max-height: 6rem;
    cursor: pointer;
}
@-o-keyframes move-up-down{
    0%{
        bottom: 5rem;
    }
    50%{
        bottom: 2rem;
    }
    100%{
        bottom: 5rem;
    }
}
@-moz-keyframes move-up-down{
    0%{
        bottom: 5rem;
    }
    50%{
        bottom: 2rem;
    }
    100%{
        bottom: 5rem;
    }
}
@-webkit-keyframes move-up-down{
    0%{
        bottom: 5rem;
    }
    50%{
        bottom: 2rem;
    }
    100%{
        bottom: 5rem;
    }
}
@keyframes move-up-down{
    0%{
        bottom: 5rem;
    }
    50%{
        bottom: 2rem;
    }
    100%{
        bottom: 5rem;
    }
}

@-o-keyframes custom-carousel-slide{
    0%{
        height: 0;
    }
    100%{
        height: 100%;
    }
}
@-moz-keyframes custom-carousel-slide{
    0%{
        height: 0;
    }
    100%{
        height: 100%;
    }
}
@-webkit-keyframes custom-carousel-slide{
    0%{
        height: 0;
    }
    100%{
        height: 100%;
    }
}
@keyframes custom-carousel-slide{
    0%{
        height: 0;
    }
    100%{
        height: 100%;
    }
}

@-o-keyframes custom-carousel-zoom-out{
    0%{
        -webkit-transform: scale(1.05);
                transform: scale(1.05);
        height: 0;
    }
    100%{
        -webkit-transform: scale(1);
                transform: scale(1);
        height: 100%;
    }
}
@-moz-keyframes custom-carousel-zoom-out{
    0%{
        -webkit-transform: scale(1.05);
                transform: scale(1.05);
        height: 0;
    }
    100%{
        -webkit-transform: scale(1);
                transform: scale(1);
        height: 100%;
    }
}
@-webkit-keyframes custom-carousel-zoom-out{
    0%{
        -webkit-transform: scale(1.05);
                transform: scale(1.05);
        height: 0;
    }
    100%{
        -webkit-transform: scale(1);
                transform: scale(1);
        height: 100%;
    }
}
@keyframes custom-carousel-zoom-out{
    0%{
        -webkit-transform: scale(1.05);
                transform: scale(1.05);
        height: 0;
    }
    100%{
        -webkit-transform: scale(1);
                transform: scale(1);
        height: 100%;
    }
}
@media screen and (min-width: 500px){
    .about-us-sub-section{
        background: var(--theme-blue);
        height: auto;
        width: 100%;
        color:  #ffffff;
        padding: 5rem 0;
    }
    .about-us-services h2{
        text-shadow: none;
    }
    .about-us-sub-content h2,
    .about-us-sub-content p{
        margin-left: 0;
    }
    .tablet-img{
        max-width: 45rem;
    }
    .testimonial-image{
        margin: 2rem auto 0;
    }
    .team{
        max-height: 22rem;
        overflow-y: hidden;
    }
    .contact-us img{
        max-width: 50rem;
        display: block;
        margin: 2rem auto 0;
    }
    .carousel-thumbnail{
        display: block;
    }
    .carousel-thumbnail,
    .carousel-text{
        max-width: 50%;
    }
}
@media screen and (min-width: 768px){
    .carousel-control-prev{
        left: 38%;
    }
    .carousel-control-next{
        right: 38%;
    }
    .custom-carousel{
        height: 90vh;
        margin-bottom: 10rem;
        margin-top: 0;
    }
    .custom-carousel-item .carousel-text h2{
        font-size: 6rem;
    }
    .carousel-text h3{
        font-size: 3rem;
    }
}
@media screen and (min-width: 992px){
    .navbar{
        height: 8rem;
    }
    .navbar .nav-item{
        margin-right: 4rem;
        margin-top: 0;
    }
    .navbar .btn{
        margin-top: 0;
    }
    .home h2{
        margin-top: 0;
    }
    .home h2,
    .about-us h3,
    .about-us-sub-section h2,
    .our-services h2{
        font-size: 3rem;
    }
    .about-us-video-section{
        padding: 10rem 0 7rem;
    }
    .about-us-content{
        padding: 0 6rem 0 10rem;
    }
    .about-us-video-section video{
        display: block;
    }
    .our-services{
        margin-top: -8rem;
    }
    .our-services--services{
        margin-top: -10rem;
    }
    .testimonial-content{
        padding: 0 12rem 0 6rem;
    }
    
    .testimonials blockquote{
        font-size: 1.8rem;
    }
    .team{
        max-height: 28rem;
    }
    .carousel-control-prev,
    .carousel-control-next{
        top: auto;
        bottom: -3rem;
    }
    .carousel-item{
        padding: 5rem 0;
    }
    .contact-us h2{
        font-size: 4rem;
    }
    .contact-us img{
        max-width: 104%;
        margin: 0 auto;
        margin-left: -2%;
        display: inline;
    }
    .contact-content{
        padding: 0 7rem;
    }
    footer{
        padding: 10rem 0;
    }
    footer h3{
        font-size: 2.8rem;
    }
    .footer-logo{
        width: auto;
    }

    .carousel-text h2{
        font-size: 8rem;
        color: #ffffff;
        font-weight: 700;
    }
    .carousel-text h3{
        font-size: 4rem;
        font-weight: 400;
    }
}
@media screen and (min-width: 1140px){
    .carousel-thumbnail img{
        max-width: 100%;
    }
}
@media screen and (min-width: 1200px){
    .testimonial-image{
        max-width: 47rem;
        width: 100%;
        display: inline;
        margin: 0;
    }
    .carousel-control-prev{
        left: 3rem;
    }
    .carousel-control-next{
        right: auto;
        left: 9rem;
    }
    .carousel-control-prev,
    .carousel-control-next{
        top: auto;
        bottom: -6rem;
    }
}
@media screen and (min-width: 1290px){
    .about-us-sub-content{
        margin-top: 14rem;
    }
    .about-us-sub-section{
        background: url(img/doctor-bg.png) no-repeat, var(--theme-blue);
        background-size: 70% auto;
        height: 50rem;
    }
    .about-us-services h2{
        text-shadow: .5rem .5rem 1rem #33333342;
    }
    .about-us-sub-content h2{
        width: 65%;
        margin-left: 5%;
    }
    .about-us-sub-content h2::before{
        left: -10%;
    }
    .about-us-sub-content p{
        width: 70%;
        margin-left: 5%;
    }
    .about-us-sub-section{
        padding: 0;
    }
    .carousel-item{
        padding: 0;
    }
}
@media screen and (min-width: 1600px){
    html{
        font-size: 80%;
    }
    .container{
        max-width: 1500px;
    }
}
@media screen and (min-height:768px){
    .custom-carousel-inner{
        max-height: 85vh;
    }
    .custom-carousel-item .carousel-text{
        max-height: 100%;
    }
}