/* =========================
   GLOBAL RESPONSIVE TWEAKS
========================= */
img {
  max-width: 100%;
  height: auto;
}

/* =========================
   TABLETS (<= 1024px)
========================= */
@media (max-width: 1024px) {

  .hero h2 {
    font-size: 2.5rem;
  }

  .hero-content {
    max-width: 500px;
  }

  .stats {
    gap: 20px;
  }

  .stat h3 {
    font-size: 2rem;
  }

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

/* =========================
   MOBILE (<= 768px)
========================= */
@media (max-width: 768px) {

  /* NAVBAR */
  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background: #0A0A0A;
    flex-direction: column;
    align-items: center;
    display: none;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
  }

  .nav-links.active {
    display: flex;
  }

  /* Add this button in HTML later */
  .menu-toggle {
    display: block;
    cursor: pointer;
    font-size: 1.5rem;
  }

  /* HERO */
  .hero {
    height: auto;
    padding: 100px 0;
    text-align: center;
  }

  .hero-content {
    margin: auto;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .btn-secondary {
    margin-left: 0;
  }

  /* PROGRAMS */
  .program-grid {
    grid-template-columns: 1fr;
  }

  /* RESULTS */
  .stats {
    flex-direction: column;
    align-items: center;
  }

  .stat {
    margin-bottom: 20px;
  }

  /* WHY */
  .why-grid {
    grid-template-columns: 1fr;
  }

  /* FORM */
  .contact-form {
    width: 100%;
  }
}

/* =========================
   SMALL PHONES (<= 480px)
========================= */
@media (max-width: 480px) {

  .hero h2 {
    font-size: 1.7rem;
  }

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

  .btn, .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .logo {
    font-size: 1.2rem;
  }
}

/* =========================
   LANDSCAPE PHONES
========================= */
@media (max-height: 500px) and (orientation: landscape) {

  .hero {
    padding: 60px 0;
  }

  .hero h2 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 0.9rem;
  }
}