/**
 * Devices Doctor - Responsive Stylesheet (White Theme Edition)
 * Zero horizontal scrolling across 320px, 360px, 375px, 390px, 430px, 768px, 1024px, 1440px
 */

/* ==========================================================================
   TABLET BREAKPOINTS (max-width: 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  .services-grid-clean {
    grid-template-columns: repeat(2, 1fr);
  }

  .brands-grid-clean {
    grid-template-columns: repeat(4, 1fr);
  }

  .brand-card-clean {
    height: 78px;
    padding: 0.75rem 1rem;
  }

  .brand-logo-img-clean {
    max-width: 105px;
    max-height: 42px;
  }

  .process-grid-clean {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

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

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

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.25rem;
  }
}

/* ==========================================================================
   TABLET & MOBILE NAVIGATION (max-width: 860px)
   ========================================================================== */
@media (max-width: 860px) {
  .nav-menu {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }
}

/* ==========================================================================
   MOBILE BREAKPOINTS (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
  :root {
    --header-height: var(--header-height-mobile);
  }

  .site-header {
    height: var(--header-height-mobile);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1rem;
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }

  .brands-grid-clean {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .brand-card-clean {
    height: 74px;
    padding: 0.65rem 0.75rem;
  }

  .brand-logo-img-clean {
    max-width: 95px;
    max-height: 40px;
  }

  .services-grid-clean {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }

  .service-card-media-box {
    height: 190px;
  }

  .process-grid-clean {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }

  .why-grid-clean {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }

  .testimonials-grid-clean {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .hero-trust-bar {
    gap: 1rem 1.25rem;
  }
}

/* ==========================================================================
   SMALL MOBILE BREAKPOINTS (max-width: 480px)
   ========================================================================== */
@media (max-width: 480px) {
  .container {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  .hero-headline {
    font-size: 2rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-whatsapp {
    width: 100%;
  }

  .header-actions .btn-whatsapp span {
    display: inline-block;
  }

  .header-actions .btn-whatsapp {
    padding: 0.55rem 0.95rem;
    font-size: 0.85rem;
  }

  .brands-grid-clean {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  .brand-card-clean {
    height: 68px;
    padding: 0.5rem 0.6rem;
  }

  .brand-logo-img-clean {
    max-width: 82px;
    max-height: 36px;
  }

  .enquiry-card-wrapper {
    padding: 1.5rem 1rem;
  }

  .floating-whatsapp-btn {
    bottom: 18px;
    right: 18px;
    width: 52px;
    height: 52px;
  }

  .floating-whatsapp-btn svg {
    width: 26px;
    height: 26px;
  }
}

/* ==========================================================================
   EXTRA SMALL MOBILE (320px - 360px)
   ========================================================================== */
@media (max-width: 360px) {
  .hero-headline {
    font-size: 1.75rem;
  }

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

  .brand-card-clean {
    height: 66px;
    padding: 0.5rem 0.75rem;
  }

  .brand-logo-img-clean {
    max-width: 86px;
    max-height: 36px;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.775rem;
  }

  .section-title {
    font-size: 1.55rem;
  }
}
