/* ==========================================================================
   MI AL-HUDA PASIRNANJUNG - PORTAL RESMI & CMS ADMIN
   Theme: Formal Islamic Emerald & Warm Gold Elegance
   ========================================================================== */

:root {
  /* Color Palette */
  --primary-dark: #072e1b;
  --primary: #0b4629;
  --primary-light: #145a32;
  --primary-accent: #1e7e45;
  --primary-soft: #eaf5ee;
  
  --gold-dark: #9a7616;
  --gold: #c59b27;
  --gold-light: #dfb13c;
  --gold-soft: #fef8e7;
  --gold-border: rgba(197, 155, 39, 0.35);

  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;

  --success: #16a34a;
  --danger: #dc2626;

  /* Typography */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-arabic: 'Amiri', serif;

  /* Shadow & Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 6px 18px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 14px 32px rgba(11, 70, 41, 0.12);
  --shadow-gold: 0 6px 20px rgba(197, 155, 39, 0.25);
  --shadow-hover: 0 16px 36px rgba(7, 46, 27, 0.18);

  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--slate-50);
  color: var(--slate-800);
  line-height: 1.65;
  overflow-x: hidden;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }
.text-gold { color: var(--gold-light); }
.text-danger { color: var(--danger); }
.text-muted { color: var(--slate-500); font-size: 0.8rem; }
.w-full { width: 100%; }

/* ==========================================================================
   ADMIN TOP BANNER (WHEN LOGGED IN)
   ========================================================================== */
.admin-top-banner {
  background: #041f12;
  color: #f1f5f9;
  border-bottom: 2px solid var(--gold);
  padding: 7px 0;
  font-size: 0.82rem;
  z-index: 1002;
  position: relative;
}

.admin-banner-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-banner-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-indicator-dot {
  width: 10px;
  height: 10px;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #22c55e;
}

.admin-banner-right {
  display: flex;
  gap: 8px;
}

.btn-banner-admin {
  background: var(--gold);
  color: var(--primary-dark);
  border: none;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.78rem;
  transition: var(--transition);
}

.btn-banner-admin:hover {
  background: var(--gold-light);
}

.btn-banner-logout {
  background: rgba(220, 38, 38, 0.2);
  border: 1px solid var(--danger);
  color: #fca5a5;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.78rem;
  transition: var(--transition);
}

.btn-banner-logout:hover {
  background: var(--danger);
  color: var(--white);
}

/* ==========================================================================
   TOP ANNOUNCEMENT & PRAYER BAR
   ========================================================================== */
.top-bar {
  background: linear-gradient(90deg, var(--primary-dark), #093b22);
  color: var(--slate-200);
  font-size: 0.84rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(197, 155, 39, 0.25);
}

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

.top-announcement {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  flex: 1;
}

.badge-pulse {
  background: var(--gold);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  letter-spacing: 0.5px;
  box-shadow: 0 0 10px rgba(197, 155, 39, 0.5);
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% { transform: scale(1); }
  50% { transform: scale(1.04); box-shadow: 0 0 15px rgba(223, 177, 60, 0.7); }
  100% { transform: scale(1); }
}

.ticker-wrap {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 100%;
}

.ticker-content {
  display: inline-block;
  color: #e2e8f0;
}

.top-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
}

.prayer-widget {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f1f5f9;
}

.prayer-divider {
  color: var(--gold);
  opacity: 0.6;
}

.next-prayer {
  color: var(--gold-light);
  font-weight: 600;
}

.top-socials {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-socials a {
  color: var(--slate-300);
  background: rgba(255, 255, 255, 0.08);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: var(--transition);
  text-decoration: none;
}

.top-socials a:hover {
  background: var(--gold);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-top-admin {
  background: rgba(197, 155, 39, 0.25);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  margin-left: 4px;
}

.btn-top-admin:hover {
  background: var(--gold);
  color: var(--primary-dark);
}

/* ==========================================================================
   MAIN HEADER & NAVIGATION
   ========================================================================== */
.main-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-bottom: 1px solid var(--slate-200);
}

.main-header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.logo-emblem {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 4px 6px rgba(11, 70, 41, 0.15));
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--primary-dark);
  line-height: 1.15;
}

.brand-subtitle {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--gold);
  line-height: 1.1;
}

.brand-tag {
  font-size: 0.72rem;
  color: var(--slate-500);
  font-weight: 500;
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav-link {
  color: var(--slate-700);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.93rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

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

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

.btn-ppdb-glow {
  background: linear-gradient(135deg, var(--gold), #b88a1a);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-gold);
  transition: var(--transition);
  letter-spacing: 0.3px;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-ppdb-glow:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(197, 155, 39, 0.45);
  color: #ffffff;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 28px;
  font-size: 0.96rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #073820);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(11, 70, 41, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(11, 70, 41, 0.35);
  color: var(--white);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
  backdrop-filter: blur(6px);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-glass {
  background: rgba(197, 155, 39, 0.2);
  border-color: var(--gold);
  color: var(--gold-light);
  backdrop-filter: blur(8px);
}

.btn-glass:hover {
  background: var(--gold);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--slate-200);
  color: var(--slate-700);
}

.btn-secondary:hover {
  background: var(--slate-300);
  color: var(--slate-900);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.84rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
}

.btn-outline-gold {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold-dark);
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--white);
}

.btn-outline-danger {
  background: transparent;
  border: 1.5px solid var(--danger);
  color: var(--danger);
}

.btn-outline-danger:hover {
  background: var(--danger);
  color: var(--white);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background: radial-gradient(circle at 80% 20%, #156237 0%, var(--primary) 40%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 95px 0 100px;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 46, 27, 0.2) 0%, rgba(7, 46, 27, 0.75) 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: radial-gradient(#d4af37 1.5px, transparent 1.5px), radial-gradient(#d4af37 1.5px, #072e1b 1.5px);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  text-align: center;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(223, 177, 60, 0.5);
  color: var(--gold-light);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 8px 22px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: 3.1rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-desc {
  font-size: 1.15rem;
  color: #e2e8f0;
  max-width: 820px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* Hero Stats Grid */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--gold);
}

.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(197, 155, 39, 0.3);
}

.stat-info .stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.stat-info .plus {
  color: var(--gold-light);
  font-weight: 700;
  font-size: 1.1rem;
}

.stat-info p {
  color: #cbd5e1;
  font-size: 0.82rem;
  font-weight: 500;
  margin-top: 4px;
}

/* ==========================================================================
   COMMON SECTION STYLES
   ========================================================================== */
.section-pad {
  padding: 85px 0;
}

.bg-light {
  background-color: #f8fafc;
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--primary);
  background: var(--primary-soft);
  font-weight: 700;
  font-size: 0.84rem;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  letter-spacing: 0.4px;
  border: 1px solid rgba(11, 70, 41, 0.12);
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.25;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--slate-600);
  max-width: 680px;
  margin: 0 auto;
}

/* ==========================================================================
   DAILY ISLAMIC SECTION (HADITS & DOA HARIAN SANTRI)
   ========================================================================== */
.bg-islamic-glow {
  background: linear-gradient(180deg, #f1f8f4 0%, #fbfdfc 50%, #f4f9f6 100%);
  border-top: 1px solid rgba(11, 70, 41, 0.1);
  border-bottom: 1px solid rgba(11, 70, 41, 0.1);
  position: relative;
}

.daily-section-top {
  margin-bottom: 38px;
}

.daily-date-indicator {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--gold-border);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
}

.daily-date-indicator i {
  color: var(--gold);
}

.badge-daily-active {
  background: var(--primary);
  color: var(--white);
  font-size: 0.72rem;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.daily-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.daily-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--slate-200);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.daily-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.hadits-card {
  border-top: 5px solid var(--primary);
}

.doa-card {
  border-top: 5px solid var(--gold);
}

.daily-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--slate-100);
  gap: 12px;
  flex-wrap: wrap;
}

.daily-card-badge {
  font-size: 0.8rem;
  font-weight: 800;
  background: var(--primary-soft);
  color: var(--primary-dark);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  letter-spacing: 0.5px;
}

.daily-card-badge.gold {
  background: var(--gold-soft);
  color: var(--gold-dark);
}

.daily-theme-chip {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--slate-600);
  background: var(--slate-100);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.daily-theme-chip.gold {
  background: #fefce8;
  color: #a16207;
  border: 1px solid #fde047;
}

.doa-title-sub {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 14px;
}

.arabic-text {
  font-family: var(--font-arabic);
  font-size: 1.85rem;
  line-height: 1.7;
  color: var(--primary-dark);
  text-align: right;
  direction: rtl;
  padding: 16px 20px;
  background: #fbfdfc;
  border-radius: var(--radius-md);
  border: 1px solid rgba(11, 70, 41, 0.12);
  margin-bottom: 14px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.02);
}

.latin-text {
  font-size: 0.92rem;
  font-style: italic;
  color: var(--slate-600);
  line-height: 1.5;
  margin-bottom: 14px;
}

.translation-box {
  background: var(--slate-50);
  border-left: 3px solid var(--gold);
  padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 14px;
  font-size: 0.92rem;
  color: var(--slate-800);
}

.translation-box strong {
  color: var(--primary-dark);
}

.sanad-source {
  font-size: 0.84rem;
  color: var(--slate-500);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.sanad-source i {
  color: var(--gold);
}

.hikmah-box {
  background: var(--primary-soft);
  color: var(--primary-dark);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  line-height: 1.5;
  border: 1px solid rgba(11, 70, 41, 0.1);
  margin-top: auto;
}

.hikmah-box.doa-note {
  background: #fefce8;
  color: #713f12;
  border-color: #fef08a;
}

.daily-card-footer {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--slate-100);
}

.btn-daily-action {
  background: var(--slate-100);
  border: 1px solid var(--slate-300);
  color: var(--slate-700);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-daily-action:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-daily-action.share {
  background: #dcfce7;
  color: #15803d;
  border-color: #86efac;
}

.btn-daily-action.share:hover {
  background: #22c55e;
  color: var(--white);
}

.daily-controller-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.btn-daily-nav {
  background: var(--white);
  border: 1px solid var(--slate-300);
  color: var(--slate-700);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}

.btn-daily-nav:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-daily-nav.highlight {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-daily-nav.highlight:hover {
  background: var(--primary-light);
}

@media (max-width: 900px) {
  .daily-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SAMBUTAN KEPALA MADRASAH
   ========================================================================== */
.welcome-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 55px;
  align-items: center;
}

.welcome-photo-col {
  position: relative;
}

.photo-frame {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--gold-border);
  text-align: center;
  position: relative;
}

.headmaster-avatar {
  width: 190px;
  height: 220px;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 5.5rem;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
  border: 3px solid var(--gold);
}

.photo-caption h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.photo-caption p {
  font-size: 0.86rem;
  color: var(--slate-500);
  font-weight: 500;
  margin-top: 4px;
}

.arabic-quote {
  font-family: var(--font-arabic);
  font-size: 1.6rem;
  color: var(--primary);
  background: var(--gold-soft);
  border-left: 4px solid var(--gold);
  padding: 16px 22px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 18px 0 22px;
  line-height: 1.6;
}

.arabic-quote .quote-trans {
  display: block;
  font-family: var(--font-main);
  font-size: 0.9rem;
  color: var(--slate-600);
  font-style: italic;
  margin-top: 6px;
}

.paragraph {
  color: var(--slate-700);
  margin-bottom: 14px;
  font-size: 1rem;
}

.welcome-signature {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed var(--slate-300);
}

.sig-title {
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.sig-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chip {
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   PROFIL & VISI MISI TABS
   ========================================================================== */
.profil-tabs-wrap {
  margin-top: 40px;
}

.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.tab-btn {
  background: var(--white);
  color: var(--slate-700);
  border: 1px solid var(--slate-300);
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}

.tab-btn:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.tab-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(11, 70, 41, 0.25);
}

.tab-panel {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.tab-panel.active {
  display: block;
}

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

/* Visi Card */
.vision-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--slate-200);
  text-align: center;
}

.vision-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 20px;
}

.vision-heading {
  font-size: 1.6rem;
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 16px;
}

.vision-quote {
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.6;
  max-width: 820px;
  margin: 0 auto 36px;
  position: relative;
  font-style: italic;
}

.vision-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
  text-align: left;
}

.pillar {
  background: var(--slate-50);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--slate-200);
  transition: var(--transition);
}

.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.pillar i {
  color: var(--gold);
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.pillar h4 {
  font-size: 1.1rem;
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 8px;
}

.pillar p {
  font-size: 0.9rem;
  color: var(--slate-600);
}

/* Misi Items */
.misi-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.misi-item {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 22px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
  border-left: 5px solid var(--primary);
  transition: var(--transition);
}

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

.misi-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold);
  background: var(--gold-soft);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.misi-text h4 {
  font-size: 1.05rem;
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 4px;
}

.misi-text p {
  color: var(--slate-600);
  font-size: 0.92rem;
}

/* Tujuan Grid */
.tujuan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 960px;
  margin: 0 auto;
}

.tujuan-card {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tujuan-card i {
  color: var(--primary);
  font-size: 1.6rem;
}

.tujuan-card h4 {
  font-size: 1.1rem;
  color: var(--primary-dark);
  font-weight: 700;
}

.tujuan-card p {
  color: var(--slate-600);
  font-size: 0.92rem;
}

/* Legalitas Table Card */
.legalitas-table-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--slate-200);
  max-width: 880px;
  margin: 0 auto;
}

.legalitas-header {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--primary-dark);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--slate-200);
}

.legalitas-header i {
  font-size: 1.8rem;
  color: var(--gold);
}

.legalitas-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
}

.school-info-table {
  width: 100%;
  border-collapse: collapse;
}

.school-info-table th, .school-info-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--slate-200);
  font-size: 0.94rem;
}

.school-info-table th {
  width: 32%;
  color: var(--slate-600);
  font-weight: 600;
  background: var(--slate-50);
}

.school-info-table td {
  color: var(--slate-800);
}

.badge-accreditation {
  background: var(--gold-soft);
  color: var(--gold-dark);
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   PROGRAM UNGGULAN & EKSTRAKURIKULER
   ========================================================================== */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.program-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold);
}

.prog-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 20px;
  transition: var(--transition);
}

.program-card:hover .prog-icon {
  background: var(--primary);
  color: var(--white);
}

.prog-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--gold-soft);
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.program-card h3 {
  font-size: 1.25rem;
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 12px;
}

.program-card p {
  color: var(--slate-600);
  font-size: 0.92rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.prog-points {
  list-style: none;
  padding-top: 16px;
  border-top: 1px solid var(--slate-100);
}

.prog-points li {
  font-size: 0.85rem;
  color: var(--slate-700);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.prog-points li i {
  color: var(--success);
}

/* ==========================================================================
   DIREKTORI GURU & STAF
   ========================================================================== */
.filter-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 32px 0 40px;
}

.filter-btn {
  background: var(--white);
  border: 1px solid var(--slate-300);
  color: var(--slate-700);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(11, 70, 41, 0.2);
}

.teachers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.teacher-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.teacher-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold);
}

.teacher-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--primary-soft);
  color: var(--primary);
  padding: 3px 9px;
  border-radius: var(--radius-full);
}

.teacher-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--slate-100), var(--slate-200));
  border: 3px solid var(--gold);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.teacher-details h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.3;
  margin-bottom: 6px;
}

.teacher-details .role {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: 4px;
}

.teacher-details .edu {
  font-size: 0.8rem;
  color: var(--slate-500);
  margin-bottom: 14px;
}

.badge-status {
  background: var(--slate-100);
  color: var(--slate-700);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ==========================================================================
   PPDB ONLINE SYSTEM & FORM
   ========================================================================== */
.ppdb-section {
  background: radial-gradient(circle at 10% 20%, #0d4a2d 0%, #072e1b 100%);
  color: var(--white);
  padding: 90px 0;
}

.ppdb-card-wrap {
  background: var(--white);
  color: var(--slate-800);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 2px solid var(--gold);
}

.ppdb-hero-header {
  background: linear-gradient(135deg, var(--primary-dark), #093f25);
  color: var(--white);
  padding: 44px;
  text-align: center;
}

.ppdb-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--gold-border);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.ppdb-title {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--white);
}

.ppdb-subtitle {
  color: #e2e8f0;
  max-width: 680px;
  margin: 0 auto 32px;
  font-size: 1rem;
}

.ppdb-timeline-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.step-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 600;
  color: #cbd5e1;
}

.step-box.active {
  background: var(--gold);
  color: var(--primary-dark);
  font-weight: 700;
}

.step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.step-arrow {
  color: var(--gold);
  font-size: 0.85rem;
}

.ppdb-form-container {
  padding: 44px;
}

.form-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--slate-200);
  margin-bottom: 28px;
}

.bar-left {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-section-title {
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 1.05rem;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  margin: 28px 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 4px solid var(--gold);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.col-span-2 {
  grid-column: span 2;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--slate-700);
}

.req {
  color: var(--danger);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--slate-300);
  border-radius: var(--radius-md);
  font-family: var(--font-main);
  font-size: 0.94rem;
  color: var(--slate-800);
  background: var(--white);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11, 70, 41, 0.15);
}

.form-terms {
  margin: 28px 0;
  padding: 18px;
  background: var(--slate-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--slate-700);
  cursor: pointer;
}

.checkbox-container input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}

.btn-submit {
  padding: 15px 36px;
  font-size: 1.05rem;
}

/* ==========================================================================
   BERITA & AGENDA
   ========================================================================== */
.section-header-flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  gap: 24px;
}

.news-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--slate-300);
  box-shadow: var(--shadow-sm);
  min-width: 320px;
}

.news-search-bar i {
  color: var(--slate-400);
}

.news-search-bar input {
  border: none;
  outline: none;
  font-family: var(--font-main);
  font-size: 0.9rem;
  width: 100%;
}

.news-agenda-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 36px;
}

.news-category-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.news-cat-btn {
  background: var(--white);
  border: 1px solid var(--slate-300);
  color: var(--slate-600);
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.news-cat-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.news-grid {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 22px;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.news-img-holder {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  border-radius: var(--radius-md);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 3rem;
  min-height: 140px;
}

.news-cat-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  color: var(--white);
}

.news-cat-pill.prestasi { background: #b45309; }
.news-cat-pill.pengumuman { background: #0369a1; }
.news-cat-pill.akademik { background: #15803d; }

.news-meta {
  display: flex;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--slate-500);
  margin-bottom: 8px;
}

.news-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.35;
  margin-bottom: 8px;
}

.news-excerpt {
  font-size: 0.88rem;
  color: var(--slate-600);
  line-height: 1.55;
  margin-bottom: 14px;
}

.read-more-btn {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  transition: var(--transition);
}

.read-more-btn:hover {
  color: var(--gold-dark);
  gap: 9px;
}

/* Sidebar Agenda & Countdown */
.agenda-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 26px;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.agenda-header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-dark);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--slate-200);
}

.agenda-header i {
  color: var(--gold);
  font-size: 1.4rem;
}

.agenda-header h3 {
  font-size: 1.2rem;
  font-weight: 800;
}

.countdown-widget {
  background: var(--gold-soft);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 22px;
  text-align: center;
}

.countdown-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.countdown-boxes {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.c-box {
  background: var(--white);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  min-width: 52px;
  box-shadow: var(--shadow-sm);
}

.c-box span {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.c-box small {
  font-size: 0.65rem;
  color: var(--slate-500);
  font-weight: 600;
  text-transform: uppercase;
}

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

.agenda-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--slate-200);
}

.agenda-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.agenda-date {
  background: var(--slate-100);
  color: var(--slate-700);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  text-align: center;
  min-width: 52px;
  flex-shrink: 0;
}

.agenda-date.highlight {
  background: var(--primary);
  color: var(--white);
}

.agenda-date .day {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
}

.agenda-date .month {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
}

.agenda-desc h4 {
  font-size: 0.92rem;
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.3;
}

.agenda-desc p {
  font-size: 0.78rem;
  color: var(--slate-500);
}

.download-doc-card {
  background: var(--primary-soft);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid rgba(11, 70, 41, 0.15);
}

.download-doc-card h4 {
  font-size: 1.05rem;
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.download-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.download-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-dark);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-200);
  transition: var(--transition);
}

.download-list a:hover {
  background: var(--gold-soft);
  border-color: var(--gold);
  transform: translateX(4px);
}

.download-list a i {
  color: var(--gold);
}

/* ==========================================================================
   GALERI DOKUMENTASI
   ========================================================================== */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 32px 0 40px;
  flex-wrap: wrap;
}

.gallery-filter-btn {
  background: var(--white);
  border: 1px solid var(--slate-300);
  color: var(--slate-700);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

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

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

.gallery-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
  cursor: pointer;
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold);
}

.gallery-visual {
  height: 200px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.4);
  overflow: hidden;
}

.ibadah-bg { background: linear-gradient(135deg, #0b4629, #1a7447); }
.sains-bg { background: linear-gradient(135deg, #065f46, #047857); }
.quran-bg { background: linear-gradient(135deg, #854d0e, #a16207); }
.pramuka-bg { background: linear-gradient(135deg, #78350f, #92400e); }
.hadrah-bg { background: linear-gradient(135deg, #1e3a8a, #2563eb); }
.perpus-bg { background: linear-gradient(135deg, #1e293b, #334155); }

.gallery-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 46, 27, 0.75);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: var(--transition);
  font-size: 0.95rem;
  font-weight: 700;
}

.gallery-hover-overlay i {
  font-size: 1.8rem;
  color: var(--gold-light);
}

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

.gallery-info {
  padding: 18px 20px;
}

.gallery-info h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.gallery-info p {
  font-size: 0.84rem;
  color: var(--slate-500);
}

/* ==========================================================================
   KONTAK & LOKASI
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 40px;
}

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

.info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
}

.info-card .icon-box {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.info-content h4 {
  font-size: 1.05rem;
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 4px;
}

.info-content p {
  color: var(--slate-700);
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.info-content small {
  font-size: 0.8rem;
}

.wa-btn-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  color: #15803d;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
}

.wa-btn-link:hover {
  text-decoration: underline;
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--slate-200);
}

.contact-form-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-form-card p {
  color: var(--slate-500);
  font-size: 0.9rem;
  margin-bottom: 22px;
}

.contact-form-card .form-group {
  margin-bottom: 16px;
}

/* ==========================================================================
   FORMAL FOOTER
   ========================================================================== */
.main-footer {
  background: var(--primary-dark);
  color: #cbd5e1;
  padding-top: 70px;
  border-top: 3px solid var(--gold);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.4fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.logo-symbol {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--gold);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  overflow: hidden;
}

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

.footer-logo h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
}

.footer-logo span {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.footer-badge-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.f-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.74rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  color: #f1f5f9;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.footer-col h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--gold);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--gold-light);
  transform: translateX(4px);
}

.op-hours {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.86rem;
  margin-bottom: 20px;
}

.op-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  padding-bottom: 6px;
}

.footer-social-box span {
  display: block;
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 10px;
}

.f-admin-action {
  margin-top: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  font-size: 0.84rem;
  color: #94a3b8;
}

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

.designer-credit {
  color: var(--gold);
  font-weight: 600;
}

/* ==========================================================================
   MODAL DIALOGS
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: modalFadeIn 0.3s ease;
}

.modal-backdrop.open {
  display: flex;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 780px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  position: relative;
  padding: 36px;
  border: 2px solid var(--gold);
  animation: modalZoomIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-sm {
  max-width: 480px;
}

.modal-xl {
  max-width: 1120px;
  width: 95%;
  padding: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.modal-lightbox {
  max-width: 600px;
  text-align: center;
}

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

.modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--slate-400);
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
  z-index: 10;
}

.modal-close:hover {
  color: var(--danger);
  transform: rotate(90deg);
}

.modal-close-static {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--slate-300);
  cursor: pointer;
  line-height: 1;
}

.modal-close-static:hover {
  color: var(--danger);
}

/* ==========================================================================
   LOGIN CARD STYLES
   ========================================================================== */
.login-card {
  padding: 36px 32px;
}

.login-icon-box {
  width: 64px;
  height: 64px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 14px;
  border: 2px solid var(--gold);
}

.login-header h3 {
  font-size: 1.4rem;
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 6px;
}

.login-header p {
  font-size: 0.88rem;
  color: var(--slate-600);
  margin-bottom: 24px;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon i:first-child {
  position: absolute;
  left: 14px;
  color: var(--slate-400);
  pointer-events: none;
}

.input-with-icon input {
  padding-left: 40px !important;
  padding-right: 40px !important;
}

.btn-toggle-pw {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: var(--slate-400);
  cursor: pointer;
  padding: 6px;
}

.btn-toggle-pw:hover {
  color: var(--primary);
}

.pw-hint {
  font-size: 0.78rem;
  color: var(--slate-500);
  margin-top: 4px;
}

.login-error-alert {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-top: 14px;
}

.login-actions {
  margin-top: 24px;
}

/* ==========================================================================
   ADMIN CMS DASHBOARD (FULL MODAL)
   ========================================================================== */
.admin-cms-card {
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  max-height: 88vh;
}

.cms-header {
  background: linear-gradient(135deg, var(--primary-dark), #093f25);
  color: var(--white);
  padding: 18px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--gold);
}

.cms-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cms-badge-icon {
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: var(--primary-dark);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.cms-header-left h3 {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.cms-header-left p {
  font-size: 0.82rem;
  color: var(--gold-light);
}

.cms-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cms-body-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 520px;
  flex: 1;
  overflow: hidden;
}

.cms-sidebar {
  background: var(--white);
  border-right: 1px solid var(--slate-200);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cms-nav-btn {
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  text-align: left;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--slate-700);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.cms-nav-btn i {
  font-size: 1rem;
  color: var(--slate-400);
  width: 20px;
  text-align: center;
}

.cms-nav-btn:hover {
  background: var(--slate-100);
  color: var(--primary);
}

.cms-nav-btn.active {
  background: var(--primary);
  color: var(--white);
}

.cms-nav-btn.active i {
  color: var(--gold-light);
}

.cms-content-area {
  padding: 28px 32px;
  overflow-y: auto;
  max-height: calc(88vh - 80px);
}

.cms-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

.cms-panel.active {
  display: block;
}

.cms-panel-header {
  margin-bottom: 24px;
  border-bottom: 1px solid var(--slate-200);
  padding-bottom: 14px;
}

.cms-panel-header h4 {
  font-size: 1.3rem;
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.cms-panel-header p {
  font-size: 0.88rem;
  color: var(--slate-600);
}

.cms-sub-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.cms-sub-card h5 {
  font-size: 1.05rem;
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cms-form-actions {
  margin-top: 20px;
  display: flex;
  gap: 12px;
}

/* Logo Upload Custom Preview */
.cms-logo-section {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--white);
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
}

.logo-preview-box {
  width: 90px;
  height: 90px;
  background: var(--primary-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--gold);
  flex-shrink: 0;
  overflow: hidden;
}

.logo-inputs {
  flex: 1;
}

/* CMS Data Tables */
.cms-table-wrapper {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}

.cms-table-wrapper h5 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 14px;
}

.cms-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.cms-table th {
  background: var(--slate-100);
  color: var(--slate-700);
  font-weight: 700;
  text-align: left;
  padding: 12px 14px;
  border-bottom: 2px solid var(--slate-200);
}

.cms-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--slate-200);
  color: var(--slate-700);
  vertical-align: middle;
}

.cms-table tr:hover {
  background: var(--slate-50);
}

.btn-action-edit {
  background: #fef9c3;
  color: #854d0e;
  border: 1px solid #facc15;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  margin-right: 6px;
  transition: var(--transition);
}

.btn-action-edit:hover {
  background: #fde047;
}

.btn-action-delete {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #f87171;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-action-delete:hover {
  background: #ef4444;
  color: var(--white);
}

/* Registration Card Modal Specifics */
.reg-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--primary);
  margin-bottom: 20px;
}

.reg-header-emblem {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
  border: 2px solid var(--gold);
}

.reg-header-text h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.reg-header-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}

.reg-header-text p {
  font-size: 0.78rem;
  color: var(--slate-500);
}

.reg-regno-banner {
  background: var(--gold-soft);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  margin-bottom: 24px;
}

.reg-regno-banner .label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: 0.5px;
}

.reg-regno-banner .reg-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 2px;
  margin: 4px 0 8px;
  font-family: monospace;
}

.status-chip.success {
  background: #dcfce7;
  color: #15803d;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.reg-details-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 22px;
}

.reg-details-table th, .reg-details-table td {
  padding: 8px 12px;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--slate-200);
  text-align: left;
}

.reg-details-table th {
  color: var(--slate-600);
  font-weight: 600;
  background: var(--slate-50);
}

.reg-card-instructions {
  background: var(--slate-50);
  border-radius: var(--radius-md);
  padding: 16px;
  font-size: 0.82rem;
  color: var(--slate-700);
  margin-bottom: 24px;
}

.reg-card-instructions h5 {
  font-size: 0.88rem;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.reg-card-instructions ol {
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.reg-card-footer {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}

/* Status Modal Search */
.modal-title-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.modal-title-bar i {
  color: var(--gold);
  font-size: 1.4rem;
}

.modal-title-bar h3 {
  font-size: 1.25rem;
  font-weight: 800;
}

.modal-sub {
  font-size: 0.88rem;
  color: var(--slate-600);
  margin-bottom: 20px;
}

.status-search-form {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.status-search-form input {
  flex: 1;
  padding: 12px 16px;
  border: 1.5px solid var(--slate-300);
  border-radius: var(--radius-md);
  font-family: var(--font-main);
  font-size: 0.92rem;
}

.status-result-area {
  min-height: 40px;
}

.status-found-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 18px;
}

.status-found-card h4 {
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 8px;
}

/* Lightbox Modal */
.lightbox-visual-wrap {
  width: 100%;
  height: 240px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 5rem;
  margin-bottom: 20px;
  border: 2px solid var(--gold);
  overflow: hidden;
}

.lightbox-visual-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox-text h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.lightbox-text p {
  color: var(--slate-600);
  font-size: 0.95rem;
}

/* ==========================================================================
   FLOATING ACTIONS
   ========================================================================== */
.float-wa-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #25d366;
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 1000;
  transition: var(--transition);
}

.float-wa-btn i {
  font-size: 1.4rem;
}

.float-wa-btn:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
  color: var(--white);
}

.back-to-top {
  position: fixed;
  bottom: 85px;
  right: 28px;
  background: var(--primary-dark);
  color: var(--white);
  border: 1px solid var(--gold);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.back-to-top.show {
  display: flex;
}

.back-to-top:hover {
  background: var(--gold);
  color: var(--primary-dark);
  transform: translateY(-3px);
}

/* ==========================================================================
   PRINT STYLES FOR PPDB REGISTRATION SLIP
   ========================================================================== */
@media print {
  body * {
    visibility: hidden;
  }
  .print-area, .print-area * {
    visibility: visible;
  }
  .print-area {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 20px;
    border: 2px solid #000;
    box-shadow: none;
  }
  .no-print, .modal-close {
    display: none !important;
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.6rem;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .welcome-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .welcome-photo-col {
    max-width: 320px;
    margin: 0 auto;
  }
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .teachers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-agenda-layout {
    grid-template-columns: 1fr;
  }
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
  .cms-body-layout {
    grid-template-columns: 1fr;
  }
  .cms-sidebar {
    flex-direction: row;
    overflow-x: auto;
  }
  .cms-nav-btn {
    white-space: nowrap;
  }
}

@media (max-width: 768px) {
  .top-meta {
    display: none;
  }
  .hero-section {
    padding: 60px 0 80px;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-desc {
    font-size: 0.98rem;
  }
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .mobile-toggle {
    display: flex;
  }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    box-shadow: var(--shadow-lg);
    border-bottom: 2px solid var(--primary);
    display: none;
  }
  .nav-menu.mobile-open {
    display: flex;
  }
  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 6px;
  }
  .nav-link {
    width: 100%;
    display: block;
    padding: 10px 14px;
  }
  .nav-actions {
    width: 100%;
    margin-top: 12px;
  }
  .btn-ppdb-glow {
    width: 100%;
    justify-content: center;
  }
  .section-pad {
    padding: 60px 0;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .vision-pillars {
    grid-template-columns: 1fr;
  }
  .tujuan-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .col-span-2 {
    grid-column: span 1;
  }
  .programs-grid {
    grid-template-columns: 1fr;
  }
  .teachers-grid {
    grid-template-columns: 1fr;
  }
  .news-card {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-content {
    grid-template-columns: 1fr;
  }
  .section-header-flex {
    flex-direction: column;
    align-items: stretch;
  }
  .news-search-bar {
    min-width: 100%;
  }
  .float-wa-text {
    display: none;
  }
  .float-wa-btn {
    padding: 14px;
  }
  .cms-logo-section {
    flex-direction: column;
    text-align: center;
  }
}
