/* Mobile fixes layered on top of style.css (loaded after it). */
html { overflow-x: hidden; }
body { overflow-x: hidden; max-width: 100vw; }
img, video { max-width: 100%; }

@media (max-width: 768px) {
  .container { padding: 0 1.25rem; }
  .navbar-container { height: 64px; gap: 1rem; }
  .logo-word-img { height: 38px; }
  .navbar .btn-sm { padding: 0.55rem 1rem; font-size: 0.85rem; white-space: nowrap; }

  .glow-circle { display: none; }
  .hero { padding-top: 80px; }
  .hero-video-bg video { width: 100%; height: 100%; object-fit: cover; }
  .hero-grid-split { grid-template-columns: 1fr; gap: 2rem; }
  .hero-col-left, .hero-col-right { width: 100%; max-width: 100%; min-width: 0; text-align: center; }
  .hero-main-title, .hero-title-left {
    font-size: clamp(2rem, 9.5vw, 2.75rem) !important;
    line-height: 1.12;
    overflow-wrap: anywhere;
    text-align: center;
  }
  .hero-edition-pill { font-size: 0.75rem; letter-spacing: 0.12em; padding: 0.45rem 0.9rem; }
  .hero-tamil-banner, .hero-tamil-left { font-size: 1rem; padding: 0.75rem 1rem; text-align: center; }
  .hero-tagline-text, .hero-text-left { font-size: 1rem; text-align: center; }
  .hero-meta-grid { grid-template-columns: 1fr !important; gap: 0.75rem; max-width: 100%; }
  .hero-meta-grid > * { min-width: 0; }
  .meta-item-card { min-width: 0; }
  .meta-item-full { grid-column: 1 / -1; }
  .meta-val { overflow-wrap: anywhere; }
  .hero-cta-group { flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .hero-cta-group .btn { width: 100%; }

  .section-title { font-size: 1.85rem; line-height: 1.2; overflow-wrap: anywhere; }
  .section-subtitle { font-size: 1rem; }
  .packages-grid, .pillars-grid, .agenda-grid, .benefits-grid, .whom-grid, .stats-grid { grid-template-columns: 1fr !important; }
  .stats-grid { grid-template-columns: 1fr 1fr !important; }
  .package-card { padding: 1.75rem 1.25rem; }
  .package-price { font-size: 2rem; }
  .venue-card { grid-template-columns: 1fr; }
  .recap-gallery { grid-template-columns: 1fr 1fr; }
  .modal-content, .video-modal-content { width: 92vw; max-width: 92vw; }
  table { display: block; overflow-x: auto; }
}

@media (max-width: 400px) {
  .hero-meta-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr !important; }
  .recap-gallery { grid-template-columns: 1fr; }
}
