/* Layout styles */
.container {
  width: 100%;
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
  z-index: 100;
  padding: var(--spacing-sm) 0;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 4rem;
  margin-right: var(--spacing-sm);
}

.logo-text {
  font-weight: 600;
  font-size: 1.8rem;
  color: var(--color-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.nav-links a {
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--color-primary);
}

/* Hero section */
.hero {
  height: 100vh;
  background-image: url('https://images.pexels.com/photos/8535227/pexels-photo-8535227.jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  color: white;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 80rem;
  margin: 0 auto;
}

/* Mission section */
.mission {
  background-color: var(--color-background-alt);
}

/* Programs grid */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: var(--spacing-lg);
}

/* Nonprofit section */
.nonprofit {
  background-color: var(--color-background-alt);
}

/* Impact section */
.impact-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

/* Contact section */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: var(--spacing-lg);
}

/* Footer */
.footer {
  background-color: var(--color-primary);
  color: white;
  padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--spacing-lg);
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo img {
  height: 5rem;
  margin-bottom: var(--spacing-sm);
}

.footer-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.footer-links a {
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 0.8;
}

.copyright {
  text-align: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1.4rem;
  opacity: 0.8;
}

/* Responsive styles */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  h1 {
    font-size: 3.6rem;
  }
  
  h2 {
    font-size: 2.8rem;
  }
  
  .footer-content {
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: center;
    text-align: center;
  }
  
  .footer-logo {
    align-items: center;
    margin-bottom: var(--spacing-md);
  }
  
  .footer-links ul {
    justify-content: center;
  }
}