/* ============================================
   Horizons Program — Styles
   Deep Navy #1a3a5c | Burnt Orange #c2642a | Soft Gold #c8952e | White
   Clean, scientific design — NOT wellness/spa
   ============================================ */

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

:root {
  --navy: #1a3a5c;
  --navy-dark: #0f2440;
  --navy-light: #2a5a8c;
  --orange: #c2642a;
  --orange-light: #d4793f;
  --gold: #c8952e;
  --gold-light: #d4a843;
  --gold-pale: #f0e4c8;
  --white: #ffffff;
  --off-white: #f8f6f1;
  --gray-50: #fafaf8;
  --gray-100: #f0eeea;
  --gray-200: #e0ddd6;
  --gray-400: #9a9590;
  --gray-600: #5a5550;
  --gray-800: #2a2520;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --container-max: 1100px;
  --section-padding: 96px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  line-height: 1.7;
  font-size: 16px;
  background: var(--white);
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Navigation ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  border-bottom-color: var(--gray-200);
  box-shadow: 0 1px 16px rgba(0,0,0,0.05);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo-icon {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4px;
}

.nav-links a {
  text-decoration: none;
  color: var(--gray-600);
  font-size: 13.5px;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.nav-links a:hover {
  color: var(--navy);
  background: var(--gray-50);
}

.nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 7px 18px;
}

.nav-cta:hover {
  background: var(--navy-light) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(178deg, var(--white) 0%, var(--off-white) 50%, var(--white) 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(26, 58, 92, 0.03) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 80%, rgba(200, 149, 46, 0.04) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 68px;
  padding-bottom: 48px;
}

.hero-logo {
  margin-bottom: 32px;
}

.hero-logo-img {
  max-width: 496px;
  width: 100%;
  height: auto;
}

.hero-logo {
  margin-bottom: 80px;
}

.hero-description {
  font-size: 18px;
  color: var(--gray-600);
  max-width: 620px;
  margin: 0 auto 48px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gray-400);
  animation: bounce 2.5s ease infinite;
  pointer-events: none;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-6px); }
  60% { transform: translateX(-50%) translateY(-3px); }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-primary:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(26, 58, 92, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(200, 149, 46, 0.25);
}

/* ---- Sections ---- */
.section {
  padding: var(--section-padding) 0;
}

.section-alt {
  background: var(--off-white);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
}

.section-divider {
  width: 50px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto 18px;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---- About ---- */
.about-intro {
  max-width: 740px;
  margin: 0 auto 48px;
  text-align: center;
}

.about-intro p {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.9;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.about-card {
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 32px 24px;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.06);
  border-color: var(--gold);
}

.about-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.about-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 14px;
}

.about-card ul {
  list-style: none;
  padding: 0;
}

.about-card li {
  padding: 5px 0 5px 18px;
  position: relative;
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
}

.about-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

/* Conditions section */
.conditions-section {
  text-align: center;
  border-top: 1px solid var(--gray-200);
  padding-top: 48px;
}

.conditions-heading {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 6px;
}

.conditions-intro {
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 24px;
}

.conditions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.condition-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 12px 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  transition: all 0.2s ease;
}

.condition-tag:hover {
  border-color: var(--gold);
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.conditions-disclaimer {
  font-size: 12px;
  color: var(--gray-400);
  font-style: italic;
  line-height: 1.6;
  max-width: 500px;
  margin: 24px auto 0;
}

/* ---- Physician Collaboration ---- */
.physician-lead {
  text-align: center;
  font-size: 16px;
  color: var(--gray-600);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.physician-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

.physician-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.2s ease;
}

.physician-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.physician-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.physician-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 8px;
}

.physician-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
}

.physician-cta {
  text-align: center;
}

/* ---- Steps ---- */
.steps-container {
  max-width: 660px;
  margin: 0 auto 56px;
  position: relative;
}

.steps-container::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 36px;
  bottom: 36px;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--gold-pale));
}

.step {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  position: relative;
}

.step:last-child {
  margin-bottom: 0;
}

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--navy);
  margin-bottom: 6px;
  padding-top: 2px;
}

.step-content p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* Follow-up schedule */
.followup-schedule {
  max-width: 660px;
  margin: 0 auto;
  border-top: 1px solid var(--gray-200);
  padding-top: 40px;
}

.followup-title {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--navy);
  text-align: center;
  margin-bottom: 24px;
}

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

.followup-item {
  text-align: center;
  background: var(--off-white);
  border-radius: 8px;
  padding: 20px 12px;
  border: 1px solid var(--gray-200);
}

.followup-time {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.followup-desc {
  font-size: 12px;
  color: var(--gray-600);
}

/* ---- Eligibility ---- */
.eligibility-grid {
  max-width: 680px;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.eligibility-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 20px 24px;
}

.eligibility-icon {
  flex-shrink: 0;
  color: var(--gold);
  padding-top: 2px;
}

.eligibility-item h3 {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 4px;
}

.eligibility-item p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
}

.eligibility-cta {
  text-align: center;
}

.eligibility-cta p {
  font-size: 15px;
  color: var(--gray-600);
  margin-bottom: 12px;
}

/* ---- Research ---- */
.research-lead {
  text-align: center;
  font-size: 17px;
  color: var(--gray-600);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.research-card {
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 28px 24px;
}

.research-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 10px;
}

.research-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
}

.credibility-box {
  background: var(--navy);
  color: var(--white);
  border-radius: 10px;
  padding: 36px 32px;
  max-width: 640px;
  margin: 0 auto;
}

.credibility-box h3 {
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 16px;
}

.credibility-box ul {
  list-style: none;
  padding: 0;
}

.credibility-box li {
  padding: 8px 0 8px 22px;
  position: relative;
  font-size: 14px;
  opacity: 0.85;
  line-height: 1.6;
}

.credibility-box li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15px;
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
}

/* ---- Support / CTA ---- */
.section-cta {
  background: linear-gradient(175deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: var(--white);
}

.support-content {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}

.support-content h2 {
  font-family: var(--font-display);
  font-size: 36px;
  margin-bottom: 16px;
}

.support-lead {
  font-size: 17px;
  opacity: 0.85;
  margin-bottom: 16px;
  line-height: 1.8;
}

.support-content > p {
  font-size: 15px;
  opacity: 0.7;
  margin-bottom: 32px;
  line-height: 1.8;
}

/* ---- Forms ---- */
.forms-tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 36px;
  background: var(--gray-100);
  border-radius: 8px;
  padding: 4px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.tab-btn {
  flex: 1;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  background: transparent;
  color: var(--gray-600);
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.tab-btn.active {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.form-panel {
  display: none;
  max-width: 640px;
  margin: 0 auto;
}

.form-panel.active {
  display: block;
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-section-title {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--navy);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-200);
  margin-top: 8px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-800);
}

.required {
  color: var(--orange);
}

.form-group input,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 14px;
  padding: 10px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  background: var(--white);
  color: var(--gray-800);
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy-light);
  box-shadow: 0 0 0 3px rgba(26, 58, 92, 0.08);
}

.form-group textarea {
  resize: vertical;
}

.btn-submit {
  align-self: flex-start;
  margin-top: 8px;
}

/* ---- Footer ---- */
.footer {
  background: var(--gray-800);
  color: rgba(255, 255, 255, 0.6);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

.footer-logo {
  margin-bottom: 8px;
}

.footer-logo-img {
  height: 280px;
  width: auto;
}

.footer-links h4 {
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 7px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
}

.footer-bottom p {
  margin-bottom: 6px;
}

.footer-disclaimer {
  opacity: 0.4;
  max-width: 560px;
  margin: 0 auto;
  font-size: 11px !important;
  line-height: 1.6;
}

/* ---- Banners ---- */
.banner {
  height: 220px;
  position: relative;
  overflow: hidden;
  clip: rect(0, auto, auto, 0);
  -webkit-clip-path: inset(0);
  clip-path: inset(0);
}

.banner-img {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  z-index: 0;
  pointer-events: none;
}

.banner-tall {
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 36, 64, 0.55) 0%, rgba(26, 58, 92, 0.45) 100%);
}

.banner-text {
  position: relative;
  z-index: 1;
  text-align: center;
}

.banner-text span {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.5px;
  opacity: 0.9;
}

/* ---- Section Backgrounds ---- */
#physicians {
  background: var(--off-white);
}

#eligibility {
  background:
    linear-gradient(180deg, rgba(248,246,241,0.93) 0%, rgba(248,246,241,0.95) 100%),
    url('https://images.unsplash.com/photo-1557683316-973673baf926?w=1200&q=60') center/cover no-repeat;
}

/* ---- Animations ---- */

/* Fade up */
.anim-fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.anim-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fade in (no movement) */
.anim-fade {
  opacity: 0;
  transition: opacity 0.8s ease;
}
.anim-fade.visible {
  opacity: 1;
}

/* Slide from left */
.anim-slide-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.anim-slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Slide from right */
.anim-slide-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.anim-slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scale up */
.anim-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.anim-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Section title reveal */
.section-title {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.section-title.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-divider {
  transform: scaleX(0);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}
.section-divider.visible {
  transform: scaleX(1);
}

.section-subtitle {
  opacity: 0;
  transition: opacity 0.6s ease 0.3s;
}
.section-subtitle.visible {
  opacity: 1;
}

/* Hero entrance */
.hero-logo {
  opacity: 0;
  transform: scale(0.9);
  animation: heroLogoIn 1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

.hero-description {
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 0.8s ease 0.6s forwards;
}

.hero-actions {
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 0.8s ease 0.9s forwards;
}

@keyframes heroLogoIn {
  to { opacity: 1; transform: scale(1); }
}

@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Parallax handled via JS transform on .banner-img */

/* Counter animation */
.stat-number {
  transition: all 0.3s ease;
}

/* Gold divider line animation */
.about-subheading {
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.about-subheading.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Step number pulse on reveal */
.step-number {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}
.step.visible .step-number {
  box-shadow: 0 0 0 4px rgba(26, 58, 92, 0.12);
}

/* Credibility box */
.credibility-box {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.credibility-box.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Form tab transition */
.form-panel {
  animation: formFadeIn 0.4s ease;
}
@keyframes formFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Button hover micro-interactions */
.btn {
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Card hover lift */
.physician-card,
.research-card,
.eligibility-item,
.followup-item,
.condition-card {
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.physician-card:hover,
.research-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.07);
}

.eligibility-item:hover {
  transform: translateX(4px);
  border-color: var(--gold);
}

/* Navbar smooth transition */
.navbar {
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .banner {
    background-attachment: scroll;
  }
}

/* ---- Responsive ---- */
/* Landscape phones and small tablets */
@media (max-width: 1024px) and (max-height: 500px) {
  .hero-logo-img {
    max-width: 384px !important;
    width: 384px !important;
  }

  .hero-content {
    padding-top: 100px;
  }

  .hero-logo {
    margin-bottom: 24px;
  }
}

@media (max-width: 1024px) {
  .about-cards {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
  }

  body {
    font-size: 17px;
    overflow-x: hidden;
  }

  /* Nav: bigger logo, bigger hamburger */
  .nav-logo-icon {
    height: 51px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle span {
    width: 26px;
    height: 2.5px;
  }

  /* Nav dropdown: large canvas, generous spacing */
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 10vw 24px 10vw;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    gap: 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    border-bottom: 1px solid var(--gray-200);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links a {
    display: block;
    padding: 5vw 16px;
    width: 100%;
    font-size: 19px;
    font-weight: 500;
    border-radius: 0;
    border-bottom: none;
  }

  .nav-links a:hover,
  .nav-links a:active {
    background: var(--gray-50);
  }

  .nav-cta {
    margin-top: 8vw !important;
    text-align: center;
    width: 100% !important;
    padding: 18px 16px !important;
    font-size: 17px !important;
    border-bottom: none !important;
    border-radius: 8px !important;
  }

  /* Hero */
  .hero-logo {
    margin-bottom: 40px;
  }

  .hero-logo-img {
    max-width: none !important;
    width: 81vw !important;
  }

  .hero-description {
    font-size: 17px;
    line-height: 1.7;
    padding: 0 16px;
  }

  /* Section headers */
  .section-title {
    font-size: 26px;
  }

  .section-subtitle,
  .physician-lead,
  .research-lead {
    font-size: 16px;
  }

  /* About */
  .about-intro p {
    font-size: 16px;
  }

  .about-card li,
  .about-card p {
    font-size: 15px;
  }

  /* Physician cards */
  .physician-grid {
    grid-template-columns: 1fr;
  }

  .physician-card p {
    font-size: 15px;
  }

  /* Steps */
  .step-content p {
    font-size: 15px;
  }

  /* Follow-up: equal cards */
  .followup-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .followup-item {
    min-height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* Conditions grid */
  .conditions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Eligibility */
  .eligibility-item p {
    font-size: 15px;
  }

  /* Research */
  .research-card p {
    font-size: 15px;
  }

  /* Banners: parallax handled via JS */

  /* Form: prevent horizontal shifting */
  .form-panel,
  .inquiry-form {
    width: 100%;
    max-width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-group label {
    font-size: 14px;
  }

  .form-group input,
  .form-group textarea {
    font-size: 16px; /* prevents iOS zoom on focus */
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-logo-img {
    height: 160px;
  }

  .steps-container::before {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-logo-img {
    max-width: none;
    width: 66vw;
    margin-left: 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    padding: 14px 28px;
    font-size: 15px;
  }

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

  .conditions-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .condition-tag {
    font-size: 12px;
    padding: 10px 6px;
  }
}
