/* ===============================
PATIENT RESOURCE CENTER - CLEAN MINIMAL DESIGN
All sections unified with consistent styling
=============================== */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* VIGEO Brand Colors - professional, subtle tones */
  --brand-red: #af2d2c;
  --brand-red-dark: #8b2322;
  --brand-red-light: #ba4d4b;
  --brand-red-subtle: #c8706e;
  --primary-color: #af2d2c;
  
  /* Professional gradient colors */
  --gradient-start: #af2d2c;
  --gradient-end: #965851;
  --secondary-color: #64748b;
  
  /* Text Colors */
  --text-dark: #1a1a1a;
  --text-secondary: #666;
  --text-gray: #666;
  --text-light: #888;
  
  /* Background Colors */
  --bg-white: #ffffff;
  --light-bg: #fafafa;
  --bg-gray: #f7f7f7;
  --border-color: #e0e0e0;
  --border-light: #f0f0f0;
  
  /* Shadows and Effects */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.08);
  
  /* Border Radius */
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  
  /* Success Color for eligibility */
  --success-color: #27ae60;
}

/* Body and Font Setup */
body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-dark);
  background: #ffffff;
}

/* Resource guide page specific - push content below fixed nav */
body.resource-guide-page {
  padding-top: 80px;
  background: #ffffff;
  min-height: 100vh;
}

/* Removed transition classes - no longer needed with permanent consolidated nav */

/* Page Header */
.page-header {
  padding: 20px;
  text-align: center;
  background: var(--light-bg);
  border-bottom: 1px solid var(--border-color);
}

.page-header p {
  font-size: 1rem;
  color: var(--text-gray);
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Main Navigation Bar - Hidden (using consolidated nav only) */
.main-nav-bar {
  display: none;
}

.main-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  min-height: 64px;
  gap: 24px;
}

/* Back to Home Button */
.back-to-home-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text-gray);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.back-to-home-btn:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.back-to-home-btn svg {
  width: 16px;
  height: 16px;
}

/* Navigation Title */
.nav-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
  text-align: center;
  flex: 1;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  transition: all 0.3s ease;
}

.main-nav-bar .nav-title {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}

/* Phone Button in Nav */
.nav-phone-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.nav-phone-btn:hover {
  background: var(--brand-red-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.nav-phone-btn svg {
  width: 16px;
  height: 16px;
}

/* Consolidated Navigation Bar - Always Visible */
.tabs-nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: white;
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid var(--border-color);
  min-height: 60px;
  height: 60px;
}

/* Additional styles removed - consolidated above */

.tabs-nav-bar .resource-tabs {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 20px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 8px;
}

.tabs-nav-bar .tabs-center {
  display: flex;
  gap: 8px;
  align-items: center;
}

.tabs-nav-bar .tabs-left {
  display: flex;
  align-items: center;
}

.tabs-nav-bar .tabs-right {
  display: flex;
  align-items: center;
}

.tabs-nav-bar .tab-btn {
  padding: 10px 16px;
  font-size: 0.875rem;
  min-width: auto;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.tabs-nav-bar .tab-btn:hover {
  background: rgba(175, 45, 44, 0.05);
}

.tabs-nav-bar .tab-btn.active {
  background: rgba(175, 45, 44, 0.1);
  border-bottom: none;
}

/* Compact navigation elements */
.tabs-nav-bar .compact-back-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.tabs-nav-bar .compact-back-btn:hover {
  background: var(--light-bg);
  color: var(--text-dark);
}

.tabs-nav-bar .compact-phone-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  background: var(--brand-red);
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.tabs-nav-bar .compact-phone-btn:hover {
  background: var(--brand-red-dark);
}

.tabs-nav-bar .compact-back-btn svg,
.tabs-nav-bar .compact-phone-btn svg {
  width: 14px;
  height: 14px;
}

.resource-tabs {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 20px;
  gap: 8px;
  overflow-x: auto;
}

/* Consolidated layout sections */
.tabs-nav-bar .tabs-left {
  display: flex;
  align-items: center;
}

.tabs-nav-bar .tabs-center {
  display: flex;
  gap: 8px;
  align-items: center;
}

.tabs-nav-bar .tabs-right {
  display: flex;
  align-items: center;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-gray);
  transition: all 0.2s ease;
  border-radius: 6px;
  white-space: nowrap;
  min-width: auto;
  justify-content: center;
  font-family: inherit;
}

.tab-btn:hover {
  color: var(--brand-red);
  background: rgba(175, 45, 44, 0.05);
}

.tab-btn.active {
  color: var(--brand-red);
  background: rgba(175, 45, 44, 0.1);
}

.tab-btn svg {
  width: 16px;
  height: 16px;
}

/* Tab Content Container */
.tab-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  min-height: calc(100vh - 80px);
}

.tab-panel {
  display: none;
  padding: 20px 0 50px 0;
}

.tab-panel.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Welcome Hero Section */
.welcome-hero {
  background: white;
  color: var(--text-dark);
  padding: 40px 20px 50px 20px; /* Normal padding since body handles offset */
  text-align: center;
  margin-bottom: 40px;
}

.welcome-content h2,
.hero-content h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.welcome-content p,
.hero-content .hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-dark);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Quick Navigation */
.quick-nav-section {
  margin-bottom: 50px;
}

.quick-nav-section h3 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 30px;
}

.quick-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Handle 5 items - center the last item */
.quick-nav-grid:has(.quick-nav-item:nth-child(5):last-child) {
  grid-template-columns: repeat(3, 1fr);
}

.quick-nav-grid:has(.quick-nav-item:nth-child(5):last-child) .quick-nav-item:nth-child(4) {
  grid-column: 1 / 2;
}

.quick-nav-grid:has(.quick-nav-item:nth-child(5):last-child) .quick-nav-item:nth-child(5) {
  grid-column: 2 / 3;
}

/* Handle 4 items - 2x2 grid */
.quick-nav-grid:has(.quick-nav-item:nth-child(4):last-child) {
  grid-template-columns: repeat(2, 1fr);
  max-width: 900px;
}

/* Handle nav-card grids similarly */
.quick-nav-grid:has(.nav-card) {
  grid-template-columns: repeat(3, 1fr);
}

.quick-nav-grid:has(.nav-card:nth-child(5):last-child) .nav-card:nth-child(4) {
  grid-column: 1 / 2;
}

.quick-nav-grid:has(.nav-card:nth-child(5):last-child) .nav-card:nth-child(5) {
  grid-column: 2 / 3;
}

.quick-nav-grid:has(.nav-card:nth-child(4):last-child) {
  grid-template-columns: repeat(2, 1fr);
  max-width: 900px;
}

.quick-nav-item {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.quick-nav-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.quick-nav-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: white;
}

.quick-nav-icon svg {
  width: 28px;
  height: 28px;
}

.quick-nav-item h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.quick-nav-item p {
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Navigation Cards (for PT and Companion sections) */
.nav-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.nav-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-red);
}

.nav-card.urgent {
  border-color: var(--brand-red);
  background: rgba(175, 45, 44, 0.02);
}

.nav-card.cta {
  background: var(--light-bg);
  border-color: var(--brand-red-light);
}

.nav-card-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: white;
}

.nav-card-icon svg {
  width: 28px;
  height: 28px;
}

.nav-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.nav-card p {
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

/* Eligibility Quiz Styles - Fully Responsive */
.eligibility-quiz {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 32px);
  margin-bottom: 48px;
  max-width: 100%;
  overflow-x: hidden;
}

.quiz-header {
  text-align: center;
  margin-bottom: clamp(20px, 4vw, 32px);
}

.quiz-header h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  word-wrap: break-word;
}

.quiz-header p {
  color: var(--text-gray);
  font-size: clamp(0.875rem, 2vw, 1rem);
  max-width: 600px;
  margin: 0 auto;
  padding: 0 10px;
}

.quiz-progress {
  background: rgba(175, 45, 44, 0.1);
  border-radius: 8px;
  height: 8px;
  margin: clamp(16px, 3vw, 24px) auto;
  overflow: hidden;
  max-width: 100%;
}

.progress-bar {
  background: var(--primary-color);
  height: 100%;
  width: 0;
  transition: width 0.3s ease;
  border-radius: 8px;
}

.quiz-sections {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
  margin-bottom: clamp(20px, 4vw, 32px);
}

.quiz-section {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: clamp(16px, 3vw, 24px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  max-width: 100%;
}

.section-header {
  display: flex;
  align-items: center;
  gap: clamp(8px, 2vw, 12px);
  margin-bottom: clamp(16px, 3vw, 20px);
  padding-bottom: clamp(12px, 2vw, 16px);
  border-bottom: 2px solid var(--bg-light);
  flex-wrap: wrap;
}

.section-icon {
  width: clamp(32px, 5vw, 40px);
  height: clamp(32px, 5vw, 40px);
  background: rgba(175, 45, 44, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.section-icon svg {
  width: clamp(18px, 3vw, 24px);
  height: clamp(18px, 3vw, 24px);
  stroke: var(--primary-color);
  fill: none;
  stroke-width: 2;
}

.section-title {
  flex: 1;
  min-width: 0;
}

.section-title h4 {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 4px 0;
  word-wrap: break-word;
}

.section-title p {
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  color: var(--text-gray);
  margin: 0;
  word-wrap: break-word;
}

.section-count {
  background: rgba(175, 45, 44, 0.1);
  color: var(--primary-color);
  padding: clamp(3px, 0.5vw, 4px) clamp(8px, 1.5vw, 12px);
  border-radius: 12px;
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  font-weight: 600;
  white-space: nowrap;
}

.requirement-list {
  display: grid;
  gap: clamp(8px, 1.5vw, 12px);
}

.requirement-item {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: clamp(12px, 2vw, 16px);
  transition: all 0.2s ease;
  border: 2px solid transparent;
  max-width: 100%;
}

.requirement-item:hover {
  border-color: rgba(175, 45, 44, 0.2);
}

.requirement-item.checked {
  background: rgba(175, 45, 44, 0.05);
  border-color: var(--primary-color);
}

.requirement-checkbox {
  display: flex;
  align-items: flex-start;
  gap: clamp(8px, 1.5vw, 12px);
  cursor: pointer;
}

.requirement-checkbox input[type="checkbox"] {
  width: clamp(18px, 3vw, 20px);
  height: clamp(18px, 3vw, 20px);
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--primary-color);
  flex-shrink: 0;
}

.requirement-content {
  flex: 1;
  min-width: 0;
}

.requirement-label {
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 4px;
  display: block;
  font-size: clamp(0.875rem, 2vw, 1rem);
  word-wrap: break-word;
  line-height: 1.3;
}

.requirement-description {
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  color: var(--text-gray);
  line-height: 1.4;
  word-wrap: break-word;
}

.info-note {
  background: #fef3c7;
  border-left: 4px solid #f59e0b;
  padding: clamp(10px, 2vw, 12px) clamp(12px, 2vw, 16px);
  border-radius: var(--radius);
  margin-top: clamp(12px, 2vw, 16px);
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  color: #92400e;
  word-wrap: break-word;
}

.info-note strong {
  color: #92400e;
}

.quiz-results {
  margin-top: clamp(20px, 4vw, 32px);
}

.result-card {
  display: none;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 32px);
  text-align: center;
  box-shadow: var(--shadow-lg);
  max-width: 100%;
  overflow-x: hidden;
}

.result-card.show {
  display: block;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.result-icon {
  width: clamp(60px, 10vw, 80px);
  height: clamp(60px, 10vw, 80px);
  margin: 0 auto clamp(16px, 3vw, 24px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.result-icon.success {
  background: rgba(34, 197, 94, 0.1);
}

.result-icon.success svg {
  width: clamp(32px, 6vw, 48px);
  height: clamp(32px, 6vw, 48px);
  stroke: #15803d;
}

.result-icon.partial {
  background: rgba(251, 191, 36, 0.1);
}

.result-icon.partial svg {
  width: clamp(32px, 6vw, 48px);
  height: clamp(32px, 6vw, 48px);
  stroke: #f59e0b;
}

.result-icon.error {
  background: rgba(239, 68, 68, 0.1);
}

.result-icon.error svg {
  width: clamp(32px, 6vw, 48px);
  height: clamp(32px, 6vw, 48px);
  stroke: #dc2626;
}

.result-title {
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  word-wrap: break-word;
}

.result-message {
  color: var(--text-gray);
  margin-bottom: clamp(16px, 3vw, 24px);
  line-height: 1.6;
  font-size: clamp(0.875rem, 2vw, 1rem);
  padding: 0 10px;
  word-wrap: break-word;
}

.result-actions {
  display: flex;
  gap: clamp(12px, 2vw, 16px);
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 10px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--brand-red-dark));
  color: white;
  padding: clamp(12px, 2vw, 14px) clamp(20px, 3vw, 28px);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  font-size: clamp(0.875rem, 2vw, 1rem);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(175, 45, 44, 0.2);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--brand-red-dark), var(--primary-color));
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(175, 45, 44, 0.3);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  padding: clamp(10px, 2vw, 12px) clamp(18px, 3vw, 24px);
  border: 2px solid var(--primary-color);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  display: inline-block;
  font-size: clamp(0.875rem, 2vw, 1rem);
  white-space: nowrap;
}

.btn-secondary:hover {
  background: rgba(175, 45, 44, 0.05);
}

/* Responsive Media Queries for Eligibility Quiz */
@media (max-width: 1024px) {
  .eligibility-quiz {
    padding: 24px;
  }
  
  .section-header {
    gap: 10px;
  }
  
  .requirement-item {
    padding: 14px;
  }
}

@media (max-width: 768px) {
  .eligibility-quiz {
    padding: 20px;
    border-radius: 12px;
  }
  
  .section-header {
    flex-direction: row;
    align-items: flex-start;
  }
  
  .section-icon {
    width: 36px;
    height: 36px;
  }
  
  .section-count {
    margin-left: auto;
  }
  
  .requirement-checkbox {
    gap: 10px;
  }
  
  .result-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .eligibility-quiz {
    padding: 16px;
    margin-bottom: 32px;
  }
  
  .quiz-header {
    margin-bottom: 20px;
  }
  
  .quiz-sections {
    gap: 16px;
  }
  
  .quiz-section {
    padding: 16px;
  }
  
  .section-header {
    margin-bottom: 12px;
    padding-bottom: 12px;
  }
  
  .section-icon {
    width: 32px;
    height: 32px;
  }
  
  .section-icon svg {
    width: 18px;
    height: 18px;
  }
  
  .requirement-list {
    gap: 10px;
  }
  
  .requirement-item {
    padding: 12px;
  }
  
  .requirement-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
  }
  
  .info-note {
    padding: 10px 12px;
    margin-top: 12px;
  }
  
  .result-card {
    padding: 20px;
  }
  
  .result-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 16px;
  }
  
  .result-icon svg {
    width: 36px;
    height: 36px;
  }
}

/* Tablet/Hybrid View Specific (Edge Issue) */
@media (min-width: 481px) and (max-width: 1024px) {
  .eligibility-quiz {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  
  .quiz-section {
    padding: 20px;
  }
  
  .requirement-label {
    font-size: 0.95rem;
  }
  
  .requirement-description {
    font-size: 0.85rem;
  }
}

/* Ensure quiz doesn't overflow container */
@media screen and (max-width: 1280px) {
  .eligibility-quiz {
    width: 100%;
    box-sizing: border-box;
  }
  
  .quiz-header p {
    padding: 0 15px;
  }
  
  .result-message {
    max-width: 100%;
    box-sizing: border-box;
  }
}

/* Microsoft Edge Specific Fixes */
@supports (-ms-ime-align: auto) {
  .eligibility-quiz {
    width: calc(100% - 20px);
    margin-left: 10px;
    margin-right: 10px;
  }
}

/* Edge and IE fallback */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .eligibility-quiz {
    display: block;
    width: 100%;
  }
  
  .quiz-sections {
    display: block;
  }
  
  .quiz-section {
    margin-bottom: 20px;
  }
}

/* Ensure touch-friendly sizing on all hybrid devices */
@media (pointer: coarse) {
  .requirement-checkbox input[type="checkbox"] {
    min-width: 24px;
    min-height: 24px;
  }
  
  .requirement-item {
    min-height: 60px;
    cursor: pointer;
  }
  
  .btn-primary,
  .btn-secondary {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Viewport-based responsive adjustments */
@media screen and (min-aspect-ratio: 3/4) and (max-aspect-ratio: 4/3) {
  /* Square-ish screens (some tablets) */
  .eligibility-quiz {
    padding: 20px;
  }
  
  .quiz-section {
    padding: 18px;
  }
}

/* Ensure readable font sizes on all devices */
@media screen and (max-width: 1366px) {
  html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
  }
  
  .eligibility-quiz {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* Eligibility Information Section */
.eligibility-criteria {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 30px 0;
}

.criteria-card {
  background: var(--bg-white);
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all 0.3s ease;
}

.criteria-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.criteria-card h4 {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.criteria-card p {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.4;
}

.eligibility-cta {
  text-align: center;
  padding: 30px;
  background: var(--bg-light);
  border-radius: var(--radius);
  margin-top: 30px;
}

.eligibility-cta p {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 20px;
}

/* Responsive for Eligibility Criteria */
@media (max-width: 1024px) {
  .eligibility-criteria {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .eligibility-criteria {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

/* Coverage Comparison */
.coverage-comparison {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.coverage-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.coverage-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.coverage-header {
  padding: 24px 24px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.coverage-header h4 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
}

.coverage-badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.coverage-badge.medicare {
  background: rgba(34, 197, 94, 0.1);
  color: #15803d;
}

.coverage-badge.insurance {
  background: rgba(59, 130, 246, 0.1);
  color: #2563eb;
}

.coverage-badge.private {
  background: rgba(168, 85, 247, 0.1);
  color: #7c3aed;
}

.coverage-body {
  padding: 0 24px 24px;
}

.coverage-highlight {
  background: var(--bg-light);
  padding: 16px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  font-weight: 500;
  color: var(--text-dark);
}

.coverage-details h5 {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.coverage-details ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.coverage-details li {
  padding: 4px 0 4px 20px;
  position: relative;
  color: var(--text-gray);
  font-size: 0.9rem;
}

.coverage-details li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.insurance-note {
  margin-top: 16px;
  padding: 12px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--primary-color);
}

/* Eligibility Quiz */
.eligibility-quiz {
  max-width: 600px;
  margin: 0 auto;
}

.quiz-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.quiz-card h4 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 24px;
  text-align: center;
}

.eligibility-result {
  margin-top: 24px;
  padding: 24px;
  background: rgba(34, 197, 94, 0.1);
  border-radius: var(--radius);
  text-align: center;
}

.result-positive {
  color: #15803d;
}

.result-icon {
  width: 48px;
  height: 48px;
  background: #22c55e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: white;
}

.result-positive h5 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

/* Get Started Section */
.get-started-section {
  background: var(--bg-light);
  padding: 48px 32px;
  border-radius: var(--radius-lg);
  margin-top: 48px;
}

.get-started-content h3 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 16px;
}

.get-started-content > p {
  font-size: 1.125rem;
  color: var(--text-gray);
  text-align: center;
  margin-bottom: 32px;
}

.start-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.start-option {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bg-white);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.start-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.start-icon svg {
  width: 20px;
  height: 20px;
}

.start-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.start-content p {
  color: var(--text-gray);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

/* Content Sections - Enhanced with main site theme */
.content-section {
  margin-bottom: 60px;
  padding: 3rem 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.content-section h3 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 40px;
  text-align: center;
  position: relative;
  letter-spacing: -0.01em;
}

.content-section h3::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--brand-red);
  border-radius: 2px;
}

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.card-grid.two-columns {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.card-grid.three-columns {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Info Cards - Enhanced to match main site */
.info-card {
  background: linear-gradient(to bottom right, #ffffff, #fefcfa);
  border: 1px solid rgba(175, 45, 44, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-red), var(--brand-red-light));
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.info-card:hover {
  box-shadow: 0 8px 32px rgba(175, 45, 44, 0.12);
  border-color: rgba(175, 45, 44, 0.2);
  transform: translateY(-4px);
}

.info-card:hover::before {
  transform: scaleX(1);
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.info-card-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  flex-shrink: 0;
}

.info-card-icon svg {
  width: 24px;
  height: 24px;
}

.info-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.info-card h5 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 16px 0 8px 0;
}

.info-card p {
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 12px;
}

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

.info-card li {
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.info-card li::before {
  content: '•';
  color: var(--primary-color);
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Coverage Badges */
.coverage-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.coverage-badge.full {
  background: rgba(34, 197, 94, 0.1);
  color: #15803d;
}

.coverage-badge.partial {
  background: rgba(249, 115, 22, 0.1);
  color: #ea580c;
}

.coverage-badge.varies {
  background: rgba(59, 130, 246, 0.1);
  color: #2563eb;
}

.coverage-badge.flexible {
  background: rgba(168, 85, 247, 0.1);
  color: #7c3aed;
}

/* Service Lists */
.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-item {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.2s ease;
}

.service-item:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--border-gray);
}

.service-item h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.service-item ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-item li {
  color: var(--text-gray);
  line-height: 1.5;
  margin-bottom: 6px;
  padding-left: 16px;
  position: relative;
  font-size: 0.9rem;
}

.service-item li::before {
  content: '✓';
  color: var(--primary-color);
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Requirements List */
.requirements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.requirement-item {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.requirement-number {
  width: 32px;
  height: 32px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.requirement-content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.requirement-content p {
  color: var(--text-gray);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Checklist */
.checklist-container {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 32px 0;
}

.checklist-container h3 {
  text-align: center;
  margin-bottom: 24px;
  color: var(--text-dark);
}

.checklist-items {
  display: grid;
  gap: 12px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  cursor: pointer;
}

.check-item:hover {
  background: var(--bg-light);
}

.check-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary-color);
  cursor: pointer;
  margin-top: 2px;
}

.check-item label {
  color: var(--text-dark);
  font-size: 0.95rem;
  cursor: pointer;
  line-height: 1.5;
}

.check-item input[type="checkbox"]:checked + label {
  color: var(--text-light);
  text-decoration: line-through;
}

/* Call-to-Action Section */
.cta-section {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  text-align: center;
  margin: 48px 0;
}

.cta-section h3 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.cta-section p {
  font-size: 1.125rem;
  color: var(--text-gray);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.cta-btn.primary {
  background: linear-gradient(135deg, var(--primary-color), var(--brand-red-dark));
  color: white;
  box-shadow: 0 2px 12px rgba(175, 45, 44, 0.2);
  position: relative;
  overflow: hidden;
}

.cta-btn.primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.cta-btn.primary:hover {
  background: linear-gradient(135deg, var(--brand-red-dark), var(--primary-color));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(175, 45, 44, 0.3);
}

.cta-btn.primary:hover::before {
  left: 100%;
}

.cta-btn.secondary {
  background: white;
  color: var(--text-dark);
  border: 1px solid var(--border-color);
}

.cta-btn.secondary:hover {
  background: var(--light-bg);
  border-color: var(--brand-red);
  color: var(--brand-red);
}

.cta-btn svg {
  width: 18px;
  height: 18px;
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.benefit-card {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
}

.benefit-icon svg {
  width: 32px;
  height: 32px;
  stroke: white;
  stroke-width: 2.5;
}

.benefit-card h4 {
  color: var(--text-dark);
  font-size: 1.25rem;
  margin-bottom: 15px;
}

.benefit-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Responsive Design */

/* New Content Section Styles */

/* Info Card Large */
.info-card-large {
  background: white;
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  margin-bottom: 30px;
}

.info-card-large .info-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.info-card-large .info-card-icon {
  width: 50px;
  height: 50px;
  background: rgba(175, 45, 44, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-card-large .info-card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--brand-red);
}

.info-card-large h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
}

.info-card-large p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.info-card-large p:last-child {
  margin-bottom: 0;
}

/* Timeline Styles */
.timeline-section {
  padding: 20px 0;
}

.timeline-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border-light);
}

.timeline-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.timeline-marker {
  width: 40px;
  height: 40px;
  background: var(--brand-red);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(175, 45, 44, 0.3);
}

.timeline-content h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.timeline-content p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Checklist Styles */
.checklist-section {
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-bottom: 30px;
}

.checklist-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.checklist-icon {
  width: 50px;
  height: 50px;
  background: var(--brand-red);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.checklist-icon svg {
  width: 24px;
  height: 24px;
  stroke: white;
  stroke-width: 2.5;
}

.checklist-header h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
}

.family-checklist {
  list-style: none;
  padding: 0;
}

.family-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

.family-checklist li:last-child {
  border-bottom: none;
}

.family-checklist li:before {
  content: "✓";
  color: var(--brand-red);
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 2px;
}

/* Safety Tips Grid */
.safety-tips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.safety-category {
  background: white;
  border-radius: var(--radius-lg);
  padding: 25px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.safety-category h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--brand-red);
  margin-bottom: 15px;
}

.safety-category ul {
  list-style: none;
  padding: 0;
}

.safety-category li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  color: var(--text-secondary);
}

.safety-category li:before {
  content: "•";
  color: var(--brand-red);
  font-weight: bold;
  font-size: 1.2rem;
  margin-top: -2px;
}

/* Rights Section */
.rights-section {
  background: var(--light-bg);
  border-radius: var(--radius-xl);
  padding: 40px;
  margin: 30px 0;
}

.rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.rights-item {
  background: white;
  border-radius: var(--radius-lg);
  padding: 25px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--brand-red);
}

.rights-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.rights-item p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Scenario Grid */
.scenarios-section {
  margin: 30px 0;
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.scenario-item {
  background: white;
  border-radius: var(--radius-lg);
  padding: 25px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  text-align: center;
  transition: all 0.3s ease;
}

.scenario-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.scenario-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--brand-red), var(--brand-red-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.scenario-icon svg {
  width: 28px;
  height: 28px;
  stroke: white;
}

.scenario-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.scenario-item p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Coverage Explanation */
.coverage-explanation {
  margin: 30px 0;
}

.coverage-section {
  background: white;
  border-radius: var(--radius-lg);
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.coverage-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.coverage-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coverage-icon.no-coverage {
  background: rgba(220, 53, 69, 0.1);
}

.coverage-icon.no-coverage svg {
  stroke: #dc3545;
}

.coverage-icon.maybe {
  background: rgba(255, 193, 7, 0.1);
}

.coverage-icon.maybe svg {
  stroke: #ffc107;
}

.coverage-icon.yes {
  background: rgba(40, 167, 69, 0.1);
}

.coverage-icon.yes svg {
  stroke: #28a745;
}

.coverage-header h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
}

.coverage-section p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}

/* FAQ Section */
.faq-section {
  margin: 30px 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.faq-item {
  background: white;
  border-radius: var(--radius-lg);
  padding: 25px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.faq-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brand-red);
  margin-bottom: 12px;
}

.faq-item p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Benefits Overview */
.benefits-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.benefit-category {
  background: white;
  border-radius: var(--radius-lg);
  padding: 25px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.benefit-category h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--brand-red);
  margin-bottom: 15px;
}

.benefit-category ul {
  list-style: none;
  padding: 0;
}

.benefit-category li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  color: var(--text-secondary);
}

.benefit-category li:before {
  content: "✓";
  color: var(--brand-red);
  font-weight: 600;
  font-size: 1rem;
  margin-top: 2px;
}

/* Mobile responsive adjustments for new sections */

/* Focus States for Accessibility */
.tab-btn:focus,
.cta-btn:focus,
.check-item input:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Print Styles */

/* Animation for tab content */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ensure content is visible and properly spaced */
.welcome-hero {
  background: linear-gradient(135deg, #fef7f0 0%, #ffffff 100%);
  padding: 60px 40px;
  border-radius: 20px;
  margin-bottom: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

.welcome-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.welcome-content p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Fix quick navigation section */
.quick-nav-section {
  margin-top: 40px;
  padding: 0;
}

.quick-nav-section h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 30px;
  text-align: center;
}

/* Remove duplicate - already defined above */

/* Responsive adjustments for grids */
@media (max-width: 992px) {
  .quick-nav-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .quick-nav-grid:has(.quick-nav-item:nth-child(5):last-child) {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .quick-nav-grid:has(.quick-nav-item:nth-child(5):last-child) .quick-nav-item:nth-child(4),
  .quick-nav-grid:has(.quick-nav-item:nth-child(5):last-child) .quick-nav-item:nth-child(5) {
    grid-column: auto;
  }
  
  .quick-nav-grid:has(.nav-card) {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .quick-nav-grid:has(.nav-card:nth-child(5):last-child) .nav-card:nth-child(4),
  .quick-nav-grid:has(.nav-card:nth-child(5):last-child) .nav-card:nth-child(5) {
    grid-column: auto;
  }
}

@media (max-width: 768px) {
  .quick-nav-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 15px;
  }
  
  .quick-nav-grid:has(.quick-nav-item:nth-child(4):last-child),
  .quick-nav-grid:has(.quick-nav-item:nth-child(5):last-child),
  .quick-nav-grid:has(.nav-card) {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  
  .quick-nav-grid:has(.quick-nav-item:nth-child(5):last-child) .quick-nav-item:nth-child(4),
  .quick-nav-grid:has(.quick-nav-item:nth-child(5):last-child) .quick-nav-item:nth-child(5),
  .quick-nav-grid:has(.nav-card:nth-child(5):last-child) .nav-card:nth-child(4),
  .quick-nav-grid:has(.nav-card:nth-child(5):last-child) .nav-card:nth-child(5) {
    grid-column: auto;
  }
  
  .quick-nav-item,
  .nav-card {
    padding: 20px;
  }
  
  .quick-nav-item h4,
  .nav-card h4 {
    font-size: 1.1rem;
  }
  
  .quick-nav-item p,
  .nav-card p {
    font-size: 0.9rem;
  }
}

/* Fix mobile menu for resource center */
.resource-mobile-menu {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 999;
  overflow-y: auto;
}

.resource-mobile-menu.active {
  transform: translateX(0);
}

/* Highlight Box Styling */
.highlight-box {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: linear-gradient(135deg, #fef7f0 0%, #ffffff 100%);
  border: 2px solid #f0e4dc;
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 2rem;
}

.highlight-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(175, 45, 44, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.highlight-icon svg {
  width: 24px;
  height: 24px;
  color: var(--brand-red);
}

.highlight-content {
  flex: 1;
}

.highlight-content h4 {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.highlight-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .highlight-box {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Mobile specific adjustments */

/* ===============================
SERVICE HEADER SECTION - Enhanced with main site theme
=============================== */
.service-header {
  background: linear-gradient(135deg, #fef7f0 0%, #ffffff 50%, #fdf4f0 100%);
  border-bottom: none;
  padding: 4rem 0 3rem;
  position: relative;
  overflow: hidden;
}

/* Decorative elements matching main site hero */
.service-header::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -20%;
  width: 80%;
  height: 120%;
  background: linear-gradient(145deg, rgba(175, 45, 44, 0.08) 0%, rgba(175, 45, 44, 0.04) 30%, transparent 60%);
  clip-path: ellipse(70% 60% at 20% 40%);
  transform: rotate(-15deg);
  z-index: 0;
  animation: gentle-sway 20s ease-in-out infinite;
  opacity: 0.6;
}

.service-header::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -15%;
  width: 70%;
  height: 100%;
  background: linear-gradient(225deg, rgba(175, 45, 44, 0.06) 0%, rgba(175, 45, 44, 0.03) 40%, transparent 70%);
  clip-path: ellipse(65% 80% at 80% 60%);
  transform: rotate(20deg);
  z-index: 0;
  animation: gentle-sway 25s ease-in-out infinite reverse;
  opacity: 0.4;
}

@keyframes gentle-sway {
  0%, 100% { transform: rotate(-15deg) translateX(0); }
  50% { transform: rotate(-18deg) translateX(10px); }
}

.header-content {
  display: flex;
  max-width: 1200px;
  margin: 0 auto 2rem auto;
  padding: 0 2rem;
  gap: 3rem;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.header-main {
  flex: 1;
  text-align: left;
}

.service-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.service-title span {
  color: var(--brand-red);
}

.service-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 500;
  margin-bottom: 2rem;
}

.header-highlights {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(175, 45, 44, 0.08);
  border: 1px solid rgba(175, 45, 44, 0.1);
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  transition: all 0.3s ease;
}

.highlight-item:hover {
  transform: translateX(4px);
}

.service-header .highlight-icon {
  width: 32px;
  height: 32px;
  color: var(--brand-red);
  flex-shrink: 0;
  background: rgba(175, 45, 44, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}

.service-header .highlight-icon svg {
  width: 18px;
  height: 18px;
}

.highlight-item span {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.4;
  font-weight: 500;
}

.section-navigation {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0;
}

.nav-tab {
  background: none;
  border: none;
  padding: 1rem 1.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  min-width: fit-content;
}

.nav-tab:hover {
  color: var(--brand-red);
  background: rgba(175, 45, 44, 0.05);
}

.nav-tab.active {
  color: var(--brand-red);
  border-bottom-color: var(--brand-red);
  background: rgba(175, 45, 44, 0.08);
}

/* Add JavaScript functionality for tab scrolling */

/* Responsive design for service headers */
@media (max-width: 768px) {
  .service-header {
    padding: 1.5rem 0;
  }

  .header-content {
    flex-direction: column;
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .service-title {
    font-size: 1.8rem;
  }

  .service-description {
    font-size: 1rem;
  }

  .section-navigation {
    padding: 0 1rem;
  }

  .nav-tab {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }
}

