/* Custom Styles for Our Doctors Page */
.doctors-grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.doctor-card {
  display: flex;
  flex-direction: row;
  gap: 40px;
  background: #ffffff;
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 12px 36px rgba(12, 44, 77, 0.08);
  align-items: stretch;
  flex-wrap: wrap;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.doctor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(12, 44, 77, 0.12);
}

.doc-img-wrapper {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.doc-img-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 30%;
  background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 100%);
  pointer-events: none;
}

.doc-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3/4;
  display: block;
  transition: transform 0.5s ease;
}

.doctor-card:hover .doc-img-wrapper img {
  transform: scale(1.03);
}

.doc-info {
  flex: 2;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.doc-name {
  font-size: 32px;
  font-weight: 800;
  color: var(--blue, #0c2c4d);
  margin-bottom: 8px;
  line-height: 1.2;
}

.doc-quals {
  color: var(--blue-mid, #0056b3);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.doc-designation {
  font-size: 18px;
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.doc-exp-badge {
  background: rgba(12, 44, 77, 0.08);
  color: var(--blue, #0c2c4d);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.doc-desc {
  color: #555;
  line-height: 1.7;
  margin-bottom: 24px;
  font-size: 16px;
}

.doc-desc p {
  margin-bottom: 12px;
}

.doc-sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 10px;
  border-top: 1px solid rgba(0,0,0,0.06);
  padding-top: 24px;
}

.doc-section h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--blue, #0c2c4d);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.doc-section h4 svg {
  color: var(--blue-mid, #0056b3);
}

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

.doc-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #555;
  font-size: 15px;
  line-height: 1.5;
}

.doc-list li svg {
  margin-top: 3px;
  flex-shrink: 0;
}

.simple-doc-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 12px 36px rgba(12, 44, 77, 0.08);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  max-width: 350px;
  margin: 0 auto;
}

.simple-doc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(12, 44, 77, 0.12);
}

.simple-doc-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.simple-doc-info {
  padding: 24px;
}

.simple-doc-info h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--blue, #0c2c4d);
  margin: 0;
}

/* Replaced Inline Styles */
.our-doctors-hero-bg {
  background-image: url('../images/hospital-facilities/advanced-surgical-care.jpeg');
}

.doc-section-container {
  padding-bottom: 80px; 
  padding-top: 60px; 
  background: #f9fbfd;
}

.doc-sec-head {
  margin-bottom: 60px;
}

.doc-text-muted {
  color: #555; 
  font-size: 15px; 
  line-height: 1.6;
}

.doc-mt-24 {
  margin-top: 24px;
}

.doc-mt-20 {
  margin-top: 20px;
}

@media (max-width: 991px) {
  .doctor-card {
    flex-direction: column;
    padding: 30px;
  }
  .doc-img-wrapper {
    max-width: 100%;
    margin: 0 auto;
  }
  .doc-sections {
    grid-template-columns: 1fr;
  }
}
