.position-sticky {
  position: -webkit-sticky !important;
  position: sticky !important;
}

.hero-image {
  background: #fff;
  padding-top: 3rem;

  aspect-ratio: 1 / 1;
}

@media (max-width: 991.89px) {
  .hero-image {
    max-height: 30vh;
  }

  .carousel-item {
    margin-top: 1rem;
  }
}

.hero-section {
  height: 60vh;
}

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

.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;
  gap: 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;
}

.information-section {
  display: flex;
  gap: 1rem;
}

.text-sec {
  width: 70%;
}

.video-ads-section {
  width: 30%;
  margin-top: 3rem;
}

@media (max-width: 991.88px) {
  .information-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .text-sec,
  .video-ads-section {
    width: 100%;
  }
}

.dot {
  font-size: 3rem;
  color: var(--secondary-color);
  height: 1rem;
  position: relative;
  top: 0rem;
}

.options {
  padding-inline-start: 1rem;
}

.sec1,
.sec3 {
  scroll-margin-top: 5rem;
}

.sec2 {
  scroll-margin-top: 2rem;
}

@media (max-width: 768px) {}

/*------------------- carousel ------------------*/

.carousel-indicators [data-bs-target] {
  background-color: var(--primary-color) !important;
  height: 0.3rem !important;
}

.ads-button {
  position: absolute;
  z-index: 1;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 25px;
  border: none;
  border-radius: 5px;
  background-color: transparent;
  color: var(--secondary-color);
  border-radius: 50px;
  text-decoration: none;
  border: var(--secondary-color) 1px solid;
  transition: all 0.5s ease-in-out;
  margin: 0.6rem 0;
}

.book-now-btn {
  padding: 0.4rem 1.4rem;
  color: #fff;
  border: none;
  border-radius: 5px;
  background: var(--gradient-bg);
  border-radius: 50px;
  text-decoration: none;
  border: var(--secondary-color) 1px solid;
  transition: all 0.5s ease-in-out;
}

.book-now-btn:hover {
  color: white;
  scale: 1.05;
}

.review-para {
  padding-top: 0.4rem;
}

.calendar-white {
  width: 1.125rem;
  margin-bottom: 0.1rem;
}

/*------------------------- available date ------------------------*/

/* Hide default date input calendar icon */
input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  cursor: pointer;
}

.calendar {
  position: absolute;
  top: 22%;
  inset-inline-end: 5%;
}

html[dir="rtl"] .calendar {
  position: absolute;
  top: 20%;
  inset-inline-end: 5%;
  width: 1.2rem;
}

.image-border {
  border-radius: 5px !important;
}

.play-btn {
  width: 3.438rem;
  height: 3.438rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  width: 2.7rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem !important;
}

html[dir="rtl"] .play-btn {
  width: 3.438rem;
  height: 3.438rem;
  position: absolute;
  top: 50%;
  left: 50% !important;
  border-radius: 50%;
  width: 2.7rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem !important;
}

.fa-share {
  color: var(--primary-color);
}

@media (991.88px < width < 1440px) {
  .ads-button {
    position: absolute;
    z-index: 1;
    bottom: 1.3rem !important;
  }
}

/*----------------------- time dropdown ------------------------*/
/* .disabled {
  padding: 6px 30px !important;
  border: 1px solid !important;
  border-radius: 50px !important;
} */

/* .select {
  padding: 6px 30px !important;
  border: 1px solid var(--primary-color) !important;
  border-radius: 50px !important;
  color: var(--primary-color) !important;
  font-weight: 600 !important;
  cursor: pointer;
} */

.select:hover {
  text-decoration: underline !important;
}

/* .selected-time {
  padding: 6px 30px !important;
  border: 1px solid var(--primary-color) !important;
  border-radius: 50px !important;
  color: var(--primary-color) !important;
  font-weight: 600 !important;
  cursor: pointer;
  background: var(--gradient-bg) !important;
  color: #fff !important;
} */

.dropdown-toggle {
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  font-weight: 600;
  border-radius: 3.125rem;
  /* 50px */
  padding: 0.625rem 1.25rem;
  /* 10px 20px */
  background-color: #fff;
  width: 20rem !important;
}


.dropdown-toggle::after {
  display: none !important;
}

.dropdown-menu {
  border: 1px solid #211f5f4d;
  box-shadow: 0 0 0.9375rem #b6b6b640;
  /* 15px */
  border-radius: 0.313rem !important;
  background-color: #fff !important;
  margin-top: 0.35rem;
}

.disabled {
  padding: 0.375rem 1.875rem !important;
  /* 6px 30px */
  border: 1px solid rgba(33, 31, 95, 0.3) !important;
  border-radius: 3.125rem !important;
  /* 50px */
  color: rgba(33, 31, 95, 0.3);
}

.select {
  padding: 0.375rem 1.875rem !important;
  border: 1px solid var(--primary-color) !important;
  border-radius: 3.125rem !important;
  color: var(--primary-color) !important;
  font-weight: 600 !important;
  cursor: pointer;
}

.select:hover {
  text-decoration: underline !important;
}

.selected-time {
  padding: 0.375rem 1.875rem !important;
  border: 0 !important;
  border-radius: 3.125rem !important;
  color: var(--primary-color) !important;
  font-weight: 600 !important;
  cursor: pointer;
  background: var(--gradient-bg) !important;
  color: #fff !important;
}

.from-date {
  cursor: pointer;
}

/*--------------------------------------------- carousel ---------------------------*/
.splide__track,
.splide__list {
  height: auto !important;
  padding: 0 1rem;
}

/*---------------------- accredations*/

/*-------------------- youtube ----------------*/

.youtube-img {
  color: #ff0000;
  margin: 0;
  padding: 0;
  height: 4rem;
  width: 4rem;
}

.youtube-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
}

.youtube-bg {
  background: #fff;
  width: 1rem;
  height: 1rem;

  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/*------------------------- custom carousel ------------------*/
#customCarousel .carousel-indicators {
  position: static;
  margin-top: 1rem;
  justify-content: center;
}

#customCarousel [data-bs-target] {
  width: 0.5rem !important;
  height: 0.5rem !important;
  border-radius: 50%;
  opacity: 0.6;
  margin: 0.2rem !important;
  border: none;
  transition: all 0.3s ease;
}

#customCarousel .carousel-indicators .active {
  opacity: 1;
}

.carousel-indicators [data-bs-target] {
  background-color: var(--primary-color);
  height: 0.445rem;
  width: 1.56rem;
  border-radius: 0.2rem;
  border: none;
  margin: 0 5px;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.carousel-indicators .active {
  background-color: var(--primary-color);
  opacity: 1;
}

/* .ads-button {
  position: absolute;
  z-index: 1;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.4rem 1.4rem !important;
  color: #fff;
  border: none;
  border-radius: 5px;
  background-color: transparent;
  color: var(--secondary-color);
  border-radius: 50px;
  text-decoration: none;
  border: var(--secondary-color) 1px solid;
  transition: all 0.5s ease-in-out;
} */

.read-more-btn:hover {
  text-decoration: underline;
}

/*--------------------- 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 (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;
  }
}

.pointer {
  cursor: pointer;
}

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

.custom-width-card {
  /* min-width: 18rem; */
}

.splide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media (max-width: 991.89px) {
  .splide {
    height: auto;
  }
}

#blog-slider .is-visible .blogs-card,
#doctors-slider .is-visible .doctor-card {
  box-shadow: 0 0px 20px rgba(182, 182, 182, 0.25) !important;
}

/* Date Picker Container */
.date-picker-container {
  position: relative;
  display: inline-block;
}

/* Date Input Wrapper */
.date-input-wrapper {
  position: relative;
  display: inline-block;
}

/* Date Display Input */
.date-display-input {
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 50px;
  padding: 10px 50px 10px 20px;
  width: 20rem;
  background: white;
  font-size: 0.85rem;
  cursor: pointer !important;
  outline: none;
}

.arabic-version .date-display-input {
  padding: 10px 20px 10px 50px;
}

.date-display-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0px rgba(0, 102, 204, 0.2);
  outline: none;
}

/* Placeholder color for date-display-input */
.date-display-input::placeholder {
  color: var(--primary-color);
  /* Change this to your desired color */
  opacity: 1;
}

.date-display-input:-moz-placeholder {
  color: var(--primary-color);
  opacity: 1;
}

.date-display-input::-ms-input-placeholder {
  color: var(--primary-color);
  opacity: 1;
}

.date-display-input:-ms-input-placeholder {
  color: var(--primary-color);
  opacity: 1;
}

.date-display-input::-webkit-input-placeholder {
  color: var(--primary-color);
  opacity: 1;
}

/* Calendar Toggle Button */
.calendar-toggle-btn {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
  font-size: 16px;
  padding: 5px;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.calendar-toggle-btn:hover {
  background-color: rgba(0, 102, 204, 0.1);
}

/* Calendar Wrapper Positioning */
.custom-calendar-wrapper {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  margin-top: 5px;
  border-radius: 8px;
  background: white;
}

/* Calendar Animation */

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOutUp {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

/* RTL Support */
html[dir="rtl"] .calendar-toggle-btn {
  left: 15px;
  right: auto;
}

html[dir="rtl"] .custom-calendar-wrapper {
  left: auto;
  right: 0;
}

.date-time-container {
  display: flex;
  justify-content: start;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}

@media (max-width: 575.88px) {
  .date-time-container {
    flex-direction: row;
    align-items: flex-start;
  }

  .date-box,
  #timeDropdown {
    width: 47%;
  }

  .date-display-input {
    width: 100% !important;
  }
}

/* Responsive Design */
@media (max-width: 480px) {
  .date-time-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 60%;
  }

  .date-box,
  #timeDropdown {
    width: 100% !important;
  }

  .date-display-input {
    width: 100% !important;
  }

  html[dir="ar"] .date-display-input {
    width: 100% !important;
  }

  .custom-calendar-wrapper {
    left: 0%;
    /* transform: translateX(-50%); */
  }

  /* html[dir="rtl"] .custom-calendar-wrapper { */
  /* transform: translateX(-2%); */
  /* } */
}

/* Safari autofill fix for .date-display-input */
input.date-display-input:-webkit-autofill,
input.date-display-input:-webkit-autofill:focus,
input.date-display-input:-webkit-autofill:hover,
input.date-display-input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px white inset !important;
  box-shadow: 0 0 0 1000px white inset !important;
  -webkit-text-fill-color: var(--primary-color) !important;
}

.selected-blogs-title {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

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

@media (max-width: 768px) {

  /* Mobile styling for share overlay */
  .shareBtnContainer .share-overlay {
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    padding: 0 0.2rem;
  }

  .shareBtnContainer.share-active .share-overlay {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color, #007bff);
    gap: 0.25rem;
  }

  .share-overlay>a {
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
  }

  .share-overlay>a:hover {
    background-color: #f8f9fa;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
}

.doctor-inner-content ul {
  padding-inline-start: 2.5rem;
}

.doctor-inner-content li {
  position: relative;
  margin-bottom: .5rem;
}

/* .doctor-inner-content li::before{
    content: "•";
    position: absolute;
    inset-inline-start: -25px;
    top: 50%;
    font-size: 3.5rem;
    color: var(--secondary-color);
    line-height: 1;
    transform: translate(-50%, -50%);
} */
.doctor-inner-content li::marker {
  font-size: 20px;
  color: var(--secondary-color);
}

.doctor-inner-content br {
  display: none !important;
}

.doctor-inner-content strong {
  display: block;
  margin-bottom: .5rem;
}

.patient-reviews-slider {
  background-color: var(--soft-white);
}

#blogs-splider,
#blogs-splider .blogs-card {
  background-color: #fff !important;
}

#blogs-splider .blogs-card {
  box-shadow: 0px 0px 30px 0px #B6B6B640;

}

#blogs-splider .blogs-card .shareBtnContainer {
    min-height: 2.5rem !important;
}

#doctors-splider {
  margin-bottom: 2rem;
}

#patientReview-splider,
#doctors-splider {
  background-color: var(--soft-white);
}
