 
.testmonial-slider {
    position: relative;
    padding-bottom: 70px;
}
.testmonial-slider {
    margin: 0 -10px;
}

.testmonial-slider .slick-slide {
    padding: 0 10px;
}
/* Both arrows */
.testmonial-slider .slick-arrow {
    position: absolute;
    top: auto;
    bottom: 0;
    width: 46px;
    height: 46px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transform: none;
    border: 1px solid #0badc4;
    background: #fff;
    color: #0badc4;
    border-radius: 50%;
    z-index: 5;
    box-shadow: 0px 6px 37px 0px rgb(4 56 114 / 23%);
}

/* Previous */
.testmonial-slider .slick-prev {
    right: 50%;
    margin-right: -55px;
}

/* Next */
.testmonial-slider .slick-next {
    left: 50%;
    margin-left: -55px;
}

/* Icons */
.testmonial-slider .slick-arrow i {
    font-size: 18px;
}

/* Hover */
.testmonial-slider .slick-arrow:hover {
    background: #0badc4;
    color: #fff;
    border-color: #0badc4;
}

/* Remove default slick pseudo icons */
.testmonial-slider .slick-prev:before,
.testmonial-slider .slick-next:before {
    display: none;
}
 





.offers-section .title-area-two p {
    max-width: 650px;
    margin: 15px auto 40px;
    color: #777;
}


/* Offer Card */
.offer-card {
    height: 100%;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e8eeee;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.10);
}


/* Image */
.offer-image {
    position: relative;
    height: 230px;
    overflow: hidden;
}

.offer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.offer-card:hover .offer-image img {
    transform: scale(1.06);
}


/* Discount */
.offer-badge {
    position: absolute;
    top: 18px;
    left: 18px;

    background: #e74c3c;
    color: #fff;

    padding: 7px 14px;
    border-radius: 30px;

    font-size: 14px;
    font-weight: 700;
}


/* Content */
.offer-content {
    padding: 25px;
}

.offer-category {
    color: #16a085;
    font-size: 14px;
    font-weight: 600;
}

.offer-content h3 {
    margin: 0px 0 12px;
    font-size: 22px;
    font-weight: 700;
    /* color: #01a0b5; */
}

.offer-content p {
    color: #696767;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 18px;
}


/* Price */
.offer-price {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.offer-price del {
    color: #999;
    font-size: 15px;
}

.offer-price strong {
    color: #01a0b5;
    font-size: 22px;
    font-weight: 700;
}


/* Button */
.offer-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #0badc4;
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.offer-btn:hover {
    background: #043872;
    color: #fff;
}

/* =========================================
   Doctor Profile Card
========================================= */
.profile-card {
    position: relative;
    background: #fff;
    border-radius: 18px;
    border: 1px solid #eee;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
    transition: all 0.4s ease;
    margin-bottom: 25px;
    overflow: hidden;
}

.profile-card:hover {
    border-color: #0badc4;
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(11, 173, 196, 0.15);
}
 
.profile-image {
    width: 100%;
    height: 310px;
    overflow: hidden;
    background: #f5f5f5;
    border-radius: 18px 18px 0 0;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.profile-card:hover .profile-image img {
    transform: scale(1.05);
}
 

.profile-name {
    position: relative;
    padding: 22px 18px 22px;
    background: #fff;
    text-align: center;
}
 

.profile-name::before {
    content: "";
    position: absolute;
    top: 0;
    right: 50%;

    width: 50px;
    height: 2px;

    transform: translateX(-50%);

    background: #0badc4;

    transition: width 0.4s ease;
}

.profile-card:hover .profile-name::before {
    width: 90px;
}
 
 .doctor-name {
    margin: 0 0 14px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

.doctor-name a {
    color: #222;
    text-decoration: none;
    transition: color 0.3s ease;
}

.profile-card:hover .doctor-name a {
    color: #0badc4;
}
 
.doctor-details-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    gap: 10px;

    margin-bottom: 10px;

    text-align: left;
}
 
.doctor-specialty {
    display: flex;
    align-items: center;

    gap: 6px;

    color: #0badc4;

    font-size: 13px;
    font-weight: 500;

    min-width: 0;
    flex: 1;
}

.doctor-specialty i {
    flex-shrink: 0;
    color: #0badc4;
    font-size: 14px;
}

.doctor-specialty span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
 
.doctor-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #05336e;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.doctor-rating .star {
    color: #f5b50a;
    font-size: 14px;
}
 
.doctor-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #777;
    font-size: 14px;
    min-width: 0;
    flex: 1;
}

.doctor-location i {
    flex-shrink: 0;

    color: #0badc4;

    font-size: 14px;
}

.doctor-location span {
    overflow: hidden;

    white-space: nowrap;

    text-overflow: ellipsis;
}
 
.doctor-price {
    display: flex;
    align-items: center;

    gap: 5px;

    margin: 0;

    white-space: nowrap;
}

.doctor-price i {
    color: #0badc4;
    font-size: 14px;
}

.doctor-price strong {
    color: #05336e;
    font-size: 18px;
    font-weight: 700;
}

.doctor-price span {
    color: #777;

    font-size: 12px;
}
 
.booking-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 8px;
    margin-top: 17px;
    padding: 11px 18px;
    background: #0badc4;
    color: #fff;
    border-radius: 20px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.booking-btn:hover {
    background: #078fa3;
    color: #fff;

    transform: translateY(-2px);

    box-shadow: 0 8px 20px rgba(11, 173, 196, 0.25);
}

.booking-btn i {
    font-size: 15px;
}
.nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.spec-icon {
    width: 45px;
    height: 45px;
    min-width: 40px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e5e5;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.imgspec {
    width: 25px;
    height: 25px;
    object-fit: contain;
    /* filter: brightness(0) saturate(100%) invert(55%) sepia(97%) saturate(1933%) hue-rotate(147deg) brightness(95%) contrast(92%); */
}
/* =========================================
   Mobile
========================================= */

@media (max-width: 767px) {

    .profile-card {
        margin-bottom: 30px;
        border-radius: 16px;
    }

    .profile-image {
        height: 325px;
        border-radius: 16px 16px 0 0;
    }

    .profile-name {
        padding: 20px 15px 22px;
    }

    .doctor-name {
        font-size: 19px;
    }

    .doctor-details-row {
        gap: 8px;
    }

    .doctor-specialty,
    .doctor-location {
        font-size: 12px;
    }

    .doctor-specialty i,
    .doctor-location i {
        font-size: 13px;
    }

    .doctor-rating {
        font-size: 12px;
    }

    .doctor-rating .star {
        font-size: 13px;
    }

    .doctor-price strong {
        font-size: 17px;
    }

    .doctor-price span {
        font-size: 11px;
    }

    .booking-btn {
        padding: 10px 15px;
        font-size: 13px;
    }
}


/* =========================================
   Small Mobile
========================================= */

@media (max-width: 400px) {

    .profile-image {
        height: 290px;
    }

    .profile-name {
        padding: 20px 12px;
    }

    .doctor-details-row {
        gap: 5px;
    }

    .doctor-specialty,
    .doctor-location {
        font-size: 13px;
    }

    .doctor-price {
        gap: 3px;
    }

    .doctor-price strong {
        font-size: 16px;
    }

    .doctor-price span {
        font-size: 11px;
    }
}
.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover {
    background: #0badc4;
    color: #fff;
    border: 1px solid;
    font-weight: 500;
} 
 
.nav-tabs {
    display: flex;
    justify-content: center;
}
.nav-tabs {
    display: flex;
    flex-wrap: nowrap;       
    overflow-x: auto;        
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    justify-content: flex-start;   
            overflow-y: hidden;
        /* background: chocolate; */
        padding: 10px 0px;
}
.nav-tabs::-webkit-scrollbar {
    display: none;            
}

.nav-tabs .nav-item {
    flex: 0 0 auto;           
}
.nav-tabs .nav-link {
     background: #ffffff;
     border-radius: 30px;
     border: 1px solid #0badc4;
     padding: 7px 20px;
     padding-right: 9px;
}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: #ffffff;
    background-color: #fff;
    background: #0badc4;
    border-radius: 30px;
    border: 1px solid #0badc4;
    padding: 7px 20px;
    padding-right: 9px;
    font-weight: 500;
}.nav-tabs {
    border-bottom: 0px solid #dee2e6;
    margin-bottom: 25px;
}
.profile-doctor {
    box-shadow: 0 20px 45px rgb(0 0 0 / 0%) !important;
}

















.head-top-links a svg{
    fill: var(--white-color) !important;
 }
 .head-top-links a svg:hover
 {
    fill: var(--theme-color) !important;
 }
.logoimg {
    width: 120px;
}
  
.vs-hero-wrapper .ls-slide-backgrounds::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
    background: linear-gradient(90deg, rgb(0 160 180 / 52%) 0%, rgb(0 160 180 / 44%) 35%, rgba(0, 160, 180, 0.20) 65%, rgba(0, 160, 180, 0) 100%);
}
 .logoimgfoot {
    width: 145px;
}
 .text-theme2{color: var(--white-color);display: flex;}
 .text-theme2:hover {
    color: var(--theme-color) !important;
}
 .clr {
    color: var(--theme-color);
}
 



.gallery-images {
    display: flex;
    gap: 15px;
    width: 100%;
    height: 485px;
}

.big-image {
    width: 65%;
    height: 100%;
}

.two-images {
    width: 35%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.big-image img,
.two-images div,
.two-images img {
    width: 100%;
    height: 100%;
}

.big-image img,
.two-images img {
    display: block;
    object-fit: cover;
    background: #f5f5f5;
    border-radius: 8px;
}
.pfright {
    margin-left: 20px;
}
/* Tablet */
@media (max-width: 991px) {
    .gallery-images {
        height: 260px;
    }
}

/* Mobile */
@media (max-width: 575px) {
    .gallery-images {
        height: 230px;
        gap: 8px;
    }

    .big-image {
        width: 60%;
    }

    .two-images {
        width: 40%;
        gap: 8px;
    }
}

 .about-img {
    height: 600px !important;
    object-fit: cover;
}
.app-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 175px;
    padding: 13px 18px;
    border-radius: 10px;
    color: #fff !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.app-download-btn i {
    font-size: 30px;
}

.app-download-btn span {
    display: flex;
    flex-direction: column;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.1;
}

.app-download-btn small {
    font-size: 10px;
    font-weight: 400;
    margin-bottom: 3px;
}

.app-store-btn,
.google-play-btn {
    background: #032c57;
}

.app-store-btn:hover,
.google-play-btn:hover {
    background: #017586;
    color: #fff;
    transform: translateY(-3px);
}
  
.project-shape::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #27477d;
    opacity: .8;
}hr.custom-divider {
    width: 50%;
    margin: 0px auto;
    height: 2px !important;
    border: none;
    background: radial-gradient(circle, #0badc4 0%, #043872 40%, transparent 80%);
}
.text-theme1 {
    color: #0badc4 !important;
}

.media-1 {
    background-color: var(--white-color);
    padding: 20px 20px 10px 25px;
    border-radius: 20px;
    -webkit-box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.03);
    box-shadow: 0 0 30px 0 rgb(0 0 0 / 9%);
    text-align: center;
}
.media-1 .media-icon {
    font-size: 32px;
    color: var(--theme-color);
    margin-bottom: 20px;
}.media-1 .media-title {
    font-size: 20px;
    text-transform: capitalize;
    margin: 0 0 15px 0;
    font-weight: 700;
    line-height: 1;
    color: var(--title-color);
}
 .pch-fnt {
    font-size: 18px;
    color: #777777;
}
.header-btn1 {
    position: relative;
    margin-right: calc(28px - var(--bs-gutter-x));
    padding-right: 18px;
}
.header-btn1:before {
    content: "";
    position: absolute;
}
.header-btn1:before {
    content: "";
    position: absolute;
    width: 2px;
    height: 20px;
    background-color: #0badc469;
    right: 0;
    top: 50%;
    margin-top: -9px;
}
.sideimg {
    width: 180px;
}
 
::-webkit-scrollbar {
  width: 3px;
  height: 3px;
}

::-webkit-scrollbar-thumb {
  background-color: #00a0b3;
  border-radius: 1px
}

::-webkit-scrollbar-track {
  box-shadow: inset 0 0 3px grey;
  border-radius: 1px
}
.whats:hover {
  background: #151515;
  color: #ffffff;
}
.whats {
  position: fixed;
  bottom: 125px;
  left: 10px;
  width: 50px;
  height: 50px;
  color: #ffffff;
  font-size: 30px;
  line-height: 50px;
  text-align: center;
  z-index: 100;
  cursor: pointer;
  background: #28a745;
  /* display: none; */
  border-radius: 50%;
  -webkit-transition: all 300ms ease;
  -moz-transition: all 300ms ease;
  -ms-transition: all 300ms ease;
  -o-transition: all 300ms ease;
  transition: all 300ms ease;
  box-shadow: 0 0 0 0 #25d366;
  -webkit-animation: pulse 1.5s infinite;
}@keyframes pulse {
  0% {
      transform: scaleX(1);
  }

  50% {
      transform: scale3d(1.05,1.05,1.05);
      box-shadow: 0 0 0 15px #baffd4;
  }

  to {
      transform: scaleX(1);
      box-shadow: 0 0 0 0 #25d366;
  }
}
 .blog-one__shape-2 {
    right: 0px;
    top: 0;
    content: "";
    position: absolute;
    width: 90px;
    height: 100%;
    background: #0badc4;
    filter: blur(150px);
    z-index: -1;
    opacity: .35;
}
 .blog-one__shape-1 {
    left: 0px;
    top: 0;
    content: "";
    position: absolute;
    width: 90px;
    height: 100%;
    background: #0badc4;
    filter: blur(150px);
    z-index: -1;
    opacity: .35;
}
.breadcumb1::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #ffffff;
    opacity: .55;
}
.cr {
    color: var(--body-color);
}
.media-2 {
    background-color: var(--white-color);
    padding: 7px 20px 2px 25px;
    border-radius: 20px;
    -webkit-box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.03);
    box-shadow: 0 0 30px 0 rgb(0 0 0 / 5%);
    margin-bottom: 20px;
}
.cont iframe {
     border: 1px solid #0badc4;
    border-radius: 20px;
    padding: 10px;
    height: 420px;
}
.hclr{color: #0badc4;}
.backgroundfr{background: linear-gradient(135deg, #01a0b50d 0%, #0798aa17 100%);}

 

 .servd-img {
    height: 450px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 20px;
}
.contact__two-single-info {
    padding: 25px 30px 25px 30px;
    border-radius: 20px;
    box-shadow: 0 0px 20px 0px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    text-align: center;
    min-height: 240px;
    background: #fff;
}
.contact__two-single-info h4 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #0badc4;
    text-transform: capitalize;
}.read-more-text {
    max-height: 9.5em;
    overflow: hidden;
    position: relative;
    transition: max-height 0.3s ease;
    margin-bottom: 10px;
    margin-top: 10px;
}.read-more-btn {
    background: none;
    border: none;
    color: #053973;
    cursor: pointer;
    padding: 0;
    font-weight: bold;
    /* margin-top: 10px; */
    text-transform: capitalize;
 }.read-more-text.expanded {
  max-height: 1000px;  
}
.active-menu {
    color: var(--theme-color) !important;
}
  
 .font-weight {
    font-weight: 600;
}.bg-title {
  background-color: #043872 !important;
  background: linear-gradient(
    90deg,
    #043872 0%,
    #06457a 50%,
    #08718c 100%
  ) !important;
}

.df{
    position: absolute;
    right: 50%;
    bottom: 0;
    margin: 0 0 -24px -25px;
    z-index: 9;
    }
  .icon-btn1 i {
    display: inline-block;
     line-height: 45px;
     font-size: 19px;
}
.header-1:before {
    content: "";
    position: absolute;
    width: 2px;
    height: 20px;
    background-color: #0badc469;
    right: 0;
    top: 50%;
    margin-top: -9px;
}
.header-1 {
    position: relative;
     padding-right: 18px;
}
 
.rounded-3 {
    border-radius: 15px !important;
}
.member-details-img img{height: 600px;
    object-fit: cover;}
 
.langmob{display: block;
    position: relative;
    padding: 15px 0;
    line-height: 1;
    font-size: 16px;
    text-transform: capitalize;
    color: var(--title-color);}
 .imgbac {
     filter: brightness(0) saturate(100%) invert(55%) sepia(97%) saturate(1933%) hue-rotate(147deg) brightness(95%) contrast(92%);
     width: 50px;
     margin-bottom: -7px;
  }
 .app-store-btn{
    background: #017586; 
}
.app-store-btn:hover{
    background: #032c57; 
}


@media (-webkit-min-device-pixel-ratio: 1.5),
       (min-resolution: 1.5dppx) {

    /* CSS */

}
  

@media (-webkit-min-device-pixel-ratio: 1.75),
       (min-resolution: 1.75dppx) {

     /* CSS */

}





    @media (min-width: 0px) and (max-width: 991px)
{
.logoimg {
    width: 100px;
}
    .slick-arrow {
        --arrow-horizontal: 2px;
    }
.sideimg {
    width: 130px;
}
 .flex-direction {
    flex-direction: column-reverse;
}
.mb-40 {
    margin-bottom: 20px;
}
.app-download-btn {
     min-width: 141px;
     padding: 12px 10px;
}
.bg-box-shape2 {
     opacity: .27;
}
    .breadcumb-wrapper {
        padding-top: 70px;
        text-align: center;
        padding-bottom: 70px;
        margin-bottom: 0;
    }

.title-area-two {
    margin-bottom: 30px;
}
    .vs-accordion.two .accordion-item .accordion-header .accordion-button {
        padding-left: 78px;
        font-size: 19px;
    }
.footer-layout1 .widget-area {
        padding-top: 25px;
        padding-bottom: 5px;
    }
.service-thumb .sr-img img
  {
     height: 235px;
    border-radius: 20px;
}
.vs-project-box .project-img {
     height: 255px;
 }
.vs-project-box {
     padding-bottom: 25px;
}
.blog-single .blog-img img {
     height: 280px; 
}
.blog-single .blog-title {
      font-size: 19px;
}
.cont iframe {
    height: 300px;
    margin-top: -30px;
}
.member-details-img img {
    height: 400px;
 }
.blog-card .blog-img img {
     height: 230px;
 }
.about-img {
    height: 300px !important;
 }
.service-thumb {
    margin-bottom: 0px;
}
.service-thumb .sr-body {
   bottom: 38px;padding: 18px 17px 18px 18px;
}
    .nav-tabs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 8px;
        justify-content: flex-start;
        overflow-y: hidden;
        padding: 10px 0px;
    }
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
     padding: 7px 10px;
     padding-right: 9px;
}
.nav-tabs .nav-link {
    padding: 7px 10px;
     padding-right: 9px;
}
.sec-testmon {
    color: #ffffff;
    margin: 7px 0 10px 0;
}
.testi-box1 {
    padding: 20px 20px; 
}
.testi-box1 .testi-name {
    font-size: 17px;}
.pt-80 {
  padding-top: 30px;
}

.pb-80 {
  padding-bottom: 30px;
}
.offer-content h3 {
    font-size: 20px; 
}
.offer-content {
    padding: 18px;
}
.testi-author .testi-avater {
    width: 53px;
    height: 55px;
    min-width: 55px; 
}
.pb-50 {
    padding-bottom: 30px;
}.pb-60 {
  padding-bottom: 30px;
}

}
    
/* Rounded style2/style3 selects: Bootstrap's validation state adds a second background icon that
   lands on top of the text (worst in RTL). Keep only the arrow and show the state with the border. */
.form-select.style2.is-invalid, .form-select.style3.is-invalid,
.form-select.style2.is-valid, .form-select.style3.is-valid {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3E%3C/svg%3E");
    background-size: 16px 12px;
    background-position: left 1.25rem center;
}
.form-select.style2.is-invalid, .form-select.style3.is-invalid,
.form-control.style2.is-invalid, .form-control.style3.is-invalid {
    border-color: #dc3545;
}

/* RTL: the page-title banner photo has its subject on the right, where Arabic titles start.
   Mirror the banner and flip its content back so the text reads normally on the clear side. */
.breadcumb-wrapper {
    transform: scaleX(-1);
}
.breadcumb-wrapper > .container {
    transform: scaleX(-1);
}

/* Patient notification bell in the site header */
.site-notification-bell .bell-count {
    position: absolute;
    top: -4px;
    inset-inline-end: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 9px;
    background: #dc3545;
    color: #fff;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
}
.site-notification-bell .dropdown-toggle::after,
.site-notification-bell > a::after {
    display: none;
}
.site-notification-bell .bell-menu {
    width: 320px;
    max-height: 420px;
    overflow-y: auto;
}
.site-notification-bell .bell-item {
    white-space: normal;
    border-bottom: 1px solid #f1f1f1;
    padding: 10px 14px;
}

/* Popup search (RTL): style-rtl.css moved the box to right: 50% but kept translateX(-50%),
   which pushed the overlay and the form off-center. Shift them the other way instead. */
.popup-search-box {
    -webkit-transform: translateX(50%);
            transform: translateX(50%);
}
.popup-search-box form {
    -webkit-transform: translate(50%, -50%) scale(0);
            transform: translate(50%, -50%) scale(0);
}
.popup-search-box.show form {
    -webkit-transform: translate(50%, -50%) scale(1);
            transform: translate(50%, -50%) scale(1);
}
.popup-search-box form input {
    direction: rtl;
    text-align: right;
    padding-right: 30px;
    padding-left: 90px;
}
.popup-search-box form button[type="submit"] {
    right: auto;
    left: 12px;
}

/* "Why Choose" section: bg-shape-2 behind the whole section (the template's .bg-box-shape2
   only covers the area below a 545px shape). isolation keeps the z-index: -1 layer above the page background. */
.why-choose-section {
    position: relative;
    isolation: isolate;
}
.why-choose-section .bg-box-shape2 {
    top: 0;
    height: 100%;
    background-size: cover;
    background-position: center;
}

/* Google logo on testimonials copied from Google reviews. */
.testi-box1 .testi-google {
    position: absolute;
    top: 18px;
    left: 18px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}
.testi-box1 .testi-google + .testi-text {
    padding-inline-end: 44px;
}

/* style-rtl.css centres with right: 50% but still shifts by translate(-50%), which pushes the
   element off-centre (same issue as the search popup). */
.position-center {
    -webkit-transform: translate(50%, -50%);
            transform: translate(50%, -50%);
}

/* Site search results page. */
.site-search-form {
    display: flex;
    gap: 12px;
    max-width: 760px;
    margin-inline: auto;
}
.site-search-form .form-control {
    height: 56px;
    border-radius: 30px;
    padding-inline: 24px;
    border: 2px solid var(--theme-color);
}
.site-search-form .vs-btn {
    flex-shrink: 0;
    border-radius: 30px;
}
.site-search-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.site-search-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 30px;
    background: #f1fbfd;
    color: var(--title-color);
    border: 1px solid #d6f3f8;
}
.site-search-chip span {
    background: var(--theme-color);
    color: #fff;
    border-radius: 20px;
    padding: 0 8px;
    font-size: 13px;
}
.site-search-group {
    margin-bottom: 40px;
}
.site-search-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    height: 100%;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e8eef3;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .04);
    color: var(--title-color);
}
.site-search-item:hover {
    border-color: var(--theme-color);
}
.site-search-item img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
}
.site-search-item strong {
    display: block;
}
.site-search-item small {
    color: #7b8794;
}
@media (max-width: 575px) {
    .site-search-form {
        flex-direction: column;
    }
}
