.medical-experts-section {
  padding: 25px 15px 45px;
  background: linear-gradient(180deg, #f4f9ff 0%, #ffffff 100%);
  font-family: "Poppins", sans-serif;
  overflow: hidden;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.section-title span {
  width: 48px;
  height: 2px;
  background: #0b63d9;
  position: relative;
}

.section-title span::after {
  content: "";
  position: absolute;
  top: -4px;
  right: -7px;
  width: 8px;
  height: 8px;
  background: #0b63d9;
  border-radius: 50%;
}

.section-title span:first-child::after {
  left: -7px;
  right: auto;
}

.section-title p {
  margin: 0;
  font-size: 16px;
  letter-spacing: 6px;
  color: #075ac5;
  font-weight: 700;
}

.main-title {
  text-align: center;
  font-size: 46px;
  color: #062b68;
  font-weight: 800;
  margin: 8px 0 12px;
}

.title-line {
  width: 58px;
  height: 3px;
  background: #0b63d9;
  margin: 0 auto 18px;
}

.experts-slider {
  max-width: 1245px;
  margin: auto;
  position: relative;
  overflow: hidden;
}

.experts-track {
  display: flex;
  transition: transform 0.7s ease;
}

.expert-card {
  min-width: 100%;
  background: #fff;
  border-radius: 20px;
  padding: 28px 62px 26px 110px;
  display: grid;
  grid-template-columns: 435px 1fr;
  gap: 68px;
  align-items: center;
  box-shadow: 0 10px 35px rgba(13, 73, 145, 0.13);
  border: 1px solid rgba(20, 97, 190, 0.08);
  min-height: 430px;
}

.reverse-card {
  grid-template-columns: 1fr 435px;
  padding: 28px 110px 26px 92px;
}

.expert-image-box {
  position: relative;
  height: 378px;
}

.expert-image-box img {
  width: 435px;
  height: 378px;
  object-fit: cover;
  border-radius: 22px;
  border: 2px solid #1d73d8;
  box-shadow: 0 10px 28px rgba(0, 56, 130, 0.18);
  transition: 0.4s ease;
}

.expert-card:hover img {
  transform: scale(1.02);
}

.dot-shape {
  position: absolute;
  left: -65px;
  top: -5px;
  width: 145px;
  height: 155px;
  background-image: radial-gradient(#b8d7ff 3px, transparent 3px);
  background-size: 17px 17px;
  z-index: 0;
}

.right-dots {
  left: auto;
  right: -50px;
  top: -10px;
}

.experience-circle {
  position: absolute;
  left: -52px;
  top: 145px;
  width: 124px;
  height: 124px;
  background: #fff;
  border-radius: 50%;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 5px solid #d6e7ff;
  box-shadow: 0 8px 26px rgba(0, 90, 210, 0.22);
  text-align: center;
}

.experience-circle h3 {
  margin: 0;
  font-size: 34px;
  color: #0866df;
  font-weight: 800;
}

.experience-circle p {
  margin: 3px 0 0;
  color: #0754b4;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
}

.professor-circle {
  left: auto;
  right: -60px;
  top: 165px;
}

.professor-circle i {
  font-size: 30px;
  color: #0866df;
  margin-bottom: 8px;
}

.expert-content h3 {
  font-size: 38px;
  color: #052b67;
  margin: 0 0 8px;
  font-weight: 800;
}

.degree {
  font-size: 15.8px;
  line-height: 1.55;
  color: #545b6d;
  margin: 0 0 18px;
  font-weight: 500;
}

.special-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 15px;
}

.special-tags span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border-radius: 13px;
  background: #f8fbff;
  border: 1px solid #dce9fb;
  color: #0758bd;
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 3px 12px rgba(8, 90, 190, 0.08);
  transition: 0.3s ease;
}

.special-tags span:hover {
  background: #0b66e4;
  color: #fff;
  transform: translateY(-3px);
}

.expert-info p {
  margin: 8px 0;
  color: #4e5669;
  font-size: 15.5px;
  line-height: 1.55;
  font-weight: 500;
  padding-left: 28px;
  position: relative;
}

.expert-info p > i {
  position: absolute;
  left: 0;
  top: 4px;
  color: #0867df;
  font-size: 17px;
}

.expert-info strong {
  color: #3b4150;
  font-weight: 800;
}

.expert-buttons {
  display: flex;
  gap: 18px;
  margin-top: 18px;
}

.expert-buttons a {
  height: 42px;
  min-width: 220px;
  border-radius: 6px;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  transition: 0.35s ease;
}

.btn-primary {
  background: linear-gradient(90deg, #0769e8, #005bd3);
  color: #fff;
}

.btn-outline {
  color: #0758bd;
  background: #fff;
  border: 1.5px solid #0758bd;
}

.btn-primary:hover,
.btn-outline:hover {
  transform: translateY(-3px);
}

.btn-outline:hover {
  background: #0758bd;
  color: #fff;
}

.slide-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: #0866df;
  font-size: 24px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  box-shadow: 0 7px 22px rgba(0, 65, 150, 0.16);
  cursor: pointer;
}

.slide-btn:hover {
  background: #0866df;
  color: #fff;
}

.left-btn {
  left: 0;
}

.right-btn {
  right: 0;
}

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 30;
}

.slider-dots span {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #eef4ff;
  border: 2px solid #fff;
}

.slider-dots span.active {
  background: #0866df;
}

/* RESPONSIVE */

@media (max-width: 991px) {
  .main-title {
    font-size: 38px;
  }

  .expert-card,
  .reverse-card {
    grid-template-columns: 1fr;
    padding: 30px;
    gap: 25px;
    text-align: center;
  }

  .reverse-card .expert-image-box {
    order: 1;
  }

  .reverse-card .expert-content {
    order: 2;
  }

  .expert-image-box {
    width: 100%;
    max-width: 430px;
    height: 360px;
    margin: auto;
  }

  .expert-image-box img {
    width: 100%;
    height: 360px;
  }

  .experience-circle {
    left: -25px;
  }

  .professor-circle {
    right: -25px;
    left: auto;
  }

  .special-tags,
  .expert-buttons {
    justify-content: center;
  }

  .expert-info {
    text-align: left;
  }
}

@media (max-width: 576px) {
  .section-title p {
    font-size: 12px;
    letter-spacing: 3px;
  }

  .section-title span {
    width: 28px;
  }

  .main-title {
    font-size: 30px;
  }

  .expert-card,
  .reverse-card {
    padding: 20px 14px 35px;
  }

  .expert-image-box,
  .expert-image-box img {
    height: 280px;
  }

  .experience-circle {
    width: 95px;
    height: 95px;
    top: 105px;
    left: -5px;
  }

  .professor-circle {
    right: -5px;
    left: auto;
  }

  .experience-circle h3 {
    font-size: 26px;
  }

  .experience-circle p {
    font-size: 11.5px;
  }

  .expert-content h3 {
    font-size: 28px;
  }

  .degree,
  .expert-info p {
    font-size: 14px;
  }

  .special-tags span {
    font-size: 13px;
    padding: 8px 11px;
  }

  .expert-buttons {
    flex-direction: column;
  }

  .expert-buttons a {
    width: 100%;
    min-width: unset;
  }

  .slide-btn {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }
}