/* Responsive Styles */

/* Max 1024px */
@media (max-width: 1024px) {
  h1 { font-size: 2.5rem; }
  
  .hero .container,
  .intro .container,
  .guide-layout {
    gap: 2rem;
  }
}

/* Max 768px (Tablets) */
@media (max-width: 768px) {
  .section-padding { padding: 4rem 0; }
  
  .hero { padding: 8rem 0 4rem; }
  
  .hero .container,
  .intro .container,
  .guide-layout,
  .guide-layout.reverse {
    grid-template-columns: 1fr;
    text-align: center;
    direction: ltr; /* Reset reverse on mobile */
  }

  .guide-layout.reverse > * {
    direction: ltr;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .phone-mockup {
    margin: 2rem auto 0;
  }
  
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  /* Navbar Mobile Menu */
  .hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: left 0.3s ease;
    gap: 2rem;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links .btn {
    margin-top: 1rem;
  }
  
  .guide-image-container {
    max-width: 400px;
    margin: 0 auto;
  }
}

/* Max 480px (Mobile) */
@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  
  .steps-grid {
    grid-template-columns: 1fr;
  }
  
  .floating-card {
    display: none; /* Hide on very small screens to avoid clutter */
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
}
/* Responsive Split Layout */
@media (max-width: 1024px) {
  .split-layout {
    grid-template-columns: 250px 1fr;
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .split-layout {
    grid-template-columns: 1fr; /* Stack vertically on mobile */
  }
  
  .sidebar-menu {
    position: relative;
    top: 0;
    max-height: 250px; /* Make it scrollable but small on top */
    margin-bottom: 2rem;
  }
  
  .content-pane .guide-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
