:root {
  --navy: #171717;
  --blue: #0797dc;
  --teal: #00a8d8;
  --green: #42b83e;
  --orange: #ff6f1f;
  --purple: #7b2aa8;
  --gold: #b9823a;
  --mint: #effbea;
  --soft-blue: #f2fbff;
  --line: #dcebd8;
  --text: #1f2520;
  --muted: #68736a;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(16, 43, 63, 0.12);
  --page-width: min(1500px, 85vw);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: var(--page-width);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 232, 236, 0.8);
  backdrop-filter: blur(14px);
}

.top-ribbon {
  background: linear-gradient(90deg, var(--green), var(--blue));
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
}

.top-ribbon-wrap {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.ribbon-contact,
.ribbon-social {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-ribbon a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--white);
  opacity: 0.96;
}

.top-ribbon a:hover {
  opacity: 1;
}

.top-ribbon span {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: var(--green);
  background: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  line-height: 1;
}

.nav-wrap {
  position: relative;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 180px;
  min-width: 180px;
}

.brand img {
  width: 100%;
  height: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.main-nav a {
  padding: 8px 0;
}

.main-nav a:hover {
  color: var(--green);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
}

.hero {
  padding: 22px 0 24px;
  background: #ffffff;
  overflow: hidden;
}

.hero-frame {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 16px;
  background:
    radial-gradient(circle at 86% 24%, rgba(255, 255, 255, 0.24) 0 8%, transparent 8.5%),
    linear-gradient(135deg, rgba(255, 111, 31, 0.78) 0%, rgba(66, 184, 62, 0.76) 46%, rgba(7, 151, 220, 0.82) 100%);
}

.hero-frame::before,
.hero-frame::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  pointer-events: none;
}

.hero-frame::before {
  width: 260px;
  height: 260px;
  right: 260px;
  top: 80px;
}

.hero-frame::after {
  width: 180px;
  height: 180px;
  right: 52px;
  top: 58px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: 560px;
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  align-items: center;
  gap: 30px;
  padding: 46px 48px 38px;
  padding-bottom:0;
}

.hero-content {
  max-width: 610px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 800;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0;
}

.eyebrow span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
}

.eyebrow.small {
  margin-bottom: 10px;
  font-size: 12px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  margin-bottom: 22px;
  padding: 7px 12px;
  border-radius: 8px;
  color: rgba(16, 43, 63, 0.76);
  background: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 800;
}

.hero-badge span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.hero h1 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(48px, 5vw, 82px);
  line-height: 1.05;
  letter-spacing: 0;
  color: var(--white);
}

.hero p {
  max-width: 620px;
  margin: 20px 0 0;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.btn.primary {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 14px 30px rgba(66, 184, 62, 0.24);
}

/*
.hero .btn.primary {
  color: var(--navy);
  background: var(--white);
  box-shadow: 0 14px 30px rgba(16, 43, 63, 0.16);
} */

.btn.secondary {
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
}

.hero-media {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 520px;
}

.hero-media img {
  position: relative;
  z-index: 2;
  width: min(600px, 96%);
  height: 560px;
  min-height: 0;
  object-fit: contain;
  object-position: center bottom;
  border-radius: 0;
  box-shadow: none;
  mix-blend-mode: normal;
  transform: translateX(2%);
  filter: drop-shadow(0 26px 42px rgba(16, 43, 63, 0.22));
}

.hero-doctor-bg {
  position: absolute;
  right: 8%;
  bottom: 76px;
  width: min(390px, 64%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(66, 184, 62, 0.24), rgba(7, 151, 220, 0.14));
  box-shadow: inset 0 0 0 22px rgba(255, 255, 255, 0.13);
}

.doctor-mini-card {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 46px rgba(55, 42, 100, 0.16);
  backdrop-filter: blur(10px);
}

.doctor-mini-card {
  left: 48px;
  bottom: 38px;
  width: min(310px, calc(100% - 84px));
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
}

.doctor-thumb {
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  font-weight: 900;
  background: linear-gradient(135deg, var(--green), var(--blue));
  width: 52px;
  height: 52px;
}

.doctor-mini-card span,
.doctor-mini-card strong,
.doctor-mini-card small {
  display: block;
}

.doctor-mini-card span {
  width: fit-content;
  padding: 2px 8px;
  border-radius: 999px;
  color: var(--blue);
  background: var(--mint);
  font-size: 11px;
  font-weight: 800;
}

.doctor-mini-card strong {
  color: var(--navy);
  font-size: 15px;
}

.doctor-mini-card small {
  color: var(--muted);
  font-size: 12px;
}

.doctor-mini-card a {
 
  font-size: 12px;
  font-weight: 800;
}

.quick-cta {
  padding: 24px 0 56px;
}

.quick-cta-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(66, 184, 62, 0.12), rgba(7, 151, 220, 0.08));
}

.quick-cta-grid h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.15;
}

.quick-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.partners {
  padding: 0 0 50px;
  border-bottom: 0;
}

.partner-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  text-align: center;
}

.partner-row span {
  position: relative;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 14px 15px 62px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--navy);
  font-weight: 800;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(16, 43, 63, 0.06);
}

.partner-row span::before {
  content: "";
  position: absolute;
  left: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.2)),
    linear-gradient(135deg, rgba(123, 42, 168, 0.2), rgba(255, 111, 31, 0.2), rgba(66, 184, 62, 0.22));
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.55);
}

.section {
  padding: 96px 0;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-head h2,
.why-content h2,
.appointment-copy h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  color: var(--navy);
  letter-spacing: 0;
}

.section-head p,
.why-content p,
.appointment-copy p {
  margin: 16px 0 0;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 38px rgba(16, 43, 63, 0.06);
}

.icon-box {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--green);
  font-weight: 900;
}

.service-card h3 {
  margin: 24px 0 10px;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.25;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.why-section {
  padding: 96px 0;
  background: var(--soft-blue);
}

.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.why-image img {
  height: auto;
  width: 100%;
  object-fit: contain;
  object-position: center bottom;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(66, 184, 62, 0.14), rgba(7, 151, 220, 0.1));
  box-shadow: var(--shadow);
}

.why-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.why-list div {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.why-list strong,
.why-list span {
  display: block;
}

.why-list strong {
  color: var(--navy);
}

.why-list span {
  margin-top: 5px;
  color: var(--muted);
}

.testimonials {
  padding: 86px 0;
  background: var(--soft-blue);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.testimonial-card {
  min-height: 260px;
  padding: 26px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(16, 43, 63, 0.06);
}

.quote-mark {
  display: block;
  height: 34px;
  color: #c9d9df;
  font-size: 48px;
  font-weight: 900;
  line-height: 0.8;
}

.testimonial-card p {
  margin: 0 0 18px;
  color: var(--muted);
}

.testimonial-card strong {
  display: block;
  color: var(--navy);
}

.testimonial-card strong + span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}

.resources-section {
  padding: 96px 0;
  background: var(--white);
}

.resources-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  margin-bottom: 42px;
}

.resources-head h2 {
  max-width: 620px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(38px, 5vw, 72px);
  line-height: 0.98;
}

.resources-head p {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.resource-card {
  min-height: 470px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 8px;
  color: var(--navy);
  background: var(--mint);
  box-shadow: 0 14px 40px rgba(31, 37, 32, 0.08);
}

.resource-card.green-card {
  background: #dcf8ee;
}

.resource-card.orange-card {
  background: #fff0e6;
}

.resource-card.blue-card {
  background: #eaf7ff;
}

.resource-card.purple-card {
  background: #f3eafd;
}

.resource-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 24px 22px 0;
}

.resource-tags span {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}

.resource-card h3 {
  margin: 24px 22px 12px;
  color: var(--navy);
  font-size: 28px;
  line-height: 1.02;
}

.resource-card p {
  margin: 0 22px 22px;
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.45;
}

.resource-card img {
  width: 100%;
  height: 210px;
  margin-top: auto;
  object-fit: cover;
}

.resource-card a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: -56px 0 18px 20px;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(23, 23, 23, 0.76);
  font-size: 12px;
  font-weight: 900;
  backdrop-filter: blur(6px);
}

.appointment-section {
  padding: 96px 0;
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: var(--white);
}

.appointment-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: start;
}

.appointment-copy h2,
.appointment-copy p,
.appointment-copy .eyebrow {
  color: var(--white);
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  max-width: 520px;
}

.contact-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 700;
}

.contact-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  color: var(--green);
  background: rgba(255, 255, 255, 0.92);
}

.contact-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.map-embed {
  width: min(100%, 460px);
  height: 180px;
  margin-top: 8px;
  border: 0;
  background: rgba(255, 255, 255, 0.72);
}

.directions-btn {
  width: fit-content;
  min-width: 220px;
  margin-top: 6px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.92);
  text-transform: uppercase;
  font-size: 12px;
}

.consult-panel {
  padding: 34px;
  border-radius: 8px;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.88)),
    radial-gradient(circle at 100% 0%, rgba(255, 111, 31, 0.18), transparent 36%),
    radial-gradient(circle at 0% 100%, rgba(66, 184, 62, 0.16), transparent 34%);
  box-shadow: var(--shadow);
}

.consult-panel .eyebrow {
  color: var(--green);
}

.consult-panel h2 {
  margin: 0 0 24px;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
}

.symptom-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.symptom-grid div {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--navy);
  font-weight: 900;
}

.symptom-grid span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  font-size: 14px;
}

.consult-panel p {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 800;
}

.consult-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.site-footer {
  padding: 54px 0;
  background: #f8fcf6;
}

.footer-grid {
  display: grid;
  grid-template-columns: 0.5fr 0.25fr 0.25fr;
  gap: 34px;
}

.site-footer p,
.site-footer a {
  display: block;
  margin: 8px 0;
  color: var(--muted);
}

.site-footer h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 16px;
}

.footer-brand {
  margin-bottom: 16px;
}

@media (max-width: 980px) {
  .hero-grid,
  .why-grid,
  .appointment-grid {
    grid-template-columns: 1fr;
  }

  .hero-frame {
    min-height: auto;
    width: calc(100% - 40px);
  }

  .hero-grid {
    min-height: auto;
    padding: 44px 30px 150px;
    gap: 24px;
  }

  .hero-media {
    min-height: 430px;
  }

  .hero-media img {
    height: 450px;
    min-height: 0;
    border-radius: 8px;
  }

  .doctor-mini-card {
    left: 30px;
    bottom: 30px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .partner-row,
  .testimonial-grid,
  .resource-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .resources-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .quick-cta-grid {
    grid-template-columns: 1fr;
  }

  .quick-cta-actions {
    justify-content: flex-start;
  }

}

@media (max-width: 740px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .top-ribbon-wrap {
    min-height: auto;
    padding: 8px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }

  .ribbon-contact,
  .ribbon-social {
    width: 100%;
    flex-wrap: wrap;
    gap: 7px 14px;
  }

  .top-ribbon {
    font-size: 12px;
  }

  .nav-wrap,
  .hero-frame,
  .partner-row {
    width: calc(100% - 28px);
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 12px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .service-grid,
  .testimonial-grid,
  .resource-grid,
  .partner-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-frame {
    border-radius: 12px;
  }

  .hero-grid {
    padding: 34px 20px 20px;
  }

  .hero-media {
    margin-top: 12px;
    min-height: 320px;
  }

  .hero-media img {
    min-height: 0;
    width: min(430px, 106%);
    height: 330px;
    object-fit: contain;
    object-position: center bottom;
    transform: translateX(0);
  }

  .doctor-mini-card {
    position: static;
    width: 100%;
    margin: 14px 20px 0;
    width: calc(100% - 40px);
  }

  .quick-cta {
    padding: 18px 0 46px;
  }

  .quick-cta-grid {
    padding: 22px;
  }

  .quick-cta-actions .btn {
    width: 100%;
  }

  .directions-btn,
  .map-embed {
    width: 100%;
  }

  .symptom-grid {
    grid-template-columns: 1fr;
  }

  .why-image img {
    min-height: 0;
    height: auto;
  }

  .section,
  .why-section,
  .resources-section,
  .appointment-section {
    padding: 70px 0;
  }

  .resources-head h2 {
    font-size: 42px;
  }

  .resource-card {
    min-height: 430px;
  }

}

@media (max-width: 460px) {
  .hero-actions .btn,
  .consult-actions .btn {
    width: 100%;
  }
}


/* CUSTOM CSS */

.doctor-mini-card {
    position: static !important;
    margin-top: 30px;
    margin-bottom: 30px;
    padding-left: 20px;
    padding-right: 20px;
   width: auto !important;
    max-width: 70%;
}
.doctor-mini-card a {
    padding-left: 30px;
    padding-right: 30px;
}
.testimonials {
    padding-bottom: 200px;
}
