.brand-mark {
  overflow: hidden;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 6px 16px rgba(23, 70, 162, 0.12);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.about-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(74px, 9vw, 112px);
  background:
    radial-gradient(ellipse at 5% 88%, rgba(221, 248, 240, 0.72), transparent 36%),
    linear-gradient(112deg, #f5f9ff 0%, #ffffff 54%, #f4fbfa 100%);
}

.about-section::before,
.about-section::after {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(23, 70, 162, 0.09);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.about-section::before {
  top: -170px;
  right: -105px;
  width: 350px;
  height: 350px;
}

.about-section::after {
  top: -132px;
  right: -67px;
  width: 274px;
  height: 274px;
  border-color: rgba(17, 181, 174, 0.15);
}

.about-grid {
  display: grid;
  align-items: center;
  gap: clamp(48px, 8vw, 104px);
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1fr);
}

.about-visual {
  position: relative;
  width: 100%;
  max-width: 465px;
  margin-inline: auto;
  padding: 13px 16px 17px 13px;
  isolation: isolate;
  animation: about-fade-up 720ms both;
}

.about-visual::before {
  position: absolute;
  z-index: -1;
  inset: 2% 1% 4% 8%;
  transform: rotate(4deg);
  border-radius: 34px 34px 74px 34px;
  background: linear-gradient(145deg, rgba(17, 181, 174, 0.76), rgba(23, 70, 162, 0.77));
  content: "";
}

.about-visual::after {
  position: absolute;
  z-index: -1;
  right: -17px;
  bottom: 2px;
  width: 105px;
  height: 105px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 159, 67, 0.95) 0 3px, transparent 3.5px);
  background-size: 15px 15px;
  content: "";
  animation: about-drift 7s ease-in-out infinite;
}

.about-image-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 0.82;
  border: 7px solid rgba(255, 255, 255, 0.96);
  border-radius: 30px 30px 68px 30px;
  background:
    radial-gradient(ellipse at 50% 16%, rgba(221, 248, 240, 0.8), transparent 48%),
    linear-gradient(145deg, #ffffff, #e9f1fc);
  box-shadow: 0 21px 50px rgba(16, 42, 86, 0.13);
  transition: transform 320ms ease, box-shadow 320ms ease;
}

.about-portrait {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.home-page .feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-page .care-steps {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-page .care-step {
  min-height: 115px;
}

.home-page .appointment-panel {
  background:
    radial-gradient(circle at 89% 22%, rgba(124, 230, 203, 0.2), transparent 28%),
    linear-gradient(112deg, #102a56, #1746a2 58%, #078e89);
}

@media (max-width: 980px) {
  .home-page .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .home-page .feature-grid,
  .home-page .care-steps {
    grid-template-columns: 1fr;
  }
}

.about-visual:hover .about-image-frame {
  transform: translateY(-4px);
  box-shadow: 0 27px 58px rgba(16, 42, 86, 0.17);
}

.about-visual:hover .about-portrait {
  transform: scale(1.035);
}

.about-image-orbit {
  position: absolute;
  z-index: -1;
  top: -4px;
  left: -8px;
  width: 83px;
  height: 83px;
  border: 1px solid rgba(17, 181, 174, 0.38);
  border-radius: 50%;
}

.about-copy {
  max-width: 545px;
  animation: about-fade-up 720ms 100ms both;
}

.about-copy .eyebrow {
  margin-bottom: 15px;
}

.about-copy .section-heading {
  margin-bottom: 21px;
  font-size: clamp(34px, 4.1vw, 50px);
  letter-spacing: -2px;
  line-height: 1.15;
}

.about-copy .section-heading span {
  color: var(--vibrant-teal);
}

.about-copy .intro-copy p {
  max-width: 485px;
  margin-bottom: 23px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.about-copy .text-link {
  min-height: 49px;
  gap: 12px;
  padding: 0 21px;
  border: 1px solid rgba(23, 70, 162, 0.12);
  border-radius: var(--radius-pill);
  background: linear-gradient(110deg, var(--royal-blue), #2867bd);
  box-shadow: 0 10px 22px rgba(23, 70, 162, 0.18);
  color: var(--white);
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.about-copy .text-link span {
  color: #a8f0e5;
}

.about-copy .text-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 27px rgba(23, 70, 162, 0.25);
}

@keyframes about-fade-up {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes about-drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@media (max-width: 900px) {
  .about-grid {
    gap: clamp(32px, 5vw, 54px);
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
  }

  .about-copy .section-heading {
    font-size: clamp(32px, 4.5vw, 42px);
  }

  .about-copy .intro-copy p {
    font-size: 13px;
  }
}

@media (max-width: 680px) {
  .about-section {
    padding-block: 68px;
  }

  .about-grid {
    gap: 40px;
    grid-template-columns: minmax(0, 1fr);
  }

  .about-visual {
    width: min(100%, 390px);
    padding: 10px 13px 14px 10px;
  }

  .about-image-frame {
    aspect-ratio: 0.9;
    border-radius: 25px 25px 54px 25px;
  }

  .about-copy {
    max-width: 100%;
  }

  .about-copy .section-heading {
    max-width: 520px;
    font-size: clamp(33px, 9vw, 43px);
  }
}

@media (max-width: 380px) {
  .about-section {
    padding-block: 58px;
  }

  .about-grid {
    gap: 32px;
  }

  .about-image-orbit {
    width: 62px;
    height: 62px;
  }

  .about-visual::after {
    right: -5px;
    width: 76px;
    height: 76px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-visual,
  .about-copy {
    animation: none;
  }

  .about-visual::after {
    animation: none;
  }

  .doctor-qualification-card,
  .doctor-expertise-card {
    transition: none;
  }
}

.doctor-quick-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 22px 0 24px;
}

.doctor-quick-highlights span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  padding: 6px 11px;
  border: 1px solid rgba(23, 70, 162, 0.12);
  border-radius: 999px;
  background: linear-gradient(120deg, #ffffff, #edf5ff);
  box-shadow: 0 6px 17px rgba(23, 57, 111, 0.06);
  color: #315477;
  font-size: 10px;
  font-weight: 700;
}

.doctor-quick-highlights svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: #138e91;
}

.doctor-profile-details {
  background:
    radial-gradient(ellipse at 92% 5%, rgba(17, 181, 174, 0.09), transparent 30%),
    linear-gradient(135deg, #edf4ff 0%, #f8fbff 53%, #eaf8f5 100%);
}

.doctor-profile-heading {
  margin-bottom: 32px;
}

.doctor-profile-heading .section-heading span {
  color: #1764be;
}

.doctor-profile-details .section-intro {
  max-width: 365px;
}

.doctor-qualification-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 30px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.doctor-qualification-card {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 11px;
  padding: 17px 14px;
  border: 1px solid #dce7f4;
  border-radius: 17px;
  background: linear-gradient(145deg, #ffffff, #f1f6ff);
  box-shadow: 0 10px 24px rgba(23, 57, 111, 0.07);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.doctor-qualification-card:hover {
  transform: translateY(-4px);
  border-color: #b9d4ef;
  box-shadow: 0 17px 34px rgba(23, 57, 111, 0.13);
}

.doctor-qualification-card:nth-child(3n + 2) {
  background: linear-gradient(145deg, #ffffff, #eaf9f4);
}

.doctor-qualification-card:nth-child(3n) {
  background: linear-gradient(145deg, #ffffff, #fff4e7);
}

.doctor-qualification-card.is-featured {
  border-color: #e4c06a;
  background: linear-gradient(145deg, #fffdf5, #fff2ce);
  box-shadow: 0 13px 30px rgba(146, 101, 20, 0.13);
}

.doctor-qualification-card.is-featured:hover {
  border-color: #d7ac42;
  box-shadow: 0 19px 38px rgba(146, 101, 20, 0.2);
}

.doctor-qualification-mark {
  display: grid;
  width: 39px;
  height: 39px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(145deg, #dceaff, #c9f2e6);
  color: #1746a2;
  font-size: 10px;
  font-weight: 800;
}

.doctor-qualification-mark svg {
  width: 24px;
  height: 24px;
}

.doctor-qualification-mark {
  color: #1746a2;
}

.doctor-qualification-card.is-featured .doctor-qualification-mark {
  background: linear-gradient(145deg, #ffe7a5, #ffcd6a);
  color: #855714;
}

.qualification-badge {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  margin: 0 0 8px;
  padding: 4px 8px;
  border: 1px solid #d5a944;
  border-radius: 999px;
  background: #fff6d9;
  color: #78500b;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.doctor-qualification-card:nth-child(3n + 2) .doctor-qualification-mark {
  background: linear-gradient(145deg, #d3f5e9, #dceaff);
  color: #087b75;
}

.doctor-qualification-card:nth-child(3n) .doctor-qualification-mark {
  background: linear-gradient(145deg, #ffebd2, #ffe0dc);
  color: #a35438;
}

.doctor-qualification-card .doctor-detail-label {
  margin: 0 0 5px;
  color: #087b75;
  font-size: 12px;
  letter-spacing: .07em;
  line-height: 1.5;
}

.doctor-qualification-card h3 {
  margin: 0 0 5px;
  color: #102f63;
  font-size: 20px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.doctor-qualification-card p:last-child {
  margin: 0;
  color: #53647b;
  font-size: 14px;
  line-height: 1.55;
}

.doctor-profile-subheading {
  margin: 28px 0 14px;
  color: #102f63;
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 800;
  letter-spacing: -.03em;
}

.doctor-education-card,
.doctor-expertise-card {
  border: 1px solid #dce7f4;
  border-radius: 22px;
  background: linear-gradient(145deg, #ffffff, #f4f8ff);
  box-shadow: 0 14px 34px rgba(23, 57, 111, 0.07);
}

.doctor-education-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 26px;
}

.doctor-detail-icon {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(23, 70, 162, 0.1);
  border-radius: 17px;
  background: linear-gradient(145deg, #dfeaff, #d9f7ee);
  box-shadow: 0 8px 18px rgba(23, 70, 162, 0.08);
  color: #1764be;
}

.doctor-detail-icon svg {
  width: 29px;
  height: 29px;
}

.doctor-detail-label {
  margin: 0 0 4px;
  color: #138e91;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.doctor-education-card h3,
.doctor-expertise-card h3 {
  margin: 0 0 8px;
  color: #102f63;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.doctor-education-card p:last-child,
.doctor-expertise-card p {
  margin: 0;
  color: #62728b;
  font-size: 12px;
  line-height: 1.8;
}

.doctor-expertise-grid {
  display: grid;
  gap: 16px;
  margin-top: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.doctor-qualification-grid + .doctor-profile-subheading {
  margin-top: 0;
}

.doctor-membership-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.doctor-expertise-card {
  min-height: 210px;
  padding: 22px;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.doctor-expertise-card:hover {
  transform: translateY(-4px);
  border-color: #bfd6ee;
  box-shadow: 0 19px 38px rgba(23, 57, 111, 0.12);
}

.doctor-expertise-card .doctor-detail-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 17px;
  border-radius: 15px;
}

.doctor-expertise-card .doctor-detail-icon svg {
  width: 25px;
  height: 25px;
}

.doctor-expertise-card:nth-child(3n + 2) .doctor-detail-icon {
  background: linear-gradient(145deg, #d9f7ef, #dff1ff);
  color: #128c85;
}

.doctor-expertise-card:nth-child(3n) .doctor-detail-icon {
  background: linear-gradient(145deg, #fff0dc, #ffe5e4);
  color: #c16b36;
}

.doctor-education-card,
.doctor-expertise-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 38px rgba(17, 50, 96, 0.2);
}

.doctor-education-card {
  background: linear-gradient(120deg, #1b55a8 0%, #267dc5 56%, #1b9caa 100%);
}

.doctor-education-card::after,
.doctor-expertise-card::after {
  position: absolute;
  z-index: -1;
  top: -88px;
  right: -54px;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  box-shadow: 0 0 0 24px rgba(255, 255, 255, 0.045), 0 0 0 50px rgba(255, 255, 255, 0.035);
  content: "";
  pointer-events: none;
}

.doctor-education-card .doctor-detail-icon,
.doctor-expertise-card .doctor-detail-icon {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 8px 20px rgba(6, 29, 68, 0.12);
  color: #ffffff;
}

.doctor-education-card .doctor-detail-label,
.doctor-expertise-card .doctor-detail-label {
  color: #bdf8ee;
}

.doctor-education-card h3,
.doctor-expertise-card h3 {
  color: #ffffff;
}

.doctor-education-card p:last-child,
.doctor-expertise-card p {
  color: rgba(245, 250, 255, 0.88);
}

.doctor-expertise-card:nth-child(1) {
  background: linear-gradient(145deg, #276fca, #1b4b9b 76%, #193e7d);
}

.doctor-expertise-card:nth-child(2) {
  background: linear-gradient(145deg, #139b91, #08717d 72%, #12516f);
}

.doctor-expertise-card:nth-child(3) {
  background: linear-gradient(145deg, #a35396, #794783 68%, #53447f);
}

.doctor-expertise-card:nth-child(4) {
  background: linear-gradient(145deg, #d7833f, #b9584d 62%, #88445c);
}

.doctor-expertise-card:nth-child(5) {
  background: linear-gradient(145deg, #1687a5, #17618f 62%, #294c83);
}

.doctor-expertise-card:hover {
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 25px 48px rgba(17, 50, 96, 0.27);
}

.doctor-clinic-section {
  background:
    radial-gradient(ellipse at 5% 90%, rgba(255, 159, 67, 0.1), transparent 33%),
    #ffffff;
}

.doctor-clinic-card {
  display: flex;
  align-items: center;
  gap: 21px;
  padding: 30px;
  border: 1px solid #dce7f4;
  border-radius: 25px;
  background:
    radial-gradient(ellipse at 93% 3%, rgba(17, 181, 174, 0.11), transparent 37%),
    linear-gradient(130deg, #ffffff, #f0f6ff);
  box-shadow: 0 18px 42px rgba(23, 57, 111, 0.09);
}

.doctor-clinic-card h2 {
  margin: 0 0 7px;
  color: #102f63;
  font-size: clamp(19px, 2.4vw, 27px);
  letter-spacing: -0.04em;
  line-height: 1.3;
}

.doctor-clinic-card p:last-child {
  margin: 0;
  color: #62728b;
  font-size: 12px;
  line-height: 1.8;
}

.doctor-clinic-call {
  flex: 0 0 auto;
  gap: 9px;
}

.doctor-clinic-call svg {
  width: 19px;
  height: 19px;
}

@media (max-width: 820px) {
  .doctor-qualification-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .doctor-expertise-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .doctor-clinic-card {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .doctor-clinic-card > div {
    flex: 1 1 calc(100% - 75px);
  }

  .doctor-clinic-call {
    margin-left: 73px;
  }
}

@media (max-width: 600px) {
  .doctor-qualification-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .doctor-qualification-card {
    align-items: center;
    padding: 15px;
  }

  .doctor-quick-highlights {
    align-items: flex-start;
    flex-direction: column;
  }

  .doctor-quick-highlights span {
    min-height: 36px;
  }

  .doctor-profile-heading {
    margin-bottom: 25px;
  }

  .doctor-education-card {
    gap: 14px;
    padding: 20px;
  }

  .doctor-detail-icon {
    width: 45px;
    height: 45px;
    border-radius: 14px;
  }

  .doctor-detail-icon svg {
    width: 25px;
    height: 25px;
  }

  .doctor-expertise-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .doctor-role-grid,
  .doctor-membership-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .doctor-expertise-card {
    min-height: 0;
    padding: 20px;
  }

  .doctor-clinic-card {
    gap: 14px;
    padding: 22px;
  }

  .doctor-clinic-card > div {
    flex-basis: calc(100% - 60px);
  }

  .doctor-clinic-call {
    margin-left: 59px;
  }
}

.doctor-clinic-card {
  border-color: rgba(255, 255, 255, 0.2);
  background:
    radial-gradient(ellipse at 95% 0, rgba(126, 241, 220, 0.25), transparent 38%),
    linear-gradient(118deg, #153d78, #1f69a8 58%, #147f85);
  box-shadow: 0 22px 48px rgba(17, 50, 96, 0.2);
}

.doctor-clinic-card .doctor-detail-icon {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.14);
  color: #b5f1e5;
}

.doctor-clinic-card .doctor-detail-label {
  color: #b5f1e5;
}

.doctor-clinic-card h2 {
  color: #ffffff;
}

.doctor-clinic-card p:last-child {
  color: rgba(242, 248, 255, 0.84);
}

.doctor-clinic-card .doctor-clinic-call {
  border-color: rgba(255, 255, 255, 0.2);
  background: linear-gradient(110deg, #ffffff, #e6f8f5);
  color: #174b87;
  box-shadow: 0 10px 24px rgba(7, 31, 70, 0.2);
}
