/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #ffffff;
  color: #111827;
  line-height: 1.6;
}

/* ===== HEADER ===== */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: #6B21A8;
  position: sticky;
  top: 0;
  z-index: 50;
  flex-wrap: wrap;
  gap: 12px;
}
.logo {
  font-size: 20px;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 0.5px;
}
.logo span {
  color: rgba(255,255,255,0.7);
  font-weight: 400;
  font-size: 14px;
  display: block;
  margin-top: 2px;
}
.main-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.main-nav a {
  padding: 8px 16px;
  border-radius: 8px;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 15px;
  transition: all 0.15s ease-out;
  white-space: nowrap;
}
.main-nav a:hover { background: rgba(255,255,255,0.12); color: #ffffff; }
.main-nav a.active { background: rgba(255,255,255,0.18); color: #ffffff; font-weight: 500; }
.donate-btn {
  padding: 8px 20px;
  border-radius: 8px;
  border: 1px solid #ffffff;
  background: #ffffff;
  color: #6B21A8;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.15s ease-out;
  white-space: nowrap;
}
.donate-btn:hover { background: rgba(255,255,255,0.9); }

/* ===== HERO ===== */
.hero {
  text-align: center;
  padding: 64px 24px 48px;
  border-bottom: 1px solid #E5E7EB;
}
.hero h1 {
  font-size: clamp(26px, 5vw, 36px);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero p {
  font-size: clamp(15px, 2.5vw, 18px);
  color: #4B5563;
  max-width: 560px;
  margin: 0 auto 32px;
  padding: 0 8px;
}
.hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary {
  padding: 12px 28px;
  border-radius: 10px;
  border: none;
  background: #6B21A8;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.15s ease-out;
}
.btn-primary:hover { opacity: 0.9; }
.btn-secondary {
  padding: 12px 28px;
  border-radius: 10px;
  border: 1px solid #D1D5DB;
  background: #ffffff;
  color: #374151;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: all 0.15s ease-out;
}
.btn-secondary:hover { background: #F9FAFB; border-color: #9CA3AF; }

/* ===== SECTIONS ===== */
.programs-section {
  padding: 48px 24px;
  max-width: 960px;
  margin: 0 auto;
}
.programs-section h2 {
  font-size: clamp(20px, 4vw, 24px);
  font-weight: 500;
  text-align: center;
  margin-bottom: 8px;
}
.section-subtitle {
  font-size: 15px;
  color: #6B7280;
  text-align: center;
  margin-bottom: 32px;
  padding: 0 8px;
}

/* ===== CARDS ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.card {
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 24px;
  background: #ffffff;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.card-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(107, 33, 168, 0.08);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.card-icon svg { width: 20px; height: 20px; color: #6B21A8; }
.card h3 { font-size: 17px; font-weight: 500; margin-bottom: 8px; }
.card p { font-size: 14px; color: #4B5563; line-height: 1.6; }

/* ===== ABOUT HERO ===== */
.about-hero {
  text-align: center;
  padding: 56px 24px 40px;
  border-bottom: 1px solid #E5E7EB;
}
.about-hero h1 {
  font-size: clamp(24px, 5vw, 32px);
  font-weight: 500;
  margin: 0 0 12px;
}
.about-hero .subtitle {
  font-size: clamp(14px, 2.5vw, 16px);
  color: #4B5563;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  padding: 0 8px;
}
.badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(107, 33, 168, 0.08);
  color: #6B21A8;
  font-size: 13px;
  margin-bottom: 20px;
  border: 1px solid rgba(107, 33, 168, 0.2);
  font-weight: 500;
}

/* ===== MISSION & VISION ===== */
.mission-vision {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}
.mv-card {
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: clamp(20px, 4vw, 32px);
  background: #ffffff;
  position: relative;
  overflow: hidden;
}
.mv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: #6B21A8;
}
.mv-card h3 {
  font-size: 17px;
  font-weight: 500;
  color: #6B21A8;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mv-card p {
  font-size: clamp(14px, 2vw, 15px);
  color: #4B5563;
  line-height: 1.7;
  margin: 0;
}
.mv-icon {
  width: 28px;
  height: 28px;
  color: #6B21A8;
  flex-shrink: 0;
}

/* ===== TIMELINE ===== */
.timeline {
  max-width: 640px;
  margin: 0 auto;
  padding: 32px 24px;
}
.timeline-item {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 28px;
  bottom: -32px;
  width: 2px;
  background: #E5E7EB;
}
.timeline-item:last-child::before { display: none; }
.timeline-dot {
  width: 24px; height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  background: #ffffff;
  border: 2px solid #D1D5DB;
  display: flex;
  align-items: center;
  justify-content: center;
}
.timeline-dot.active {
  border-color: #6B21A8;
  background: #6B21A8;
}
.timeline-content h4 {
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 4px;
}
.timeline-content p {
  font-size: 14px;
  color: #4B5563;
  line-height: 1.6;
  margin: 0;
}

/* ===== QUOTE ===== */
.quote-block {
  max-width: 640px;
  margin: 40px auto;
  padding: clamp(20px, 4vw, 32px);
  border-left: 3px solid #6B21A8;
  background: #F9FAFB;
  border-radius: 0 12px 12px 0;
}
.quote-block p {
  font-size: clamp(16px, 3vw, 18px);
  font-style: italic;
  line-height: 1.6;
  margin: 0 0 12px;
}
.quote-block cite {
  font-size: 14px;
  color: #6B7280;
  font-style: normal;
}

/* ===== GALLERY ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: 32px auto;
  max-width: 720px;
}
.gallery-item {
  aspect-ratio: 1;
  border-radius: 12px;
  border: 2px dashed #D1D5DB;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #9CA3AF;
  font-size: 13px;
  text-align: center;
  padding: 16px;
  background: #F9FAFB;
}
.gallery-item svg {
  width: 28px;
  height: 28px;
  margin-bottom: 8px;
  opacity: 0.5;
}

/* ===== PROGRAMS HERO ===== */
.programs-hero {
  text-align: center;
  padding: 48px 24px 32px;
  border-bottom: 1px solid #E5E7EB;
}
.programs-hero h1 {
  font-size: clamp(24px, 5vw, 32px);
  font-weight: 500;
  margin: 0 0 12px;
}
.programs-hero p {
  font-size: clamp(14px, 2.5vw, 16px);
  color: #4B5563;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
  padding: 0 8px;
}

/* ===== CONTACT ===== */
.contact-hero {
  text-align: center;
  padding: 48px 24px 32px;
  border-bottom: 1px solid #E5E7EB;
}
.contact-hero h1 {
  font-size: clamp(24px, 5vw, 32px);
  font-weight: 500;
  margin: 0 0 12px;
}
.contact-hero p {
  font-size: clamp(14px, 2.5vw, 16px);
  color: #4B5563;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
  padding: 0 8px;
}
.contact-info {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 24px 32px;
}
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.contact-row svg {
  width: 18px;
  height: 18px;
  color: #6B21A8;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-row div {
  font-size: 14px;
  color: #4B5563;
  line-height: 1.5;
}
.contact-row div strong {
  color: #111827;
  display: block;
  margin-bottom: 2px;
}
.contact-form {
  max-width: 480px;
  margin: 0 auto;
  padding: 32px 24px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 14px;
  color: #4B5563;
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #D1D5DB;
  background: #ffffff;
  color: #111827;
  font-size: 15px;
  outline: none;
  transition: border-color 0.15s ease-out;
  box-sizing: border-box;
}
.form-group input:focus,
.form-group textarea:focus { border-color: #6B21A8; }
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* ===== FOOTER ===== */
.site-footer {
  padding: 40px 24px 24px;
  background: #374151;
  color: #D1D5DB;
  font-size: 14px;
}
.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}
.footer-col h4 {
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 12px;
}
.footer-col p,
.footer-col a {
  font-size: 13px;
  color: #9CA3AF;
  line-height: 1.8;
  text-decoration: none;
  display: block;
}
.footer-col a:hover { color: #ffffff; }
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.social-links a {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #D1D5DB;
  transition: all 0.15s ease-out;
}
.social-links a:hover {
  background: rgba(255,255,255,0.15);
  color: #ffffff;
}
.social-links svg { width: 16px; height: 16px; }
.footer-bottom {
  text-align: center;
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: #9CA3AF;
  font-size: 12px;
}

/* ===== RESPONSIVE: TABLET ===== */
@media (max-width: 768px) {
  .site-header { padding: 12px 16px; }
  .logo { font-size: 18px; }
  .logo span { font-size: 12px; }
  .main-nav { gap: 4px; }
  .main-nav a { padding: 6px 12px; font-size: 14px; }
  .donate-btn { padding: 6px 14px; font-size: 14px; }
  .hero { padding: 40px 16px 32px; }
  .programs-section { padding: 32px 16px; }
  .cards-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .timeline-item { gap: 12px; }
}

/* ===== RESPONSIVE: MOBILE ===== */
@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
  .gallery { grid-template-columns: 1fr; }
  .mission-vision { grid-template-columns: 1fr; }
  .contact-row { align-items: center; }
}