/* =====================================================================
   UMC 2026 — Home Page Stylesheet  (Mascot Royal Theme)
   Palet: Merah Marun Minang (#581212) + Emas Songket (#d4af37) + Oranye Harimau (#f58220)
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* =====================================================================
   Design Tokens — SATU SUMBER KEBENARAN
   ===================================================================== */
:root {
  /* ── Merah Marun Minang (Dominan sesuai jubah maskot) ── */
  --navy-950: #1a0606;   /* paling gelap / deep velvet */
  --navy-900: #2d0b0b;
  --navy-800: #581212;   /* warna marun utama */
  --navy-700: #6e1717;
  --navy-600: #881c1c;
  --navy-500: #a82424;
  --navy-400: #c93b3b;
  --navy-300: #e26b6b;
  --navy-200: #f2a4a4;
  --navy-100: #fce3e3;
  --navy-50:  #fff5f5;

  /* ── Orange Harimau & Emas Songket (Aksen) ── */
  --orange-600: #c9660e;  /* gelap, hover */
  --orange-500: #e07418;
  --orange-400: #f58220;  /* warna aksen utama */
  --orange-300: #f9a557;
  --orange-200: #fcc489;
  --orange-100: #fde8cc;
  --orange-50:  #fff7ed;

  --gold-600: #a67c13;
  --gold-500: #c99718;
  --gold-400: #d4af37;
  --gold-300: #f3c959;
  --gold-100: #fdf3cf;
  --gold-50:  #fffbf0;

  /* ── Alias semantic ── */
  --primary:       var(--navy-800);
  --primary-dark:  var(--navy-950);
  --primary-light: var(--navy-50);
  --accent:        var(--orange-400);
  --accent-dark:   var(--orange-600);
  --accent-light:  var(--orange-50);
  --gold:          var(--gold-400);
  --gold-light:    var(--gold-50);

  /* ── Neutrals ── */
  --white:       #ffffff;
  --bg:          #faf6f6;
  --surface:     #ffffff;
  --text-dark:   #231515;    /* coklat-marun sangat gelap */
  --text-body:   #443030;    /* body text hangat */
  --text-muted:  #755a5a;
  --border:      #eedada;
  --border-light: #f7eded;

  /* ── Radius ── */
  --radius-xl:  24px;
  --radius-lg:  20px;
  --radius-md:  16px;
  --radius-sm:  12px;
  --radius-xs:  8px;

  /* ── Shadows (maroon-tinted) ── */
  --shadow-xs:  0 2px 6px rgba(88,18,18,0.06);
  --shadow-sm:  0 4px 16px rgba(88,18,18,0.07);
  --shadow-md:  0 10px 32px rgba(88,18,18,0.10), 0 2px 8px rgba(88,18,18,0.04);
  --shadow-lg:  0 20px 50px rgba(88,18,18,0.13), 0 4px 16px rgba(88,18,18,0.06);
  --shadow-accent: 0 8px 24px rgba(245,130,32,0.28);

  /* ── Transition ── */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --container-width: 1200px;
}

/* =====================================================================
   Reset & Base
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--text-body);
  margin: 0;
  padding: 0;
  overflow-x: clip;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.2;
}

a {
  text-decoration: none;
  transition: var(--transition);
}

img { display: block; max-width: 100%; }

.home-container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 32px;
  box-sizing: border-box;
}

/* =====================================================================
   ── NAVBAR ──
   ===================================================================== */
.home-navbar {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border-light), 0 4px 24px rgba(26,46,74,0.05);
  position: sticky;
  top: 0;
  z-index: 200;
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

/* Logo */
.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--navy-800);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.brand-subtitle {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-top: 2px;
}

/* Nav links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-header { display: none; }

.nav-menu a {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-body);
  position: relative;
  padding: 6px 0;
  letter-spacing: 0.01em;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 99px;
  transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--navy-800);
  font-weight: 600;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

/* ── Hamburger (mobile) ── */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  color: var(--navy-800);
  transition: background 0.2s;
}
.menu-toggle:hover { background: var(--navy-50); }
.hamburger-svg { width: 24px; height: 24px; }
.menu-overlay { display: none; }

/* =====================================================================
   ── UNIVERSAL CTA BUTTON — oranye, satu style di seluruh halaman ──
   ===================================================================== */
.btn-primary-custom {
  background: var(--accent);
  color: var(--white) !important;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.93rem;
  padding: 12px 26px;
  border-radius: var(--radius-xs);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(245,130,32,0.22);
  letter-spacing: 0.01em;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}

.btn-primary-custom:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
  color: var(--white) !important;
}

.btn-primary-custom:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(245,130,32,0.18);
}

/* Outline variant (hero secondary) */
.btn-outline-custom {
  background: rgba(255,255,255,0.12);
  color: #ffffff !important;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.93rem;
  padding: 12px 26px;
  border-radius: var(--radius-xs);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid rgba(255,255,255,0.65);
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: var(--transition);
}

.btn-outline-custom:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.95);
  transform: translateY(-1px);
}

/* =====================================================================
   ── HERO SECTION ──
   ===================================================================== */
.hero-section {
  position: relative;
  padding: 44px 0 54px;
  overflow: visible;
  background: var(--navy-800);
}

.hero-section::before,
.hero-section::after { display: none; content: none; }

/* Foto gedung — warna natural, posisi proporsional, tanpa animasi */
.hero-bg-building {
  position: absolute;
  inset: 0;
  background-image: url('../img/elemen/backround.png?v=13');
  background-size: cover;
  background-position: center 30%;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
  transform: none !important;
  animation: none !important;

  /* Hanya darken natural — TIDAK ada hue-rotate/sepia/saturate
     agar pohon, langit, gedung tetap warna aslinya */
  filter: brightness(0.88);
}

/* Overlay berlapis:
   Layer 1 (bawah): darken ringan seluruh foto, tanpa warna — hanya hitam 12%.
   Layer 2 (atas) : navy solid hanya di area teks (kiri-bawah),
                    memudar ke transparan di kanan-atas (area langit/gedung). */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    /* Layer 2 — teks area: bottom-left maroon → top-right transparan */
    linear-gradient(
      115deg,
      rgba(26, 6, 6, 0.90) 0%,
      rgba(45, 11, 11, 0.84) 22%,
      rgba(88, 18, 18, 0.52) 48%,
      rgba(88, 18, 18, 0.15) 67%,
      transparent 82%
    ),
    /* Layer 1 — subtle global darken */
    linear-gradient(
      rgba(0, 0, 0, 0.13),
      rgba(0, 0, 0, 0.13)
    );
  pointer-events: none;
  z-index: 1;
}

/* ── Math overlay elements (3-5, oranye, opacity rendah) ── */
.hero-math-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

/* Grid tipis */
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,130,32,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,130,32,0.07) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: center center;
}

/* Simbol matematika — cluster di upper-right (area langit kosong).
   Maksimal 3 simbol, ukuran kecil-sedang, warna putih konsisten,
   opacity 15-22%. Tidak overlap dengan teks/CTA di kiri. */
.math-el {
  position: absolute;
  font-family: 'Outfit', 'Georgia', serif;
  color: rgba(255, 255, 255, 0.18); /* putih — konsisten satu warna */
  font-weight: 700;
  user-select: none;
  line-height: 1;
}

/* Cluster kanan-atas (langit) — hanya 3 simbol */
.math-el-1 { /* ∑ — paling atas kanan */
  top: 11%;
  right: 9%;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.20);
}
.math-el-2 { /* π — sedikit ke bawah & kiri */
  top: 28%;
  right: 12%;
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.16);
}
.math-el-3 { /* ∫ — diantara dua simbol di atas */
  top: 8%;
  right: 20%;
  font-size: 2.8rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.15);
}

/* Dua elemen ini DISEMBUNYIKAN — hanya 3 yang tampil */
.math-el-4,
.math-el-5 {
  display: none;
}

/* Hero content */
.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  position: relative;
  z-index: 3;
}

.hero-text-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 640px;
  margin-top: 48px;
}

/* Hero Mascot — di kanan teks, kaki tertutup rapi di balik kotak Kompetisi Nasional */
.hero-mascot-wrapper {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  position: relative;
  z-index: 2;
  margin-top: 0;
  margin-bottom: -110px;
  margin-right: 36px;
  user-select: none;
  pointer-events: none;
}

.hero-mascot-image {
  display: block;
  width: 100%;
  max-width: 350px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.45));
  animation: none !important;
  transform: none !important;
}

.hero-title {
  font-size: 3.35rem;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  text-shadow: 0 2px 16px rgba(0,0,0,0.45);
}

/* "UNP MATHEMATICS" → putih */
.text-teal {
  color: #ffffff;
  -webkit-text-stroke: 0;
}

/* "CHALLENGE 2026" → oranye aksen */
.text-orange {
  color: var(--orange-300);
  text-shadow: 0 2px 12px rgba(245,130,32,0.35);
}

.hero-creative-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 16px;
  border-left: 3.5px solid var(--accent);
}

.hero-creative-section .creative-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--orange-200);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
}

.hero-creative-section .creative-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255,255,255,0.92);
  margin: 0;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  margin-top: 4px;
}

/* Unused/hidden hero elements */
.hero-wave-svg, .hero-sparkle, .hero-green-cloud,
.hero-left-cloud,
.math-symbol, .math-root, .math-pi, .math-cube,
.math-integral, .math-formula, .math-sigma, .math-x2,
.math-fx, .math-graph {
  display: none;
}

/* =====================================================================
   ── FEATURES BAR ──
   ===================================================================== */
.floating-features-bar {
  position: relative;
  z-index: 10;
  margin-top: -38px;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 26px 32px;
  border: 1px solid var(--border-light);
  box-shadow: 0 16px 40px rgba(26,46,74,0.09);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 0 12px;
}

.feature-item:not(:last-child) {
  border-right: 1.5px solid var(--border-light);
}

.feature-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--navy-50);
  color: var(--navy-800);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s, color 0.25s;
}

.feature-item:hover .feature-icon-box {
  background: var(--orange-50);
  color: var(--accent);
}

.feature-icon-box svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.feature-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.feature-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-800);
  line-height: 1.25;
}

.feature-desc {
  font-size: 0.78rem;
  color: var(--gray-600);
  line-height: 1.45;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 0 20px;
}

.feature-item:not(:last-child) {
  border-right: 1.5px solid var(--border-light);
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--navy-50);
  color: var(--navy-800);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s, color 0.25s;
}

.feature-item:hover .feature-icon-box {
  background: var(--orange-50);
  color: var(--accent);
}

.feature-icon-box svg {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

.feature-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feature-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 0.81rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* =====================================================================
   ── SECTION SHARED ──
   ===================================================================== */
.section-head {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.35rem;
  font-weight: 900;
  color: var(--navy-800);
  letter-spacing: -0.02em;
  display: inline-block;
  position: relative;
  padding-bottom: 16px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 4px;
  background: var(--accent);
  border-radius: 10px;
}

.section-desc {
  margin-top: 18px;
  font-size: 1.05rem;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.6;
}

/* =====================================================================
   ── TENTANG SECTION ──
   ===================================================================== */
.kategori-section {
  padding: 108px 0;
}

.tentang-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: flex-start;
}

/* left side prose */
.tentang-grid > div:first-child p {
  color: var(--text-body);
}

.tentang-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* Info pills in tentang section */
.tentang-info-pill {
  background: var(--navy-50);
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--navy-800);
}

.tentang-info-pill h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 5px;
}

.tentang-info-pill p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

/* Tema banner */
.tentang-tema-banner {
  background: var(--orange-50);
  padding: 22px 26px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--accent);
  margin-bottom: 28px;
  box-shadow: var(--shadow-xs);
}

.tentang-tema-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 8px;
}

.tentang-tema-quote {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.55;
  color: var(--navy-800);
  margin: 0;
  font-style: italic;
}

/* ── Benefits list ── */
.tentang-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: var(--navy-50);
  border: 1px solid var(--navy-100);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.tentang-benefits-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy-800);
  margin-bottom: 6px;
  border-bottom: 2px solid var(--navy-100);
  padding-bottom: 14px;
}

.benefit-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--navy-100);
}

.benefit-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.benefit-icon-wrapper {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--orange-100);
  color: var(--accent-dark);
  box-shadow: 0 2px 8px rgba(245,130,32,0.12);
}

.benefit-icon-wrapper svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

.benefit-text h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 5px;
}

.benefit-text p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* =====================================================================
   ── KATEGORI LOMBA ──
   ===================================================================== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.category-card {
  border-radius: var(--radius-md);
  padding: 36px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
  position: relative;
  background: var(--white);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

/* Unified card theme — navy+orange only, no blue/purple/green */
.card-sd,
.card-smp,
.card-sma,
.card-pt {
  --card-theme:        var(--navy-800);
  --card-theme-light:  var(--navy-50);
  --card-theme-shadow: rgba(26,46,74,0.14);
  background-color: var(--white);
  border: 1px solid var(--navy-100);
}

/* Top accent stripe per card */
.card-sd::before,
.card-smp::before,
.card-sma::before,
.card-pt::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--accent);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

/* Card badge */
.card-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy-800);
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 22px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.card-badge-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--orange-100);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-badge-icon svg {
  width: 14px;
  height: 14px;
}

/* Card image */
.card-image-box {
  width: 100%;
  height: 140px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 22px;
}

.card-illustration {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.category-card:hover .card-illustration {
  transform: scale(1.08);
}

.card-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--navy-800);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.card-description {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 14px;
  flex-grow: 1;
}

.card-venue-text {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: 12px;
  display: inline-block;
}

.category-card:hover .card-venue-text {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.card-materials {
  font-size: 0.77rem;
  color: var(--navy-700);
  background: var(--navy-50);
  border: 1px solid var(--navy-100);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-xs);
  padding: 10px 14px;
  margin-top: 14px;
  line-height: 1.55;
  text-align: left;
  width: 100%;
  box-sizing: border-box;
}

.card-materials strong {
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 4px;
}

/* =====================================================================
   ── TIMELINE ──
   ===================================================================== */
.timeline-section {
  padding: 108px 0;
  background: var(--white);
  border-top: 1px solid var(--border-light);
}

.timeline-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  margin-top: 64px;
  padding: 0 48px;
}

.timeline-wrapper::before {
  content: '';
  position: absolute;
  top: 25px;
  left: 68px; right: 68px;
  height: 3px;
  background: repeating-linear-gradient(
    to right,
    var(--navy-100) 0, var(--navy-100) 10px,
    transparent 10px, transparent 22px
  );
  z-index: 1;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  position: relative;
  z-index: 2;
}

.timeline-node {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--navy-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--navy-800);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.timeline-step:hover .timeline-node {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: scale(1.12);
  box-shadow: var(--shadow-accent);
}

.timeline-content {
  margin-top: 22px;
  padding: 0 12px;
}

.timeline-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.timeline-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* =====================================================================
   ── BIAYA SECTION ──
   ===================================================================== */
.biaya-section {
  padding: 108px 0;
  background: var(--navy-50);
  border-top: 1px solid var(--navy-100);
  border-bottom: 1px solid var(--navy-100);
}

.biaya-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.biaya-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--navy-100);
  padding: 44px 30px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease, border-color 0.25s;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

/* All biaya cards share one theme: navy/orange */
.biaya-card.card-sd,
.biaya-card.card-smp,
.biaya-card.card-sma,
.biaya-card.card-pt {
  --card-theme:        var(--navy-800);
  --card-theme-light:  var(--navy-50);
  --card-theme-shadow: rgba(26,46,74,0.12);
}

.biaya-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 5px;
  background: linear-gradient(90deg, var(--accent), var(--orange-300));
}

.biaya-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--navy-200);
}

.biaya-card .category-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.biaya-card .price-value {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--navy-800);
  margin: 18px 0 12px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.kuota-badge {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(26,46,74,0.04);
  border: 1px dashed var(--navy-200);
  border-radius: var(--radius-xs);
  padding: 6px 12px;
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.kuota-badge em {
  font-style: italic;
  color: var(--accent-dark);
  font-weight: 700;
}

.biaya-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.87rem;
  color: var(--text-body);
  text-align: left;
  width: 100%;
}

.biaya-features li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.biaya-features svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

/* Biaya button — override inline style, always orange */
.biaya-btn {
  margin-top: auto;
  width: 100%;
  padding: 14px 0;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  justify-content: center;
  background: var(--accent) !important;
  box-shadow: 0 4px 16px rgba(245,130,32,0.22);
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}

.biaya-btn:hover {
  background: var(--accent-dark) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

/* =====================================================================
   ── LOMBA SECTION ──
   ===================================================================== */
.lomba-section {
  padding: 108px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
}

.lomba-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.lomba-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 32px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.lomba-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy-800), var(--navy-500));
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.lomba-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--navy-200);
}

.lomba-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy-800);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.lomba-card .lomba-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 22px;
  flex-grow: 1;
}

.lomba-meta-list {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-body);
}

.lomba-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lomba-meta-item svg {
  width: 18px;
  height: 18px;
  color: var(--navy-500);
  flex-shrink: 0;
}

.lomba-price-tag {
  display: inline-block;
  background: var(--orange-50);
  color: var(--accent-dark);
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 99px;
  font-size: 0.85rem;
  border: 1px solid var(--orange-100);
}

.lomba-btn { margin-top: auto; }

/* =====================================================================
   ── CONTACT SECTION ──
   ===================================================================== */
.contact-section {
  padding: 108px 0;
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.contact-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--navy-100);
  color: var(--navy-800);
  display: flex;
  align-items: center;
  gap: 9px;
  letter-spacing: -0.01em;
}

/* All contact card titles → navy brand, no random colors */
.contact-card-title.theme-sd,
.contact-card-title.theme-smp,
.contact-card-title.theme-sma,
.contact-card-title.theme-pt,
.contact-card-title.theme-general {
  color: var(--navy-800);
  border-color: var(--navy-100);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card-full { grid-column: span 2; }

.contact-list-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}

.contact-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-member {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.member-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
}

.member-phone {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Contact action buttons — all orange */
.contact-action-btn {
  padding: 7px 14px;
  background: var(--orange-50);
  color: var(--accent-dark);
  border-radius: var(--radius-xs);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--orange-100);
  white-space: nowrap;
}

.contact-action-btn:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  transform: translateY(-1px);
}

/* Remove old per-theme color overrides */
.contact-action-btn.btn-sd,
.contact-action-btn.btn-smp,
.contact-action-btn.btn-sma,
.contact-action-btn.btn-pt {
  background: var(--orange-50);
  color: var(--accent-dark);
  border-color: var(--orange-100);
}

.contact-action-btn.btn-sd:hover,
.contact-action-btn.btn-smp:hover,
.contact-action-btn.btn-sma:hover,
.contact-action-btn.btn-pt:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

/* =====================================================================
   ── FOOTER ──
   ===================================================================== */
.home-footer {
  background: var(--navy-950);
  color: var(--navy-300);
  padding: 64px 0 44px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-brand-inner {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo-img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
}

.footer-brand-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
}

.footer-brand-desc {
  font-size: 0.85rem;
  color: var(--navy-300);
  line-height: 1.7;
  max-width: 420px;
}

.footer-social-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-end;
}

.footer-social-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-social-icons { display: flex; gap: 12px; }

.footer-social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: var(--navy-300);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, color 0.25s, transform 0.2s;
  border: 1px solid rgba(255,255,255,0.06);
}

.footer-social-icon:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  transform: translateY(-3px);
}

.footer-social-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.07);
  margin: 0 0 28px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-text {
  font-size: 0.84rem;
  color: var(--navy-400);
}

.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--navy-400); font-size: 0.84rem; }
.footer-links a:hover { color: var(--white); }

/* =====================================================================
   ── RESPONSIVE MEDIA QUERIES ──
   ===================================================================== */
@media (max-width: 1024px) {
  .hero-title { font-size: 3rem; }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .feature-item:nth-child(2) { border-right: none; }
  .feature-item:nth-child(3) { border-right: none; }

  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .biaya-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }

  .timeline-wrapper::before { left: 50px; right: 50px; }

  .contact-grid { grid-template-columns: repeat(2, 1fr); }

  .math-el-3, .math-el-5 { display: none; }
}

@media (max-width: 768px) {
  .home-container { padding: 0 20px; }

  .hero-section { padding: 40px 0 45px; }
  .hero-title { font-size: 2.5rem; }
  .hero-buttons { justify-content: center; }
  .hero-grid { align-items: center; }
  .hero-creative-section { text-align: left; }

  .math-el { display: none; }
  .hero-grid-lines { display: none; }

  .floating-features-bar {
    margin-top: -36px;
    padding: 28px 20px;
    border-radius: var(--radius-md);
  }

  .features-grid { grid-template-columns: 1fr; }
  .feature-item { border-right: none !important; padding-bottom: 18px; }
  .feature-item:not(:last-child) { border-bottom: 1px solid var(--border-light); }

  .kategori-section { padding: 72px 0; }
  .section-head { margin-bottom: 44px; }
  .section-title { font-size: 1.9rem; }

  .tentang-grid { grid-template-columns: 1fr; gap: 36px; }
  .tentang-info-grid { grid-template-columns: 1fr; }

  .categories-grid { grid-template-columns: 1fr; gap: 18px; }

  .timeline-section { padding: 72px 0; }
  .timeline-wrapper { flex-direction: column; gap: 40px; padding: 0; }
  .timeline-wrapper::before { display: none; }
  .timeline-step { flex-direction: row; text-align: left; gap: 22px; width: 100%; }
  .timeline-content { margin-top: 0; }

  .biaya-section { padding: 72px 0; }
  .biaya-grid { grid-template-columns: 1fr; }

  .lomba-section { padding: 72px 0; }

  .contact-section { padding: 72px 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card-full { grid-column: span 1; }
  .contact-list-grid { grid-template-columns: 1fr !important; }

  .footer-main-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-social-side { align-items: flex-start; }

  /* Mobile nav */
  .navbar-content { position: relative; }
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .nav-menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 280px;
    background: var(--white);
    box-shadow: -8px 0 32px rgba(26,46,74,0.18);
    padding: 80px 28px 40px;
    z-index: 300;
    gap: 8px;
    transition: transform 0.3s ease;
    transform: translateX(100%);
  }
  .nav-menu.active { display: flex; transform: translateX(0); }
  .menu-header {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 8px;
  }
  .nav-menu a { font-size: 1rem; padding: 12px 0; border-bottom: 1px solid var(--border-light); }
  .nav-menu a:last-child { border-bottom: none; }

  .menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(13,27,42,0.5);
    backdrop-filter: blur(3px);
    z-index: 250;
  }
  .menu-overlay.active { display: block; }

  #nav-utama { display: none; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .btn-primary-custom, .btn-outline-custom { justify-content: center; }
  .categories-grid { grid-template-columns: 1fr; }
  .biaya-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 1.7rem; }
}
