
/*** Spinner Start ***/
/*** Spinner ***/
#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;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50%;
}

.btn.btn-primary {
    box-shadow: inset 0 0 0 0 var(--bs-primary);
}

.btn.btn-primary:hover {
    box-shadow: inset 300px 0 0 0 var(--bs-light) !important;
    color: var(--bs-primary) !important;
}

.btn.btn-light {
    box-shadow: inset 0 0 0 0 var(--bs-primary);
}

.btn.btn-light:hover {
    box-shadow: inset 300px 0 0 0 var(--bs-primary);
    color: var(--bs-light) !important;
}

.btn-hover {
    transition: 0.5s;
}

.btn-hover:hover {
    color: var(--bs-secondary) !important;
}

/*** Section Title Start ***/
.section-title {
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}

.section-title .sub-style {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.section-title .sub-style::before {
    content: "";
    width: 100px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-top: 8px;
    margin-left: -100px;
    border: 1px solid var(--bs-primary) !important;
}

.section-title .sub-style::after {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-bottom: 5px;
    margin-left: -50px;
    border: 1px solid var(--bs-primary) !important;
}

.sub-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.sub-title::before {
    content: "";
    width: 100px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-top: 8px;
    margin-right: -100px;
    border: 1px solid var(--bs-primary) !important;
}

.sub-title::after {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-bottom: 8px;
    margin-right: -50px;
    border: 1px solid var(--bs-primary) !important;
}


/*** Topbar Start ***/
.fixed-top .container {
    transition: 0.5s;
}

.topbar {
    padding: 2px 10px 2px 20px;
    background: var(--bs-primary) !important;
}

.topbar a,
.topbar a i {
    transition: 0.5s;
}

.topbar a:hover,
.topbar a i:hover {
    color: var(--bs-secondary) !important;
}


@media (max-width: 576px) {
    .topbar {
        display: none;    
    }
}
/*** Topbar End ***/


/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    font-family: 'Open Sans', sans-serif;
    position: relative;
    margin-right: 25px;
    padding: 35px 0;
    color: var(--bs-dark) !important;
    font-size: 16px;
    font-weight: 400;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark) !important;
}

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

.navbar-light .navbar-brand img {
    max-height: 50px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    transition: .5s;
    opacity: 1;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: var(--bs-white);
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 10px 20px;
        border: 1px solid var(--bs-primary);
        color: var(--bs-primary);
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--bs-dark) !important;
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
        z-index: 999;
    }
    
    .sticky-top.navbar-light {
        position: fixed;
        background: var(--bs-light) !important;
    }

    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--bs-primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: calc(100% - 2px);
        left: 1px;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }
}
/*** Carousel Hero Header Start ***/
.header-carousel {
    position: relative; 
}

.header-carousel .owl-nav .owl-prev {
    position: absolute;
    width: 70px;
    height: 70px;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: var(--bs-primary);
    color: var(--bs-white);
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-next {
    position: absolute;
    width: 70px;
    height: 70px;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: var(--bs-primary);
    color: var(--bs-white);
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 150px 0 0 0 var(--bs-light) !important;
    color: var(--bs-primary) !important;
}

@media (max-width: 576px) {
    .header-carousel .owl-nav .owl-prev,
    .header-carousel .owl-nav .owl-next {
        top: 630px;
        transition: 0.5s;
    }

    .header-carousel .header-carousel-item .carousel-caption .carousel-caption-content {
        width: 95% !important;
    }
 
}

.header-carousel .header-carousel-item,
.header-carousel .header-carousel-item img {
    position: relative;
    width: 100%;
    height: 700px;
    margin-top: 95px;
    display: block;
    object-fit: cover;
    transition: 0.5s;

}

@media (max-width: 992px) {
    .header-carousel .header-carousel-item,
    .header-carousel .header-carousel-item img {
        margin-top: 0;
        transition: 0.5s;
    }

}

@media (min-width: 992px) {
    .header-carousel .owl-nav .owl-prev,
    .header-carousel .owl-nav .owl-next {
        margin-top: 50px;
    }
}

.header-carousel .header-carousel-item .carousel-caption {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
}

.header-carousel .header-carousel-item .carousel-caption .carousel-caption-content {
    position: relative;
    width: 75%;
    
}
/*** Carousel Hero Header End ***/


/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/clinic-hall.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 160px 0 60px 0;
}

.bg-breadcrumb {
    background-position: center 62%;
}

.bg-breadcrumb--equipment {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/clinic-equipment.jpg);
    background-position: center 55%;
}

.bg-breadcrumb .breadcrumb-item a {
    color: var(--bs-white) !important;
}
/*** Single Page Hero Header End ***/


/*** Service Start ***/
.service .service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .2) ;
}

.service .service-item .service-img {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service .service-item .service-img img {
    transition: 0.5s;
}

.service .service-item .service-img::before {
    width: 100%;
    height: 0;
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    transition: 0.5s;
    z-index: 5;
    
}

.service .service-item:hover .service-img::before {
    height: 100%;
    background: rgba(21, 185, 217, .3);
}

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

.service .service-item .service-content {
    position: relative;
    z-index: 2;

}

.service .service-item .service-content::before {
    width: 100%;
    height: 8px;
    position: absolute;
    content: "";
    bottom: 0;
    left: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: rgba(21, 185, 217, .5);
    transition: 0.5s;
    z-index: 3;
}

.service .service-item:hover .service-content::before {
    background: rgba(21, 185, 217, .5);
    height: 100%;
}

.service .service-item .service-content .service-content-inner {
    transition: 0.5s;
}


.service .service-item:hover .service-content .service-content-inner {
    position: relative;
    color: var(--bs-white) !important;
    z-index: 9;
}
.service .service-item:hover .service-content .service-content-inner h5 {
    color: var(--bs-secondary);
}

/*** Service End ***/

/*** About Start ***/
.about .about-img {
    position: relative;
    overflow: hidden;
    height: 100%;
    border-radius: 10px;
}

.about .about-img .about-img-inner {
    position: absolute;
    left: 0; 
    bottom: 0; 
    border: 10px solid; 
    border-color: var(--bs-white) var(--bs-white) var(--bs-white) var(--bs-white);
    border-radius: 50%;
    width: 250px; /* was set by the 250px stock photo; now explicit so any image size fits */
    height: 250px;
    overflow: hidden;
}

.about .about-img .about-img-inner img {
    object-fit: cover;
}

.about .about-img .about-experience {
    position: absolute;
    top: 125px; 
    left: -125px; 
    transform: rotate(-90deg);
    background: transparent;
    color: var(--bs-primary);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 4px;
}

/*** About End ***/

/*** Feature Start ***/
.feature .feature-item {
    position: relative;
    display: flex;
    border: 1px solid var(--bs-primary);
    border-radius: 10px;
    background: var(--bs-light);
    transition: 0.5s;

}

.feature .feature-item::before {
    width: 0;
    height: 100%;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 10px;
    transition: 0.5s;
}

.feature .feature-item:hover::before {
    width: 100%;
    background: var(--bs-primary);
}

.feature .feature-item .feature-icon {
    display: inline-flex;
    border-radius: 10px;
    transition: 0.5s;
}

.feature .feature-item:hover .feature-icon {
    position: relative;
    z-index: 2;
}

.feature .feature-item:hover .feature-content {
    position: relative;
    color: var(--bs-white);
    z-index: 2;
}

.feature .feature-item:hover .feature-content h5 {
    color: var(--bs-dark);
}
/*** Feature End ***/


/*** Appointment Start ***/
.appointment {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url(../img/clinic-hall.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.appointment .appointment-form {
    background: rgba(239, 162, 134, 0.3);
}

.appointment .appointment-form .btn.btn-primary {
    box-shadow: inset 0 0 0 0 var(--bs-primary);
}

.appointment .appointment-form .btn.btn-primary:hover {
    box-shadow: inset 600px 0 0 0 var(--bs-light) !important;
    color: var(--bs-primary) !important;
}
/*** Youtube Video start ***/
.video {
    position: relative;
}

.video .btn-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-sizing: content-box;
    display: block;
    width: 33px;
    height: 44px;
    border-radius: 50%;
    transition: 0.5s;
    

}

.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 115px;
    height: 115px;
    background: var(--bs-primary);
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
    transition: 0.5s;
}

.video .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--bs-secondary);
    border-radius: 50%;
    transition: all 300ms;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 33px solid var(--bs-white);
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
    margin-left: 5px;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

#videoModal {
    z-index: 99999;
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #ffffff;
    background: #000000;
    opacity: 1;
}
/*** Youtube Video End ***/
/*** Appointment End ***/


/*** Team Start ***/
.team .team-item .team-img {
    position: relative;
    overflow: hidden;
}

.team .team-item .team-img::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    transition: 0.5s;
}

.team .team-item .team-img .team-icon {
    position: absolute;
    bottom: -125px;
    left: 50%;
    transform: translateX(-50%);
    transition: 0.5s;
}

.team .team-item .team-img:hover .team-icon {
    margin-bottom: 145px;
}

.team .team-item:hover .team-img::before {
    background: rgba(21, 185, 217, .3);
}

.team .team-item .team-content {
    color: var(--bs-primary);
    transition: 0.5s;
}

.team .team-item .team-content h5 {
    color: var(--bs-secondary);
    transition: 0.5s;
}

.team .team-item:hover .team-content h5 {
    color: var(--bs-dark);
}

.team .team-item:hover .team-content {
    background: var(--bs-primary);
    color: var(--bs-white);
}
/*** Team End ***/


/*** testimonial Start ***/
.testimonial {
    background: linear-gradient(rgba(21, 185, 217, 0.9), rgba(21, 185, 217, 0.9)), url(../img/clinic-equipment.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.testimonial .testimonial-item .testimonial-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 10px;
    background: transparent;
}

.testimonial .testimonial-item .testimonial-inner .testimonial-inner-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 5px solid var(--bs-white);
}

.testimonial .testimonial-carousel.owl-carousel {
    position: relative;
}

.testimonial .testimonial-carousel .owl-nav .owl-prev {
    position: absolute;
    top: 50%;
    left: -20px;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: var(--bs-light);
    color: var(--bs-primary);
    transition: 0.5s;
}

.testimonial .testimonial-carousel .owl-nav .owl-next {
    position: absolute;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: var(--bs-light);
    color: var(--bs-primary);
    transition: 0.5s;
}


.testimonial .testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial .testimonial-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 100px 0 0 0 var(--bs-primary) !important;
    color: var(--bs-white) !important;
}


@media (max-width: 900px) {
    .testimonial .testimonial-carousel .owl-nav .owl-prev {
        margin-top: -190px;
        margin-left: 40px;
    }

    .testimonial .testimonial-carousel .owl-nav .owl-next {
        margin-top: -190px;
        margin-right: 40px;
    }
    
}

.testimonial-carousel .owl-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 15px;
    border: 1px solid var(--bs-white);
    background: transparent;
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 20px;
    height: 20px;
    background: var(--bs-secondary) !important;
}

.testimonial-carousel .owl-dots .owl-dot span {
    position: relative;
    margin-top: 50%;
    margin-left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dots .owl-dot span::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 1px;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bs-white);
}

.testimonial .testimonial-carousel .testimonial-item .testimonial-inner p.fs-7 {
    transition: 0.5s;
}

@media (min-width: 900px) {
    .testimonial .testimonial-carousel .testimonial-item .testimonial-inner p.fs-7 {
        font-size: 20px;
    }
}


/* Testimonial Section Title Start */
.testimonial .section-title {
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}

.testimonial .section-title .sub-style {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.testimonial .section-title .sub-style::before {
    content: "";
    width: 100px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-top: 8px;
    margin-left: -100px;
    border: 1px solid var(--bs-white) !important;
}

.testimonial .section-title .sub-style::after {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-bottom: 5px;
    margin-left: -50px;
    border: 1px solid var(--bs-white) !important;
}

.testimonial .section-title .sub-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.testimonial .section-title .sub-title::before {
    content: "";
    width: 100px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-top: 8px;
    margin-right: -100px;
    border: 1px solid var(--bs-white) !important;
}

.testimonial .section-title .sub-title::after {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-bottom: 8px;
    margin-right: -50px;
    border: 1px solid var(--bs-white) !important;
}
/*** Testimonial End ***/


/*** Blog Start ***/
.blog .blog-item .blog-img {
    position: relative;
    overflow: hidden;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}

.blog .blog-item .blog-img::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    transition: 0.5s;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

.blog .blog-item .blog-img:hover img {
    transform: scale(1.3);
}

.blog .blog-item:hover .blog-img::after {
    background: rgba(21, 185, 217, .5);
}

.blog .blog-item .blog-centent {
    background: var(--bs-light);
    border: 1px solid var(--bs-primary);
    border-top: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
/*** Blog End ***/


/*** Contact Start ***/
.contact {
    background: linear-gradient(rgba(21, 185, 217, 0.9), rgba(21, 185, 217, 0.9)), url(../img/clinic-equipment.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}


.contact .contact-form .btn.btn-light {
    box-shadow: inset 0 0 0 0 var(--bs-primary);
}

.contact .contact-form .btn.btn-light:hover {
    box-shadow: inset 600px 0 0 0 var(--bs-primary) !important;
    color: var(--bs-white) !important;
}

.contact .contact-form .form-floating input,
.contact .contact-form .form-floating textarea,
.contact .contact-form .form-floating label {
    color: var(--bs-light);
}



/* Testimonial Section Title Start */
.contact .section-title {
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}

.contact .section-title .sub-style {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.contact .section-title .sub-style::before {
    content: "";
    width: 100px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-top: 8px;
    margin-left: -100px;
    border: 1px solid var(--bs-white) !important;
}

.contact .section-title .sub-style::after {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-bottom: 5px;
    margin-left: -50px;
    border: 1px solid var(--bs-white) !important;
}

.contact .section-title .sub-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.contact .section-title .sub-title::before {
    content: "";
    width: 100px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-top: 8px;
    margin-right: -100px;
    border: 1px solid var(--bs-white) !important;
}

.contact .section-title .sub-title::after {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-bottom: 8px;
    margin-right: -50px;
    border: 1px solid var(--bs-white) !important;
}
/*** Contact End ***/


/*** Footer Start ***/
.footer {
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)), url(../img/clinic-hall.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.footer .footer-item a {
    line-height: 35px;
    color: var(--bs-body);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 35px;
}

.footer .footer-item a:hover {
    letter-spacing: 2px;
    color: var(--bs-primary);
}

/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    background: var(--bs-dark) !important;
}
/*** copyright end ***/

/*** PhysiomY Rehab logo palette ***/
:root {
    --bs-primary: #0b8587;
    --bs-primary-rgb: 11, 133, 135;
    --bs-secondary: #70c64a;
    --bs-secondary-rgb: 112, 198, 74;
    --bs-light: #f4f8f6;
    --bs-light-rgb: 244, 248, 246;
    --bs-dark: #183b3a;
    --bs-dark-rgb: 24, 59, 58;
    --dark: #183b3a;
    --bs-body-color: #536765;
}

body {
    color: #536765;
    background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6,
.navbar-light .navbar-nav .nav-link,
.sticky-top.navbar-light .navbar-nav .nav-link {
    color: #183b3a;
}

/* Keep the page's existing sections and spacing while using white as the base. */
.testimonial,
.contact {
    background: #ffffff;
    color: #536765;
}

.testimonial h1, .testimonial h2, .testimonial h3,
.testimonial h4, .testimonial h5, .testimonial h6,
.contact h1, .contact h2, .contact h3,
.contact h4, .contact h5, .contact h6 {
    color: #183b3a;
}

.testimonial .section-title .sub-style,
.testimonial .section-title .sub-title,
.contact .section-title .sub-style,
.contact .section-title .sub-title {
    color: #0b8587;
}

.testimonial .section-title .sub-style::before,
.testimonial .section-title .sub-style::after,
.testimonial .section-title .sub-title::before,
.testimonial .section-title .sub-title::after,
.contact .section-title .sub-style::before,
.contact .section-title .sub-style::after,
.contact .section-title .sub-title::before,
.contact .section-title .sub-title::after {
    border-color: #0b8587 !important;
}

.testimonial .testimonial-carousel .owl-nav .owl-prev,
.testimonial .testimonial-carousel .owl-nav .owl-next {
    background: #f4f8f6;
    color: #0b8587;
}

.testimonial-carousel .owl-dots .owl-dot {
    border-color: #0b8587;
}

.testimonial-carousel .owl-dots .owl-dot span::after {
    background: #0b8587;
}

.contact .contact-form .form-floating input,
.contact .contact-form .form-floating textarea,
.contact .contact-form .form-floating label {
    color: #536765;
}

.footer {
    background: #f4f8f6;
    color: #536765;
}

.footer h1, .footer h2, .footer h3, .footer h4, .footer h5, .footer h6,
.footer .footer-item a,
.footer .text-white,
.footer .text-light {
    color: #183b3a !important;
}

.footer .footer-item a:hover {
    color: #0b8587 !important;
}

.copyright {
    background: #183b3a !important;
}

.service .service-item:hover .service-img::before,
.team .team-item:hover .team-img::before {
    background: rgba(11, 133, 135, .22);
}

.service .service-item .service-content::before,
.service .service-item:hover .service-content::before {
    background: rgba(11, 133, 135, .28);
}

.team .team-item:hover .team-content h5 {
    color: #ffffff;
}

.blog .blog-item:hover .blog-img::after {
    background: rgba(11, 133, 135, .25);
}

.appointment .appointment-form .btn.btn-primary:hover {
    color: #0b8587 !important;
}

/* Button fills, borders, and hover states use the same teal and green accents. */
.btn-primary,
.btn-primary:visited {
    color: #ffffff;
    background-color: #0b8587;
    border-color: #0b8587;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    color: #183b3a !important;
    background-color: #f4f8f6 !important;
    border-color: #70c64a !important;
}

.btn-secondary,
.btn-secondary:visited {
    color: #183b3a;
    background-color: #70c64a;
    border-color: #70c64a;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
    color: #ffffff !important;
    background-color: #0b8587 !important;
    border-color: #0b8587 !important;
}

.btn-outline-primary {
    color: #0b8587;
    border-color: #0b8587;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    color: #ffffff !important;
    background-color: #0b8587 !important;
    border-color: #0b8587 !important;
}

.btn-light {
    color: #0b8587;
    background-color: #f4f8f6;
    border-color: #f4f8f6;
}

.btn.btn-light:hover {
    color: #ffffff !important;
    background-color: #0b8587 !important;
    border-color: #0b8587 !important;
}

.video .btn-play:before {
    background: rgba(11, 133, 135, .35);
}

.video .btn-play:after {
    background: #70c64a;
}

/*** Video Showcase ***/
.video-showcase {
    background: #ffffff;
}

.video-gallery {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
}

.video-gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 9 / 16;
    border-radius: 10px;
    background: #183b3a;
    color: #ffffff;
}

.video-gallery-item img,
.video-gallery-item video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.video-gallery-item:hover img,
.video-gallery-item:hover video,
.video-gallery-item:focus-visible img,
.video-gallery-item:focus-visible video {
    transform: scale(1.06);
}

.video-gallery-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(24, 59, 58, .04) 35%, rgba(24, 59, 58, .82) 100%);
}

.video-gallery-play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: rgba(11, 133, 135, .92);
    color: #ffffff;
    transition: background .25s ease, transform .25s ease;
}

.video-gallery-item:hover .video-gallery-play,
.video-gallery-item:focus-visible .video-gallery-play {
    background: #70c64a;
    transform: translate(-50%, -50%) scale(1.08);
}

.video-gallery-caption {
    position: absolute;
    right: 16px;
    bottom: 18px;
    left: 16px;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
}

@media (max-width: 991.98px) {
    .video-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .video-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .video-gallery-caption {
        right: 8px;
        bottom: 12px;
        left: 8px;
        font-size: .95rem;
    }
}
/*** Logo palette end ***/

/*** Coimbatore SEO Landing Page ***/
.landing-hero {
    padding: 145px 0 75px;
    background-image: linear-gradient(90deg, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .84) 48%, rgba(244, 248, 246, .78) 100%), url("../img/clinic-hall.jpg");
    background-position: center, center 42%;
    background-size: cover;
}

.landing-eyebrow {
    color: #0b8587;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.landing-hero h1 {
    color: #183b3a;
    max-width: 760px;
}

#landing-booking,
#home-booking {
    scroll-margin-top: 100px; /* keep the card's top edge clear of the sticky navbar */
}

.landing-booking-card.is-highlighted,
.appointment-form.is-highlighted {
    animation: landing-booking-pulse 0.9s ease-in-out 3;
}

@keyframes landing-booking-pulse {
    0%, 100% {
        box-shadow: 0 12px 36px rgba(24, 59, 58, .1);
        border-color: rgba(11, 133, 135, .12);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(11, 133, 135, .35), 0 12px 36px rgba(24, 59, 58, .18);
        border-color: #0b8587;
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing-booking-card.is-highlighted,
    .appointment-form.is-highlighted {
        animation: none;
        box-shadow: 0 0 0 6px rgba(11, 133, 135, .35);
        border-color: #0b8587;
    }
}

@media (min-width: 992px) {
    .landing-hero-copy {
        margin-top: -60px;
    }
}

.landing-intro {
    max-width: 700px;
    color: #536765;
    font-size: 1.1rem;
    line-height: 1.75;
}

.landing-location-note {
    color: #536765;
}

.landing-booking-card,
.landing-hours-card {
    border: 1px solid rgba(11, 133, 135, .12);
    border-radius: 14px;
    background: #f4f8f6;
    box-shadow: 0 12px 36px rgba(24, 59, 58, .1);
}

.landing-booking-card h2,
.landing-hours-card h3 {
    color: #183b3a;
}

.landing-booking-card .form-control,
.landing-booking-card .form-select {
    border-color: rgba(11, 133, 135, .22);
    background-color: #ffffff;
    color: #183b3a;
}

.landing-booking-card small {
    color: #536765;
    line-height: 1.5;
}

.landing-areas,
.landing-clinicians,
.landing-faq {
    background: #f4f8f6;
}

.landing-process {
    background: #ffffff;
}

.landing-process-card {
    border: 1px solid rgba(11, 133, 135, .14);
    border-radius: 12px;
    background: #f4f8f6;
}

.landing-process-card > span {
    color: #0b8587;
    font-size: 1.7rem;
    font-weight: 700;
}

.landing-process-card h3 {
    color: #183b3a;
}

.landing-treatment-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.landing-treatment {
    display: flex;
    min-height: 82px;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(11, 133, 135, .1);
    border-radius: 10px;
    background: #ffffff;
    color: #183b3a;
    font-weight: 600;
}

.landing-treatment i {
    color: #0b8587;
    font-size: 1.2rem;
}

.landing-clinician-card {
    border: 1px solid rgba(11, 133, 135, .12);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 8px 28px rgba(24, 59, 58, .08);
}

.landing-clinician-icon {
    display: inline-flex;
    width: 54px;
    height: 54px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(11, 133, 135, .1);
    color: #0b8587;
    font-size: 1.35rem;
}

.landing-clinic address {
    color: #536765;
    font-style: normal;
    line-height: 1.8;
}

.landing-hours-card strong {
    color: #183b3a;
}

.landing-faq-list {
    max-width: 940px;
    margin: 0 auto;
}

.landing-faq-list details {
    margin-bottom: 12px;
    padding: 20px 24px;
    border: 1px solid rgba(11, 133, 135, .14);
    border-radius: 10px;
    background: #ffffff;
}

.landing-faq-list summary {
    color: #183b3a;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 600;
}

.landing-faq-list details p {
    margin: 14px 0 0;
    color: #536765;
    line-height: 1.7;
}

.testimonial .text-white {
    color: #183b3a !important;
}

@media (max-width: 991.98px) {
    .landing-hero {
        padding: 45px 0 55px;
    }
}

@media (max-width: 575.98px) {
    .landing-treatment-grid {
        grid-template-columns: 1fr;
    }

    .landing-faq-list details {
        padding: 17px 18px;
    }
}
/*** Coimbatore SEO Landing Page End ***/

/*** Footer link hover / contact column fixes ***/
.footer .footer-item a:hover {
    letter-spacing: normal; /* letter-spacing on hover re-wrapped long lines and shifted the layout */
    transform: translateX(3px);
}

/* icon stays put and wrapped text lines up after it, instead of running under the icon */
.footer .footer-item a:not(.btn) {
    display: flex;
    align-items: flex-start;
}

.footer .footer-item a:not(.btn) i {
    flex: 0 0 auto;
    line-height: 35px;
}

/* keep the email on one line; it may use a little of the column gutter */
.footer .footer-contact a[href^="mailto:"] {
    white-space: nowrap;
    font-size: .92rem;
}

/*** Footer link hover / contact column fixes End ***/

/*** Video modal ***/
button.video-gallery-item {
    width: 100%;
    padding: 0;
    border: 0;
    cursor: pointer;
}

.video-modal-dialog {
    max-width: 440px;
}

#videoModalPlayer {
    max-height: 80vh;
    background: #000;
}
/*** Video modal End ***/

/*** Service cards: equal height ***/
.service .service-item {
    display: flex;
    flex-direction: column;
}

.service .service-item .service-content {
    flex: 1 1 auto;
}
/*** Service cards: equal height End ***/

/*** Equal-height card grids ***/
/* one grid per section so every card matches the tallest, across rows as well */
.feature .row.g-4,
.service .row.g-4 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 1.5rem;
    margin: 0;
}

.feature .row.g-4 > *,
.service .row.g-4 > * {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
}

@media (max-width: 991.98px) {
    .feature .row.g-4,
    .service .row.g-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .feature .row.g-4,
    .service .row.g-4 {
        grid-template-columns: 1fr;
    }
}
/*** Equal-height card grids End ***/

/*** Review cards ***/
/* equal-height cards in the carousel, no avatar photos */
.testimonial .testimonial-carousel .owl-stage {
    display: flex;
}

.testimonial .testimonial-carousel .owl-item {
    display: flex;
}

.testimonial .testimonial-carousel .testimonial-item {
    display: flex;
    width: 100%;
}

.testimonial .testimonial-carousel .testimonial-item .testimonial-inner {
    width: 100%;
}

.testimonial .testimonial-quote {
    opacity: .75;
}
/*** Review cards End ***/
