/*
 * CSS UTAMA - EDUCENTER
 * File ini mengatur seluruh tampilan visual website:
 * - Color palette dari desain yang diberikan
 * - Layout responsif menggunakan CSS Grid & Flexbox
 * - Animasi dan transisi untuk pengalaman interaktif
 * - Custom komponen: navbar, cards, hero, footer, dll.
 */

/* =============================================
   CSS VARIABLES (Color Palette)
   ============================================= */
:root {
  /* Warna Utama - Design System SS Preschool */
  --primary:      #FDEF42;   /* Yellow brand */
  --primary-dark: #F7DE32;
  --secondary:    #002366;   /* Navy */
  --secondary-soft:#203c7a;
  --accent:       #FF8C00;   /* Orange */
  --surface:      #F5F5F5;
  --surface-alt:  #FFFFFF;

  /* Warna Turunan */
  --secondary-light: #304b92;
  --border:         #d9dbe3;
  --text-high:      #101828;
  --text-mid:       #334155;
  --text-low:       #64748b;
  --shadow:         rgba(16, 24, 40, 0.08);
  --shadow-deep:    rgba(16, 24, 40, 0.14);

  /* Alias kompatibilitas (dipakai di beberapa komponen) */
  --text-dark:   var(--secondary);
  --text-light:  var(--text-low);
  --white:       var(--surface-alt);

  /* Tipografi */
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;

  /* Spacing */
  --section-py: 80px;
  --container:  1200px;

  /* Radius */
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --radius-full: 9999px;

  /* Transitions */
  --trans-fast: 0.2s ease;
  --trans-mid:  0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  --trans-slow: 0.5s ease;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--surface);
  color: var(--text-high);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* =============================================
   NAVBAR
   ============================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 18px var(--shadow);
  transition: all var(--trans-slow);
}

.site-header.scrolled {
  box-shadow: 0 6px 28px var(--shadow-deep);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.logo-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.logo-edu    { color: var(--secondary); }
.logo-center { color: var(--primary); }

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-mid);
  padding: 10px 16px;
  border-radius: var(--radius-full);
  transition: all var(--trans-fast);
  position: relative;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--secondary);
  background: rgba(0, 35, 102, 0.08);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--primary);
  border-radius: var(--radius-full);
}

.nav-link-special {
  background: var(--primary);
  color: var(--secondary) !important;
  padding: 10px 20px;
}

.nav-link-special:hover,
.nav-link-special.active {
  background: var(--primary-dark) !important;
  color: var(--secondary) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(16,24,40,0.12);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--trans-fast);
}

.hamburger:hover { background: rgba(0,35,102,0.12); }

.ham-line {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--secondary);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  transform-origin: center;
}

.hamburger.open .ham-line:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open .ham-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open .ham-line:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Overlay mobile */
.nav-overlay {
  display: none;
  position: fixed;
  top: 72px;   /* Mulai di bawah navbar, tidak menutupi header */
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(30,58,95,0.4);
  backdrop-filter: blur(3px);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-overlay.visible { opacity: 1; }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--trans-mid);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--secondary);
  box-shadow: 0 8px 24px var(--shadow-deep);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px var(--shadow-deep);
}

.btn-outline {
  background: transparent;
  color: var(--secondary);
  border-color: var(--border);
}

.btn-outline:hover {
  background: var(--secondary);
  color: var(--surface-alt);
  transform: translateY(-3px);
}

.btn-white {
  background: var(--surface-alt);
  color: var(--secondary);
  box-shadow: 0 6px 20px rgba(16,24,40,0.08);
}

.btn-white:hover {
  background: #f2f2f2;
  transform: translateY(-3px);
}

.btn-outline-white {
  background: transparent;
  color: var(--surface-alt);
  border-color: rgba(255,255,255,0.75);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-3px);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 24px 60px;
  background: linear-gradient(135deg, #fcfbf4 0%, var(--surface) 55%, #fff8d9 100%);
  position: relative;
  overflow: hidden;
  gap: 40px;
  max-width: 100%;
  margin: 0 auto;
}

/* Background floating shapes */
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
}

.shape-circle {
  background: rgba(0, 35, 102, 0.15);
}

.c1 { width: 420px; height: 420px; top: -110px; right: -110px; }
.c2 { width: 220px; height: 220px; bottom: 80px; left: -60px; background: rgba(253, 239, 66, 0.28); opacity: 0.35; }

.shape-star {
  position: absolute;
  font-size: 28px;
  opacity: 0.4;
  animation: floatStar 4s ease-in-out infinite;
}

.s1 { top: 20%;  left: 10%;  color: var(--primary); animation-delay: 0s;    font-size: 32px; }
.s2 { top: 60%;  right: 15%; color: var(--secondary-light);    animation-delay: 1.2s;  font-size: 20px; }
.s3 { bottom: 15%; left: 30%; color: var(--primary); animation-delay: 2.2s; font-size: 18px; }

@keyframes floatStar {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-20px) rotate(15deg); }
}

/* Hero Content */
.hero-content {
  flex: 1;
  max-width: 580px;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(253, 239, 66, 0.22);
  color: var(--secondary);
  font-weight: 700;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(253, 239, 66, 0.18);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.highlight {
  color: var(--secondary);
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(253, 239, 66, 0.55);
  z-index: -1;
  border-radius: 5px;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

/* Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 30px var(--shadow);
  width: fit-content;
}

.stat-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--secondary);
}

.stat-label {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 600;
  margin-top: 2px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(253,239,66,0.14);
}

/* Hero Illustration */
.hero-illustration {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 2;
}

.illustration-main {
  width: 220px;
  height: 220px;
  background: linear-gradient(135deg, var(--secondary-light), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px var(--shadow-deep);
  position: relative;
  animation: floatMain 3s ease-in-out infinite;
}

@keyframes floatMain {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.mascot-head { font-size: 80px; }

.star-burst {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 28px;
  animation: spin 4s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.illustration-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 20px var(--shadow);
  font-weight: 700;
  font-size: 14px;
  color: var(--text-dark);
  animation: floatCard 3.5s ease-in-out infinite;
}

.card-bottom { animation-delay: 1s; }

@keyframes floatCard {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(8px); }
}

.illus-icon { font-size: 24px; }

/* =============================================
   SECTION COMMONS
   ============================================= */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(253, 239, 66, 0.18);
  color: var(--secondary);
  font-weight: 700;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
}

/* =============================================
   PROGRAMS SECTION
   ============================================= */
.programs {
  padding: var(--section-py) 0;
  background: var(--surface);
  position: relative;
}

.programs::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--primary), var(--secondary-light));
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

/* Baris kedua centered: gunakan container fleksibel */
.programs-grid.centered-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: nowrap;
}

.program-card {
  background: var(--surface-alt);
  border-radius: var(--radius-xl);
  padding: 22px 18px;
  box-shadow: 0 8px 22px rgba(16,24,40,0.06);
  transition: all var(--trans-mid);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-light), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--trans-slow);
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px var(--shadow-deep);
  border-color: rgba(0, 35, 102, 0.18);
}

.program-card:hover::before { transform: scaleX(1); }

.program-card.featured {
  border-color: rgba(253,239,66,0.5);
  background: linear-gradient(160deg, #fffef0 0%, var(--surface-alt) 100%);
}

.program-card.featured::before {
  background: linear-gradient(90deg, rgba(255,140,0,0.9), var(--primary));
  transform: scaleX(1);
}

.featured-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(253,239,66,0.95);
  color: var(--secondary);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.card-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}

.icon-blue  { background: rgba(0, 35, 102, 0.08); }
.icon-yellow { background: rgba(253, 239, 66, 0.32); }

.card-icon { font-size: 26px; }

.program-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0;
}

.card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.card-title-wrap { display: flex; flex-direction: column; }
.card-subtitle {
  font-size: 13px;
  color: var(--text-mid);
  font-weight: 700;
  margin-top: 4px;
  opacity: 0.95;
}

.program-card p {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 14px;
  line-height: 1.5;
}

.card-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.card-features li {
  font-size: 13px;
  color: var(--text-mid);
  font-weight: 600;
}

/* Kartu unggulan: outline & badge saat hover */
.featured-unggulan { }
.featured-unggulan .unggulan-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(253,239,66,0.98);
  color: var(--secondary);
  font-weight: 800;
  font-size: 11px;
  padding: 6px 10px;
  border-radius: var(--radius-full);
  transform: translateY(-6px);
  opacity: 0;
  transition: transform 0.18s ease, opacity 0.18s ease;
  pointer-events: none;
}
.featured-unggulan {
  /* default: no highlight */
  border-color: var(--border);
}
.featured-unggulan:hover {
  border-color: rgba(253,239,66,0.7);
  box-shadow: 0 0 0 6px rgba(253,239,66,0.08), 0 20px 64px var(--shadow-deep);
  transform: translateY(-6px);
}
.featured-unggulan:hover .unggulan-badge {
  transform: translateY(0);
  opacity: 1;
}

/* Responsiveness: dua kartu sejajar pada layar kecil */
@media (max-width: 900px) {
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .programs-grid.centered-row { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 520px) {
  .programs-grid { grid-template-columns: 1fr; gap: 12px; }
  .program-card { padding: 14px 12px; }
  .card-icon { font-size: 22px; }
  .program-card h3 { font-size: 16px; }
  .card-features { display: none; } /* lebih compact: sembunyikan fitur pada mobile */
  .card-subtitle { font-size: 12px; }
  .featured-unggulan .unggulan-badge {
    opacity: 1;
    transform: translateY(0);
  }
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--secondary);
  font-weight: 700;
  font-size: 14px;
  transition: gap var(--trans-fast);
}

.card-link:hover { gap: 12px; }

/* =============================================
   WHY US SECTION
   ============================================= */
.why-us {
  padding: var(--section-py) 0;
  background: var(--surface-alt);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-image-inner {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-soft) 100%);
  border-radius: var(--radius-xl);
  aspect-ratio: 4 / 5;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.big-emoji {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.big-emoji img.logo-ico {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
  display: block;
}

.why-badge-float {
  position: absolute;
  bottom: 28px;
  left: 28px;
  background: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 14px;
  color: var(--text-dark);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 6px;
}

.why-features { display: flex; flex-direction: column; gap: 24px; margin-top: 28px; }

.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  border-radius: var(--radius-md);
  transition: background var(--trans-fast);
}

.why-item:hover { background: var(--surface); }

.why-icon {
  font-size: 26px;
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  background: rgba(253, 239, 66, 0.25);
  color: var(--secondary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-item h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.why-item p { font-size: 14px; color: var(--text-light); }

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials {
  padding: var(--section-py) 0;
  background: linear-gradient(180deg, var(--surface) 0%, #fef9d8 100%);
}

.testimonial-slider { overflow: hidden; position: relative; padding: 0 16px; }

.testi-track {
  display: flex;
  gap: 0;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testi-card {
  min-width: 100%;
  max-width: 520px;
  margin: 0 auto;
  background: var(--surface-alt);
  border-radius: var(--radius-xl);
  padding: 22px 18px;
  box-shadow: 0 8px 22px rgba(16,24,40,0.06);
  border: 1px solid var(--border);
  transition: all var(--trans-mid);
  position: relative;
  overflow: hidden;
  text-align: left;
}

.testi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-light), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--trans-slow);
}

.testi-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px var(--shadow);
  border-color: rgba(0, 35, 102, 0.18);
}

.testi-card:hover::before { transform: scaleX(1); }

.testi-stars { font-size: 18px; margin-bottom: 10px; }

.testi-card p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.65;
  font-style: normal;
  max-width: 100%;
  margin: 0 0 14px;
}

.testi-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

@media (max-width: 700px) {
  .testimonial-slider { padding: 0 10px; }
  .testi-card { padding: 14px; }
  .testi-card p { font-size: 14px; max-width: 100%; margin-bottom: 12px; }
  .testi-author { gap: 10px; flex-direction: column; align-items: flex-start; }
  .testi-author strong { font-size: 15px; }
  .testi-author span { font-size: 12px; }
  .testi-avatar.testi-avatar-large { width: 60px; height: 60px; }
}

.testi-avatar {
  font-size: 36px;
  width: 58px;
  height: 58px;
  background: var(--secondary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testi-avatar img { width:100%; height:100%; object-fit:cover; border-radius:50%; display:block; }

.testi-avatar.testi-avatar-large { width:70px; height:70px; }

.testi-author strong { display: block; font-size: 16px; color: var(--text-dark); }
.testi-author span   { font-size: 13px; color: var(--text-light); }

.testi-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.dot {
  width: 10px;
  height: 10px;
  background: rgba(253,239,66,0.18);
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.dot.active {
  background: var(--secondary);
  width: 28px;
  border-radius: var(--radius-full);
}

/* =============================================
   TESTIMONI CAROUSEL (Custom for private.php)
   ============================================= */
.testimoni-section { padding: 48px 0; }
.testi-carousel { position:relative; overflow:hidden; max-width:920px; margin:24px auto 0; }
.testi-slides { display:flex; transition:transform 500ms ease; }
.testi-item { flex:0 0 100%; padding:12px; box-sizing:border-box; }
.testi-card { display:flex; flex-direction: column; gap:14px; align-items:flex-start; background:var(--surface-alt); border-radius:10px; padding:18px; box-shadow:0 6px 16px rgba(0,0,0,0.08); }
.testi-photo img { width:100px; height:100px; object-fit:cover; border-radius:10px; display:block; }
.testi-body { flex:1; }
.testi-name { margin:0 0 4px; font-size:16px; }
.testi-meta { font-size:13px; color:var(--text-mid); margin-bottom:8px; }
.testi-text { margin:0; color:var(--text-high); line-height:1.6; }
.testi-prev, .testi-next { position:absolute; top:50%; transform:translateY(-50%); background:rgba(0,0,0,0.6); color:#fff; border:0; width:40px; height:40px; border-radius:50%; display:flex; align-items:center; justify-content:center; cursor:pointer; }
.testi-prev { left:8px; }
.testi-next { right:8px; }
@media (min-width:800px){ .testi-item{ flex:0 0 50%; } }
@media (min-width:1100px){ .testi-item{ flex:0 0 33.3333%; } }

/* =============================================
   CTA SECTION
   ============================================= */
.pricing-section {
  padding: calc(var(--section-py) - 20px) 0;
  background: linear-gradient(180deg, var(--surface) 0%, #fffef8 100%);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 28px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-left { display: flex; flex-direction: column; gap: 18px; }

.price-card {
  background: var(--surface-alt);
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(16,24,40,0.06);
  transition: transform 0.28s var(--trans-mid), box-shadow 0.28s var(--trans-mid);
}

.price-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(16,24,40,0.08); }

.reg-card .card-head h3 { margin: 0 0 6px; font-size: 20px; color: var(--secondary); }
.reg-card .card-subtitle { font-size: 13px; color: var(--text-light); margin-bottom: 12px; }
.muted { color: var(--text-light); margin-bottom: 10px; }

.price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.old-price { text-decoration: line-through; color: var(--text-light); }
.price { font-size: 22px; color: var(--secondary); font-weight: 800; }

.price-cta { margin-top: 8px; display: inline-block; }

.tiers-card h4 { margin: 0 0 10px; }
.price-tiers { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.price-tiers li { display:flex; justify-content:space-between; align-items:center; padding:10px 12px; border-radius: 12px; background: linear-gradient(180deg, rgba(0,35,102,0.03), rgba(0,35,102,0.01)); }
.price-tiers li strong { color: var(--text-dark); }
.tier-note { font-size: 13px; color: var(--text-light); margin-top:8px; }

.pricing-right .pricing-content { padding: 22px; }
.pricing-right .pricing-content p { color: var(--text-light); margin-bottom: 10px; }

.regulasi-list { color: var(--text-high); line-height: 1.7; margin-left: 16px; }
.regulasi-list li { margin-bottom: 10px; }

@media (max-width: 980px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-right { order: 2; }
  .pricing-left { order: 1; }
}


.cta-section {
  padding: var(--section-py) 0;
  background: var(--white);
}

.cta-box {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-shapes {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
  font-size: 32px;
  opacity: 0.15;
  pointer-events: none;
}

.cta-box h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-box p {
  color: rgba(255,255,255,0.88);
  font-size: 16px;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-content {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cta-copy {
  color: var(--white);
  text-align: left;
}

.cta-copy h2 {
  margin-bottom: 14px;
}

.cta-copy p {
  margin-bottom: 0;
  max-width: 560px;
  text-align: left;
}

.cta-carousel-shell {
  width: 100%;
}

.cta-carousel {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255,255,255,0.14);
  box-shadow: 0 20px 45px rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.25);
}

.cta-carousel-track {
  display: flex;
  transition: transform 0.45s ease;
}

.cta-slide {
  min-width: 100%;
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #fff2bf 0%, #f9d8b2 100%);
}

.cta-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cta-slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 22px 22px;
  color: var(--white);
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.75) 100%);
}

.cta-slide-tag {
  display: inline-block;
  margin-bottom: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cta-slide-caption h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.3;
}

.cta-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  color: var(--secondary);
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,0.16);
}

.cta-carousel-btn.prev { left: 12px; }
.cta-carousel-btn.next { right: 12px; }

.cta-carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.cta-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.6);
  cursor: pointer;
  padding: 0;
}

.cta-dot.active {
  width: 28px;
  background: var(--white);
}

@media (max-width: 900px) {
  .cta-content {
    grid-template-columns: 1fr;
  }

  .cta-copy {
    text-align: center;
  }
}

@media (max-width: 560px) {
  .cta-box {
    padding: 40px 20px;
  }

  .cta-slide-caption h3 {
    font-size: 16px;
  }
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--secondary);
  color: rgba(255,255,255,0.92);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo .logo-edu    { color: rgba(255,255,255,0.88); }
.footer-logo .logo-center { color: var(--primary); }

.footer-col p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-socials { display: flex; gap: 10px; }

.social-btn {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all var(--trans-fast);
  cursor: pointer;
}

.social-btn:hover {
  background: var(--secondary-light);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255,255,255,0.1);
}

.footer-links li,
.footer-contact li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color var(--trans-fast);
  display: inline-block;
}

.footer-links a:hover { color: var(--primary); transform: translateX(4px); }

.footer-contact li {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-contact li span { flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

/* =============================================
   PAGE HEADER (Sub-pages)
   ============================================= */
.page-hero {
  padding: 120px 24px 60px;
  background: linear-gradient(135deg, var(--surface) 0%, rgba(253,239,66,0.18) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: attr(data-emoji);
  position: absolute;
  font-size: 200px;
  opacity: 0.05;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.page-hero p {
  font-size: 17px;
  color: var(--text-light);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* =============================================
   LOKER PAGE - Khusus
   ============================================= */
.loker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  padding: 60px 0;
}

.loker-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: 0 4px 16px var(--shadow);
  border: 2px solid transparent;
  transition: all var(--trans-mid);
}

.loker-card:hover {
  border-color: rgba(253,239,66,0.5);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px var(--shadow-deep);
}

.loker-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}

.loker-badge {
  background: rgba(253,239,66,0.22);
  color: var(--secondary);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.loker-badge.open  { background: #d4f7d4; color: #1a7a1a; }
.loker-badge.close { background: #ffd4d4; color: #7a1a1a; }

.loker-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.loker-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.loker-tag {
  font-size: 12px;
  color: var(--text-mid);
  background: var(--surface);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.loker-card p { font-size: 14px; color: var(--text-light); line-height: 1.6; margin-bottom: 20px; }

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes bounceIn {
  0%   { opacity: 0; transform: scale(0.5) translateY(20px); }
  60%  { transform: scale(1.1); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

.bounce-in { animation: bounceIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
.slide-up  { animation: slideUp 0.7s ease forwards; opacity: 0; }
.slide-right { animation: slideRight 0.7s ease forwards; opacity: 0; }

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

/* Scroll-reveal (diatur via JS) */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE - TABLET
   ============================================= */
@media (max-width: 1024px) {
  .hero { flex-direction: column; text-align: center; padding-top: 110px; }
  .hero-content { max-width: 100%; }
  .hero-cta { justify-content: center; }
  .hero-stats { margin: 0 auto; }
  .hero-illustration { order: -1; }

  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-image { display: block; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* =============================================
   RESPONSIVE - MOBILE
   ============================================= */
@media (max-width: 768px) {
  :root { --section-py: 56px; }

  /* Navbar Mobile */
  .hamburger { display: flex; }

  .nav-overlay { display: block; }

  .nav-links {
    position: fixed;
    top: 72px;        /* Tepat di bawah navbar (tinggi navbar = 72px) */
    right: -100%;
    bottom: 0;
    width: min(300px, 85vw);
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 40px;  /* Padding atas kecil, menu langsung terlihat */
    gap: 8px;
    z-index: 999;
    box-shadow: -8px 0 32px rgba(0,0,0,0.15);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 1px solid var(--border); /* Garis pemisah tipis */
  }

  .nav-links.open { right: 0; }

  .nav-link {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
  }

  /* Hero mobile */
  .hero { padding: 100px 20px 40px; }
  .hero-illustration { display: none; }
  .illustration-main { width: 160px; height: 160px; }
  .mascot-head { font-size: 64px; }

  .hero-stats {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    padding: 16px;
  }

  .stat-divider { display: none; }

  /* Programs */
  .programs-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  /* CTA */
  .cta-box { padding: 40px 24px; }

  /* Page hero */
  .page-hero { padding: 100px 20px 48px; }
}

@media (max-width: 480px) {
  .btn { padding: 12px 20px; font-size: 14px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}

.scroll-top-btn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--white);
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  z-index: 999;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .scroll-top-btn {
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-top-btn {
    transition: none;
  }
}
