/* ==========================================================================
   SHREE MAHAVIR ELECTRICALS - RESPONSIVE BREAKPOINTS (MOBILE TO DESKTOP)
   ========================================================================== */

/* Ultra-Wide Screens (1600px+) */
@media (min-width: 1600px) {
  :root {
    --container-max: 1440px;
  }
  .hero-title {
    font-size: 4rem;
  }
}

/* Laptops & Standard Desktops (1025px to 1280px) */
@media (max-width: 1280px) {
  .hero-title {
    font-size: 3rem;
  }
  .services-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 2rem;
  }
}

/* Tablets Landscape & Small Laptops (769px to 1024px) */
@media (max-width: 1024px) {
  .top-info {
    order: 1;
  }
  .top-badge {
    order: 2;
  }
  .top-badge, .top-info {
    flex: 0 0 100%;
    max-width: 100%;
    justify-content: center;
    text-align: center;
  }
  .nav-menu {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-visual {
    max-width: 500px;
    margin: 0 auto;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-img-secondary {
    position: relative;
    bottom: 0;
    right: 0;
    width: 100%;
    margin-top: 1rem;
    border: none;
  }
  .service-detail-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

/* Tablets Portrait & Mobile Devices (Up to 768px) */
@media (max-width: 768px) {
  .section {
    padding: 3.5rem 0;
  }
  .section-heading {
    font-size: 2rem;
  }
  .hero-section {
    min-height: auto;
    padding: 3rem 0;
  }
  .hero-title {
    font-size: 2.25rem;
  }
  .hero-desc {
    font-size: 1rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .floating-stat-card {
    position: relative;
    bottom: 0;
    left: 0;
    margin-top: 1rem;
  }
  .cta-content {
    flex-direction: column;
    text-align: center;
  }
  .cta-text h2 {
    font-size: 1.85rem;
  }
  .cta-text p {
    font-size: 1rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .mobile-action-bar {
    display: block;
  }
  body {
    padding-bottom: 60px; /* Space for sticky mobile action bar */
  }
}

/* Small Mobile Devices (Up to 480px) */
@media (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .hero-title {
    font-size: 1.85rem;
  }
  .top-info {
    font-size: 0.8rem;
  }
  .top-bar-inner {
    justify-content: center;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-list {
    grid-template-columns: 1fr;
  }
  .page-header-title {
    font-size: 2rem;
  }
}
