/* ==============================
   Doctor Profile Section
   (Dr. S. A. Narayana Prasad)
============================== */

.dr-profile-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  background:
    radial-gradient(circle at 8% 8%, rgba(0, 116, 185, 0.07), transparent 32%),
    radial-gradient(
      circle at 96% 92%,
      rgba(33, 168, 64, 0.06),
      transparent 30%
    ),
    #f7fbff;
}

.dr-profile-shell {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  align-items: start;
}

/* ---------- Left: Sticky media card ---------- */
.dr-profile-media {
  position: sticky;
  top: 110px;
}

.dr-profile-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: #10204b;
  box-shadow: 0 30px 70px rgba(16, 32, 75, 0.18);
}

.dr-profile-card__img-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.dr-profile-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dr-profile-card__img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 20, 50, 0.92) 0%,
    rgba(10, 20, 50, 0.35) 42%,
    transparent 68%
  );
}

.dr-profile-card__badge {
  position: absolute;
  top: 22px;
  left: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.94);
  color: #10204b;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
  box-shadow: 0 10px 24px rgba(16, 32, 75, 0.16);
}

.dr-profile-card__badge i {
  color: #21a840;
  font-size: 12px;
}

.dr-profile-card__caption {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 26px;
  color: #fff;
}

.dr-profile-card__caption h3 {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 6px;
}

.dr-profile-card__caption span {
  display: inline-block;
  color: #a9d9ff;
  font-size: 14px;
  font-weight: 600;
}

.dr-profile-quickinfo {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.dr-profile-quickinfo__item {
  padding: 18px 10px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.dr-profile-quickinfo__item:last-child {
  border-right: 0;
}

.dr-profile-quickinfo__item strong {
  display: block;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.dr-profile-quickinfo__item span {
  display: block;
  color: #b9c4de;
  font-size: 12px;
  margin-top: 3px;
}

.dr-profile-cta {
  display: flex;
  gap: 12px;
  padding: 20px;
  background: #0c1a3f;
}

.dr-profile-cta .vs-btn {
  flex: 1;
  padding: 13px 16px;
  border-radius: 10px;
  font-size: 14px;
  text-align: center;
}

.dr-profile-cta .vs-btn.style2 {
  background: #21a840;
  border-color: #21a840;
}

.dr-profile-cta .vs-btn.style-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
}

.dr-profile-cta .vs-btn.style-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ---------- Right: Content ---------- */
.dr-profile-content {
  padding-top: 6px;
}

.dr-profile-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #0074b9;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.dr-profile-eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: #21a840;
  border-radius: 2px;
}

.dr-profile-name {
  color: #10204b;
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 8px;
}

.dr-profile-name .qual {
  display: inline-block;
  color: #0074b9;
  font-size: 0.42em;
  font-weight: 700;
  vertical-align: middle;
  margin-left: 12px;
}

.dr-profile-role {
  color: #556177;
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 28px;
}

.dr-profile-role b {
  color: #21a840;
  font-weight: 700;
}

.dr-profile-role .sep {
  margin: 0 10px;
  color: #cbd6e2;
}

.dr-profile-lede {
  color: #33415c;
  font-size: 16px;
  line-height: 1.85;
  margin-bottom: 32px;
}

.dr-profile-lede a,
.dr-profile-lede strong {
  color: #10204b;
  font-weight: 700;
}

.dr-profile-lede a {
  border-bottom: 1px solid rgba(0, 116, 185, 0.4);
}

/* Legacy / hospitals */
.dr-profile-legacy {
  margin-bottom: 34px;
}

.dr-profile-legacy h4 {
  color: #10204b;
  font-size: 21px;
  font-weight: 800;
  margin: 0 0 16px;
}

.dr-profile-hospitals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.dr-profile-hospital-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: #fff;
  border: 1px solid #e3eaf1;
  border-left: 4px solid #0074b9;
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(16, 32, 75, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dr-profile-hospital-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(16, 32, 75, 0.12);
}

.dr-profile-hospital-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eaf6fd;
  color: #0074b9;
  font-size: 18px;
}

.dr-profile-hospital-card h5 {
  color: #10204b;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 3px;
}

.dr-profile-hospital-card span {
  color: #647087;
  font-size: 13px;
}

.dr-profile-body {
  color: #33415c;
  font-size: 16px;
  line-height: 1.85;
  margin-bottom: 32px;
}

.dr-profile-body a {
  color: #0074b9;
  font-weight: 600;
}

.dr-profile-body strong {
  color: #10204b;
}

/* Education timeline */
.dr-profile-education {
  margin-bottom: 34px;
}

.dr-profile-education h4 {
  color: #10204b;
  font-size: 21px;
  font-weight: 800;
  margin: 0 0 18px;
}

.dr-profile-edu-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dr-profile-edu-item {
  position: relative;
  display: flex;
  gap: 16px;
  padding-bottom: 22px;
  padding-left: 4px;
}

.dr-profile-edu-item:last-child {
  padding-bottom: 0;
}

.dr-profile-edu-item::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 32px;
  bottom: 0;
  width: 1px;
  background: #dfe8f1;
}

.dr-profile-edu-item:last-child::before {
  display: none;
}

.dr-profile-edu-dot {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #21a840;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 0 0 5px #eaf9ee;
}

.dr-profile-edu-text h5 {
  color: #10204b;
  font-size: 15.5px;
  font-weight: 700;
  margin: 0 0 3px;
}

.dr-profile-edu-text span {
  color: #647087;
  font-size: 13.5px;
  line-height: 1.55;
}

/* Quote */
.dr-profile-quote {
  position: relative;
  padding: 30px 32px 26px 68px;
  background: #f2f9fd;
  border-left: 4px solid #21a840;
  border-radius: 4px 16px 16px 4px;
  margin-bottom: 26px;
}

.dr-profile-quote i.fa-quote-left {
  position: absolute;
  left: 24px;
  top: 26px;
  color: #b9dff0;
  font-size: 26px;
}

.dr-profile-quote p {
  color: #10204b;
  font-size: 17px;
  font-weight: 600;
  font-style: italic;
  line-height: 1.7;
  margin: 0 0 12px;
}

.dr-profile-quote cite {
  display: block;
  color: #0074b9;
  font-size: 14px;
  font-weight: 700;
  font-style: normal;
}

.dr-profile-closing {
  color: #556177;
  font-size: 15.5px;
  line-height: 1.8;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .dr-profile-shell {
    grid-template-columns: minmax(0, 4.5fr) minmax(0, 7.5fr);
    gap: 40px;
  }
}

@media (max-width: 991px) {
  .dr-profile-section {
    padding: 76px 0;
  }
  .dr-profile-shell {
    grid-template-columns: 1fr;
  }
  .dr-profile-media {
    position: static;
    max-width: 420px;
    margin: 0 auto 44px;
  }
}

@media (max-width: 576px) {
  .dr-profile-section {
    padding: 60px 0;
  }
  .dr-profile-hospitals {
    grid-template-columns: 1fr;
  }
  .dr-profile-quickinfo__item strong {
    font-size: 17px;
  }
  .dr-profile-cta {
    flex-direction: column;
  }
  .dr-profile-quote {
    padding: 26px 22px 22px 56px;
  }
  .dr-profile-quote i.fa-quote-left {
    left: 18px;
    font-size: 22px;
  }
  .dr-profile-name .qual {
    display: block;
    margin-left: 0;
    margin-top: 6px;
  }
}
