/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --primary: #1a7a4a;
  --primary-dark: #145c38;
  --secondary: #f5a623;
  --accent: #e8f5ee;
  --text: #2d2d2d;
  --text-light: #666;
  --white: #fff;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --radius: 12px;
}
body { font-family: 'Segoe UI', sans-serif; color: var(--text); background: #f9fafb; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== TOPBAR ===== */
.topbar {
  background: var(--primary-dark);
  color: #cde8d8;
  font-size: 13px;
  padding: 6px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar a { color: #cde8d8; }
.topbar a:hover { color: var(--white); }

/* ===== NAVBAR ===== */
nav {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky; top: 0; z-index: 999;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon {
  width: 46px; height: 46px; background: var(--primary);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--white);
}
.logo-text h1 { font-size: 18px; color: var(--primary); font-weight: 700; }
.logo-text span { font-size: 11px; color: var(--text-light); }
.nav-links { display: flex; gap: 6px; list-style: none; }
.nav-links a {
  padding: 8px 16px; border-radius: 8px; font-size: 14px; font-weight: 500;
  color: var(--text); transition: all .2s;
}
.nav-links a:hover, .nav-links a.active {
  background: var(--accent); color: var(--primary);
}
.nav-cta {
  background: var(--primary); color: var(--white) !important;
  padding: 9px 20px !important; border-radius: 8px !important;
}
.nav-cta:hover { background: var(--primary-dark) !important; color: var(--white) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #2ecc71 100%);
  color: var(--white); padding: 90px 0 70px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 400px; height: 400px; background: rgba(255,255,255,.06);
  border-radius: 50%;
}
.hero::after {
  content: ''; position: absolute; bottom: -80px; left: -40px;
  width: 300px; height: 300px; background: rgba(255,255,255,.04);
  border-radius: 50%;
}
.hero-content { position: relative; z-index: 1; max-width: 680px; }
.hero-badge {
  display: inline-block; background: rgba(255,255,255,.2);
  padding: 6px 16px; border-radius: 20px; font-size: 13px; margin-bottom: 20px;
}
.hero h2 { font-size: 46px; font-weight: 800; line-height: 1.2; margin-bottom: 18px; }
.hero p { font-size: 17px; opacity: .9; margin-bottom: 32px; line-height: 1.7; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  padding: 13px 28px; border-radius: 10px; font-size: 15px;
  font-weight: 600; cursor: pointer; border: none; transition: all .2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { background: #f0f0f0; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.6); }
.btn-outline:hover { background: rgba(255,255,255,.1); }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-secondary { background: var(--secondary); color: var(--white); }
.btn-secondary:hover { filter: brightness(1.1); transform: translateY(-2px); }

/* ===== STATS ===== */
.stats { background: var(--white); padding: 50px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-card {
  text-align: center; padding: 28px 20px; border-radius: var(--radius);
  background: var(--accent); border-left: 4px solid var(--primary);
}
.stat-card .number { font-size: 36px; font-weight: 800; color: var(--primary); }
.stat-card .label { font-size: 13px; color: var(--text-light); margin-top: 4px; }

/* ===== SECTION ===== */
.section { padding: 70px 0; }
.section-alt { background: var(--white); }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header .tag {
  display: inline-block; background: var(--accent); color: var(--primary);
  padding: 5px 14px; border-radius: 20px; font-size: 13px; font-weight: 600; margin-bottom: 12px;
}
.section-header h2 { font-size: 34px; font-weight: 800; margin-bottom: 12px; }
.section-header p { color: var(--text-light); font-size: 16px; max-width: 560px; margin: 0 auto; }

/* ===== PROGRAM CARDS ===== */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; transition: transform .2s;
}
.card:hover { transform: translateY(-6px); }
.card-img {
  height: 180px; display: flex; align-items: center; justify-content: center;
  font-size: 56px;
}
.card-body { padding: 22px; }
.card-body h3 { font-size: 18px; margin-bottom: 8px; }
.card-body p { color: var(--text-light); font-size: 14px; line-height: 1.6; margin-bottom: 16px; }
.card-progress { background: #e8e8e8; border-radius: 10px; height: 8px; margin-bottom: 10px; }
.card-progress-bar { height: 8px; border-radius: 10px; background: var(--primary); }
.card-meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-light); }
.card-meta strong { color: var(--primary); }

/* ===== BERITA ===== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform .2s; }
.news-card:hover { transform: translateY(-4px); }
.news-img { height: 160px; display: flex; align-items: center; justify-content: center; font-size: 48px; }
.news-body { padding: 18px; }
.news-tag { font-size: 11px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 1px; }
.news-body h3 { font-size: 16px; margin: 6px 0 8px; line-height: 1.4; }
.news-body p { font-size: 13px; color: var(--text-light); line-height: 1.6; }
.news-date { font-size: 12px; color: #aaa; margin-top: 10px; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary), #27ae60);
  color: var(--white); padding: 60px 0; text-align: center;
}
.cta-banner h2 { font-size: 34px; font-weight: 800; margin-bottom: 12px; }
.cta-banner p { font-size: 16px; opacity: .9; margin-bottom: 28px; }
.cta-banner .btn-white { font-size: 16px; padding: 14px 36px; }

/* ===== ABOUT PAGE ===== */
.about-hero { background: linear-gradient(135deg, var(--primary), #27ae60); color: var(--white); padding: 70px 0; }
.about-hero h1 { font-size: 42px; font-weight: 800; }
.about-hero p { font-size: 17px; opacity: .9; margin-top: 10px; }
.breadcrumb { font-size: 14px; opacity: .7; margin-bottom: 12px; }
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img-box {
  background: var(--accent); border-radius: 20px; height: 380px;
  display: flex; align-items: center; justify-content: center; font-size: 100px;
}
.about-text h2 { font-size: 30px; font-weight: 800; margin-bottom: 16px; color: var(--primary); }
.about-text p { color: var(--text-light); line-height: 1.8; margin-bottom: 14px; }
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 30px; }
.value-item { background: var(--accent); padding: 18px; border-radius: 10px; }
.value-item .icon { font-size: 28px; margin-bottom: 8px; }
.value-item h4 { font-size: 15px; color: var(--primary); margin-bottom: 4px; }
.value-item p { font-size: 13px; color: var(--text-light); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { text-align: center; }
.team-avatar {
  width: 90px; height: 90px; border-radius: 50%; background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; margin: 0 auto 12px; border: 3px solid var(--primary);
}
.team-card h4 { font-size: 15px; font-weight: 700; }
.team-card span { font-size: 13px; color: var(--text-light); }

/* ===== CONTACT PAGE ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; }
.contact-info h3 { font-size: 24px; font-weight: 700; margin-bottom: 20px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-icon {
  width: 48px; height: 48px; background: var(--accent); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0;
}
.contact-item h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.contact-item p { font-size: 14px; color: var(--text-light); line-height: 1.5; }
.contact-form { background: var(--white); padding: 36px; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-form h3 { font-size: 22px; font-weight: 700; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 11px 14px; border: 1.5px solid #e0e0e0;
  border-radius: 8px; font-size: 14px; font-family: inherit;
  transition: border-color .2s; outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--primary);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ===== DONASI PAGE ===== */
.donasi-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; }
.nominal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.nominal-btn {
  padding: 12px; border: 2px solid #e0e0e0; border-radius: 8px;
  background: var(--white); font-size: 14px; font-weight: 600; cursor: pointer; transition: all .2s;
}
.nominal-btn:hover, .nominal-btn.active { border-color: var(--primary); background: var(--accent); color: var(--primary); }
.payment-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.payment-btn {
  padding: 10px; border: 2px solid #e0e0e0; border-radius: 8px;
  background: var(--white); font-size: 13px; cursor: pointer; transition: all .2s; text-align: center;
}
.payment-btn:hover, .payment-btn.active { border-color: var(--primary); background: var(--accent); }
.rekening-box { background: var(--accent); border-radius: 10px; padding: 20px; margin-top: 20px; }
.rekening-box h4 { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.rek-item { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #d4e8db; font-size: 14px; }
.rek-item:last-child { border-bottom: none; }

/* ===== FOOTER ===== */
footer { background: #1a2e22; color: #a8c4b0; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo-text h1 { color: var(--white); }
.footer-brand p { font-size: 14px; line-height: 1.7; margin: 14px 0 20px; }
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 38px; height: 38px; background: rgba(255,255,255,.1); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; font-size: 16px;
  transition: background .2s;
}
.social-link:hover { background: var(--primary); }
.footer-col h4 { color: var(--white); font-size: 15px; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: #a8c4b0; transition: color .2s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center; font-size: 13px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .about-content, .contact-grid, .donasi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h2 { font-size: 34px; }
}
@media (max-width: 600px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--white); padding: 16px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .stats-grid, .cards-grid, .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .nominal-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h2 { font-size: 28px; }
}
