/* ================================================
   home.css — Halaman Beranda
   (Hero Slider, Stats, Profil, Program, Prestasi Preview)
   ================================================ */

/* === HERO SLIDER === */
.hero {
  position: relative; height: calc(100vh - 72px); min-height: 500px;
  overflow: hidden; background: var(--green-deep);
}
.slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.2s ease;
  display: flex; align-items: center; justify-content: center;
}
.slide.active { opacity: 1; }
.slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.45);
}
.slide-1 .slide-bg { background: linear-gradient(135deg, #2d3d30 0%, #485B4A 50%, #1a2b1d 100%); }
.slide-2 .slide-bg { background: linear-gradient(135deg, #1a2b1d 0%, #3d5240 50%, #485B4A 100%); }
.slide-3 .slide-bg { background: linear-gradient(135deg, #3d5240 0%, #2d3d30 50%, #1a2b1d 100%); }
.slide-1 .slide-bg::after {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4F3CE' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.slide-content {
  position: relative; z-index: 2; text-align: center;
  padding: 0 24px; max-width: 800px;
  animation: fadeUp 0.8s ease both;
}
.slide-badge {
  display: inline-block; background: rgba(212,243,206,0.2);
  border: 1px solid rgba(212,243,206,0.4); color: var(--green-light);
  font-size: 0.8rem; letter-spacing: 0.1em; padding: 6px 18px;
  border-radius: 50px; margin-bottom: 20px; text-transform: uppercase;
}
.slide-content h1 {
  font-family: var(--font-title); color: white;
  font-size: clamp(2.4rem, 6vw, 5rem); line-height: 1.1; margin-bottom: 16px;
}
.slide-content p { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 32px; }
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Slider controls */
.slider-arrows {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; pointer-events: none; z-index: 10;
}
.slider-arrow {
  width: 44px; height: 44px; background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.3); color: white; border-radius: 50%;
  cursor: pointer; font-size: 1.1rem; transition: all 0.2s;
  pointer-events: all; display: flex; align-items: center; justify-content: center;
}
.slider-arrow:hover { background: rgba(255,255,255,0.3); }
.slider-dots {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 10;
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: all 0.3s; }
.dot.active { background: var(--green-light); transform: scale(1.3); }

/* === STATS BAR === */
.stats-bar {
  background: var(--green-dark); color: white;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat-item { text-align: center; padding: 28px 20px; border-right: 1px solid rgba(255,255,255,0.1); }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: var(--font-title); font-size: 2rem; font-weight: 700; color: var(--green-light); }
.stat-lbl { font-size: 0.78rem; color: rgba(255,255,255,0.7); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.05em; }

/* === PROFIL === */
.profil-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.profil-text p { color: var(--text-mid); line-height: 1.8; margin-bottom: 16px; font-size: 0.97rem; }
.profil-text p strong { color: var(--green-dark); }
.profil-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.profil-card {
  background: white; border-radius: var(--radius); padding: 24px;
  border: 1px solid rgba(72,91,74,0.1); transition: transform 0.2s, box-shadow 0.2s;
}
.profil-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.profil-card-icon {
  width: 48px; height: 48px; background: var(--green-dark); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--green-light); font-size: 1.2rem; margin-bottom: 14px;
}
.profil-card h4 { font-size: 1rem; color: var(--green-deep); margin-bottom: 6px; }
.profil-card p  { font-size: 0.82rem; color: var(--text-light); line-height: 1.5; }

/* === PROGRAM === */
.program-section { background: var(--green-dark); padding: 80px 0; }
.program-inner   { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.program-section .section-badge { background: rgba(212,243,206,0.2); color: var(--green-light); }
.program-section .section-title { color: white; }
.program-section .section-sub   { color: rgba(255,255,255,0.7); }
.program-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.program-card {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(212,243,206,0.15);
  border-radius: var(--radius); padding: 24px; transition: all 0.25s;
}
.program-card:hover { background: rgba(255,255,255,0.14); transform: translateY(-4px); }
.program-icon {
  width: 48px; height: 48px; background: rgba(212,243,206,0.15); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--green-light); font-size: 1.2rem; margin-bottom: 14px;
}
.program-card h4 { color: white; font-size: 1rem; margin-bottom: 6px; }
.program-card p  { font-size: 0.8rem; color: rgba(255,255,255,0.6); line-height: 1.5; }

/* === ARTIKEL PREVIEW (di Home) === */
.artikel-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; }
