* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #1e40af;
  --secondary-color: #0f766e;
  --accent-color: #f59e0b;
  --neutral-light: #f8fafc;
  --neutral-medium: #e2e8f0;
  --neutral-dark: #1e293b;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --success-color: #16a34a;
  --border-radius: 8px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--neutral-light);
}

/* Navbar */
.navbar {
  background-color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h1 {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 700;
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
}

/* Main Content */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Hero Section */
.hero {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  text-align: center;
  border-radius: var(--border-radius);
  margin: 2rem 0;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

/* Mission Section */
.mission {
  padding: 4rem 2rem;
  background-color: white;
  border-radius: var(--border-radius);
  margin: 3rem 0;
}

.mission-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.mission h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.mission-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Services Section */
.services {
  padding: 4rem 0;
}

.services h2 {
  font-size: 2rem;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.service-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Impact Section */
.impact {
  background-color: var(--secondary-color);
  color: white;
  padding: 4rem 2rem;
  border-radius: var(--border-radius);
  margin: 4rem 0;
  text-align: center;
}

.impact h2 {
  font-size: 2rem;
  margin-bottom: 3rem;
  color: white;
}

.impact-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.stat {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: var(--border-radius);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
}

.stat p {
  font-size: 1rem;
  opacity: 0.9;
}

/* CTA Sections */
.cta-section {
  text-align: center;
  padding: 4rem 2rem;
  background-color: var(--primary-color);
  color: white;
  border-radius: var(--border-radius);
  margin: 4rem 0;
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* Buttons */
.cta-button,
.cta-button-secondary,
.submit-button {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.cta-button {
  background-color: var(--accent-color);
  color: white;
}

.cta-button:hover {
  background-color: #d97706;
  transform: translateY(-2px);
}

.cta-button-secondary {
  background-color: var(--secondary-color);
  color: white;
}

.cta-button-secondary:hover {
  background-color: #0d5f5c;
  transform: translateY(-2px);
}

.submit-button {
  background-color: var(--primary-color);
  color: white;
  width: 100%;
}

.submit-button:hover {
  background-color: #1e3a8a;
}

/* Page Header */
.page-header {
  text-align: center;
  padding: 3rem 0;
}

.page-header h1 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.page-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* About Content */
.about-content {
  max-width: 900px;
  margin: 2rem auto;
}

.about-section {
  background-color: white;
  padding: 2.5rem;
  margin-bottom: 2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.about-section h2 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.about-section p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.value-card {
  background-color: var(--neutral-light);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--secondary-color);
}

.value-card h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.value-card p {
  color: var(--text-secondary);
}

.financial-info {
  background-color: var(--neutral-light);
  padding: 1.5rem;
  border-radius: var(--border-radius);
}

.financial-info p {
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
}

.financial-note {
  font-style: italic;
  color: var(--secondary-color);
  margin-top: 1rem;
}

/* Programs Section */
.programs-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.program-card {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid var(--secondary-color);
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.program-header {
  font-size: 0.9rem;
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.program-card h3 {
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.program-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.program-details {
  list-style: none;
}

.program-details li {
  color: var(--text-secondary);
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.program-details li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: bold;
}

/* Contact Section */
.contact-section {
  margin: 3rem 0;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.contact-info,
.contact-form-wrapper {
  background-color: white;
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contact-info h2,
.contact-form-wrapper h2 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.info-block {
  margin-bottom: 2rem;
}

.info-block h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.info-block p {
  color: var(--text-secondary);
}

.info-block a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
}

.info-block a:hover {
  text-decoration: underline;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

.form-group label {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid var(--neutral-medium);
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

/* Footer */
.footer {
  background-color: var(--neutral-dark);
  color: white;
  padding: 3rem 2rem 1rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .nav-menu {
    gap: 1rem;
    flex-wrap: wrap;
  }

  .nav-container {
    flex-direction: column;
    gap: 1rem;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .programs-section {
    grid-template-columns: 1fr;
  }

  .impact-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-header h1 {
    font-size: 1.75rem;
  }

  .mission-container {
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 3rem 1rem;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .impact-stats {
    grid-template-columns: 1fr;
  }

  nav-menu {
    flex-direction: column;
    gap: 0.5rem;
  }

  .page-header h1 {
    font-size: 1.5rem;
  }

  .about-section,
  .contact-info,
  .contact-form-wrapper {
    padding: 1.5rem;
  }
}
