/* ============================================================
   STYLE.CSS — TPQ / Madrasah Website
   Struktur:
   1. Reset & Variabel
   2. Tipografi (Google Fonts)
   3. Navbar & Topbar
   4. Hero (Landing)
   5. Hero (Inner Pages)
   6. Seksi: Tentang
   7. Seksi: Program
   8. Seksi: Stats Bar
   9. Seksi: Aktivitas
   10. Seksi: Fasilitas
   11. Seksi: Guru
   12. Seksi: Testimoni
   13. Seksi: Jenjang (TK / SD / SMP)
   14. Seksi: Visi Misi & Sejarah
   15. Seksi: Keunggulan
   16. Halaman Berita / Kegiatan
   17. Komponen Bersama (Card, Badge, Filter, dll.)
   18. CTA Blocks
   19. Footer
   20. Animasi
   21. Scroll Reveal
   22. Responsive
   ============================================================ */


/* ============================================================
   1. RESET & VARIABEL
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700;800;900&family=Fredoka+One&display=swap');

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:root {
  /* Hijau */
  --g1: #1a7a46;
  --g2: #28a85f;
  --g3: #3ecf7e;
  --g4: #b2f0cf;
  --g5: #e4f9ee;

  /* Kuning */
  --y1: #c97a00;
  --y2: #f5a623;
  --y3: #ffc842;
  --y4: #ffe492;
  --y5: #fffae6;

  /* Aksen */
  --o:  #ff6b35;
  --p:  #9b5de5;
  --b:  #3a86ff;
  --r:  #ff4d6d;
  --t:  #00b4d8;

  /* Teks */
  --dark: #0d2b1a;
  --mid:  #1f5e38;
}

body {
  font-family: 'Nunito', sans-serif;
  background: #fff;
  color: var(--dark);
  overflow-x: hidden;
}


/* ============================================================
   2. UTILITAS UMUM
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.pg {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

/* Wave separator */
.wave-sep {
  overflow: hidden;
  line-height: 0;
  margin-top: -2px;
}
.wave-sep svg {
  display: block;
  width: 100%;
}

/* Colored strip divider */
.div-strip {
  height: 12px;
  background: repeating-linear-gradient(
    90deg,
    var(--y3) 0, var(--y3) 20px,
    var(--g3) 20px, var(--g3) 40px,
    #85b7eb 40px, #85b7eb 60px,
    var(--o) 60px, var(--o) 80px,
    var(--p) 80px, var(--p) 100px
  );
}

/* Section decorative corners */
.section-corner {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  opacity: .07;
}
.sc-tr { top: -80px;    right: -80px; background: var(--g2); }
.sc-bl { bottom: -80px; left: -80px;  background: var(--y3); }


/* ============================================================
   3. TOPBAR & NAVBAR
   ============================================================ */
.topbar {
  background: var(--g1);
  padding: 6px 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar span { color: rgba(255,255,255,.85); font-size: .78rem; font-weight: 700; }
.topbar a    { color: var(--y3); font-size: .78rem; font-weight: 800; text-decoration: none; }

nav,
.navbar {
  background: #fff;
  padding: .6rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 3px 0 var(--g4);
  position: sticky;
  top: 0;
  z-index: 200;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-img    { width: 46px; height: 46px; object-fit: contain; }
.logo-circle {
  width: 46px; height: 46px;
  background: var(--g2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: 'Fredoka One', cursive;
  font-size: 1.3rem;
  box-shadow: 0 4px 0 var(--g1);
}
.logo-text {
  font-family: 'Fredoka One', cursive;
  font-size: 1.45rem;
  color: var(--g1);
  line-height: 1.1;
}
.logo-text small {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-size: .65rem;
  font-weight: 800;
  color: var(--y1);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Nav links */
.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  font-weight: 800;
  font-size: .88rem;
  color: var(--mid);
  transition: color .2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--g2); }

/* Nav buttons */
.nav-right { display: flex; gap: .7rem; align-items: center; }

.btn-nav-wa {
  background: var(--g2); color: #fff;
  border: none;
  font-family: 'Nunito', sans-serif; font-weight: 800; font-size: .82rem;
  padding: .45rem 1rem;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 3px 0 var(--g1);
  transition: transform .15s;
}
.btn-nav-wa:hover { transform: translateY(-2px); }

.btn-nav-daftar,
.btn-nav {
  background: var(--y3); color: var(--dark);
  border: none;
  font-family: 'Nunito', sans-serif; font-weight: 900; font-size: .85rem;
  padding: .5rem 1.3rem;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 3px 0 var(--y1);
  transition: transform .15s;
  text-decoration: none;
}
.btn-nav-daftar:hover,
.btn-nav:hover { transform: translateY(-2px); }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: 100%; left: 0;
  background: #fff;
  list-style: none;
  padding: .5rem 0;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,.1);
  display: none;
  min-width: 160px;
  z-index: 100;
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu li a {
  display: block;
  padding: .5rem 1rem;
  font-size: .85rem;
  color: var(--mid);
  text-decoration: none;
}
.dropdown-menu li a:hover,
.dropdown-menu a.active {
  background: var(--g5);
  color: var(--g2);
  font-weight: 900;
}

/* Hamburger (mobile) */
.menu-toggle { display: none; font-size: 1.8rem; cursor: pointer; }


/* ============================================================
   4. HERO — LANDING PAGE
   ============================================================ */
.hero {
  background: linear-gradient(160deg, #e0f8eb 0%, #fffbe6 55%, #e0f8eb 100%);
  overflow: hidden;
  position: relative;
  padding: 3rem 2rem 0;
}

/* Decorative circles */
.deco {
  position: absolute;
  border-radius: 50%;
  opacity: .5;
}
.deco-1 { width: 180px; height: 180px; background: var(--y3); top: -40px;  right: 5%;  animation: spin 20s linear infinite; }
.deco-2 { width: 120px; height: 120px; background: var(--g3); bottom: 60px; left: 3%;   animation: spin 15s linear infinite reverse; }
.deco-3 { width: 80px;  height: 80px;  background: var(--o); top: 30%;   right: 25%; animation: bounce2 4s ease-in-out infinite; }
.deco-4 { width: 60px;  height: 60px;  background: var(--p); top: 15%;   left: 20%;  animation: bounce2 5s ease-in-out infinite 1s; }
.deco-5 { width: 50px;  height: 50px;  background: var(--b); bottom: 100px; right: 10%; animation: bounce2 3s ease-in-out infinite .5s; }

/* Stars */
.star {
  position: absolute;
  font-size: 1.8rem;
  animation: twinkle 2.5s ease-in-out infinite;
}
.star.s1 { top: 12%; left: 8%; }
.star.s2 { top: 20%; right: 15%; animation-delay: .8s; }
.star.s3 { bottom: 30%; left: 12%; animation-delay: 1.4s; }
.star.s4 { top: 8%;  right: 35%; animation-delay: .4s; }
.star.s5 { bottom: 20%; right: 20%; animation-delay: 2s; }

/* Layout */
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: flex-end;
  position: relative;
  z-index: 5;
}
.hero-left { padding-bottom: 3rem; }

/* Pill badge */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--y3);
  color: var(--dark);
  border-radius: 50px;
  padding: .35rem 1.1rem;
  font-size: .82rem;
  font-weight: 900;
  margin-bottom: 1.2rem;
  box-shadow: 0 3px 0 var(--y1);
  animation: popIn .6s cubic-bezier(.175,.885,.32,1.275) both;
}

/* Headings */
.hero h1 {
  font-family: 'Fredoka One', cursive;
  font-size: 3.6rem;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 1rem;
  animation: slideUp .7s cubic-bezier(.175,.885,.32,1.275) .2s both;
}
.hero h1 .line-green  { color: var(--g2); display: block; }
.hero h1 .line-yellow {
  color: var(--y1); display: block;
  text-decoration: underline;
  text-decoration-color: var(--y3);
  text-underline-offset: 6px;
}

.hero-sub {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--mid);
  max-width: 440px;
  margin-bottom: 1.5rem;
  animation: slideUp .7s .4s both;
}

/* Action buttons */
.hero-actions {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  animation: slideUp .7s .5s both;
}
.btn-hero-main {
  background: var(--g2); color: #fff;
  border: none;
  font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 1rem;
  padding: .85rem 2rem;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 5px 0 var(--g1);
  transition: transform .15s, box-shadow .15s;
  text-decoration: none; display: inline-block;
}
.btn-hero-main:hover  { transform: translateY(-3px); box-shadow: 0 8px 0 var(--g1); }
.btn-hero-main:active { transform: translateY(2px);  box-shadow: 0 2px 0 var(--g1); }

.btn-hero-sec {
  background: #fff; color: var(--g1);
  border: 2.5px solid var(--g2);
  font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 1rem;
  padding: .82rem 1.7rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 0 var(--g4);
}
.btn-hero-sec:hover { background: var(--g5); transform: translateY(-2px); }

/* Hero stats */
.hero-stats-row {
  display: flex;
  gap: 1.5rem;
  animation: slideUp .7s .6s both;
}
.hstat {
  text-align: center;
  background: #fff;
  border-radius: 20px;
  padding: .8rem 1.2rem;
  box-shadow: 0 4px 0 var(--g4);
}
.hstat-num { font-family: 'Fredoka One', cursive; font-size: 2rem; color: var(--g1); line-height: 1; }
.hstat-lbl { font-size: .7rem; font-weight: 800; color: var(--mid); text-transform: uppercase; letter-spacing: .06em; margin-top: 2px; }

/* Hero mascot (right column) */
.hero-right {
  flex: 0 0 480px;
  position: relative;
  height: 480px;
  transform: translateY(-60px) translateX(60px); /* ← geser naik & kanan */
}
.collage-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}
.photo-card {
  position: absolute;
  border-radius: 16px;
  overflow: hidden;
  border: 4px solid white;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.photo-card:hover {
  box-shadow: 0 16px 40px rgba(0,0,0,0.22);
  z-index: 10 !important;
  transform: scale(1.04) rotate(0deg) !important;
}
/* Card 1 — kiri atas */
.card1 {
  width: 260px;      /* was 170px */
  height: 320px;     /* was 210px */
  top: 0;
  left: 0;
  transform: rotate(-6deg);
  z-index: 2;
}

/* Card 2 — tengah, paling depan */
.card2 {
  width: 250px;      /* was 160px */
  height: 300px;     /* was 195px */
  top: 50px;
  left: 110px;       /* was 70px */
  transform: rotate(2deg);
  z-index: 3;
}

/* Card 3 — kanan bawah */
.card3 {
  width: 240px;      /* was 155px */
  height: 285px;     /* was 185px */
  top: 175px;        /* was 120px */
  left: 230px;       /* was 145px */
  transform: rotate(7deg);
  z-index: 2;
}
.photo-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-label {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.92);
  font-size: 12px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
  backdrop-filter: blur(4px);
}
.badge-float {
  position: absolute;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  white-space: nowrap;
  z-index: 10;
  animation: floatBadge 3s ease-in-out infinite;
}
.bf-tahfidz { top: -12px; right: -10px; color: #7c3aed; background: #ede9fe; border: 1.5px solid #c4b5fd; }
.bf-bahasa  { bottom: 30px; left: -20px; color: #0369a1; background: #e0f2fe; border: 1.5px solid #7dd3fc; animation-delay: 1.5s; }
@keyframes floatBadge {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
/* Elemen Dekoratif Mengambang (Sesuai Referensi) */
.float-star, .float-dot {
    position: absolute;
    pointer-events: none;
    z-index: 5;
}

/* Bintang Kiri */
.f-s1 {
    font-size: 20px;
    top: 40%;
    left: -10px;
    color: #a5d6a7;
}

/* Bintang Kanan Atas */
.f-s2 {
    font-size: 16px;
    top: 50px;
    right: 50px;
    color: #b39ddb;
}

/* Bulatan Biru Atas */
.f-d1 {
    width: 15px;
    height: 15px;
    background-color: #81d4fa;
    border-radius: 50%;
    top: 10px;
    left: 45%;
}

/* Bulatan Biru Bawah */
.f-d2 {
    width: 12px;
    height: 12px;
    background-color: #81d4fa;
    border-radius: 50%;
    bottom: 30px;
    right: 60px;
}

/* Responsif untuk Tablet/HP */
@media (max-width: 992px) {
    .hero-collage-container {
        padding: 10px;
    }
    .hero-bento-grid {
        max-width: 400px;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .hero-right {
        display: none; /* Lebih baik sembunyikan kolase rumit di HP agar teks kiri jelas */
    }
}

/* Floating badges */
.badge-float {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  padding: .5rem .9rem;
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
  font-size: .78rem; font-weight: 900;
  display: flex; align-items: center; gap: 6px;
  z-index: 10;
}
.bf1 { top: 20px;     right: -40px; color: var(--g1); border-left: 4px solid var(--g2); animation: floatBadge 3s ease-in-out infinite; }
.bf2 { bottom: 80px;  left: -50px;  color: var(--y1); border-left: 4px solid var(--y3); animation: floatBadge 3.5s ease-in-out infinite 1s; }
.bf3 { top: 50%;      right: -60px; color: var(--p);  border-left: 4px solid var(--p);  animation: floatBadge 4s ease-in-out infinite 2s; }


/* ============================================================
   5. HERO — INNER PAGES (Tentang, Program, Berita, dll.)
   ============================================================ */
.about-hero,
.news-hero,
.ph {
  background: linear-gradient(155deg, #e0f8eb 0%, #fffbe6 60%, #e0f8eb 100%);
  padding: 3.5rem 2.5rem 4rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* Shared decorative circles for inner heroes */
.deco-circle,
.hero-deco,
.ph-dc {
  position: absolute;
  border-radius: 50%;
  opacity: .4;
}
.dc1, .hd1, .pdc1 { width: 160px; height: 160px; background: var(--y3); top: -50px;  right: -30px; animation: spin 22s linear infinite; }
.dc2, .hd2, .pdc2 { width: 100px; height: 100px; background: var(--g3); bottom: -20px; left: -20px;  animation: spin 16s linear infinite reverse; }
.dc3, .hd3, .pdc3 { width: 50px;  height: 50px;  background: var(--o); top: 30%;   left: 6%;   animation: floatUp 4s ease-in-out infinite; }
.dc4, .hd4, .pdc4 { width: 38px;  height: 38px;  background: var(--p); bottom: 28%; right: 7%;  animation: floatUp 5s ease-in-out infinite 1.2s; }
.dc5,      .pdc5  { width: 28px;  height: 28px;  background: var(--b); top: 15%;   right: 18%; animation: floatUp 3.5s ease-in-out infinite .6s; }

/* Star decorations */
.star-deco,
.sd {
  position: absolute;
  font-size: 1.5rem;
  animation: twinkle 2.5s ease-in-out infinite;
  opacity: .65;
}
.sd1 { top: 10%;   left: 9%;   animation-delay: .4s; }
.sd2 { top: 16%;   right: 12%; animation-delay: 1s; }
.sd3 { bottom: 20%; left: 16%; animation-delay: 1.8s; }
.sd4 { bottom: 16%; right: 24%; animation-delay: .2s; }

/* Breadcrumb */
.hero-breadcrumb,
.breadcrumb,
.hbc {
  font-size: .82rem;
  font-weight: 800;
  color: var(--mid);
  margin-bottom: 1rem;
  position: relative;
  z-index: 5;
}
.hero-breadcrumb a,
.breadcrumb a,
.hbc a { color: var(--g2); text-decoration: none; }
.hero-breadcrumb span,
.breadcrumb span,
.hbc span { margin: 0 6px; color: #aaa; }

/* Pill (inner pages) */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--y3);
  color: var(--dark);
  border-radius: 50px;
  padding: .35rem 1.1rem;
  font-size: .82rem;
  font-weight: 900;
  margin-bottom: 1rem;
  box-shadow: 0 3px 0 var(--y1);
  position: relative;
  z-index: 5;
}

/* Titles */
.hero-title,
.htitle {
  font-family: 'Fredoka One', cursive;
  font-size: 3rem;
  line-height: 1.1;
  color: var(--dark);
  position: relative;
  z-index: 5;
  margin-bottom: .7rem;
}
.hero-title span,
.hero-title .gline,
.htitle .gln { color: var(--g2); }

.news-hero h1 {
  font-family: 'Fredoka One', cursive;
  font-size: 2.8rem;
  color: var(--dark);
  position: relative;
  z-index: 5;
  margin-bottom: .6rem;
  line-height: 1.1;
}
.news-hero h1 span { color: var(--g2); }

.hero-sub-text,
.hsub,
.news-hero p {
  font-size: .97rem;
  color: var(--mid);
  max-width: 500px;
  margin: 0 auto 1.8rem;
  line-height: 1.65;
  position: relative;
  z-index: 5;
}

/* Stat row (inner pages) */
.hero-stat-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 5;
}


/* ============================================================
   6. TENTANG (ABOUT)
   ============================================================ */
.about {
  padding: 5rem 2rem;
  background: #fff;
  position: relative;
  overflow: hidden;
}

/* Section labels */
.sec-tag, .sec-tag2 {
  display: inline-block;
  background: var(--g5);
  color: var(--g1);
  border-radius: 50px;
  padding: .3rem 1rem;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .7rem;
  border: 2px solid var(--g4);
}

/* Section titles */
.sec-title, .sec-title2 {
  font-family: 'Fredoka One', cursive;
  font-size: 2.6rem;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: .8rem;
}
.sec-title span,  .sec-title2 span  { color: var(--g2); }
.sec-title .yl, .sec-title2 .yl { color: var(--y1); }

.sec-desc, .sec-desc2 {
  font-size: 1rem;
  line-height: 1.75;
  color: #4a7a5c;
  max-width: 480px;
  margin-bottom: 1.5rem;
}

/* About layout */
.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Check list */
.check-list  { display: flex; flex-direction: column; gap: .7rem; margin-bottom: 2rem; }
.check-item  { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .95rem; color: var(--dark); }
.check-box   {
  width: 28px; height: 28px;
  background: var(--g2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: .8rem;
  flex-shrink: 0;
  box-shadow: 0 2px 0 var(--g1);
}

/* Experience badge */
.exp-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--g1);
  color: #fff;
  border-radius: 20px;
  padding: 1rem 1.5rem;
  font-family: 'Fredoka One', cursive;
  font-size: 1.6rem;
}
.exp-badge span { font-size: .85rem; font-family: 'Nunito', sans-serif; font-weight: 700; opacity: .85; line-height: 1.3; }

/* About cards grid */
.about-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.acard {
  border-radius: 24px;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
  cursor: default;
}
.acard:hover { transform: translateY(-5px); box-shadow: 0 16px 32px rgba(0,0,0,.1); }
.acard.gc { background: var(--g5); border: 2.5px solid var(--g4); }
.acard.yc { background: var(--y5); border: 2.5px solid var(--y4); }
.acard.pc { background: #f3ecff;  border: 2.5px solid #d9bfff; }
.acard.bc { background: #ecf4ff;  border: 2.5px solid #b3d0ff; }
.acard-icon  { font-size: 2.5rem; margin-bottom: .6rem; }
.acard-title { font-family: 'Fredoka One', cursive; font-size: 1.05rem; color: var(--dark); margin-bottom: .3rem; }
.acard-desc  { font-size: .82rem; color: #4a7a5c; line-height: 1.5; }
.acard-stripe {
  position: absolute; bottom: 0; right: 0;
  width: 60px; height: 60px;
  border-radius: 50% 0 0 0;
  opacity: .15;
}
.gc .acard-stripe { background: var(--g2); }
.yc .acard-stripe { background: var(--y2); }

.sum-card-white {
    background: #fff !important;
    border: 2px solid var(--g4) !important;
  }
  .sum-card-white:hover {
    background: #fff !important;
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
  }
  .sum-card-white .sum-name { color: var(--dark) !important; }
  .sum-card-white .sum-age { color: var(--mid) !important; }
  .sum-card-white .sum-points li { color: #4a7a5c !important; }

  .teach-photo {
    width: 100%;
    aspect-ratio: 1 / 1; /* Membuat foto berbentuk persegi yang presisi */
    object-fit: cover; /* Mencegah foto gepeng */
    border-radius: 16px; /* Sudut melengkung yang modern */
    margin-bottom: 1rem;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    border: 3px solid #fff;
  }
/* ============================================================
   7. PROGRAM
   ============================================================ */
.programs {
  padding: 5rem 2rem;
  background: linear-gradient(180deg, #e4f9ee 0%, #fffbe6 100%);
  position: relative;
  overflow: hidden;
}

.prog-header { text-align: center; margin-bottom: 3rem; }
.prog-header p { font-size: 1rem; color: var(--mid); max-width: 480px; margin: .5rem auto 0; }

.prog-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 280px);
  justify-content: center;
  gap: 1.5rem;
}

/* Program card */
.prog-card {
  background: #fff;
  border-radius: 28px;
  padding: 1.8rem 1.4rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
  cursor: pointer;
  border: 3px solid transparent;
}
.prog-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 8px;
  border-radius: 28px 28px 0 0;
}
.prog-card:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: 0 20px 40px rgba(0,0,0,.12); }

.pc-green::before  { background: var(--g2); }
.pc-yellow::before { background: var(--y3); }
.pc-orange::before { background: var(--o); }
.pc-purple::before { background: var(--p); }

.pc-green:hover  { border-color: var(--g2); }
.pc-yellow:hover { border-color: var(--y3); }
.pc-orange:hover { border-color: var(--o); }
.pc-purple:hover { border-color: var(--p); }

.prog-icon-wrap {
  width: 80px; height: 80px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  box-shadow: 0 4px 0 rgba(0,0,0,.08);
}
.pc-green  .prog-icon-wrap { background: var(--g5); }
.pc-yellow .prog-icon-wrap { background: var(--y5); }
.pc-orange .prog-icon-wrap { background: #fff0ea; }
.pc-purple .prog-icon-wrap { background: #f3ecff; }

.prog-name { font-family: 'Fredoka One', cursive; font-size: 1.2rem; color: var(--dark); margin-bottom: .3rem; }

.prog-age {
  display: inline-block;
  border-radius: 50px;
  padding: .2rem .8rem;
  font-size: .75rem; font-weight: 800;
  margin-bottom: .7rem;
}
.pc-green  .prog-age { background: var(--g5); color: var(--g1); }
.pc-yellow .prog-age { background: var(--y5); color: var(--y1); }
.pc-orange .prog-age { background: #fff0ea; color: #c04a16; }
.pc-purple .prog-age { background: #f3ecff; color: #6b2fa0; }

.prog-desc { font-size: .83rem; color: #4a7a5c; line-height: 1.55; margin-bottom: 1rem; }

.prog-btn {
  display: inline-block;
  padding: .45rem 1.2rem;
  border-radius: 50px;
  font-weight: 900; font-size: .82rem;
  text-decoration: none;
  transition: all .2s;
}
.pc-green  .prog-btn { background: var(--g2); color: #fff;       box-shadow: 0 3px 0 var(--g1); }
.pc-yellow .prog-btn { background: var(--y3); color: var(--dark); box-shadow: 0 3px 0 var(--y1); }
.pc-orange .prog-btn { background: var(--o);  color: #fff;       box-shadow: 0 3px 0 #c04a16; }
.pc-purple .prog-btn { background: var(--p);  color: #fff;       box-shadow: 0 3px 0 #6b2fa0; }
.prog-btn:hover { transform: translateY(-2px); }


/* ============================================================
   8. STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--g1);
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: '﷽';
  position: absolute; right: 3%; top: 50%; transform: translateY(-50%);
  font-size: 8rem; opacity: .05; color: #fff;
}
.stats-bar::after {
  content: '';
  position: absolute; bottom: -40px; left: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}

.stats-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.stat-box {
  padding: 1.5rem 1rem;
  background: rgba(255,255,255,.07);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.12);
  transition: background .2s;
}
.stat-box:hover { background: rgba(255,255,255,.12); }
.stat-num2  { font-family: 'Fredoka One', cursive; font-size: 3.2rem; color: var(--y3); line-height: 1; }
.stat-plus  { font-size: 1.8rem; color: var(--y4); }
.stat-label2 { font-size: .78rem; font-weight: 800; color: rgba(255,255,255,.75); text-transform: uppercase; letter-spacing: .07em; margin-top: .4rem; }


/* ============================================================
   9. AKTIVITAS
   ============================================================ */
.activities { padding: 5rem 2rem; background: #fff; }
.act-container { max-width: 1200px; margin: 0 auto; }

.act-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
  margin-top: 2.5rem;
}
.act-card {
  border-radius: 24px;
  overflow: hidden;
  border: 3px solid var(--g4);
  transition: transform .3s, box-shadow .3s;
  cursor: pointer;
}
.act-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(40,168,95,.15);
  border-color: var(--g2);
}
.act-thumb {
  height: 170px;
  display: flex; align-items: center; justify-content: center;
  font-size: 5.5rem;
  position: relative;
}
.at-g { background: linear-gradient(135deg, var(--g5), var(--g4)); }
.at-y { background: linear-gradient(135deg, var(--y5), var(--y4)); }
.at-m { background: linear-gradient(135deg, #f3ecff, #ffe4f0); }

.act-ribbon {
  position: absolute; top: 12px; left: 12px;
  background: var(--g2); color: #fff;
  font-size: .68rem; font-weight: 900;
  padding: .25rem .7rem;
  border-radius: 50px;
  text-transform: uppercase; letter-spacing: .06em;
}
.at-y .act-ribbon { background: var(--y1); }
.at-m .act-ribbon { background: var(--p); }

.act-body  { padding: 1.2rem; }
.act-date  { font-size: .72rem; font-weight: 800; color: var(--g2); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .35rem; }
.act-title { font-family: 'Fredoka One', cursive; font-size: 1.05rem; color: var(--dark); margin-bottom: .4rem; line-height: 1.3; }
.act-desc  { font-size: .82rem; color: #4a7a5c; line-height: 1.5; }


/* ============================================================
   10. FASILITAS
   ============================================================ */
.facilities {
  padding: 5rem 2rem;
  background: linear-gradient(180deg, var(--y5) 0%, var(--g5) 100%);
}
.fac-container { max-width: 1200px; margin: 0 auto; }

.fac-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2.5rem;
}
.fac-card {
  background: #fff;
  border-radius: 24px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all .3s;
  position: relative;
  overflow: hidden;
  border: 3px solid transparent;
}
.fac-card::after {
  content: '';
  position: absolute; bottom: -30px; right: -30px;
  width: 100px; height: 100px;
  border-radius: 50%; opacity: .08;
  transition: opacity .3s;
}
.fac-g::after { background: var(--g2); }
.fac-y::after { background: var(--y2); }
.fac-p::after { background: var(--p); }

.fac-card:hover { transform: translateY(-6px); border-color: var(--g3); box-shadow: 0 16px 32px rgba(40,168,95,.12); }
.fac-card:hover::after { opacity: .15; }

.fac-icon-wrap {
  width: 80px; height: 80px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
}
.fac-g .fac-icon-wrap { background: var(--g5); box-shadow: 0 4px 0 var(--g4); }
.fac-y .fac-icon-wrap { background: var(--y5); box-shadow: 0 4px 0 var(--y4); }
.fac-p .fac-icon-wrap { background: #f3ecff;   box-shadow: 0 4px 0 #d9bfff; }

.fac-name { font-family: 'Fredoka One', cursive; font-size: 1.1rem; color: var(--dark); margin-bottom: .5rem; }
.fac-desc { font-size: .84rem; color: #4a7a5c; line-height: 1.55; }


/* ============================================================
   11. GURU / PENGAJAR
   ============================================================ */
.teachers { padding: 5rem 2rem; background: #fff; position: relative; overflow: hidden; }
.teacher-bg-deco {
  position: absolute; top: 0; right: 0;
  width: 300px; height: 300px;
  background: var(--g5);
  border-radius: 0 0 0 100%;
  opacity: .5;
}
.teach-container { max-width: 1100px; margin: 0 auto; }

.teach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 2.5rem;
}
.teach-card {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: 24px;
  background: var(--g5);
  border: 3px solid var(--g4);
  transition: all .3s;
}
.teach-card:hover      { transform: translateY(-5px); border-color: var(--g2); box-shadow: 0 12px 24px rgba(40,168,95,.12); }
.teach-card.tc-y       { background: var(--y5); border-color: var(--y4); }
.teach-card.tc-y:hover { border-color: var(--y2); }

.teach-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  border: 4px solid #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
.ta-g { background: var(--g2); }
.ta-y { background: var(--y2); }
.ta-b { background: var(--b); }
.ta-p { background: var(--p); }

.teach-name { font-family: 'Fredoka One', cursive; font-size: 1rem; color: var(--dark); margin-bottom: .25rem; }
.teach-role { font-size: .78rem; font-weight: 700; color: var(--mid); }
.teach-tag  {
  display: inline-block;
  background: var(--g2); color: #fff;
  border-radius: 50px;
  padding: .18rem .7rem;
  font-size: .68rem; font-weight: 800;
  margin-top: .5rem;
}
.tc-y .teach-tag { background: var(--y1); }


/* ============================================================
   12. TESTIMONI
   ============================================================ */
.testimonials {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, var(--g5) 0%, var(--y5) 100%);
}
.testi-container { max-width: 1200px; margin: 0 auto; }

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2.5rem;
}
.tcard {
  background: #fff;
  border-radius: 24px;
  padding: 1.8rem;
  position: relative;
  border: 3px solid transparent;
  transition: all .3s;
}
.tcard:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,.08); }
.tcard.tc1 { border-color: var(--g4); }
.tcard.tc2 { border-color: var(--y4); }
.tcard.tc3 { border-color: #d9bfff; }

.quote-icon { font-family: 'Fredoka One', cursive; font-size: 4rem; line-height: .8; color: var(--g4); margin-bottom: .5rem; }
.tc2 .quote-icon { color: var(--y4); }
.tc3 .quote-icon { color: #d9bfff; }

.tcard-stars  { color: var(--y2); font-size: 1.1rem; margin-bottom: .7rem; }
.tcard-text   { font-size: .9rem; line-height: 1.7; color: #4a7a5c; margin-bottom: 1.1rem; font-style: italic; }
.tcard-author { display: flex; align-items: center; gap: 10px; }
.tcard-ava    { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: .9rem; color: #fff; flex-shrink: 0; }
.ava-g { background: var(--g2); }
.ava-y { background: var(--y1); }
.ava-p { background: var(--p); }
.tcard-name { font-family: 'Fredoka One', cursive; font-size: .95rem; color: var(--dark); }
.tcard-role { font-size: .75rem; color: var(--mid); font-weight: 700; }


/* ============================================================
   13. JENJANG — TK / SD / SMP
   ============================================================ */

/* Jenjang Nav */
.jnav { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; z-index: 5; }
.jnav-btn {
  background: #fff;
  border: 2.5px solid var(--g4);
  border-radius: 50px;
  padding: .55rem 1.4rem;
  font-family: 'Nunito', sans-serif; font-weight: 900; font-size: .88rem;
  cursor: pointer;
  display: flex; align-items: center; gap: 7px;
  transition: all .2s;
  color: var(--dark);
  text-decoration: none;
}
.jnav-btn:hover { transform: translateY(-2px); }

.jnb-tk  { border-color: #ffc842; background: #fffbe6; color: #c97a00; }
.jnb-tk:hover  { box-shadow: 0 6px 0 #ffe492; border-color: #f5a623; }
.jnb-sd  { border-color: var(--g3); background: var(--g5); color: var(--g1); }
.jnb-sd:hover  { box-shadow: 0 6px 0 var(--g4); border-color: var(--g2); }
.jnb-smp { border-color: #85b7eb; background: #e6f1fb; color: #185fa5; }
.jnb-smp:hover { box-shadow: 0 6px 0 #b5d4f4; border-color: var(--b); }

/* Section labels */
.jlabel {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 50px; padding: .4rem 1.2rem;
  font-size: .8rem; font-weight: 900;
  margin-bottom: .8rem;
  position: relative; z-index: 3;
}
.jl-tk  { background: var(--y3); color: var(--dark); box-shadow: 0 3px 0 var(--y1); }
.jl-sd  { background: var(--g2); color: #fff;        box-shadow: 0 3px 0 var(--g1); }
.jl-smp { background: var(--b);  color: #fff;        box-shadow: 0 3px 0 #185fa5; }

/* Section titles */
.sec-title3 {
  font-family: 'Fredoka One', cursive;
  font-size: 2.5rem; color: var(--dark); line-height: 1.1;
  margin-bottom: .6rem; position: relative; z-index: 3;
}
.sec-title3 .yl { color: var(--y1); }
.sec-title3 .gn { color: var(--g2); }
.sec-title3 .bl { color: var(--b); }

.sec-desc3 { font-size: .93rem; line-height: 1.75; color: #5a5a3a; max-width: 520px; margin-bottom: 2rem; position: relative; z-index: 3; }

/* Jenjang sections */
.tk-sec {
  background: linear-gradient(180deg, #fffbe6 0%, #fff9e0 100%);
  padding: 5rem 2.5rem; position: relative; overflow: hidden;
}
.sd-sec  { background: #fff; padding: 5rem 2.5rem; position: relative; overflow: hidden; }
.smp-sec { background: linear-gradient(180deg, #e6f1fb 0%, #ddeeff 100%); padding: 5rem 2.5rem; position: relative; overflow: hidden; }

.sec-anchor { position: absolute; top: -80px; }

/* Blobs */
.tk-blob,  .sd-blob,  .smp-blob  { position: absolute; border-radius: 50%; }
.tkb1  { width: 300px; height: 300px; background: var(--y3); top: -100px; right: -80px; opacity: .2; }
.tkb2  { width: 180px; height: 180px; background: var(--o); bottom: -60px; left: -60px; opacity: .2; }
.sdb1  { width: 280px; height: 280px; background: var(--g3); top: -80px; left: -80px; opacity: .15; }
.sdb2  { width: 160px; height: 160px; background: var(--y3); bottom: -50px; right: -50px; opacity: .15; }
.smpb1 { width: 260px; height: 260px; background: var(--b); top: -70px; right: -70px; opacity: .2; }
.smpb2 { width: 150px; height: 150px; background: var(--p); bottom: -50px; left: -50px; opacity: .2; }

/* Grid layout */
.jgrid,
.jgrid.simple {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative; z-index: 3;
}
.jgrid.rev { direction: rtl; }
.jgrid.rev > * { direction: ltr; }

/* TK wrapper */
.tk-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 3rem;
}
.tk-image { display: flex; justify-content: center; }
.tk-image img {
  width: 100%; max-width: 420px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0,0,0,.1);
  transition: transform .3s ease;
}
.tk-image img:hover { transform: scale(1.03); }
.tk-content { display: flex; flex-direction: column; gap: 1rem; }

/* Illustration wrapper */
.illus-wrap { display: flex; justify-content: center; border-radius: 28px; overflow: hidden; position: relative; margin-bottom: 1.5rem; z-index: 3; }
.illus-img  { width: 100%; max-width: 420px; border-radius: 20px; box-shadow: 0 10px 25px rgba(0,0,0,.1); display: block; }
.illus-tk  { background: linear-gradient(160deg, #fff9d6 0%, #ffedaa 100%); }
.illus-sd  { background: linear-gradient(160deg, #e0f8eb 0%, #b2f0cf 100%); }
.illus-smp { background: linear-gradient(160deg, #ddeeff 0%, #b3d0ff 100%); }

/* Subject chips */
.mapel-title { font-family: 'Fredoka One', cursive; font-size: 1rem; color: var(--dark); margin-bottom: .7rem; }
.mapel-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.chip { border-radius: 50px; padding: .28rem .85rem; font-size: .78rem; font-weight: 800; }
.chip-y { background: var(--y5); color: var(--y1); border: 1.5px solid var(--y4); }
.chip-g { background: var(--g5); color: var(--g1); border: 1.5px solid var(--g4); }
.chip-b { background: #e6f1fb;   color: #185fa5;   border: 1.5px solid #b5d4f4; }
.chip-p { background: #f3ecff;   color: #6b2fa0;   border: 1.5px solid #d9bfff; }
.chip-o { background: #fff0ea;   color: #c04a16;   border: 1.5px solid #ffd0ba; }

/* Keunggulan list */
.ku-list  { display: flex; flex-direction: column; gap: .65rem; margin-bottom: 1.8rem; }
.ku-item  { display: flex; align-items: center; gap: 10px; font-size: .88rem; font-weight: 700; color: var(--dark); }
.ku-icon  { width: 30px; height: 30px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.ki-y { background: var(--y4); }
.ki-g { background: var(--g4); }
.ki-b { background: #b5d4f4; }

/* Jenjang stats */
.jstat-row { display: flex; gap: .8rem; flex-wrap: wrap; }
.jstat { border-radius: 18px; padding: .8rem 1.2rem; text-align: center; }
.js-y { background: var(--y5); border: 2px solid var(--y4); }
.js-g { background: var(--g5); border: 2px solid var(--g4); }
.js-b { background: #e6f1fb;   border: 2px solid #b5d4f4; }
.jstat-num  { font-family: 'Fredoka One', cursive; font-size: 1.8rem; line-height: 1; }
.jnum-y { color: var(--y1); }
.jnum-g { color: var(--g1); }
.jnum-b { color: #185fa5; }
.jstat-lbl  { font-size: .67rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; margin-top: 2px; color: #777; }

/* Jenjang CTA button */
.jbtn {
  display: inline-flex; align-items: center; gap: 7px;
  border: none;
  font-family: 'Nunito', sans-serif; font-weight: 900; font-size: .92rem;
  padding: .75rem 1.7rem;
  border-radius: 50px;
  cursor: pointer; transition: transform .15s;
  text-decoration: none; margin-top: 1rem;
}
.jbtn-y { background: var(--y3); color: var(--dark); box-shadow: 0 4px 0 var(--y1); }
.jbtn-g { background: var(--g2); color: #fff;        box-shadow: 0 4px 0 var(--g1); }
.jbtn-b { background: var(--b);  color: #fff;        box-shadow: 0 4px 0 #185fa5; }
.jbtn:hover { transform: translateY(-2px); }

/* Program summary */
.sum-sec   { background: var(--g1); padding: 4rem 2.5rem; }
.sum-inner { max-width: 1000px; margin: 0 auto; }
.sum-title { font-family: 'Fredoka One', cursive; font-size: 2rem; color: #fff; text-align: center; margin-bottom: .5rem; }
.sum-sub   { font-size: .93rem; color: rgba(255,255,255,.8); text-align: center; margin-bottom: 2.5rem; }
.sum-grid  { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.sum-card  {
  border-radius: 24px; padding: 1.8rem 1.5rem; text-align: center;
  background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.15);
  transition: background .2s;
}
.sum-card:hover { background: rgba(255,255,255,.18); }
.sum-emoji  { font-size: 3rem; margin-bottom: .6rem; display: block; }
.sum-name   { font-family: 'Fredoka One', cursive; font-size: 1.3rem; color: var(--y3); margin-bottom: .3rem; }
.sum-age    { font-size: .8rem; font-weight: 800; color: rgba(255,255,255,.7); margin-bottom: .8rem; text-transform: uppercase; letter-spacing: .05em; }
.sum-points { list-style: none; display: flex; flex-direction: column; gap: .4rem; }
.sum-points li { font-size: .83rem; color: rgba(255,255,255,.85); font-weight: 700; display: flex; align-items: center; gap: 6px; justify-content: center; }
.sum-dot    { width: 6px; height: 6px; border-radius: 50%; background: var(--y3); flex-shrink: 0; }


/* ============================================================
   14. VISI MISI & SEJARAH
   ============================================================ */

/* Visi Misi */
.visi-misi { background: #fff; padding: 4.5rem 2.5rem; position: relative; overflow: hidden; }
.vm-bg-circle { position: absolute; border-radius: 50%; opacity: .06; }
.vmbc1 { width: 300px; height: 300px; background: var(--g2); top: -100px; right: -100px; }
.vmbc2 { width: 200px; height: 200px; background: var(--y3); bottom: -80px; left: -80px; }

.vm-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3.5rem; align-items: start;
}

.visi-card {
  background: linear-gradient(135deg, var(--g5) 0%, #fffbe6 100%);
  border: 2.5px solid var(--g4); border-radius: 28px; padding: 2rem;
  position: relative; overflow: hidden;
}
.visi-card::before { content: ''; position: absolute; top: -20px; right: -20px; width: 100px; height: 100px; background: var(--y3); border-radius: 50%; opacity: .15; }
.visi-quote { font-family: 'Fredoka One', cursive; font-size: 5rem; line-height: .7; color: var(--g4); display: block; margin-bottom: .3rem; }
.visi-text  { font-size: .95rem; line-height: 1.75; color: var(--dark); font-weight: 700; font-style: italic; }
.visi-icon  { font-size: 3rem; margin-bottom: .8rem; display: block; }

.misi-items { display: flex; flex-direction: column; gap: .8rem; }
.misi-item  {
  display: flex; align-items: center; gap: 12px;
  background: var(--g5); border: 2px solid var(--g4); border-radius: 16px; padding: .85rem 1.1rem;
  transition: all .25s; cursor: default;
}
.misi-item:hover { background: #fff; border-color: var(--g2); transform: translateX(5px); box-shadow: 0 4px 14px rgba(40,168,95,.12); }
.misi-num  { width: 34px; height: 34px; background: var(--g2); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-family: 'Fredoka One', cursive; font-size: 1rem; flex-shrink: 0; box-shadow: 0 2px 0 var(--g1); }
.misi-text { font-weight: 800; font-size: .9rem; color: var(--dark); }

/* Exp band */
.exp-band {
  background: var(--g1); padding: 2.5rem 2rem; text-align: center; position: relative; overflow: hidden;
}
.exp-band::before,
.exp-band::after { content: ''; position: absolute; width: 200px; height: 200px; background: rgba(255,255,255,.05); border-radius: 50%; }
.exp-band::before { top: -60px; left: -60px; }
.exp-band::after  { bottom: -60px; right: -60px; }
.exp-row   { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; position: relative; z-index: 3; }
.exp-item  { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); border-radius: 20px; padding: 1.2rem 1.8rem; text-align: center; transition: background .2s; }
.exp-item:hover { background: rgba(255,255,255,.18); }
.exp-num   { font-family: 'Fredoka One', cursive; font-size: 2.8rem; color: var(--y3); line-height: 1; }
.exp-plus  { font-size: 1.6rem; color: var(--y4); }
.exp-label { font-size: .75rem; font-weight: 800; color: rgba(255,255,255,.75); text-transform: uppercase; letter-spacing: .07em; margin-top: .3rem; }

/* Sejarah / Timeline */
.sejarah { background: linear-gradient(180deg, var(--g5) 0%, #fffbe6 100%); padding: 4.5rem 2.5rem; }
.sej-container { max-width: 1100px; margin: 0 auto; }
.sej-header { text-align: center; margin-bottom: 3rem; }

.timeline {
  display: flex; flex-direction: column; gap: 0;
  position: relative; max-width: 750px; margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute; left: 38px; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(to bottom, var(--g2), var(--y3));
  border-radius: 3px;
}
.tl-item { display: flex; gap: 1.2rem; align-items: flex-start; padding: 0 0 2.5rem; position: relative; z-index: 2; }
.tl-dot  {
  width: 76px; height: 76px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  flex-shrink: 0;
  border: 4px solid #fff; box-shadow: 0 4px 12px rgba(0,0,0,.12);
  font-family: 'Fredoka One', cursive;
}
.tld-g { background: var(--g2); color: #fff; }
.tld-y { background: var(--y3); color: var(--dark); }
.tld-o { background: var(--o);  color: #fff; }
.tld-p { background: var(--p);  color: #fff; }
.tl-year { font-size: .7rem; font-weight: 900; opacity: .8; text-transform: uppercase; letter-spacing: .05em; line-height: 1; }
.tl-num  { font-size: 1.4rem; line-height: 1.1; }
.tl-content {
  background: #fff; border-radius: 20px; padding: 1.3rem 1.5rem; flex: 1;
  border: 2.5px solid var(--g4); transition: all .25s; cursor: default;
}
.tl-content:hover { border-color: var(--g2); box-shadow: 0 8px 24px rgba(40,168,95,.1); transform: translateY(-2px); }
.tl-title { font-family: 'Fredoka One', cursive; font-size: 1.05rem; color: var(--dark); margin-bottom: .35rem; }
.tl-desc  { font-size: .85rem; color: #4a7a5c; line-height: 1.55; }
.tl-tag   { display: inline-block; border-radius: 50px; padding: .18rem .7rem; font-size: .68rem; font-weight: 900; margin-top: .5rem; }
.tt-g { background: var(--g5); color: var(--g1); }
.tt-y { background: var(--y5); color: var(--y1); }
.tt-o { background: #fff0ea;   color: #c04a16; }
.tt-p { background: #f3ecff;   color: #6b2fa0; }


/* ============================================================
   15. KEUNGGULAN
   ============================================================ */
.keunggulan { background: #fff; padding: 4.5rem 2.5rem; }
.keu-container { max-width: 1100px; margin: 0 auto; }
.keu-header { text-align: center; margin-bottom: 3rem; }

.keu-grid,
.keu-grid2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.keu-grid2 { margin-top: 1.3rem; }

.keu-card {
  border-radius: 28px; padding: 2rem 1.6rem; text-align: center;
  position: relative; overflow: hidden;
  transition: all .3s; cursor: default; border: 3px solid transparent;
}
.keu-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 7px; border-radius: 28px 28px 0 0; }
.keu-card:hover { transform: translateY(-7px); }

.kc-g { background: var(--g5); border-color: var(--g4); }
.kc-g::before { background: var(--g2); }
.kc-g:hover { border-color: var(--g2); box-shadow: 0 20px 40px rgba(40,168,95,.14); }

.kc-y { background: var(--y5); border-color: var(--y4); }
.kc-y::before { background: var(--y3); }
.kc-y:hover { border-color: var(--y3); box-shadow: 0 20px 40px rgba(245,166,35,.14); }

.kc-p { background: #f3ecff; border-color: #d9bfff; }
.kc-p::before { background: var(--p); }
.kc-p:hover { border-color: var(--p); box-shadow: 0 20px 40px rgba(155,93,229,.14); }

.kc-b { background: #ecf4ff; border-color: #b3d0ff; }
.kc-b::before { background: var(--b); }
.kc-b:hover { border-color: var(--b); box-shadow: 0 20px 40px rgba(58,134,255,.14); }

.kc-o { background: #fff0ea; border-color: #ffd0ba; }
.kc-o::before { background: var(--o); }
.kc-o:hover { border-color: var(--o); box-shadow: 0 20px 40px rgba(255,107,53,.14); }

.kc-t { background: #e1f9ff; border-color: #a0e8ff; }
.kc-t::before { background: #00b4d8; }
.kc-t:hover { border-color: #00b4d8; box-shadow: 0 20px 40px rgba(0,180,216,.14); }

.kc-icon { font-size: 3rem; margin-bottom: .8rem; display: block; }
.kc-name { font-family: 'Fredoka One', cursive; font-size: 1.1rem; color: var(--dark); margin-bottom: .4rem; }
.kc-desc { font-size: .83rem; color: #4a7a5c; line-height: 1.55; }


/* ============================================================
   16. HALAMAN BERITA / KEGIATAN
   ============================================================ */
.main-wrap { max-width: 1200px; margin: 0 auto; padding: 2.5rem 1.5rem; }

/* Filter bar */
.filter-bar {
  display: flex; gap: .5rem; flex-wrap: wrap;
  margin-bottom: 2rem; padding-bottom: 1.2rem;
  border-bottom: 2px solid var(--g4);
}
.fbtn {
  background: #fff; border: 2px solid var(--g4); border-radius: 50px;
  padding: .32rem 1rem;
  font-family: 'Nunito', sans-serif; font-weight: 800; font-size: .8rem;
  color: var(--mid); cursor: pointer; transition: all .18s;
}
.fbtn:hover, .fbtn.act { background: var(--g2); border-color: var(--g2); color: #fff; box-shadow: 0 3px 0 var(--g1); }
.fbtn.act-y { background: var(--y3); border-color: var(--y1); color: var(--dark); box-shadow: 0 3px 0 var(--y1); }
.fbtn.act-o { background: var(--o);  border-color: #c04a16; color: #fff; box-shadow: 0 3px 0 #c04a16; }

/* Featured article */
.feat {
  background: #fff;
  border-radius: 24px; border: 2.5px solid var(--g4); overflow: hidden; margin-bottom: 2rem;
  display: grid; grid-template-columns: 1fr 1.1fr;
  align-items: center;
  transition: border-color .2s, transform .2s;
}
.feat:hover { border-color: var(--g2); transform: translateY(-3px); box-shadow: 0 12px 28px rgba(40,168,95,.1); }

.feat-thumb {
  background: linear-gradient(135deg, var(--g5), var(--g4));
  display: flex; align-items: center; justify-content: center;
  min-height: 240px; position: relative; font-size: 6rem;
}
.feat-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--g2); color: #fff;
  font-size: .68rem; font-weight: 900;
  padding: .22rem .8rem; border-radius: 50px;
  text-transform: uppercase; letter-spacing: .05em;
  box-shadow: 0 2px 0 var(--g1);
}
.feat-body {
  padding: 2rem 1.8rem;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: .6rem;
}
.feat-cat  { font-size: .7rem; font-weight: 900; color: var(--g2); text-transform: uppercase; letter-spacing: .08em; }
.feat-title { font-family: 'Fredoka One', cursive; font-size: 1.45rem; color: var(--dark); line-height: 1.2; }
.feat-desc  { font-size: .87rem; color: var(--mid); line-height: 1.65; }
.feat-meta  { display: flex; gap: .8rem; font-size: .73rem; font-weight: 800; color: #999; flex-wrap: wrap; }
.feat-meta span { display: flex; align-items: center; gap: 4px; }
.feat-link  {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--g2); color: #fff;
  font-family: 'Nunito', sans-serif; font-weight: 900; font-size: .85rem;
  padding: .52rem 1.3rem; border-radius: 50px;
  cursor: pointer; text-decoration: none;
  box-shadow: 0 3px 0 var(--g1); transition: transform .15s;
  align-self: flex-start;
}
.feat-link:hover { transform: translateY(-2px); }

/* Section header */
.sec-hd {
  display: flex; align-items: baseline; justify-content: space-between;
  margin: 2rem auto 1.2rem;
  max-width: 1200px;
}
.sec-hd h2 { font-family: 'Fredoka One', cursive; font-size: 1.4rem; color: var(--dark); }
.sec-hd h2 span { color: var(--g2); }
.sec-hd a  { font-size: .8rem; font-weight: 900; color: var(--g2); text-decoration: none; display: flex; align-items: center; gap: 4px; }

/* Card grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}
.card {
  background: #fff;
  border-radius: 20px; border: 2.5px solid var(--g4); overflow: hidden;
  transition: all .25s; cursor: pointer;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-5px); border-color: var(--g2); box-shadow: 0 12px 24px rgba(40,168,95,.12); }
.card-thumb {
  height: 130px;
  display: flex; align-items: center; justify-content: center;
  position: relative; font-size: 3.5rem;
}
.ct-g { background: linear-gradient(135deg, var(--g5), var(--g4)); }
.ct-y { background: linear-gradient(135deg, var(--y5), var(--y4)); }
.ct-b { background: linear-gradient(135deg, #e6f1fb, #b3d0ff); }
.ct-p { background: linear-gradient(135deg, #f3ecff, #d9bfff); }
.ct-o { background: linear-gradient(135deg, #fff0ea, #ffd0ba); }
.ct-r { background: linear-gradient(135deg, #fff0f3, #ffd0d9); }

.card-ribbon {
  position: absolute; top: 10px; left: 10px;
  font-size: .65rem; font-weight: 900;
  padding: .2rem .65rem; border-radius: 50px;
  text-transform: uppercase; letter-spacing: .05em;
}
.rb-g { background: var(--g2); color: #fff; }
.rb-y { background: var(--y1); color: #fff; }
.rb-b { background: #185fa5; color: #fff; }
.rb-p { background: var(--p); color: #fff; }
.rb-o { background: var(--o); color: #fff; }

.card-body  { padding: .9rem 1rem 1.1rem; }
.card-cat   { font-size: .68rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .3rem; }
.cat-g { color: var(--g2); }
.cat-y { color: var(--y1); }
.cat-b { color: #185fa5; }
.cat-p { color: var(--p); }
.cat-o { color: #c04a16; }

.card-title { font-family: 'Fredoka One', cursive; font-size: .97rem; color: var(--dark); line-height: 1.25; margin-bottom: .35rem; }
.card-date  { font-size: .71rem; font-weight: 800; color: #aaa; display: flex; align-items: center; gap: 4px; }

/* List group */
.list-group { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 2.5rem; }
.list-item  {
  display: flex; align-items: center; gap: 1rem;
  padding: .85rem 1.1rem; border-radius: 16px;
  background: #fff; border: 2px solid var(--g4);
  transition: all .2s; cursor: pointer;
}
.list-item:hover { border-color: var(--g2); background: var(--g5); transform: translateX(4px); box-shadow: 0 4px 12px rgba(40,168,95,.1); }
.li-icon  { width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }
.lig-g { background: var(--g5); }
.lig-y { background: var(--y5); }
.lig-b { background: #e6f1fb; }
.lig-p { background: #f3ecff; }
.li-main  { flex: 1; }
.li-title { font-family: 'Fredoka One', cursive; font-size: .95rem; color: var(--dark); margin-bottom: .15rem; }
.li-sub   { font-size: .77rem; color: var(--mid); font-weight: 700; }
.li-badge { font-size: .67rem; font-weight: 900; padding: .18rem .65rem; border-radius: 50px; flex-shrink: 0; }
.lb-g { background: var(--g5); color: var(--g1); border: 1.5px solid var(--g4); }
.lb-y { background: var(--y5); color: var(--y1); border: 1.5px solid var(--y4); }
.lb-b { background: #e6f1fb;   color: #185fa5;   border: 1.5px solid #b5d4f4; }
.lb-p { background: #f3ecff;   color: #6b2fa0;   border: 1.5px solid #d9bfff; }

/* Kalender */
.cal-box,
.cal-section {
  background: var(--g5); border-radius: 20px; padding: 1.5rem;
  margin-bottom: 2.5rem; border: 2px solid var(--g4);
}
.cal-box-title,
.cal-title { font-family: 'Fredoka One', cursive; font-size: 1.1rem; color: var(--g1); margin-bottom: 1rem; display: flex; align-items: center; gap: 8px; }
.cal-list { display: flex; flex-direction: column; gap: .5rem; }
.cal-item {
  display: flex; align-items: center; gap: .9rem;
  background: #fff; border-radius: 14px; padding: .65rem 1rem;
  border: 1.5px solid var(--g4); transition: all .2s; cursor: pointer;
}
.cal-item:hover { border-color: var(--g2); box-shadow: 0 4px 10px rgba(40,168,95,.1); }
.cal-date { background: var(--g2); color: #fff; border-radius: 10px; padding: .3rem .55rem; text-align: center; min-width: 46px; flex-shrink: 0; box-shadow: 0 2px 0 var(--g1); }
.cal-day  { font-family: 'Fredoka One', cursive; font-size: 1.25rem; line-height: 1; }
.cal-mo   { font-size: .58rem; font-weight: 900; opacity: .85; text-transform: uppercase; }
.cal-info { flex: 1; }
.cal-name { font-family: 'Fredoka One', cursive; font-size: .92rem; color: var(--dark); }
.cal-loc  { font-size: .73rem; font-weight: 700; color: var(--mid); }
.cal-tag  { font-size: .67rem; font-weight: 900; padding: .15rem .65rem; border-radius: 50px; border: 1.5px solid; }

/* Two-column layout */
.two-col { display: grid; grid-template-columns: 1fr 340px; gap: 2rem; margin-bottom: 2rem; }

/* Sidebar */
.sidebar-card { background: #fff; border-radius: 20px; border: 2px solid var(--g4); padding: 1.3rem; margin-bottom: 1.3rem; }
.sidebar-card h3 { font-family: 'Fredoka One', cursive; font-size: 1rem; color: var(--dark); margin-bottom: 1rem; display: flex; align-items: center; gap: 7px; }

.pop-list { display: flex; flex-direction: column; gap: .55rem; }
.pop-item { display: flex; gap: .8rem; align-items: center; cursor: pointer; padding: .5rem .6rem; border-radius: 12px; transition: background .2s; }
.pop-item:hover { background: var(--g5); }
.pop-thumb { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; flex-shrink: 0; }
.pop-title { font-family: 'Fredoka One', cursive; font-size: .88rem; color: var(--dark); line-height: 1.25; margin-bottom: .15rem; }
.pop-date  { font-size: .7rem; font-weight: 800; color: #aaa; }
.pop-rank  { width: 22px; height: 22px; border-radius: 6px; background: var(--g2); color: #fff; font-family: 'Fredoka One', cursive; font-size: .85rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 2px 0 var(--g1); }

.tag-cloud  { display: flex; flex-wrap: wrap; gap: .4rem; }
.tag-chip   { background: var(--g5); color: var(--g1); border: 1.5px solid var(--g4); border-radius: 50px; padding: .22rem .75rem; font-size: .75rem; font-weight: 800; cursor: pointer; transition: all .15s; }
.tag-chip:hover { background: var(--g2); color: #fff; border-color: var(--g2); }
.tag-chip.tc-y  { background: var(--y5); color: var(--y1); border-color: var(--y4); }
.tag-chip.tc-y:hover { background: var(--y1); color: #fff; border-color: var(--y1); }

.search-box   { display: flex; gap: .5rem; margin-bottom: 1rem; }
.search-input {
  flex: 1; border: 2px solid var(--g4); border-radius: 50px;
  padding: .45rem 1rem; font-family: 'Nunito', sans-serif; font-weight: 700; font-size: .85rem;
  outline: none; color: var(--dark); background: #fff;
}
.search-input:focus { border-color: var(--g2); }
.search-btn {
  background: var(--g2); color: #fff; border: none; border-radius: 50px;
  padding: .45rem 1rem; font-family: 'Nunito', sans-serif; font-weight: 900; font-size: .82rem;
  cursor: pointer; box-shadow: 0 2px 0 var(--g1);
}

/* Stats strip */
.stats-strip {
  background: var(--g1); border-radius: 20px; padding: 1.5rem 2rem; margin-bottom: 2.5rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; text-align: center;
}
.sstat { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: .9rem; }
.sstat-num { font-family: 'Fredoka One', cursive; font-size: 2rem; color: var(--y3); line-height: 1; }
.sstat-lbl { font-size: .68rem; font-weight: 900; color: rgba(255,255,255,.75); text-transform: uppercase; letter-spacing: .06em; margin-top: .25rem; }

/* Pagination */
.pagination { display: flex; gap: .4rem; justify-content: center; margin: 1rem 0 2rem; }
.pag-btn {
  width: 38px; height: 38px; border-radius: 12px;
  border: 2px solid var(--g4); background: #fff;
  font-family: 'Nunito', sans-serif; font-weight: 900; font-size: .85rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--mid); transition: all .15s;
}
.pag-btn:hover,
.pag-btn.act { background: var(--g2); border-color: var(--g2); color: #fff; box-shadow: 0 3px 0 var(--g1); }

/* Jalur wrapper */
.jalur-wrapper { max-width: 980px; margin: 0 auto; padding: 0 1.5rem; }


/* ============================================================
   17. CTA BLOCKS
   ============================================================ */

/* Landing CTA */
.cta-section {
  padding: 5rem 2rem;
  background: var(--g1);
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-inner { position: relative; z-index: 5; max-width: 700px; margin: 0 auto; }
.cta-badge {
  display: inline-block; background: var(--y3); color: var(--dark);
  border-radius: 50px; padding: .4rem 1.3rem; font-size: .85rem; font-weight: 900;
  margin-bottom: 1.2rem; box-shadow: 0 4px 0 var(--y1);
}
.cta-section h2 { font-family: 'Fredoka One', cursive; font-size: 3rem; color: #fff; margin-bottom: .8rem; line-height: 1.15; }
.cta-section h2 span { color: var(--y3); }
.cta-section p  { font-size: 1rem; color: rgba(255,255,255,.85); margin-bottom: 2rem; line-height: 1.7; }
.cta-buttons, .cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Inner page CTA variants */
.cta-about,
.cta-prog { background: var(--g1); padding: 4rem 2rem; text-align: center; position: relative; overflow: hidden; }
.cta-about::before,
.cta-prog::before  { content: ''; position: absolute; top: -80px;    left: -80px;  width: 280px; height: 280px; background: rgba(255,200,66,.06); border-radius: 50%; }
.cta-about::after,
.cta-prog::after   { content: ''; position: absolute; bottom: -80px; right: -80px; width: 200px; height: 200px; background: rgba(40,168,95,.06);  border-radius: 50%; }

.cta-badge2 { display: inline-block; background: var(--y3); color: var(--dark); border-radius: 50px; padding: .38rem 1.2rem; font-size: .82rem; font-weight: 900; margin-bottom: 1rem; box-shadow: 0 4px 0 var(--y1); position: relative; z-index: 5; }
.cta-title  { font-family: 'Fredoka One', cursive; font-size: 2.6rem; color: #fff; margin-bottom: .7rem; line-height: 1.15; position: relative; z-index: 5; }
.cta-title span { color: var(--y3); }
.cta-p { font-size: .97rem; color: rgba(255,255,255,.82); margin-bottom: 2rem; line-height: 1.7; position: relative; z-index: 5; }

.cta-prog h2 { font-family: 'Fredoka One', cursive; font-size: 2.5rem; color: #fff; margin-bottom: .6rem; position: relative; z-index: 3; }
.cta-prog h2 span { color: var(--y3); }
.cta-prog p  { font-size: .95rem; color: rgba(255,255,255,.75); margin-bottom: 2rem; line-height: 1.7; position: relative; z-index: 3; }
.cta-prog .cta-btns { position: relative; z-index: 3; }

/* Inline CTA box */
.cta-box {
  background: var(--g1); border-radius: 24px;
  padding: 2rem 2.2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  margin-top: 1rem;
}
.cta-left h3 { font-family: 'Fredoka One', cursive; font-size: 1.25rem; color: #fff; margin-bottom: .3rem; }
.cta-left p  { font-size: .85rem; color: rgba(255,255,255,.75); line-height: 1.5; }
.cta-box .cta-btns { flex-shrink: 0; }

/* CTA buttons */
.btn-cta-w, .btn-white, .cbw {
  background: #fff; color: var(--g1);
  border: none;
  font-family: 'Nunito', sans-serif; font-weight: 900; font-size: .97rem;
  padding: .85rem 1.9rem; border-radius: 50px;
  cursor: pointer; box-shadow: 0 5px 0 rgba(0,0,0,.18);
  transition: transform .15s; text-decoration: none;
  display: inline-flex; align-items: center; gap: 7px;
}
.btn-cta-w:hover, .btn-white:hover, .cbw:hover { transform: translateY(-3px); }

.btn-cta-y, .btn-yellow, .cby {
  background: var(--y3); color: var(--dark);
  border: none;
  font-family: 'Nunito', sans-serif; font-weight: 900; font-size: .97rem;
  padding: .85rem 1.9rem; border-radius: 50px;
  cursor: pointer; box-shadow: 0 5px 0 var(--y1);
  transition: transform .15s; text-decoration: none;
  display: inline-flex; align-items: center; gap: 7px;
}
.btn-cta-y:hover, .btn-yellow:hover, .cby:hover { transform: translateY(-3px); }

/* Confetti decorations inside CTAs */
.cta-confetti { position: absolute; border-radius: 6px; }
.cta-c1, .cc1 { width: 28px; height: 28px; background: var(--y3); top: 12%; left: 6%;   animation: wiggle 3.5s ease-in-out infinite; }
.cta-c2, .cc2 { width: 20px; height: 20px; background: var(--o);  border-radius: 50%; top: 22%; right: 9%; animation: wiggle 4.5s ease-in-out infinite 1s; }
.cta-c3, .cc3 { width: 24px; height: 24px; background: var(--p);  bottom: 22%; left: 12%;  transform: rotate(45deg); animation: wiggle 3s ease-in-out infinite .5s; }
.cta-c4, .cc4 { width: 32px; height: 32px; background: var(--b);  bottom: 18%; right: 7%; animation: wiggle 5s ease-in-out infinite 1.8s; }
.cta-c5, .cc5 { width: 16px; height: 16px; background: #fff; border-radius: 50%; top: 55%; left: 18%; animation: wiggle 2.8s ease-in-out infinite 2s; }
.cta-c6       { width: 22px; height: 22px; background: var(--r);  border-radius: 4px; top: 40%; right: 15%; animation: wiggle 4s ease-in-out infinite .8s; }

/* FLOATING WHATSAPP BUTTON */
.wa-float {
  position: fixed;
  bottom: 30px; /* Jarak dari bawah layar */
  right: 30px;  /* Jarak dari kanan layar */
  width: 60px;
  height: 60px;
  background-color: #25D366; /* Warna hijau khas WhatsApp */
  color: #FFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
  z-index: 9999; /* Agar selalu berada paling atas/tidak tertimpa konten lain */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.wa-float:hover {
  transform: translateY(-5px); /* Efek naik sedikit saat di-hover */
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.5);
  color: #FFF;
}

/* Penyesuaian ukuran untuk layar HP agar tidak menutupi konten terlalu banyak */
@media (max-width: 768px) {
  .wa-float {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
  }
  .wa-float svg {
    width: 28px;
    height: 28px;
  }
}

/* CSS GALERI KOLASE */
.gallery-page {
    padding: 80px 0;
    background: #fdfdfb;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-auto-rows: 200px;
    grid-gap: 15px;
    grid-auto-flow: dense; /* Mengisi ruang kosong secara otomatis */
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Modifikasi Ukuran Grid */
.gallery-item.large {
    grid-column: span 2;
}

.gallery-item.tall {
    grid-row: span 2;
}

/* Hover Effect */
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    height: 50%;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay span {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Responsive */
@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
    .gallery-item.large {
        grid-column: span 2;
    }
}

/* FORM STYLES */
.form-section {
    background: #fff;
    padding: 30px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    margin-bottom: 25px;
    border: 1px solid #f0f0f0;
}

.form-sec-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    border-bottom: 2px solid #f8f8f8;
    padding-bottom: 15px;
}

.step-num {
    background: var(--g1); /* Hijau */
    color: white;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 800;
    font-size: 0.9rem;
}

.form-sec-title h3 {
    color: #0d2b1a;
    font-size: 1.25rem;
    font-weight: 700;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group.full {
    grid-column: span 2;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #4a7a5c;
    margin-bottom: 8px;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e0e0e0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--g1);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(74, 122, 92, 0.1);
}

.radio-group {
    display: flex;
    gap: 20px;
    padding-top: 10px;
}

.radio-group label {
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Responsive Form */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-group.full {
        grid-column: span 1;
    }
    .form-section {
        padding: 20px;
    }
}

    .ppdb-container { margin-bottom: 50px; }
    .ppdb-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 24px;
        margin-top: 20px;
    }
    .ppdb-card {
        background: #fff;
        border-radius: 20px;
        overflow: hidden;
        border: 2px solid #eee;
        transition: transform 0.3s ease;
        display: flex;
        flex-direction: column;
    }
    .ppdb-card:hover { transform: translateY(-10px); }
    
    /* Warna tema */
    .pc-g { border-color: #e8f5e9; }
    .pc-g .pc-pill { background: #4caf50; color: white; }
    .pc-y { border-color: #fffde7; }
    .pc-y .pc-pill { background: #fbc02d; color: white; }
    .pc-b { border-color: #e3f2fd; }
    .pc-b .pc-pill { background: #1e88e5; color: white; }

    .pc-head { padding: 25px; text-align: center; background: rgba(0,0,0,0.02); }
    .pc-pill { padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: bold; text-transform: uppercase; }
    .pc-head h3 { margin-top: 10px; font-size: 24px; color: #333; }

    .pc-body { padding: 25px; flex-grow: 1; }
    .pc-info { 
        display: flex; align-items: center; gap: 10px; 
        background: #f8f9fa; padding: 12px; border-radius: 12px;
        font-weight: 600; color: #444; font-size: 14px; margin-bottom: 20px;
    }
    .pc-desc ul { padding-left: 20px; color: #666; font-size: 15px; }
    .pc-desc li { margin-bottom: 8px; }

    .pc-status { 
        padding: 15px; text-align: center; font-weight: bold; 
        font-size: 14px; letter-spacing: 0.5px;
    }
    .ps-open { background: #4caf50; color: white; }
    .ps-wait { background: #f5f5f5; color: #999; }

    
/* ============================================================
   18. FOOTER
   ============================================================ */
footer {
  background: var(--dark);
  color: #fff;
  padding: 4rem 2rem 2rem;
}
.foot-top {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem; margin-bottom: 3rem;
}
.foot-brand h3  { font-family: 'Fredoka One', cursive; font-size: 1.7rem; color: var(--y3); margin-bottom: .8rem; }
.foot-brand p   { font-size: .87rem; line-height: 1.7; color: rgba(255,255,255,.6); }

.foot-social,
.foot-soc { display: flex; gap: .6rem; margin-top: 1rem; }
.soc-btn,
.soc {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; text-decoration: none;
  transition: transform .2s;
}
.soc-btn:hover,
.soc:hover { transform: translateY(-3px); }
.soc-ig { background: #e1306c; }
.soc-fb { background: #1877f2; }
.soc-yt { background: #ff0000; }
.soc-wa { background: #25d366; }

.foot-col h4      { font-family: 'Fredoka One', cursive; font-size: 1rem; color: var(--y3); margin-bottom: 1rem; }
.foot-col ul      { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.foot-col ul a    { text-decoration: none; font-size: .85rem; color: rgba(255,255,255,.6); transition: color .2s; display: flex; align-items: center; gap: 6px; }
.foot-col ul a:hover { color: var(--y3); }

.foot-contact-item,
.foot-ci { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: .7rem; line-height: 1.5; }
.foot-contact-item span:first-child { flex-shrink: 0; }

.foot-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.5rem;
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .8rem; color: rgba(255,255,255,.35);
}
.foot-bottom a { color: var(--y3); text-decoration: none; font-weight: 700; }


/* ============================================================
   19. ANIMASI
   ============================================================ */
@keyframes spin      { to { transform: rotate(360deg); } }
@keyframes spinSlow  { to { transform: rotate(360deg); } }
@keyframes bounce2   { 0%,100%{ transform:translateY(0) scale(1); }   50%{ transform:translateY(-18px) scale(1.05); } }
@keyframes floatUp   { 0%,100%{ transform:translateY(0); }             50%{ transform:translateY(-14px); } }
@keyframes floatBadge{ 0%,100%{ transform:translateY(0); }             50%{ transform:translateY(-10px); } }
@keyframes mascotBob { 0%,100%{ transform:translateY(0) rotate(-2deg); } 50%{ transform:translateY(-12px) rotate(2deg); } }
@keyframes twinkle   { 0%,100%{ opacity:.4;transform:scale(1); }       50%{ opacity:1;transform:scale(1.3) rotate(20deg); } }
@keyframes popIn     { from{ opacity:0;transform:scale(.5); }           to{ opacity:1;transform:scale(1); } }
@keyframes slideUp   { from{ opacity:0;transform:translateY(40px); }   to{ opacity:1;transform:translateY(0); } }
@keyframes wiggle    { 0%,100%{ transform:translateY(0) rotate(0deg); } 35%{ transform:translateY(-12px) rotate(12deg); } 70%{ transform:translateY(4px) rotate(-8deg); } }


/* ============================================================
   20. SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in { opacity: 1; transform: none; }
.rd1 { transition-delay: .1s; }
.rd2 { transition-delay: .2s; }
.rd3 { transition-delay: .3s; }
.rd4 { transition-delay: .4s; }


/* ============================================================
   21. RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .hero-inner        { grid-template-columns: 1fr; }
  .hero-right        { display: none; }
  .about-container   { grid-template-columns: 1fr; }
  .prog-grid         { grid-template-columns: 1fr 1fr; }
  .stats-inner       { grid-template-columns: 1fr 1fr; }
  .act-grid, .fac-grid, .testi-grid, .teach-grid { grid-template-columns: 1fr; }
  .foot-top          { grid-template-columns: 1fr 1fr; }
  nav .nav-links     { display: none; }
  .two-col           { grid-template-columns: 1fr; }
  .stats-strip       { grid-template-columns: 1fr 1fr; }
  .feat              { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute; top: 70px; left: 0; width: 100%;
    background: #fff; flex-direction: column; align-items: center;
    display: none; padding: 1rem 0;
  }
  .nav-links.active { display: flex; }
  .nav-right { display: none; }
  .dropdown-menu { position: static; box-shadow: none; display: none; }
  .dropdown.open .dropdown-menu { display: flex; flex-direction: column; }

  .tk-wrapper, .jgrid, .jgrid.simple { grid-template-columns: 1fr; }
  .jgrid.rev { direction: ltr; }
  .tk-content { align-items: center; }
  .jstat-row  { justify-content: center; }
  .sum-grid   { grid-template-columns: 1fr; }
  .prog-grid  { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .vm-grid { grid-template-columns: 1fr; }
  .sum-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .card-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .hero h1, .news-hero h1 { font-size: 2rem; }
}

@media (max-width: 600px) {
  .card-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .keu-grid, .keu-grid2 { grid-template-columns: 1fr; }
  .hero-title, .htitle  { font-size: 2.2rem; }
  .timeline::before     { left: 32px; }
}