/* Critical Styles for Mount Desert Parking Page */
:root {
  --header-height: 80px;
  --primary-color: #1a2b4a;
  --primary-color-light: #2a4a7a;
  --primary-color-dark: #1a2b4a;
  --light-text-color: #fff;
  --text-color: #333;
  --gray-800: #343a40;
  --accent-color: #0d47a1;
  --spacing-md: 1.5rem;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 15px rgba(0, 0, 0, 0.1);
  --gray-100: #f1f3f4;
  --gray-200: #e8eaed;
}

body { 
  margin: 0; 
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; 
  line-height: 1.6; 
  background-color: #f8f9fa; 
  color: var(--text-color); 
  font-display: swap; 
}

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

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

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

h1 { 
  font-size: 3.5rem; 
  font-weight: 700; 
  margin: 0 0 1.5rem 0; 
  line-height: 1.1; 
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif; 
}

button { 
  border: none; 
  background: none; 
  padding: 0; 
  cursor: pointer; 
}

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

/* Header Base */
.header { 
  position: fixed; 
  top: 0; 
  left: 0; 
  width: 100%; 
  z-index: 1000; 
  height: var(--header-height); 
  background: var(--light-text-color); 
  box-shadow: var(--shadow-sm); 
  transition: background-color 0.3s ease, box-shadow 0.3s ease; 
}

.main-nav { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  max-width: 1400px; 
  margin: 0 auto; 
  padding: 0 var(--spacing-md); 
  height: 100%; 
  position: relative; 
}

.logo-link { 
  display: flex; 
  align-items: center; 
}

.logo { 
  height: 60px; 
  width: auto; 
  transition: height 0.3s ease; 
}

/* Desktop Navigation - Add stable dimensions to prevent CLS */
.nav-wrapper { 
  flex: 1; 
  display: flex; 
  justify-content: center; 
  margin-left: 2rem; 
  align-items: center; 
  min-height: 60px;
  transform: translateX(0);
  transition: none;
}

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

.nav-links a { 
  color: var(--gray-800); 
  font-weight: 500; 
  display: flex; 
  align-items: center; 
  gap: 0.5rem; 
  padding: 0.5rem 0; 
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif; 
  font-size: 0.95rem; 
  position: relative; 
}

.nav-links a:hover, .nav-links a.active { 
  color: var(--accent-color); 
}

.nav-links a.active::after { 
  content: ''; 
  position: absolute; 
  bottom: 0; 
  left: 0; 
  width: 100%; 
  height: 2px; 
  background-color: var(--accent-color); 
}

/* Dropdown Base */
.dropdown { 
  position: relative; 
  height: 100%; 
  display: flex; 
  align-items: center; 
}

.dropdown > a i.fa-caret-down { 
  margin-left: 0.25rem; 
  font-size: 0.8rem; 
  transition: transform 0.2s ease; 
}

.dropdown-content { 
  position: absolute; 
  top: 100%; 
  left: 50%; 
  min-width: 250px; 
  background-color: white; 
  border-radius: 12px; 
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08); 
  z-index: 1000; 
  padding: 0.5rem 0; 
  margin-top: 8px; 
  opacity: 0; 
  visibility: hidden; 
  transform: translateX(-50%) translateY(10px); 
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease; 
}

.dropdown-content a { 
  color: var(--text-color); 
  display: block; 
  padding: 0.75rem 1rem; 
  font-size: 0.9rem; 
}

.dropdown-content a i { 
  margin-right: 0.75rem; 
  font-size: 1rem; 
  width: 1.25rem; 
  text-align: center; 
  color: var(--accent-color); 
}

.dropdown:hover .dropdown-content, .dropdown.active .dropdown-content { 
  opacity: 1; 
  visibility: visible; 
  transform: translateX(-50%) translateY(0); 
  pointer-events: auto; 
}

.dropdown:hover > a i.fa-caret-down, .dropdown.active > a i.fa-caret-down { 
  transform: rotate(180deg); 
}

.dropdown-content a:hover { 
  background-color: #f8f9fa; 
  color: var(--accent-color); 
}

/* Screen Reader Only */
.sr-only { 
  position: absolute; 
  width: 1px; 
  height: 1px; 
  padding: 0; 
  margin: -1px; 
  overflow: hidden; 
  clip: rect(0, 0, 0, 0); 
  white-space: nowrap; 
  border: 0; 
}

/* Mobile Menu Elements */
.mobile-menu-btn { 
  display: none; 
  font-size: 1.5rem; 
  color: var(--gray-800); 
  z-index: 1002; 
}

.mobile-close-btn { 
  display: none; 
  font-size: 1.5rem; 
  color: var(--light-text-color); 
  position: absolute; 
  top: 1rem; 
  right: 1rem; 
  z-index: 1002; 
}

/* Dark Mode Toggle - Reserve space immediately to prevent CLS */
.dark-mode-toggle { 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  margin-left: var(--spacing-md); 
  width: 45px; 
  height: 45px; 
  border-radius: var(--radius-md); 
  background: var(--gray-100); 
  border: 2px solid var(--gray-200); 
  color: var(--gray-800);
  flex-shrink: 0;
  min-width: 45px;
  min-height: 45px; 
  cursor: pointer; 
  font-size: 1.2rem; 
  box-shadow: var(--shadow-sm); 
  z-index: 1002; 
}

/* Ensure SVG icons are stable */
.dark-mode-toggle svg { flex-shrink: 0; width: 20px; height: 20px; }
.dark-mode-toggle .moon-icon { display: block; }
.dark-mode-toggle .sun-icon { display: none; }

/* Dark mode state */
body.dark-mode .dark-mode-toggle .moon-icon { display: none; }
body.dark-mode .dark-mode-toggle .sun-icon { display: block; }

/* Hero Section - Critical for LCP - Fixed dimensions to prevent layout shift */
.hero-section, .parking-hero { 
  margin-top: var(--header-height); 
  padding: 3rem 0 2.5rem; 
  background: radial-gradient(ellipse at center, var(--primary-color-light) 0%, var(--primary-color-dark) 100%); 
  color: white; 
  text-align: center; 
  height: auto; 
  min-height: 380px; 
  display: flex; 
  align-items: center; 
  contain: layout style; 
  position: relative; 
}

.hero-content { 
  max-width: 900px; 
  margin: 0 auto; 
  padding: 0 2rem; 
  width: 100%; 
  height: auto; 
  display: flex; 
  flex-direction: column; 
  justify-content: center; 
  align-items: center; 
  position: relative; 
}

.parking-hero .hero-icon, .parking-hero i.hero-icon, .hero-content .hero-icon { 
  font-size: 5rem !important; 
  color: #4A90E2 !important; 
  margin-bottom: 1.5rem; 
  display: block; 
  width: 5rem; 
  height: 5rem; 
  line-height: 5rem; 
  text-align: center; 
  flex-shrink: 0; 
  text-shadow: 0 0 20px rgba(74, 144, 226, 0.5), 0 0 40px rgba(74, 144, 226, 0.3) !important; 
}

.parking-hero h1, .parking-hero .hero-content h1, .hero-section h1, .hero-content h1 { 
  color: white !important; 
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3) !important; 
  margin: 0 0 1.5rem 0; 
  font-size: 3.5rem; 
  font-weight: 800; 
  line-height: 1.1; 
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif; 
  display: block; 
  width: 100%; 
  font-display: block; 
  letter-spacing: -0.5px; 
  text-rendering: optimizeSpeed; 
  -webkit-font-smoothing: antialiased; 
  -moz-osx-font-smoothing: grayscale; 
}

.hero-section p, .parking-hero p { 
  font-size: 1.4rem; 
  opacity: 1; 
  margin: 0 auto 2rem; 
  color: rgba(255, 255, 255, 0.95); 
  line-height: 2rem; 
  display: block; 
  width: 100%; 
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); 
}

.highlight-badges { 
  display: flex; 
  gap: 0.75rem; 
  justify-content: center; 
  flex-wrap: wrap; 
  margin-top: 2rem; 
  min-height: 52px; 
  contain: layout; 
  width: 100%; 
}

.badge { 
  background: rgba(255, 255, 255, 0.2); 
  padding: 0.65rem 1rem; 
  border-radius: 25px; 
  color: white; 
  font-size: 0.95rem; 
  height: 44px; 
  display: flex; 
  align-items: center; 
  white-space: nowrap; 
  flex-shrink: 0; 
  backdrop-filter: blur(10px); 
  border: 1px solid rgba(255, 255, 255, 0.3); 
}

.badge i { 
  opacity: 1 !important; 
  margin-right: 0.5rem; 
  font-size: 1rem; 
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.5)); 
}

.badge i.fa-map-marked-alt { 
  color: #FF6B6B !important; 
  text-shadow: 0 0 10px rgba(255, 107, 107, 0.6); 
}

.badge i.fa-anchor { 
  color: #4ECDC4 !important; 
  text-shadow: 0 0 10px rgba(78, 205, 196, 0.6); 
}

.badge i.fa-mountain { 
  color: #45B7D1 !important; 
  text-shadow: 0 0 10px rgba(69, 183, 209, 0.6); 
}

.badge i.fa-tree { 
  color: #96CEB4 !important; 
  text-shadow: 0 0 10px rgba(150, 206, 180, 0.6); 
}

/* Content wrapper */
.content-wrapper { 
  max-width: 1200px; 
  margin: 0 auto; 
  padding: 0 2rem; 
}

.container { 
  max-width: 1200px; 
  margin: 0 auto; 
  padding: 0 2rem; 
}

/* Image containers to prevent layout shift */
.parking-map-image { 
  width: 100%; 
  height: auto; 
  max-width: 1000px; 
  display: block; 
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.map-image-container { 
  margin: 2rem auto; 
  text-align: center;
  padding: 0 1rem;
}

/* Tab and content containers */
.tabs-section { 
  margin: 2rem 0; 
  position: relative; 
  z-index: 10; 
  background: white; 
  padding: 2rem 0; 
}

.tabs-wrapper { 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  width: 100%; 
  max-width: 1000px; 
  margin: 0 auto; 
}

/* Fix tabs to prevent layout shifts - Use display none/block instead of absolute positioning */
.modern-tabs { 
  display: flex; 
  gap: 0.75rem; 
  margin-bottom: 2rem; 
  min-height: 50px; 
  flex-wrap: wrap; 
  contain: layout; 
  justify-content: center; 
  align-items: center; 
  padding: 0.75rem; 
  background: #f8f9fa; 
  border-radius: 12px; 
}

.tab-button { 
  min-height: 44px !important; 
  padding: 0.6rem 1.2rem !important; 
  border: none !important; 
  background: #f8f9fa !important; 
  color: #333 !important; 
  cursor: pointer; 
  border-radius: 5px !important; 
  transition: background-color 0.2s, transform 0.2s !important; 
  display: flex; 
  align-items: center; 
  gap: 0.4rem; 
  flex-shrink: 0; 
  font-size: 0.9rem !important; 
  font-weight: 500; 
  white-space: nowrap; 
  box-shadow: none !important;
  transform: none !important;
}

.tab-button:hover { 
  background: #e9ecef !important; 
  border: none !important;
  transform: none !important; 
  box-shadow: none !important; 
  color: #333 !important;
}

.tab-button span { 
  display: inline-block; 
}

.tab-button i { 
  width: 1.2rem; 
  height: 1.2rem; 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  color: #6c757d; 
}

.tab-button.active { 
  background: var(--accent-color) !important; 
  color: white !important; 
  border: none !important;
  box-shadow: none !important;
  transform: none !important;
}

.tab-button.active i { 
  color: white !important; 
}

/* Mount Desert specific tab overrides - copy exact Bar Harbor styling */
.mount-desert-parking .modern-tabs {
  display: flex !important; 
  gap: 1rem !important; 
  margin-bottom: 2rem !important; 
  min-height: 50px !important; 
  flex-wrap: wrap !important; 
  contain: layout !important; 
  justify-content: center !important;
  padding: 0.75rem !important;
  background: #f8f9fa !important;
  border-radius: 12px !important;
}

.mount-desert-parking .modern-tabs .tab-button {
  min-height: 44px !important; 
  padding: 0.75rem 1.5rem !important; 
  border: none !important; 
  background: #f8f9fa !important; 
  color: #333 !important; 
  cursor: pointer !important; 
  border-radius: 5px !important; 
  transition: background-color 0.2s, transform 0.2s !important; 
  display: flex !important; 
  align-items: center !important; 
  gap: 0.5rem !important; 
  flex-shrink: 0 !important; 
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  box-shadow: none !important;
  transform: none !important;
  white-space: nowrap !important;
}

.mount-desert-parking .modern-tabs .tab-button:hover {
  background: #e9ecef !important;
  color: #333 !important;
  border: none !important;
  box-shadow: none !important;
  transform: none !important;
}

.mount-desert-parking .modern-tabs .tab-button.active {
  background: var(--accent-color) !important;
  color: white !important;
  border: none !important;
  box-shadow: none !important;
  transform: none !important;
}

.mount-desert-parking .modern-tabs .tab-button i {
  width: 1.2rem !important; 
  height: 1.2rem !important; 
  display: inline-flex !important; 
  align-items: center !important; 
  justify-content: center !important; 
}

.mount-desert-parking .modern-tabs .tab-button span {
  display: inline-block !important; 
}

.tab-contents { 
  min-height: auto; 
  contain: layout style; 
  max-width: 1200px; 
  margin: 0 auto; 
}

.tab-content { 
  display: none; 
  padding: 2rem 0; 
  contain: layout style; 
}

.tab-content.active { 
  display: block; 
}

/* Ensure consistent spacing for all tab content */
.tab-content { 
  min-height: 300px; 
}

.tab-content .info-card { 
  margin: 0 auto 2rem; 
  max-width: 1000px; 
}

.tab-content h2 { 
  margin: 0 0 1rem 0; 
  text-align: center; 
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
  .hero-section h1, .parking-hero h1 { 
    font-size: 2rem; 
  }
  
  .hero-section p, .parking-hero p { 
    font-size: 1.1rem; 
  }
  
  .hero-content { 
    height: auto; 
    padding: 2rem 1rem; 
  }
  
  .hero-section, .parking-hero { 
    height: auto; 
    min-height: 350px; 
  }
  
  .badge { 
    font-size: 0.75rem; 
    padding: 0.4rem 0.6rem; 
    height: 36px; 
  }
  
  .badge i { 
    font-size: 0.85rem; 
  }
  
  .highlight-badges { 
    gap: 0.4rem; 
    overflow-x: auto; 
    white-space: nowrap; 
  }
  
  .mobile-menu-btn { 
    display: block; 
  }
  
  .nav-wrapper { 
    display: flex; 
    position: fixed; 
    top: 0; 
    left: -100%; 
    width: 85%; 
    max-width: 350px; 
    height: 100vh; 
    background-color: var(--primary-color); 
    z-index: 1001; 
    transform: translateX(-100%);
    transition: transform 0.3s ease; 
    flex-direction: column; 
    justify-content: flex-start; 
    padding-top: 5rem; 
    overflow-y: auto; 
  }
  
  .nav-wrapper.active { 
    left: 0; 
    transform: translateX(0);
  }
  
  .nav-links { 
    flex-direction: column; 
    gap: 0; 
    width: 100%; 
  }
  
  .nav-links li { 
    width: 100%; 
  }
  
  .nav-links a { 
    color: var(--light-text-color); 
    padding: 1rem 1.5rem; 
    width: 100%; 
  }
  
  .dropdown-content { 
    position: static; 
    opacity: 1; 
    visibility: visible; 
    transform: none; 
    background-color: rgba(255, 255, 255, 0.1); 
    box-shadow: none; 
    border-radius: 0; 
    width: 100%; 
  }
  
  .dropdown-content a { 
    color: var(--light-text-color); 
    padding-left: 3rem; 
  }
  
  .mobile-close-btn { 
    display: block; 
    position: fixed; 
    top: 1rem; 
    left: calc(85% - 3rem); 
    z-index: 1002; 
    color: var(--light-text-color); 
  }
  
  .modern-tabs { 
    gap: 0.4rem; 
    padding: 0.5rem; 
    flex-wrap: wrap;
  }
  
  .tab-button { 
    padding: 0.5rem 0.8rem; 
    font-size: 0.8rem; 
    min-height: 38px; 
    gap: 0.3rem;
  }
}

/* Medium screen adjustments for 8 tabs */
@media (max-width: 1200px) and (min-width: 769px) {
  .tab-button { 
    padding: 0.6rem 1rem; 
    font-size: 0.85rem; 
    gap: 0.35rem;
  }
}

/* Skip link */
.skip-to-main { 
  position: absolute; 
  left: -999px; 
  width: 1px; 
  height: 1px; 
  overflow: hidden; 
  background-color: #007bff; 
  color: white; 
  padding: 10px; 
  z-index: 9999; 
}

.skip-to-main:focus { 
  left: 10px; 
  top: 10px; 
  width: auto; 
  height: auto; 
}

/* Dark Mode Styles for Parking Page */
body.dark-mode .step-details p,
body.dark-mode .step-details h4,
body.dark-mode .step-details h5 {
  color: var(--dark-mode-text-color, #e0e0e0) !important;
}

body.dark-mode .step-item-vertical {
  background-color: var(--dark-mode-card-bg, #2d2d2d) !important;
  border-color: var(--dark-mode-border-color, #404040) !important;
}

body.dark-mode .step-item-vertical h4 {
  color: var(--dark-mode-text-color, #e0e0e0) !important;
}

body.dark-mode .payment-info-box {
  background: var(--dark-mode-card-bg, #2d2d2d) !important;
  border-color: var(--dark-mode-border-color, #404040) !important;
}

body.dark-mode .payment-info-box h4 {
  color: var(--dark-mode-text-color, #e0e0e0) !important;
}

body.dark-mode .season-info,
body.dark-mode .quick-facts-box {
  background: transparent !important;
}

body.dark-mode .payment-list li,
body.dark-mode .fact-item,
body.dark-mode .compact-rule-item span,
body.dark-mode .compact-rule-item strong {
  color: var(--dark-mode-text-color, #e0e0e0) !important;
}

body.dark-mode .info-card p,
body.dark-mode .info-card h3,
body.dark-mode .info-card h4,
body.dark-mode .info-card h5 {
  color: var(--dark-mode-text-color, #e0e0e0) !important;
}

body.dark-mode .left-column h3,
body.dark-mode .right-column h3 {
  color: var(--dark-mode-text-color, #e0e0e0) !important;
}

body.dark-mode .quick-facts-box h3 {
  color: var(--dark-mode-text-color, #e0e0e0) !important;
}

body.dark-mode .kiosk-step {
  background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%) !important;
  border-color: #1976d2 !important;
}

body.dark-mode .kiosk-step h5 {
  color: #64b5f6 !important;
}

body.dark-mode .kiosk-step p {
  color: #bbdefb !important;
}

body.dark-mode .step-number-circle {
  background: #1976d2 !important;
  color: white !important;
}

/* Fix for all text elements in card body */
body.dark-mode .card-body,
body.dark-mode .card-body * {
  color: var(--dark-mode-text-color, #e0e0e0) !important;
}

/* Preserve icon colors */
body.dark-mode .card-body i.fas,
body.dark-mode .card-body i.far,
body.dark-mode .card-body i.fab {
  color: #64b5f6 !important;
}

/* Fix compact rules list */
body.dark-mode .compact-rules-list {
  color: var(--dark-mode-text-color, #e0e0e0) !important;
}

body.dark-mode .compact-rule-item {
  color: var(--dark-mode-text-color, #e0e0e0) !important;
}

/* Ensure all headings are visible */
body.dark-mode h1, 
body.dark-mode h2, 
body.dark-mode h3, 
body.dark-mode h4, 
body.dark-mode h5, 
body.dark-mode h6 {
  color: var(--dark-mode-text-color, #e0e0e0) !important;
}

/* Fix for screen bounce when toggling dark mode */
html {
  scroll-behavior: auto !important;
}

/* Prevent position jump during dark mode transition */
body {
  overflow-anchor: none;
}

/* Disable smooth scrolling during theme transition */
body.transitioning {
  scroll-behavior: auto !important;
}

/* Fix dark mode background colors */
body.dark-mode {
  background-color: #121212 !important;
  color: #e0e0e0 !important;
}

/* Fix tabs section background in dark mode */
body.dark-mode .tabs-section {
  background: #1e1e1e !important;
}

/* Fix tab buttons background in dark mode */
body.dark-mode .modern-tabs {
  background: #2a2a2a !important;
}

body.dark-mode .tab-button {
  background: #3a3a3a !important;
  color: #e0e0e0 !important;
  border-color: #555 !important;
}

body.dark-mode .tab-button:hover {
  background: #4a4a4a !important;
  border-color: #666 !important;
}

body.dark-mode .tab-button.active {
  background: var(--accent-color) !important;
  color: white !important;
  border-color: var(--accent-color) !important;
}

/* Fix header in dark mode */
body.dark-mode .header {
  background: #1e1e1e !important;
}

/* Fix dropdown in dark mode */
body.dark-mode .dropdown-content {
  background-color: #2a2a2a !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3) !important;
}

body.dark-mode .dropdown-content a {
  color: #e0e0e0 !important;
}

body.dark-mode .dropdown-content a:hover {
  background-color: #3a3a3a !important;
}/* Fix contact section boxes */
body.dark-mode .step-content h4,
body.dark-mode .step-content p {
    color: #e0e0e0 !important;
}

body.dark-mode div[style*="background: var(--gray-50)"] {
    background: #2a2a2a !important;
    border: 1px solid #444 !important;
}

body.dark-mode div[style*="background: var(--gray-50)"] p {
    color: #e0e0e0 !important;
}

/* Fix the yellow note boxes in contact section */
body.dark-mode p[style*="background: #fff3cd"] {
    background: #3d2f00 !important;
    color: #ffcc80 !important;
}

/* Override CSS variables for dark mode */
body.dark-mode {
    --gray-50: #2a2a2a;
    --gray-600: #b0b0b0;
    --primary-color: #4a9eff;
    --accent-color: #64b5f6;
    --success-color: #4caf50;
}

/* Dark mode overrides for all card elements */
body.dark-mode .info-card {
    background: #1e1e1e !important;
    color: #e0e0e0 !important;
    border-color: #333 !important;
}

body.dark-mode .card-header {
    background: #2a2a2a !important;
    color: #e0e0e0 !important;
    border-color: #444 !important;
}

body.dark-mode .card-header h2,
body.dark-mode .card-header h3,
body.dark-mode .card-header h4 {
    color: #e0e0e0 !important;
}

body.dark-mode .card-body {
    background: #1e1e1e !important;
    color: #e0e0e0 !important;
}

body.dark-mode .card-body p,
body.dark-mode .card-body li,
body.dark-mode .card-body span,
body.dark-mode .card-body div {
    color: #e0e0e0 !important;
}

body.dark-mode .card-body h1,
body.dark-mode .card-body h2,
body.dark-mode .card-body h3,
body.dark-mode .card-body h4,
body.dark-mode .card-body h5,
body.dark-mode .card-body h6 {
    color: #e0e0e0 !important;
}

/* Fix contrast issues in light mode */
body:not(.dark-mode) .info-card {
    background: #ffffff !important;
    color: #212529 !important;
}

body:not(.dark-mode) .card-body {
    background: #ffffff !important;
    color: #212529 !important;
    text-align: center !important;
}

.card-header {
    background: #f8f9fa !important;
    color: #212529 !important;
    text-align: center !important;
}

.card-header h2, .card-header h3, .card-header h4 {
    color: #212529 !important;
}

/* Ensure proper alignment for content within cards */
.card-body h3, .card-body h4 {
    text-align: left !important;
}

.card-body > p:first-of-type {
    text-align: center !important;
    margin-bottom: 2rem !important;
}

/* Ensure all text is readable in light mode - but exclude specific styled elements */
body:not(.dark-mode) .tab-content p:not(.app-store-btn p):not(.permit-header p),
body:not(.dark-mode) .tab-content li:not(.app-store-btn li),
body:not(.dark-mode) .info-card p,
body:not(.dark-mode) .info-card li,
body:not(.dark-mode) .zone-section p:not(.permit-header p),
body:not(.dark-mode) .zone-section li:not(.permit-header li) {
    color: #212529;
}

body:not(.dark-mode) h1,
body:not(.dark-mode) h2,
body:not(.dark-mode) h3,
body:not(.dark-mode) h4,
body:not(.dark-mode) h5,
body:not(.dark-mode) h6 {
    color: #212529;
}

/* Fix specific elements */
.styled-list li {
    color: #212529;
}

.permit-card {
    background: #f8f9fa;
    color: #212529;
}

.permit-card p, .permit-card li, .permit-card ul {
    color: #212529;
}

.location-card {
    background: #e8f4fd !important;
    color: #212529 !important;
}

.location-card p, .location-card h5 {
    color: #212529 !important;
}

/* Tab hint */
.tab-hint {
    text-align: center;
    margin-bottom: 1rem;
    background: transparent !important;
    padding: 0.5rem 1rem !important;
    border-radius: 0 !important;
    border: none !important;
}

.tab-hint p {
    margin: 0 !important;
    color: #6c757d !important;
    font-size: 0.9rem !important;
    font-weight: 400 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    background-color: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.tab-hint i {
    color: #6c757d !important;
    font-size: 1.1rem !important;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Info card styling - with proper contrast */
.info-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

/* Alert boxes contrast fix */
.alert-box {
    color: #212529 !important;
}

.alert-box.info {
    background: #e3f2fd !important;
    border: 1px solid #90caf9 !important;
}

.alert-box.warning {
    background: #fff3cd !important;
    border: 1px solid #ffecb3 !important;
    color: #856404 !important;
}

.alert-box.danger {
    background: #f8d7da !important;
    border: 1px solid #f5c6cb !important;
    color: #721c24 !important;
}

/* Contact cards */
.contact-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.contact-card h3, .contact-card p {
    color: #212529 !important;
}

/* Zone sections */
.zone-section {
    color: #212529;
}

.zone-card {
    background: #ffffff;
    border: 1px solid #dee2e6;
    color: #212529;
}

/* Fine cards */
.fine-card {
    background: #ffffff;
    border: 1px solid #dee2e6;
    color: #212529;
}

.fine-card.danger {
    background: #fee;
    border: 1px solid #fcc;
}

.fine-card.warning {
    background: #fff8e1;
    border: 1px solid #ffe082;
}

/* Price tags */
.price-tag {
    background: #28a745;
    color: #ffffff !important;
}

.price-tag .price, .price-tag .period {
    color: #ffffff !important;
}

/* Ensure tab content is visible */
.tab-content {
    background: transparent;
    color: #212529;
}

/* Main content area */
.main-content {
    background: #f8f9fa;
    color: #212529;
}

.content-wrapper {
    background: #f8f9fa;
    color: #212529;
}

/* Hero section contrast */
.parking-hero {
    background: var(--primary-color);
}

.hero-content h1, .hero-content p {
    color: #ffffff !important;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.card-header {
    background: #f8f9fa;
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 1rem;
    overflow: hidden;
    position: relative;
}

.card-header i {
    font-size: 1.8rem;
    color: var(--accent-color);
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.card-header h2 {
    margin: 0;
    color: #333;
}

.card-body {
    padding: 2rem;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.info-card-small {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    border: 1px solid #e9ecef;
}

.info-card-small .info-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-card-small h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    color: #333;
}

.info-card-small p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

/* Styled list */
.styled-list {
    list-style: none;
    padding: 0;
}

.styled-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.styled-list li:last-child {
    border-bottom: none;
}

.styled-list li i {
    color: var(--accent-color);
    margin-right: 0.75rem;
}

/* Alert boxes */
.alert-box {
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.alert-box.info {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    color: #0d47a1;
}

.alert-box.warning {
    background: #fff3e0;
    border-left: 4px solid #ff9800;
    color: #e65100;
}

.alert-box.danger {
    background: #ffebee;
    border-left: 4px solid #f44336;
    color: #b71c1c;
}

.alert-box i {
    margin-right: 0.5rem;
}

/* Seasonal styling */
.seasonal-hero {
    background: linear-gradient(135deg, var(--primary-color-light), var(--primary-color-dark));
    color: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    text-align: center;
}

.seasonal-hero h2 {
    margin: 0 0 0.5rem 0;
    font-size: 2rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-weight: 700;
}

.seasonal-hero h2 i {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin-right: 0.5rem;
}

.seasonal-subtitle {
    margin: 0;
    opacity: 1;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.seasons-container {
    display: grid;
    gap: 2rem;
}

.season-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.season-card-header {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

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

.summer-season .season-icon-container {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.winter-season .season-icon-container {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.season-icon {
    font-size: 1.5rem;
    color: white;
}

.season-info {
    flex: 1;
}

.season-info h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.4rem;
    color: #333;
}

.season-dates {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #444;
    font-size: 0.9rem;
}

.season-status {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.season-status.active {
    background: #fff3cd;
    color: #856404;
}

.season-status.inactive {
    background: #d1edff;
    color: #0c5460;
}

.season-card-body {
    padding: 1.5rem;
}

/* Parking zones */
.parking-zones-container {
    margin: 2rem 0;
}

.zone-section {
    margin-bottom: 3rem;
}

.zone-header {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color-light), var(--primary-color-dark));
    color: white;
    border-radius: var(--radius-lg);
}

.zone-header h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.4rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-weight: 700;
}

.zone-header h3 i {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin-right: 0.5rem;
}

.zone-description {
    margin: 0;
    opacity: 1;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Location Grid */
.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.location-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.location-card h4 {
    margin: 0 0 1rem 0;
    color: var(--accent-color);
}

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

.location-card li {
    padding: 0.25rem 0;
}

/* Rules Grid */
.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.rule-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.rule-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    background: #e3f2fd;
    color: #1976d2;
}

.rule-icon.prohibited {
    background: #ffebee;
    color: #d32f2f;
}

.rule-icon.warning {
    background: #fff3e0;
    color: #f57c00;
}

.rule-card h3 {
    margin: 0 0 1rem 0;
    color: #333;
}

.rule-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.rule-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.rule-card li:last-child {
    border-bottom: none;
}

/* Fines Container */
.fines-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.fine-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
}

.fine-card.danger {
    border-color: #f44336;
}

.fine-card.warning {
    border-color: #ff9800;
}

.fine-header {
    background: #f5f5f5;
    padding: 1.5rem;
    text-align: center;
}

.fine-card.danger .fine-header {
    background: #ffebee;
}

.fine-card.warning .fine-header {
    background: #fff3e0;
}

.fine-header i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.fine-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.fine-amount {
    padding: 2rem;
    text-align: center;
    background: white;
}

.fine-amount .amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #d32f2f;
}

.fine-details {
    padding: 1.5rem;
    background: #fafafa;
    border-top: 1px solid #e0e0e0;
}

.fine-details p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

.payment-info {
    margin-top: 3rem;
    padding: 2rem;
    background: #e8f5e9;
    border-radius: 12px;
}

.payment-info h3 {
    margin-top: 0;
    color: #2e7d32;
}

/* Permit Section */
.permit-section {
    margin: 2rem 0;
}

.permit-section h3 {
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

/* Price Tag */
.price-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.price-tag .price {
    font-size: 1.5rem;
    display: block;
}

.price-tag .period {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* Permit Cards */
.permit-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.permit-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: relative;
    border: 1px solid #e0e0e0;
}

.permit-card h4 {
    margin: 0 0 1rem 0;
    padding-right: 100px;
}

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

.permit-card li {
    padding: 0.5rem 0;
}

.permit-card li i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

/* Contact Grid */
.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.contact-card h3 {
    margin-top: 0;
    color: var(--accent-color);
}

.contact-card p {
    margin: 0.5rem 0;
    line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .location-grid,
    .rules-grid,
    .fines-container,
    .permit-cards,
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .price-tag {
        position: static;
        display: inline-block;
        margin-bottom: 1rem;
    }
    
    .permit-card h4 {
        padding-right: 0;
    }
    
    .parking-map-image {
        max-width: 100%;
    }
    
    .info-card-small {
        padding: 1rem;
    }
    
    .info-card-small .info-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* Override July 4th tab styles for this page */
.modern-tabs .tab-button,
.tab-button {
    background: #ffffff !important;
    color: #333333 !important;
    border: 2px solid #e0e0e0 !important;
    backdrop-filter: none !important;
    position: relative !important;
    transition: all 0.3s ease !important;
}

.modern-tabs .tab-button:hover,
.tab-button:hover {
    background: #f5f5f5 !important;
    color: var(--accent-color) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    border-color: var(--accent-color) !important;
}

.modern-tabs .tab-button.active,
.tab-button.active {
    background: #4a90e2 !important;
    color: white !important;
    border: 2px solid #4a90e2 !important;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.4) !important;
    font-weight: 700 !important;
    transform: translateY(-2px) !important;
    position: relative !important;
}

/* Add a bottom indicator for active tab */
.tab-button.active::after {
    content: '' !important;
    position: absolute !important;
    bottom: -10px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 0 !important;
    height: 0 !important;
    border-left: 8px solid transparent !important;
    border-right: 8px solid transparent !important;
    border-top: 8px solid #4a90e2 !important;
    display: block !important;
}

/* Make active tab icons white */
.tab-button.active i {
    color: white !important;
}

.tab-button.active::before {
    display: none !important;
}

.modern-tabs .tab-button:nth-child(odd),
.modern-tabs .tab-button:nth-child(even),
.tab-button:nth-child(odd),
.tab-button:nth-child(even) {
    background: #ffffff !important;
    color: #333333 !important;
}

.modern-tabs .tab-button:nth-child(odd):hover,
.modern-tabs .tab-button:nth-child(even):hover,
.tab-button:nth-child(odd):hover,
.tab-button:nth-child(even):hover {
    background: #f5f5f5 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

/* Ensure active state overrides nth-child */
.modern-tabs .tab-button:nth-child(odd).active,
.modern-tabs .tab-button:nth-child(even).active,
.tab-button:nth-child(odd).active,
.tab-button:nth-child(even).active {
    background: #4a90e2 !important;
    color: white !important;
}

/* Center and improve permit section layout */
#permits .permit-section {
    max-width: 1000px;
    margin: 2rem auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

/* Center permit items in the two-column layout */
#permits .two-column-layout {
    max-width: 1200px;
    margin: 0 auto;
}

#permits .left-column,
#permits .right-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#permits .left-column h3,
#permits .right-column h3 {
    text-align: center;
    width: 100%;
}

#permits .steps-list {
    width: 100%;
    max-width: 600px;
}

#permits .step-item-vertical {
    margin: 0 auto 1.5rem;
    max-width: 500px;
}

#permits .payment-info-box,
#permits .info-box,
#permits .alert-box {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

#permits .quick-facts-box {
    max-width: 500px;
    margin: 1.5rem auto;
}

#permits .permit-card {
    background: #ffffff !important;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
    padding: 2rem !important;
}

#permits .permit-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

#permits .permit-card h4 {
    color: #212529 !important;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

#permits .permit-card h4 i {
    color: var(--accent-color) !important;
    font-size: 1.8rem;
}

#permits .permit-card > p {
    color: #6c757d !important;
    margin-bottom: 1.5rem;
    font-style: italic;
    line-height: 1.6;
}

#permits .permit-card ul {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem !important;
    text-align: left;
    list-style: none;
}

#permits .permit-card li {
    color: #495057 !important;
    padding: 0.5rem 0;
    line-height: 1.6;
}

#permits .permit-card strong {
    color: #212529 !important;
    display: inline-block;
    min-width: 140px;
}

/* Improve locations grid */
#permits .locations-grid {
    max-width: 900px;
    margin: 2rem auto;
}

/* Improve paid parking info */
#permits .paid-parking-info {
    max-width: 800px;
    margin: 2rem auto !important;
}

/* Better spacing for permit types heading */
#permits h3 {
    text-align: center;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    #permits .permit-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    #permits .permit-card {
        padding: 1.5rem !important;
    }
}

/* Two Column Layout */
.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 2rem auto 0;
    max-width: 1000px;
    text-align: left;
}

.left-column, .right-column {
    min-height: 400px;
    text-align: left;
}

/* Steps List */
.steps-list {
    margin-top: 1.5rem;
}

.step-item-vertical {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: background 0.2s;
}

.step-item-vertical:hover {
    background: #e9ecef;
}

.step-number-circle {
    width: 48px;
    height: 48px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-details h4 {
    margin: 0 0 0.5rem 0;
    color: #212529;
    font-size: 1.1rem;
}

.step-details p {
    margin: 0;
    color: #6c757d;
    line-height: 1.5;
}

/* Compact Rules List */
.compact-rules-list {
    margin-top: 1rem;
}

.compact-rule-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background-color: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    border-left: 3px solid var(--accent-color);
}

.compact-rule-item i {
    font-size: 1.2rem;
    color: var(--accent-color);
    width: 1.5rem;
    flex-shrink: 0;
}

.compact-rule-item div strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 0.1rem;
}

.compact-rule-item div span {
    font-size: 0.8rem;
    color: #6c757d;
}

/* Payment Info Box */
.payment-info-box {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.season-info {
    text-align: center;
}

.season-badge-large {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #fd7e14, #e83e8c);
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(253, 126, 20, 0.3);
}

.season-badge-large i {
    font-size: 1.5rem;
}

.payment-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.payment-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.payment-list li:last-child {
    border-bottom: none;
}

.payment-list i {
    color: var(--accent-color);
    width: 1.2rem;
}

/* Quick Facts Box */
.quick-facts-box {
    background: linear-gradient(135deg, #e8f0fe 0%, #dbeafe 100%);
    border: 2px solid var(--accent-color);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.quick-facts-box h3 {
    margin-top: 0;
    color: var(--accent-color);
}

.fact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.fact-item i {
    color: var(--accent-color);
    width: 1.2rem;
}

.fact-item strong {
    color: #212529;
}

/* MT-4 utility class */
.mt-4 {
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .two-column-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .left-column, .right-column {
        min-height: auto;
    }
    
    .step-item-vertical {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number-circle {
        margin: 0 auto;
    }
}

/* Fix tab content overflow and visibility */
.tab-content {
    overflow: hidden !important;
    position: relative !important;
}

.tab-content:not(.active) {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}

.tab-contents {
    overflow: hidden !important;
    position: relative !important;
}

/* Ensure step-item-vertical elements are contained */
.step-item-vertical {
    position: relative !important;
    overflow: visible !important;
}

.step-number {
    position: relative !important;
    z-index: 1 !important;
}