body {
    font-family: 'Roboto', sans-serif;
}
* {
    font-family: 'Noto Kufi Arabic', sans-serif;
}
:lang(ar) {
    font-family: 'Noto Kufi Arabic', sans-serif;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Kufi Arabic', sans-serif !important;
}
********* Template CSS *********
:root {
    --primary: #0463FA;
    --light: #EFF5FF;
    --dark: #1B2C51;
}
.fw-medium {
    font-weight: 500 !important;
}
.fw-bold {
    font-weight: 700 !important;
}
.fw-black {
    font-weight: 900 !important;
}
.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}
/*** 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;
}
/* HEADER */
.container-fluidd{
    display: inline-block;
height: 70px;
background-color:#2f3e57 ;
color: white;
width: 100%;
}
.subdiv-container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.subdiv-container .phone{
    width: 100%;
    height: 100%;
    margin-left: 10px;
    color: #ffffff; 
    font-weight: bold;
    display: flex;
    flex-wrap: nowrap;
    gap: 5px;
}
.subdiv-container .phone p{
   font-size: 8px;
   padding-top: 20px;
}
.subdiv-container .phone .ph-i{
  padding-top: 10px;
}
.subdiv-container .phone i {
font-size: 20px;
font-weight: bold;
background-color: white;
padding: 5px;
border-radius: 50%;
}
 .subdiv-container .switch{
    display: flex;
    align-items: center;
}
.subdiv-container .icons-social{
display: none;
margin-left: 30px;
}
.switch .address{
    display: none;
}
.clinic-name {
    margin-top: 20px;
    text-align: center;
}
@media (min-width: 354px) {
    .subdiv-container .phone p{
        font-size: 12px;
     }
}
@media (min-width: 576px) {
.subdiv-container .icons-social{
   display: inline-flex;
        align-items: center;
        margin-bottom: 3px;
}
.subdiv-container .subdiv{
    display: flex;
}
.subdiv-container .phone{
    width: 150px;
}
.subdiv-container .phone p{
    font-size: 14px;
}
.subdiv-container .switch{
    display: flex;
    align-items: center;
    width: 28%;
}
}
@media (min-width: 949px) {
    .switch .address{
        display: flex;
        margin-left: 40px;
        width: 100%;
        justify-content: right;
    }
    .subdiv-container .switch{
        display: flex;
        align-items: center;
        width: 100%;
    }
}
.switch .language{
    margin-right: 30px;
   }
/*** Header ***/
.header-carousel .owl-carousel-text {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 3rem;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 0 30px rgba(0, 0, 0, .1);
}
.header-carousel .owl-nav {
    position: absolute;
    width: 200px;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
}
.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}
.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}
.header-carousel .owl-dots {
    position: absolute;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 15px;
    transition: .5s;
}
.header-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 5px;
    height: 5px;
    top: 4px;
    left: 4px;
    background: #FFFFFF;
    border-radius: 5px;
}
.header-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}
.page-header {
    background: url(../img/header-page.jpg) top center no-repeat;
    background-size: cover;
    text-shadow: 0 0 30px rgba(0, 0, 0, .1);
}
.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}
/* NAV */
.navbar-brand img {
    margin-top: -25px;
}
.navbar{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    height: 160px;
}
.navbar-img img{
    width: 180px;
    height: 140px;
    display: none;
}
.navbar .title{
    text-align: center;
    font-family: "Noto Kufi Arabic", sans-serif;
    font-weight: bold;
    color: #517dc4;
    margin-left: 41px;
    width: 209px;
}
.navbar .titleAR{
    text-align: center;
    font-family: "Noto Kufi Arabic", sans-serif;
    font-weight: bold;
    color: #517dc4;
    margin-left: 41px;
}
.navbar .title h2{
   font-size: 16px;
   color: #517dc4;
   margin-bottom: 4px;
}
.navbar .title h3{
   font-size: 30px;
   color: #1f3c6b ;
     margin-bottom: 4px;
}
.navbar .titleAR h2{
   font-size: 15px;
   color: #517dc4;
   margin-bottom: 4px;
}
.navbar .titleAR h3{
   font-size: 23px;
   color: #1f3c6b ;
     margin-bottom: 4px;
}
 nav .lists {
display: block;
    width: 100%;
padding-left: 10px; 
padding-top: 10px;
}
 nav .lists ul{
display: flex;
flex-direction: column;
gap: 4px;
justify-content: center;
padding-left: 10px;
 }
 nav .listsAR {
display: block;
    width: 100%;
padding-top: 10px;
padding-right: 20px;
}
 nav .listsAR ul{
display: flex;
flex-direction: column-reverse;
align-items: end;
gap: 4px;
justify-content: center;
padding-left: 10px;
 }
.navbar .fa-menu{
    font-size: 31px;
}
.stick {
    position: relative; 
    width: 100%;
    z-index: 1000; 
}
.stick.fixed {
    position: fixed;
    top: 0%;
    width: 100%;
    background-color: #ffffff; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
}
.collapsible__content{
    max-height: 100vh;
    overflow: hidden;
    transition: max-height 0.6s ;
    justify-content: left;
   }
   .collapsible--expanded .collapsible__content{
    max-height: 0vh;
  }
  .nav__toggler{
    width: 10px;
    height: 40px;
    padding: 3px 28px;
    margin-left: -7px;
    cursor: pointer;
   opacity: 1;
    transition: opacity.3s ease 0.1s; 
  }
  .collapsible--expanded .nav__toggler{
    opacity: 0.5;
   }
   .divider-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: -45px;
}
   .divider-containerAR {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: -45px;
}
.navbar-divider {
    width: 70%;
    border-bottom: 2px solid #2f3e57;
    margin: 5px auto;
}
.navbar-dividerAR {
    width: 70%;
    border-bottom: 2px solid #2f3e57;
    margin: 5px auto;
}
.nav-item:hover .nav-link {
    color: blue !important;
}
.hover-color {
    color: #1f3c6b;
}
.hover-color:hover {
    color: #517dc4 !important;
}
.dropdown-menu .dropdown-item {
    font-weight: bold;
    font-size: 20px;
    text-align: left;
}
.dropdown-menu  .dropdown-itemAR{
    text-align: right;
}
   @media (min-width: 576px) {
    .navbar-img img{
        width: 178px;
        height: 140px;
        display: block;
        margin-right: -29px;
    }
    .navbar .title{
        width: 100%;
        margin-left: 0px;
    }
    .navbar .titleAR{
        width: 100%;
        margin-left: 0px;
    }
    .navbar .title h2{
       font-size: 22px; 
    }
    .navbar .title h3{
       font-size: 33px;
    }
    .navbar .titleAR h2{
       font-size: 16px; 
    }
    .navbar .titleAR h3{
       font-size: 23px; 
    }
   }
@media (min-width: 786px) {
    .collapsible__content{
        max-height: 100%;
    overflow: visible;
       }
       nav .lists ul{
        flex-direction: row;
        gap: 50px;
         }
       nav .listsAR ul{
        flex-direction: row;
        gap: 40px;
align-items: start;
         }
          .nav__toggler{
            visibility: hidden;
           }
           .subnav{
            background-color: rgb(255, 255, 255);
            height: 50px;
           }
            nav .lists {
            display: block;
             }
            nav .listsAR {
            display: block;
             }
             .navbar .title h2{
                font-size: 21px;    
             }
             .navbar .title h3{
                font-size: 36px;    
             }
             .navbar .titleAR h2{
                font-size: 17px;
               
             }
             .navbar .titleAR h3{
                font-size: 30px;     
             }
             .navbar-img img{
                width: 225px;
                height: 155px;
                display: block;
                margin-right: 0px;
            }
            .navbar .fa-menu{
          visibility: hidden;
        }
            .navbar{
              padding-right: 106px;
              } 
}
@media (min-width: 992px) {
    .navbar-img img{
        width: 275px;
        height: 165px;
        display: block;
        margin-right: 0px;
    }
    .navbar{
        padding-right: 196px;
        } 
    .navbar .titleAR h3 {
            font-size: 36px;
            }

}
/* VIDEO CONTAINER */
.video-wrapper {
    width: 95%;
   display: block;
   justify-content: center;
   margin: 0 auto;
}
.video-container {
    width: 100%;
    position: relative; 
}
.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}
@media (min-width:567px ) {
    .video-wrapper {
        width: 80%;  
    }
}
@media (min-width:768px ) {
    .video-wrapper {
        width: 70%;
    }
}
/* HERO */
.read-button{
    display: flex;
    justify-content: left;
    padding-left: 30px;
}
.aboutDR{
    text-align: right;
}
/*** Service ***/
.service-item {
    transition: .5s;
    margin:0 auto;
height: 100%;
width: 80%;
}
.service-item h4 p {
    margin-left: -10px;
}
.service-item:hover {
    margin-top: -10px;
    box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .08);
}
.service-item .btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    background: #FFFFFF;
    border-radius: 40px;
    white-space: nowrap;
    overflow: hidden;
    transition: .5s;
}
.service-item .btn span{
  margin-left: 10px;
}
.service-item:hover .btn {
    width: 140px;
}
.crl{
    display: grid;
    grid-template-columns: 1fr; 
    grid-auto-rows: 1fr; 
    gap: 20px;
}
@media (min-width: 576px) {
  
    .service-item {
        transition: .5s;
        margin:0 auto;
    height: 400px;
    width: 400px;
    }
}
@media (min-width: 768px) {
  
    .service-item {
       width: 600px;
    height: 400px;
    }
}
@media (min-width: 998px) {
    .service-item {
        width: 300px;
     height: 500px;
     }
    .crl{
        display: grid;
        grid-template-columns: repeat(3, 1fr); 
    }
}
.custom-pagination .carousel-indicators {
    display: flex;
    justify-content: center;
    padding-left: 0;
    list-style: none;
    margin: 0;
}
.custom-pagination .carousel-indicators button {
    background-color: black;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin: 0 5px;
}
.custom-pagination .carousel-indicators .active {
    background-color: #2f3e57;
}
.brain-link, .spine-link {
    text-decoration: none;
    color: inherit;
}
.brain-link:hover, .spine-link:hover {
    color: blue;
}
/* swiper */
.specific-container {
    background-color: #2f3e57;
    padding: 20px;
    height: 300px; 
    position: relative; 
}
.swiper-container {
    width: 100%;
    padding: 30px 0;
}
.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}
.swiper-pagination {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    margin: auto;
    display: flex;
    justify-content: center;
    z-index: 10;
}
.swiper-pagination-bullet {
    background-color: white;
    width: 15px;
    height: 15px;
    margin: 0 5px; 
}
.swiper-button-next,
.swiper-button-prev {
    position: absolute;
    top: 150px;
    transform: translateY(-50%);
    z-index: 10; 
    color:white; 
    font-size: 34px;
    font:bold;
}
.swiper-button-next {
    right: 20px;
}
.swiper-button-prev {
    left: 20px;
}
.circle-container {
    position: relative;
}
.circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
}
.circle img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}
.rectangle {
    width: 200px; 
    height: 100px; 
    border-radius: 10px; 
    overflow: hidden;
    margin: 10px;
    display: flex;
    align-items: center;
    justify-content: cover;
    background-color: white;
}
.rectangle img {
    width: 110%;
    height: 100%;
    object-fit: cover; 
}
.pill-container {
    position: absolute;
    bottom: -50px; 
    left: 50%;
    transform: translateX(-50%);
    width: 250px; /* Adjust the width as needed */
    height: 40px; /* Adjust the height as needed */
    border-radius: 20px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black; 
}
/* contact container */
.container-70 {
    width: 90%;
    margin: 50px auto;
}
.contact-container {
    display: flex;
    flex-direction: column;
    gap: 50px;
    justify-content: space-around;
    align-items: center;
    background-color: #2f3e57;
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}
.contact-box {
    display: flex;
    align-items: center;
    background-color: white;
    color: #2f3e57;
    padding: 10px;
    border-radius: 10px;
    width: 90%;
}
.contact-box .box{
    width: 100%;
}
.cont-icon{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
}
.contact-box .icon {
    font-size: 15px;
    background-color: white;
    border-radius: 50%;
    color: #2f3e57;
  margin-top: -10px;
  padding-left: 10px;
}
.contact-box div {
    width: 100%;
    text-align: center;
}
 .contact-box p {
    font-size: 13px;

}
.contact-box h5 {
    font-size: 15px;
}
.email-text {
    color: #517dc4;
    font-weight: bold;
    text-align: center;
    justify-content: center;
    margin-left: -15px;
}
.phone-text {
    color: #517dc4;
    margin-top: 0px;
    font-weight: bold;
}
@media (min-width:350px ) {
    .contact-box h5 {
        font-size: 18px;
    }
    .contact-box p {
    font-size: 13px;
    }
    .email-text {
     margin-left: 0px;
    }
}
@media (min-width:420px ) {
    .contact-box p {
    font-size: 15px;
    }
    .contact-box {
        width: 300px;
    }
}
@media (min-width:567px ) {
    .contact-box p {
    font-size: 15px;
    }
    .container-70 {
        width: 70%;
    }
}
@media (min-width:767px ) {
    .contact-box p {
    font-size: 18px;
    }
    .contact-container {
        flex-direction: row;
       max-width: 1000px;
       margin: 45px auto 0 auto;
       gap: 12%;
    }
    .container-70 {
        width: 90%;
    }
    .contact-box h5 {
        font-size: 21px;
    }
    .contact-box {
        width: 350px;
    }
}
@media (min-width:992px ) {
    .container-70 {
        width: 70%;
    }
}
/* map */
.map-container {
    width: 70%;
    height: 300px;
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(to right, rgb(153, 42, 42) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}
.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(to left, rgb(161, 94, 94) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}
@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}
@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}
.testimonial-carousel .owl-item .testimonial-text {
    background: var(--light);
    transform: scale(.8);
    transition: .5s;
}
.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary);
    transform: scale(1);
}

.testimonial-carousel .owl-item .testimonial-text *,
.testimonial-carousel .owl-item .testimonial-item img {
    transition: .5s;
}
.testimonial-carousel .owl-item{
max-height: 600px;}
.testimonial-carousel .owl-item.center .testimonial-text * {
    color: var(--light) !important;
}
.testimonial-carousel .owl-item.center .testimonial-item img {
    background: var(--primary) !important;
} 
.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}
.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}
.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--primary);
    font-size: 45px;
    transition: .5s;
}
.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}
/* footer */
.footer-bottom {
    text-align: center;
    padding: 10px 0;
    color: white;
    margin-top: 20px;
    position: relative;
}
.contact-section {
    text-align: left;
    padding-left: 30px;
    font-size: 15px;
}
.contact-sectionAR {
    text-align: right;
}
.contact-section h6 {
    margin-left: 12px;
}
.location-footer{
    display: flex;
    flex-direction: row;
    line-height: 1;
    gap: 5px;
    margin-left: -22px;
    font-size: 15px;
}
.location-footer i{
margin-top: 6px;
    
}
.location-footer .pA{
    line-height: 2;  
}
.location-footerAR{
    display: block;
    flex-direction: row;
    line-height: 1;
    gap: 5px;
    margin-left: -22px;
    font-size: 15px;
}
.location-footerAR i{
margin-top: 6px;
    
}
.location-footerAR .pA{
    line-height: 2;  
}
.textlight{
margin-left: 27px;
}
.footer-content {
    position: relative;
    z-index: 2;
    
}
.content-footer{
    display: flex;
    flex-direction: column;
    align-items: end;
}
@media (min-width:768px ) {
    .location-footer .pA{
        line-height: 1;  
    }
    .location-footer i{
        margin-top: 0px;
            
        }
        .location-footer{
            font-size: -5px;   
        }
}
@media (min-width:992px ) {
    .location-footer .pA{
        line-height: 1.5;  
    }
    .location-footer p{
        line-height: 5;  
    }
    .location-footer i{
        margin-top: -2px;      
        }
    .fa-map-marker-alt{
        padding-top: 7px;
    }
    .first-footer{
        width: 27%;
        padding: 0 0px;  
    }
    .second-footer{
        width: 27%;
        padding: 0 8px;
    }
    .third-footer{
        width: 18%;
        padding: 0 8px;
    }
    .all-footerAR{
margin-right: 0px; 
 }

}
.appoint{
    margin: 30px 0 -60px 0;
}
.arabic-spine{
    text-align: right;
}
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    transition: .3s;
}
.footer .btn.btn-social:hover {
    color: black;
}
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}
.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;

}
.footer .btn.btn-link:hover {
    color: #0d6efd;
    letter-spacing: 1px;
    box-shadow: none;
}
.footer .btn.btn-linkAR {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}
.footer .btn.btn-linkAR::after {
    position: relative;
    content: "\f104";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
margin-left: 10px;
}
.footer .btn.btn-linkAR:hover {
    color: #0d6efd;
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}
.footer .copyright a {
    color: var(--light);
}
.footer .copyright a:hover {
    color: var(--primary);
}
.all-footerAR{
    text-align: right;
    display: flex;
    flex-direction: row-reverse;

}
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 10%; /* Adjust the width to control the coverage */
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
  }
  .testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 10%; /* Adjust the width to control the coverage */
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
  }
.testimonial-carousel{
    width: 100%;
    height: 600px; /* Adjust height as needed */
    background: linear-gradient(to right, #2f3e57 50%, white 50%);
}
.testimonial-carouselB{
    width: 100%;
    height: 600px; /* Adjust height as needed */
    background: linear-gradient(to right, white 50%, #2f3e57 50%);
}
  .footer .owl-carousel .owl-item.active .testimonial-text {
    color: white !important;
  }
  hr {
    margin: 1rem 0;
    color: inherit;
    background-color: currentColor;
    border: 0;
    opacity: .25;
    width: 50%;
    justify-content: center;
    margin: 2em auto;
    height: 2px;
    background-color: black;
    border: none;
    justify-content: center;
    width: 70%;
}
@media (min-width: 450px) {
    .testimonial-carousel{
        height: 500px; /* Adjust height as needed */
    }
    .testimonial-carouselB{
        height: 500px; /* Adjust height as needed */
       
    }

}

  @media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
      width: 200px;
    }
    .testimonial-carousel{
        height: 600px; /* Adjust height as needed */
    }
    .testimonial-carouselB{
        height: 600px; /* Adjust height as needed */
       
    }
  }
  @media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
      width: 300px;

    }
    .testimonial-carousel{
        height: 430px; /* Adjust height as needed */
    }
    .testimonial-carouselB{
        height: 430px; /* Adjust height as needed */
       
    }
  }
  .testimonial-carousel .owl-item .testimonial-text {
    background: var(--light);
    transform: scale(.8);
    transition: .5s;
  }
  .testimonial-carousel .owl-item.center .testimonial-text {
    background: #2f3e57;
    transform: scale(1);
  }
  .testimonial-carousel .owl-item .testimonial-text *,
  .testimonial-carousel .owl-item .testimonial-item img {
    transition: .5s;
  }
  .testimonial-carousel .owl-item.center .testimonial-text * {
    color: var(--dark) !important;
  }
  .testimonial-carousel .owl-item.center .testimonial-item img {
    background: var(--dark) !important;
  } 
  .testimonial-carousel .owl-nav {
    position: absolute;
    width: 250px;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 1;
    transition: .5s;
    z-index: 2; /* Increased z-index to ensure it's above the overlays */
  }
  .testimonial-carousel:hover .owl-nav {
    width: 300px;
  }
  .testimonial-carousel .owl-nav .owl-prev,
  .testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: #556787;  /* Updated color */
    font-size: 45px;
    transition: .5s;
    z-index: 2; /* Increased z-index to ensure it's above the overlays */
  }
  .testimonial-carousel .owl-nav .owl-prev:hover,
  .testimonial-carousel .owl-nav .owl-next:hover {
    color: lightblue;  /* Updated hover color */
  }
  .owl-carousel .owl-item.active .testimonial-text p,
  .owl-carousel .owl-item.active .testimonial-text h5 {
    color: white !important;
  }
  .owl-carousel .owl-item.active .testimonial-text {
    color: white !important;
  }
  .testimonial-text {
    color: white; 
  }
  .testimonial-link {
    display: inline-block;
    border: 2px solid transparent;
    border-radius: 50px;
    padding: 15px 30px;
    margin-right: 20px;
    font-weight: bold;
    background-color: #2f3e57;
    color: white;
    font-size: 20px;
    text-decoration: none;
    transition: background-color 0.3s, border-color 0.3s;
    margin-top: 54px;
  }
 
  .testimonial-link:hover {
    background-color: #517dc4;
    color: #ffffff
}
  .footer {
    position: relative;
    overflow: hidden;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(47, 62, 87, 0.9);
    z-index: 1;
}
#background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    object-fit: cover;
}
.map-link {
    color: white;
    text-decoration: none;
    display:flex;
    flex-direction: row;
    justify-content: start;
    gap: 5px;

}
.map-link i {
    margin-left: 20px;
    vertical-align: middle;
}
.map-link span {
    vertical-align: middle;
}

.map-link:hover {
    color: #517dc4 !important;
}
.map-linkAR {
    color: white;
    text-decoration: none;
    display:flex;
    flex-direction: row;
    justify-content: end;
    margin-right: -15px;
    gap: 5px;
    margin-top: -7px;
}
.map-linkAR i {
    margin-left: 2px;
    vertical-align: middle;
}
.map-linkAR span {
    vertical-align: middle;
}
.map-linkAR:hover {
    color: #517dc4 !important;
}
.appointment-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #2f3e57;
    color: white;
    padding: 20px;
    border-radius: 10px;
    max-width: 1100px;
    margin: 20px auto 0 auto;
}
.appointment-containerAR {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #2f3e57;
    color: white;
    padding: 20px;
    border-radius: 10px;
    max-width: 1100px;
    margin: 20px auto 0 auto;
    text-align: right;
}
.appointment-box {
    background-color: #2f3e57;
    color: white;
    padding: 20px;
    border-radius: 10px;
    width: 100%;
}
.appointment-boxAR {
    background-color: #2f3e57;
    color: white;
    padding: 20px;
    border-radius: 10px;
    width: 100%;
}
.appointment-box h2 {
    color: white;
}
.appointment-boxAR h2 {
    color: white;
}
.linkapp{
    margin-top: -10px; 
    font-weight: bold;
     background-color: #2f3e57;
      color: black;
     font-size: 15px;
     width: 100%;
     max-width: 400px;
     transition: all 0.3s;
}
.linkapp:hover{
    background-color: #415a8b;
}
.linkapp a{
      color: white;
 
}
.inline-header {
    display: block;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 20px;
}
.inline-headerAR {
    display: block;
    align-items: center;
    justify-content: end;
    padding-bottom: 20px;
}
.inline-header h2 {
    margin: 0;
    font-size: 26px;
    padding: 10px;
    margin-right: 35px;
}
.inline-headerAR h2 {
    margin: 0;
    font-size: 26px;
    padding: 10px;
}
.inline-header p {
    margin: 0;
    font-size: 15px;
    color: white;
    padding-left: 10px;
}
.inline-headerAR p {
    margin: 0;
    font-size: 15px;
    color: white;
    padding-left: 10px;
}
.appointment-box input,
.appointment-box textarea,
.appointment-box button {
    margin-bottom: 0px;
}
.appointment-boxAR input,
.appointment-boxAR textarea,
.appointment-boxAR button {
    margin-bottom: 0px;
}
.appointment-box input,
.appointment-box textarea {
    width: 100%;
    height: 45px;
    padding: 10px;
    border-radius: 0;
    border: none;
}
.appointment-boxAR input,
.appointment-boxAR textarea {
    width: 100%;
    height: 45px;
    padding: 10px;
    border-radius: 0;
    border: none;
}
.appointment-box textarea {
    height: auto;
}
.appointment-box button {
    width: 100%;
    height: auto;
    padding: 10px;
    background-color: #517dc4;
    color: white;
    border: none;
    border-radius: 0;
    font-size: 18px;
}
.appointment-box button:hover {
    background-color: #415a8b;
}
.appointment-box {
    padding: 0px;
}
.appointment-boxAR textarea {
    height: auto;
}
.appointment-boxAR button {
    width: 100%;
    height: auto;
    padding: 10px;
    background-color: #517dc4;
    color: white;
    border: none;
    border-radius: 0;
    font-size: 18px;
}
.appointment-boxAR button:hover {
    background-color: #415a8b;
}
.appointment-boxAR {
    padding: 0px;
}
@media (min-width:567px ) {
    .inline-header {
        display: flex;  
    }
    .inline-headerAR {
        display: flex;
        flex-direction: row-reverse;
        justify-content: end;
         gap: 10px;
    }
    .linkapp{
         font-size: 20px;
    }
}
@media (min-width:768px ) {
    .inline-header {
        display: flex;
        
    }
    .inline-header p {
        margin: 0;
        font-size: 17px;
        color: white;
        padding-left: 30px;
    }
    .inline-headerAR {
        display: flex;
        
    }
    .inline-headerAR p {
        margin: 0;
        font-size: 17px;
        color: white;
        padding-left: 30px;
    }

}
@media (min-width:812px ) {
    .inline-headerAR {
        gap: 70px;

    }

}
/* about us */
.appointment-button {
    transition: background-color 0.3s, color 0.3s;
    background-color: #2f3e57;
    color: white;
    font-size: 20px;
    text-decoration: none;
    display: inline-block;
    border: 2px solid #2f3e57;
    padding: 10px 30px;
    border-radius: 30px;
    font-weight: bold;
}
.appointment-button:hover {
    background-color: #0047AB;
    color: #ffffff;
}
.btn-link::before {
    content: '\2190'; 
    margin-left: 8px; 
    display: inline-block;
    transform: rotate(180deg); 
}
/*** Appointment ***/
.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}
.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}
.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}
.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}
.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}
/*** Team ***/
.team-item img {
    position: relative;
    top: 0;
    transition: .5s;
}
.team-item:hover img {
    top: -30px;
}
.team-item .team-text {
    position: relative;
    height: 100px;
    transition: .5s;
}
.team-item:hover .team-text {
    margin-top: -60px;
    height: 160px;
}
.team-item .team-text .team-social {
    opacity: 0;
    transition: .5s;
}
.team-item:hover .team-text .team-social {
    opacity: 1;
}
.team-item .team-social .btn {
    display: inline-flex;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px;
}
.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}
@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
    }
    .feature-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}
@media (min-width: 1200px) {
    .feature-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}
@media (min-width: 1400px) {
    .feature-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}