/* ============================================
   MA SAMBAS PURBALINGGA - DESIGN SYSTEM
   Modern · Religius · Berprestasi
   ============================================ */

:root {
  --primary: #FF9D50;
  --primary-dark: #E8823A;
  --primary-light: #FFB97A;
  --cream: #FFF9D8;
  --cream-light: #FFFCEB;
  --cyan: #1DCED8;
  --cyan-dark: #15A9B2;
  --cyan-light: #5DE2EA;
  --green: #55E07E;
  --green-dark: #3BCB62;
  --white: #FFFFFF;
  --dark: #17212B;
  --dark-soft: #1E2A38;
  --text: #4B5563;
  --text-light: #6B7280;
  --text-muted: #9CA3AF;
  --light: #F7F8FA;
  --light-alt: #EEF1F5;
  --border: #E5E7EB;
  --border-light: #F0F2F5;

  --font-heading: 'Plus Jakarta Sans', 'Poppins', sans-serif;
  --font-body: 'Inter', 'Open Sans', sans-serif;

  --shadow-sm: 0 1px 2px rgba(23, 33, 43, 0.04);
  --shadow-md: 0 4px 16px rgba(23, 33, 43, 0.06);
  --shadow-lg: 0 12px 40px rgba(23, 33, 43, 0.08);
  --shadow-xl: 0 24px 60px rgba(23, 33, 43, 0.10);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.2s ease;

  --container-max: 1240px;
  --navbar-height: 72px;
}

/* ============================================
   RESET & BASE
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--navbar-height);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { margin-bottom: 1rem; }

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover { color: var(--primary-dark); }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol { list-style: none; }

/* ============================================
   UTILITIES
   ============================================ */

.container-custom {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section-sm { padding: 48px 0; }
.section-lg { padding: 100px 0; }

.bg-light { background-color: var(--light); }
.bg-cream { background-color: var(--cream); }
.bg-dark { background-color: var(--dark); color: var(--white); }
.bg-white { background-color: var(--white); }

.text-primary-custom { color: var(--primary) !important; }
.text-cyan-custom { color: var(--cyan) !important; }
.text-green-custom { color: var(--green) !important; }
.text-dark-custom { color: var(--dark) !important; }

/* Section Header */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-dark);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--cyan-dark);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-description {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* Decorative number */
.decor-number {
  position: absolute;
  font-family: var(--font-heading);
  font-size: 8rem;
  font-weight: 800;
  color: var(--light-alt);
  line-height: 1;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  border: 2px solid var(--primary);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary-custom:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 157, 80, 0.3);
}

.btn-outline-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: transparent;
  color: var(--dark);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-outline-custom:hover {
  border-color: var(--dark);
  color: var(--dark);
  transform: translateY(-2px);
}

.btn-cyan-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--cyan);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  border: 2px solid var(--cyan);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-cyan-custom:hover {
  background: var(--cyan-dark);
  border-color: var(--cyan-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(29, 206, 216, 0.3);
}

.btn-lg-custom {
  padding: 14px 36px;
  font-size: 1rem;
}

/* ============================================
   NAVBAR
   ============================================ */

.navbar-custom {
  background: var(--white);
  height: var(--navbar-height);
  box-shadow: var(--shadow-sm);
  z-index: 1030;
  transition: all var(--transition);
  border-bottom: 1px solid var(--border-light);
}

.navbar-custom.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar-brand-custom {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.navbar-brand-custom .brand-logo {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.navbar-brand-custom .brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.navbar-brand-custom .brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark);
}

.navbar-brand-custom .brand-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

.navbar-custom .nav-link {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
  padding: 8px 14px;
  transition: color var(--transition-fast);
  position: relative;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  color: var(--primary);
}

.navbar-custom .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.navbar-custom .dropdown-menu {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  min-width: 220px;
  animation: fadeInDown 0.2s ease;
}

.navbar-custom .dropdown-item {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.navbar-custom .dropdown-item:hover {
  background: var(--light);
  color: var(--primary);
}

.navbar-custom .dropdown-item i {
  width: 18px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.navbar-custom .dropdown-divider {
  margin: 4px 0;
  border-color: var(--border-light);
}

.btn-spmb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 22px;
  background: var(--primary);
  color: var(--white) !important;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition);
  border: none;
  white-space: nowrap;
}

.btn-spmb:hover {
  background: var(--primary-dark);
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 157, 80, 0.35);
}

/* Mobile menu toggle */
.navbar-toggler-custom {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  line-height: 1;
}

.navbar-toggler-custom:focus {
  box-shadow: 0 0 0 3px rgba(29, 206, 216, 0.15);
  border-color: var(--cyan);
}

/* Mobile nav */
@media (max-width: 991.98px) {

  .navbar-custom {
    height: auto;
    min-height: var(--navbar-height);
    padding: 0;
    background: var(--white);
  }

  .navbar-custom > .container-custom {
    min-height: var(--navbar-height);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  /* Brand */
  .navbar-brand-custom {
    flex: 0 0 auto;
  }

  .navbar-brand-custom .brand-logo {
    width: 38px;
    height: 38px;
  }

  .navbar-brand-custom .brand-name {
    font-size: 0.95rem;
  }

  .navbar-brand-custom .brand-sub {
    font-size: 0.68rem;
  }

  /* Hamburger */
  .navbar-toggler-custom {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--dark);
    box-shadow: none;
  }

  .navbar-toggler-custom:focus {
    box-shadow: 0 0 0 3px rgba(29, 206, 216, 0.12);
    border-color: var(--cyan);
  }

  .navbar-toggler-custom i {
    font-size: 1.5rem !important;
    line-height: 1;
  }

  /* Collapse panel */
  .navbar-custom .navbar-collapse {
    flex-basis: 100%;
    width: 100%;
    margin-top: 10px;
    padding: 10px 0 14px;
    border-top: 1px solid var(--border-light);
    background: var(--white);
    max-height: calc(100vh - 85px);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  /* Main menu */
  .navbar-custom .navbar-nav {
    width: 100%;
    padding: 0;
    margin: 0 !important;
    gap: 0 !important;
  }

  .navbar-custom .nav-item {
    width: 100%;
  }

  .navbar-custom .nav-link {
    width: 100%;
    min-height: 48px;
    padding: 13px 12px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-light);
    border-radius: 0;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--dark);
    background: transparent;
  }

  .navbar-custom .nav-link:hover {
    color: var(--cyan-dark);
    background: var(--light);
  }

  .navbar-custom .nav-link.active {
    color: var(--cyan-dark);
    background: rgba(29, 206, 216, 0.06);
    padding-left: 12px;
    border-radius: 0;
  }

  .navbar-custom .nav-link.active::after {
    display: none;
  }

  /* Dropdown arrow */
  .navbar-custom .dropdown-toggle::after {
    margin-left: auto;
    transition: transform 0.2s ease;
  }

  .navbar-custom .dropdown-toggle.show::after,
  .navbar-custom .dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
  }

  /* IMPORTANT:
     submenu harus tersembunyi sebelum diklik */
  .navbar-custom .dropdown-menu {
    position: static !important;
    float: none;
    width: 100%;
    min-width: 100%;
    margin: 0;
    padding: 6px 0 8px 18px;
    transform: none !important;

    border: 0;
    border-left: 3px solid var(--cyan);
    border-radius: 0;
    box-shadow: none;

    background: var(--light);

    animation: none;
  }

  /* Jangan pernah paksa display:block.
     Bootstrap akan mengontrol .show */
  .navbar-custom .dropdown-menu:not(.show) {
    display: none;
  }

  .navbar-custom .dropdown-menu.show {
    display: block;
  }

  .navbar-custom .dropdown-item {
    width: 100%;
    padding: 11px 14px;
    border: 0;
    border-bottom: 1px solid rgba(229, 231, 235, 0.7);
    border-radius: 0;

    font-size: 0.86rem;
    font-weight: 500;
    color: var(--text);

    white-space: normal;
    background: transparent;
  }

  .navbar-custom .dropdown-item:last-child {
    border-bottom: 0;
  }

  .navbar-custom .dropdown-item:hover,
  .navbar-custom .dropdown-item:focus {
    color: var(--cyan-dark);
    background: rgba(29, 206, 216, 0.06);
  }

  .navbar-custom .dropdown-item i {
    width: 20px;
    margin-right: 5px;
    color: var(--text-muted);
  }

  .navbar-custom .dropdown-divider {
    margin: 4px 14px;
    display: block;
  }

  /* SPMB button */
  .navbar-custom .btn-spmb {
    width: 100%;
    min-height: 46px;
    margin: 14px 0 0;
    padding: 11px 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: var(--radius-md);
    font-size: 0.9rem;
  }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   HERO SLIDER
   ============================================ */

.hero-slider {
  position: relative;
  height: 560px;
  overflow: hidden;
  background: var(--dark);
}

.hero-slider .carousel-inner,
.hero-slider .carousel-item {
  height: 100%;
}

.hero-slide {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(23, 33, 43, 0.85) 0%, rgba(23, 33, 43, 0.6) 100%);
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 0 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero-title .accent {
  color: var(--cyan);
}

.hero-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-actions .btn-primary-custom {
  background: var(--primary);
  border-color: var(--primary);
}

.hero-actions .btn-primary-custom:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}

.hero-actions .btn-outline-custom {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.hero-actions .btn-outline-custom:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}

/* Hero indicators */
.hero-slider .carousel-indicators {
  bottom: 32px;
  margin: 0;
  gap: 8px;
}

.hero-slider .carousel-indicators button {
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  opacity: 1;
  transition: all var(--transition);
}

.hero-slider .carousel-indicators .active {
  background: var(--cyan);
  width: 48px;
}

/* Hero scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 24px;
  right: 32px;
  z-index: 3;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-scroll-hint i {
  animation: bounceDown 2s infinite;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ============================================
   PAGE HEADER (internal pages)
   ============================================ */

.page-header {
  position: relative;
  padding: 120px 0 64px;
  background: var(--dark);
  color: var(--white);
  overflow: hidden;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}

.page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(23, 33, 43, 0.92) 0%, rgba(23, 33, 43, 0.75) 100%);
}

.page-header-content {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 12px;
}

.page-header .page-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  max-width: 580px;
}

/* Breadcrumb */
.breadcrumb-custom {
  background: transparent;
  padding: 0;
  margin-bottom: 20px;
}

.breadcrumb-custom .breadcrumb-item {
  font-size: 0.82rem;
  font-weight: 500;
}

.breadcrumb-custom .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumb-custom .breadcrumb-item a:hover {
  color: var(--cyan);
}

.breadcrumb-custom .breadcrumb-item.active {
  color: var(--white);
}

.breadcrumb-custom .breadcrumb-item + .breadcrumb-item::before {
  content: '/';
  color: rgba(255, 255, 255, 0.4);
  padding: 0 8px;
}

/* ============================================
   KEUNGGULAN MADRASAH
   ============================================ */

.excellence-section {
  position: relative;
  overflow: hidden;
}

.excellence-item {
  position: relative;
  padding: 32px 28px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: all var(--transition);
  height: 100%;
}

.excellence-item:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.excellence-number {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--light-alt);
  line-height: 1;
  transition: color var(--transition);
}

.excellence-item:hover .excellence-number {
  color: var(--light-alt);
}

.excellence-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.excellence-icon.orange {
  background: rgba(255, 157, 80, 0.1);
  color: var(--primary);
}

.excellence-icon.cyan {
  background: rgba(29, 206, 216, 0.1);
  color: var(--cyan);
}

.excellence-icon.green {
  background: rgba(85, 224, 126, 0.1);
  color: var(--green);
}

.excellence-item h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.excellence-item p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.excellence-decoration {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.excellence-item .excellence-decoration.cyan { background: var(--cyan); }
.excellence-item .excellence-decoration.green { background: var(--green); }
.excellence-item .excellence-decoration.orange { background: var(--primary); }

.excellence-item:hover .excellence-decoration {
  transform: scaleX(1);
}

/* ============================================
   SAMBUTAN KEPALA MADRASAH
   ============================================ */

.welcome-section {
  position: relative;
  overflow: hidden;
}

.welcome-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
}

.welcome-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.welcome-image-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.welcome-image-badge .name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 2px;
}

.welcome-image-badge .role {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.welcome-content .section-label {
  margin-bottom: 12px;
}

.welcome-content h2 {
  margin-bottom: 20px;
}

.welcome-content .welcome-text {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.welcome-signature {
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  margin-bottom: 24px;
}

.welcome-signature .name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--dark);
}

.welcome-signature .role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Decorative shape */
.welcome-deco {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--cream);
  z-index: 0;
}

/* ============================================
   VISI & MISI
   ============================================ */

.visi-misi-section {
  position: relative;
  overflow: hidden;
}

.visi-block {
  position: relative;
  padding: 48px 40px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-soft) 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--white);
}

.visi-block::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255, 157, 80, 0.08);
}

.visi-block::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(29, 206, 216, 0.06);
}

.visi-block .visi-label {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 20px;
}

.visi-block .visi-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
}

.visi-block .visi-text {
  position: relative;
  z-index: 2;
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--white);
}

.misi-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.misi-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.misi-item:hover {
  border-color: var(--cyan);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.misi-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--light);
  color: var(--cyan-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.misi-item p {
  margin-bottom: 0;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
}

/* ============================================
   KEPALA BIDANG SLIDER
   ============================================ */

.official-card {
  text-align: center;
  padding: 32px 24px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: all var(--transition);
  height: 100%;
}

.official-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.official-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 4px solid var(--light);
  position: relative;
}

.official-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.official-card h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.official-card .role {
  font-size: 0.85rem;
  color: var(--cyan-dark);
  font-weight: 600;
}

.official-card .bio {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.officials-carousel .carousel-inner {
  padding: 16px 0;
}

.officials-carousel .carousel-control-prev,
.officials-carousel .carousel-control-next {
  width: 44px;
  height: 44px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  opacity: 1;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.officials-carousel .carousel-control-prev {
  left: -8px;
}

.officials-carousel .carousel-control-next {
  right: -8px;
}

.officials-carousel .carousel-control-prev:hover,
.officials-carousel .carousel-control-next:hover {
  background: var(--dark);
  border-color: var(--dark);
}

.officials-carousel .carousel-control-prev-icon,
.officials-carousel .carousel-control-next-icon {
  width: 16px;
  height: 16px;
  background-image: none;
}

.officials-carousel .carousel-control-prev-icon::before {
  content: '\f060';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.85rem;
  color: var(--dark);
}

.officials-carousel .carousel-control-next-icon::before {
  content: '\f061';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.85rem;
  color: var(--dark);
}

.officials-carousel .carousel-control-prev:hover .carousel-control-prev-icon::before,
.officials-carousel .carousel-control-next:hover .carousel-control-next-icon::before {
  color: var(--white);
}

/* ============================================
   BERITA CARDS
   ============================================ */

.news-card {
  display: block;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.news-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  text-decoration: none;
  color: inherit;
}

.news-card-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--light);
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-card-image img {
  transform: scale(1.05);
}

.news-card-category {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  background: var(--white);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--cyan-dark);
  font-family: var(--font-heading);
}

.news-card-body {
  padding: 20px;
}

.news-card-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.4;
  transition: color var(--transition-fast);
}

.news-card:hover .news-card-title {
  color: var(--cyan-dark);
}

.news-card-excerpt {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 12px;
}

.news-card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cyan-dark);
  font-family: var(--font-heading);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition-fast);
}

.news-card:hover .news-card-link {
  gap: 10px;
}

/* ============================================
   PENGUMUMAN (Announcement Items)
   ============================================ */

.announcement-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: all var(--transition);
  height: 100%;
}

.announcement-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--light-alt);
  background: var(--light);
}

.announcement-date {
  flex-shrink: 0;
  width: 64px;
  text-align: center;
  padding: 12px 8px;
  background: var(--dark);
  border-radius: var(--radius-md);
  color: var(--white);
  position: relative;
}

.announcement-date .day {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}

.announcement-date .month {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
  color: var(--cyan);
}

.announcement-date .year {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}

.announcement-body {
  flex: 1;
  min-width: 0;
}

.announcement-badge {
  display: inline-block;
  padding: 3px 10px;
  background: var(--light);
  color: var(--text-light);
  font-size: 0.7rem;
  font-weight: 600;
  font-family: var(--font-heading);
  border-radius: 100px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.announcement-badge.urgent {
  background: rgba(239, 68, 68, 0.1);
  color: #EF4444;
}

.announcement-badge.info {
  background: rgba(29, 206, 216, 0.1);
  color: var(--cyan-dark);
}

.announcement-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
  line-height: 1.4;
}

.announcement-excerpt {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 10px;
}

.announcement-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cyan-dark);
  font-family: var(--font-heading);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ============================================
   GALERI
   ============================================ */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: var(--light);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(23, 33, 43, 0.8) 100%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay-content {
  color: var(--white);
}

.gallery-overlay-content .gallery-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  font-size: 1rem;
}

.gallery-overlay-content .gallery-title {
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-heading);
}

.gallery-overlay-content .gallery-cat {
  font-size: 0.75rem;
  color: var(--cyan);
  font-weight: 500;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* Gallery filter */
.gallery-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 32px;
}

.gallery-filter button {
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--white);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.gallery-filter button:hover {
  border-color: var(--cyan);
  color: var(--cyan-dark);
}

.gallery-filter button.active {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
}

/* ============================================
   COUNTER STATISTIK
   ============================================ */

.counter-section {
  position: relative;
  background: var(--dark);
  color: var(--white);
  overflow: hidden;
}

.counter-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 157, 80, 0.05);
}

.counter-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(29, 206, 216, 0.05);
}

.counter-item {
  text-align: center;
  position: relative;
  z-index: 2;
}

.counter-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw,  3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.counter-item:nth-child(1) .counter-number { color: var(--primary); }
.counter-item:nth-child(2) .counter-number { color: var(--cyan); }
.counter-item:nth-child(3) .counter-number { color: var(--green); }
.counter-item:nth-child(4) .counter-number { color: var(--white); }

.counter-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.counter-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .counter-divider { display: none; }
}

/* ============================================
   TESTIMONI
   ============================================ */

.testimonial-card {
  padding: 32px 28px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  background: var(--white);
  height: 100%;
  position: relative;
  transition: all var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.testimonial-quote-icon {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 2.5rem;
  color: var(--light-alt);
  line-height: 1;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--light);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-author-info .name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--dark);
}

.testimonial-author-info .meta {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ============================================
   HUBUNGI KAMI / KONTAK
   ============================================ */

.contact-section {
  position: relative;
}

.contact-map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  min-height: 400px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.contact-map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--light);
  color: var(--cyan-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-info-item .label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-info-item .value {
  font-size: 0.95rem;
  color: var(--dark);
  font-weight: 500;
}

.contact-social {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.contact-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--light);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.contact-social a:hover {
  background: var(--cyan);
  color: var(--white);
  transform: translateY(-2px);
}

/* Contact form */
.contact-form {
  padding: 32px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.form-label-custom {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.form-control-custom {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--text);
  transition: all var(--transition-fast);
  background: var(--light);
}

.form-control-custom:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(29, 206, 216, 0.1);
  background: var(--white);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--cyan), var(--green));
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-brand .brand-logo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.footer-brand .brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
}

.footer-brand .brand-sub {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-description {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact-item i {
  color: var(--cyan);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer h5 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
  text-decoration: none;
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-links a i {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--cyan);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-bottom {
  margin-top: 48px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0;
}

/* ============================================
   TEACHER CARDS
   ============================================ */

.teacher-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.teacher-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  text-decoration: none;
  color: inherit;
}

.teacher-card-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--light);
  position: relative;
}

.teacher-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.teacher-card:hover .teacher-card-image img {
  transform: scale(1.05);
}

.teacher-card-body {
  padding: 20px;
  text-align: center;
}

.teacher-card-body h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.teacher-card-body .subject {
  font-size: 0.82rem;
  color: var(--cyan-dark);
  font-weight: 600;
  font-family: var(--font-heading);
}

.teacher-card-body .role {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Search/filter bar */
.filter-bar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
  padding: 16px 20px;
  background: var(--light);
  border-radius: var(--radius-md);
}

.filter-bar .search-input {
  flex: 1;
  min-width: 200px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px 10px 38px;
  font-size: 0.9rem;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%239CA3AF' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/%3E%3C/svg%3E") no-repeat 12px center;
}

.filter-bar .search-input:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(29, 206, 216, 0.1);
}

.filter-bar select {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.88rem;
  background: var(--white);
  cursor: pointer;
}

.filter-bar select:focus {
  outline: none;
  border-color: var(--cyan);
}

/* ============================================
   PAGINATION
   ============================================ */

.pagination-custom {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 40px;
}

.pagination-custom a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--dark);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.pagination-custom a:hover {
  border-color: var(--cyan);
  color: var(--cyan-dark);
}

.pagination-custom a.active {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
}

/* ============================================
   FASILITAS CARDS
   ============================================ */

.facility-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  transition: all var(--transition);
  height: 100%;
}

.facility-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.facility-card-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--light);
}

.facility-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.facility-card:hover .facility-card-image img {
  transform: scale(1.05);
}

.facility-card-body {
  padding: 24px;
}

.facility-card-body h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.facility-card-body p {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 0;
}

.facility-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--light);
  color: var(--cyan-dark);
  font-size: 1.1rem;
  margin-bottom: 12px;
}

/* ============================================
   PRESTASI CARDS
   ============================================ */

.achievement-card {
  display: flex;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: all var(--transition);
  height: 100%;
}

.achievement-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--light-alt);
}

.achievement-medal {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.achievement-medal.gold {
  background: rgba(255, 215, 0, 0.1);
  color: #DAA520;
}

.achievement-medal.silver {
  background: rgba(192, 192, 192, 0.1);
  color: #A8A8A8;
}

.achievement-medal.bronze {
  background: rgba(205, 127, 50, 0.1);
  color: #CD7F32;
}

.achievement-card h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.achievement-card .achievement-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.achievement-card .achievement-desc {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* ============================================
   SPMB PAGE
   ============================================ */

.spmb-hero {
  position: relative;
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-soft) 100%);
  color: var(--white);
  overflow: hidden;
}

.spmb-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -50px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 157, 80, 0.08);
}

.spmb-hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: 10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(29, 206, 216, 0.05);
}

.spmb-hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.spmb-hero h1 {
  color: var(--white);
  margin-bottom: 20px;
}

.spmb-hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.spmb-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255, 157, 80, 0.15);
  border: 1px solid rgba(255, 157, 80, 0.3);
  border-radius: 100px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.spmb-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.spmb-step {
  display: flex;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: all var(--transition);
}

.spmb-step:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--cyan);
}

.spmb-step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--light);
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spmb-step h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.spmb-step p {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 0;
}

.spmb-requirement-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spmb-requirement-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text);
}

.spmb-requirement-list li i {
  color: var(--green);
  margin-top: 3px;
  flex-shrink: 0;
}

.spmb-schedule-table {
  width: 100%;
  border-collapse: collapse;
}

.spmb-schedule-table th,
.spmb-schedule-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
}

.spmb-schedule-table th {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--dark);
  background: var(--light);
}

.spmb-schedule-table tbody tr:hover {
  background: var(--light);
}

/* FAQ */
.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--white);
  transition: all var(--transition-fast);
}

.faq-item.active {
  box-shadow: var(--shadow-md);
  border-color: var(--cyan);
}

.faq-header {
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}

.faq-header .faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--light);
  color: var(--cyan-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: transform var(--transition);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--cyan);
  color: var(--white);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
}

.faq-item.active .faq-body {
  max-height: 300px;
}

.faq-body-inner {
  padding: 0 20px 18px;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ============================================
   BERITA DETAIL / ARTICLE
   ============================================ */

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-featured-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
  aspect-ratio: 16 / 9;
}

.article-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-content {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
}

.article-content p {
  margin-bottom: 1.2rem;
}

.article-content h2,
.article-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.article-content blockquote {
  padding: 20px 24px;
  border-left: 4px solid var(--cyan);
  background: var(--light);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--dark);
  margin: 1.5rem 0;
}

.article-share {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin: 32px 0;
}

.article-share .label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--dark);
}

.article-share a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--light);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.article-share a:hover {
  background: var(--cyan);
  color: var(--white);
}

/* Sidebar */
.sidebar-widget {
  padding: 24px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  background: var(--white);
  margin-bottom: 24px;
}

.sidebar-widget h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--light-alt);
}

.sidebar-news-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}

.sidebar-news-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-news-item img {
  width: 72px;
  height: 56px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.sidebar-news-item .title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: 4px;
  transition: color var(--transition-fast);
}

.sidebar-news-item a:hover .title {
  color: var(--cyan-dark);
}

.sidebar-news-item .date {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.sidebar-category-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sidebar-category-list li:last-child {
  border-bottom: none;
}

.sidebar-category-list a {
  font-size: 0.88rem;
  color: var(--text);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.sidebar-category-list a:hover {
  color: var(--cyan-dark);
}

.sidebar-category-list .count {
  font-size: 0.78rem;
  color: var(--text-muted);
  background: var(--light);
  padding: 2px 10px;
  border-radius: 100px;
}

/* ============================================
   STRUKTUR ORGANISASI
   ============================================ */

.org-tree {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.org-level {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.org-node {
  text-align: center;
  padding: 24px 20px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  background: var(--white);
  min-width: 200px;
  transition: all var(--transition);
}

.org-node:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--cyan);
}

.org-node.top {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

.org-node.top .org-name {
  color: var(--white);
}

.org-node.top .org-role {
  color: var(--cyan);
}

.org-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 12px;
  border: 3px solid var(--light);
}

.org-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.org-node.top .org-avatar {
  border-color: var(--cyan);
}

.org-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dark);
  margin-bottom: 4px;
}

.org-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.org-connector {
  width: 2px;
  height: 32px;
  background: var(--border);
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
  position: relative;
  padding: 64px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -40px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.cta-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: 8px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
  font-size: 1.05rem;
}

.cta-section .btn-primary-custom {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.cta-section .btn-primary-custom:hover {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

.cta-section .btn-outline-custom {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.cta-section .btn-outline-custom:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

/* ============================================
   INFO CARDS (generic)
   ============================================ */

.info-card {
  padding: 28px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: all var(--transition);
  height: 100%;
}

.info-card:hover {
  box-shadow: var(--shadow-md);
}

.info-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.info-card h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.info-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* ============================================
   ANIMATIONS
   ============================================ */

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 991.98px) {
  .section { padding: 64px 0; }
  .hero-slider { height: 480px; }
  .welcome-image-wrap { aspect-ratio: 3 / 4; max-width: 480px; margin: 0 auto 40px; }
  .cta-content { text-align: center; justify-content: center; }
}

@media (max-width: 767.98px) {
  .section { padding: 48px 0; }
  .section-header { margin-bottom: 40px; }
  .hero-slider { height: 420px; }
  .hero-title { font-size: 1.6rem; }
  .hero-description { font-size: 0.95rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary-custom,
  .hero-actions .btn-outline-custom { width: 100%; justify-content: center; }
  .visi-block { padding: 32px 24px; }
  .spmb-hero { padding: 100px 0 60px; }
  .announcement-item { flex-direction: column; gap: 12px; }
  .announcement-date { display: flex; gap: 8px; align-items: baseline; width: auto; padding: 8px 14px; }
  .announcement-date .day { font-size: 1.2rem; }
  .article-meta { flex-direction: column; align-items: flex-start; gap: 6px; }
}

@media (max-width: 575.98px) {
  .container-custom { padding: 0 16px; }
  .section { padding: 40px 0; }
  .hero-slider { height: 380px; }
  .hero-scroll-hint { display: none; }
  .navbar-brand-custom .brand-sub { display: none; }
  .footer { padding: 48px 0 0; }
}

/* ============================================
   SCROLLBAR
   ============================================ */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--light);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ============================================
   SELECTION
   ============================================ */

::selection {
  background: var(--primary);
  color: var(--white);
}
