/********** Template CSS **********/
:root {
    --primary: #00b6c6;
    --secondary: #005f6c;
    --light: #EEF9FF;
    --dark: #091E3E;
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
    color: var(--secondary) !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;
}

.text-primary{
    color: var(--primary) !important;
}

.bg-primary{
    background-color: var(--primary) !important;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF !important;
}

.w-full{
    width: 100%;
}

.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
}
.btn-secondary {
    background: var(--secondary);
    border-color: var(--secondary);
}

.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;
}
.text-dark{
    color: var(--secondary) !important;
}
.bg-dark{
    color: var(--secondary) !important;
}
#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(--secondary);
    transform: skew(40deg);
}
.help-sec .accordion-button:not(.collapsed){
    background-color: var(--secondary) !important;
    box-shadow: none !important;
    color: #ffffff !important;
}

.help-sec .accordion-header{
    border:1px solid var(--secondary) !important;
}
/* Navbar  dropdown items */
.navbar-nav .dropdown-item{
    padding: 8px 14px;
    text-decoration: none;
    color: #333333;
    transition: background-color .4s .2s,color .3s .1s; 
}
.navbar-nav .dropdown-item:hover{
    transition:  0.4s ease;
    color: #fff;
    background-color: var(--secondary);
}

.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);
}
#header-carousel .carousel-item{
    height: 580px;
}
.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    background-color: var(--primary);
}
.marquee {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 25s linear infinite;
}
@keyframes marquee{
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}
@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
    }
    #header-carousel .carousel-item{
        height: 100%;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(9, 30, 62, .65);
    z-index: 1;
}
.timing-sec{
    background: url(../img/pattern.png) center center, var(--primary);
}
.price-item img{
    height: 250px;
    object-fit: cover;
}
@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
    .remove-margin {
        margin-top: 0px;
    }
}

.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: 0px;
        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(#00b5c677, #00b5c678), url(../img/carousel-1.webp) center center no-repeat;
    background-size: cover;
}

.bg-appointment {
    background: linear-gradient(#00606cb3, #00606cb3), url(../img/physiotherapist.webp) center center no-repeat;
    background-size: cover;
}

.appointment-form {
    background: #00b5c6ad;
}
.ser-slider{
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--secondary);
    padding: 15px;
}
.ser-slider .owl-nav {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.ser-slider .owl-nav > div{
    background-color: var(--secondary);
    color: var(--light);
    padding: 10px;
    
}
.ser-slider .owl-nav > div:nth-child(1){
    border-radius: 0px 5px 5px 0px;
}
.ser-slider .owl-nav > div:nth-child(2){
    border-radius: 5px 0px 0px 5px;
}
.ser-slider img{
    height: 470px;
    object-fit: cover;
    border-radius: 10px !important;
}
.conditions img{
    height: 200px;
    object-fit: cover;
}
.treatment img{
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
}
.service-item img,
.service-item .bg-light,
.service-item .bg-light h5,
.team-item .team-text {
    transition: .5s;

}
.service-item .service-text{
    height: 100%;
    z-index: 1;
}
.service-item{
    position: relative;
    overflow: hidden;
    background: linear-gradient(-45deg, #00606c27, #00606c08, #ffffff);
}
.team-item{
    position: relative;
    overflow: hidden;
    background: linear-gradient(-45deg, #00606c27, #00606c08, #ffffff);
    border: 1px solid var(--secondary);
    padding: 10px;
    height: 100%;
}


.service-item:hover img {
    transform: scale(1.15);
}
.ser-sec .ser-img{
    height: 250px;
}
.ser-sec .ser-img img{
    height: 100%;
    object-fit: cover;
}
.ser-sec .service-item{
    display: block;
    border: 1px solid var(--secondary);
    padding: 10px;

}
.review-box{
    box-shadow: inset 0px 5px 0px var(--dark), 0px 5px 7px #e6e6e6;
}
.paymenticon{
    height: 100%;
    display: flex;
    align-items: center;
}
.paymenticon img{
    width: 50px;
}
.reviews{
    background: url(../assets/site_images/review-bg.png) no-repeat center / cover;
}
.locations iframe{
line-height: 0;
}
.locations .border{
    box-shadow: inset 0px 5px 0px var(--dark) !important;
}
.map-sec iframe{
    line-height: 0;
    }
.map-sec .branch-carousel img{
    height: 300px;
    object-fit: cover;
    }
.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;
}

.bg-offer {
    background:url(../img/carousel-1.webp) 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);
}

/* ************Testinomial section**************** */
.bg-testimonial {
    background: url(../img/appointment-bg.png) center center no-repeat;
    background-size: cover;
    position: relative;
}
.bg-testimonial::before{
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    background-color: var(--secondary);
}
.testimonial-carousel {
    background: #00606cb3;
}

.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;
}



/* *************services detail pages********** */
#features {
    padding: 50px 0;
    min-height: 100vh;
}
#features {
    background: #fff;
}

#features .content-left .text {
    text-align: right;
}

#features .box-item {
    box-shadow: 0 0 12px #f4f4f4;
    padding: 15px;
    line-height: 22px;
    margin-top: 30px;
    border-radius: 3px;
    background-color: #fff;
    -webkit-transition: all .3s ease-in-out;
    -mox-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    position: relative;
    top: 0;
}

#features .box-item .text h4 {
    color: var(--primary);
    cursor: pointer;
    font-size: 18px;
    font-weight: 500;
    line-height: 22px;
    -webkit-transition: all .2s linear;
    -moz-transition: all .2s linear;
    -o-transition: all .2s linear;
    transition: all .2s linear
}

#features .box-item .text p {
    font-size: 14px;
    line-height: 26px;
}

#features .box-item:hover {
    box-shadow: 0 10px 22px 10px rgba(27, 38, 49, .1);
}

#features .box-item:hover h4 {
    color: var(--secondary);
}

#features .show-box {
    margin-top: 50px;
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
}

#features img{
    margin-top: 30%;
    display: block;
    width: 100%; /* Ensures the image is responsive */
    height: auto;
    filter: drop-shadow(6px 6px 6px rgba(0, 0, 0, 0.5));
}

/* Media query for small screens (up to 768px wide, typical mobile devices) */
@media (max-width: 768px) {
    #features .show-box {
        margin-top: 15px; /* Adjust margin-top for smaller screens */
    }

    #features img {
        margin-top: 0; 
        margin-bottom: 0;/* Reset margin-top for the image on smaller screens */
    }
}



/**************blog-slider home page section ************/
.blogs-sec .card{
    border-radius: 5px;
}
.blogs-sec .card .card-body{
    height: 210px;
   
}
.blogs-sec .card p{
    height: 85px;
    overflow: hidden;
   
}
.blogs .blog-item{
    overflow: hidden;
    border: 1px solid rgb(222, 222, 222);
    border-radius: 10px;
    box-shadow: 0px 5px 12px rgba(141, 137, 137, 0.25);
}

.blogs .blog-item img,
.blogs .blog-item .card-title {
    transition: 0.4s all;
}

.blogs .blog-item:hover img {
    transform: scale(1.1);
    filter: brightness(70%);
}

.blogs .blog-item:hover .card-title {
    color: var(--secondary);
}


.blogs .blog-carousel {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}


 .blog-carousel .owl-item {
    height: 100%; /* Set each carousel item to 100% height */
}

@media (min-width: 576px) {
   .blogs .blog-carousel {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

.blogs  .owl-nav {
    position: absolute;
    width: 100%;
    height: 40px;
    top: calc(50% - 20px);
    left: 0;
    display: flex !important;
    justify-content: space-between;
    z-index: 1;
}

.blog-carousel .owl-nav .owl-prev,
.blog-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;
}

.blog-carousel .owl-nav .owl-prev:hover,
.blog-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}

/* *****************'Listing blogs section************** */
.listing .blog-item{
    border: 1px solid rgb(222, 222, 222);
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0px 5px 12px rgba(141, 137, 137, 0.25);
}

.listing .blog-item img,
.listing .blog-item .card-title {
    transition: 0.4s all;
}

.listing .blog-item:hover img {
    transform: scale(1.2);
    filter: brightness(70%);
}

.listing .blog-item:hover .card-title {
    color: var(--secondary);
}



.listing-pagination .page-item .page-link {
    border: 0;
    margin: 0 10px;
    width: 36px;
    text-align: center;
    color: var(--primary);
}

.listing-pagination .page-item:nth-child(1) .page-link,
.listing-pagination .page-item:nth-last-child(1) .page-link {
    background-color: var(--primary);
    color: #ffffff;
    border-radius: 50px;
}

.listing-pagination .active {
    background-color: var(--primary) !important;
    color: #ffffff !important;
    border-radius: 50px;
}


/* **************************** */

