/* ========== RESPONSIVE DESIGN ========== */

/* Laptop / Small Desktop (1200px and down) */
@media (max-width: 1200px) {
  h1 { font-size: 3.5rem; }
  h2 { font-size: 2.5rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet (992px and down) */
@media (max-width: 992px) {
  h1 { font-size: 3rem; }
  .hero { min-height: 600px; }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    flex-direction: column;
    justify-content: center;
    transition: right 0.4s ease;
    box-shadow: -5px 0 30px rgba(0,0,0,0.1);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu a {
    color: var(--black);
    font-size: 1.25rem;
  }

  .mobile-toggle {
    display: block;
    z-index: 1001;
  }

  /* Adjust grid layouts for specific pages */
  .services-grid, 
  .features-grid,
  .stats-container,
  .qa-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  .process-step::after {
    display: none;
  }
}

/* Mobile Landscape & Large Phones (768px and down) */
@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  section { padding: 4rem 0; }
  
  .hero-btns {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .get-quote-btn {
    display: none;
  }

  .services-grid, 
  .features-grid,
  .portfolio-grid,
  .stats-container,
  .qa-grid,
  .process-grid {
    grid-template-columns: 1fr !important;
  }

  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 3rem;
  }
}

/* Mobile Portrait (576px and down) */
@media (max-width: 576px) {
  h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .glass-card { padding: 1.5rem; }
  
  .contact-info {
    padding: 1.5rem !important;
  }
  
  .floating-wa {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    bottom: 20px;
    right: 20px;
  }
  
  .back-to-top {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    bottom: 90px;
    right: 25px;
  }
}
