:root {
  --navy: #0f2a4a;
  --blue: #1a4f8a;
  --sky: #2d7dd2;
  --gold: #c8963a;
  --cream: #f9f6f0;
  --white: #ffffff;
  --gray: #5c6370;
  --light: #edf3fb;
  --border: #d6e3f2;
  --text: #1a2638;
  --muted: #5c6878;
  --radius: 10px;
  --shadow: 0 2px 16px rgba(15, 42, 74, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Georgia", "Times New Roman", serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 2rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}
.nav-brand {
  font-family: "Georgia", serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  text-decoration: none;
  letter-spacing: 0.04em;
  font-family: "Arial", sans-serif;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--gold);
}
.nav-cta {
  background: var(--gold);
  color: var(--white);
  padding: 0.45rem 1.1rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: "Arial", sans-serif;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: background 0.2s;
}
.nav-cta:hover {
  background: #a87a2e;
}

/* ── HERO ── */
#hero {
  background: linear-gradient(
    145deg,
    var(--navy) 0%,
    var(--blue) 60%,
    #1e5fa0 100%
  );
  color: var(--white);
  padding: 5rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.02) 0px,
    rgba(255, 255, 255, 0.02) 1px,
    transparent 1px,
    transparent 32px
  );
}
.hero-tag {
  display: inline-block;
  background: rgba(200, 150, 58, 0.25);
  border: 1px solid rgba(200, 150, 58, 0.5);
  color: #f0c878;
  font-family: "Arial", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}
#hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}
#hero h1 em {
  color: var(--gold);
  font-style: italic;
}
.hero-verse {
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  max-width: 480px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-family: "Arial", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition:
    background 0.2s,
    transform 0.15s;
}
.btn-primary:hover {
  background: #a87a2e;
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-family: "Arial", sans-serif;
  font-size: 0.9rem;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

/* ── STATS ── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.stat-item {
  text-align: center;
  padding: 1.5rem 1rem;
  border-right: 1px solid var(--border);
}
.stat-item:last-child {
  border-right: none;
}
.stat-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.stat-label {
  display: block;
  font-family: "Arial", sans-serif;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.3rem;
  letter-spacing: 0.04em;
}

/* ── SECTION BASE ── */
section {
  padding: 4rem 2rem;
}
.container {
  max-width: 860px;
  margin: 0 auto;
}
.section-label {
  font-family: "Arial", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 0.6rem;
}
h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
}
h2 em {
  color: var(--sky);
  font-style: italic;
}
.lead {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 640px;
}

/* ── VISI MISI ── */
#visi {
  background: var(--white);
}
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.vm-card {
  background: var(--light);
  border-left: 4px solid var(--sky);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem;
}
.vm-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
  font-family: "Arial", sans-serif;
  letter-spacing: 0.04em;
}
.vm-card p,
.vm-card li {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}
.vm-card ul {
  padding-left: 1.1rem;
}
.vm-card li {
  margin-bottom: 0.4rem;
}
.theme-box {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  text-align: center;
  margin-top: 1.5rem;
}
.theme-box blockquote {
  font-style: italic;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.5rem;
}
.theme-box cite {
  font-family: "Arial", sans-serif;
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.08em;
}

/* ── NILAI UTAMA ── */
#nilai {
  background: var(--cream);
}
.nilai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
  margin-top: 2.5rem;
}
.nilai-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.nilai-icon {
  width: 40px;
  height: 40px;
  background: var(--light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.nilai-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--sky);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nilai-card h3 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
  font-family: "Arial", sans-serif;
}
.nilai-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── PROGRAM ── */
#program {
  background: var(--white);
}
.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
  margin-top: 2.5rem;
}
.prog-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  background: var(--cream);
}
.prog-tag {
  display: inline-block;
  font-family: "Arial", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sky);
  background: var(--light);
  padding: 0.2rem 0.7rem;
  border-radius: 20px;
  margin-bottom: 0.8rem;
}
.prog-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
  font-family: "Arial", sans-serif;
}
.prog-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── KURIKULUM ── */
#kurikulum {
  background: var(--navy);
  color: var(--white);
}
#kurikulum h2 {
  color: var(--white);
}
#kurikulum .lead {
  color: rgba(255, 255, 255, 0.7);
}
.kur-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}
.kur-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.4rem;
}
.kur-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.5rem;
  font-family: "Arial", sans-serif;
}
.kur-card p {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}
.mapel-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2.5rem;
  font-family: "Arial", sans-serif;
  font-size: 0.82rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  overflow: hidden;
}
.mapel-table th {
  background: rgba(255, 255, 255, 0.12);
  color: var(--gold);
  padding: 0.65rem 1rem;
  text-align: left;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.mapel-table td {
  padding: 0.55rem 1rem;
  color: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.mapel-table tr:last-child td {
  border-bottom: none;
  font-weight: 700;
  color: var(--gold);
}
.mapel-table td:not(:first-child) {
  text-align: center;
}

/* ── MENGAPA ── */
#mengapa {
  background: var(--cream);
}
.mengapa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.2rem;
  margin-top: 2.5rem;
}
.mengapa-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  gap: 1rem;
}
.mengapa-num {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  flex-shrink: 0;
  font-family: "Georgia", serif;
}
.mengapa-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
  font-family: "Arial", sans-serif;
}
.mengapa-card p {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── PPDB ── */
#ppdb {
  background: var(--white);
}
.ppdb-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
  margin-top: 2.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.ppdb-step {
  padding: 1.5rem 1.2rem;
  border-right: 1px solid var(--border);
  text-align: center;
}
.ppdb-step:last-child {
  border-right: none;
}
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: "Arial", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.8rem;
}
.ppdb-step h3 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
  font-family: "Arial", sans-serif;
}
.ppdb-step p {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ── TESTIMONIAL ── */
#testimoni {
  background: var(--light);
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
  margin-top: 2.5rem;
}
.testi-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.testi-card blockquote {
  font-style: italic;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.testi-card blockquote::before {
  content: "\201C";
  font-size: 1.5rem;
  color: var(--border);
  line-height: 0;
  vertical-align: -0.3em;
  margin-right: 0.1em;
}
.testi-author {
  font-family: "Arial", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.06em;
}

/* ── CTA ── */
#daftar {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
  text-align: center;
  padding: 5rem 2rem;
}
#daftar h2 {
  color: var(--white);
  margin-bottom: 1rem;
}
#daftar .lead {
  color: rgba(255, 255, 255, 0.75);
  margin: 0 auto 2rem;
}
.cta-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}
.cta-info-item {
  text-align: center;
}
.cta-info-item strong {
  display: block;
  color: var(--gold);
  font-family: "Arial", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}
.cta-info-item span {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
}
.cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-wa {
  background: #25d366;
  color: var(--white);
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-family: "Arial", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: background 0.2s;
}
.btn-wa:hover {
  background: #1da851;
}

/* ── FOOTER ── */
footer {
  background: #07192e;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  padding: 2rem;
  font-family: "Arial", sans-serif;
  font-size: 0.78rem;
  line-height: 1.8;
}
footer strong {
  color: rgba(255, 255, 255, 0.85);
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  nav {
    padding: 0.65rem 1rem;
  }
  .nav-links {
    display: none;
  }
  #hero {
    padding: 3.5rem 1.25rem 3rem;
  }
  section {
    padding: 3rem 1.25rem;
  }
  .vm-grid {
    grid-template-columns: 1fr;
  }
  .ppdb-steps {
    grid-template-columns: 1fr;
  }
  .ppdb-step {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .ppdb-step:last-child {
    border-bottom: none;
  }
  .stats-bar {
    grid-template-columns: 1fr 1fr;
  }
  .stat-item:nth-child(2n) {
    border-right: none;
  }
  .stat-item {
    border-bottom: 1px solid var(--border);
  }
}

/* MOBILE INSTAGRAM STYLE NAV */
.mobile-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;

  background: rgba(15, 42, 74, 0.96);
  backdrop-filter: blur(12px);

  border-top: 1px solid rgba(255, 255, 255, 0.08);

  display: none;
  justify-content: space-around;
  align-items: center;

  padding: 0.5rem 0.4rem calc(0.5rem + env(safe-area-inset-bottom));
  z-index: 9999;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 0.2rem;

  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;

  font-family: Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 600;

  min-width: 58px;

  transition: 0.2s ease;
}

.mobile-nav-item svg {
  width: 23px;
  height: 23px;

  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
  color: white;
}

.center-btn {
  width: 54px;
  height: 54px;

  background: linear-gradient(
    135deg,
    #feda75,
    #fa7e1e,
    #d62976,
    #962fbf,
    #4f5bd5
  );

  border-radius: 50%;

  margin-top: -24px;

  flex-direction: row;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.center-btn svg {
  width: 28px;
  height: 28px;
  stroke: white;
}

.center-btn span {
  display: none;
}

/* SHOW ONLY MOBILE */
@media (max-width: 768px) {
  .mobile-nav {
    display: flex;
  }

  body {
    padding-bottom: 90px;
  }

  nav {
    display: none;
  }
}
