/* =======================================================================
   DOCTOR.CSS — PAGE-SPECIFIC STYLES FOR DOCTOR/TEAM BIO PAGES
   ======================================================================= */

/* --------------------------
   DOCTOR HERO
-------------------------- */
.doctor-hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  padding: 100px 20px 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
}

.doctor-hero .content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: center;
}

.doctor-hero img {
  width: 280px;
  height: 280px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.doctor-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.doctor-hero .credentials {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 16px;
}

.doctor-hero .specialty {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .doctor-hero .content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .doctor-hero img {
    margin: 0 auto;
  }
}

/* --------------------------
   DOCTOR BIO SECTION
-------------------------- */
.doctor-bio {
  padding: 80px 0;
}

.doctor-bio h2 {
  font-size: 1.75rem;
  margin-bottom: 20px;
  color: var(--primary-dark);
}

.doctor-bio p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* --------------------------
   CREDENTIALS CARD
-------------------------- */
.credentials-card {
  background: var(--bg-section);
  border-radius: 16px;
  padding: 32px;
  margin-top: 40px;
}

.credentials-card h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  color: var(--primary-dark);
}

.credentials-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.credentials-list li {
  padding: 8px 0;
  border-bottom: 1px solid #e5e7eb;
  color: var(--text-muted);
}

.credentials-list li:last-child {
  border-bottom: none;
}

/* --------------------------
   SERVICES OFFERED
-------------------------- */
.doctor-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.doctor-service-tag {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px 16px;
  text-align: center;
  font-weight: 500;
  color: var(--text-main);
  transition: .2s;
}

.doctor-service-tag:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* =======================================================================
   DOCTOR-SPECIFIC STYLES (rm-* base styles now in global.css)
   ======================================================================= */

/* Profile Grid */
.profile-grid {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 50px;
  align-items: flex-start;
}

.profile-photo {
  width: 100%;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border: 1px solid #e5e7eb;
  text-align: center;
}

.profile-photo img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  border: 3px solid var(--accent);
}

.profile-bio h2 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 2.2rem;
}

.profile-bio h3 {
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.bio-section h4 {
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 1.15rem;
  margin-top: 25px;
  margin-bottom: 10px;
}

.bio-section ul {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 20px;
  line-height: 1.7;
  color: var(--text-muted);
}

.bio-section p {
  margin-bottom: 15px;
  line-height: 1.65;
  font-size: 1.05rem;
}

@media (max-width: 900px) {
  .profile-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Expertise Grid */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.expertise-item {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  border-left: 4px solid var(--primary);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  font-weight: 600;
  color: var(--primary-dark);
}

/* Multi-CTA Grid */
.cta-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.cta-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border: 1px solid #e5e7eb;
  text-align: center;
  transition: transform 0.2s ease;
}

.cta-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
}

.cta-card h3 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.cta-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.cta-card .btn-primary {
  width: 100%;
  justify-content: center;
  text-align: center;
  display: inline-block;
}

/* NOTE: .rm-cta and .reveal are now in global.css */
