@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:wght@600;700;800&display=swap");

:root {
  --primary: #1a56db;
  --primary-dark: #1044b5;
  --primary-light: #3b82f6;
  --secondary: #059669;
  --secondary-dark: #047857;
  --secondary-light: #10b981;
  --accent: #f59e0b;
  --accent-light: #fbbf24;
  --white: #ffffff;
  --bg: #f8faff;
  --bg-card: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.1), 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --navbar-h: 72px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.6);
}

.dark {
  --primary: #3b82f6;
  --primary-dark: #2563eb;
  --primary-light: #60a5fa;
  --secondary: #10b981;
  --secondary-dark: #059669;
  --secondary-light: #34d399;
  --accent: #fbbf24;
  --white: #1e293b;
  --bg: #0f172a;
  --bg-card: #1e293b;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: #334155;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.6);
  --glass-bg: rgba(15, 23, 42, 0.88);
  --glass-border: rgba(255, 255, 255, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Plus Jakarta Sans", sans-serif;
  background-color: var(--bg);
  color: var(--text-primary);
  transition: background-color 0.3s, color 0.3s;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--navbar-h);
  transition: var(--transition);
}
#navbar.transparent {
  background: transparent;
}
#navbar.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
}
.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  overflow: hidden; /* Tambahan: Mencegah gambar keluar batas */
  /* background: linear-gradient(135deg, var(--primary), var(--secondary)); -> Hapus baris ini jika Anda tidak ingin ada background warna di belakang logo */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Agar logo tetap proporsional dan tidak gepeng */
}

.nav-logo-text .name {
  font-family: "Playfair Display", serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}
#navbar.transparent .nav-logo-text .name {
  color: white;
}
.nav-logo-text .sub {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 500;
}
#navbar.transparent .nav-logo-text .sub {
  color: rgba(255, 255, 255, 0.7);
}

.nav-menu {
  display: none;
}
@media (min-width: 1024px) {
  .nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
  }
}

.nav-item {
  position: relative;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-primary);
  transition: var(--transition);
  white-space: nowrap;
}
#navbar.transparent .nav-link {
  color: rgba(255, 255, 255, 0.9);
}
.nav-link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--primary);
}
#navbar.transparent .nav-link:hover {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}
.nav-link svg {
  flex-shrink: 0;
}

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 230px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(-8px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
  height: 15px;
  background: transparent;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  white-space: nowrap;
}

.dropdown a:hover {
  background: rgba(26, 86, 219, 0.08);
  color: var(--primary);
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}
.dropdown a:hover {
  background: rgba(26, 86, 219, 0.08);
  color: var(--primary);
}
.dropdown a svg {
  color: var(--primary);
  flex-shrink: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-theme {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-secondary);
}
#navbar.transparent .btn-theme {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: white;
}
.btn-theme:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.btn-webmail {
  display: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: white;
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
@media (min-width: 768px) {
  .btn-webmail {
    display: block;
  }
}
.btn-webmail:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  cursor: pointer;
  transition: var(--transition);
}
#navbar.transparent .btn-hamburger {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
}
@media (min-width: 1024px) {
  .btn-hamburger {
    display: none;
  }
}
.btn-hamburger span {
  display: block;
  height: 2px;
  width: 20px;
  border-radius: 99px;
  background: var(--text-primary);
  transition: var(--transition);
}
#navbar.transparent .btn-hamburger span {
  background: white;
}

#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg-card);
  padding-top: var(--navbar-h);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}
#mobile-menu.open {
  transform: translateX(0);
}
.mobile-nav {
  padding: 16px;
}
.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  transition: var(--transition);
  cursor: pointer;
}
.mobile-nav-link:hover {
  background: rgba(26, 86, 219, 0.06);
  color: var(--primary);
}
.mobile-dropdown {
  padding-left: 16px;
  display: none;
}
.mobile-dropdown.open {
  display: block;
}
.mobile-dropdown a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-secondary);
  transition: var(--transition);
}
.mobile-dropdown a:hover {
  color: var(--primary);
}

.nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.nav-item .nav-link.active-parent {
  color: var(--primary);
}

.mobile-nav-link.active {
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.08);
  border-radius: 8px;
}

.mobile-dropdown a.active {
  color: var(--primary);
  font-weight: 600;
}

#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}
.hero-slides {
  height: 100%;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: flex;
  align-items: center;
}
.hero-slide.active {
  opacity: 1;
  z-index: 1;
}
.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 6s ease;
}
.hero-slide.active .hero-slide-bg {
  transform: scale(1);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.45) 0%,
      rgba(0, 0, 0, 0) 18%
    ),
    linear-gradient(
      to right,
      rgba(10, 22, 60, 0.88) 0%,
      rgba(10, 22, 60, 0.75) 45%,
      rgba(10, 22, 60, 0.15) 100%
    );
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 50%;           
  padding: 0 0 0 6%;  
  z-index: 10;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 99px;
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  pointer-events: auto;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  flex-shrink: 0;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%       { transform: scale(1.4); opacity: 0.5; }
}

.hero-title {
  font-size: clamp(1.6rem, 3vw, 2.75rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
  margin-bottom: 0.75rem;

}

.hero-description {
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  pointer-events: auto;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--primary, #2563eb);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 9999px;
  text-decoration: none;
  transition: background 0.2s, transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.45);
  white-space: nowrap;
}
.hero-btn:hover {
  background: var(--primary-dark, #1d4ed8);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.55);
}
.hero-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.hero-btn:hover svg {
  transform: translateX(4px);
}

.hero-slide.active .hero-badge,
.hero-slide.active .hero-title,
.hero-slide.active .hero-description,
.hero-slide.active .hero-actions {
  animation: hero-fadeup 0.65s ease forwards;
  opacity: 0;
}
.hero-slide.active .hero-badge       { animation-delay: 0.05s; }
.hero-slide.active .hero-title       { animation-delay: 0.15s; }
.hero-slide.active .hero-description { animation-delay: 0.25s; }
.hero-slide.active .hero-actions     { animation-delay: 0.35s; }

@keyframes hero-fadeup {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-controls {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}
.hero-dots {
  display: flex;
  gap: 8px;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}
.hero-dot.active {
  background: white;
  width: 24px;
  border-radius: 4px;
}

@media (max-width: 1024px) {
  .hero-content { width: 60%; }
}

@media (max-width: 768px) {
  .hero-content {
    width: 100%;
    padding: 0 6% 0;
    top: 50%;
  }
  .hero-title       { font-size: 1.5rem; }
  .hero-description { font-size: 0.875rem; }
  .hero-btn         { padding: 11px 22px; font-size: 0.8125rem; }
}
section {
  padding: 80px 0;
}
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26, 86, 219, 0.08);
  border: 1px solid rgba(26, 86, 219, 0.15);
  border-radius: 99px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
  line-height: 1.3;
}
.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}
.section-divider {
  width: 60px;
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  margin: 16px auto 0;
}

#menu-master {
  background: var(--bg);
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 640px) {
  .menu-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (min-width: 1024px) {
  .menu-grid {
    grid-template-columns: repeat(8, 1fr);
  }
}
.menu-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.menu-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: var(--transition);
}
.menu-card:hover .menu-icon {
  transform: scale(1.1);
}
.menu-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
}
.menu-card:hover .menu-name {
  color: var(--primary);
}

#sambutan {
  background: var(--bg);
}
.sambutan-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 768px) {
  .sambutan-inner {
    grid-template-columns: 1fr 1.6fr;
  }
}
.sambutan-photo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.sambutan-photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid white;
  box-shadow: var(--shadow-xl);
  position: relative;
}
.sambutan-photo-ring {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 3px dashed var(--primary);
  opacity: 0.3;
  animation: spin 20s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.sambutan-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sambutan-quote {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  text-align: center;
  max-width: 280px;
  position: relative;
  box-shadow: var(--shadow-md);
}
.sambutan-quote::before {
  content: "\201C";
  font-family: "Playfair Display", serif;
  font-size: 60px;
  color: rgba(255, 255, 255, 0.25);
  position: absolute;
  top: -10px;
  left: 12px;
  line-height: 1;
}
.sambutan-quote p {
  font-size: 14px;
  line-height: 1.7;
  font-style: italic;
}
.sambutan-quote .author {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 700;
  opacity: 0.8;
}
.sambutan-content {
}
.sambutan-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.sambutan-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.3;
}
.sambutan-text {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 15px;
  margin-bottom: 28px;
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  background: var(--secondary);
  color: white;
  font-size: 14px;
  font-weight: 700;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
.btn-secondary:hover {
  background: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.3);
}
.sambutan-signature {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
}
.sambutan-sig-name {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 15px;
}
.sambutan-sig-title {
  font-size: 13px;
  color: var(--text-muted);
}
.sambutan-sig-badge {
  background: var(--accent);
  color: #7c2d12;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
}

#berita {
  background: var(--bg-card);
}
.news-slider-wrap {
  position: relative;
  overflow: hidden;
}
.news-slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 12px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.news-slider::-webkit-scrollbar {
  display: none;
}
.news-card {
  flex: 0 0 calc(100% - 16px);
  scroll-snap-align: start;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
@media (min-width: 640px) {
  .news-card {
    flex: 0 0 calc(50% - 12px);
  }
}
@media (min-width: 1024px) {
  .news-card {
    flex: 0 0 calc(33.333% - 16px);
  }
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.news-thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.news-body {
  padding: 20px;
}
.news-cat {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.cat-berita {
  background: rgba(26, 86, 219, 0.1);
  color: var(--primary);
}
.cat-pengumuman {
  background: rgba(245, 158, 11, 0.1);
  color: #b45309;
}
.cat-pendidikan {
  background: rgba(5, 150, 105, 0.1);
  color: var(--secondary);
}
.news-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.news-excerpt {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  transition: var(--transition);
}
.btn-text:hover {
  gap: 10px;
}
.slider-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
.slider-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-secondary);
}
.slider-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.section-footer-btn {
  text-align: center;
  margin-top: 40px;
}
.btn-outline-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 10px;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  background: transparent;
  transition: var(--transition);
  cursor: pointer;
}
.btn-outline-primary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

#testimoni {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  color: white;
}
.dark #testimoni {
  background: linear-gradient(135deg, #020617 0%, #0f2447 100%);
}
#testimoni .section-title {
  color: white;
}
#testimoni .section-subtitle {
  color: rgba(255, 255, 255, 0.65);
}
#testimoni .section-badge {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
}
.testi-slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 0 16px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.testi-slider::-webkit-scrollbar {
  display: none;
}
.testi-card {
  flex: 0 0 calc(100% - 16px);
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  transition: var(--transition);
}
@media (min-width: 640px) {
  .testi-card {
    flex: 0 0 calc(50% - 12px);
  }
}
@media (min-width: 1024px) {
  .testi-card {
    flex: 0 0 calc(33.333% - 16px);
  }
}
.testi-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}
.testi-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}
.star {
  color: var(--accent);
  font-size: 16px;
}
.testi-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}
.testi-profile {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testi-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
}
.testi-name {
  font-weight: 700;
  color: white;
  font-size: 14px;
}
.testi-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

#pengumuman {
  background: var(--bg);
}
.pengumuman-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .pengumuman-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .pengumuman-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.pengumuman-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
  border-left: 4px solid transparent;
}
.pengumuman-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}
.pengumuman-card.penting {
  border-left-color: #ef4444;
}
.pengumuman-card.baru {
  border-left-color: var(--primary);
}
.pengumuman-card.info {
  border-left-color: var(--secondary);
}
.pengumuman-date {
  min-width: 52px;
  text-align: center;
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 8px;
}
.pengumuman-date .day {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.pengumuman-date .month {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
}
.pengumuman-body {
  flex: 1;
}
.badge-status {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.badge-penting {
  background: #fee2e2;
  color: #dc2626;
}
.badge-baru {
  background: rgba(26, 86, 219, 0.1);
  color: var(--primary);
}
.badge-info {
  background: rgba(5, 150, 105, 0.1);
  color: var(--secondary);
}
.pengumuman-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.5;
}
.pengumuman-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

#partnership {
  background: var(--bg-card);
}
.partner-track-wrap {
  overflow: hidden;
  position: relative;
}
.partner-track-wrap::before,
.partner-track-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
}
.partner-track-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-card), transparent);
}
.partner-track-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-card), transparent);
}
.partner-track {
  display: flex;
  gap: 32px;
  align-items: center;
  animation: marquee 25s linear infinite;
  width: max-content;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.partner-track:hover {
  animation-play-state: paused;
}

.partner-logo {
  min-height: 90px;
  width: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.partner-logo:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px) scale(1.02);
  border-color: var(--primary);
}

.partner-logo a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 100%;
  height: 100%;
}

.partner-logo img {
  height: 65px !important;
  max-height: 65px !important;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.4s ease;
}

.partner-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.partner-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-secondary);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
}

.partner-name i {
  font-size: 26px;
  color: var(--primary);
}

#lokasi {
  background: var(--bg);
}
.lokasi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) {
  .lokasi-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}
.map-container {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  height: 400px;
  border: 1px solid var(--border);
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.kontak-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.kontak-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  align-items: flex-start;
}
.kontak-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.kontak-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.kontak-value {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.6;
}
.kontak-hours {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-lg);
  padding: 20px;
  color: white;
  margin-top: 28px;
}
.kontak-hours h4 {
  font-weight: 700;
  margin-bottom: 12px;
  font-size: 14px;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.hours-row:last-child {
  border-bottom: none;
}
.hours-row .time {
  font-weight: 600;
}

#footer {
  background: #0f172a;
  color: rgba(255, 255, 255, 0.75);
}

.footer-top {
  padding: 64px 0 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.8fr 1fr 1fr;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo-name {
  font-family: "Playfair Display", serif;
  font-size: 16px;
  font-weight: 700;
  color: white;
}

.footer-logo-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-desc {
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-title {
  font-size: 14px;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.footer-contact-item i {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item span {
  font-size: 13px;
  line-height: 1.6;
}

/* Social link row */
.social-link-row:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: white !important;
  transform: translateX(4px);
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-copy a {
  color: var(--primary-light);
}

#back-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(26, 86, 219, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
  border: none;
}
#back-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#back-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.stats-bar {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.stat-item {
  text-align: center;
  color: white;
}
.stat-num {
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 13px;
  opacity: 0.8;
  font-weight: 500;
}

[data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}
[data-aos="fade-left"] {
  transform: translateX(-24px);
}
[data-aos="fade-left"].aos-animate {
  transform: translateX(0);
}
[data-aos="fade-right"] {
  transform: translateX(24px);
}
[data-aos="fade-right"].aos-animate {
  transform: translateX(0);
}
[data-aos="zoom-in"] {
  transform: scale(0.9);
}
[data-aos="zoom-in"].aos-animate {
  transform: scale(1);
}

.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

.article-body {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.065rem;
    line-height: 1.9;
    color: #374151;
}
.dark .article-body {
    color: #cbd5e1;
}

.article-body::after {
    content: "";
    display: table;
    clear: both;
}

.article-body p {
    margin-bottom: 1.4rem;
    text-align: justify;
    font-family: 'Plus Jakarta Sans', 'Georgia', sans-serif;
    font-size: 1rem;
    line-height: 1.85;
    color: #374151;
}
.dark .article-body p {
    color: #94a3b8;
}

.article-body h2 {
    font-family: 'Georgia', serif;
    font-size: 1.45rem;
    font-weight: 800;
    color: #0f172a;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    line-height: 1.35;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}
.dark .article-body h2 {
    color: #f1f5f9;
    border-bottom-color: #1e293b;
}

.article-body h3 {
    font-family: 'Georgia', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    margin-top: 2rem;
    margin-bottom: 0.6rem;
    letter-spacing: -0.015em;
}
.dark .article-body h3 {
    color: #e2e8f0;
}

.article-body ul,
.article-body ol {
    margin: 0 0 1.5rem 0;
    padding-left: 2.25rem;
    color: #475569;
}
.dark .article-body ul,
.dark .article-body ol {
    color: #94a3b8;
}
.article-body ul {
    list-style-type: disc;
}
.article-body ol {
    list-style-type: decimal;
}
.article-body li {
    padding-left: 0.35rem;
    margin-bottom: 0.45rem;
    line-height: 1.75;
    list-style-position: outside;
    font-size: 0.975rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.article-body ul ul,
.article-body ol ol,
.article-body ul ol,
.article-body ol ul {
    margin-top: 0.4rem;
    margin-bottom: 0;
    padding-left: 1.5rem;
}
.article-body ul ul { list-style-type: circle; }
.article-body ul ul ul { list-style-type: square; }

.article-body blockquote {
    position: relative;
    margin: 2.25rem 0;
    padding: 1.5rem 1.75rem 1.5rem 4rem;
    background: linear-gradient(135deg, #eff6ff 0%, #f8faff 100%);
    border: 1px solid #bfdbfe;
    border-radius: 0 1rem 1rem 0;
    border-left: 4px solid #1d4ed8;
    font-style: italic;
    font-size: 1.08rem;
    line-height: 1.8;
    color: #1e40af;
    font-family: 'Georgia', serif;
    overflow: hidden;
}
.dark .article-body blockquote {
    background: linear-gradient(135deg, #1e3a5f20 0%, #1e293b 100%);
    border-color: #1e40af;
    border-left-color: #3b82f6;
    color: #93c5fd;
}

.article-body blockquote::before {
    content: '\201C';
    position: absolute;
    left: 0.9rem;
    top: 0.2rem;
    font-size: 5rem;
    line-height: 1;
    color: #3b82f6;
    opacity: 0.25;
    font-family: 'Georgia', serif;
    font-style: normal;
    pointer-events: none;
}
.article-body blockquote p {
    margin: 0;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    text-align: left;
}

.article-body figure.image {
    display: table;
    margin: 1.75rem auto;
    clear: both;
    max-width: 100%;
}
.article-body figure.image img {
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    max-width: 100%;
    height: auto;
    display: block;
    cursor: zoom-in;
    transition: box-shadow 0.2s, transform 0.2s;
}
.dark .article-body figure.image img {
    border-color: #1e293b;
}
.article-body figure.image img:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transform: scale(1.008);
}
.article-body figure.image figcaption {
    display: table-caption;
    caption-side: bottom;
    text-align: center;
    font-size: 0.8rem;
    color: #94a3b8;
    padding: 0.4rem 0.5rem 0;
    font-style: italic;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.article-body figure.image-style-side,
.article-body figure.image-style-align-left,
.article-body .image-align-left {
    float: left;
    margin: 0.25rem 1.75rem 1rem 0 !important;
    max-width: 280px;
    width: 44%;
    display: block;
    clear: left;
}
.article-body figure.image-style-align-right,
.article-body .image-align-right {
    float: right;
    margin: 0.25rem 0 1rem 1.75rem !important;
    max-width: 280px;
    width: 44%;
    display: block;
    clear: right;
}

@media (max-width: 600px) {
    .article-body figure.image-style-side,
    .article-body figure.image-style-align-left,
    .article-body figure.image-style-align-right,
    .article-body .image-align-left,
    .article-body .image-align-right {
        float: none !important;
        margin: 1.5rem auto !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

.article-body a {
    color: #1d4ed8;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: transparent;
    transition: text-decoration-color 0.2s;
}
.article-body a:hover {
    text-decoration-color: currentColor;
}
.dark .article-body a {
    color: #60a5fa;
}

.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.75rem 0;
    font-size: 0.9rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.article-body th {
    background-color: #1e40af;
    color: #fff;
    padding: 0.7rem 1rem;
    text-align: left;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.article-body td {
    padding: 0.65rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    color: #475569;
}
.dark .article-body td { border-color: #1e293b; color: #94a3b8; }
.article-body tr:hover td {
    background-color: #f8fafc;
}
.dark .article-body tr:hover td { background-color: #1e293b40; }

.article-body code {
    background: #f1f5f9;
    color: #e11d48;
    padding: 0.15em 0.4em;
    border-radius: 4px;
    font-size: 0.88em;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
}
.dark .article-body code { background: #1e293b; color: #f472b6; }
.article-body pre {
    background: #0f172a;
    color: #e2e8f0;
    padding: 1.25rem 1.5rem;
    border-radius: 0.75rem;
    overflow-x: auto;
    margin: 1.5rem 0;
    font-size: 0.88rem;
    line-height: 1.65;
}
.article-body pre code { background: none; color: inherit; padding: 0; }

.article-body hr {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, #cbd5e1, transparent);
    margin: 2.5rem 0;
}
.dark .article-body hr {
    background: linear-gradient(to right, transparent, #334155, transparent);
}

.nav-menu .dropdown a.active {
  color: #2563eb !important;
  font-weight: 600;
  background-color: #eff6ff;
  border-radius: 6px;
}

.nav-menu .dropdown a.active i {
  color: #2563eb !important;
}

.mobile-dropdown a.active {
  color: #2563eb !important;
  font-weight: 600;
  background-color: rgba(37, 99, 235, 0.05);
  border-left: 3px solid #2563eb;
  padding-left: 13px;
}

.wa-docked-wrapper {
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  z-index: 9999;
  pointer-events: none;
}
.wa-content-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: flex-end;
}
.wa-docked {
  pointer-events: auto;
  background: #1a56db;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 -2px 16px rgba(26,86,219,.18);
  transition: background .15s, padding-bottom .15s;
}
.wa-docked:hover {
  background: #1748c8;
  padding-bottom: 4px;
}
.wa-docked-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  color: #fff;
  text-decoration: none;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: .01em;
  white-space: nowrap;
}
.wa-docked-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  flex-shrink: 0;
}
.wa-docked-label {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.wa-docked-label span:first-child {
  font-size: 10px;
  font-weight: 400;
  opacity: .75;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.wa-docked-arrow {
  margin-left: 2px;
  flex-shrink: 0;
  opacity: .6;
}