/* Responsive Styles */

/* Tablet Styles (768px to 1023px) */
@media screen and (max-width: 1023px) {
  html {
    font-size: 56.25%; /* 9px = 0.9rem */
  }
  
  .hero-content h1 {
    font-size: 4rem;
  }
  
  .subtitle {
    font-size: 2rem;
  }
  
  .nonprofit-content {
    flex-direction: column;
    text-align: center;
  }
  
  .service-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Styles (up to 767px) */
@media screen and (max-width: 767px) {
  html {
    font-size: 50%; /* 8px = 0.8rem */
  }
  
  .header-content {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  nav ul {
    gap: var(--space-sm);
  }
  
  .hero-content h1 {
    font-size: 3.2rem;
  }
  
  .subtitle {
    font-size: 1.8rem;
  }
  
  .section {
    padding: var(--space-lg) 0;
  }
  
  .section-title {
    font-size: 3rem;
    margin-bottom: var(--space-md);
  }
  
  .service-cards {
    grid-template-columns: 1fr;
  }
  
  .values-container {
    gap: var(--space-md);
  }
  
  .contact-details {
    grid-template-columns: 1fr;
  }
  
  .contact-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* Small Mobile Styles (up to 479px) */
@media screen and (max-width: 479px) {
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero-content h1 {
    font-size: 2.8rem;
  }
  
  .subtitle {
    font-size: 1.6rem;
  }
  
  .value-item {
    width: 12rem;
  }
}