/* =============================================
       CSS VARIABLES
    ============================================= */
:root {
  --color-primary: #4a2080;
  --color-secondary: #6b35b8;
  --color-accent: #f9a825;
  --color-bg: #ffffff;
  --color-surface: #f5f0fc;
  --color-text: #1e0e3f;
  --color-text-muted: #6b5b8e;
  --font-heading: "Poppins", sans-serif;
  --font-body: "Inter", sans-serif;
  --gradient-primary: linear-gradient(135deg, #1e0e3f 0%, #4a2080 60%, #6b35b8 100%);
  --gradient-accent: linear-gradient(135deg, #f9a825 0%, #e8910d 100%);
  --gradient-bar: linear-gradient(90deg, #4a2080, #f9a825);
  --shadow-purple: 0 8px 32px rgba(74, 32, 128, 0.2);
  --shadow-purple-lg: 0 16px 48px rgba(74, 32, 128, 0.3);
}

/* =============================================
       RESET & BASE
    ============================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

/* =============================================
       UTILITY
    ============================================= */
.section {
  padding: 88px 0;
}
.section.bg-surface {
  background: var(--color-surface);
}
.section.bg-bg {
  background: var(--color-bg);
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-header {
  margin-bottom: 56px;
}
.section-header.centered {
  text-align: center;
}

.section-label {
  display: inline-block;
  background: rgba(74, 32, 128, 0.1);
  color: var(--color-secondary);
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  padding: 5px 16px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.section h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--color-text);
  line-height: 1.2;
}

/* =============================================
       BUTTONS
    ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--gradient-accent);
  color: #1e0e3f;
}
.btn-primary:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(249, 168, 37, 0.4);
}
.btn-primary:active {
  transform: scale(0.97);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(1.03);
  border-color: rgba(255, 255, 255, 0.8);
}
.btn-outline:active {
  transform: scale(0.97);
}

/* =============================================
       SCROLL ANIMATIONS
    ============================================= */
.animate {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.animate.visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-left {
  opacity: 0;
  transform: translateX(-40px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.animate-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.animate-right {
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.animate-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* =============================================
       NAVBAR
    ============================================= */
nav#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(30, 14, 63, 0.3);
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}
nav#navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(74, 32, 128, 0.1);
  box-shadow: 0 4px 24px rgba(74, 32, 128, 0.12);
  padding: 10px 0;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
}
.nav-school-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  transition: color 0.3s;
}
nav#navbar.scrolled .nav-school-name {
  color: var(--color-text);
}
.nav-menu {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav-menu a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}
.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 14px;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}
.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: calc(100% - 28px);
}
.nav-menu a:hover,
.nav-menu a.active {
  color: #fff;
}
nav#navbar.scrolled .nav-menu a {
  color: var(--color-text-muted);
}
nav#navbar.scrolled .nav-menu a:hover,
nav#navbar.scrolled .nav-menu a.active {
  color: var(--color-secondary);
}
nav#navbar.scrolled .nav-menu a::after {
  background: var(--color-secondary);
}
.nav-cta {
  background: var(--gradient-accent);
  color: #1e0e3f;
  padding: 9px 22px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-cta:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 16px rgba(249, 168, 37, 0.4);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
  border-radius: 2px;
}
nav#navbar.scrolled .nav-toggle span {
  background: var(--color-primary);
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =============================================
       HERO
    ============================================= */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  z-index: 0;
}

.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.hs-1 {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(249, 168, 37, 0.15);
  top: -80px;
  right: -80px;
  animation: floatY 8s ease-in-out infinite;
}
.hs-2 {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(107, 53, 184, 0.2);
  bottom: 15%;
  left: -40px;
  animation: floatY 6s ease-in-out infinite 1.5s;
}
.hs-3 {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(249, 168, 37, 0.2);
  top: 25%;
  right: 12%;
  animation: floatY 4s ease-in-out infinite 0.5s;
}
.hs-4 {
  position: absolute;
  width: 80px;
  height: 80px;
  border: 2px solid rgba(107, 53, 184, 0.3);
  top: 60%;
  left: 5%;
  animation: floatY 5s ease-in-out infinite 2s;
  transform: rotate(45deg);
}
.hs-5 {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 168, 37, 0.1) 0%, transparent 70%);
  bottom: 5%;
  right: 5%;
  animation: floatY 7s ease-in-out infinite 1s;
}
@keyframes floatY {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(8deg);
  }
}

.hero-parallax-layers {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-parallax-layer {
  position: absolute;
  transition: transform 0.1s linear;
}
.hpl-1 {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 53, 184, 0.15) 0%, transparent 70%);
  top: 20%;
  left: 10%;
}
.hpl-2 {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid rgba(249, 168, 37, 0.2);
  top: 40%;
  right: 20%;
}
.hpl-3 {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(249, 168, 37, 0.4);
  top: 30%;
  left: 40%;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 10;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(249, 168, 37, 0.15);
  border: 1px solid rgba(249, 168, 37, 0.4);
  color: var(--color-accent);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.5vw, 4.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 16px;
  animation: fadeInLeft 0.8s ease forwards;
  opacity: 0;
  animation-delay: 0.3s;
  letter-spacing: -0.01em;
}
.hero-tagline {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.7;
  animation: fadeInLeft 0.8s ease forwards;
  opacity: 0;
  animation-delay: 0.5s;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  animation: fadeInLeft 0.8s ease forwards;
  opacity: 0;
  animation-delay: 0.7s;
}
.hero-stats {
  display: flex;
  gap: 0;
  animation: fadeInLeft 0.8s ease forwards;
  opacity: 0;
  animation-delay: 0.9s;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 24px;
}
.hero-stat {
  flex: 1;
  padding: 0 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}
.hero-stat:first-child {
  padding-left: 0;
  border-left: none;
}
.hero-stat-val {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}
.hero-stat-lbl {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

.hero-slider-col {
  position: relative;
}
.hero-slider-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
  z-index: 2;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero-slide.active {
  opacity: 1;
}
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 14, 63, 0.5) 0%, transparent 60%);
}
.hero-prev,
.hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  font-size: 0.9rem;
}
.hero-prev {
  left: -20px;
}
.hero-next {
  right: -20px;
}
.hero-prev:hover,
.hero-next:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #1e0e3f;
}
.hero-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}
.hero-dot.active {
  background: var(--color-accent);
  width: 24px;
  border-radius: 4px;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 5;
  line-height: 0;
}
.hero-wave svg {
  display: block;
}

/* =============================================
       TENTANG
    ============================================= */
.tentang-grid {
  display: grid;
  grid-template-columns: 55% 1fr;
  gap: 48px;
  align-items: start;
}
.tentang-intro {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
}
.visi-misi-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.vm-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px 20px 20px 24px;
  border-left: 3px solid var(--color-accent);
  box-shadow: 0 2px 12px rgba(74, 32, 128, 0.08);
}
.vm-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.vm-card-header i {
  font-size: 1.1rem;
  color: var(--color-primary);
}
.vm-card-header span {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text);
}
.vm-card p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}
.principal-card {
  background: linear-gradient(135deg, #4a2080, #1e0e3f);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.principal-card::before {
  content: "\f10d";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 16px;
  left: 20px;
  font-size: 3rem;
  color: var(--color-accent);
  opacity: 0.2;
  line-height: 1;
}
.principal-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-accent);
  margin: 0 auto 16px;
}
.principal-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 4px;
}
.principal-title {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
}
.principal-quote {
  font-size: 0.9rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

/* =============================================
       STATISTIK
    ============================================= */
#statistik {
  background: var(--gradient-primary);
  padding: 88px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s;
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(249, 168, 37, 0.2);
}
.stat-icon {
  font-size: 2.5rem;
  color: var(--color-accent);
  margin-bottom: 12px;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 8px;
}
.accreditation-badge {
  margin-top: 48px;
  text-align: center;
}
.accred-inner {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--color-accent);
  border-radius: 16px;
  padding: 24px 48px;
  color: var(--color-accent);
  animation: glowPulse 2.5s ease-in-out infinite;
}
.accred-stars {
  display: flex;
  gap: 4px;
  font-size: 1.2rem;
}
.accred-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}
.accred-sub {
  font-size: 0.82rem;
  color: rgba(249, 168, 37, 0.7);
}
@keyframes glowPulse {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(249, 168, 37, 0);
  }
  50% {
    box-shadow: 0 0 24px rgba(249, 168, 37, 0.5);
  }
}

/* =============================================
       PROGRAM & FASILITAS
    ============================================= */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.program-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 4px 20px rgba(74, 32, 128, 0.08);
  transition: all 0.3s ease;
  cursor: default;
  transform-style: preserve-3d;
}
.program-card-top-bar {
  height: 5px;
  background: var(--gradient-bar);
  border-radius: 999px;
  margin-bottom: 20px;
}
.program-icon-wrap {
  width: 56px;
  height: 56px;
  background: rgba(74, 32, 128, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.program-icon-wrap i {
  font-size: 1.6rem;
  color: var(--color-primary);
}
.program-card h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}
.program-card p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}
.program-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(74, 32, 128, 0.18);
}
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.facility-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}
.facility-item img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.facility-item:hover img {
  transform: scale(1.08);
}
.facility-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 14, 63, 0.7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.facility-overlay span {
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
}

/* =============================================
       STRUKTUR ORGANISASI
    ============================================= */
.org-chart {
  overflow-x: auto;
}
.org-tree {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 700px;
}
.org-node-root {
  background: var(--gradient-primary);
  color: #fff;
  border-radius: 12px;
  padding: 16px 28px;
  text-align: center;
  font-family: var(--font-heading);
  box-shadow: var(--shadow-purple);
}
.org-root-name {
  font-weight: 700;
  font-size: 0.95rem;
}
.org-root-role {
  font-size: 0.78rem;
  opacity: 0.75;
}
.org-connector-v {
  width: 2px;
  height: 32px;
  background: rgba(74, 32, 128, 0.25);
  margin: 0 auto;
}
.org-branch-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
  width: 100%;
}
.org-branch-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  padding: 0 12px;
}
.org-node-branch {
  background: #fff;
  border: 2px solid rgba(74, 32, 128, 0.25);
  border-radius: 10px;
  padding: 14px 20px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(74, 32, 128, 0.08);
  width: 100%;
}
.org-node-branch .b-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-text);
}
.org-node-branch .b-role {
  font-size: 0.75rem;
  color: var(--color-secondary);
}
.org-leaf-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-top: 8px;
  padding: 0 8px;
}
.org-connector-v-sm {
  width: 2px;
  height: 20px;
  background: rgba(74, 32, 128, 0.2);
  margin: 0 auto;
}
.org-node-leaf {
  background: #fff;
  border: 1px solid rgba(74, 32, 128, 0.15);
  border-radius: 8px;
  padding: 10px 14px;
  text-align: center;
  width: 100%;
}
.org-node-leaf .l-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text);
}
.org-node-leaf .l-role {
  font-size: 0.72rem;
  color: var(--color-text-muted);
}

/* =============================================
       GURU - FLIP CARDS
    ============================================= */
.teachers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.flip-card {
  perspective: 1000px;
  height: 320px;
  cursor: pointer;
}
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
}
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}
.flip-card-front,
.flip-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.flip-card-front {
  background: #fff;
  box-shadow: 0 4px 20px rgba(74, 32, 128, 0.1);
}
.flip-card-front img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(74, 32, 128, 0.2);
  margin-bottom: 14px;
}
.flip-card-front .f-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 4px;
}
.flip-card-front .f-subject {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-style: italic;
  text-align: center;
}
.flip-card-front .f-hint {
  margin-top: 12px;
  font-size: 0.72rem;
  color: var(--color-secondary);
  opacity: 0.7;
}
.flip-card-back {
  background: var(--gradient-primary);
  transform: rotateY(180deg);
}
.flip-card-back .b-icon {
  font-size: 2rem;
  color: var(--color-accent);
  margin-bottom: 12px;
}
.flip-card-back .b-name {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  text-align: center;
  margin-bottom: 8px;
}
.flip-card-back .b-quote {
  font-size: 0.8rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  line-height: 1.5;
}
.flip-card-back .b-line {
  width: 32px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
  margin: 12px auto 0;
}

/* =============================================
       KESISWAAN TABS
    ============================================= */
.tab-nav-outer {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}
.tab-nav-wrapper {
  position: relative;
  display: inline-flex;
  background: rgba(74, 32, 128, 0.08);
  border-radius: 999px;
  padding: 4px;
}
.tab-pill-bg {
  position: absolute;
  top: 4px;
  left: 4px;
  height: calc(100% - 8px);
  background: var(--gradient-primary);
  border-radius: 999px;
  z-index: 0;
  transition:
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    width 0.3s ease;
}
.tab-btn {
  position: relative;
  z-index: 1;
  padding: 10px 24px;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: 999px;
  color: var(--color-text-muted);
  transition: color 0.2s;
  white-space: nowrap;
}
.tab-btn.active {
  color: #fff;
  font-weight: 600;
}
.tab-panel {
  display: none;
}
.tab-panel.active {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.activity-card {
  background: #fff;
  border-radius: 12px;
  border-left: 3px solid var(--color-secondary);
  padding: 20px;
  box-shadow: 0 2px 12px rgba(74, 32, 128, 0.07);
  transition: all 0.3s;
}
.activity-card:hover {
  border-left-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(74, 32, 128, 0.12);
}
.activity-icon {
  font-size: 1.5rem;
  color: var(--color-secondary);
  margin-bottom: 10px;
}
.activity-card h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text);
  margin-bottom: 6px;
}
.activity-card p {
  font-size: 0.83rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* =============================================
       PRESTASI
    ============================================= */
.achievements-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 16px;
  scrollbar-width: none;
}
.achievements-scroll::-webkit-scrollbar {
  display: none;
}
.achievement-card {
  min-width: 260px;
  border-radius: 16px;
  padding: 24px;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.achievement-card:hover {
  transform: translateY(-4px);
}
.achievement-card.level-nasional {
  background: var(--gradient-primary);
  color: #fff;
}
.achievement-card.level-provinsi {
  background: var(--color-surface);
  border: 2px solid rgba(74, 32, 128, 0.3);
}
.achievement-card.level-kota {
  background: #fff;
  border: 1px solid #e0e0e0;
}
.ach-year-badge {
  display: inline-block;
  background: var(--color-accent);
  color: #1e0e3f;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.ach-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
}
.ach-icon.level-nasional {
  color: #f9a825;
}
.ach-icon.level-provinsi {
  color: #aaa;
}
.ach-icon.level-kota {
  color: #cd7f32;
}
.ach-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 6px;
}
.achievement-card.level-nasional .ach-title {
  color: #fff;
}
.achievement-card.level-provinsi .ach-title,
.achievement-card.level-kota .ach-title {
  color: var(--color-text);
}
.ach-desc {
  font-size: 0.8rem;
}
.achievement-card.level-nasional .ach-desc {
  color: rgba(255, 255, 255, 0.7);
}
.achievement-card.level-provinsi .ach-desc,
.achievement-card.level-kota .ach-desc {
  color: var(--color-text-muted);
}

/* =============================================
       BERITA
    ============================================= */
.berita-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}
.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.news-card {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 20px rgba(74, 32, 128, 0.08);
  transition: all 0.3s;
  transform-style: preserve-3d;
  cursor: pointer;
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(74, 32, 128, 0.16);
}
.news-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.3s;
}
.news-card:hover img {
  transform: scale(1.05);
}
.news-card-body {
  padding: 20px;
}
.news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.news-category-badge {
  display: inline-block;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.news-date {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}
.news-card h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
  line-height: 1.4;
}
.news-card p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}
.news-readmore {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-secondary);
}
.berita-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.sidebar-block h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(74, 32, 128, 0.1);
}
.announcement-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(74, 32, 128, 0.08);
}
.announcement-item:last-child {
  border-bottom: none;
}
.announcement-item > i {
  font-size: 0.9rem;
  color: var(--color-secondary);
  margin-top: 3px;
}
.ann-content {
  flex: 1;
}
.ann-title {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 4px;
}
.ann-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ann-badge {
  font-size: 0.65rem;
  font-weight: 700;
  background: #e53935;
  color: #fff;
  padding: 1px 7px;
  border-radius: 999px;
  animation: blink-pulse 1.5s ease-in-out infinite;
}
.ann-date {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}
@keyframes blink-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}
.calendar-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.calendar-table th {
  background: var(--gradient-primary);
  color: #fff;
  padding: 10px 12px;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
}
.calendar-table th:first-child {
  border-radius: 8px 0 0 0;
}
.calendar-table th:last-child {
  border-radius: 0 8px 0 0;
}
.calendar-table td {
  padding: 10px 12px;
  color: var(--color-text);
}
.calendar-table tr:nth-child(even) td {
  background: var(--color-surface);
}

/* =============================================
       GALERI
    ============================================= */
.gallery-masonry {
  columns: 3;
  gap: 16px;
  column-gap: 16px;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}
.gallery-item:hover img {
  transform: scale(1.05);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 14, 63, 0.8) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.gallery-overlay span {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(14, 9, 31, 0.95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
}
#lightbox.open {
  display: flex;
}
#lightbox img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 8px;
  object-fit: contain;
}
#lightbox-caption {
  color: #fff;
  font-size: 0.9rem;
  opacity: 0.8;
}
.lb-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lb-close:hover {
  background: rgba(255, 255, 255, 0.3);
}
.lb-prev,
.lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lb-prev {
  left: 24px;
}
.lb-next {
  right: 24px;
}
.lb-prev:hover,
.lb-next:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* =============================================
       TESTIMONI
    ============================================= */
.testimonial-wrapper {
  overflow: hidden;
  position: relative;
}
.testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.testimonial-card {
  min-width: 100%;
  padding: 0 16px;
}
.testimonial-inner {
  background: rgba(74, 32, 128, 0.06);
  border: 1px solid rgba(74, 32, 128, 0.12);
  border-radius: 20px;
  padding: 40px;
}
.testi-quote-icon {
  font-size: 3rem;
  color: var(--color-accent);
  opacity: 0.6;
  margin-bottom: 16px;
  line-height: 1;
}
.testi-text {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--color-text);
  line-height: 1.75;
  margin-bottom: 24px;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testi-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(74, 32, 128, 0.3);
}
.testi-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text);
}
.testi-relation {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}
.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
.testi-prev,
.testi-next {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(74, 32, 128, 0.3);
  background: transparent;
  color: var(--color-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.testi-prev:hover,
.testi-next:hover {
  background: var(--color-secondary);
  color: #fff;
  border-color: var(--color-secondary);
}
.testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(74, 32, 128, 0.2);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}
.testi-dot.active {
  background: var(--color-accent);
  width: 24px;
  border-radius: 4px;
}

/* =============================================
       LOKASI
    ============================================= */
.lokasi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.lokasi-grid iframe {
  width: 100%;
  height: 380px;
  border-radius: 16px;
  border: none;
  display: block;
}
.info-card {
  background: var(--color-surface);
  border-radius: 16px;
  padding: 32px;
  border-top: 4px solid;
  border-image: var(--gradient-bar) 1;
  box-shadow: 0 4px 20px rgba(74, 32, 128, 0.08);
}
.info-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(74, 32, 128, 0.08);
}
.info-row:last-of-type {
  border-bottom: none;
}
.info-row > i {
  font-size: 1rem;
  color: var(--color-primary);
  margin-top: 4px;
  flex-shrink: 0;
}
.info-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-muted);
  margin-bottom: 2px;
}
.info-value {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text);
}
.hours-table {
  width: 100%;
  margin-top: 16px;
  font-size: 0.85rem;
}
.hours-table th {
  text-align: left;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--color-secondary);
  padding: 6px 0;
  border-bottom: 1px solid rgba(74, 32, 128, 0.1);
}
.hours-table td {
  padding: 8px 0;
  color: var(--color-text);
}
.hours-table td:last-child {
  text-align: right;
  color: var(--color-text-muted);
}

/* =============================================
       KONTAK
    ============================================= */
#kontak {
  background: var(--gradient-primary);
  padding: 88px 0;
}
#kontak .section-label {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
}
#kontak h2 {
  color: #fff;
}
.kontak-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.kontak-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.wa-button {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #25d366;
  color: #fff;
  padding: 18px 28px;
  border-radius: 14px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s;
  animation: waPulse 2s ease-in-out infinite;
}
.wa-button i {
  font-size: 1.5rem;
}
.wa-button:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
  animation: none;
}
@keyframes waPulse {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.5);
  }
}
.kontak-info-row {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.8);
}
.kontak-info-row i {
  font-size: 1rem;
  color: var(--color-accent);
  width: 20px;
}
.kontak-info-row span {
  font-size: 0.9rem;
}
.kontak-social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.kontak-social a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: all 0.2s;
}
.kontak-social a:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #1e0e3f;
  transform: rotate(10deg);
}
.kontak-form-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 36px;
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 6px;
  font-weight: 500;
}
.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 12px 16px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  width: 100%;
  transition: all 0.2s;
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(249, 168, 37, 0.25);
}
.form-group select option {
  background: #1e0e3f;
  color: #fff;
}
.form-group textarea {
  resize: vertical;
  min-height: 110px;
}
.btn-submit {
  width: 100%;
  background: var(--gradient-accent);
  color: #1e0e3f;
  border: none;
  padding: 14px;
  border-radius: 14px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-submit:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(249, 168, 37, 0.4);
}

/* =============================================
       FOOTER
    ============================================= */
footer {
  background: #1e0e3f;
  color: rgba(255, 255, 255, 0.6);
  padding: 0;
}
.footer-accent-line {
  height: 3px;
  background: var(--gradient-bar);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand-logo {
  width: 44px;
  height: 44px;
  background: var(--gradient-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 14px;
}
.footer-brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 6px;
}
.footer-brand-tagline {
  font-size: 0.82rem;
  line-height: 1.6;
  margin-bottom: 14px;
}
.footer-brand-addr {
  font-size: 0.82rem;
  line-height: 1.6;
}
.footer-col-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  color: #fff;
  margin-bottom: 16px;
}
.footer-links a {
  display: block;
  padding: 4px 0;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--color-accent);
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.footer-social a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  font-size: 0.9rem;
}
.footer-social a:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #1e0e3f;
  transform: rotate(10deg);
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  margin-bottom: 8px;
}
.footer-contact-item i {
  color: var(--color-accent);
  width: 16px;
}
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-social {
  display: flex;
  gap: 8px;
}
.footer-bottom-social a {
  display: inline-flex;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  transition: all 0.2s;
}
.footer-bottom-social a:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

/* =============================================
       RESPONSIVE
    ============================================= */
@media (max-width: 1023px) {
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .teachers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 767px) {
  .section {
    padding: 64px 0;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-cta {
    display: none;
  }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(30, 14, 63, 0.98);
    padding: 20px 24px;
    gap: 4px;
    display: none;
    align-items: stretch;
  }
  .nav-menu.open {
    display: flex;
  }
  .nav-menu a {
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.85) !important;
  }
  nav#navbar.scrolled .nav-menu {
    background: rgba(255, 255, 255, 0.97);
  }
  nav#navbar.scrolled .nav-menu a {
    color: var(--color-text) !important;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 100px;
    gap: 40px;
  }
  .hero-slider-col {
    order: -1;
  }
  .hero-prev {
    left: 8px;
  }
  .hero-next {
    right: 8px;
  }
  .hs-4,
  .hs-5 {
    display: none;
  }
  .tentang-grid {
    grid-template-columns: 1fr;
  }
  .programs-grid {
    grid-template-columns: 1fr;
  }
  .facilities-grid {
    grid-template-columns: 1fr;
  }
  .teachers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .flip-card {
    height: 280px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tab-panel.active {
    grid-template-columns: 1fr;
  }
  .berita-layout {
    grid-template-columns: 1fr;
  }
  .gallery-masonry {
    columns: 2;
  }
  .lokasi-grid {
    grid-template-columns: 1fr;
  }
  .kontak-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .accred-inner {
    padding: 20px 28px;
  }
  .org-branch-row {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .org-branch-col {
    width: 100%;
    max-width: 280px;
  }
}
@media (max-width: 480px) {
  .gallery-masonry {
    columns: 1;
  }
  .teachers-grid {
    grid-template-columns: 1fr;
  }
}
