/* ==========================================================================
   DH SPRACHZENTRUM - RESPONSIVE STYLESHEET
   ========================================================================== */

@media (max-width: 1024px) {
  .slide-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }
  
  .slide-content h1 {
    font-size: 2.4rem;
  }
  
  .slide-content p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .slide-buttons {
    justify-content: center;
  }
  
  .slide-visual {
    max-width: 480px;
    margin: 0 auto;
  }
  
  .courses-grid, .packs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .exams-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .insta-grid,
  .insta-video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .why-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .test-banner-card {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .top-bar-info {
    display: none;
  }
  
  .top-bar .container {
    justify-content: flex-end;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #FFFFFF;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 30px 24px;
    gap: 12px;
    box-shadow: -5px 0 25px rgba(0,0,0,0.15);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow-y: auto;
  }

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

  .nav-menu li {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 12px 16px;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: #F8FAFC;
    padding-left: 10px;
    margin-top: 4px;
    display: none;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }

  .nav-buttons .btn {
    display: none; /* In header, move to bottom or inside mobile menu */
  }

  .hero-slider {
    min-height: 520px;
  }

  .slide-content h1 {
    font-size: 2rem;
  }

  .quick-finder-card {
    padding: 20px;
  }

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

  .courses-grid, .packs-grid, .testimonials-grid {
    grid-template-columns: 1fr;
  }

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

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

  .insta-grid,
  .insta-video-grid {
    grid-template-columns: 1fr;
  }

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

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

  .section-title {
    font-size: 1.85rem;
  }

  .cta-banner-content h2 {
    font-size: 2rem;
  }

  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
  }
}
