#doctor-container {
  background-color: #fafafa;
}

#doctor-container .section-header {
  text-align: center;
  margin-bottom: 30px;
}

#doctor-container .section-header h1 {
  font-weight: 600;
  font-size: 30px;
  color: var(--accent-color);
}

#doctor-container .doctor-info {
  max-width: 75%;
  min-width: 50%;
  z-index: 2;
}

#doctor-container .intro-text {
  text-align: center;
  margin: 0 auto 50px;
}

#doctor-container .doctor-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
  height: 100%;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-between;
  padding: 50px 30px;
  max-height: 400px;
  min-height: 400px;
  background: #fff url(../img/doctor_bg2.webp) no-repeat;
  background-size: cover;
  /*min-width: 700px;*/
  /*max-width: 700px;*/
}

#doctor-container .doctor-info .pos {
  font-size: 16px;
  color: var(--accent-color);
  font-weight: 500;
}

#doctor-container .doctor-info .name-d {
  font-size: 25px;
  font-weight: 600;
  color: #313b79;
}

#doctor-container .doctor-info ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 40px;
}

#doctor-container .doctor-info li {
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  position: relative;
  font-size: 13px;
  color: var(--text-one-color);
}

#doctor-container .doctor-info li:before {
  content: "•";
  color: var(--accent-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

#doctor-container .btn-action {
  background-color: var(--button-bg-color);
  color: var(--button-text-color);
  border: none;
  border-radius: 30px;
  padding: 8px 20px;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 13px;
}

#doctor-container .btn-primary {
  background-image: var(--bg-image-color);
  color: #fff;
  border-radius: 30px;
  font-size: 13px;
  padding: 8px 20px;
}

#doctor-container .doctor-img-container {
  overflow: hidden;
  border-top-right-radius: 50px;
  display: flex;
  justify-content: center;
  max-width: 250px;
  min-width: 250px;
  height: 340px;
  position: absolute;
  right: -22px;
  bottom: 0;
}

#doctor-container .doctor-img {
  width: 100%;
  height: 340px;
  transition: transform 0.5s ease;
}

/* Swiper container styles */
#doctor-container .swiper-container {
  overflow: hidden;
  padding: 30px 0;
  position: relative;
}

/* Slide opacity effect */
#doctor-container .swiper-slide {
  opacity: 0.5;
  transform: scale(0.85);
  transition: opacity 0.3s ease, transform 0.3s ease;
  filter: blur(1px);
}

#doctor-container .swiper-slide-active {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
  z-index: 10;
}

#doctor-container .swiper-slide-active .doctor-card {
  box-shadow: 0 10px 30px rgba(70, 150, 229, 0.3);
}

/* Pagination and navigation */
#doctor-container .swiper-pagination-bullet-active {
  background: var(--accent-color);
}

#doctor-container .swiper-button-next,
#doctor-container .swiper-button-prev {
  color: var(--accent-color);
  background: rgba(255, 255, 255, 0.8);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#doctor-container .swiper-button-next:after,
#doctor-container .swiper-button-prev:after {
  font-size: 18px;
  font-weight: bold;
}

#doctor-container .see-all-doctors {
  text-align: center;
}
