/* ============================================
   TABLET ADJUSTMENTS (1024px and below)
   ============================================ */

@media (max-width: 1024px) {
  :root {
    --section-padding: 4rem;
    --navbar-height: 70px;
  }
  
  .hero-content h1 {
    font-size: 2.4rem;
  }
  
  .banner-content {
    left: 5%;
    max-width: 90%;
  }
}

/* ============================================
   MOBILE ADJUSTMENTS (768px and below)
   ============================================ */

@media (max-width: 768px) {
  :root {
    --section-padding: 3rem;
    --navbar-height: 65px;
    --container-padding: 1rem;
  }
  
  /* Mobile Navigation */
  .menu-toggle {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--navbar-height));
    background: rgba(18, 14, 18, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: var(--space-12);
    gap: var(--space-6);
    transform: translateX(100%);
    transition: transform var(--transition-slow);
  }
  
  .nav-links.active {
    transform: translateX(0);
  }
  
  .nav-links a {
    font-size: 1.25rem;
    padding: var(--space-3) var(--space-6);
    border-left: none;
    border-bottom: 2px solid transparent;
  }
  
  .nav-links a::after {
    display: none;
  }
  
  .nav-links a.active {
    border-bottom-color: var(--accent-gold-bright);
    border-left-color: transparent;
  }
  
  /* Hero Section */
  .hero-section {
    min-height: 570px;
    height: auto;
    padding: calc(var(--navbar-height) + var(--space-12)) 0 var(--space-12);
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  /* About Grid */
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
  
  /* Programs */
  .programs-banner {
    height: 60vh;
    min-height: 400px;
  }
  
  .banner-content {
    left: 5%;
    bottom: 10%;
  }
  
  .program-nav {
    padding: var(--space-6) var(--space-4);
    gap: var(--space-3);
  }
  
  .nav-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
  
  /* Join Section */
  .join-grid {
    grid-template-columns: 1fr;
  }
  
  /* Impact Grid */
  .impact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  
  .impact-stat {
    padding: var(--space-6);
  }
  
  /* Contact Grid */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    text-align: center;
  }
  
  .newsletter-form {
    max-width: 400px;
    margin: var(--space-4) auto 0;
  }
  
  .social-icons {
    justify-content: center;
  }
}

/* ============================================
   SMALL MOBILE (420px and below)
   ============================================ */

@media (max-width: 420px) {
  .hero-content h1 {
    font-size: 1.75rem;
  }
  
  .logo {
    font-size: 2rem;
  }
  
  .logo img {
    height: 40px;
  }
  
  .section-header h2 {
    font-size: var(--font-size-xl);
  }
  
  .impact-number {
    font-size: var(--font-size-2xl);
  }
  
  .join-grid {
    grid-template-columns: 1fr;
  }
  
  .form-card,
  .donation-card {
    padding: var(--space-5);
  }
}