/* =========================
   TEAM TITLE
========================= */

.team-title {
  font-size: 34px;
  font-weight: 700;
  color: #0f766e;
  letter-spacing: 1px;
  text-align: center;
  margin-bottom: 40px;
}

/* =========================
   DOCTOR CARD
========================= */

.doctor-card {
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

/* accent top line */

.doctor-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #0f766e, #14b8a6);
}

/* hover */

.doctor-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* =========================
   DOCTOR IMAGE
========================= */

.doctor-card img {
  width: 100%;
  height: 240px;
  object-fit: contain;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  transition: 0.3s;
  background-color: #caeeea;
}

/* .doctor-card:hover img {
  transform: scale(1.05);
} */

/* =========================
   CARD BODY
========================= */

.doctor-card .card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
}

/* =========================
   DOCTOR NAME
========================= */

.doctor-name {
  font-size: 20px;
  font-weight: 700;
  color: #0f766e;
  margin-bottom: 6px;
}

/* =========================
   QUALIFICATION
========================= */

.doctor-qualification {
  font-size: 14px;
  color: #374151;
  font-weight: 500;
  margin-bottom: 6px;
}

/* =========================
   DESIGNATION
========================= */

.doctor-designation {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 6px;
}

/* =========================
   EXPERIENCE
========================= */

.doctor-exp {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
  margin-bottom: 15px;
}

/* =========================
   BOOK APPOINTMENT BUTTON
========================= */

.doctor-btn {
  display: inline-block;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  color: white;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.doctor-btn:hover {
  background: linear-gradient(135deg, #115e59, #0d9488);
  transform: scale(1.05);
  color: #fff;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
  .team-title {
    font-size: 28px;
  }

  .doctor-card img {
    height: 220px;
  }
}
