/* ==========================================================================
   TVOLTTECH CONTROL TRANSFORMERS LLP - Responsive Breakpoints
   ========================================================================== */

/* Large Screens (max-width: 1200px) */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 2rem;
  }
}

/* Medium Screens / Tablets (max-width: 992px) */
@media (max-width: 992px) {
  :root {
    --header-height: 75px;
  }

  .section-padding {
    padding: 4.5rem 0;
  }

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

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

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

  .hero-stats-row {
    justify-content: center;
  }

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

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

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

  /* Navigation Mobile Menu */
  .mobile-toggle {
    display: block;
  }

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

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

  .nav-link {
    font-size: 1.1rem;
    width: 100%;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .header-actions .btn-sm {
    display: none;
  }

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

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 3rem;
    padding-right: 0;
    text-align: left !important;
  }

  .timeline-item:nth-child(even) {
    left: 0;
  }

  .timeline-dot {
    left: 10px !important;
    right: auto !important;
  }
}

/* Small Screens / Mobile Phones (max-width: 768px) */
@media (max-width: 768px) {
  .section-title {
    font-size: 2.15rem;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }

  .filter-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

  .search-box {
    min-width: 100%;
  }

  .category-pills {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

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

  .hero-stats-row {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }

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

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

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

  .floating-whatsapp {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
  }
}

/* Micro Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.9rem;
  }
  
  .btn {
    width: 100%;
  }

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