/* === GLOBAL RESET === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Inter", "Poppins", sans-serif;
}

body {
  background: #f6f8fc;
  color: #0f172a;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  scroll-behavior: smooth;
  line-height: 1.6;
  font-size: 16px;
}

/* === HEADER === */
header {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 40%, #38bdf8 100%);
  color: #fff;
  text-align: center;
  padding: 100px 20px 120px;
  border-bottom-left-radius: 60px;
  border-bottom-right-radius: 60px;
  box-shadow: 0 8px 30px rgba(30, 58, 138, 0.35);
  position: relative;
  overflow: hidden;
}

header::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.9), transparent);
}

header h1 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
  text-align: center;
  word-break: break-word; /* agar wrap saat perlu */
}

header p {
  font-size: 1rem;
  opacity: 0.95;
  max-width: 650px;
  margin: 0 auto;
}

/* === MAIN === */
main {
  max-width: 960px;
  margin: -80px auto 0;
  background: #fff;
  padding: 32px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.12);
  z-index: 5;
  position: relative;
  animation: fadeInUp 0.6s ease both;
  font-size: 1rem;
  line-height: 1.7;
}

/* === PROFILE SECTION === */
.profile-section {
  background: #f9fafb;
  border-radius: 12px;
  padding: 24px 20px;
  margin-bottom: 32px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* === PROFILE SECTION === */
.profile-section p {
  text-align: justify;
  text-justify: inter-word; /* agar spasi antar kata rata */
}

/* === TITLES === */
h2, h3 {
  color: #1e3a8a;
  text-align: center;
  font-weight: 600;
  margin-bottom: 16px;
  word-break: break-word; /* agar judul panjang wrap */
}

h2 { font-size: 1.6rem; }
h3 { font-size: 1.2rem; }

/* === HIGHLIGHT NOTE === */
.highlight-note {
  background: rgba(37, 99, 235, 0.04);
  border-left: 4px solid #2563eb;
  padding: 16px;
  border-radius: 10px;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #1f2937;
}

/* === VIDEO SECTION === */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  margin: 20px 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* === PROGRESS BAR === */
.progress-container {
  margin: 24px 0;
}

.progress-bg {
  height: 20px;
  background: #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #2563eb, #1d4ed8, #1e3a8a);
  width: 0;
  transition: width 1.5s ease-in-out;
  border-radius: 12px;
}

.progress-text {
  display: flex;
  justify-content: center;
  margin-top: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
}

/* === DONATE SECTION === */
.donate-section {
  background: #f8fafc;
  padding: 24px;
  border-radius: 12px;
  margin-top: 28px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(2, 6, 23, 0.06);
}

.donate-btn {
  display: inline-block;
  background: linear-gradient(90deg, #2563eb, #1e40af);
  color: #fff;
  padding: 12px 28px;
  border-radius: 10px;
  text-decoration: none;
  margin-top: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s;
}

.donate-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4);
  opacity: 0.95;
}

/* === DONOR LIST === */
.donor-list {
  margin-top: 28px;
  font-size: 0.95rem;
}

.donor-card {
  background: #fff;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 12px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 4px solid transparent;
}

.donor-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
  border-left: 4px solid #2563eb;
}

.donor-card strong {
  color: #1e3a8a;
  font-weight: 600;
}

.note {
  background: #f1f5f9;
  border-left: 3px solid #2563eb;
  margin-top: 6px;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
  color: #475569;
  font-style: italic;
}

/* === MAP SECTION === */
.map-container {
  margin-top: 36px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  text-align: center;
}

.map-container h3 {
  margin-bottom: 12px;
  color: #1e3a8a;
  font-size: 1.15rem;
  font-weight: 600;
}

.map-container iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
  border-radius: 14px;
}

/* === FOOTER === */
footer {
  background: none;
  color: #64748b;
  text-align: center;
  padding: 24px 10px;
  font-size: 0.9rem;
  border-top: 1px solid #e2e8f0;
}

footer a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

footer a:hover {
  text-decoration: underline;
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  body { font-size: 15px; }
  header { padding: 80px 16px 100px; border-radius: 0; }
  header h1 { font-size: 1.7rem; }
  header p { font-size: 0.95rem; max-width: 90%; }
  main { margin-top: -70px; padding: 20px; border-radius: 14px; }
  .donate-btn { width: 100%; font-size: 0.9rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.1rem; }
}

@media (max-width: 480px) {
  body { font-size: 14px; line-height: 1.5; }
  header h1 { font-size: 1.5rem; }
  header p { font-size: 0.9rem; }
  h2 { font-size: 1.2rem; }
  h3 { font-size: 1rem; }
  .progress-text { font-size: 0.8rem; }
  .map-container h3 { font-size: 0.95rem; }
}
