:root {
  --primary: #f07fb3;
  --secondary: #2e3a8c;
  --body-text: #64748b;
  --border-color: #e2e8f0;
  --white: #ffffff;
  --bg-soft: #f8fafc;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Quicksand", sans-serif;
  color: var(--body-text);
  background: var(--bg-soft);
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.doctor-hero {
  position: relative;
  padding: 138px 0 74px;
  background-size: cover;
  background-position: center;
}

.doctor-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(46, 58, 140, 0.85), rgba(46, 58, 140, 0.6));
}

.doctor-hero .container {
  position: relative;
  z-index: 1;
}

.crumb {
  color: #ffd6ea;
  font-weight: 600;
}

.doctor-hero h1 {
  margin: 10px 0 8px;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
}

.doctor-hero p {
  margin: 0;
  color: var(--white);
}

.profile-main {
  padding: 80px 0;
}

.profile-details-main {
  padding: 0 0 80px;
}

.profile-details-main .container {
  width: min(980px, 82%);
  padding-left: clamp(10px, 2.2vw, 24px);
  padding-right: clamp(10px, 2.2vw, 24px);
}

.profile-details-card {
  background: var(--white);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0 clamp(16px, 2.2vw, 28px);
}

.profile-details-card h2 {
  margin: 0 0 14px;
  color: var(--secondary);
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  font-weight: 500;
  line-height: 1.2;
}

.profile-details-card h3 {
  margin: 18px 0 8px;
  color: var(--secondary);
  font-size: clamp(1.28rem, 1.9vw, 1.55rem);
  font-weight: 500;
  line-height: 1.25;
}

.profile-layout {
  display: grid;
  grid-template-columns: 370px minmax(0, 1fr);
  gap: 24px;
}

.profile-photo-card,
.profile-content-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(46, 58, 140, 0.08);
}

.profile-photo-card {
  overflow: hidden;
}

.profile-photo-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.profile-basic {
  padding: 20px;
}

.profile-basic h2 {
  margin: 0 0 6px;
  color: var(--secondary);
}

.role {
  margin: 0 0 10px;
  color: var(--primary);
  font-weight: 700;
}

.meta-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.meta-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #334155;
}

.meta-list i {
  color: var(--primary);
}

.profile-content-card {
  padding: 24px;
}

.profile-content-card h3 {
  color: var(--secondary);
  margin: 0 0 10px;
  font-weight: 500;
}

.profile-content-card h4 {
  color: #1f2937;
  margin: 0 0 8px;
  font-size: 1.02rem;
}

.profile-content-card p {
  margin: 0 0 16px;
  line-height: 1.7;
}

.detail-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.detail-list li {
  color: var(--body-text);
  line-height: 1.65;
  font-size: clamp(1rem, 1.1vw, 1.08rem);
  font-weight: 400;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 6px 0 20px;
}

.chip {
  background: rgba(240, 127, 179, 0.12);
  color: #a83d76;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 0.86rem;
}

.profile-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.25s ease;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--secondary);
}

.btn-outline {
  border: 1px solid var(--secondary);
  color: var(--secondary);
}

.btn-outline:hover {
  background: var(--secondary);
  color: var(--white);
}

@media (max-width: 960px) {
  .profile-layout {
    grid-template-columns: 1fr;
  }

  .profile-details-main .container {
    width: min(980px, 92%);
    padding-left: 0;
    padding-right: 0;
  }
}
