/* Additional responsive utilities */

@media (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }

  section {
    padding: 3rem 0;
  }

  section h2 {
    font-size: 2.2rem;
  }

  .hero h1 {
    font-size: 1.0rem;
  }

  .services-grid,
  .features-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    font-size: 14px;
  }

  .container {
    padding: 0 15px;
  }

  section {
    padding: 2.5rem 0;
  }

  section h2 {
    font-size: 1.8rem;
  }

  .navbar {
    flex-wrap: wrap;
  }

  .logo {
    font-size: 1.1rem;
  }

  .nav-menu {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    max-height: 400px;
    padding: 1rem 0;
  }

  .nav-menu li {
    border-bottom: 1px solid var(--border);
  }

  .nav-menu li:last-child {
    border-bottom: none;
  }

  .nav-menu a {
    padding: 1rem 1.5rem;
    display: block;
  }

  .nav-menu a.active::after {
    display: none;
  }

  .nav-menu a.active {
    background: var(--light);
    color: var(--primary);
  }

  .menu-toggle {
    display: flex;
    z-index: 101;
  }

  .menu-toggle.active span:first-child {
    transform: rotate(-45deg) translate(-8px, 8px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:last-child {
    transform: rotate(45deg) translate(-8px, -8px);
  }

  .hero {
    padding: 4rem 0;
  }

  .hero h1 {
    font-size: 1.0rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-features {
    flex-direction: column;
    gap: 1rem;
  }

  .feature-item {
    justify-content: flex-start;
    padding: 0.7rem 1.2rem;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .page-hero p {
    font-size: 1rem;
  }

  .intro-content,
  .about-content,
  .service-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-row.reverse {
    direction: ltr;
  }

  .placeholder-image,
  .placeholder-image-large {
    height: 250px;
  }

  .placeholder-image i,
  .placeholder-image-large i {
    font-size: 3rem;
  }

  .services-grid,
  .features-grid,
  .testimonials-grid,
  .values-grid,
  .comparison-grid,
  .team-grid,
  .industries-grid,
  .benefits-grid,
  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .btn {
    width: 100%;
    padding: 0.65rem 1.5rem;
  }

  .btn-block {
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-info-wrapper {
    order: 2;
  }

  .contact-form-wrapper {
    order: 1;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .footer-section:last-child {
    grid-column: 1 / -1;
  }

  .faq-question {
    padding: 1.2rem;
    font-size: 0.95rem;
  }

  .case-study {
    padding: 1.5rem;
  }

  .service-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
  }

  .locations-grid {
    grid-template-columns: 1fr;
  }

  .intro-text h2,
  .about-text h2,
  .service-content h2 {
    text-align: center;
  }

  .intro-text p,
  .about-text p,
  .service-content p {
    text-align: center;
  }

  .highlights,
  .approach-list,
  .service-features {
    text-align: center;
    margin-left: 0;
    padding-left: 0;
  }

  .highlights li,
  .approach-list li,
  .service-features li {
    padding-left: 2.5rem;
  }

  blockquote {
    padding-left: 1rem;
    margin: 0.8rem 0;
  }

  .service-features li::before {
    left: 0;
    font-size: 1rem;
  }

  .highlights li::before,
  .approach-list li::before {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  :root {
    font-size: 13px;
  }

  section {
    padding: 2rem 0;
  }

  section h2 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
  }

  .section-intro {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .hero h1 {
    font-size: 1.0rem;
    margin-bottom: 0.8rem;
  }

  .hero p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .hero {
    padding: 3rem 0;
  }

  .hero-buttons {
    gap: 0.8rem;
  }

  .hero-features {
    gap: 0.8rem;
  }

  .feature-item {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    gap: 0.6rem;
  }

  .feature-item i {
    font-size: 1.1rem;
  }

  .page-hero h1 {
    font-size: 1.5rem;
  }

  .page-hero p {
    font-size: 0.95rem;
  }

  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  .services-grid,
  .features-grid,
  .testimonials-grid,
  .values-grid,
  .comparison-grid,
  .team-grid,
  .industries-grid,
  .benefits-grid,
  .solutions-grid,
  .stats-grid,
  .locations-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .stat-card {
    padding: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .placeholder-image,
  .placeholder-image-large {
    height: 200px;
  }

  .placeholder-image i,
  .placeholder-image-large i {
    font-size: 2.5rem;
  }

  .placeholder-image p,
  .placeholder-image-large p {
    font-size: 0.9rem;
  }

  .intro-content,
  .about-content,
  .service-row,
  .contact-wrapper {
    gap: 1.5rem;
  }

  .service-card,
  .testimonial-card,
  .case-study,
  .contact-form-wrapper,
  .contact-info-wrapper {
    padding: 1.5rem;
  }

  .contact-form-wrapper h2 {
    font-size: 1.5rem;
  }

  .contact-info-wrapper h2 {
    font-size: 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-section:last-child {
    grid-column: auto;
  }

  .footer-section h4 {
    font-size: 0.9rem;
  }

  .footer-section p,
  .footer-section a,
  .footer-section li {
    font-size: 0.85rem;
  }

  .footer-bottom {
    font-size: 0.85rem;
  }

  .faq-question {
    padding: 1rem;
    font-size: 0.9rem;
  }

  .faq-question i {
    font-size: 1rem;
  }

  .faq-answer {
    padding: 1rem 1rem 0 1rem !important;
  }

  .faq-answer p {
    font-size: 0.9rem;
  }

  .service-tag {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
  }

  .testimonial-author h4 {
    font-size: 0.95rem;
  }

  .testimonial-author p {
    font-size: 0.85rem;
  }

  .value-icon,
  .feature-icon,
  .benefit-icon,
  .item-icon,
  .industry-card i,
  .member-image {
    font-size: 2rem;
  }

  .service-icon {
    font-size: 2.5rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
  }

  .social-links {
    gap: 1rem;
  }

  .social-links a {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .social-links.large a {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }

  .intro-text h3,
  .about-text h3,
  .service-content h3 {
    font-size: 1.2rem;
    margin-top: 1rem;
    margin-bottom: 0.8rem;
  }

  .contact-info-box h3 {
    font-size: 0.95rem;
  }

  .contact-info-box p {
    font-size: 0.9rem;
  }

  .case-study h3 {
    font-size: 1.2rem;
  }

  blockquote {
    font-size: 0.9rem;
  }

  .client-role {
    font-size: 0.9rem;
  }
}

/* Print styles */
@media print {
  header,
  footer,
  .cta-section {
    display: none;
  }

  body {
    font-size: 12pt;
    color: #000;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  section {
    page-break-inside: avoid;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  body {
    background: #1f2937;
  }

  .card,
  .service-card,
  .testimonial-card,
  .stat-card,
  .value-card,
  .benefit-card,
  .industry-card,
  .team-member,
  .location-card,
  .faq-item {
    background: #374151;
    border-color: #4b5563;
    color: #e5e7eb;
  }

  .card h3,
  .service-card h3,
  .team-member h3 {
    color: #f3f4f6;
  }

  .card p,
  .service-card p,
  .team-member p {
    color: #d1d5db;
  }

  .placeholder-image,
  .placeholder-image-large {
    background: #4b5563;
    border-color: #6b7280;
  }

  input,
  textarea,
  select {
    background: #374151;
    color: #e5e7eb;
    border-color: #4b5563;
  }

  input::placeholder,
  textarea::placeholder {
    color: #9ca3af;
  }

  .contact-info-wrapper {
    background: #374151;
    color: #e5e7eb;
  }

  label {
    color: #e5e7eb;
  }

  section h2 {
    color: #f9fafb;
  }

  .feature-box h3 {
    color: #f3f4f6;
  }

  .page-hero {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  }
}
