:root {
  --bg: #f9fafb;
  --bg-elevated: #ffffff;
  --bg-alt: #f0fdfa;
  --accent: #0f766e; /* teal similar to MBPC */
  --accent-soft: rgba(45, 212, 191, 0.12);
  --accent-strong: rgba(13, 148, 136, 0.7);
  --text: #0f172a;
  --text-soft: #4b5563;
  --border-subtle: rgba(148, 163, 184, 0.45);
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
  --radius-lg: 18px;
  --radius-xl: 26px;
  --radius-pill: 999px;
  --nav-height: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top left, #e5f6ff 0, #f9fafb 45%, #f3f4f6 100%);
  color: var(--text);
}

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

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

/* Layout helpers */

.container {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  padding: 5rem 0;
  /* Darken the teal background slightly for better text contrast */
  background-image:
    linear-gradient(to bottom right, rgba(15, 23, 42, 0.45), rgba(15, 23, 42, 0.45)),
    url("public/tealbackground.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.section-what {
  background: #f3f4f6;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 768px) {
  .section,
  .section-alt {
    padding: 3.5rem 0;
  }

  .split {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Header & Navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.92));
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.25rem;
  padding-block: 0.75rem;
}

.header-top {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 20px;
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 0.1rem;
  border-radius: 999px;
  background: transparent;
}

.lang-btn {
  border: none;
  background: none;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  font-size: 0.7rem;
  color: var(--text-soft);
  cursor: pointer;
}

.lang-btn.lang-active {
  background: rgba(14, 165, 233, 0.12);
  color: var(--accent);
  font-weight: 600;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 40px;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  border: none;
}

.brand-logo {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #111827;
}

.brand-subtitle {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 0;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(209, 213, 219, 0.9);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
}

.nav-links a {
  font-size: 0.9rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  color: var(--text-soft);
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--accent);
  background: rgba(45, 212, 191, 0.08);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(209, 213, 219, 0.9);
  background: rgba(255, 255, 255, 0.95);
  padding: 0;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  cursor: pointer;
}

.nav-toggle-line {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text-soft);
}

@media (max-width: 768px) {
  .nav-links {
    position: static;
    inset-inline: auto;
    top: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 0.25rem 0.6rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 999px;
    border: 1px solid rgba(209, 213, 219, 0.9);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .nav-links a {
    width: auto;
    padding: 0.4rem 0.6rem;
  }
}

/* Hero */

.hero {
  position: relative;
  padding-top: 4.5rem;
  padding-bottom: 3.5rem;
  overflow: hidden;
  background-color: #ffffff;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-diagonal-image {
  position: absolute;
  inset: 0;
  background-image: url("public/starting-image.jpg");
  /* Use 100% scale so the image is less zoomed in on large screens */
  background-size: 65% auto;
  /* Nudge image further left (even beyond the edge) so more of the left side appears in the wedge */
  background-position: 105% center;
  background-repeat: no-repeat;
  /* Slightly shift diagonal left so more of the left side is visible on large screens */
  clip-path: polygon(40% 0, 100% 0, 100% 100%, 75% 110%);
  z-index: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background: rgba(240, 253, 250, 0.95);
  border: 1px solid rgba(45, 212, 191, 0.7);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1.1;
  margin: 0 0 1.25rem;
}

.hero-text {
  margin: 0;
  color: var(--text-soft);
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero-meta {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.hero-visual {
  min-height: 160px;
}

.hero-card {
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at top left, rgba(45, 212, 191, 0.12), #ffffff);
  border: 1px solid rgba(209, 213, 219, 0.9);
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow-soft);
}

.hero-card-primary h2 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
}

.hero-card-primary p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.hero-card-secondary {
  max-width: 260px;
  margin-left: auto;
  background: radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.18), #ffffff);
}

.hero-card-secondary h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.hero-card-secondary p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

@media (max-width: 880px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    order: -1;
  }
}

@media (max-width: 768px) {
  .site-header {
    position: static;
  }

  .header-inner {
    padding-block: 0.25rem;
  }

  .brand-mark {
    height: 24px;
  }

  .hero {
    padding-top: 0;
    padding-bottom: 1.8rem;
  }

  .hero-inner {
    margin-top: -1.4rem;
  }

  /* Simplify hero on small/medium screens – hide diagonal image background */
  .hero-diagonal-image {
    display: none;
  }

  /* Hide navigation links on small/medium screens */
  .nav {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.3rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease,
    transform 140ms ease, box-shadow 140ms ease;
}

.btn-primary {
  background: linear-gradient(135deg, #14b8a6, #0ea5e9);
  color: #ecfeff;
  box-shadow: 0 16px 40px rgba(14, 165, 233, 0.3);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 20px 55px rgba(34, 197, 94, 0.45);
}

.btn-outline {
  border-color: rgba(209, 213, 219, 0.9);
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-soft);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  color: var(--text);
  border-color: rgba(148, 163, 184, 0.9);
  background: rgba(15, 23, 42, 0.95);
}

.full-width {
  width: 100%;
}

/* Sections common */

.section-header {
  max-width: 34rem;
  margin-bottom: 2.3rem;
}

.section-header h2 {
  margin: 0 0 0.75rem;
  font-size: 1.6rem;
}

.section-header p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.section-copy h2 {
  margin: 0 0 0.75rem;
  font-size: 1.6rem;
}

.section-subheading {
  margin: 1.4rem 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
}

.section-alt .section-subheading {
  color: #f9fafb;
}

.section-copy p {
  margin: 0 0 0.85rem;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.muted {
  color: #6b7280;
}

/* Improve contrast on teal background sections */
.section-alt .section-copy h2,
.section-alt .section-copy p,
.section-alt .checklist li {
  color: #f9fafb;
}

.section-alt .muted {
  color: #e5e7eb;
}

.about-link {
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.section-alt .about-link {
  color: #f9fafb;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1.1rem 0 0;
  display: grid;
  gap: 0.4rem;
}

/* Extra space between checklist bullets and trailing link paragraph */
.section-copy .checklist {
  margin-bottom: 2.5rem;
}

.checklist li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.92rem;
  color: var(--text);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  border: 2px solid #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}

/* Stats */

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.stat {
  border-radius: 18px;
  padding: 1rem 1.1rem;
  background: #ffffff;
  border: 1px solid rgba(209, 213, 219, 0.9);
  box-shadow: var(--shadow-soft);
}

.stat-number {
  display: block;
  font-weight: 600;
  font-size: 1.25rem;
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-soft);
}

/* Meet Dr. Singh */

.doctor-photo-large {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  object-fit: cover;
}

.expect-image-placeholder {
  width: 100%;
  max-width: 420px;
  height: 220px;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(148, 163, 184, 0.7);
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.9), rgba(226, 232, 240, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  color: var(--text-soft);
  font-size: 0.85rem;
}

.expect-image {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Cards */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at top, var(--accent-soft), transparent 55%);
  opacity: 0;
  transition: opacity 200ms ease;
}

.card h3 {
  position: relative;
  margin: 0 0 0.7rem;
  font-size: 1.1rem;
}

.card p {
  position: relative;
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.card:hover::before {
  opacity: 1;
}

.conditions-card {
  margin-top: 1.5rem;
}

.conditions-list {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.conditions-list li + li {
  margin-top: 0.25rem;
}

@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .card-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Contact form */

.contact-form {
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem;
  background: #ffffff;
  border: 1px solid rgba(209, 213, 219, 0.9);
  box-shadow: var(--shadow-soft);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.form-row label {
  font-size: 0.82rem;
  color: var(--text-soft);
}

.form-row input,
.form-row textarea {
  border-radius: 0.9rem;
  border: 1px solid rgba(209, 213, 219, 0.9);
  background: #f9fafb;
  color: var(--text);
  padding: 0.55rem 0.7rem;
  font: inherit;
  resize: vertical;
}

.form-row input:focus-visible,
.form-row textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: #9ca3af;
}

/* Footer */

.site-footer {
  padding: 2.5rem 0 2rem;
  border-top: 1px solid rgba(229, 231, 235, 0.9);
  background: #ffffff;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
  gap: 2rem;
  font-size: 0.85rem;
  color: var(--text-soft);
  align-items: flex-start;
}

.footer-brand {
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-brand-block {
  max-width: 420px;
}

.footer-text {
  margin: 0.6rem 0 0;
  font-size: 0.85rem;
}

.footer-text a {
  color: var(--accent);
}

.footer-links {
  display: flex;
  gap: 2.5rem;
  justify-content: flex-end;
}

.footer-column h3 {
  margin: 0 0 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #111827;
}

.footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.footer-column a {
  color: var(--text-soft);
  text-decoration: none;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: var(--accent);
}

.footer-meta {
  grid-column: 1 / -1;
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: #9ca3af;
}

@media (max-width: 600px) {
  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }
}


