.text-justify {
  text-align: justify;
}

.specialized-title {
  padding-top: 2rem;
}

.specilaized-para {
  padding-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--primary-color);
}

.about {
  padding-bottom: 25%;
}

#about,
#medical,
#doctors {
  scroll-margin-top: 4rem;
}

#contactUs {
  scroll-margin-top: 4rem;
}

#virual {
  scroll-margin-top: 7rem !important;
}

/* Virtual tour section styling with horizontal split background */
.virtual-tour-section {
  position: relative;
  width: 100%;
  margin: 0;
  /* padding: 3rem 0; */
  overflow: hidden;
}

.virtual-tour-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background-color: #fff;
  z-index: -1;
}

.virtual-tour-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background-color: var(--soft-white);
  z-index: -1;
}

.iframe-content{
  width: 50%;
  position: relative;
  padding-top: 28.125%;
  margin-inline: auto;
}
.iframe-content iframe{
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
}
@media (max-width:767.98px ) {
    .iframe-content {
        width: 90%;
        height: 200px;
    }
}
.height-150{
  height: 150px;
  overflow-y: scroll;
}

.tour {
  position: absolute;
  inset-inline-start: 50%;
  top: 50%;
  transform: translate(-50%, 10%);
  margin-top: 4rem;
  z-index: 1;
}

.service {
  background-color: var(--soft-white);
}

.service-icon {
  width: 4.125rem;
}

.card {
  border: 1px solid #fff;
}

.card-img-top {
  border-top-right-radius: 0.5rem !important;
  border-top-left-radius: 0.5rem !important;
  border-radius: 0 !important;
}

.card-text {
  line-height: 1.5rem;
  font-size: 0.85rem;
}

/*-------------------------------------------*/

.medical .splide__track {
  padding: 0rem !important;
  padding-right: 0rem !important;
  padding-bottom: 1rem !important;
}



.splide-progress-container {
  display: flex;
  align-items: center;
  padding-bottom: 2rem !important;
  margin-top: 0rem;
  gap: 0.5rem;
}

html[dir="rtl"] .splide-progress-container {
  display: flex;
  align-items: center;
  margin-top: 1rem;
  padding-inline-start: 1rem !important;
}

.splide-progress {
  background: #e0e0e0;
  height: 6px;
  width: 100%;
  border-radius: 5px;
  overflow: hidden;
  flex-grow: 1;
  text-align: end;
}

html[dir="rtl"] .splide-progress {
  background: #e0e0e0;
  height: 6px;
  border-radius: 5px;
  overflow: hidden;
  flex-grow: 1;
  text-align: end;
  margin-inline-end: 0.7rem !important;
}

.splide-progress-bar {
  background: var(--primary-color);
  height: 100%;
  width: 0%;
  transition: width 0.5s ease;
}

/* Custom style for arrows */
.splide__arrow {
  display: flex;
  justify-content: center;
  background-color: white;
  color: var(--primary-color) !important;
  border: 2px solid var(--primary-color);
  padding: 0px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 1.125rem !important;
  font-weight: 600;
  position: relative !important;
  transform: translateY(0);
  opacity: 1;
}

.splide__arrow--prev {
  position: absolute;
  inset-inline-start: 0;
}

.splide__arrow--next {
  position: absolute;
  inset-inline-start: -2%;
}

.splide__arrow:hover {
  background-color: var(--primary-color);
  color: white !important;
}

[dir="ltr"] select {
  background-position: right 0.75rem center;
}

[dir="rtl"] select {
  background-position: left 0.75rem center;
}
/*------------------- specialized center -------------*/
.is-visible .hospitals-specialized-center {
  box-shadow: 0 4px 10px rgba(182, 182, 182, 0.25) !important;
}

/*-------------------- select button ------------------*/
.dropdown {
  width: 96%;
}
.select-btn {
  background-color: transparent;
  color: var(--primary-color);
  border-radius: 50px;
  text-decoration: none;
  border: #211f5f 1px solid;
  transition: all 0.5s ease-in-out;
  margin-top: 2rem;
  opacity: 70%;
  padding: 1rem 3rem;
}

/* .form-select {
  color: var(--primary-color);
  background-image: var(--bs-form-select-bg-img),
    var(--bs-form-select-bg-icon, none);
} */

.dropdown-toggle::after {
  display: none;
}
.dropdown-btn {
  position: absolute;
  bottom: 37%;
  inset-inline-end: 4%;
}

.dropdown .dropdown-menu{
    z-index: 1;
}

.arabic-version .dropdown-item{
    text-align: start;
}

/* .Rehabilitation-icon img{
  width: 94% !important;
} */

.custom-shadow {
  box-shadow: 0 0 0 !important;
}

/*------------------------ contact info ---------------------*/
.contact-container {
  display: flex;
  /* width: 100%; */
  /* gap: 1rem; */
}

.contact-title {
  width: 83%;
}

.contact-numbers {
  width: 43.2%;
  padding: 2rem 0;

}


.phone-icon {
  width: 1.5rem;
}

.contact-info-rectangle {
  border: 1px solid #211f5f33;
  border-radius: 0.5rem;
  padding: 10px 20px;
  flex-wrap: wrap;
  width: 83%;
}

.small-number {
  padding-inline-end: 6rem;
}

.postal-code {
  padding-inline-end: 5.5rem;
}

.stethoscope {
  width: 1.5em !important;
  position: absolute;
  top: 20%;
  inset-inline-start: 3%;
  opacity: 0.5;
}

.select-width {
  width: 30%;
}

select option:disabled {
  color: rgba(33, 31, 95, 0.5) !important;
}

.form-select {
  padding: 0.6rem 3.5rem;
  border-radius: 2.5rem;
  border: 1px solid rgba(33, 31, 95, 0.5);
  color: rgba(33, 31, 95, 0.5);
  background-size: 1.125rem;
  font-size: 0.85rem;
  --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23211f5f' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
}
.arabic-version .form-select {
    background-position: 4% center;
    text-align: right !important;
}
.form-select:focus {
  box-shadow: 0 0 0;
  outline: none;
  border-color: #211f5f;
}

select::placeholder {
  color: rgba(33, 31, 95, 0.5);
}

select option {
  color: #211f5f !important;
}
/*------------------------ google map -------------------*/
.map-container {
  width: 56.7%;
  height: 30rem;
  position: relative;
  padding: 0px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/*----------------------- scrollbar -------------------*/
.share-profile::-webkit-scrollbar {
  height: 6px;
}

.share-profile::-webkit-scrollbar-track {
  background: var(--soft-white);
  border-radius: 10px;
}

.share-profile::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

.share-profile::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

/*--------------------------- media query -----------------*/

/* @media (max-width: 375px) {
  .splide__arrow--next{
    position: absolute;
    inset-inline-start: 10% !important;
  }
  .about{
    padding-bottom: 15rem !important;
} */

/* .tour{
    position: absolute;
    top: 48% !important;
    inset-inline-start: 50%;
    transform: translate(-50%,-50%);
    z-index: 1;
}

.service{
    background-color: var(--soft-white);
    padding-top: 10rem !important;
} */

@media (max-width: 991.88px) {
  .contact-info-rectangle {
    border: 1px solid #211f5f33;
    border-radius: 0.5rem;
    padding: 10px 20px;
    flex-wrap: wrap;
    width: 83%;
  }

  html[dir="rtl"] .contact-info-rectangle {
    border: 1px solid #211f5f33;
    border-radius: 0.5rem;
    padding: 10px 20px;
    flex-wrap: wrap;
    width: 90%;
  }

  .tour {
    position: static;
    transform: none;
  }

  .about {
    padding-bottom: 10%;
  }

  #about,
  #medical,
  #doctors {
    scroll-margin-top: 5.5rem;
  }

  #contactUs {
    scroll-margin-top: 5rem;
  }

  #virual {
    scroll-margin-top: 10rem;
  }
  .select-width {
    width: 100%;
  }
}



@media (max-width: 991.88px) {
  .map-container {
    width: 100%;
    padding: 0px;
    margin: 0px;
  }
  .contact-numbers {
    width: 100%;
    padding: 0.8rem;
  }
  #about,
  #medical,
  #doctors {
    scroll-margin-top: 6rem;
  }

  #contactUs {
    scroll-margin-top: 5rem;
  }

  #virual {
    scroll-margin-top: 10rem;
  }

  .contact-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .contact-numbers,
  .map-container {
    width: 100% !important;
    margin: 0;
  }
}

@media (max-width: 1200px) {
  .share-profile {
    overflow-x: auto;
    width: 80%;
    flex-wrap: nowrap;
    padding: 1rem 0rem;
  }

  .share-profile ul {
    flex-wrap: nowrap;
    white-space: nowrap;
    min-width: max-content;
  }

  .share-profile li {
    flex: 0 0 auto;
  }
  /* .share-profile > div {
    flex: 0 0 auto;
    white-space: nowrap;
    padding-left: 2rem;
  } */
}

@media (max-width: 1400px) {
    .medical-specialties {
        margin: 1rem 0rem;
      }

      .dropdown {
        margin-bottom: 1rem;
      }
}

.pointer {
  cursor: pointer;
}

/* .text-end {
  text-align: end !important;
} */

.splide__track {
  padding-bottom: 1rem !important;
}

.share-close-button i {
  color: var(--primary-color);
  font-size: 1.3rem;
}
.shareBtnContainer .share-overlay i {
  font-size: 1.3rem;
}
.shareBtnContainer .share-overlay {
  margin-top: 0;
  padding: 0;
  padding-inline-start: 1rem;
}
.share-close-button {
  padding: 0 !important;
  margin: 0;
}
.share-active {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.share-profile {
  color: var(--primary-color);
  padding: 0 !important;
}
.share-overlay > a {
  width: auto;
}

.section-space{
  padding-top: 2rem;
}

.space-bottom{
  padding-bottom: 2rem;
}
