/* ============================================================
   KENTWOOD ACADEMY — style.css
   ============================================================ */

/* ----- RESET & BASE ----- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy: #0d1b4b;
  --navy-light: #1a2a6c;
  --white: #ffffff;
  --light-bg: #f0f2f8;
}

body {
  font-family: 'Lato', sans-serif;
  color: var(--navy);
  background: #ffffff;
  overflow-x: hidden;
}

/* ============================================================
   NAVBAR
   ============================================================ */
nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
}

.nav-left,
.nav-right {
  display: flex;
  gap: 28px;
  align-items: center;
}

nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 13.5px;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

nav a:hover {
  text-decoration: underline;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.nav-logo-img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.nav-logo svg {
  width: 44px;
  height: 52px;
  filter: brightness(0) invert(1);
}

.nav-logo span {
  color: white;
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  margin-top: 4px;
}

.nav-arrow {
  font-size: 10px;
  margin-left: 2px;
  display: inline-block;
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 40, 70, 0.18);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
}

.hero-content h1 {
  font-family: 'EB Garamond', serif;
  font-size: clamp(44px, 6.5vw, 82px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.hero-scroll {
  position: absolute;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  text-align: center;
  z-index: 2;
  cursor: pointer;
}

.hero-scroll span {
  display: block;
  font-size: 13px;
  letter-spacing: 1.5px;
  font-family: 'Lato', sans-serif;
  margin-bottom: 6px;
}

.hero-scroll .arrow-down {
  font-size: 20px;
  display: block;
  animation: bounce 1.8s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(7px); }
}

/* ============================================================
   SECTION 2
   ============================================================ */
#section2 {
  background: #ffffff;
  padding: 60px 80px;
}

.grid-section2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* --- Card: Headteacher (spans 2 rows on the left) --- */
.card-headteacher {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 480px;
}

.card-headteacher img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-headteacher-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    to top,
    rgba(10, 20, 70, 0.92) 0%,
    rgba(10, 20, 70, 0.5) 60%,
    transparent 100%
  );
  padding: 36px 28px 28px;
  color: white;
}

.card-headteacher-overlay h2 {
  font-family: 'EB Garamond', serif;
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 12px;
}

.card-headteacher-overlay p {
  font-size: 12.5px;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 18px;
}

/* --- Card: Arrange a Visit --- */
.card-visit {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  background: var(--navy);
  border-radius: 14px;
  padding: 36px 36px 30px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-visit h2 {
  font-family: 'EB Garamond', serif;
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 14px;
}

.card-visit p {
  font-size: 13px;
  line-height: 1.7;
  opacity: 0.88;
  flex: 1;
  margin-bottom: 22px;
}

/* --- Card: Admissions Row (Shield + Text) --- */
.card-admissions-row {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.card-shield {
  background: var(--navy);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.shield-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-shield svg {
  width: 90px;
  height: 90px;
  filter: brightness(0) invert(1);
}

.card-admissions {
  background: var(--light-bg);
  border-radius: 14px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-admissions h3 {
  font-family: 'EB Garamond', serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 10px;
}

.card-admissions p {
  font-size: 13px;
  line-height: 1.6;
  color: #333333;
  margin-bottom: 18px;
}

/* --- Bottom Row: Ethos + Students Photo --- */
.grid-section2-bottom {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
  max-width: 1200px;
  margin: 20px auto 0;
}

.card-ethos {
  background: var(--light-bg);
  border-radius: 14px;
  padding: 38px 40px;
}

.card-ethos h2 {
  font-family: 'EB Garamond', serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 14px;
}

.card-ethos p {
  font-size: 13.5px;
  line-height: 1.8;
  color: #333333;
  margin-bottom: 22px;
}

.card-students {
  border-radius: 14px;
  overflow: hidden;
  min-height: 250px;
}

.card-students img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   SECTION 3
   ============================================================ */
#section3 {
  background: #ffffff;
}

/* --- Top: Image Left + Text Right --- */
.grid-section3-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
}

.s3-img-left {
  overflow: hidden;
}

.s3-img-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.85) sepia(0.2);
}

.s3-text-right {
  background: var(--navy);
  color: white;
  padding: 60px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.s3-text-right h2 {
  font-family: 'EB Garamond', serif;
  font-size: 34px;
  font-weight: 400;
  margin-bottom: 18px;
}

.s3-text-right p {
  font-size: 13px;
  line-height: 1.8;
  opacity: 0.88;
  margin-bottom: 24px;
}

/* --- Bottom: Text Left + Image Right --- */
.grid-section3-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
}

.s3-text-left {
  background: var(--navy);
  color: white;
  padding: 60px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.s3-text-left h2 {
  font-family: 'EB Garamond', serif;
  font-size: 30px;
  font-weight: 400;
  margin-bottom: 14px;
}

.s3-text-left p {
  font-size: 13px;
  line-height: 1.8;
  opacity: 0.88;
  margin-bottom: 22px;
}

.s3-img-right {
  overflow: hidden;
}

.s3-img-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--navy);
  color: white;
  padding: 52px 80px 36px;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  gap: 60px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 16px;
}

.footer-logo-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 6px;
}

.footer-logo svg {
  width: 38px;
  height: 44px;
  filter: brightness(0) invert(1);
  margin-bottom: 6px;
}

.footer-logo span {
  font-size: 13px;
  letter-spacing: 2px;
  font-family: 'Lato', sans-serif;
}

.footer-address {
  font-size: 12.5px;
  line-height: 1.8;
  opacity: 0.88;
  margin-bottom: 14px;
}

.footer-email {
  margin-bottom: 12px;
}

.footer-email-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: white;
  text-decoration: none;
  font-size: 12.5px;
  opacity: 0.88;
  transition: opacity 0.2s;
}

.footer-email-link:hover {
  opacity: 1;
}

.footer-email-link svg {
  flex-shrink: 0;
}

.footer-email-link span {
  white-space: nowrap;
}

.footer-copyright {
  font-size: 11.5px;
  opacity: 0.7;
  margin-bottom: 14px;
}

.footer-socials {
  display: flex;
  gap: 14px;
  margin-top: 16px;
  font-size: 15px;
  opacity: 0.85;
}

.footer-socials a {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transition: background 0.2s, transform 0.2s;
}

.footer-socials a:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  opacity: 1;
}

.footer-col a {
  display: block;
  color: white;
  text-decoration: none;
  font-size: 12.5px;
  opacity: 0.82;
  margin-bottom: 6px;
  transition: opacity 0.2s;
}

.footer-col a:hover {
  opacity: 1;
}

.footer-bottom {
  max-width: 1200px;
  margin: 28px auto 0;
  display: flex;
  justify-content: flex-end;
  font-size: 11.5px;
  opacity: 0.6;
}

.footer-bottom a {
  color: white;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-outline-white {
  display: inline-block;
  border: 1.5px solid white;
  color: white;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 12.5px;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.btn-outline-white:hover {
  background: white;
  color: var(--navy);
}

.btn-outline-white-sm {
  display: inline-block;
  border: 1.5px solid white;
  color: white;
  padding: 9px 20px;
  border-radius: 30px;
  font-size: 12px;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  align-self: flex-start;
}

.btn-outline-white-sm:hover {
  background: white;
  color: var(--navy);
}

.btn-navy {
  display: inline-block;
  background: var(--navy);
  color: white;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 12.5px;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-navy:hover {
  background: #1a2a6c;
}

.btn-get-directions {
  display: inline-block;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  color: white;
  padding: 9px 20px;
  border-radius: 30px;
  font-size: 12px;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-decoration: none;
  margin-top: 4px;
  transition: background 0.2s, color 0.2s;
}

.btn-get-directions:hover {
  background: white;
  color: var(--navy);
}

/* ---- NAVBAR override for non-hero page (white bg) ---- */
.navbar-page {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
  background: var(--navy);
  box-shadow: 0 2px 12px rgba(13, 27, 75, 0.15);
}

/* ============================================================
   HERO SECTION — Tentang KCMI
   ============================================================ */
.tentang-hero {
  margin-top: 70px; /* offset fixed navbar */
  background: #e8ecf8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 120px 0 160px;
  min-height: 280px;
  overflow: hidden;
  position: relative;
}

.tentang-hero-left {
  flex: 1;
}

.tentang-hero-left h1 {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 4vw, 52px);
  color: var(--navy);
  letter-spacing: -0.5px;
}

.tentang-hero-right {
  position: relative;
  flex: 0 0 340px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* Decorative small symbols */
.deco {
  position: absolute;
  font-size: 16px;
  color: #a0b0d0;
  user-select: none;
}

.deco-circle-outline { top: 10px; right: 60px; font-size: 14px; color: #8090c0; }
.deco-plus.top-right-2 { top: 24px; right: 38px; font-size: 16px; color: #8090c0; }
.deco-circle-fill { top: 20px; right: 52px; font-size: 10px; color: #e07b5f; }
.deco-plus.top-right-4 { top: 8px; right: 20px; font-size: 14px; color: #8090c0; }

/* Illustration container */
.tentang-illustration {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.tentang-illustration svg {
  display: block;
  max-width: 320px;
}

/* ============================================================
   SELAYANG PANDANG
   ============================================================ */
.tentang-selayang {
  padding: 80px 40px 60px;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.tentang-selayang h2 {
  font-family: 'EB Garamond', serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--navy);
  margin: 16px 0 20px;
}

.tentang-selayang p {
  font-size: 14px;
  line-height: 1.8;
  color: #444;
}

/* Title group: line — label — line */
.section-title-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}

.title-line {
  display: inline-block;
  width: 40px;
  height: 1.5px;
  background: #a0a8c8;
}

.title-label {
  font-size: 14px;
  font-weight: 700;
  color: #7b89bf;
  letter-spacing: 0.3px;
}

/* ============================================================
   LEGALITAS YAYASAN
   ============================================================ */
.tentang-legalitas {
  padding: 0 60px 80px;
  max-width: 1100px;
  margin: 0 auto;
}

.legalitas-card {
  background: #f7f8fc;
  border-radius: 16px;
  padding: 50px 120px;
  text-align: center;
}

.legalitas-card p {
  font-size: 13.5px;
  line-height: 1.9;
  color: #444;
  margin-top: 16px;
}

/* ============================================================
   VISI MISI TUJUAN
   ============================================================ */
.tentang-vmt {
  background: #eef0f8;
  padding: 70px 0 80px;
}

.vmt-block {
  max-width: 500px;
  margin: 0 auto 52px;
  text-align: center;
}

.vmt-block:last-child {
  margin-bottom: 0;
}

.vmt-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  font-family: 'EB Garamond', serif;
  letter-spacing: 0.2px;
}

/* Override title-line color inside vmt */
.vmt-block .title-line {
  background: #a0a8c8;
  width: 36px;
}

.vmt-block p {
  font-size: 13.5px;
  line-height: 1.85;
  color: #444;
  margin-top: 14px;
  text-align: left;
}

.vmt-block ol {
  margin-top: 14px;
  padding-left: 20px;
  text-align: left;
}

.vmt-block ol li {
  font-size: 13.5px;
  line-height: 1.85;
  color: #444;
  margin-bottom: 8px;
}

/* ============================================================
   KENTWOOD ACADEMY — program.css
   Styles khusus halaman Program
   ============================================================ */

/* ============================================================
   HERO PROGRAM
   ============================================================ */
.prog-hero {
  margin-top: 70px;
  background: #e8ecf8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 120px 0 160px;
  min-height: 280px;
  overflow: hidden;
  position: relative;
}

.prog-hero-left {
  flex: 1;
}

.prog-hero-left h1 {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 4vw, 52px);
  color: var(--navy);
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.prog-hero-left p {
  font-size: 15px;
  color: #5a6a90;
  line-height: 1.7;
}

.prog-hero-right {
  position: relative;
  flex: 0 0 320px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.prog-illustration {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.prog-illustration svg {
  display: block;
  max-width: 300px;
}

/* ============================================================
   INTRO SECTION
   ============================================================ */
.prog-intro {
  padding: 80px 40px 60px;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.prog-intro h2 {
  font-family: 'EB Garamond', serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--navy);
  margin: 16px 0 20px;
}

.prog-intro p {
  font-size: 14px;
  line-height: 1.85;
  color: #444;
}

/* ============================================================
   DAFTAR SERTIFIKAT — GRID CARDS
   ============================================================ */
.prog-sertifikat {
  background: #eef0f8;
  padding: 60px 80px 80px;
}

.prog-sertifikat > .section-title-group {
  margin-bottom: 40px;
}

.sertifikat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Individual Certificate Card */
.sert-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 2px 12px rgba(13, 27, 75, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}

.sert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(13, 27, 75, 0.12);
}

/* Featured card (navy border accent) */
.sert-featured {
  border-top: 3px solid var(--navy);
}

.sert-icon {
  margin-bottom: 4px;
}

.sert-badge {
  display: inline-block;
  background: var(--navy);
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 3px 10px;
  border-radius: 20px;
  width: fit-content;
  margin-bottom: 2px;
}

.sert-card h3 {
  font-family: 'EB Garamond', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.3;
}

.sert-sub {
  font-size: 12px !important;
  color: #7b89bf !important;
  font-style: italic;
  margin-top: -4px !important;
  margin-bottom: 0 !important;
}

.sert-card p {
  font-size: 13px;
  line-height: 1.75;
  color: #555;
  margin: 0;
}

/* ============================================================
   CEFR SECTION
   ============================================================ */
.prog-cefr {
  padding: 0 80px 80px;
  max-width: 1100px;
  margin: 0 auto;
}

.cefr-card {
  background: #f7f8fc;
  border-radius: 16px;
  padding: 50px 100px;
  text-align: center;
}

.cefr-card h3 {
  font-family: 'EB Garamond', serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--navy);
  margin: 14px 0 16px;
}

.cefr-card p {
  font-size: 13.5px;
  line-height: 1.9;
  color: #444;
  margin-bottom: 28px;
}

/* CEFR Level Badges */
.cefr-levels {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cefr-badge {
  display: inline-block;
  padding: 8px 22px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  background: #e8ecf8;
  color: #5a6a90;
  border: 1.5px solid #c5cce8;
}

.cefr-mid {
  background: #d0d8f0;
  color: var(--navy);
  border-color: #a0b0d0;
}

.cefr-high {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

/* ============================================================
   KENTWOOD ACADEMY — biaya.css
   Styles khusus halaman Biaya Kursus
   ============================================================ */

/* ============================================================
   HERO BIAYA
   ============================================================ */
.biaya-hero {
  margin-top: 70px;
  background: #e8ecf8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 120px 0 160px;
  min-height: 280px;
  overflow: hidden;
  position: relative;
}

.biaya-hero-left {
  flex: 1;
}

.biaya-hero-left h1 {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 4vw, 52px);
  color: var(--navy);
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.biaya-hero-left p {
  font-size: 15px;
  color: #5a6a90;
  line-height: 1.7;
}

.biaya-hero-right {
  position: relative;
  flex: 0 0 320px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.biaya-illustration {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.biaya-illustration svg {
  display: block;
  max-width: 300px;
}

/* ============================================================
   SECTION WRAPPER
   ============================================================ */
.biaya-section {
  background: #ffffff;
  padding: 72px 80px 60px;
}

.biaya-section-alt {
  background: #eef0f8;
}

.biaya-section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

.biaya-section-header h2 {
  font-family: 'EB Garamond', serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--navy);
  margin: 14px 0 14px;
}

.biaya-section-header p {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
}

/* ============================================================
   CARD GRID
   ============================================================ */
.biaya-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1100px;
  margin: 0 auto;
}

/* ---- Individual Card ---- */
.biaya-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 30px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 2px 12px rgba(13, 27, 75, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  position: relative;
}

.biaya-section-alt .biaya-card {
  background: #ffffff;
}

.biaya-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 32px rgba(13, 27, 75, 0.13);
}

/* Featured card — navy top border */
.biaya-card-featured {
  border-top: 3px solid var(--navy);
}

/* Card icon */
.biaya-card-icon {
  margin-bottom: 6px;
}

/* Badge */
.biaya-badge {
  display: inline-block;
  background: var(--navy);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 3px 11px;
  border-radius: 20px;
  width: fit-content;
  margin-bottom: 2px;
}

/* Small label above card title */
.biaya-card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #7b89bf;
  text-transform: uppercase;
}

/* Card heading */
.biaya-card h3 {
  font-family: 'EB Garamond', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.3;
}

/* Main price */
.biaya-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  font-family: 'Lato', sans-serif;
  line-height: 1.2;
}

/* Period / label below price */
.biaya-period {
  font-size: 12px;
  color: #7b89bf;
  letter-spacing: 0.2px;
  margin-top: -4px;
}

/* Price range table (for cards with multiple prices) */
.biaya-price-range {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 4px 0;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.price-tag {
  font-size: 11px;
  font-weight: 700;
  color: #7b89bf;
  background: #eef0f8;
  padding: 2px 9px;
  border-radius: 20px;
  white-space: nowrap;
}

.price-val {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  text-align: right;
}

/* Description text */
.biaya-card p {
  font-size: 13px;
  line-height: 1.75;
  color: #555;
  margin: 0;
}

/* ============================================================
   CATATAN / NOTE SECTION
   ============================================================ */
.biaya-note-section {
  background: #ffffff;
  padding: 0 80px 80px;
  max-width: 1100px;
  margin: 0 auto;
}

.biaya-note-card {
  background: #f7f8fc;
  border-radius: 16px;
  padding: 50px 100px;
  text-align: center;
}

.biaya-note-card h3 {
  font-family: 'EB Garamond', serif;
  font-size: 26px;
  font-weight: 400;
  color: var(--navy);
  margin: 14px 0 16px;
}

.biaya-note-card p {
  font-size: 13.5px;
  line-height: 1.9;
  color: #444;
  margin-bottom: 28px;
}

.biaya-note-card strong {
  color: var(--navy);
}

.biaya-cta {
  margin-top: 4px;
}

/* ============================================================
   KENTWOOD ACADEMY — testimoni.css
   Styles khusus halaman Testimoni
   ============================================================ */

/* ============================================================
   HERO TESTIMONI
   ============================================================ */
.testi-hero {
  margin-top: 70px;
  background: #e8ecf8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 120px 0 160px;
  min-height: 280px;
  overflow: hidden;
  position: relative;
}

.testi-hero-left {
  flex: 1;
}

.testi-hero-left h1 {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 4vw, 52px);
  color: var(--navy);
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.testi-hero-left p {
  font-size: 15px;
  color: #5a6a90;
  line-height: 1.7;
}

.testi-hero-right {
  position: relative;
  flex: 0 0 320px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.testi-illustration {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.testi-illustration svg {
  display: block;
  max-width: 300px;
}

/* ============================================================
   INTRO
   ============================================================ */
.testi-intro {
  padding: 80px 40px 60px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.testi-intro h2 {
  font-family: 'EB Garamond', serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--navy);
  margin: 14px 0 18px;
}

.testi-intro p {
  font-size: 14px;
  line-height: 1.85;
  color: #555;
}

/* ============================================================
   CARDS SECTION
   ============================================================ */
.testi-cards-section {
  background: #eef0f8;
  padding: 20px 80px 80px;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

/* The 4th and 5th cards are centered in a second row */
.testi-grid .testi-card:nth-child(4) {
  grid-column: 1 / 2;
  margin-left: auto;
  margin-right: 0;
  width: 100%;
}

.testi-grid .testi-card:nth-child(5) {
  grid-column: 2 / 3;
  margin-left: 0;
  margin-right: auto;
  width: 100%;
}

/* ---- Individual Card ---- */
.testi-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 30px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 2px 14px rgba(13, 27, 75, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  position: relative;
}

.testi-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(13, 27, 75, 0.13);
}

/* Featured card (navy top accent) */
.testi-card-featured {
  border-top: 3px solid var(--navy);
}

/* ---- Card Top: Avatar + Identity ---- */
.testi-card-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

/* Avatar wrapper with ring - Large Box Style */
.testi-avatar-wrap {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 12px;
  border: 4px solid #c5cce8;
  padding: 4px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(13, 27, 75, 0.1);
}

.testi-avatar {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

/* Identity text block */
.testi-identity {
  flex: 1;
  min-width: 0;
}

.testi-name {
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 5px;
  line-height: 1.2;
}

.testi-program,
.testi-tujuan {
  font-size: 12px;
  color: #555;
  line-height: 1.55;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.testi-label {
  font-weight: 700;
  color: #7b89bf;
  white-space: nowrap;
}

.testi-value {
  color: #444;
}

/* ---- Stars ---- */
.testi-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 12px;
}

.testi-stars span {
  color: #f5c542;
  font-size: 16px;
  line-height: 1;
}

/* ---- Divider ---- */
.testi-divider {
  border: none;
  border-top: 1.5px solid #eef0f8;
  margin: 0 0 14px;
}

/* ---- Quote icon ---- */
.testi-quote-icon {
  font-family: 'EB Garamond', serif;
  font-size: 42px;
  line-height: 1;
  color: #c5cce8;
  margin-bottom: 4px;
  height: 32px;
}

/* ---- Comment text ---- */
.testi-comment {
  font-size: 13.5px;
  line-height: 1.85;
  color: #555;
  font-style: italic;
  margin: 0;
}

/* ============================================================
   CTA BOTTOM SECTION
   ============================================================ */
.testi-cta-section {
  background: #ffffff;
  padding: 0 80px 80px;
  max-width: 1100px;
  margin: 0 auto;
}

.testi-cta-card {
  background: #f7f8fc;
  border-radius: 16px;
  padding: 52px 100px;
  text-align: center;
}

.testi-cta-card h3 {
  font-family: 'EB Garamond', serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--navy);
  margin: 14px 0 16px;
}

.testi-cta-card p {
  font-size: 13.5px;
  line-height: 1.9;
  color: #555;
  margin-bottom: 28px;
}

.testi-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============================================================
   KENTWOOD ACADEMY — kontak.css
   Styles khusus halaman Kontak
   ============================================================ */

/* ============================================================
   HERO KONTAK
   ============================================================ */
.kontak-hero {
  margin-top: 70px;
  background: #e8ecf8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 120px 0 160px;
  min-height: 280px;
  overflow: hidden;
  position: relative;
}

.kontak-hero-left {
  flex: 1;
}

.kontak-hero-left h1 {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 4vw, 52px);
  color: var(--navy);
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.kontak-hero-left p {
  font-size: 15px;
  color: #5a6a90;
  line-height: 1.7;
}

.kontak-hero-right {
  position: relative;
  flex: 0 0 320px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.kontak-illustration {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.kontak-illustration svg {
  display: block;
  max-width: 300px;
}

/* ============================================================
   INTRO
   ============================================================ */
.kontak-intro {
  padding: 80px 40px 60px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.kontak-intro h2 {
  font-family: 'EB Garamond', serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--navy);
  margin: 14px 0 18px;
}

.kontak-intro p {
  font-size: 14px;
  line-height: 1.85;
  color: #555;
}

/* ============================================================
   CONTACT CARDS SECTION
   ============================================================ */
.kontak-cards-section {
  background: #eef0f8;
  padding: 20px 80px 80px;
}

.kontak-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

/* ---- Individual Card ---- */
.kontak-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 36px 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 2px 14px rgba(13, 27, 75, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  position: relative;
}

.kontak-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(13, 27, 75, 0.13);
}

/* Featured card — navy top border */
.kontak-card-featured {
  border-top: 3px solid var(--navy);
}

/* ---- Icon Circle ---- */
.kontak-icon-wrap {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  flex-shrink: 0;
}

.kontak-icon-email { background: var(--navy); }
.kontak-icon-wa    { background: #25D366; }
.kontak-icon-fb    { background: #1877F2; }

/* ---- Badge ---- */
.kontak-badge {
  display: inline-block;
  background: var(--navy);
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 3px 11px;
  border-radius: 20px;
  width: fit-content;
  margin-top: -4px;
}

/* ---- Card Title ---- */
.kontak-card-title {
  font-family: 'EB Garamond', serif;
  font-size: 26px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.2;
  margin: 0;
}

/* ---- Description ---- */
.kontak-card-desc {
  font-size: 13.5px;
  line-height: 1.8;
  color: #555;
  margin: 0;
  flex: 1;
}

/* ---- Contact Link Row ---- */
.kontak-link {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f7f8fc;
  border-radius: 10px;
  padding: 12px 16px;
  text-decoration: none;
  border: 1.5px solid #e8ecf8;
  transition: border-color 0.2s, background 0.2s;
  margin-top: auto;
}

.kontak-link:hover {
  background: #eef0f8;
  border-color: #c5cce8;
}

.kontak-link-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #7b89bf;
  text-transform: uppercase;
  display: block;
  line-height: 1.2;
}

.kontak-link-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  display: block;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kontak-link-label,
.kontak-link-value {
  flex: 1;
}

/* Stack label and value vertically */
.kontak-link {
  flex-direction: column;
  align-items: flex-start;
}

.kontak-link-arrow {
  position: absolute;
  right: 46px;
  font-size: 16px;
  color: #a0b0d0;
  align-self: flex-end;
}

/* Override arrow position inside flex column */
.kontak-link {
  position: relative;
}

/* ---- Action Button ---- */
.btn-kontak {
  display: block;
  text-align: center;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
  margin-top: 4px;
}

.btn-kontak:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.btn-kontak-email {
  background: var(--navy);
  color: #ffffff;
}

.btn-kontak-wa {
  background: #25D366;
  color: #ffffff;
}

.btn-kontak-fb {
  background: #1877F2;
  color: #ffffff;
}

/* ============================================================
   JAM OPERASIONAL
   ============================================================ */
.kontak-jam-section {
  background: #ffffff;
  padding: 0 80px 80px;
  max-width: 1100px;
  margin: 0 auto;
}

.kontak-jam-card {
  background: #f7f8fc;
  border-radius: 16px;
  padding: 52px 120px;
  text-align: center;
}

.kontak-jam-card h3 {
  font-family: 'EB Garamond', serif;
  font-size: 26px;
  font-weight: 400;
  color: var(--navy);
  margin: 14px 0 28px;
}

/* Schedule rows */
.jam-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 440px;
  margin: 0 auto 24px;
}

.jam-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: #ffffff;
  border-radius: 10px;
  border: 1.5px solid #e8ecf8;
}

.jam-row-off {
  opacity: 0.6;
}

.jam-hari {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  flex: 1;
  text-align: left;
}

.jam-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a0b0d0;
  flex-shrink: 0;
}

.jam-waktu {
  font-size: 13.5px;
  color: #555;
  text-align: right;
  font-weight: 400;
}

.jam-note {
  font-size: 12.5px;
  line-height: 1.8;
  color: #777;
  max-width: 500px;
  margin: 0 auto;
}

/* ============================================================
   KENTWOOD ACADEMY — peserta.css
   Styles khusus halaman Peserta Ujian
   ============================================================ */

/* ============================================================
   HERO PESERTA
   ============================================================ */
.peserta-hero {
  margin-top: 70px;
  background: #e8ecf8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 120px 0 160px;
  min-height: 280px;
  overflow: hidden;
  position: relative;
}

.peserta-hero-left {
  flex: 1;
}

.peserta-hero-left h1 {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 4vw, 52px);
  color: var(--navy);
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.peserta-hero-left p {
  font-size: 15px;
  color: #5a6a90;
  line-height: 1.7;
}

.peserta-hero-right {
  position: relative;
  flex: 0 0 320px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.peserta-illustration {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.peserta-illustration svg {
  display: block;
  max-width: 300px;
}

/* ============================================================
   INTRO
   ============================================================ */
.peserta-intro {
  padding: 80px 40px 50px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.peserta-intro h2 {
  font-family: 'EB Garamond', serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--navy);
  margin: 14px 0 18px;
}

.peserta-intro p {
  font-size: 14px;
  line-height: 1.85;
  color: #555;
}

/* ============================================================
   TABLE SECTION
   ============================================================ */
.peserta-table-section {
  background: #eef0f8;
  padding: 20px 80px 60px;
}

/* ---- Toolbar ---- */
.peserta-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto 20px;
  gap: 16px;
  flex-wrap: wrap;
}

.peserta-toolbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.peserta-periode-badge {
  display: inline-block;
  background: var(--navy);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  padding: 6px 18px;
  border-radius: 20px;
}

.peserta-toolbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---- Search ---- */
.peserta-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.peserta-search {
  padding: 10px 16px 10px 36px;
  border: 1.5px solid #c5cce8;
  border-radius: 30px;
  font-size: 13px;
  font-family: 'Lato', sans-serif;
  color: var(--navy);
  background: #ffffff;
  outline: none;
  width: 240px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.peserta-search:focus {
  border-color: #7b89bf;
  box-shadow: 0 0 0 3px rgba(123, 137, 191, 0.12);
}

.peserta-search::placeholder {
  color: #a0b0d0;
}

/* ---- Table Wrapper ---- */
.peserta-table-wrap {
  max-width: 1100px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(13, 27, 75, 0.08);
}

/* ---- Table ---- */
.peserta-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Lato', sans-serif;
}

/* Head */
.peserta-table thead tr {
  background: var(--navy);
}

.peserta-table thead th {
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 16px 20px;
  text-align: left;
  white-space: nowrap;
}

.peserta-table thead th.col-no {
  width: 60px;
  text-align: center;
}

.peserta-table thead th.col-nama  { width: 28%; }
.peserta-table thead th.col-alamat { width: 38%; }
.peserta-table thead th.col-ket   { width: 22%; }

/* Body rows */
.peserta-table tbody tr {
  border-bottom: 1px solid #eef0f8;
  transition: background 0.15s;
}

.peserta-table tbody tr:last-child {
  border-bottom: none;
}

.peserta-table tbody tr:nth-child(even) {
  background: #f7f8fc;
}

.peserta-table tbody tr:nth-child(odd) {
  background: #ffffff;
}

.peserta-table tbody tr:hover {
  background: #e8ecf8;
}

/* Body cells */
.peserta-table tbody td {
  padding: 14px 20px;
  font-size: 13.5px;
  color: #333;
  vertical-align: middle;
  line-height: 1.5;
}

.peserta-table tbody td.col-no {
  text-align: center;
  font-weight: 700;
  color: #7b89bf;
  font-size: 13px;
}

.peserta-table tbody td.col-nama {
  font-weight: 600;
  color: var(--navy);
}

.peserta-table tbody td.col-alamat {
  color: #555;
}

/* Keterangan badge */
.ket-badge {
  display: inline-block;
  background: #eef0f8;
  color: var(--navy);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 13px;
  border-radius: 20px;
  border: 1.5px solid #c5cce8;
  white-space: nowrap;
}

/* ---- Empty State ---- */
.peserta-empty {
  padding: 60px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.peserta-empty p {
  font-size: 14px;
  color: #a0b0d0;
}

/* ---- Count text ---- */
.peserta-count {
  max-width: 1100px;
  margin: 14px auto 0;
  font-size: 12.5px;
  color: #7b89bf;
  text-align: right;
}

.peserta-count strong {
  color: var(--navy);
}

/* ============================================================
   INFO CARD
   ============================================================ */
.peserta-info-section {
  background: #ffffff;
  padding: 0 80px 80px;
  max-width: 1100px;
  margin: 0 auto;
}

.peserta-info-card {
  background: #f7f8fc;
  border-radius: 16px;
  padding: 50px 120px;
  text-align: center;
}

.peserta-info-card h3 {
  font-family: 'EB Garamond', serif;
  font-size: 26px;
  font-weight: 400;
  color: var(--navy);
  margin: 14px 0 16px;
}

.peserta-info-card p {
  font-size: 13.5px;
  line-height: 1.9;
  color: #555;
}

.peserta-info-card a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
}

.peserta-info-card a:hover {
  color: #1a2a6c;
}

  /* ============================================================
   ANIMATIONS - Simple & Fast
   ============================================================ */

  /* Animation Base Classes - Visible by default */
  .animate-on-scroll {
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
  }

  /* Animation Types - Visible by default, no hiding */
  .animate-fade-in {
    transition: opacity 0.4s ease-out;
  }

  .animate-fade-in-up {
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
  }

  .animate-fade-in-down {
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
  }

  .animate-fade-in-left {
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
  }

  .animate-fade-in-right {
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
  }

  .animate-zoom-in {
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
  }

  /* Grid Item Initial States - Visible by default */
  .grid-section2 > div,
  .grid-section2-bottom > div,
  .grid-section3-top > div,
  .grid-section3-bottom > div,
  .sertifikat-grid > div,
  .biaya-grid > div,
  .testi-grid > div,
  .kontak-grid > div {
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
  }

  /* VMT Block - Visible by default */
  .vmt-block {
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
  }

  /* Footer - Visible by default */
  footer {
    animation: fadeInUp 0.5s ease-out;
  }

  /* CTA Section - Visible by default */
  .testi-cta-card,
  .biaya-note-card,
  .peserta-info-card,
  .kontak-jam-card {
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
  }

  /* Intro Section - Visible by default */
  .testi-intro,
  .prog-intro,
  .kontak-intro,
  .peserta-intro,
  .tentang-selayang {
    animation: fadeInUp 0.4s ease-out forwards;
  }

  /* CEFR Card - Visible by default */
  .cefr-card {
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
  }

  /* Legalitas Card - Visible by default */
  .legalitas-card {
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
  }

  /* Jam Row - Visible by default */
  .jam-row {
    transition: opacity 0.25s ease-out, transform 0.25s ease-out;
  }

  /* Table - Visible by default */
  .peserta-table-wrap {
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
  }

/* ============================================================
   GLOBAL EDUCATION — animate.css
   Animasi modern & aesthetic untuk halaman index
   SAFE: semua konten visible by default, animasi hanya enhancement
   ============================================================ */

/* ============================================================
   1. HERO — CINEMATIC ENTRANCE
   ============================================================ */

/* Hero background: slow Ken Burns zoom */
.hero-bg img {
  animation: kenBurns 20s ease-out forwards;
  transform-origin: center center;
  will-change: transform;
}

@keyframes kenBurns {
  0%   { transform: scale(1.08) translateY(0px); }
  100% { transform: scale(1.0)  translateY(0px); }
}

/* Hero overlay: fade in */
.hero-overlay {
  animation: overlayFadeIn 1.4s ease-out forwards;
}

@keyframes overlayFadeIn {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}

/* Hero scroll indicator: fade up into view */
.hero-scroll {
  animation: fadeInUp 0.9s ease-out 1.2s both;
}

/* ============================================================
   2. NAVBAR — ELEGANT ENTRANCE
   ============================================================ */

/* Logo scale in with bounce */
.nav-logo {
  animation: logoScaleIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
}

@keyframes logoScaleIn {
  from { opacity: 0; transform: scale(0.7); }
  to   { opacity: 1; transform: scale(1); }
}

/* Nav links stagger in from top */
nav .nav-left a,
nav .nav-right a {
  animation: navLinkIn 0.45s ease-out both;
}
nav .nav-left  a:nth-child(1) { animation-delay: 0.15s; }
nav .nav-left  a:nth-child(2) { animation-delay: 0.22s; }
nav .nav-left  a:nth-child(3) { animation-delay: 0.29s; }
nav .nav-left  a:nth-child(4) { animation-delay: 0.36s; }
nav .nav-right a:nth-child(1) { animation-delay: 0.15s; }
nav .nav-right a:nth-child(2) { animation-delay: 0.22s; }
nav .nav-right a:nth-child(3) { animation-delay: 0.29s; }

@keyframes navLinkIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Navbar underline hover (slide from left) */
nav a {
  position: relative;
}
nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.85);
  transition: width 0.28s ease;
}
nav a:hover { text-decoration: none; }
nav a:hover::after { width: 100%; }

/* ============================================================
   3. HERO SCROLL INDICATOR — ENHANCED BOUNCE + PULSE RING
   ============================================================ */

.hero-scroll .arrow-down {
  animation: bounceFancy 2.2s ease-in-out infinite;
}

@keyframes bounceFancy {
  0%, 100% { transform: translateY(0);    opacity: 1;   }
  50%       { transform: translateY(10px); opacity: 0.55; }
}

/* Pulsing ring behind scroll button */
.hero-scroll::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  transform: translate(-50%, -50%) scale(0.5);
  animation: pulseRing 2.8s ease-out 1.8s infinite;
  pointer-events: none;
}

@keyframes pulseRing {
  0%   { transform: translate(-50%, -50%) scale(0.5); opacity: 0.7; }
  100% { transform: translate(-50%, -50%) scale(2.5); opacity: 0;   }
}

/* ============================================================
   4. SECTION 2 — SCROLL-TRIGGERED CARD ENTRANCES
   Cards start hidden via .anim-hidden, revealed on scroll
   ============================================================ */

/* Base hidden state — applied only by JS */
.anim-hidden {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Revealed state */
.anim-hidden.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for cards in section 2 */
.anim-delay-1 { transition-delay: 0.05s; }
.anim-delay-2 { transition-delay: 0.18s; }
.anim-delay-3 { transition-delay: 0.30s; }
.anim-delay-4 { transition-delay: 0.10s; }
.anim-delay-5 { transition-delay: 0.22s; }

/* Slide from left */
.anim-from-left {
  opacity: 0;
  transform: translateX(-44px);
  transition: opacity 0.82s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.82s cubic-bezier(0.22, 1, 0.36, 1);
}
.anim-from-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Slide from right */
.anim-from-right {
  opacity: 0;
  transform: translateX(44px);
  transition: opacity 0.82s cubic-bezier(0.22, 1, 0.36, 1) 0.12s,
              transform 0.82s cubic-bezier(0.22, 1, 0.36, 1) 0.12s;
}
.anim-from-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   5. CARD HOVER EFFECTS
   ============================================================ */

/* Lift + shadow on hover */
.card-headteacher,
.card-visit,
.card-admissions,
.card-ethos {
  transition: box-shadow 0.32s ease, transform 0.32s ease;
}

.card-headteacher:hover { box-shadow: 0 22px 50px rgba(13,27,75,0.20); transform: translateY(-4px); }
.card-visit:hover       { box-shadow: 0 22px 50px rgba(13,27,75,0.28); transform: translateY(-4px); }
.card-admissions:hover  { box-shadow: 0 14px 36px rgba(13,27,75,0.13); transform: translateY(-3px); }
.card-ethos:hover       { box-shadow: 0 14px 36px rgba(13,27,75,0.11); transform: translateY(-3px); }

/* Image zoom on hover */
.card-headteacher img {
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.card-headteacher:hover img { transform: scale(1.05); }

.card-students img {
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.card-students:hover img { transform: scale(1.05); }

/* Section 3 image hover zoom */
.s3-img-left img,
.s3-img-right img {
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.s3-img-left:hover img  { transform: scale(1.04); }
.s3-img-right:hover img { transform: scale(1.04); }

/* ============================================================
   6. BUTTON INTERACTIONS
   ============================================================ */

.btn-outline-white,
.btn-outline-white-sm,
.btn-navy,
.btn-get-directions {
  transition: background 0.25s ease, color 0.25s ease,
              transform 0.22s ease, box-shadow 0.25s ease;
}

.btn-outline-white:hover,
.btn-outline-white-sm:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255,255,255,0.18);
}

.btn-navy:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(13,27,75,0.28);
}

/* ============================================================
   7. FOOTER — SLIDE UP ON ENTER
   ============================================================ */

.footer-col a {
  display: inline-block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.footer-col a:hover {
  transform: translateX(5px);
  opacity: 1;
}

/* ============================================================
   8. PARALLAX — applied by JS on scroll
   hero-bg img transform set via JS, no CSS override needed
   ============================================================ */

/* ============================================================
   9. SHARED KEYFRAMES
   ============================================================ */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
  to   { opacity: 1; }
}

/* ============================================================
   RESPONSIVE — MOBILE & TABLET
   ============================================================ */

/* ---- Hamburger Button (hidden on desktop) ---- */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
  z-index: 99998;          /* just below overlay */
  position: relative;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;  /* fix iOS tap delay */
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
  pointer-events: none;       /* spans don't block clicks */
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Overlay */
.nav-mobile-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  background: var(--navy);
  z-index: 99999;           /* highest possible — above everything */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  overflow: visible;        /* never clip */
  -webkit-overflow-scrolling: auto;
}
.nav-mobile-overlay.open {
  display: flex !important; /* force show */
}
.nav-mobile-overlay a {
  color: white;
  font-size: 20px;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-decoration: none;
  padding: 8px 24px;
  border-radius: 6px;
  transition: background 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.nav-mobile-overlay a:hover,
.nav-mobile-overlay a:active { background: rgba(255,255,255,0.1); }
.nav-mobile-close {
  position: absolute;
  top: 22px; right: 22px;
  background: none;
  border: none;
  color: white;
  font-size: 34px;
  cursor: pointer;
  line-height: 1;
  padding: 8px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* ============================================================
   TABLET  (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  /* Navbar */
  nav { padding: 14px 24px; }
  .nav-left, .nav-right { gap: 16px; }
  nav a { font-size: 12px; }
  .nav-logo-img { width: 80px; height: 80px; }

  /* Section 2 */
  #section2 { padding: 40px 32px; }
  .grid-section2 { grid-template-columns: 1fr 1fr; gap: 14px; }
  .card-headteacher { min-height: 360px; }

  /* Section 3 */
  .s3-text-right, .s3-text-left { padding: 40px 36px; }
  .s3-text-right h2, .s3-text-left h2 { font-size: 26px; }

  /* Footer */
  footer { padding: 44px 40px 28px; }
  .footer-inner { gap: 32px; }

  /* Inner pages */
  .tentang-hero, .prog-hero, .biaya-hero,
  .testi-hero, .peserta-hero, .kontak-hero {
    padding: 50px 60px 0 80px;
  }

  /* Program grid */
  .sertifikat-grid { grid-template-columns: repeat(2, 1fr); }
  .prog-sertifikat { padding: 50px 40px 60px; }

  /* Biaya grid */
  .biaya-grid { grid-template-columns: repeat(2, 1fr); }
  .biaya-section { padding: 60px 40px 50px; }

  /* Testi grid */
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-cards-section { padding: 20px 40px 60px; }
  .testi-grid .testi-card:nth-child(4),
  .testi-grid .testi-card:nth-child(5) {
    grid-column: auto;
    margin: 0;
  }

  /* Kontak grid */
  .kontak-grid { grid-template-columns: repeat(2, 1fr); }
  .kontak-cards-section { padding: 20px 40px 60px; }

  /* Peserta table */
  .peserta-table-section { padding: 20px 40px 50px; }
  .peserta-info-section { padding: 0 40px 60px; }

  .legalitas-card, .cefr-card, .biaya-note-card,
  .kontak-jam-card, .peserta-info-card { padding: 44px 60px; }
}

/* ============================================================
   MOBILE  (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {

  /* ---------- NAVBAR ---------- */
  nav {
    padding: 12px 18px;
    position: fixed;
    background: rgba(13, 27, 75, 0.97) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
  }
  .nav-left, .nav-right { display: none; }
  .nav-logo-img { width: 50px; height: 50px; }
  .nav-logo span { font-size: 10px; letter-spacing: 1px; }
  .nav-hamburger { display: flex; }

  /* ---------- HERO ---------- */
  #hero { min-height: 100svh; }
  .hero-scroll { bottom: 24px; }

  /* ---------- SECTION 2 ---------- */
  #section2 { padding: 28px 16px; }

  .grid-section2 {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 14px;
  }
  .card-headteacher {
    grid-column: 1 / 2;
    grid-row: auto;
    min-height: 300px;
  }
  .card-visit {
    grid-column: 1 / 2;
    grid-row: auto;
    padding: 26px 22px 22px;
  }
  .card-admissions-row {
    grid-column: 1 / 2;
    grid-row: auto;
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .card-map { height: 220px; min-height: 220px; }

  .grid-section2-bottom {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 14px;
  }
  .card-ethos { padding: 24px 20px; }
  .card-students { min-height: 220px; }

  /* ---------- SECTION 3 ---------- */
  .grid-section3-top,
  .grid-section3-bottom {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .s3-img-left, .s3-img-right { height: 220px; min-height: 220px; }
  .s3-img-left img, .s3-img-right img { height: 220px; object-fit: cover; }
  .s3-text-right, .s3-text-left { padding: 32px 22px; }
  .s3-text-right h2, .s3-text-left h2 { font-size: 22px; }

  /* On mobile: text first, then image (better UX) */
  .grid-section3-bottom .s3-text-left { order: 1; }
  .grid-section3-bottom .s3-img-right { order: 2; }

  /* ---------- FOOTER ---------- */
  footer { padding: 36px 20px 24px; }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footer-brand { grid-column: 1 / 3; }
  .footer-email-link span { white-space: normal; word-break: break-all; }
  .footer-bottom { justify-content: center; }

  /* ---------- NAVBAR-PAGE (inner pages) ---------- */
  .navbar-page { padding: 10px 18px !important; }
  .navbar-page .nav-left,
  .navbar-page .nav-right { display: none; }
  .navbar-page .nav-logo-img { width: 44px !important; height: 44px !important; }
  .navbar-page .nav-logo span { font-size: 9px !important; }
  .navbar-page .nav-hamburger { display: flex; }

  /* ---------- PAGE HEROES ---------- */
  .tentang-hero, .prog-hero, .biaya-hero,
  .testi-hero, .peserta-hero, .kontak-hero {
    flex-direction: column;
    padding: 28px 20px 0;
    min-height: auto;
    align-items: flex-start;
  }
  .tentang-hero-right, .prog-hero-right, .biaya-hero-right,
  .testi-hero-right, .peserta-hero-right, .kontak-hero-right {
    flex: 0 0 auto;
    width: 100%;
    justify-content: center;
    margin-top: 16px;
  }
  .tentang-illustration svg, .prog-illustration svg,
  .biaya-illustration svg, .testi-illustration svg,
  .peserta-illustration svg, .kontak-illustration svg {
    max-width: 220px;
    width: 100%;
  }
  .tentang-hero-left h1, .prog-hero-left h1, .biaya-hero-left h1,
  .testi-hero-left h1, .peserta-hero-left h1, .kontak-hero-left h1 {
    font-size: clamp(26px, 7vw, 40px);
  }

  /* Kontak hero special */
  .kontak-hero { flex-direction: column; }
  .kontak-hero-left { width: 100%; }
  .kontak-hero-right { width: 100%; display: flex; justify-content: center; }

  /* ---------- ABOUT PAGE ---------- */
  .tentang-selayang { padding: 48px 20px 36px; }
  .tentang-vmt { padding: 48px 20px 52px; }
  .vmt-block { max-width: 100%; margin-bottom: 36px; }
  .tentang-legalitas { padding: 0 20px 48px; }
  .legalitas-card { padding: 32px 22px; }

  /* ---------- PROGRAM PAGE ---------- */
  .prog-intro { padding: 48px 20px 36px; }
  .prog-sertifikat { padding: 36px 16px 48px; }
  .sertifikat-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .prog-cefr { padding: 0 16px 48px; }
  .cefr-card { padding: 28px 20px; }

  /* ---------- BIAYA PAGE ---------- */
  .biaya-section { padding: 44px 16px 36px; }
  .biaya-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .biaya-note-section { padding: 0 16px 48px; }
  .biaya-note-card { padding: 28px 20px; }

  /* ---------- TESTIMONI PAGE ---------- */
  .testi-intro { padding: 48px 20px 36px; }
  .testi-cards-section { padding: 16px 16px 48px; }
  .testi-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .testi-grid .testi-card:nth-child(4),
  .testi-grid .testi-card:nth-child(5) {
    grid-column: 1;
    margin: 0;
    width: 100%;
  }

  /* ---------- KONTAK PAGE ---------- */
  .kontak-intro { padding: 48px 20px 32px; }
  .kontak-cards-section { padding: 16px 16px 48px; }
  .kontak-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .kontak-jam-section { padding: 0 16px 48px; }
  .kontak-jam-card { padding: 28px 20px; }
  .jam-grid { max-width: 100%; }

  /* ---------- PESERTA PAGE ---------- */
  .peserta-intro { padding: 48px 20px 32px; }
  .peserta-table-section { padding: 16px 16px 48px; }
  .peserta-toolbar { flex-direction: column; align-items: stretch; gap: 10px; }
  .peserta-toolbar-right { width: 100%; }
  .peserta-search-wrap { width: 100%; }
  .peserta-search { width: 100%; }
  .peserta-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .peserta-table { min-width: 480px; }
  .peserta-info-section { padding: 0 16px 48px; }
  .peserta-info-card { padding: 28px 20px; }
  .peserta-count { text-align: center; }
}

/* ============================================================
   SMALL MOBILE  (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  nav { padding: 10px 14px; }
  .nav-logo-img { width: 42px; height: 42px; }

  #section2 { padding: 20px 12px; }
  .card-headteacher { min-height: 260px; }
  .card-headteacher-overlay h2 { font-size: 20px; }
  .card-headteacher-overlay p { font-size: 11.5px; }
  .card-visit h2 { font-size: 20px; }
  .card-ethos h2 { font-size: 22px; }

  .s3-text-right h2, .s3-text-left h2 { font-size: 19px; }
  .s3-text-right, .s3-text-left { padding: 26px 16px; }

  footer { padding: 28px 14px 20px; }
  .footer-inner { gap: 20px; }

  .tentang-hero-left h1, .prog-hero-left h1,
  .biaya-hero-left h1, .testi-hero-left h1,
  .peserta-hero-left h1, .kontak-hero-left h1 {
    font-size: clamp(22px, 8vw, 34px);
  }

  .sertifikat-grid, .biaya-grid, .testi-grid, .kontak-grid {
    grid-template-columns: 1fr;
  }
  .sert-card, .biaya-card, .testi-card, .kontak-card {
    padding: 22px 18px;
  }
  .jam-row { padding: 10px 14px; }
  .jam-hari, .jam-waktu { font-size: 12.5px; }
}

/* card-map base style */
.card-map {
  border-radius: 14px;
  overflow: hidden;
  min-height: 200px;
  grid-column: 1 / -1;
}

/* ============================================================
   GLOBAL EDUCATION — MODERN ANIMATION SYSTEM v2
   Philosophy: Purposeful, smooth, respectful of motion preferences
   Technique: CSS custom properties + IntersectionObserver via JS
   ============================================================ */

/* ---- Disable all animations for users who prefer reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   A. PAGE LOAD — HERO CINEMATIC SEQUENCE (index.html)
   ============================================================ */

/* 1. Background Ken Burns: slow scale + subtle drift */
.hero-bg img {
  animation: kenBurnsV2 22s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  transform-origin: 55% 50%;
  will-change: transform;
}
@keyframes kenBurnsV2 {
  0%   { transform: scale(1.12) translate(0px, 0px); }
  100% { transform: scale(1.0)  translate(-8px, -4px); }
}

/* 2. Overlay: split gradient reveal */
.hero-overlay {
  animation: overlayReveal 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  background: linear-gradient(
    160deg,
    rgba(13, 27, 75, 0.55) 0%,
    rgba(13, 27, 75, 0.15) 50%,
    rgba(13, 27, 75, 0.45) 100%
  );
}
@keyframes overlayReveal {
  0%   { opacity: 0; backdrop-filter: blur(0px); }
  100% { opacity: 1; backdrop-filter: blur(1px); }
}

/* 3. Hero scroll indicator: elegant fade-up */
.hero-scroll {
  animation: heroScrollIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.4s both;
}
@keyframes heroScrollIn {
  from { opacity: 0; transform: translateX(-50%) translateY(18px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* 4. Arrow bounce: soft float */
.hero-scroll .arrow-down {
  display: inline-block;
  animation: floatArrow 2.4s ease-in-out infinite;
}
@keyframes floatArrow {
  0%, 100% { transform: translateY(0);    opacity: 1;   }
  50%       { transform: translateY(9px);  opacity: 0.5; }
}

/* 5. Pulse ring around scroll indicator */
.hero-scroll::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.3);
  transform: translate(-50%, -50%) scale(0.6);
  animation: pulseExpand 3s ease-out 2s infinite;
  pointer-events: none;
}
@keyframes pulseExpand {
  0%   { transform: translate(-50%,-50%) scale(0.6); opacity: 0.8; }
  100% { transform: translate(-50%,-50%) scale(2.8); opacity: 0;   }
}

/* ============================================================
   B. NAVBAR ANIMATIONS
   ============================================================ */

/* Logo: elegant scale-in */
.nav-logo {
  animation: logoIn 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) 0.05s both;
}
@keyframes logoIn {
  from { opacity: 0; transform: scale(0.72) translateY(-6px); }
  to   { opacity: 1; transform: scale(1)    translateY(0); }
}

/* Nav links: stagger slide-down */
nav .nav-left a,
nav .nav-right a {
  animation: navIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
nav .nav-left a:nth-child(1)  { animation-delay: 0.10s; }
nav .nav-left a:nth-child(2)  { animation-delay: 0.17s; }
nav .nav-left a:nth-child(3)  { animation-delay: 0.24s; }
nav .nav-left a:nth-child(4)  { animation-delay: 0.31s; }
nav .nav-right a:nth-child(1) { animation-delay: 0.10s; }
nav .nav-right a:nth-child(2) { animation-delay: 0.17s; }
nav .nav-right a:nth-child(3) { animation-delay: 0.24s; }
@keyframes navIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Nav link underline slide effect */
nav a { position: relative; }
nav a::after {
  content: '';
  position: absolute;
  left: 50%; bottom: -3px;
  width: 0; height: 1.5px;
  background: rgba(255,255,255,0.9);
  transform: translateX(-50%);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
nav a:hover { text-decoration: none; }
nav a:hover::after { width: 100%; }

/* Navbar-page links (inner pages — dark bg, same underline) */
.navbar-page a::after { background: rgba(255,255,255,0.75); }

/* ============================================================
   C. SCROLL-REVEAL SYSTEM
   Classes applied by JS once IntersectionObserver fires.
   Default: content visible (no JS = no broken page)
   ============================================================ */

/* Base hidden states — JS adds these classes */
.rv-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.rv-left {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity 0.80s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.80s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.rv-right {
  opacity: 0;
  transform: translateX(48px);
  transition: opacity 0.80s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.80s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.rv-scale {
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.70s cubic-bezier(0.34, 1.56, 0.64, 1),
              transform 0.70s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: opacity, transform;
}
.rv-fade {
  opacity: 0;
  transition: opacity 0.80s ease;
  will-change: opacity;
}

/* Revealed state */
.rv-up.rv-show,
.rv-left.rv-show,
.rv-right.rv-show,
.rv-fade.rv-show   { opacity: 1; transform: none; }
.rv-scale.rv-show  { opacity: 1; transform: none; }

/* Stagger delays for grid children */
.rv-delay-1 { transition-delay: 0.05s; }
.rv-delay-2 { transition-delay: 0.13s; }
.rv-delay-3 { transition-delay: 0.21s; }
.rv-delay-4 { transition-delay: 0.29s; }
.rv-delay-5 { transition-delay: 0.37s; }
.rv-delay-6 { transition-delay: 0.45s; }

/* ============================================================
   D. CARD HOVER MICRO-INTERACTIONS
   ============================================================ */

/* Universal card lift */
.sert-card,
.biaya-card,
.testi-card,
.kontak-card {
  transition: transform 0.30s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.30s ease;
}
.sert-card:hover   { transform: translateY(-6px) scale(1.012); box-shadow: 0 18px 48px rgba(13,27,75,0.13); }
.biaya-card:hover  { transform: translateY(-6px) scale(1.012); box-shadow: 0 18px 48px rgba(13,27,75,0.14); }
.testi-card:hover  { transform: translateY(-6px) scale(1.012); box-shadow: 0 18px 48px rgba(13,27,75,0.13); }
.kontak-card:hover { transform: translateY(-6px) scale(1.012); box-shadow: 0 18px 48px rgba(13,27,75,0.14); }

/* Icon bounce on kontak card hover */
.kontak-card:hover .kontak-icon-wrap {
  animation: iconBounce 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes iconBounce {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.22) rotate(-6deg); }
  70%  { transform: scale(0.94) rotate(3deg); }
  100% { transform: scale(1)   rotate(0deg); }
}

/* Testi stars shimmer on hover */
.testi-card:hover .testi-stars span {
  animation: starShimmer 0.4s ease forwards;
}
.testi-card:hover .testi-stars span:nth-child(1) { animation-delay: 0.00s; }
.testi-card:hover .testi-stars span:nth-child(2) { animation-delay: 0.06s; }
.testi-card:hover .testi-stars span:nth-child(3) { animation-delay: 0.12s; }
.testi-card:hover .testi-stars span:nth-child(4) { animation-delay: 0.18s; }
.testi-card:hover .testi-stars span:nth-child(5) { animation-delay: 0.24s; }
@keyframes starShimmer {
  0%   { transform: scale(1)    rotate(0deg);  color: #f5c542; }
  50%  { transform: scale(1.35) rotate(-12deg); color: #ffd700; }
  100% { transform: scale(1)    rotate(0deg);  color: #f5c542; }
}

/* Section 2 card lifts (already existing, upgrade timing) */
.card-headteacher,
.card-visit,
.card-ethos {
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.32s ease;
}
.card-headteacher:hover { transform: translateY(-5px) scale(1.01); box-shadow: 0 24px 56px rgba(13,27,75,0.22); }
.card-visit:hover       { transform: translateY(-5px) scale(1.01); box-shadow: 0 24px 56px rgba(13,27,75,0.30); }
.card-ethos:hover       { transform: translateY(-4px);              box-shadow: 0 16px 40px rgba(13,27,75,0.12); }

/* Image zoom: smooth & controlled */
.card-headteacher img,
.card-students img,
.s3-img-left img,
.s3-img-right img {
  transition: transform 1.0s cubic-bezier(0.16, 1, 0.3, 1);
}
.card-headteacher:hover img { transform: scale(1.06); }
.card-students:hover img    { transform: scale(1.06); }
.s3-img-left:hover  img     { transform: scale(1.04); }
.s3-img-right:hover img     { transform: scale(1.04); }

/* ============================================================
   E. BUTTON INTERACTIONS
   ============================================================ */

.btn-outline-white,
.btn-outline-white-sm,
.btn-navy,
.btn-get-directions,
.btn-kontak {
  position: relative;
  overflow: hidden;
  transition: transform 0.24s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.24s ease,
              background 0.26s ease,
              color 0.26s ease;
}

/* Ripple shimmer on hover */
.btn-outline-white::before,
.btn-outline-white-sm::before,
.btn-navy::before,
.btn-kontak::before {
  content: '';
  position: absolute;
  top: 50%; left: -60%;
  width: 40%; height: 100%;
  background: rgba(255,255,255,0.18);
  transform: skewX(-20deg) translateY(-50%);
  transition: left 0.45s ease;
  pointer-events: none;
}
.btn-outline-white:hover::before,
.btn-outline-white-sm:hover::before,
.btn-navy:hover::before,
.btn-kontak:hover::before { left: 130%; }

.btn-outline-white:hover,
.btn-outline-white-sm:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 22px rgba(255,255,255,0.2);
}
.btn-navy:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 22px rgba(13,27,75,0.30);
}
.btn-kontak:hover {
  transform: translateY(-2px) scale(1.02);
  opacity: 0.92;
}

/* ============================================================
   F. SECTION 3 — SPLIT REVEAL (image + text panels)
   ============================================================ */

/* Section 3 panels get rv-left / rv-right from JS */
.s3-img-left  { overflow: hidden; }
.s3-text-right { overflow: hidden; }
.s3-text-left  { overflow: hidden; }
.s3-img-right  { overflow: hidden; }

/* ============================================================
   G. PAGE HERO ENTRANCE (inner pages)
   ============================================================ */

/* Title slides in from left */
.tentang-hero-left h1,
.prog-hero-left h1,
.biaya-hero-left h1,
.testi-hero-left h1,
.peserta-hero-left h1,
.kontak-hero-left h1 {
  animation: heroTitleIn 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}
@keyframes heroTitleIn {
  from { opacity: 0; transform: translateX(-30px) skewX(3deg); }
  to   { opacity: 1; transform: translateX(0)     skewX(0deg); }
}

/* Subtitle fades up */
.tentang-hero-left p,
.prog-hero-left p,
.biaya-hero-left p,
.testi-hero-left p,
.peserta-hero-left p,
.kontak-hero-left p {
  animation: fadeSlideUp 0.70s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

/* Illustration scales in */
.tentang-illustration,
.prog-illustration,
.biaya-illustration,
.testi-illustration,
.peserta-illustration,
.kontak-illustration {
  animation: illustrationIn 0.85s cubic-bezier(0.34, 1.20, 0.64, 1) 0.25s both;
}
@keyframes illustrationIn {
  from { opacity: 0; transform: scale(0.82) translateY(24px); }
  to   { opacity: 1; transform: scale(1)    translateY(0); }
}

/* ============================================================
   H. DECORATIVE ELEMENTS
   ============================================================ */

/* Floating deco symbols on hero pages */
.deco-circle-outline { animation: floatDeco 5.5s ease-in-out infinite; }
.deco-plus.top-right-2 { animation: floatDeco 4.8s ease-in-out 0.6s infinite; }
.deco-circle-fill { animation: floatDeco 6.2s ease-in-out 1.1s infinite; }
.deco-plus.top-right-4 { animation: floatDeco 5.0s ease-in-out 1.8s infinite; }

@keyframes floatDeco {
  0%, 100% { transform: translateY(0)   rotate(0deg);   opacity: 0.7; }
  33%       { transform: translateY(-8px) rotate(8deg);  opacity: 1;   }
  66%       { transform: translateY(4px)  rotate(-5deg); opacity: 0.8; }
}

/* Section title lines: animate width in */
.title-line {
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.section-title-group.rv-show .title-line {
  width: 40px;
}
.section-title-group .title-line {
  width: 0;
}

/* ============================================================
   I. FOOTER LINK HOVER
   ============================================================ */

.footer-col a {
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.22s ease;
}
.footer-col a:hover {
  transform: translateX(6px);
  opacity: 1;
}

.footer-socials a {
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.22s ease;
}
.footer-socials a:hover {
  transform: translateY(-4px) scale(1.12);
}

/* ============================================================
   J. SCROLL PROGRESS BAR (top of page)
   ============================================================ */

#scrollProgressBar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #7b89bf 0%, #0d1b4b 100%);
  z-index: 9999;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ============================================================
   K. SHARED KEYFRAMES (consolidated)
   ============================================================ */

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ============================================================
   L. RESPONSIVE — disable heavy animations on mobile
   ============================================================ */
@media (max-width: 768px) {
  .hero-bg img { animation: kenBurnsV2 16s cubic-bezier(0.25,0.46,0.45,0.94) forwards; }
  .rv-left  { transform: translateX(-24px); }
  .rv-right { transform: translateX(24px); }
  .rv-up    { transform: translateY(22px); }
  .rv-scale { transform: scale(0.94); }
  .tentang-hero-left h1,
  .prog-hero-left h1, .biaya-hero-left h1,
  .testi-hero-left h1, .peserta-hero-left h1,
  .kontak-hero-left h1 {
    animation: fadeSlideUp 0.6s cubic-bezier(0.16,1,0.3,1) 0.1s both;
  }
}

/* ===== HAMBURGER SHOW ON MOBILE ===== */
@media (max-width: 768px) {
  #navHamburger { display: flex !important; }
}
@media (max-width: 480px) {
  #navHamburger { display: flex !important; }
}