.doctor-profile {
  max-width: 1000px;
  width: 100%;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin: auto;
  margin-top: 10px;
  padding: 0px;
}

.profile-header {
  background: linear-gradient(to right, #1a6fc4, #2a87e0);
  color: white;
  padding: 30px;
  text-align: center;
  position: relative;
}

.profile-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,160L48,170.7C96,181,192,203,288,192C384,181,480,139,576,138.7C672,139,768,181,864,181.3C960,181,1056,139,1152,138.7C1248,139,1344,181,1392,202.7L1440,224L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-size: cover;
  background-position: center;
}

.profile-header h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  position: relative;
}

.profile-header p {
  font-size: 1.1rem;
  opacity: 0.9;
  position: relative;
}

.profile-content {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
}

.sidebar {
  flex: 1;
  min-width: 300px;
  background: #f8fafc;
  padding: 30px;
  border-right: 1px solid #eaeaea;
}

.main-content {
  flex: 2;
  min-width: 300px;
  padding: 30px;
}

.section {
  margin-bottom: 30px;
}

.section-title {
  color: #1a6fc4;
  font-size: 1.4rem;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid #eaeaea;
  display: flex;
  align-items: center;
}

.section-title i {
  margin-right: 10px;
  font-size: 1.2rem;
}

.info-item {
  margin-bottom: 12px;
  display: flex;
}

.info-label {
  font-weight: 600;
  min-width: 120px;
  color: #555;
}

.info-value {
  color: #333;
}

.education-item,
.experience-item {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px dashed #eaeaea;
}

.education-item:last-child,
.experience-item:last-child {
  border-bottom: none;
}

.year {
  background: #e6f2ff;
  color: #1a6fc4;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.85rem;
  display: inline-block;
  margin-bottom: 5px;
}

.institution {
  font-weight: 600;
  color: #333;
}

.details {
  color: #666;
  font-size: 0.95rem;
}

.badge {
  display: inline-block;
  background: #1a6fc4;
  color: white;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  margin-top: 5px;
}

.retirement-section {
  background: #f0f8ff;
  padding: 20px;
  border-radius: 10px;
  margin-top: 20px;
  border-left: 4px solid #1a6fc4;
}

.retirement-section h3 {
  color: #1a6fc4;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .profile-content {
    flex-direction: column;
  }

  .sidebar {
    border-right: none;
    border-bottom: 1px solid #eaeaea;
  }
}
