/* === Responsive Breakpoints === */

/* Large devices (desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Medium devices (tablets, 991px and down) */
@media (max-width: 991px) {
  :root {
    --font-size-5xl: 2.5rem;   /* 40px */
    --font-size-4xl: 2rem;     /* 32px */
    --font-size-3xl: 1.5rem;   /* 24px */
  }

  .section {
    padding-top: var(--space-16);
    padding-bottom: var(--space-16);
  }

  .hero {
    min-height: 500px;
  }

  .hero-title {
    font-size: var(--font-size-4xl);
  }

  .hero-subtitle {
    font-size: var(--font-size-lg);
  }

  .hero-stats {
    gap: var(--space-6);
  }

  .cta-banner {
    padding: var(--space-16) 0;
  }

  .cta-banner-title {
    font-size: var(--font-size-3xl);
  }
}

/* Small devices (landscape phones, 768px and down) */
@media (max-width: 768px) {
  :root {
    --font-size-5xl: 2rem;     /* 32px */
    --font-size-4xl: 1.75rem;  /* 28px */
    --font-size-3xl: 1.375rem; /* 22px */
    --font-size-2xl: 1.25rem;  /* 20px */
  }

  .section {
    padding-top: var(--space-12);
    padding-bottom: var(--space-12);
  }

  .hero {
    min-height: auto;
    padding: var(--space-16) 0;
  }

  .hero-content {
    padding: 0;
  }

  .hero-title {
    font-size: var(--font-size-4xl);
  }

  .hero-subtitle {
    font-size: var(--font-size-base);
  }

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

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: var(--space-6);
  }

  .hero-stat {
    flex: 1 0 40%;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-item {
    flex-direction: column;
    text-align: center;
  }

  .feature-icon {
    margin: 0 auto;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }

  .stat-number {
    font-size: var(--font-size-4xl);
  }

  .section-title {
    font-size: var(--font-size-3xl);
  }

  .section-desc {
    font-size: var(--font-size-base);
  }

  .page-header {
    padding: var(--space-16) 0 var(--space-10);
  }

  .page-header-title {
    font-size: var(--font-size-3xl);
  }

  .cta-banner-title {
    font-size: var(--font-size-3xl);
  }

  .cta-banner-desc {
    font-size: var(--font-size-base);
  }
}

/* Extra small devices (phones, 576px and down) */
@media (max-width: 576px) {
  :root {
    --container-padding: var(--space-4);
    --font-size-5xl: 1.75rem;  /* 28px */
    --font-size-4xl: 1.5rem;   /* 24px */
    --font-size-3xl: 1.25rem;  /* 20px */
  }

  .section {
    padding-top: var(--space-10);
    padding-bottom: var(--space-10);
  }

  .hero {
    padding: var(--space-12) 0;
  }

  .hero-title {
    font-size: var(--font-size-4xl);
  }

  .hero-badge {
    font-size: var(--font-size-xs);
    padding: var(--space-1) var(--space-3);
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--space-4);
  }

  .hero-stat {
    flex: none;
    text-align: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .service-card-footer {
    flex-direction: column;
  }

  .service-card-footer .btn {
    width: 100%;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .trust-bar-inner {
    gap: var(--space-6);
  }

  .trust-item {
    font-size: var(--font-size-xs);
  }

  .trust-item i {
    font-size: 20px;
  }

  .footer-main {
    padding: var(--space-12) 0 var(--space-8);
  }

  .live-chat-btn {
    width: 50px;
    height: 50px;
    font-size: 20px;
    bottom: 20px;
    right: 20px;
  }

  .btn-large {
    padding: var(--space-3) var(--space-6);
    font-size: var(--font-size-base);
  }

  .process-step-number {
    width: 50px;
    height: 50px;
    font-size: var(--font-size-xl);
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
  }

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

  .faq-question {
    font-size: var(--font-size-base);
    padding: var(--space-4) 0;
  }

  .team-member-photo {
    width: 120px;
    height: 120px;
    font-size: 48px;
  }

  .contact-info-item {
    padding: var(--space-4);
  }
}

/* === Reduced Motion === */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }
}
