/* Responsive Styles */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .feature-card {
    margin-bottom: 2rem;
  }
  
  .doc-sidebar {
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 540px;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow-md);
    z-index: 100;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-menu li {
    margin: 0.5rem 0;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .testimonial-card {
    margin-bottom: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .cta-section h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.3rem;
  }
  
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .hero-content p {
    font-size: 0.9rem;
  }
  
  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .page-header {
    padding: 2rem 0;
  }
  
  .page-header h1 {
    font-size: 1.8rem;
  }
  
  .page-header p {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .py-5 {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  
  .py-6 {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
  
  .p-4 {
    padding: 1rem;
  }
  
  .p-5 {
    padding: 1.5rem;
  }
  
  .mb-5 {
    margin-bottom: 2rem;
  }
  
  .cta-section h2 {
    font-size: 1.5rem;
  }
  
  .doc-content {
    padding: 1rem !important;
  }
  
  .doc-sidebar {
    padding: 1rem !important;
  }
}

/* Mobile Menu Toggle JavaScript Support */
.mobile-menu-toggle[aria-expanded="true"] .fa-bars:before {
  content: "\f00d"; /* Change to X icon when expanded */
}

/* Accessibility Improvements */
a:focus, button:focus {
  outline: 2px solid var(--teal-blue);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--navy-blue);
  color: white;
  padding: 8px;
  z-index: 100;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

/* Print Styles */
@media print {
  .header, .footer, .mobile-menu-toggle {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
    background: #fff;
  }
  
  a {
    color: #000;
    text-decoration: underline;
  }
  
  a[href^="http"]:after {
    content: " (" attr(href) ")";
  }
  
  .container {
    max-width: 100%;
    width: 100%;
  }
  
  .doc-sidebar {
    display: none;
  }
  
  .doc-content {
    width: 100%;
  }
}
