/* ==========================================================================
   Siddique Tech Solution - Responsive Stylesheet
   ========================================================================== */

/* Large Tablets & Small Laptops (max-width: 1024px) */
@media (max-width: 1024px) {
  :root {
    --header-height: 74px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats-row {
    justify-content: center;
    max-width: 600px;
    margin: 2.5rem auto 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-image-wrapper {
    max-width: 500px;
    margin: 0 auto;
  }

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

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

  .cart-layout {
    grid-template-columns: 1fr;
  }
}

/* Tablets & Mobile Navigation (max-width: 868px) */
@media (max-width: 868px) {
  .mobile-nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: rgba(7, 13, 28, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.25rem;
    align-items: flex-start;
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu .nav-link {
    font-size: 1.15rem;
    width: 100%;
    padding: 0.5rem 0;
  }

  .header-cta-btn {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .float-card-1 {
    top: -5px;
    right: 5px;
  }

  .float-card-2 {
    bottom: -10px;
    left: 5px;
  }
}

/* Mobile Phones (max-width: 580px) */
@media (max-width: 580px) {
  .container {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .section-padding {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .hero-stats-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

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

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

  .footer-legal-links {
    justify-content: center;
  }

  .cart-table th:nth-child(2),
  .cart-table td:nth-child(2) {
    display: none;
  }

  .cart-items-box,
  .cart-summary-box {
    padding: 1.5rem;
  }

  .toast {
    min-width: calc(100vw - 40px);
    right: 20px;
    left: 20px;
  }
}
