/* Responsive CSS for State Support Newsletter Service */

/* Mobile First Approach */
@media (max-width: 767.98px) {
  :root {
    font-size: 14px;
  }

  /* Typography adjustments for mobile */
  .hero-title {
    font-size: 1.75rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.375rem; }
  h3 { font-size: 1.25rem; }
  
  /* Navbar */
  .navbar-brand {
    font-size: 12px !important;
    font-size: 1rem !important;
  }
  
  .navbar-nav {
    text-align: center;
    padding: 1rem 0;
  }
  
  .navbar-nav .nav-link {
    font-size: 10px !important;
    margin: 0.25rem 0;
  }

  /* Hero section adjustments */
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-content {
    padding: 2rem 1rem;
  }

  /* Section spacing */
  .section {
    padding: 2rem 0;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }

  /* Cards */
  .feature-card,
  .service-card,
  .team-card {
    margin-bottom: 1.5rem;
  }
  
  .contact-form {
    padding: 2rem 1.5rem;
  }

  /* Disable Swiper autoplay and effects on mobile */
  .swiper-container {
    --swiper-navigation-size: 20px;
  }
  
  .swiper-container .swiper-wrapper {
    transition-duration: 0ms !important;
  }
  
  .swiper-container[data-autoplay] {
    --swiper-autoplay-delay: 999999999;
  }

  /* FAQ adjustments */
  .faq-question,
  .faq-answer {
    padding: 1rem;
  }

  /* Footer */
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .footer-section {
    text-align: center;
    margin-bottom: 1.5rem;
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-title {
    font-size: 2.25rem;
  }
  
  .service-card,
  .team-card {
    margin-bottom: 2rem;
  }
}

/* Desktop */
@media (min-width: 992px) {
  /* Enhanced animations for desktop */
  .feature-card:hover,
  .service-card:hover,
  .team-card:hover {
    transform: translateY(-8px);
  }
  
  /* Hero enhancements */
  .hero-content {
    padding: 4rem 0;
  }
  
  /* Contact form enhancements */
  .contact-form {
    padding: 4rem;
  }
}

/* Large Desktop */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .section {
    padding: 5rem 0;
  }
}

/* Extra Large Desktop */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .swiper-navigation,
  .swiper-pagination {
    display: none !important;
  }
  
  .section {
    page-break-inside: avoid;
    padding: 1rem 0;
  }
  
  .hero-section {
    min-height: auto;
    background: none !important;
  }
  
  .hero-content {
    color: var(--black) !important;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .btn-primary,
  .navbar {
    background: var(--black) !important;
    border: 2px solid var(--white);
  }
  
  .feature-card,
  .service-card,
  .team-card,
  .contact-form {
    border: 2px solid var(--black);
  }
}

/* Dark mode preferences */
@media (prefers-color-scheme: dark) {
  :root {
    --white: #1a1a1a;
    --black: #ffffff;
    --gray-light: #2d2d2d;
    --gray-medium: #cccccc;
    --gray-dark: #e0e0e0;
  }
}

/* Focus states for accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
  outline: 3px solid var(--primary-orange);
  outline-offset: 2px;
}

/* Screen reader only content */
.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;
} 