/* ==========================================================================
   Design tokens
   Navy + emas, mengikuti referensi desain profil sekolah.
   ========================================================================== */
:root {
  --font-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: var(--font-sans);

  --navy-950: #071631;
  --navy-900: #0a1f44;
  --navy-800: #0f2b5b;
  --navy-700: #163a75;

  --brand: #1a4fc4;
  --brand-600: #163fa0;
  --brand-50: #eef3fd;
  --brand-100: #dbe6fb;
  --primary: var(--brand);

  --accent: #f5b321;
  --accent-600: #e09f0b;
  --accent-50: #fff6df;

  --success: #10b981;
  --danger: #ef4444;

  --bg: #f4f7fc;
  --surface: #ffffff;
  --card: #ffffff;
  --border: #e4e9f2;
  --border-strong: #d3dbe8;

  --text: #0f1d3a;
  --text-2: #33415c;
  --muted: #5b6785;
  --muted-2: #8a94ad;
  --on-dark: rgba(255, 255, 255, 0.94);
  --on-dark-muted: rgba(255, 255, 255, 0.72);

  --shadow-sm: 0 1px 2px rgba(15, 29, 58, 0.04), 0 4px 14px rgba(15, 29, 58, 0.05);
  --shadow-md: 0 10px 28px rgba(15, 29, 58, 0.09), 0 2px 6px rgba(15, 29, 58, 0.04);
  --shadow-lg: 0 24px 56px rgba(10, 31, 68, 0.18);

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 24px;

  --ring: 0 0 0 4px rgba(26, 79, 196, 0.16);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text);
  letter-spacing: -0.01em;
}

::selection {
  background: rgba(26, 79, 196, 0.18);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--brand);
}

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

.container {
  max-width: 1200px;
}

/* ==========================================================================
   Top header
   ========================================================================== */
.top-header {
  background: var(--surface);
  padding: 18px 0;
}

.top-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.school-info {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.school-info:hover {
  color: inherit;
}

.school-logo {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.school-text {
  min-width: 0;
}

.school-name {
  font-weight: 800;
  font-size: 22px;
  line-height: 1.15;
  color: var(--navy-900);
  margin: 0 0 4px;
  overflow-wrap: anywhere;
}

.school-tagline {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 500;
  transition: border-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.contact-pill i {
  color: var(--brand);
  font-size: 13px;
}

.contact-pill:hover {
  border-color: var(--brand-100);
  box-shadow: var(--shadow-sm);
  color: var(--brand);
}

/* Contact item (dipakai di halaman lain) */
.contact-item {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--text-2);
  font-size: 13px;
}

/* ==========================================================================
   Main navigation
   ========================================================================== */
.main-navbar {
  position: sticky;
  top: 0;
  z-index: 1050;
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 6px 18px rgba(15, 29, 58, 0.04);
  backdrop-filter: blur(12px);
}

.main-navbar .navbar-nav {
  align-items: center;
  gap: 2px;
}

.main-navbar .navbar-collapse {
  flex-grow: 1;
}

.main-navbar .nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 12.5px;
  padding: 10px 12px !important;
  border-radius: 10px;
  color: var(--navy-900) !important;
  transition: background 160ms ease, color 160ms ease;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link:focus-visible,
.main-navbar .nav-link.show {
  color: var(--brand) !important;
  background: var(--brand-50);
}

.main-navbar .nav-link.active {
  color: var(--brand) !important;
}

.main-navbar .nav-link.nav-home {
  width: 44px;
  height: 40px;
  justify-content: center;
  margin-right: 10px;
  color: #fff !important;
  background: var(--navy-800);
  box-shadow: 0 6px 14px rgba(15, 43, 91, 0.25);
}

.main-navbar .nav-link.nav-home:hover,
.main-navbar .nav-link.nav-home.active {
  color: #fff !important;
  background: var(--brand);
}

/* Chevron kecil untuk menu dropdown */
.main-navbar .dropdown-toggle::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 7px;
  margin-top: -3px;
  border: solid currentColor;
  border-width: 0 1.6px 1.6px 0;
  transform: rotate(45deg);
  opacity: 0.75;
  transition: transform 160ms ease;
}

.main-navbar .dropdown-toggle.show::after {
  transform: rotate(-135deg);
  margin-top: 3px;
}

.main-navbar .dropdown-menu {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 8px;
  min-width: 220px;
  box-shadow: var(--shadow-md);
  margin-top: 10px;
}

.main-navbar .dropdown-item {
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--text-2);
  transition: background 160ms ease, color 160ms ease;
}

.main-navbar .dropdown-item:hover,
.main-navbar .dropdown-item:focus {
  background: var(--brand-50);
  color: var(--brand);
}

.nav-search-btn {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--navy-900);
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.nav-search-btn:hover {
  background: var(--brand-50);
  border-color: var(--brand-100);
  color: var(--brand);
}

.navbar-toggler {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
  border: 1px solid var(--border);
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-900);
}

.navbar-toggler:focus {
  box-shadow: var(--ring);
}

@media (min-width: 992px) {
  .main-navbar .navbar-nav {
    width: 100%;
  }

  .nav-search-btn {
    margin-left: 12px;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero-section {
  position: relative;
  overflow: hidden;
  background: var(--navy-900);
}

.hero-section .carousel,
.hero-section .carousel-inner,
.hero-section .carousel-item {
  height: 460px;
}

.hero-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center right;
  position: relative;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(7, 22, 49, 0.96) 0%, rgba(10, 31, 68, 0.88) 32%, rgba(10, 31, 68, 0.45) 62%, rgba(10, 31, 68, 0.08) 100%),
    linear-gradient(0deg, rgba(7, 22, 49, 0.35) 0%, transparent 40%);
}

.hero-content {
  max-width: 560px;
  padding: 48px 0 64px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

.hero-eyebrow::before {
  content: "";
  width: 40px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.hero-title {
  font-weight: 800;
  font-size: 58px;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  color: #fff;
}

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

.hero-subtitle {
  max-width: 460px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 28px;
}

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

.hero-actions .btn-lg {
  padding: 13px 22px;
  font-size: 14.5px;
  border-radius: 12px;
}

.hero-actions .btn-outline-light {
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.hero-actions .btn-outline-light:hover {
  background: #fff;
  color: var(--navy-900);
}

.hero-indicators-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 52px;
  z-index: 3;
}

.hero-section .carousel-indicators {
  position: static;
  justify-content: flex-end;
  margin: 0;
  gap: 8px;
}

.hero-section .carousel-indicators [data-bs-target] {
  width: 22px;
  height: 4px;
  margin: 0;
  border: 0;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.45);
  opacity: 1;
  transition: width 220ms ease, background-color 220ms ease;
}

.hero-section .carousel-indicators .active {
  width: 38px;
  background-color: var(--accent);
}

/* Quote bar */
.quote-section {
  position: relative;
  z-index: 5;
  margin-top: -26px;
}

.quote-content {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.quote-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--navy-900);
  background: var(--accent);
}

.quote-text {
  margin: 0;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.5;
}

.quote-author {
  color: var(--muted);
  white-space: nowrap;
}

/* ==========================================================================
   Main content & shared cards
   ========================================================================== */
.main-content {
  min-height: 60vh;
  padding: 32px 0 64px;
}

.main-content .container > .row {
  row-gap: 24px;
}

.articles-section,
.sidebar-card,
.principal-card,
.newsletter-section,
.ads-section,
.studentgraph-section,
.numberofstudents-section,
.contact-section,
.article-detail,
.no-gallery-content,
.no-student-content,
.no-teachers-content,
.no-staff-content,
.no-ppdb-content,
.no-news-content {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

.articles-section {
  padding: 24px;
}

.article-detail {
  padding: 24px 20px;
}

@media (min-width: 768px) {
  .article-detail {
    padding: 32px;
  }
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.section-head .section-title {
  margin-bottom: 0;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 20px;
}

.section-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 16px;
  color: #fff;
  background: var(--brand);
  box-shadow: 0 6px 14px rgba(26, 79, 196, 0.25);
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  white-space: nowrap;
}

.section-link i {
  font-size: 11px;
  transition: transform 160ms ease;
}

.section-link:hover i {
  transform: translateX(3px);
}

/* Article list (beranda & kategori berita) */
.article-item {
  display: grid;
  grid-template-columns: minmax(0, 36%) minmax(0, 1fr);
  gap: 22px;
  padding: 14px;
  margin-bottom: 18px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: box-shadow 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.article-item:last-child {
  margin-bottom: 0;
}

.article-item:hover {
  border-color: var(--brand-100);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.article-image {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 16 / 11;
  background: var(--brand-50);
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.article-item:hover .article-image img {
  transform: scale(1.04);
}

.article-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 6px 6px 6px 0;
  min-width: 0;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  font-size: 12.5px;
  color: var(--muted);
}

.meta-date i,
.meta-author i {
  margin-right: 6px;
  color: var(--muted-2);
}

.category-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  background: var(--brand-50);
}

.category-pill.tone-1 {
  color: #047857;
  background: #e7f7ef;
}

.category-pill.tone-2 {
  color: #6d28d9;
  background: #f1ebfe;
}

.category-pill.tone-3 {
  color: #b45309;
  background: var(--accent-50);
}

.article-title {
  font-weight: 800;
  font-size: 18px;
  line-height: 1.35;
  margin-bottom: 10px;
  color: var(--navy-900);
}

.article-title a:hover {
  color: var(--brand);
}

.article-excerpt {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand);
}

.read-more i {
  font-size: 11px;
  transition: transform 160ms ease;
}

.read-more:hover i {
  transform: translateX(3px);
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 44px 20px;
  color: var(--muted);
}

.empty-state-icon {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 18px;
  font-size: 26px;
  color: var(--brand);
  background: var(--brand-50);
}

.empty-state h5 {
  font-weight: 800;
  color: var(--navy-900);
}

.empty-state p {
  margin: 0;
  font-size: 14px;
}

/* ==========================================================================
   Sidebar
   ========================================================================== */
.principal-welcome {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-card {
  padding: 22px;
}

.principal-card {
  background:
    radial-gradient(420px 220px at 100% 0%, rgba(26, 79, 196, 0.07), transparent 70%),
    var(--card);
}

.principal-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
}

.principal-image {
  flex-shrink: 0;
}

.principal-image img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px var(--brand-100), var(--shadow-md);
  background: var(--brand-50);
}

.principal-info {
  min-width: 0;
}

.principal-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 4px;
}

.principal-name {
  font-weight: 800;
  font-size: 17px;
  line-height: 1.3;
  color: var(--navy-900);
  margin: 0 0 4px;
  overflow-wrap: anywhere;
}

.principal-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
}

.principal-title i {
  color: var(--muted-2);
}

.principal-message {
  color: var(--text-2);
  font-size: 13.5px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.principal-card .btn {
  padding: 9px 18px;
}

.sidebar-card-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.sidebar-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #fff;
  background: var(--brand);
}

.sidebar-card-desc {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

.newsletter-title,
.ads-title,
.studentgraph-title,
.numberofstudents-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 16.5px;
  font-weight: 800;
  color: var(--navy-900);
}

.ads-title,
.studentgraph-title,
.numberofstudents-title {
  margin-bottom: 16px;
}

.ads-title i,
.studentgraph-title i,
.numberofstudents-title i {
  color: var(--brand);
  font-size: 16px;
}

.newsletter-form .input-group {
  flex-wrap: nowrap;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: #fff;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.newsletter-form .input-group:focus-within {
  border-color: var(--brand);
  box-shadow: var(--ring);
}

.newsletter-form .input-group-text {
  border: 0;
  background: transparent;
  color: var(--muted-2);
  padding-left: 14px;
  padding-right: 4px;
}

.newsletter-form .form-control {
  border: 0;
  border-radius: 0;
  padding: 12px 10px;
  font-size: 14px;
  background: transparent;
  box-shadow: none;
}

.newsletter-form .btn {
  border-radius: 10px !important;
  margin: 4px;
  padding: 0 18px;
}

.ads-image img {
  width: 100%;
  border-radius: 12px;
}

.ads-empty,
.chart-empty {
  margin: 0;
  padding: 18px;
  border-radius: 12px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  background: var(--bg);
  border: 1px dashed var(--border-strong);
}

.gender-chart {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}

.gender-chart-canvas {
  position: relative;
  height: 170px;
}

.gender-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.gender-legend li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.gender-legend strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.gender-legend small {
  font-size: 12.5px;
  color: var(--muted);
}

.legend-dot {
  width: 12px;
  height: 12px;
  margin-top: 3px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #2563eb;
}

.legend-dot.is-female {
  background: #ec4899;
}

.chart-container {
  position: relative;
  height: 230px;
  width: 100%;
}

/* ==========================================================================
   Inner page header (banner navy di bawah navigasi)
   ========================================================================== */
.article-detail-header {
  position: relative;
  overflow: hidden;
  padding: 44px 0 40px;
  color: var(--on-dark);
  background:
    radial-gradient(520px 260px at 92% 120%, rgba(245, 179, 33, 0.18), transparent 70%),
    radial-gradient(640px 320px at 78% -40%, rgba(59, 130, 246, 0.35), transparent 70%),
    linear-gradient(110deg, var(--navy-950) 0%, var(--navy-800) 60%, var(--navy-700) 100%);
}

.article-detail-header::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 40px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.article-detail-header .container {
  position: relative;
  z-index: 1;
}

.article-title-main {
  font-weight: 800;
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 10px 0 0;
  color: #fff;
}

.article-detail-header .article-title-main::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 14px;
  border-radius: 3px;
  background: var(--accent);
}

.page-header-subtitle {
  margin: 12px 0 0;
  max-width: 640px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--on-dark-muted);
}

.breadcrumb {
  margin-bottom: 0;
  font-size: 13px;
  font-weight: 500;
}

.breadcrumb-item,
.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.68);
}

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

.breadcrumb-item.active {
  color: #fff;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.4);
}

/* Header kartu di dalam konten (visi misi, dsb.) */
.page-header {
  position: relative;
  overflow: hidden;
  padding: 26px 28px;
  border-radius: var(--r-lg);
  color: var(--on-dark);
  background:
    radial-gradient(420px 220px at 100% 0%, rgba(59, 130, 246, 0.35), transparent 70%),
    linear-gradient(110deg, var(--navy-950), var(--navy-800));
  box-shadow: var(--shadow-md);
}

.page-title {
  font-weight: 800;
  font-size: 28px;
  margin: 0 0 6px;
  color: #fff;
}

.page-subtitle {
  margin: 0;
  color: var(--on-dark-muted);
}

/* Visi & misi */
.vision-card,
.mission-card {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.vision-card .card-header,
.mission-card .card-header {
  border: 0;
  padding: 18px 22px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.vision-mission-section .section-title {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--navy-900) !important;
}

.vision-mission-section .section-title i {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 4px !important;
  border-radius: 10px;
  font-size: 15px;
  color: #fff;
  background: var(--brand);
}

.mission-card .section-title i {
  color: var(--navy-900);
  background: var(--accent);
}

.vision-card .card-body,
.mission-card .card-body {
  padding: 22px;
}

.vision-content,
.mission-content {
  color: var(--text-2);
  line-height: 1.85;
  font-size: 15px;
}

.vision-content {
  padding: 20px 22px;
  border-radius: var(--r-md);
  border-left: 4px solid var(--brand);
  background: var(--brand-50);
  font-weight: 500;
}

.mission-content ol,
.mission-content ul {
  padding-left: 1.2rem;
  margin-bottom: 0;
}

.mission-content li {
  margin-bottom: 8px;
}

.vision-mission-divider {
  display: none;
}

.contact-section {
  padding: 28px;
}

.contact-section .section-title {
  margin-bottom: 18px;
}

.form-label {
  color: rgba(15, 29, 58, 0.78);
  font-weight: 700;
}

.form-control,
.form-select {
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  padding: 12px 14px;
  font-size: 14.5px;
  color: var(--text);
  background-color: #fff;
  transition: box-shadow 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--brand);
  box-shadow: var(--ring);
}

.btn {
  border-radius: 10px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.btn:focus {
  box-shadow: var(--ring);
}

.btn:focus-visible {
  box-shadow: var(--ring);
}

.btn-primary,
.btn-primary:disabled {
  border: 0;
  color: #fff;
  background: var(--brand);
  box-shadow: 0 6px 16px rgba(26, 79, 196, 0.22);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  color: #fff;
  background: var(--brand-600) !important;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(26, 79, 196, 0.28);
}

.btn-accent {
  border: 0;
  color: var(--navy-900);
  background: var(--accent);
  box-shadow: 0 8px 20px rgba(245, 179, 33, 0.3);
}

.btn-accent:hover,
.btn-accent:focus {
  color: var(--navy-900);
  background: var(--accent-600);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline-primary {
  border-color: rgba(26, 79, 196, 0.38);
  color: rgba(26, 79, 196, 0.92);
}

.btn-outline-primary:hover {
  background: rgba(26, 79, 196, 0.08);
  border-color: rgba(26, 79, 196, 0.5);
  color: rgba(26, 79, 196, 0.98);
  transform: translateY(-1px);
}

.btn-outline-success {
  border-color: rgba(16, 185, 129, 0.38);
  color: rgba(16, 185, 129, 0.92);
}

.btn-outline-success:hover {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.5);
  color: rgba(16, 185, 129, 0.98);
  transform: translateY(-1px);
}

.btn-outline-warning {
  border-color: rgba(245, 158, 11, 0.45);
  color: rgba(161, 98, 7, 0.92);
}

.btn-outline-warning:hover {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.58);
  color: rgba(146, 64, 14, 0.98);
  transform: translateY(-1px);
}

.btn-outline-danger {
  border-color: rgba(239, 68, 68, 0.42);
  color: rgba(239, 68, 68, 0.92);
}

.btn-outline-danger:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.56);
  color: rgba(239, 68, 68, 0.98);
  transform: translateY(-1px);
}

.badge {
  border-radius: 999px;
  padding: 7px 10px;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.alert {
  border-radius: var(--r-lg);
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: var(--shadow-sm);
}

.alert-danger {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.22);
  color: rgba(127, 29, 29, 0.98);
}

.alert-success {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.22);
  color: rgba(6, 95, 70, 0.98);
}

.alert-warning {
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.26);
  color: rgba(120, 53, 15, 0.98);
}

.btn-outline-secondary {
  border-color: rgba(15, 23, 42, 0.22);
  color: rgba(15, 29, 58, 0.78);
}

.btn-outline-secondary:hover {
  background: rgba(15, 23, 42, 0.06);
  border-color: rgba(26, 79, 196, 0.22);
  color: rgba(15, 29, 58, 0.9);
}

.btn-warning {
  border: 0;
  background: var(--accent);
  color: var(--navy-900);
}

.btn-warning:hover {
  background: var(--accent-600);
  color: var(--navy-900);
}

.text-primary {
  color: var(--brand) !important;
}

.bg-primary {
  background-color: var(--brand) !important;
}

.border-primary {
  border-color: rgba(26, 79, 196, 0.55) !important;
}

.pagination-wrapper {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--r-lg);
  padding: 22px;
}

.pagination .page-link {
  border-radius: 12px !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  color: rgba(15, 29, 58, 0.78) !important;
  padding: 10px 14px !important;
  margin: 0 3px !important;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.pagination .page-link:hover {
  background: rgba(26, 79, 196, 0.08) !important;
  border-color: rgba(26, 79, 196, 0.22) !important;
  transform: translateY(-1px);
}

.pagination .page-item.active .page-link {
  background: linear-gradient(135deg, rgba(26, 79, 196, 0.98), rgba(22, 63, 160, 0.98)) !important;
  border-color: rgba(26, 79, 196, 0.2) !important;
  box-shadow: 0 14px 30px rgba(26, 79, 196, 0.22) !important;
  color: white !important;
}

.search-box {
  background: rgba(255, 255, 255, 0.78);
  border-radius: var(--r-lg);
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.search-box .input-group {
  border: 0;
}

.search-box .form-control {
  border: 0;
  border-radius: 0;
  padding: 14px 16px;
  background: transparent;
}

.search-box .btn {
  border-radius: 0;
  padding: 14px 18px;
}

.teachers-content,
.staff-content,
.students-content {
  padding: 20px 0;
}

.teacher-card,
.staff-card,
.students-card,
.table-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--r-lg);
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.teacher-card:hover,
.staff-card:hover,
.table-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(26, 79, 196, 0.22);
}

.teacher-image,
.staff-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.teacher-image img,
.staff-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.teacher-card:hover .teacher-image img,
.staff-card:hover .staff-image img {
  transform: scale(1.06);
}

.teacher-overlay,
.staff-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 79, 196, 0.68), rgba(59, 130, 246, 0.5));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 200ms ease;
}

.teacher-card:hover .teacher-overlay,
.staff-card:hover .staff-overlay {
  opacity: 1;
}

.teacher-overlay-content i,
.staff-overlay-content i {
  font-size: 44px;
  color: rgba(255, 255, 255, 0.95);
}

.teacher-info,
.staff-info {
  padding: 20px 18px;
  text-align: center;
}

.teacher-name,
.staff-name {
  font-family: var(--font-display);
  font-weight: 800;
  margin-bottom: 6px;
  color: rgba(15, 29, 58, 0.92);
}

.teacher-position,
.staff-position {
  color: var(--muted);
  margin-bottom: 10px;
  font-weight: 650;
}

.nip-value,
.no-value {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  background: rgba(15, 23, 42, 0.05);
  padding: 3px 8px;
  border-radius: 10px;
}

.students-card {
  padding: 10px;
}

.student-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 16px;
}

.table-card {
  padding: 18px;
}

.table-header h4 {
  font-family: var(--font-display);
  font-weight: 820;
  margin: 0 0 12px;
}

.table {
  margin-bottom: 0;
}

.table thead th {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(15, 29, 58, 0.72);
  border-bottom: 1px solid rgba(15, 23, 42, 0.12);
}

.table tbody td {
  vertical-align: middle;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
  border-radius: 14px !important;
  border: 1px solid rgba(15, 23, 42, 0.14) !important;
  padding: 10px 12px !important;
  background: rgba(255, 255, 255, 0.84) !important;
  box-shadow: none !important;
}

.dataTables_wrapper .dataTables_filter input:focus,
.dataTables_wrapper .dataTables_length select:focus {
  border-color: rgba(26, 79, 196, 0.4) !important;
  box-shadow: var(--ring) !important;
}

.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_length label,
.dataTables_wrapper .dataTables_filter label {
  color: rgba(15, 29, 58, 0.68) !important;
  font-weight: 700;
}

.wizard-container input::placeholder,
.wizard-container textarea::placeholder {
  text-transform: none !important;
}

.wizard-container input[type="number"],
.wizard-container input[type="date"],
.wizard-container input[type="file"] {
  text-transform: none !important;
}

.form-control.is-invalid,
.form-select.is-invalid {
  border-color: rgba(239, 68, 68, 0.8) !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23ef4444'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23ef4444' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
  padding-right: calc(1.5em + 0.75rem);
}

.form-control.is-invalid:focus,
.form-select.is-invalid:focus {
  border-color: rgba(239, 68, 68, 0.9) !important;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.16) !important;
}

.wizard-container {
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--r-lg);
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: var(--shadow-sm);
  padding: 22px;
  margin-bottom: 24px;
}

.wizard-progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: 26px;
  position: relative;
  flex-wrap: wrap;
  gap: 10px;
}

.wizard-progress::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(15, 23, 42, 0.1);
  z-index: 0;
}

.wizard-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 110px;
}

.wizard-step .step-number {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: rgba(15, 29, 58, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  margin-bottom: 8px;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.wizard-step.active .step-number {
  background: linear-gradient(135deg, rgba(26, 79, 196, 0.98), rgba(22, 63, 160, 0.98));
  color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 5px rgba(26, 79, 196, 0.14);
}

.wizard-step.completed .step-number {
  background: rgba(16, 185, 129, 0.92);
  color: rgba(255, 255, 255, 0.95);
}

.wizard-step .step-label {
  font-size: 12px;
  font-weight: 700;
  color: rgba(15, 29, 58, 0.58);
  text-align: center;
  line-height: 1.3;
}

.wizard-step.active .step-label {
  color: rgba(26, 79, 196, 0.92);
}

.wizard-content {
  display: none;
}

.wizard-content.active {
  display: block;
  animation: ssFadeIn 220ms ease;
}

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

.form-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--r-lg);
  padding: 18px;
  margin-bottom: 16px;
}

.form-card-title {
  font-family: var(--font-display);
  font-weight: 820;
  color: rgba(15, 29, 58, 0.92);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-card-title i {
  color: rgba(26, 79, 196, 0.92);
}

.wizard-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  gap: 12px;
}

.wizard-buttons .btn {
  padding: 12px 18px;
}

@media (max-width: 768px) {
  .wizard-step {
    flex: 0 0 calc(50% - 6px);
  }

  .wizard-progress::before {
    display: none;
  }

  .wizard-buttons {
    flex-direction: column;
  }

  .wizard-buttons .btn {
    width: 100%;
  }
}

.ppdb-success .success-card {
  padding: 38px 26px;
  text-align: center;
}

.ppdb-success .success-icon {
  font-size: 72px;
  color: rgba(16, 185, 129, 0.92);
  margin-bottom: 14px;
  animation: ppdbScaleIn 420ms ease;
}

@keyframes ppdbScaleIn {
  from {
    transform: scale(0.92);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.ppdb-success .success-title {
  font-family: var(--font-display);
  font-weight: 860;
  margin-bottom: 10px;
}

.ppdb-success .success-message {
  color: rgba(15, 29, 58, 0.72);
  line-height: 1.7;
  margin-bottom: 24px;
}

.ppdb-success .registration-number-box {
  border-radius: var(--r-lg);
  padding: 22px;
  margin: 22px 0;
  color: rgba(255, 255, 255, 0.92);
  background:
    radial-gradient(900px 520px at 12% 10%, rgba(26, 79, 196, 0.32), transparent 60%),
    radial-gradient(900px 520px at 86% 30%, rgba(59, 130, 246, 0.2), transparent 62%),
    linear-gradient(180deg, rgba(10, 31, 68, 0.92), rgba(10, 31, 68, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-sm);
}

.ppdb-success .reg-number-label {
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.74);
  margin-bottom: 10px;
}

.ppdb-success .reg-number {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0.12em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  margin-bottom: 10px;
}

.ppdb-success .reg-number-note {
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
}

.ppdb-success .account-credential-box {
  border-radius: var(--r-lg);
  padding: 22px;
  color: rgba(255, 255, 255, 0.92);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.85), rgba(59, 130, 246, 0.55));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 42px rgba(10, 31, 68, 0.18);
}

.ppdb-success .credential-title {
  font-family: var(--font-display);
  font-weight: 850;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.ppdb-success .credential-item {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 14px;
  backdrop-filter: blur(10px);
}

.ppdb-success .credential-label {
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.ppdb-success .credential-value {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.12em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  user-select: all;
}

.ppdb-password-input {
  width: 140px;
  font-size: 24px;
  letter-spacing: 0.14em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  outline: none;
  background: transparent;
  cursor: default;
  margin: 0;
  padding: 0;
}

.ppdb-password-toggle {
  outline: none !important;
  box-shadow: none !important;
}

.ppdb-password-toggle #toggle-icon {
  font-size: 18px;
  opacity: 0.86;
  transition: opacity 160ms ease;
}

.ppdb-success .payment-instruction-card {
  padding: 22px;
  text-align: center;
}

.ppdb-success .instruction-title {
  font-family: var(--font-display);
  font-weight: 860;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.ppdb-success .amount-display {
  background: rgba(26, 79, 196, 0.06);
  border: 1px dashed rgba(26, 79, 196, 0.35);
  padding: 16px 18px;
  border-radius: 16px;
  display: inline-block;
}

.ppdb-success .amount-value {
  font-size: 30px;
  font-weight: 900;
  color: rgba(26, 79, 196, 0.92);
}

.ppdb-success .uploaded-proof-preview img {
  max-height: 300px;
}

.ppdb-success .bank-card {
  border-radius: var(--r-lg);
  padding: 18px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
}

.ppdb-success .bank-name-badge {
  background: linear-gradient(135deg, rgba(26, 79, 196, 0.98), rgba(22, 63, 160, 0.98));
  color: rgba(255, 255, 255, 0.95);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ppdb-success .bank-account-label {
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(15, 29, 58, 0.58);
  margin-bottom: 6px;
}

.ppdb-success .bank-account-number {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: rgba(15, 29, 58, 0.92);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ppdb-success .bank-account-number-compact {
  font-size: 22px;
}

.ppdb-success .copy-button {
  border: 0;
  background: transparent;
  color: rgba(26, 79, 196, 0.92);
  cursor: pointer;
  transition: transform 160ms ease;
}

.ppdb-success .copy-button:hover {
  transform: scale(1.12);
}

.ppdb-success .file-upload-wrapper {
  border: 2px dashed rgba(15, 23, 42, 0.16) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  border-radius: var(--r-lg);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.ppdb-success .file-upload-wrapper:hover {
  border-color: rgba(26, 79, 196, 0.32) !important;
  background: rgba(26, 79, 196, 0.04) !important;
  transform: translateY(-2px);
}

.btn-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}

.btn-loading::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  margin-top: -10px;
  margin-left: -10px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: rgba(255, 255, 255, 0.95);
  animation: ppdbSpin 0.8s linear infinite;
}

@keyframes ppdbSpin {
  to {
    transform: rotate(360deg);
  }
}

.ppdb-success .registration-info,
.ppdb-success .next-steps {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--r-lg);
  padding: 24px;
  text-align: left;
  box-shadow: var(--shadow-sm);
}

.ppdb-success .info-item {
  margin-bottom: 16px;
  padding: 12px;
  background: rgba(15, 23, 42, 0.03);
  border-radius: 12px;
}

.ppdb-success .info-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-bottom: 4px;
  opacity: 0.8;
}

.ppdb-success .info-value {
  font-size: 16px;
  font-weight: 750;
  color: #1e293b;
}

.ppdb-success .steps-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.ppdb-success .step-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.ppdb-success .step-number {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: rgba(26, 79, 196, 0.1);
  color: #1e293b;
  border: 1px solid rgba(26, 79, 196, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 850;
  font-size: 16px;
  box-shadow: 0 4px 10px rgba(26, 79, 196, 0.1);
}

.ppdb-success .step-title {
  font-weight: 780;
  color: #1e293b;
  margin-bottom: 2px;
}

.ppdb-success .step-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.ppdb-success .important-notes {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--r-lg);
  padding: 24px;
  text-align: left;
}

.ppdb-success .action-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .ppdb-success .success-card {
    padding: 26px 18px;
  }

  .ppdb-success .reg-number {
    font-size: 26px;
  }

  .ppdb-success .action-buttons {
    flex-direction: column;
  }

  .ppdb-success .action-buttons .btn {
    width: 100%;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-section {
  position: relative;
  overflow: hidden;
  padding: 52px 0 0;
  color: var(--on-dark);
  background:
    radial-gradient(700px 260px at 50% 118%, rgba(59, 130, 246, 0.22), transparent 70%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
}

.footer-section::before {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: 40px;
  height: 120px;
  background: radial-gradient(60% 100% at 30% 100%, rgba(255, 255, 255, 0.04), transparent 70%);
  pointer-events: none;
}

.footer-section .container {
  position: relative;
  z-index: 1;
}

@media (min-width: 992px) {
  .footer-grid > [class*="col-"] + [class*="col-"] .footer-column {
    padding-left: 28px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
  }
}

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

.footer-logo {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  padding: 3px;
}

.footer-title {
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0;
  margin-bottom: 16px;
  color: #fff;
}

.footer-description {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--on-dark-muted);
  overflow-wrap: anywhere;
}

.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0 0 0 70px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

.footer-contact li {
  display: flex;
  gap: 12px;
}

.footer-contact i {
  width: 16px;
  margin-top: 3px;
  flex-shrink: 0;
  text-align: center;
  color: #fff;
}

.footer-contact span {
  overflow-wrap: anywhere;
}

.footer-contact strong {
  color: #fff;
  font-weight: 700;
}

.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.tag-item:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--navy-900);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.social-link:hover {
  transform: translateY(-2px);
  background: var(--accent);
  border-color: var(--accent);
  color: var(--navy-900);
}

.footer-bottom {
  margin-top: 44px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.18);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-bottom p {
  margin: 0;
  font-size: 12.5px;
  color: var(--on-dark-muted);
}

.powered-by a {
  color: #fff;
  font-weight: 600;
}

.powered-by a:hover {
  color: var(--accent);
}

@media (max-width: 575.98px) {
  .footer-contact {
    padding-left: 0;
  }
}

#searchModal .modal-dialog {
  margin-top: 8vh;
}

#searchModal .search-panel {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.search-panel-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.search-panel-icon {
  color: var(--muted-2);
  font-size: 15px;
}

.search-panel-input {
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 17px;
  font-weight: 650;
  color: var(--text);
}

.search-panel-input::placeholder {
  color: var(--muted-2);
  font-weight: 500;
}

.search-panel-close {
  width: 28px;
  height: 28px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: var(--muted);
  font-size: 12px;
  transition: background 150ms ease, color 150ms ease;
}

.search-panel-close:hover {
  background: rgba(15, 23, 42, 0.1);
  color: var(--text);
}

.search-panel-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 22px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.search-chip {
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: transparent;
  color: var(--muted);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.02em;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.search-chip.is-active {
  background: rgba(26, 79, 196, 0.1);
  border-color: rgba(26, 79, 196, 0.3);
  color: var(--brand);
}

.search-panel-body {
  padding: 18px 22px 22px;
  min-height: 180px;
}

.search-hint {
  text-align: center;
  color: var(--muted-2);
  font-size: 14px;
  padding: 40px 12px;
}

.search-hint-error {
  color: var(--danger);
}

.search-loading {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 40px 0;
}

.search-loading.is-visible {
  display: flex;
}

.search-loading span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  animation: search-loading-bounce 1s infinite ease-in-out both;
}

.search-loading span:nth-child(2) {
  animation-delay: 0.15s;
}

.search-loading span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes search-loading-bounce {

  0%,
  80%,
  100% {
    transform: scale(0.6);
    opacity: 0.5;
  }

  40% {
    transform: scale(1);
    opacity: 1;
  }
}

.no-search-results {
  display: none;
}

.ss-hide {
  display: none !important;
}

.ss-w-80 {
  width: 80px !important;
}

.ss-h-80 {
  height: 80px !important;
}

.ss-minw-80 {
  min-width: 80px !important;
}

.ss-w-60 {
  width: 60px !important;
}

.ss-h-60 {
  height: 60px !important;
}

.ss-minw-60 {
  min-width: 60px !important;
}

.ss-w-45 {
  width: 45px !important;
}

.ss-h-45 {
  height: 45px !important;
}

.ss-gradient-brand {
  background: linear-gradient(135deg, rgba(26, 79, 196, 0.98), rgba(22, 63, 160, 0.98)) !important;
}

.ss-glass-inverse {
  background: rgba(255, 255, 255, 0.18) !important;
}

.ss-badge-success {
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.95), rgba(5, 150, 105, 0.95)) !important;
  color: rgba(255, 255, 255, 0.95) !important;
}

.ss-badge-danger {
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.95), rgba(220, 38, 38, 0.95)) !important;
  color: rgba(255, 255, 255, 0.95) !important;
}

.ss-progress-slim {
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.08);
}

.ss-progress-slim .progress-bar {
  border-radius: 999px;
}

.transition-all {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.hover-translate-y:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md) !important;
}

.ppdb-selection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 22px;
  margin-bottom: 24px;
}

.ppdb-selection-card {
  border: 1px solid rgba(15, 23, 42, 0.1);
}

.card-header-premium {
  min-height: 120px;
  display: flex;
  align-items: flex-end;
}

.modal-header-premium {
  border: 0;
}

.major-selection-premium {
  border: 1px solid rgba(15, 23, 42, 0.1);
}

.major-icon-box {
  box-shadow: 0 10px 20px rgba(26, 79, 196, 0.12);
}

.info-highlight-box {
  border: 1px solid rgba(15, 23, 42, 0.1);
}

.bg-success-soft {
  background-color: rgba(16, 185, 129, 0.12) !important;
}

.bg-danger-soft {
  background-color: rgba(239, 68, 68, 0.12) !important;
}

.ppdb-accordion-item {
  border-radius: var(--r-lg) !important;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.ppdb-accordion-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md) !important;
}

.accordion-button {
  background-color: rgba(255, 255, 255, 0.92) !important;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  color: inherit;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

.accordion-button::after {
  background-size: 1.1rem;
  transition: transform 180ms ease;
}

.accordion-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 79, 196, 0.08);
  border: 1px solid rgba(26, 79, 196, 0.14);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.accordion-button:not(.collapsed) .accordion-icon {
  background: rgba(26, 79, 196, 0.16);
  border-color: rgba(26, 79, 196, 0.22);
}

.ppdb-path-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.ppdb-path-card:hover {
  border-color: rgba(26, 79, 196, 0.18);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.ppdb-path-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.path-card-body {
  padding: 22px;
}

.path-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(16, 185, 129, 0.9);
  margin-bottom: 12px;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.95);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.14);
}

.path-name {
  font-family: var(--font-display);
  font-weight: 820;
  font-size: 20px;
  line-height: 1.15;
  margin-bottom: 10px;
}

.path-description {
  color: rgba(15, 29, 58, 0.68);
  font-size: 14px;
  line-height: 1.7;
}

.path-card-footer {
  padding: 0 22px 22px;
}

.schedule-timeline .timeline-content {
  transition: transform 180ms ease;
}

.schedule-timeline .timeline-content:hover {
  transform: translateY(-2px);
}

.info-content {
  color: rgba(15, 29, 58, 0.78);
  line-height: 1.7;
}

.info-content p {
  margin-bottom: 10px;
}

.accordion-body::-webkit-scrollbar {
  width: 6px;
}

.accordion-body::-webkit-scrollbar-thumb {
  background: rgba(26, 79, 196, 0.55);
  border-radius: 999px;
}

.alumni-card {
  border-radius: var(--r-lg) !important;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.alumni-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(10, 31, 68, 0.1) !important;
}

.alumni-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 32px;
  color: rgba(255, 255, 255, 0.95);
  background: linear-gradient(135deg, rgba(26, 79, 196, 0.95), rgba(59, 130, 246, 0.85));
  box-shadow: 0 14px 28px rgba(26, 79, 196, 0.22);
}

.alumni-hero {
  padding: 38px 20px;
  margin-bottom: 32px;
  border-radius: var(--r-xl);
  color: rgba(255, 255, 255, 0.95);
  background:
    radial-gradient(900px 520px at 12% 10%, rgba(26, 79, 196, 0.36), transparent 58%),
    radial-gradient(900px 520px at 86% 30%, rgba(59, 130, 246, 0.24), transparent 60%),
    linear-gradient(180deg, rgba(10, 31, 68, 0.92), rgba(10, 31, 68, 0.72));
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.alumni-hero .school-name {
  font-size: 34px;
  color: rgba(255, 255, 255, 0.95);
}

.alumni-hero .school-slogan {
  color: rgba(255, 255, 255, 0.78);
}

.alumni-avatar-large {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  font-size: 40px;
  font-weight: 900;
  box-shadow: 0 18px 40px rgba(10, 31, 68, 0.22);
}

.icon-circle {
  width: 40px;
  height: 40px;
}

.ss-icon-80 {
  width: 80px !important;
  height: 80px !important;
  font-size: 30px !important;
}

.profile-header .btn.btn-light {
  border-radius: 999px;
  font-weight: 800;
}

.card:hover {
  transform: translateY(-3px);
}

.ss-clickable {
  cursor: pointer;
}

.ss-maxw-200 {
  max-width: 200px !important;
}

.ss-maxw-600 {
  max-width: 600px !important;
}

.ss-icon-100 {
  width: 100px !important;
  height: 100px !important;
  font-size: 40px !important;
}

.ppdb-file-preview {
  max-width: 200px;
}

.announcement-item {
  padding: 18px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

.announcement-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}

.announcement-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.announcement-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.94);
  background: linear-gradient(135deg, rgba(26, 79, 196, 0.95), rgba(59, 130, 246, 0.86));
  box-shadow: 0 14px 28px rgba(26, 79, 196, 0.18);
  flex-shrink: 0;
}

.announcement-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.announcement-date {
  font-weight: 800;
  letter-spacing: 0.02em;
}

.announcement-author {
  color: rgba(15, 29, 58, 0.62);
  font-size: 13px;
}

.announcement-content {
  padding-left: 60px;
}

.announcement-description {
  color: rgba(15, 29, 58, 0.78);
  line-height: 1.7;
}

.announcement-description p {
  margin-bottom: 10px;
}

.announcement-classes {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(26, 79, 196, 0.06);
  border: 1px solid rgba(26, 79, 196, 0.16);
}

.activity-tabs-wrapper {
  padding: 16px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-sm);
}

.activity-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.activity-tab {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.78);
  color: rgba(15, 29, 58, 0.78);
  font-weight: 850;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.activity-tab:hover {
  transform: translateY(-1px);
  border-color: rgba(26, 79, 196, 0.22);
  box-shadow: var(--shadow-sm);
}

.activity-tab.active {
  background: linear-gradient(135deg, rgba(26, 79, 196, 0.96), rgba(59, 130, 246, 0.86));
  border-color: transparent;
  color: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 28px rgba(26, 79, 196, 0.18);
}

.activity-item {
  padding: 22px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: white;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
}

.activity-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}

.activity-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 12px;
}

.activity-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.94);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.95), rgba(5, 150, 105, 0.95));
  box-shadow: 0 14px 28px rgba(16, 185, 129, 0.18);
  flex-shrink: 0;
}

.activity-title {
  font-family: var(--font-display);
  font-weight: 780;
  margin-bottom: 10px;
}

.activity-type-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(16, 185, 129, 0.92);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.22);
}

.activity-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.activity-status-badge-ongoing {
  color: rgba(217, 119, 6, 0.92);
  background: rgba(217, 119, 6, 0.12);
  border: 1px solid rgba(217, 119, 6, 0.22);
}

.activity-status-badge-upcoming {
  color: rgba(37, 99, 235, 0.92);
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.22);
}

.activity-status-badge-past {
  color: rgba(100, 116, 139, 0.92);
  background: rgba(100, 116, 139, 0.12);
  border: 1px solid rgba(100, 116, 139, 0.22);
}

.activity-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 18px;
  color: var(--text);
}

.activity-status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.activity-status-dot-ongoing {
  background: #d97706;
  box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.15);
}

.activity-status-dot-upcoming {
  background: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.activity-status-dot-past {
  background: #64748b;
  box-shadow: 0 0 0 4px rgba(100, 116, 139, 0.15);
}

.activity-content {
  padding-left: 60px;
}

.activity-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(15, 29, 58, 0.62);
  font-size: 14px;
}

.meta-item i {
  width: 16px;
  color: rgba(26, 79, 196, 0.92);
}

.activity-excerpt {
  color: rgba(15, 29, 58, 0.78);
  line-height: 1.7;
  margin-bottom: 12px;
}

.category-tabs {
  padding: 14px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: var(--shadow-sm);
}

.category-tabs .nav-pills .nav-link {
  background: rgba(255, 255, 255, 0.78);
  color: rgba(15, 29, 58, 0.78);
  border: 1px solid rgba(15, 23, 42, 0.12);
  margin: 6px 6px;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 850;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.category-tabs .nav-pills .nav-link:hover {
  transform: translateY(-1px);
  border-color: rgba(26, 79, 196, 0.22);
  box-shadow: var(--shadow-sm);
}

.category-tabs .nav-pills .nav-link.active {
  background: linear-gradient(135deg, rgba(26, 79, 196, 0.96), rgba(59, 130, 246, 0.86));
  border-color: transparent;
  color: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 28px rgba(26, 79, 196, 0.18);
}

.gallery-clickable {
  cursor: pointer;
}

.gallery-item {
  height: 100%;
}

.gallery-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.gallery-image:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(26, 79, 196, 0.22);
}

.gallery-image img,
.video-thumbnail {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 220ms ease;
}

.gallery-image:hover img,
.gallery-image:hover .video-thumbnail {
  transform: scale(1.04);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(10, 31, 68, 0.72) 100%);
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
}

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

.gallery-overlay-content {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  color: rgba(255, 255, 255, 0.92);
}

.gallery-overlay-content i {
  font-size: 18px;
  margin-bottom: 6px;
  display: block;
}

.gallery-date {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}

.video-placeholder {
  width: 100%;
  height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.94);
  font-size: 16px;
  font-weight: 850;
  background:
    radial-gradient(600px 320px at 20% 20%, rgba(26, 79, 196, 0.42), transparent 58%),
    radial-gradient(600px 320px at 80% 40%, rgba(59, 130, 246, 0.32), transparent 60%),
    linear-gradient(180deg, rgba(10, 31, 68, 0.92), rgba(10, 31, 68, 0.72));
}

.video-placeholder i {
  font-size: 44px;
  margin-bottom: 10px;
  opacity: 0.9;
}

.video-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 46px;
  color: rgba(255, 255, 255, 0.94);
  opacity: 0.9;
  transition: transform 180ms ease, opacity 180ms ease;
  text-shadow: 0 10px 20px rgba(10, 31, 68, 0.45);
}

.gallery-image:hover .video-play-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.06);
}

.image-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(10, 31, 68, 0.72);
  backdrop-filter: blur(10px);
  z-index: 2000;
  opacity: 0;
  transition: opacity 180ms ease;
}

.image-overlay.active {
  opacity: 1;
}

.image-overlay .overlay-content {
  width: min(980px, 100%);
  position: relative;
}

.image-overlay #overlayImage {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  background: rgba(255, 255, 255, 0.08);
}

.image-overlay .close-btn {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
}

.image-overlay .overlay-controls {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

.image-overlay .overlay-btn {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 850;
  letter-spacing: 0.06em;
  font-size: 12px;
  text-transform: uppercase;
}

.search-results-container {
  max-height: 420px;
  overflow-y: auto;
  padding-right: 6px;
}

.search-section-title {
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

.search-result-thumb {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 14px;
}

.result-item {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
  border-radius: var(--r-md);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.result-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(26, 79, 196, 0.22) !important;
}

.result-title a {
  font-weight: 850;
  color: rgba(15, 29, 58, 0.9);
}

.result-title a:hover {
  color: rgba(26, 79, 196, 0.92);
}

.result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.under-development-content {
  padding: 54px 0;
  min-height: 60vh;
}

.under-development-card {
  border-radius: var(--r-xl);
  padding: 44px 26px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: var(--shadow-md);
}

@keyframes ss-bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-2px);
  }
}


.development-icon {
  animation: ss-bounce 2s infinite;
}

.development-title {
  font-family: var(--font-display);
  font-weight: 820;
}

.development-description {
  color: rgba(15, 29, 58, 0.68);
  line-height: 1.7;
}

.under-development-content .info-item {
  padding: 18px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(15, 23, 42, 0.1);
  height: 100%;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.under-development-content .info-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(26, 79, 196, 0.18);
}

.article-detail-content .profile-header {
  padding: 36px 22px;
  border-radius: var(--r-xl);
  color: rgba(255, 255, 255, 0.94);
  background:
    radial-gradient(900px 520px at 10% 10%, rgba(26, 79, 196, 0.38), transparent 60%),
    radial-gradient(900px 520px at 86% 26%, rgba(59, 130, 246, 0.26), transparent 62%),
    linear-gradient(180deg, rgba(10, 31, 68, 0.94), rgba(10, 31, 68, 0.72));
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.article-detail-content .school-logo-large img {
  max-width: 200px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.92);
  padding: 14px;
  box-shadow: 0 18px 40px rgba(10, 31, 68, 0.2);
}

.article-detail-content .profile-header .school-name {
  color: rgba(255, 255, 255, 0.94);
}

.article-detail-content .school-slogan {
  color: rgba(255, 255, 255, 0.78);
}

.article-detail-content .school-details .detail-item {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.86);
}
.rkt-table thead th {
  text-align: center;
  vertical-align: middle;
  font-weight: 850;
  background: rgba(26, 79, 196, 0.06);
}

.rkt-table tbody td {
  vertical-align: top;
}

.rkt-table thead th:nth-child(1) {
  width: 60px;
}

.rkt-table thead th:nth-child(2) {
  min-width: 220px;
}

.rkt-table thead th:nth-child(3) {
  min-width: 320px;
}

.rkt-table thead th:nth-child(4) {
  min-width: 220px;
}

.rkt-table thead th:nth-child(5) {
  min-width: 180px;
}

.rkt-table thead th:nth-child(6) {
  min-width: 160px;
}

.rkt-table thead th:nth-child(7) {
  min-width: 120px;
}

.rkt-table thead th:nth-child(8) {
  min-width: 140px;
}

.rkt-table thead th:nth-child(9) {
  min-width: 120px;
}

.rkt-table thead th:nth-child(10) {
  min-width: 120px;
}

.rkt-standar-row td {
  background: rgba(59, 130, 246, 0.08);
}

.alumni-detail-hero {
  border-radius: var(--r-xl);
  overflow: hidden;
  color: rgba(255, 255, 255, 0.94);
  background:
    radial-gradient(900px 520px at 10% 10%, rgba(26, 79, 196, 0.38), transparent 60%),
    radial-gradient(900px 520px at 86% 26%, rgba(59, 130, 246, 0.26), transparent 62%),
    linear-gradient(180deg, rgba(10, 31, 68, 0.94), rgba(10, 31, 68, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-md);
}

.alumni-detail-back {
  top: 20px;
  left: 20px;
  border-radius: 999px;
  font-weight: 850;
}

.alumni-detail-message {
  line-height: 1.6;
}

@media (max-width: 768px) {
  .announcement-content,
  .activity-content {
    padding-left: 0;
    margin-top: 10px;
  }

  .video-thumbnail,
  .video-placeholder {
    height: 200px;
  }

  .video-play-icon {
    font-size: 38px;
  }

  .article-detail-content .profile-header {
    padding: 26px 18px;
  }
}

/* ==========================================================================
   Halaman Profil Sekolah
   ========================================================================== */
.profile-page {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.profile-identity {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 30px;
  border-radius: var(--r-xl);
  color: var(--on-dark);
  background:
    radial-gradient(380px 240px at 100% 100%, rgba(245, 179, 33, 0.2), transparent 70%),
    radial-gradient(520px 300px at 85% -30%, rgba(59, 130, 246, 0.4), transparent 70%),
    linear-gradient(120deg, var(--navy-950) 0%, var(--navy-800) 65%, var(--navy-700) 100%);
  box-shadow: var(--shadow-lg);
}

.profile-identity::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 36px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.profile-identity-logo {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 132px;
  height: 132px;
  padding: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.12), 0 18px 40px rgba(0, 0, 0, 0.25);
}

.profile-identity-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.profile-identity-body {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.profile-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

.profile-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.profile-school-name {
  margin: 0 0 6px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  overflow-wrap: anywhere;
}

.profile-school-slogan {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--accent);
  overflow-wrap: anywhere;
}

.profile-facts {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.profile-facts li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 10px 16px 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.profile-facts i {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 13px;
  color: var(--navy-900);
  background: var(--accent);
}

.profile-facts small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

.profile-facts strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  overflow-wrap: anywhere;
}

/* Pintasan */
.profile-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.profile-shortcut {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: var(--r-md);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.profile-shortcut:hover {
  transform: translateY(-3px);
  border-color: var(--brand-100);
  box-shadow: var(--shadow-md);
  color: inherit;
}

.shortcut-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 16px;
  color: var(--brand);
  background: var(--brand-50);
  transition: background 180ms ease, color 180ms ease;
}

.profile-shortcut:hover .shortcut-icon {
  color: #fff;
  background: var(--brand);
}

.shortcut-text {
  min-width: 0;
}

.shortcut-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-900);
}

.shortcut-text small {
  display: block;
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
}

/* Blok konten */
.profile-block {
  padding: 28px;
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.block-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.block-title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--navy-900);
}

.block-subtitle {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.prose-content {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.85;
  overflow-wrap: break-word;
}

.prose-content p:last-child {
  margin-bottom: 0;
}

.prose-content img {
  border-radius: var(--r-md);
}

.prose-content h1,
.prose-content h2,
.prose-content h3,
.prose-content h4 {
  font-weight: 800;
  color: var(--navy-900);
  margin: 1.4em 0 0.6em;
}

.prose-content blockquote {
  margin: 1.2em 0;
  padding: 14px 18px;
  border-left: 4px solid var(--accent);
  border-radius: 0 12px 12px 0;
  background: var(--accent-50);
}

/* Kepala sekolah */
.profile-principal {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 22px;
  border-radius: var(--r-md);
  background:
    radial-gradient(360px 200px at 100% 0%, rgba(26, 79, 196, 0.08), transparent 70%),
    var(--bg);
}

.profile-principal-photo {
  flex-shrink: 0;
}

.profile-principal-photo img {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 0 0 3px var(--brand-100), var(--shadow-md);
  background: var(--brand-50);
}

.profile-principal-body {
  min-width: 0;
}

.profile-principal-name {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--navy-900);
  overflow-wrap: anywhere;
}

.profile-principal-intro {
  margin-bottom: 16px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-2);
}

/* RKT */
.profile-accordion .accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--r-md) !important;
  overflow: hidden;
}

.profile-accordion .accordion-item + .accordion-item {
  margin-top: 12px;
}

.profile-accordion .accordion-button {
  gap: 12px;
  padding: 16px 18px;
  font-weight: 700;
  font-size: 15px;
  color: var(--navy-900);
}

.profile-accordion .accordion-button:not(.collapsed) {
  color: var(--brand);
  background: var(--brand-50) !important;
}

.rkt-year {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.rkt-year i {
  color: var(--brand);
}

.rkt-count {
  margin-left: auto;
  margin-right: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--border);
}

.profile-accordion .accordion-body {
  padding: 0;
}

.profile-accordion .rkt-table {
  font-size: 13.5px;
}

.profile-accordion .rkt-table th,
.profile-accordion .rkt-table td {
  padding: 12px 14px;
  border-color: var(--border);
}

/* Kontak */
.profile-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.profile-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
  padding: 20px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.profile-contact-item.is-wide {
  grid-column: 1 / -1;
}

.profile-contact-item:hover {
  border-color: var(--brand-100);
  box-shadow: var(--shadow-sm);
}

.profile-contact-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 17px;
  color: var(--brand);
  background: var(--brand-50);
}

.profile-contact-details {
  min-width: 0;
}

.profile-contact-details h5 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-900);
}

.profile-contact-details p {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-2);
  overflow-wrap: anywhere;
}

.profile-contact-details p a:hover {
  color: var(--brand);
}

.profile-contact-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: var(--r-md);
  background: var(--accent-50);
  border: 1px solid rgba(245, 179, 33, 0.35);
}

.profile-contact-cta p {
  margin: 0;
  font-weight: 600;
  color: var(--navy-900);
}

@media (max-width: 767.98px) {
  .profile-identity {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
  }

  .profile-identity-logo {
    width: 96px;
    height: 96px;
    padding: 8px;
  }

  .profile-school-name {
    font-size: 23px;
  }

  .profile-shortcuts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-block {
    padding: 20px;
  }

  .profile-principal {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .profile-principal-photo img {
    width: 104px;
    height: 104px;
  }

  .profile-contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 340px) {
  .profile-shortcuts {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ==========================================================================
   Sambutan kepala sekolah
   ========================================================================== */
.principal-header {
  padding: 26px;
  border-radius: var(--r-lg);
  color: var(--on-dark);
  background:
    radial-gradient(420px 240px at 100% 0%, rgba(59, 130, 246, 0.35), transparent 70%),
    linear-gradient(120deg, var(--navy-950), var(--navy-800));
  box-shadow: var(--shadow-md);
}

.principal-header .principal-photo img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.14), 0 18px 36px rgba(0, 0, 0, 0.25);
}

.principal-header .principal-name {
  font-size: 26px;
  margin: 12px 0 6px;
  color: #fff;
}

.principal-header .principal-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 4px;
}

.principal-school-name {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--on-dark-muted);
}

.message-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 18px;
}

.message-title::before {
  content: "";
  width: 6px;
  height: 26px;
  border-radius: 6px;
  background: var(--accent);
}

.message-content {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.9;
}

@media (min-width: 768px) {
  .principal-header .principal-name {
    margin-top: 0;
  }
}

/* Improved spacing for activity items */
.activity-item {
  transition: background 0.3s ease, transform 0.3s ease;
  border-radius: 12px;
  margin-bottom: 10px;
}

.activity-item:hover {
  background: rgba(26, 79, 196, 0.03);
  transform: translateX(5px);
}

/* ==========================================================================
   Responsif: layout utama
   ========================================================================== */
@media (max-width: 991.98px) {
  .principal-welcome {
    position: static;
  }

  .main-navbar .navbar-collapse {
    order: 3;
  }

  .main-navbar .navbar-nav {
    align-items: stretch;
    padding: 12px 0 6px;
  }

  .main-navbar .nav-link {
    width: 100%;
    justify-content: space-between;
  }

  .main-navbar .nav-link.nav-home {
    width: 100%;
    height: auto;
    justify-content: flex-start;
    margin: 0 0 6px;
  }

  .main-navbar .dropdown-menu {
    margin-top: 4px;
    box-shadow: none;
    background: var(--bg);
  }

  .hero-title {
    font-size: 46px;
  }

  .contact-info {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .top-header {
    padding: 14px 0;
  }

  .school-logo {
    width: 48px;
    height: 48px;
  }

  .school-name {
    font-size: 17px;
  }

  .school-tagline {
    font-size: 12px;
  }

  .hero-section .carousel,
  .hero-section .carousel-inner,
  .hero-section .carousel-item {
    height: 500px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(7, 22, 49, 0.7) 0%, rgba(10, 31, 68, 0.92) 100%);
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .hero-actions .btn-lg {
    flex: 1 1 100%;
  }

  .quote-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
  }

  .articles-section {
    padding: 16px;
  }

  .section-title {
    font-size: 20px;
  }

  .article-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .article-content {
    padding: 0 4px 4px;
  }

  .article-title-main {
    font-size: 28px;
  }

  .article-detail-header {
    padding: 32px 0 30px;
  }
}
