/* ==========================================================================
   Meet Our Specialists Section Stylesheet (css/specialists.css) — DARK SECTION BG
   ========================================================================== */

.specialists-section {
  padding: 60px 0;
  position: relative;
  background:
    radial-gradient(rgba(224, 30, 90, 0.22) 1.5px, transparent 1.5px),
    radial-gradient(rgba(167, 71, 254, 0.20) 1.5px, transparent 1.5px),
    linear-gradient(135deg, #2d1060 0%, #3b0f7a 50%, #280d58 100%) !important;
  background-size: 32px 32px, 32px 32px, 100% 100% !important;
  background-position: 0 0, 16px 16px, 0 0 !important;
  overflow: hidden;
}

.specialists-main-title {
  font-size: 34px;
  font-weight: 700;
  color: #ffffff;
}

.specialists-main-title span.text-pink {
  color: #ff528f;
  text-shadow: 0 0 20px rgba(255, 82, 143, 0.4);
}

.specialists-main-desc {
  font-size: 15px;
  color: #cbd5e1;
  max-width: 680px;
  margin: 0 auto;
}

/* White Specialist Doctor Cards */
.doctor-card {
  background: #ffffff !important;
  border-radius: 24px !important;
  border: 1px solid #fce4ec !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.28) !important;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 420px;
  margin: 0 auto;
}

.doctor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(224, 30, 90, 0.35) !important;
  border-color: rgba(224, 30, 90, 0.5) !important;
}

.doctor-img-wrapper {
  position: relative;
  width: 100%;
  height: 250px;
  background-color: #f8fafc;
  overflow: hidden;
}

.doctor-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.doctor-card:hover .doctor-img-wrapper img {
  transform: scale(1.05);
}

.doctor-badge-float {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e01e5a 0%, #9035ea 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 6px 16px rgba(224, 30, 90, 0.4);
  border: 2px solid #ffffff;
}

.doctor-card-body {
  padding: 22px 20px 14px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.doctor-name {
  font-size: 20px;
  font-weight: 700;
  color: #1f1435;
  margin-bottom: 4px;
  text-align: center;
}

.doctor-name a {
  color: #1f1435;
  text-decoration: none;
  transition: color 0.2s ease;
}

.doctor-name a:hover {
  color: #e01e5a;
}

.doctor-designation {
  font-size: 13.5px;
  font-weight: 600;
  color: #e01e5a;
  margin-bottom: 8px;
  text-align: center;
}

.doctor-bio-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 0;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card Action Buttons (Details & Consult) */
.doctor-card-actions {
  display: flex;
  gap: 10px;
  padding: 4px 20px 22px 20px;
  justify-content: center;
  align-items: center;
}

.btn-card-details {
  background: #ffffff !important;
  color: #e01e5a !important;
  border: 1.5px solid #e01e5a !important;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 50px;
  text-align: center;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  flex: 1;
  box-shadow: 0 2px 8px rgba(224, 30, 90, 0.12);
}

.btn-card-details:hover {
  background: #e01e5a !important;
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(224, 30, 90, 0.35);
  transform: translateY(-2px);
}

.btn-card-consult {
  background: linear-gradient(135deg, #e01e5a 0%, #9035ea 100%) !important;
  color: #ffffff !important;
  border: none !important;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 50px;
  text-align: center;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(224, 30, 90, 0.3);
  text-decoration: none;
  flex: 1;
}

.btn-card-consult:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(224, 30, 90, 0.45);
  color: #ffffff !important;
}

/* View Team Button */
.btn-view-team {
  background-color: #ff528f;
  color: #ffffff !important;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(255, 82, 143, 0.4);
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-view-team:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 82, 143, 0.6);
  color: #ffffff !important;
}

/* Dots Pagination for Mobile Slider */
.specialists-dots-wrapper {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  margin-bottom: 24px;
}

.specialist-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.25);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  padding: 0;
}

.specialist-dot.active {
  width: 28px;
  border-radius: 10px;
  background-color: #ff528f;
  box-shadow: 0 2px 10px rgba(255, 82, 143, 0.6);
}

/* Mobile Responsive Slider */
@media (max-width: 991.98px) {
  .specialists-section {
    padding: 35px 0 40px 0 !important;
  }
  .specialists-main-title {
    font-size: 26px;
  }
  .specialists-slider-container {
    position: relative;
    overflow: hidden;
    padding: 10px 4px 15px 4px;
    margin: 0 -8px;
  }
  .specialists-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
    margin: 0 !important;
  }
  .specialist-slide {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    padding: 0 8px !important;
    box-sizing: border-box;
    margin-bottom: 0 !important;
  }
  .doctor-card {
    border-radius: 20px;
    margin-bottom: 0;
  }
  .doctor-img-wrapper {
    height: 220px;
  }
  .doctor-card-body {
    padding: 18px 16px 12px 16px;
  }
  .specialists-dots-wrapper {
    display: flex !important;
  }
  .btn-view-team {
    width: 100%;
    justify-content: center;
    display: inline-flex;
  }
}

@media (max-width: 767.98px) {
  .specialist-slide {
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    padding: 0 6px !important;
  }
}
