@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap");

:root {
  --primary: #dc2626;
  --primary-foreground: #ffffff;
  --secondary: #3b82f6;
  --secondary-foreground: #ffffff;
  --accent: #f59e0b;
  --accent-foreground: #ffffff;
  --background: #ffffff;
  --foreground: #0f172a;
  --muted: #f8fafc;
  --muted-foreground: #64748b;
  --border: #e2e8f0;
  --card: #ffffff;
  --card-foreground: #0f172a;
  --dark: #0f0f0f;
  --radius: 0.75rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.header {
  background: var(--background);
  border-bottom: 1px solid var(--border);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--foreground);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section with Particles */
.hero {
  min-height: 100vh;
  background: var(--dark);
  color: var(--background);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.particle {
  position: absolute;
  background: var(--primary);
  border-radius: 2px;
  animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) {
  width: 4px;
  height: 4px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
  background: var(--primary);
}
.particle:nth-child(2) {
  width: 6px;
  height: 6px;
  top: 80%;
  left: 20%;
  animation-delay: 1s;
  background: var(--secondary);
}
.particle:nth-child(3) {
  width: 3px;
  height: 3px;
  top: 40%;
  left: 30%;
  animation-delay: 2s;
  background: var(--background);
}
.particle:nth-child(4) {
  width: 8px;
  height: 8px;
  top: 60%;
  left: 40%;
  animation-delay: 3s;
  background: var(--primary);
}
.particle:nth-child(5) {
  width: 5px;
  height: 5px;
  top: 30%;
  left: 50%;
  animation-delay: 4s;
  background: var(--secondary);
}
.particle:nth-child(6) {
  width: 4px;
  height: 4px;
  top: 70%;
  left: 60%;
  animation-delay: 5s;
  background: var(--background);
}
.particle:nth-child(7) {
  width: 7px;
  height: 7px;
  top: 50%;
  left: 70%;
  animation-delay: 0.5s;
  background: var(--primary);
}
.particle:nth-child(8) {
  width: 3px;
  height: 3px;
  top: 90%;
  left: 80%;
  animation-delay: 1.5s;
  background: var(--secondary);
}
.particle:nth-child(9) {
  width: 6px;
  height: 6px;
  top: 10%;
  left: 90%;
  animation-delay: 2.5s;
  background: var(--background);
}
.particle:nth-child(10) {
  width: 4px;
  height: 4px;
  top: 25%;
  left: 15%;
  animation-delay: 3.5s;
  background: var(--primary);
}
.particle:nth-child(11) {
  width: 5px;
  height: 5px;
  top: 75%;
  left: 25%;
  animation-delay: 4.5s;
  background: var(--secondary);
}
.particle:nth-child(12) {
  width: 8px;
  height: 8px;
  top: 45%;
  left: 35%;
  animation-delay: 5.5s;
  background: var(--background);
}
.particle:nth-child(13) {
  width: 3px;
  height: 3px;
  top: 65%;
  left: 45%;
  animation-delay: 0.8s;
  background: var(--primary);
}
.particle:nth-child(14) {
  width: 6px;
  height: 6px;
  top: 35%;
  left: 55%;
  animation-delay: 1.8s;
  background: var(--secondary);
}
.particle:nth-child(15) {
  width: 4px;
  height: 4px;
  top: 85%;
  left: 65%;
  animation-delay: 2.8s;
  background: var(--background);
}
.particle:nth-child(16) {
  width: 7px;
  height: 7px;
  top: 15%;
  left: 75%;
  animation-delay: 3.8s;
  background: var(--primary);
}
.particle:nth-child(17) {
  width: 5px;
  height: 5px;
  top: 55%;
  left: 85%;
  animation-delay: 4.8s;
  background: var(--secondary);
}
.particle:nth-child(18) {
  width: 3px;
  height: 3px;
  top: 95%;
  left: 95%;
  animation-delay: 5.8s;
  background: var(--background);
}
.particle:nth-child(19) {
  width: 6px;
  height: 6px;
  top: 5%;
  left: 5%;
  animation-delay: 1.2s;
  background: var(--primary);
}
.particle:nth-child(20) {
  width: 4px;
  height: 4px;
  top: 75%;
  left: 15%;
  animation-delay: 2.2s;
  background: var(--secondary);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 1;
  }
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-hand {
  width: 200px;
  height: 200px;
  margin: 0 auto 2rem;
  opacity: 0.6;
}

.hand-svg {
  width: 100%;
  height: 100%;
  color: var(--background);
}

.hero h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-balance: balance;
}

.hero p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  line-height: 1.6;
  text-pretty: pretty;
}

.cta-button {
  display: inline-block;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 1rem 2rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.cta-button:hover {
  background: #b91c1c;
  transform: translateY(-2px);
}

.cta-button.secondary {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.cta-button.secondary:hover {
  background: var(--primary);
  color: var(--primary-foreground);
}

/* Mission Section */
.mission {
  padding: 6rem 0;
  background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
}

.mission-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.mission-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.mission-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.mission-text h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  color: var(--dark);
  text-balance: balance;
}

.mission-text p {
  font-size: 1.1rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  line-height: 1.6;
  text-pretty: pretty;
}

/* Programs Section */
.programs {
  padding: 6rem 0;
  background: var(--muted);
}

.section-title {
  text-align: center;
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 3rem;
  color: var(--dark);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.program-card {
  background: var(--card);
  padding: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  text-align: center;
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.program-icon {
  width: 4rem;
  height: 4rem;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--primary-foreground);
}

.program-icon svg {
  width: 2rem;
  height: 2rem;
}

.program-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark);
}

.program-card p {
  color: var(--muted-foreground);
  line-height: 1.6;
  text-pretty: pretty;
}

/* Impact Section */
.impact {
  padding: 6rem 0;
  background: var(--background);
}

.impact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.impact-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.impact-text p {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  text-pretty: pretty;
}

.impact-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  font-weight: 500;
}

.impact-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
}

/* Contact Section */
.contact {
  padding: 6rem 0;
  background: var(--muted);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-foreground);
  flex-shrink: 0;
}

/* Footer */
.footer {
  background: var(--dark);
  color: var(--background);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--background);
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.footer-section a:hover {
  color: var(--background);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .mission-content,
  .impact-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .programs-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2rem;
  }

  .mission-text h2 {
    font-size: 2rem;
  }

  .impact-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.5rem;
  }

  .hero {
    padding: 6rem 0 3rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .programs,
  .impact,
  .contact,
  .mission {
    padding: 3rem 0;
  }

  .program-card {
    padding: 1.5rem;
  }
}
