/* Clean Professional Theme - Pure.css based */
/* tscleaningsvc.comm - Interior Cleaning Services */

@import url('https://unpkg.com/purecss@3.0.0/build/pure-min.css');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* ===== BASE STYLES ===== */
:root {
  /* Color Palette - Clean & Professional */
  --primary-blue: #2563eb;      /* Trust, reliability */
  --primary-blue-dark: #1d4ed8; /* Hover state */
  --secondary-green: #10b981;   /* Fresh, clean */
  --secondary-green-dark: #059669;
  
  /* Neutrals */
  --white: #ffffff;
  --light-gray: #f8fafc;        /* Section backgrounds */
  --border-gray: #e2e8f0;       /* Light borders */
  --text-gray: #475569;         /* Body text */
  --text-dark: #1e293b;         /* Headings */
  --text-muted: #64748b;        /* Subtle text */
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Spacing System */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-gray);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Fix inheritance for semantic elements */
[class*="text-"] strong,
[class*="text-"] b,
[style*="color"] strong,
[style*="color"] b,
.text-white strong, .text-white b,
.text-light strong, .text-light b {
  color: inherit;
}

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: var(--space-sm);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 600;
}

h4 {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-weight: 500;
}

p {
  margin-bottom: var(--space-sm);
  max-width: 65ch;
}

.text-large {
  font-size: 1.125rem;
  line-height: 1.7;
}

.text-small {
  font-size: 0.875rem;
  line-height: 1.5;
}

/* ===== COMPONENTS ===== */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.875rem 1.75rem;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  white-space: nowrap;
  min-height: 44px;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-blue-dark), #1e40af);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

.btn-secondary {
  background: var(--secondary-green);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  background: var(--secondary-green-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
  background: var(--primary-blue);
  color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--text-dark);
  border: 1px solid var(--border-gray);
  box-shadow: var(--shadow-sm);
}

.btn-light:hover {
  background: var(--light-gray);
  color: var(--text-dark);
}

/* Links */
a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

a:hover {
  color: var(--primary-blue-dark);
}

/* ===== LAYOUT COMPONENTS ===== */

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Section spacing */
.section {
  padding: var(--space-3xl) 0;
}

.section-compact {
  padding: var(--space-2xl) 0;
}

.section-spacious {
  padding: var(--space-3xl) 0 var(--space-3xl) 0;
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-1 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Flexbox utilities */
.flex {
  display: flex;
}

.flex-column {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

/* ===== HEADER ===== */
.header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) 0;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-green));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-link {
  color: var(--text-gray);
  font-weight: 500;
  padding: var(--space-xs) 0;
  position: relative;
  transition: color 0.2s ease-in-out;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-blue);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-blue);
  border-radius: 1px;
}

/* Mobile menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    padding: var(--space-md);
    gap: var(--space-sm);
  }
  
  .nav.active {
    display: flex;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(45deg, rgba(37, 99, 235, 0.03) 0%, rgba(16, 185, 129, 0.03) 100%);
  border-radius: 50% 0 0 50%;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  max-width: 100%;
}

.hero-title {
  color: var(--text-dark);
  margin-bottom: var(--space-md);
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-gray);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
}

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease-in-out;
  border: 1px solid var(--border-gray);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.card-header {
  margin-bottom: var(--space-md);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  font-size: 1.25rem;
  color: var(--white);
}

.card-icon.primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
}

.card-icon.secondary {
  background: linear-gradient(135deg, var(--secondary-green), var(--secondary-green-dark));
}

.card-title {
  color: var(--text-dark);
  margin-bottom: var(--space-xs);
}

.card-text {
  color: var(--text-gray);
  margin-bottom: var(--space-sm);
}

.card-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: var(--space-sm);
}

/* ===== FORMS ===== */
.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 500;
  color: var(--text-dark);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.875rem;
  border: 2px solid var(--border-gray);
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: border-color 0.2s ease-in-out;
  background: var(--white);
  color: var(--text-dark);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-error {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: var(--space-xs);
}

/* ===== TABLES ===== */
.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.table th,
.table td {
  padding: var(--space-sm) var(--space-md);
  text-align: left;
  border-bottom: 1px solid var(--border-gray);
}

.table th {
  background: var(--light-gray);
  font-weight: 600;
  color: var(--text-dark);
}

.table tbody tr:hover {
  background: var(--light-gray);
}

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--primary-blue); }
.text-secondary { color: var(--secondary-green); }
.text-muted { color: var(--text-muted); }
.text-dark { color: var(--text-dark); }

.bg-light { background-color: var(--light-gray); }
.bg-primary { background-color: var(--primary-blue); }
.bg-secondary { background-color: var(--secondary-green); }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.pt-sm { padding-top: var(--space-sm); }
.pt-md { padding-top: var(--space-md); }
.pt-lg { padding-top: var(--space-lg); }
.pt-xl { padding-top: var(--space-xl); }

.pb-sm { padding-bottom: var(--space-sm); }
.pb-md { padding-bottom: var(--space-md); }
.pb-lg { padding-bottom: var(--space-lg); }
.pb-xl { padding-bottom: var(--space-xl); }

.hidden { display: none; }
.visible { display: block; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fade-up {
  animation: fadeInUp 0.6s ease-out;
}

.animate-fade-left {
  animation: fadeInLeft 0.6s ease-out;
}

.animate-fade-right {
  animation: fadeInRight 0.6s ease-out;
}

/* ===== COOKIE BANNER ===== */
.cookie-consent-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: var(--space-lg);
  border: 1px solid var(--border-gray);
  z-index: 1000;
  max-width: 500px;
  margin: 0 auto;
  animation: fadeInUp 0.5s ease-out;
}

.cookie-banner-content {
  margin-bottom: var(--space-md);
}

.cookie-banner-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: var(--space-xs);
}

.cookie-banner-text {
  font-size: 0.875rem;
  color: var(--text-gray);
  line-height: 1.5;
}

.cookie-banner-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.cookie-banner-actions .btn {
  flex: 1;
  min-width: 120px;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--text-dark);
  color: var(--white);
  padding: var(--space-3xl) 0 var(--space-lg) 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-section h4 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.footer-section p,
.footer-section li {
  color: #cbd5e1;
  margin-bottom: var(--space-xs);
}

.footer-section a {
  color: #cbd5e1;
  transition: color 0.2s ease-in-out;
}

.footer-section a:hover {
  color: var(--white);
}

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

.footer-bottom {
  border-top: 1px solid #475569;
  padding-top: var(--space-lg);
  text-align: center;
  color: #94a3b8;
}

.footer p {
  max-width: none;
}

.section p {
  max-width: none;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .cookie-consent-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
}

/* ===== RESPONSIVE TYPOGRAPHY ===== */
@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-sm);
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
  
  .card {
    padding: var(--space-md);
  }
}

/* ===== MISSING STYLES - CRITICAL FIX ===== */

/* Animation Classes */
.animate-fade-right {
  animation: fadeInRight 0.6s ease-out;
}

/* Testimonials Styles */
.testimonials-carousel {
  position: relative;
  overflow: hidden;
}

.testimonial {
  display: block;
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

.testimonial:not(.active) {
  display: none;
}

/* FAQ Styles */
.faq-item {
  border-bottom: 1px solid var(--border-gray);
  margin-bottom: 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1rem 0;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: color 0.2s ease-in-out;
}

.faq-question:hover {
  color: var(--primary-blue);
}

.faq-icon {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--primary-blue);
  transition: transform 0.2s ease-in-out;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0;
}

.faq-answer p {
  margin-bottom: 1rem;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 0 1rem 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* Utility Classes */
.rounded-full {
  border-radius: 50%;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 0;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  transform: scale(0.9);
  transition: transform 0.3s ease-in-out;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-header {
  padding: var(--space-lg);
  border-bottom: 1px solid var(--border-gray);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  margin: 0;
  color: var(--text-dark);
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-gray);
  transition: color 0.2s ease-in-out;
}

.modal-close:hover {
  color: var(--text-dark);
}

.modal-body {
  padding: var(--space-lg);
}

.modal-footer {
  padding: var(--space-lg);
  border-top: 1px solid var(--border-gray);
  display: flex;
  justify-content: flex-end;
  gap: var(--space-sm);
}

/* Carousel Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
  margin-top: var(--space-lg);
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border-gray);
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.carousel-dot.active,
.carousel-dot:hover {
  background: var(--primary-blue);
}

/* Additional Form Styles */
.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: var(--primary-blue);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
  box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-blue-dark);
  transform: translateY(-2px);
}

/* Service Filter Styles */
.service-filter-btn {
  padding: 0.5rem 1rem;
  background: var(--white);
  border: 2px solid var(--border-gray);
  border-radius: var(--radius-md);
  color: var(--text-gray);
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  font-weight: 500;
}

.service-filter-btn:hover,
.service-filter-btn.active {
  background: var(--primary-blue);
  color: var(--white);
  border-color: var(--primary-blue);
}

.service-card {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.3s ease-in-out;
}

.service-card[style*="display: none"] {
  opacity: 0;
  transform: translateY(20px);
}

/* ===== MOBILE-FIRST RESPONSIVE DESIGN ===== */

/* Mobile Styles (320px and up) */
@media (min-width: 320px) {
  /* Container adjustments for mobile */
  .container {
    padding: 0 var(--space-sm);
  }
  
  /* Hero section mobile adjustments */
  .hero-title {
    font-size: 1.75rem;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-text {
    margin-bottom: var(--space-lg);
  }
  
  .hero-image img {
    max-width: 100%;
    height: auto;
  }
  
  /* Grid adjustments for mobile */
  .grid {
    gap: var(--space-md);
  }
  
  .grid.grid-2,
  .grid.grid-3,
  .grid.grid-4 {
    grid-template-columns: 1fr;
  }
  
  /* Mobile menu styles */
  .nav {
    display: none;
  }
  
  .nav-mobile.active {
    display: flex;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: var(--space-lg);
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  /* Card adjustments for mobile */
  .card {
    margin-bottom: var(--space-md);
  }
  
  /* Button adjustments for mobile */
  .btn {
    width: 100%;
    margin-bottom: var(--space-sm);
    text-align: center;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  /* Form adjustments for mobile */
  .form-group {
    margin-bottom: var(--space-md);
  }
  
  .form-input,
  .form-select,
  .form-textarea {
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  /* Text size adjustments for mobile readability */
  .text-large {
    font-size: 1.125rem;
  }
  
  /* Section spacing adjustments */
  .section {
    padding: var(--space-lg) 0;
  }
  
  /* Table responsive design */
  .table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  table {
    min-width: 600px;
  }
  
  /* FAQ mobile adjustments */
  .faq-question {
    font-size: 1rem;
    padding: var(--space-md) 0;
  }
}

/* Tablet Styles (768px and up) */
@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-lg);
  }
  
  /* Hero section tablet adjustments */
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
  }
  
  /* Grid adjustments for tablet */
  .grid.grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid.grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Mobile menu hidden on tablet+ */
  .mobile-menu-toggle {
    display: none;
  }
  
  .nav {
    display: flex;
  }
  
  /* Button adjustments for tablet */
  .btn {
    width: auto;
    display: inline-block;
    margin-bottom: 0;
  }
  
  .hero-buttons {
    flex-direction: row;
  }
  
  /* Section spacing for tablet */
  .section {
    padding: var(--space-xl) 0;
  }
}

/* Desktop Styles (1024px and up) */
@media (min-width: 1024px) {
  /* Hero section desktop adjustments */
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .hero-content {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
  
  /* Grid adjustments for desktop */
  .grid.grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .grid.grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
  
  /* Section spacing for desktop */
  .section {
    padding: var(--space-2xl) 0;
  }
}

/* Large Desktop Styles (1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
}

/* Critical Mobile-First Fixes */

/* Prevent horizontal scrolling */
html {
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
}

/* Ensure images don't cause overflow */
img {
  max-width: 100%;
  height: auto;
}

/* Fix for table horizontal scroll */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Print Styles */
@media print {
  .header,
  .footer,
  .cookie-consent-banner,
  .btn,
  .back-to-top,
  .modal-overlay,
  .mobile-menu-toggle {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3 {
    page-break-after: avoid;
  }
  
  .container {
    padding: 0;
  }
}
.bg-primary h2, 
.bg-primary p {
  color: white;
}