/* ==========================================================================
   Era Management Institute of Technology [EMIT], Dehradun
   Responsive Breakpoints & Mobile Enhancements
   ========================================================================== */

/* Large Tablets (max-width: 1024px) */
@media (max-width: 1024px) {
  .hero-grid, .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-content {
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

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

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

/* Medium Tablets & Mobile (max-width: 768px) */
@media (max-width: 768px) {
  body {
    padding-bottom: 70px; /* Space for sticky bottom bar */
  }

  .nav-menu {
    position: fixed;
    top: 74px;
    left: 0;
    width: 100%;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-subtle);
    padding: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.1rem;
    display: none;
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.open {
    display: flex;
  }

  .menu-toggle-btn {
    display: flex;
  }

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

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

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

  .mobile-bottom-bar {
    display: grid;
  }

  .floating-whatsapp-widget {
    bottom: 5.5rem;
    right: 1.25rem;
  }

  .floating-whatsapp-btn span:last-child {
    display: none; /* Icon only on mobile */
  }

  .floating-whatsapp-btn {
    padding: 0.85rem;
    border-radius: 50%;
  }

  .top-alert-bar {
    display: none;
  }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

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

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

  .contact-form-card {
    padding: 1.5rem 1.25rem;
  }
}
