
:root {
  --red: #E02E40;
  --red-hover: #c4202f;
  --red-glow: rgba(224, 46, 64, 0.22);
  --red-soft: rgba(224, 46, 64, 0.08);
  --red-border: rgba(224, 46, 64, 0.25);
  --red-gradient: linear-gradient(135deg, #E02E40 0%, #C41F31 100%);

  --bg-page: #F8F9FB;
  --bg-white: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFFFF;
  --bg-subtle: #F3F4F6;
  --bg-input: #F9FAFB;
  --bg-input-focus: #FFFFFF;

  --border-card: rgba(0, 0, 0, 0.07);
  --border-card-hover: rgba(224, 46, 64, 0.35);
  --border-input: #E5E7EB;
  --border-subtle: rgba(0, 0, 0, 0.06);

  --text-primary: #111827;
  --text-secondary: #4B5563;
  --text-muted: #6B7280;
  --text-dim: #9CA3AF;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.05);
  --shadow-card-hover: 0 20px 45px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 0 24px rgba(224, 46, 64, 0.22);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  --border-card: rgba(0, 0, 0, 0.07);

}

/* --------------------------------------------------------------------------
   2. Reset & Base Typography
   -------------------------------------------------------------------------- */
#fh-doc *, #fh-doc *::before, #fh-doc *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

#fh-doc {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-page);
  overflow-x: hidden;
}

#fh-doc {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#fh-doc a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

#fh-doc button, #fh-doc input, #fh-doc select, #fh-doc textarea {
  font-family: inherit;
}

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

/* Gradient text utility */
#fh-doc .gradient-text-red {
  background: linear-gradient(135deg, #111827 30%, #E02E40 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Ambient Radial Background Glows */
#fh-doc .ambient-glow-top {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 100vw);
  max-width: 100vw;
  height: 550px;
  background: radial-gradient(circle, rgba(224, 46, 64, 0.06) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
}

/* --------------------------------------------------------------------------
   4. Hero Section: "Care • Cure • Grow" (Full Image Background - Light Mode)
   -------------------------------------------------------------------------- */
#fh-doc .doctor-hero {
  position: relative;
  min-height: 540px;
  background-color: #F8F9FB;
  background-image:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.08) 0%,
      rgba(255, 255, 255, 0.25) 34%,
      rgba(255, 255, 255, 0.88) 54%,
      rgba(255, 255, 255, 0.98) 100%
    ),
    var(--doc-hero-img);
  background-size: cover;
  background-position: 18% center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  padding: clamp(48px, 5.5vw, 80px) clamp(20px, 4vw, 56px);
  overflow: hidden;
}

#fh-doc .hero-bg-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 80% 20%, rgba(224, 46, 64, 0.04) 0%, transparent 60%);
  z-index: 1;
}

#fh-doc .hero-container {
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(24px, 4vw, 50px);
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Left Column: Visual Showcase for the Telehealth Background */
#fh-doc .hero-visual-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 480px;
  padding-bottom: 20px;
}

#fh-doc .hero-floating-glass-chip {
  position: relative;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.09);
  width: 100%;
  max-width: 390px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#fh-doc .hero-floating-glass-chip:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.12);
}

#fh-doc .chip-status {
  display: flex;
  align-items: center;
  gap: 12px;
}

#fh-doc .chip-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 2px 10px var(--red-glow);
  flex-shrink: 0;
}

#fh-doc .chip-text h4 {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 2px;
}

#fh-doc .chip-text p {
  font-size: 12px;
  color: #108A00;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

#fh-doc .chip-badge-tag {
  background: #FFF1F2;
  border: 1px solid rgba(224, 46, 64, 0.25);
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

/* Right Column: Hero Content with Luminous Frosted Glass Backdrop */
#fh-doc .hero-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 590px;
  margin-left: auto;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: clamp(28px, 3.5vw, 42px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.05);
}

#fh-doc .hero-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(224, 46, 64, 0.08);
  border: 1px solid rgba(224, 46, 64, 0.22);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  width: fit-content;
}

#fh-doc .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px var(--red);
  animation: doc-pulse 2s infinite;
}

@keyframes doc-pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(224, 46, 64, 0.6); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(224, 46, 64, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(224, 46, 64, 0); }
}

#fh-doc .hero-kicker {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: -10px;
}

#fh-doc .hero-title {
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: #111827;
}

#fh-doc .hero-description {
  font-size: clamp(15px, 1.15vw, 17px);
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 580px;
}

#fh-doc .hero-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 4px;
}

#fh-doc .hero-metric-pill {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  transition: all 0.25s ease;
}

#fh-doc .hero-metric-pill:hover {
  border-color: rgba(224, 46, 64, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

#fh-doc .hero-metric-pill .metric-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #111827;
  display: block;
  margin-bottom: 2px;
}

#fh-doc .hero-metric-pill .metric-sub {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.35;
  display: block;
}

#fh-doc .hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 6px;
}

#fh-doc .btn-primary-hero {
  background: var(--red-gradient);
  color: #ffffff;
  padding: 15px 32px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 24px var(--red-glow);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  cursor: pointer;
}

#fh-doc .btn-primary-hero:hover {
  background: linear-gradient(135deg, #FF4558 0%, #D02537 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 32px rgba(224, 46, 64, 0.38);
}

#fh-doc .btn-secondary-hero {
  background: #FFFFFF;
  color: #111827;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #D1D5DB;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}

#fh-doc .btn-secondary-hero:hover {
  background: #F9FAFB;
  border-color: #9CA3AF;
  transform: translateY(-2px);
}

@media (max-width: 991px) {






  #fh-doc .doctor-hero {
    min-height: auto;
    background-image:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.90) 0%,
        rgba(255, 255, 255, 0.96) 40%,
        rgba(255, 255, 255, 0.99) 100%
      ),
      var(--doc-hero-img);
    background-position: center top;
    padding: 30px 14px 50px;
    box-sizing: border-box;
    width: 100%;
    overflow-x: hidden;
  }

  #fh-doc .hero-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  #fh-doc .hero-left {
    order: 1;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 22px 16px;
    border-radius: 18px;
    margin: 0;
  }

  #fh-doc .hero-live-badge {
    font-size: 11.5px;
    padding: 5px 12px;
    max-width: 100%;
  }

  #fh-doc .hero-title {
    font-size: clamp(24px, 6.8vw, 32px);
    line-height: 1.15;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  #fh-doc .hero-description {
    font-size: 14.5px;
    line-height: 1.55;
  }

  #fh-doc .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  #fh-doc .btn-primary-hero, #fh-doc .btn-secondary-hero {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 14px;
    box-sizing: border-box;
  }

  #fh-doc .hero-visual-card {
    order: 2;
    min-height: auto;
    padding-bottom: 0;
    width: 100%;
    box-sizing: border-box;
  }

  #fh-doc .hero-floating-glass-chip {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  #fh-doc .chip-status {
    gap: 8px;
    min-width: 0;
    flex: 1 1 auto;
  }

  #fh-doc .chip-avatar {
    width: 32px;
    height: 32px;
    font-size: 11px;
    flex-shrink: 0;
  }

  #fh-doc .chip-text {
    min-width: 0;
  }

  #fh-doc .chip-text h4 {
    font-size: 12.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  #fh-doc .chip-text p {
    font-size: 10.5px;
    white-space: nowrap;
  }

  #fh-doc .chip-badge-tag {
    font-size: 10.5px;
    padding: 4px 8px;
    flex-shrink: 0;
  }

  #fh-doc .hero-metrics-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  #fh-doc .hero-metric-pill {
    padding: 10px 12px;
  }
}

/* --------------------------------------------------------------------------
   5. Section 2: "Let's Build the Future of Care Together" (3 Cards - Light)
   -------------------------------------------------------------------------- */
#fh-doc .build-future-section {
  padding: clamp(80px, 9vw, 120px) clamp(20px, 5vw, 64px);
  background: #FFFFFF;
  position: relative;
  border-top: 1px solid var(--border-subtle);
}

#fh-doc .section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto clamp(40px, 6vw, 64px) auto;
}

#fh-doc .section-kicker {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
  display: block;
}

#fh-doc .section-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: #111827;
  margin-bottom: 16px;
}

#fh-doc .section-subtitle {
  font-size: clamp(15px, 1.1vw, 17px);
  color: var(--text-secondary);
  line-height: 1.65;
}

#fh-doc .three-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1240px;
  margin: 0 auto;
}

#fh-doc .feature-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 3.5vw, 42px) clamp(24px, 2.5vw, 34px);
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

#fh-doc .feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

#fh-doc .feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-card-hover);
  box-shadow: var(--shadow-card-hover), 0 0 24px rgba(224, 46, 64, 0.08);
}

#fh-doc .feature-card:hover::before {
  opacity: 1;
}

#fh-doc .card-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: rgba(224, 46, 64, 0.08);
  border: 1px solid rgba(224, 46, 64, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--red);
  box-shadow: 0 4px 14px rgba(224, 46, 64, 0.12);
  transition: all 0.3s ease;
}

#fh-doc .feature-card:hover .card-icon-box {
  background: var(--red);
  color: #ffffff;
  border-color: var(--red);
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(224, 46, 64, 0.35);
}

#fh-doc .card-icon-box svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

#fh-doc .feature-card-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #111827;
  margin-bottom: 14px;
}

#fh-doc .feature-card-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
  flex-grow: 1;
  margin-bottom: 24px;
}

#fh-doc .card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

#fh-doc .card-tag {
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: #F3F4F6;
  border: 1px solid #E5E7EB;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   6. Section 3: "How It Works" (Numbered Steps + Doctor Visual - Light)
   -------------------------------------------------------------------------- */
#fh-doc .how-it-works-section {
  padding: clamp(80px, 9vw, 130px) clamp(20px, 5vw, 64px);
  background: #F8F9FB;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-subtle);
}

#fh-doc .how-container {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

#fh-doc .how-left h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #111827;
  margin-bottom: 36px;
}

#fh-doc .steps-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
}

#fh-doc .step-row {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  position: relative;
}

/* Vertical line connecting step 1, 2, 3 */
#fh-doc .step-row:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 52px;
  left: 23px;
  bottom: -24px;
  width: 2px;
  background: linear-gradient(180deg, rgba(224, 46, 64, 0.45) 0%, rgba(224, 46, 64, 0.12) 100%);
}

#fh-doc .step-num-badge {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: var(--red);
  box-shadow: 0 4px 14px rgba(224, 46, 64, 0.16);
  transition: all 0.25s ease;
  margin-top: 2px;
}

#fh-doc .step-row:hover .step-num-badge {
  background: var(--red);
  color: #ffffff;
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(224, 46, 64, 0.35);
}

#fh-doc .step-content {
  flex: 1;
}

#fh-doc .step-content h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #111827;
  margin-bottom: 6px;
}

#fh-doc .step-content p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Right Doctor Portrait with Red Circular Halo */
#fh-doc .how-right {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

#fh-doc .doctor-halo-wrap {
  position: relative;
  width: 100%;
  max-width: 440px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#fh-doc .halo-circle {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 46, 64, 0.18) 0%, rgba(224, 46, 64, 0.04) 60%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

#fh-doc .doctor-halo-img {
  width: 100%;
  max-width: 400px;
  height: auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.15));
  transition: transform 0.35s ease;
}

#fh-doc .doctor-halo-img:hover {
  transform: scale(1.025);
}

/* --------------------------------------------------------------------------
   7. Section 4: Statistics Bar (Light Mode)
   -------------------------------------------------------------------------- */
#fh-doc .stats-strip-section {
  background: #FFFFFF;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 56px clamp(20px, 4vw, 40px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

#fh-doc .stats-strip-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

#fh-doc .stats-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

#fh-doc .stats-col:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border-subtle);
}

#fh-doc .stat-bold-num {
  font-size: clamp(44px, 5.5vw, 68px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--red);
  line-height: 1;
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  justify-content: center;
}

#fh-doc .stat-bold-num .stat-plus {
  color: var(--red);
  font-size: clamp(34px, 4.2vw, 50px);
  margin-left: 2px;
}

#fh-doc .stat-label-text {
  font-size: 15px;
  font-weight: 600;
  color: #4B5563;
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   8. Section 5: Doctor Registration Form (Single Unified Light Card)
   -------------------------------------------------------------------------- */
#fh-doc .doctor-reg-section {
  padding: clamp(80px, 9vw, 130px) clamp(20px, 5vw, 64px);
  background: linear-gradient(180deg, #F8F9FB 0%, #FFFFFF 100%);
  position: relative;
}

#fh-doc .doctor-reg-card {
  max-width: 820px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: 24px;
  padding: clamp(36px, 5vw, 56px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

#fh-doc .doctor-reg-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}

/* Strictly ensure form inside .doctor-reg-card is NOT a second card */
#fh-doc .doctor-reg-card .flash_helper_container, #fh-doc .doctor-reg-card form {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

#fh-doc .reg-card-head {
  text-align: center;
  margin-bottom: 34px;
}

#fh-doc .reg-card-title {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111827;
  margin-bottom: 8px;
}

#fh-doc .reg-card-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

#fh-doc .reg-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

#fh-doc .form-full-row {
  grid-column: 1 / -1;
}

#fh-doc .reg-field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#fh-doc .reg-label {
  font-size: 13.5px;
  font-weight: 600;
  color: #1F2937;
  display: flex;
  align-items: center;
  gap: 4px;
}

#fh-doc .reg-label .req-star {
  color: var(--red);
}

#fh-doc .reg-input, #fh-doc .reg-select, #fh-doc .reg-textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 14.5px;
  color: #111827;
  outline: none;
  transition: all 0.2s ease;
}

#fh-doc .reg-input:focus, #fh-doc .reg-select:focus, #fh-doc .reg-textarea:focus {
  border-color: var(--red);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(224, 46, 64, 0.14);
}

#fh-doc .reg-input::placeholder, #fh-doc .reg-textarea::placeholder {
  color: #9CA3AF;
}

#fh-doc .reg-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%234B5563' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

#fh-doc .reg-select option {
  background: #FFFFFF;
  color: #111827;
  padding: 10px;
}

/* Time Picker Control */
#fh-doc .time-picker-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

#fh-doc .time-input-box {
  width: 68px;
  text-align: center;
  background: var(--bg-input);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-sm);
  padding: 13px 8px;
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  outline: none;
}

#fh-doc .time-input-box:focus {
  border-color: var(--red);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(224, 46, 64, 0.14);
}

#fh-doc .time-sep {
  font-weight: 700;
  color: #6B7280;
  font-size: 18px;
}

#fh-doc .time-ampm-select {
  width: 80px;
  background: var(--bg-input);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-sm);
  padding: 13px 12px;
  font-size: 14.5px;
  font-weight: 600;
  color: #111827;
  outline: none;
  cursor: pointer;
}

/* Submit Action Button - Centered Pill Button */
#fh-doc .reg-submit-wrap {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

#fh-doc .doctor_register_submit, #fh-doc .reg-submit-btn {
  background: linear-gradient(135deg, #E02E40 0%, #C41F31 100%);
  color: #ffffff;
  padding: 14px 48px;
  border-radius: var(--radius-pill);
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px var(--red-glow);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#fh-doc .doctor_register_submit:hover, #fh-doc .reg-submit-btn:hover {
  background: linear-gradient(135deg, #FF4558 0%, #D02537 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(224, 46, 64, 0.38);
}

/* Toast Success Modal (Light Mode) */
#fh-doc .modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

#fh-doc .modal-overlay.active {
  display: flex;
}

#fh-doc .modal-box {
  background: #FFFFFF;
  border: 1px solid rgba(224, 46, 64, 0.3);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
  animation: doc-modalIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes doc-modalIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

#fh-doc .modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #DCFCE7;
  border: 2px solid #108A00;
  color: #108A00;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  font-size: 28px;
}

#fh-doc .modal-title {
  font-size: 24px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 10px;
}

#fh-doc .modal-desc {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

#fh-doc .modal-close-btn {
  background: var(--red-gradient);
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px var(--red-glow);
}

/* --------------------------------------------------------------------------
   11. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  #fh-doc .hero-container, #fh-doc .how-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  #fh-doc .hero-visual-card {
    order: -1;
    max-width: 520px;
    margin: 0 auto;
  }

  #fh-doc .three-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  #fh-doc .stats-strip-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  #fh-doc .stats-col:nth-child(2)::after {
    display: none;
  }


}

@media (max-width: 768px) {






  #fh-doc .hero-metrics-row {
    grid-template-columns: 1fr;
  }

  #fh-doc .reg-form-grid {
    grid-template-columns: 1fr;
  }

  #fh-doc .stats-strip-container {
    grid-template-columns: 1fr;
  }

  #fh-doc .stats-col::after {
    display: none !important;
  }




}


/* ===== WP additions: neutralise Salient's global list / heading / form styles ===== */
#fh-doc ul, #fh-doc li { list-style: none; margin: 0; }
#fh-doc h1, #fh-doc h2, #fh-doc h3, #fh-doc h4 { font-family: inherit; letter-spacing: inherit; }
#fh-doc img { max-width: 100%; }
#fh-doc input, #fh-doc select, #fh-doc button { font-family: inherit; }
#fh-doc .chip-live-dot { width: 6px; height: 6px; }

/* ==========================================================================
   Registration form: restyles the flash-helper [f__doctor_register] shortcode markup
   Eliminates double/nested card. Strictly one unified card container.
   ========================================================================== */

/* Case 1: When inside .doctor-reg-card, remove .flash_helper_container borders/shadows */
#fh-doc .doctor-reg-card .flash_helper_container,
#fh-doc .doctor-reg-card form {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
}

#fh-doc .doctor-reg-card .flash_helper_container::before {
  display: none !important;
  content: none !important;
}

#fh-doc .flash_helper_container h2 {
  font-size: clamp(26px, 3.2vw, 36px) !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  color: #111827 !important;
  text-align: center !important;
  margin-top: 0 !important;
  margin-bottom: 34px !important;
}

/* Strictly ensure any nested form inside .flash_helper_container NEVER has a second border or shadow */
#fh-doc .flash_helper_container form,
#fh-doc .flash_helper_container .doctor_register_form {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Labels and inputs inside the single card */
#fh-doc .flash_helper_container label {
  color: #1F2937 !important;
  font-weight: 600 !important;
  font-size: 13.5px !important;
  margin-bottom: 6px !important;
  display: block !important;
}

#fh-doc .flash_helper_container input[type="text"],
#fh-doc .flash_helper_container input[type="email"],
#fh-doc .flash_helper_container input[type="tel"],
#fh-doc .flash_helper_container input[type="number"],
#fh-doc .flash_helper_container select,
#fh-doc .flash_helper_container .select2-container--default .select2-selection--single {
  background-color: #F9FAFB !important;
  background: #F9FAFB !important;
  border: 1px solid #E5E7EB !important;
  border-radius: 8px !important;
  color: #111827 !important;
  padding: 13px 16px !important;
  font-size: 14.5px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  transition: all 0.2s ease !important;
}

#fh-doc .flash_helper_container input:focus,
#fh-doc .flash_helper_container select:focus {
  background: #FFFFFF !important;
  border-color: #E02E40 !important;
  box-shadow: 0 0 0 3px rgba(224, 46, 64, 0.15) !important;
  outline: none !important;
}

/* Centered Submit Button on the single card */
#fh-doc .flash_helper_container .reg-submit-wrap,
#fh-doc .flash_helper_container .form-row:last-child,
#fh-doc .flash_helper_container .text-center {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin-top: 30px !important;
  width: 100% !important;
}

#fh-doc .flash_helper_container .btn-primary,
#fh-doc .flash_helper_container .doctor_register_submit {
  background: linear-gradient(135deg, #E02E40 0%, #C41F31 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 9999px !important;
  padding: 14px 48px !important;
  font-size: 15.5px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  box-shadow: 0 4px 20px rgba(224, 46, 64, 0.3) !important;
  transition: all 0.25s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#fh-doc .flash_helper_container .btn-primary:hover,
#fh-doc .flash_helper_container .doctor_register_submit:hover {
  background: linear-gradient(135deg, #FF4558 0%, #D02537 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 26px rgba(224, 46, 64, 0.38) !important;
}

/* The shortcode's submit button sits directly in the form (not in a .form-row): centre it. */
#fh-doc .flash_helper_container .doctor_register_form > .doctor_register_submit { display: flex !important; margin: 30px auto 0 !important; }
