/* Responsive CSS for Accounting & Bookkeeping Hub */

/* Large Devices (Desktops, less than 1200px) */
@media (max-width: 1199.98px) {
  .hero h1 {
    font-size: 3rem;
  }
  
  .about-content {
    gap: 30px;
  }
}

/* Medium Devices (Tablets, less than 992px) */
@media (max-width: 991.98px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .about-image {
    order: 1;
    margin-bottom: 30px;
  }
  
  .about-text {
    order: 2;
  }
  
  .pricing-container {
    flex-direction: column;
    align-items: center;
  }
  
  .pricing-card {
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px;
  }
}

/* Small Devices (Mobile, less than 768px) */
@media (max-width: 767.98px) {
  header .container {
    padding: 15px;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: white;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .nav-links li {
    margin: 15px 0;
  }
  
  .hero {
    padding-top: 100px;
    height: auto;
  }
  
  .hero-content {
    text-align: center;
    margin-bottom: 50px;
    padding-top: 0px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
    margin: 0 auto 2rem;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
  
  .feature-box {
    padding: 20px 15px;
  }
  
  .contact-container {
    flex-direction: column;
  }
  
  .contact-info, .contact-form {
    width: 100%;
  }
  
  .service-options {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Extra Small Devices (Small Mobile, less than 576px) */
@media (max-width: 575.98px) {
  .section-title h2 {
    font-size: 1.5rem;
  }
  
  .section-title p {
    font-size: 0.9rem;
  }
  
  .services-container, 
  .features-container, 
  .team-container, 
  .blog-grid, 
  .core-info-container {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .add-page-header h1 {
    font-size: 2rem;
  }
}

/* Accessibility - Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
} 