:root {
  --bg: #FFFFFF;
  --bg-raised: #F8FAFC;
  --bg-dark: #0F172A;
  --ink: #0F172A;
  --ink-soft: #64748B;
  --clay: #2563EB;
  --clay-hover: #1D4ED8;
  --teal: #0284C7;
  --olive: #94A3B8;
  --amber: #F59E0B;
  --line: rgba(15, 23, 42, 0.08);
  --line-dark: rgba(255, 255, 255, 0.12);
  --radius: 30px;
  --card-radius: 20px;
}

* { box-sizing: border-box; margin:0; padding:0; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* TYPOGRAPHY */
h1, h2, h3, .display {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

.mono { 
  font-family: 'JetBrains Mono', monospace; 
  letter-spacing: 0.04em; 
}

a { color: inherit; text-decoration: none; }
img { max-width:100%; display:block; }

.topo {
  position: absolute; inset:0;
  background-image:
    radial-gradient(circle at 20% 30%, transparent 38%, rgba(255,255,255,0.05) 39%, transparent 40%),
    radial-gradient(circle at 80% 70%, transparent 28%, rgba(255,255,255,0.05) 29%, transparent 30%);
  pointer-events: none;
}

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--clay); color: #fff;
  padding: 12px 26px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  border: none; cursor: pointer; border-radius: var(--radius);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.25);
}

.btn:hover { 
  background: var(--clay-hover); 
  transform: translateY(-3px) scale(1.02); 
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.35); 
}

.btn-ghost {
  background: #FFFFFF; 
  border: 2px solid var(--clay); 
  color: var(--clay); 
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.btn-ghost:hover { 
  background: var(--clay); 
  color: #fff; 
  transform: translateY(-3px); 
}

/* HERO SECTION WITH BACKGROUND IMAGE */
.hero {
  position: relative;
  min-height: 50vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 90px 5% 60px;
  overflow: hidden;
  color: #FFFFFF;
  background-color: var(--bg-dark);
}

.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../images/11.jpeg');
  background-size: cover;
  background-position: center;
  animation: heroZoom 20s infinite alternate ease-in-out;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.65) 0%, rgba(15, 23, 42, 0.85) 100%);
}

.hero-content {
  position: relative; z-index: 2; max-width: 800px;
}

.eyebrow {
  font-size: 13px; font-weight: 700; color: #60A5FA; margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}

.eyebrow::before {
  content: ''; width: 28px; height: 2px; background: #60A5FA;
}

.hero h1 {
  font-size: clamp(42px, 7vw, 84px);
  color: #FFFFFF;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-sub {
  max-width: 520px; margin-top: 20px; color: rgba(255, 255, 255, 0.9); font-size: 17px; line-height: 1.6;
}

/* SECTIONS & STORY CONTENT */
section { padding: 70px 5%; }

.story-intro {
  max-width: 68ch; 
  font-size: 18px; 
  color: var(--ink-soft); 
  line-height: 1.7; 
  margin: 0 auto 50px auto; 
  text-align: center;
}

/* -------------------------------------------------------------
   CENTERED ZIG-ZAG TIMELINE (GRID 2 KOLOM)
------------------------------------------------------------- */
.story-timeline {
  position: relative; 
  max-width: 1000px;
  margin: 60px auto 40px auto; 
  padding: 20px 0;
}

/* Garis Putus-putus di Tengah */
.story-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  /* Jika sebelumnya height: 100% atau bottom: 0, ubah ke persentase atau kurangi tingginya */
  height: calc(120% - 120px); /* Atau sesuaikan misal height: 85%; */
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background-color: var(--line);
  z-index: 1;
}

/* Item Timeline Utama - Ubah align-items ke flex-start agar sejajar atas */
.story-timeline .t-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start; /* Sejajar dengan bagian atas */
  margin-bottom: 80px;
}

.story-timeline .t-item:last-child {
  margin-bottom: 0;
}

/* Titik / Dot Tengah - Diposisikan di paling atas item */
.story-timeline .t-dot {
  position: absolute;
  left: 50%;
  top: 4px; /* Disesuaikan agar sejajar presisi dengan baris pertama teks/tahun */
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--clay);
  box-shadow: 0 0 0 6px var(--bg);
  z-index: 2;
}

/* LAYOUT UNTUK SISI KIRI (t-left)
   Gambar di Kiri (Kolom 1), Teks di Kanan (Kolom 2) */
.story-timeline .t-left .t-media {
  grid-column: 1;
}

.story-timeline .t-left .t-text {
  grid-column: 2;
  text-align: left;
}

/* LAYOUT UNTUK SISI KANAN (t-right)
   Teks di Kiri (Kolom 1), Gambar di Kanan (Kolom 2) */
.story-timeline .t-right .t-text {
  grid-column: 1;
  grid-row: 1; /* Memastikan teks tetap berada di baris paling atas */
  text-align: right;
}

.story-timeline .t-right .t-media {
  grid-column: 2;
  grid-row: 1; /* Memastikan gambar juga sejajar di baris atas */
}

/* Typography Item */
.story-timeline .t-year { 
  /* font-family: 'JetBrains Mono', monospace;  */
  font-size: 14px; 
  font-weight: 700; 
  color: var(--clay); 
  margin-bottom: 6px; 
  letter-spacing: 0.06em; 
}

.story-timeline .t-title { 
  font-family: 'Fredoka', sans-serif; 
  font-size: 26px; 
  color: var(--ink); 
  margin-bottom: 10px; 
}

.story-timeline .t-desc { 
  font-size: 15px; 
  color: var(--ink-soft); 
  line-height: 1.6; 
}

/* Wadah Gambar */
.story-img-holder {
  width: 100%; 
  height: 240px;
  background: #EFF6FF url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 24 24" fill="none" stroke="%202563EB" stroke-width="1.5"><rect x="3" y="3" width="18" height="18" rx="4"/><circle cx="8.5" cy="8.5" r="1.5"/><polyline points="21 15 16 10 5 21"/></svg>') center no-repeat;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
}

.story-img-holder img {
  width: 100%; 
  height: 100%; 
  object-fit: cover;
  transition: transform 0.4s ease;
}

.t-item:hover .story-img-holder img {
  transform: scale(1.05);
}

/* QUOTE CARD TERPUSAT */
/* QUOTE CARD TERPUSAT */
.story-quote {
  position: relative; /* Tambahkan ini agar z-index berfungsi */
  z-index: 2;         /* Tambahkan ini agar kotak berada di atas garis timeline */
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-top: 4px solid var(--clay);
  border-radius: var(--card-radius);
  padding: 32px 36px;
  margin: 60px auto 0 auto;
  font-size: 19px;
  font-style: italic;
  color: var(--ink);
  line-height: 1.6;
  max-width: 680px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.02);
}

.story-quote span {
  display: block; 
  margin-top: 14px; 
  font-size: 12px; 
  font-style: normal;
  font-weight: 700; 
  color: var(--ink-soft); 
  text-transform: uppercase; 
  letter-spacing: 0.06em;
}

/* RESPONSIVE LAYOUT UNTUK MOBILE */
@media (max-width: 768px) {
  .story-timeline::before {
    left: 20px;
  }

  .story-timeline .t-dot {
    left: 20px;
    top: 10px;
  }

  .story-timeline .t-item {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-left: 50px;
    margin-bottom: 50px;
  }

  .story-timeline .t-left .t-media,
  .story-timeline .t-left .t-text,
  .story-timeline .t-right .t-media,
  .story-timeline .t-right .t-text {
    grid-column: 1;
    text-align: left;
  }

  /* Tampilkan teks dulu baru gambar di mobile */
  .story-timeline .t-left .t-text,
  .story-timeline .t-right .t-text {
    order: 1;
  }

  .story-timeline .t-left .t-media,
  .story-timeline .t-right .t-media {
    order: 2;
  }

  .story-img-holder {
    height: 200px;
  }
}

/* TRAIL MARKER */
.trail-marker {
  display: flex; align-items: center; gap: 14px;
  padding: 24px 5%;
}

.trail-marker .dots {
  flex: 1; height: 2px;
  background-image: linear-gradient(to right, var(--clay) 50%, rgba(0,0,0,0) 0%);
  background-position: bottom; background-size: 12px 2px; background-repeat: repeat-x;
  opacity: 0.4;
}

.trail-marker span { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; white-space: nowrap; font-weight: 700; color: var(--clay); }

@media (max-width: 720px) {
  .hero h1 { font-size: clamp(36px, 10vw, 56px); }
}

/* OVERRIDE DROPDOWN FIX */
#navbar-placeholder a.active,
#navbar-placeholder .active::after,
.nav-dd-menu a.active,
.dropdown-menu a.active,
.nav-dd-trigger.active,
.dropdown-toggle.active {
  border-bottom: none !important;
  box-shadow: none !important;
}

#navbar-placeholder a.active::after,
.nav-dd-trigger.active::after,
.dropdown-toggle.active::after,
.nav-dropdown.active > a::after {
  display: none !important;
  content: none !important;
}

#navbar-placeholder a.active,
#navbar-placeholder .active,
.nav-dd-menu a.active,
.dropdown-menu a.active,
.nav-dd-trigger.active,
.dropdown-toggle.active {
  color: var(--ink) !important;
  font-weight: 500 !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

#navbar-placeholder a.active:hover,
.nav-dd-menu a.active:hover {
  color: var(--clay) !important;
}

/* FLAT DOME / WIDE ARC CTA BUTTON AT BOTTOM */
.guides-cta-wrapper {
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  background: transparent;
  margin-top: 40px;
}

.btn-half-circle {
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  width: 320px;
  height: 70px;
  background: var(--clay);
  color: #ffffff;
  border-top-left-radius: 160px 70px;
  border-top-right-radius: 160px 70px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  padding-bottom: 20px;
  box-sizing: border-box;
  text-decoration: none;
  box-shadow: 0 -8px 24px rgba(37, 99, 235, 0.25);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
  z-index: 5;
}

.btn-half-circle span {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  transition: transform 0.3s ease;
}

.btn-half-circle:hover {
  background: var(--clay-hover);
  transform: none;
  box-shadow: 0 -12px 32px rgba(37, 99, 235, 0.4);
}

.btn-half-circle:hover span {
  transform: scale(1.04);
}

@media (max-width: 580px) {
  .btn-half-circle {
    width: 240px;
    height: 55px;
    border-top-left-radius: 120px 55px;
    border-top-right-radius: 120px 55px;
    padding-bottom: 16px;
  }

  .btn-half-circle span {
    font-size: 11px;
  }
}