: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-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;
}

.profile-content-card p {
  margin: 0 0 16px;
  line-height: 1.7;
}

.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;
  }
}
