/* ==========================================================================
   MI AINUL YAQIN OFFICIAL — MODERN ISLAMIC EDUCATION DESIGN SYSTEM
   Color Palette: Emerald Green, Deep Green, Warm Cream, Gold Accent, Soft Navy
   Typography: Plus Jakarta Sans & Inter
   ========================================================================== */

:root {
  /* Brand Palette */
  --primary-900: #022c22;
  --primary-800: #064e3b;
  --primary-700: #047857;
  --primary-600: #059669;
  --primary-500: #10b981;
  --primary-100: #d1fae5;
  --primary-50:  #ecfdf5;

  /* Gold Accents */
  --gold-700: #b45309;
  --gold-600: #d97706;
  --gold-500: #f59e0b;
  --gold-400: #fbbf24;
  --gold-100: #fef3c7;
  --gold-50:  #fffbeb;

  /* Neutrals & Surfaces */
  --bg-cream: #fdfbf7;
  --bg-body:  #f8fafc;
  --surface-white: #ffffff;
  --surface-card: #ffffff;
  
  --text-dark: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;

  --border-light: #e2e8f0;
  --border-focus: #059669;

  /* Shadows & Elevation */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-gold: 0 4px 14px 0 rgba(217, 119, 6, 0.25);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  /* Container */
  --container-max: 1240px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-body);
  line-height: 1.65;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Accessibility Focus Ring */
:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 2px;
}

.skip-link {
  display: none !important;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4vw + 1rem, 3.25rem); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.6rem, 3vw + 0.5rem, 2.25rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.25rem, 2vw + 0.2rem, 1.5rem); }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

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

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

/* Layout Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Top Announcement Bar & Top Bar (Removed per user request) */
.announcement-bar,
.top-bar {
  display: none !important;
}

/* Header & Navbar */
.site-header {
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 4px 16px rgba(6, 78, 59, 0.04);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  transition: all var(--transition-normal);
  border-bottom: 1px solid rgba(6, 78, 59, 0.06) !important;
}
.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  background-color: rgba(255, 255, 255, 0.98);
}

.navbar {
  padding: 10px 0;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
  padding-right: 8px;
}
.brand-logo-wrap {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: transparent !important;
  border-radius: 0;
  box-shadow: none !important;
  padding: 0 !important;
  border: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.brand-logo:hover .brand-logo-wrap {
  transform: scale(1.08);
}
.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand-info {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
  line-height: 1.2;
}
.brand-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-900);
  line-height: 1.15;
  letter-spacing: 0.4px;
}
.brand-subtitle {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-600);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Nav Menu: centered, beautiful pill items with micro-interactions */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4px;
  margin: 0;
  padding: 0;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1e293b;
  border-radius: 9999px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  white-space: nowrap;
}
.nav-link:hover {
  color: var(--primary-700);
  background-color: var(--primary-50);
}
.nav-link.active {
  color: var(--primary-800);
  background-color: var(--primary-50);
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.3);
}
.nav-chevron {
  transition: transform 0.25s ease;
  opacity: 0.7;
}
.nav-item:hover .nav-chevron {
  transform: rotate(180deg);
  opacity: 1;
  color: var(--primary-700);
}

/* Dropdown Menu with Glassmorphic Floating Feel */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #ffffff;
  min-width: 230px;
  box-shadow: 0 14px 34px rgba(6, 78, 59, 0.12), 0 4px 10px rgba(0, 0, 0, 0.04);
  border-radius: 14px;
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 8px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.97);
  transform-origin: top left;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1050;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.dropdown-link {
  display: block;
  padding: 8px 14px;
  font-size: 0.86rem;
  color: var(--text-body);
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all var(--transition-fast);
}
.dropdown-link:hover {
  background-color: var(--primary-50);
  color: var(--primary-800);
  padding-left: 18px;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header-search-wrap {
  position: relative;
}
.header-search-form {
  display: flex;
  align-items: center;
  position: relative;
}
.header-search-icon {
  position: absolute;
  left: 11px;
  color: #94a3b8;
  pointer-events: none;
}
.header-search-input {
  padding: 6px 12px 6px 30px;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  font-size: 0.82rem;
  width: 105px;
  background-color: #f8fafc;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.header-search-input:focus {
  width: 150px;
  background-color: #ffffff;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
  outline: none;
}
.header-cta-wrap {
  flex-shrink: 0;
}

/* Theme Toggle Button (Light/Dark Mode Micro-Pill Icon Button) */
.btn-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
}
.btn-theme-toggle:hover {
  background: #ecfdf5;
  border-color: #10b981;
  color: #047857;
  transform: translateY(-1px) rotate(12deg);
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.2);
}
.btn-header-login {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-color: #f59e0b;
  color: #92400e;
}
.btn-header-login:hover {
  background: linear-gradient(135deg, #fde68a, #f59e0b);
  border-color: #d97706;
  color: #78350f;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}
[data-theme="dark"] .btn-header-login,
body.dark-theme .btn-header-login {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.4);
  color: #fbbf24;
}
[data-theme="dark"] .btn-header-login:hover,
body.dark-theme .btn-header-login:hover {
  background: rgba(245, 158, 11, 0.25);
  border-color: #f59e0b;
  color: #fef3c7;
}
.theme-icon-sun {
  display: none;
  align-items: center;
  justify-content: center;
}
.theme-icon-moon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-hamburger {
  display: none;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  cursor: pointer;
  padding: 7px 9px;
  border-radius: 10px;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.btn-hamburger:hover {
  background: #d1fae5;
}
.btn-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--primary-900);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ==========================================================================
   GLOBAL BUTTON SYSTEM — "DIV DIV KECIL" MICRO-PILL SYSTEM & INTERACTIONS
   ========================================================================== */
.mia-btn-wrapper {
  display: inline-flex;
  align-items: center;
  position: relative;
  vertical-align: middle;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 9999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.mia-pill-btn {
  border-radius: 9999px !important;
  font-size: 0.85rem !important;
  padding: 7px 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  line-height: 1.2 !important;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.mia-pill-btn .btn-arrow {
  display: inline-block;
  transition: transform 0.25s ease;
  font-size: 1rem;
  line-height: 1;
}
.mia-pill-btn:hover .btn-arrow {
  transform: translateX(4px);
}
.mia-pill-btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: linear-gradient(135deg, #047857 0%, #064e3b 100%);
  color: #ffffff;
  border: 1px solid #059669;
  box-shadow: 0 4px 14px rgba(6, 78, 59, 0.28);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 22px rgba(6, 78, 59, 0.4);
}

.btn-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  border: 1px solid #fbbf24;
  box-shadow: 0 4px 16px rgba(217, 119, 6, 0.32);
}
.btn-gold:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #ffffff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.5);
}

.mia-btn-glow {
  animation: pulseGoldGlow 3s infinite alternate;
}
@keyframes pulseGoldGlow {
  0% { box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35); }
  100% { box-shadow: 0 8px 26px rgba(245, 158, 11, 0.65), 0 0 12px rgba(251, 191, 36, 0.4); }
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.btn-outline {
  background: #ffffff;
  border: 1.5px solid var(--primary-700);
  color: var(--primary-700);
}
.btn-outline:hover {
  background: var(--primary-50);
  color: var(--primary-800);
  border-color: var(--primary-800);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(6, 78, 59, 0.12);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 700;
}

/* Filter buttons micro-pill style */
.filter-btn {
  padding: 7px 18px;
  font-size: 0.84rem;
  font-weight: 700;
  border-radius: 9999px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #475569;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}
.filter-btn:hover {
  border-color: #047857;
  color: #047857;
  background: #ecfdf5;
  transform: translateY(-2px);
}
.filter-btn.active {
  background: linear-gradient(135deg, #047857 0%, #064e3b 100%);
  color: #ffffff;
  border-color: #047857;
  box-shadow: 0 4px 12px rgba(4, 120, 87, 0.25);
  transform: translateY(-1px);
}

/* ==========================================================================
   ANIMATION SUITE — ULTRA PREMIUM SCROLL & HOVER EXPERIENCES
   ========================================================================== */
@keyframes floatSmooth {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes pulseEmeraldGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  50% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
}
@keyframes shimmerSweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

.hero-status-pill {
  animation: floatSmooth 4s ease-in-out infinite;
}
.btn-whatsapp {
  animation: pulseEmeraldGlow 2.5s infinite;
}

/* Card hover lift animations */
.news-card, .program-card, .achieve-card, .teacher-card, .agenda-card, .stat-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease !important;
}
.news-card:hover, .program-card:hover, .achieve-card:hover, .teacher-card:hover {
  transform: translateY(-8px) scale(1.01) !important;
  box-shadow: 0 20px 38px rgba(6, 78, 59, 0.12), 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}
.news-card:hover .news-thumb img, .program-card:hover .program-thumb img, .achieve-card:hover .achieve-img img, .teacher-card:hover img {
  transform: scale(1.06) !important;
}
.news-thumb img, .program-thumb img, .achieve-img img, .gallery-item img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Section Header Component */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px auto;
}
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-50);
  color: var(--primary-800);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  border: 1px solid var(--primary-100);
}
.section-title {
  position: relative;
  margin-bottom: 12px;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
}
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.section-divider span {
  width: 40px;
  height: 2px;
  background-color: var(--gold-500);
}
.section-divider .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--gold-600);
}

/* Sections Global */
.section {
  padding: 72px 0;
}
.section-cream {
  background-color: var(--bg-cream);
}
.section-white {
  background-color: var(--surface-white);
}

/* ==========================================================================
   HERO CAROUSEL — ULTRA DYNAMIC & MODERN ISLAMIC EDUCATION DESIGN
   ========================================================================== */
.hero-slider-section {
  position: relative;
  background-color: #022c22;
  overflow: hidden;
  user-select: none;
}

/* Slider Main Wrapper */
.hero-slider-wrapper {
  position: relative;
  width: 100%;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Individual Slide */
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.85s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.85s;
  display: flex;
  align-items: center;
  z-index: 1;
}
.hero-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 5;
}

/* Slide Background & Animated Ken-Burns */
.hero-slide-bg-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}
.hero-slide-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(0.95) contrast(1.08);
  transform: scale(1.03);
  transition: transform 7s ease-out;
}
.hero-slide.active .hero-slide-bg {
  transform: scale(1.12);
}
.hero-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, 
    rgba(2, 28, 22, 0.45) 0%, 
    rgba(2, 44, 34, 0.68) 55%, 
    rgba(2, 44, 34, 0.92) 100%
  );
  z-index: 2;
}
.hero-slide-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(245, 158, 11, 0.18) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  opacity: 0.65;
  z-index: 3;
}

/* Container & Centered/Clean Content Flow */
.hero-slide-container {
  position: relative;
  z-index: 10;
  width: 100%;
  padding-top: 40px;
  padding-bottom: 60px;
}
.hero-slide-content {
  color: var(--text-white);
  max-width: 860px;
}

/* Meta Row: Status Pill, Tag, and Slide Counter */
.hero-slide-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(2, 44, 34, 0.75);
  backdrop-filter: blur(12px);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(245, 158, 11, 0.35);
  font-size: 0.75rem;
  font-weight: 800;
  color: #fde68a;
  letter-spacing: 1px;
}
.status-pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--gold-400);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--gold-400);
  animation: pulseGlow 1.8s infinite;
}
.hero-slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(251, 191, 36, 0.55);
  color: #fde68a;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.8px;
}
.hero-slide-badge .badge-icon {
  font-size: 0.9rem;
}
.hero-slide-counter {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(2, 44, 34, 0.75);
  backdrop-filter: blur(12px);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 0.8rem;
  color: #ffffff;
}
.counter-label {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  font-size: 0.72rem;
}
.counter-curr {
  font-weight: 800;
  color: var(--gold-400);
  font-size: 0.92rem;
}
.counter-sep {
  color: rgba(255, 255, 255, 0.4);
}
.counter-total {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
}

/* Hero Typography with Contrast Glow */
.hero-slide-title {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.55);
}
.hero-slide-desc {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: #f1f5f9;
  line-height: 1.65;
  margin-bottom: 28px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  max-width: 740px;
}

/* CTA Action Buttons */
.hero-slide-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.btn-hero-primary {
  padding: 13px 28px;
  font-size: 1rem;
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.4);
}
.btn-hero-primary .btn-arrow {
  transition: transform 0.25s ease;
  display: inline-block;
}
.btn-hero-primary:hover .btn-arrow {
  transform: translateX(4px);
}
.btn-hero-secondary {
  padding: 12px 24px;
  font-size: 0.98rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  border-radius: var(--radius-full);
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-normal);
}
.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Hero Key USP Row */
.hero-usp-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-usp-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.82rem;
  font-weight: 600;
  color: #f8fafc;
}
.hero-usp-icon {
  font-size: 0.95rem;
}

/* Animations for Slide Layers */
.hero-slide.active .slide-anim-badge {
  animation: slideInDown 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-slide.active .slide-anim-title {
  animation: slideInLeft 0.75s 0.12s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-slide.active .slide-anim-desc {
  animation: fadeInUp 0.75s 0.24s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-slide.active .slide-anim-actions {
  animation: fadeInUp 0.75s 0.36s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-slide.active .slide-anim-usp {
  animation: fadeInUp 0.75s 0.48s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes slideInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulseGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.15); }
}

/* Large Glassmorphic Arrow Controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 25;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(2, 44, 34, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(245, 158, 11, 0.45);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.slider-arrow:hover {
  background: var(--gold-500);
  border-color: var(--gold-400);
  color: #ffffff;
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.45);
}
.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

/* Bottom Interactive Controls & Real-Time Progress Bar */
.hero-slider-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 25;
}
.hero-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 20px;
}
.hero-progress-track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  overflow: hidden;
}
.hero-progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-400) 0%, var(--gold-600) 100%);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
  border-radius: 2px;
  transition: width 0.1s linear;
}

/* Dots with Active Pill Expansion */
.slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.slider-dot {
  width: 10px;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
}
.slider-dot:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.15);
}
.slider-dot.active {
  width: 34px;
  background: linear-gradient(90deg, var(--gold-400) 0%, var(--gold-500) 100%);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.6);
}

/* Animations for Slide Layers */
.hero-slide.active .slide-anim-badge {
  animation: slideInDown 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-slide.active .slide-anim-title {
  animation: slideInLeft 0.75s 0.12s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-slide.active .slide-anim-desc {
  animation: fadeInUp 0.75s 0.24s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-slide.active .slide-anim-actions {
  animation: fadeInUp 0.75s 0.36s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-slide.active .slide-anim-usp {
  animation: fadeInUp 0.75s 0.48s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-slide.active .slide-anim-card {
  animation: zoomInGlass 0.85s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes slideInDown {
  from { opacity: 0; transform: translateY(-24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-36px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes zoomInGlass {
  from { opacity: 0; transform: scale(0.92) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes pulseGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.15); }
}

/* Large Glassmorphic Arrow Controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(2, 44, 34, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(245, 158, 11, 0.45);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.slider-arrow:hover {
  background: var(--gold-500);
  border-color: var(--gold-400);
  color: #ffffff;
  transform: translateY(-50%) scale(1.14);
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.45);
}
.slider-arrow.prev { left: 28px; }
.slider-arrow.next { right: 28px; }

/* Bottom Interactive Controls & Real-Time Progress Bar */
.hero-slider-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 20;
}
.hero-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 22px;
}
.hero-progress-track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  overflow: hidden;
}
.hero-progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-400) 0%, var(--gold-600) 100%);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
  border-radius: 2px;
  transition: width 0.1s linear;
}

/* Dots with Active Pill Expansion */
.slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.slider-dot {
  width: 12px;
  height: 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
}
.slider-dot:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.15);
}
.slider-dot.active {
  width: 38px;
  background: linear-gradient(90deg, var(--gold-400) 0%, var(--gold-500) 100%);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.6);
}

/* ==========================================================================
   SUBPAGE SLIDER COMPONENT — DYNAMIC ANIMATED HERO BANNER CAROUSEL
   ========================================================================== */
.subpage-slider-section {
  position: relative;
  background-color: #022c22;
  overflow: hidden;
  user-select: none;
  border-bottom: 3px solid rgba(245, 158, 11, 0.45);
}
.subpage-slider-wrapper {
  position: relative;
  width: 100%;
  min-height: 440px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.subpage-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.8s;
  display: flex;
  align-items: center;
  z-index: 1;
}
.subpage-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 5;
}
.subpage-slide-bg-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}
.subpage-slide-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(0.88) contrast(1.1);
  transform: scale(1.02);
  transition: transform 6.5s ease-out;
}
.subpage-slide.active .subpage-slide-bg {
  transform: scale(1.10);
}
.subpage-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(2, 44, 34, 0.88) 0%, 
    rgba(6, 78, 59, 0.76) 50%, 
    rgba(2, 44, 34, 0.92) 100%
  );
  z-index: 2;
}
.subpage-slide-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(245, 158, 11, 0.22) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  opacity: 0.7;
  z-index: 3;
}
.subpage-slide-container {
  position: relative;
  z-index: 10;
  width: 100%;
  padding-top: 50px;
  padding-bottom: 65px;
}
.subpage-slide-content {
  color: #ffffff;
  max-width: 820px;
}
.subpage-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.subpage-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.22);
  border: 1px solid rgba(245, 158, 11, 0.6);
  color: #fde68a;
  padding: 5px 14px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.subpage-counter {
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 0.75rem;
  font-weight: 800;
  color: #a7f3d0;
  background: rgba(6, 78, 59, 0.6);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 4px 10px;
  border-radius: 9999px;
  letter-spacing: 1px;
}
.subpage-slide-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.subpage-slide.active .subpage-slide-title {
  animation: slideFadeUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.subpage-slide-desc {
  font-size: 1.02rem;
  line-height: 1.7;
  color: #d1fae5;
  margin-bottom: 22px;
  max-width: 680px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}
.subpage-slide.active .subpage-slide-desc {
  animation: slideFadeUp 0.75s 0.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.subpage-slide-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.subpage-slide.active .subpage-slide-actions {
  animation: slideFadeUp 0.85s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes slideFadeUp {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Subpage Arrows */
.subpage-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(2, 44, 34, 0.65);
  border: 1.5px solid rgba(245, 158, 11, 0.4);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 15;
  backdrop-filter: blur(8px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.subpage-slider-arrow:hover {
  background: #f59e0b;
  color: #022c22;
  border-color: #f59e0b;
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
}
.subpage-slider-arrow.prev { left: 24px; }
.subpage-slider-arrow.next { right: 24px; }

/* Subpage Dots Navigation */
.subpage-slider-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 15;
}
.subpage-slider-dot {
  width: 10px;
  height: 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.subpage-slider-dot.active {
  width: 28px;
  background: #f59e0b;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
}

/* Progress bar line at bottom */
.subpage-progress-track {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  z-index: 16;
}
.subpage-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #10b981 0%, #f59e0b 100%);
  transition: width 0.1s linear;
}

@media (max-width: 768px) {
  .subpage-slider-wrapper { min-height: 380px; }
  .subpage-slider-arrow { display: none; }
  .subpage-slide-title { font-size: 1.55rem; }
  .subpage-slide-desc { font-size: 0.9rem; margin-bottom: 18px; }
  .subpage-slide-container { padding-top: 36px; padding-bottom: 48px; }
}

/* ==========================================================================
   QUICK STATISTICS SECTION — 3D FLOATING TILT CARDS
   ========================================================================== */
.stats-outer-wrapper {
  position: relative;
  z-index: 30;
  margin-top: -54px;
}
.stats-section {
  position: relative;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  background: linear-gradient(135deg, #072e23 0%, #031c16 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 18px;
  border-radius: 18px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(6, 78, 59, 0.25);
  border: 1px solid rgba(52, 211, 153, 0.25);
}
.stat-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.stat-card:hover {
  transform: translateY(-4px) scale(1.02);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  border-color: rgba(52, 211, 153, 0.45);
}
.stat-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(52, 211, 153, 0.35);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}
.stat-card-icon svg {
  width: 19px;
  height: 19px;
}
.stat-card-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.stat-number {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.1;
  letter-spacing: -0.4px;
}
.stat-label {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 600;
  margin-top: 2px;
  white-space: nowrap;
}
.stat-card-gold {
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.12);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.12);
}
.stat-card-gold .stat-card-icon {
  background: rgba(245, 158, 11, 0.25);
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.4);
}
.stat-gold-text {
  color: #fbbf24;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.2px;
  line-height: 1.2;
}

/* Color-coded Icon Themes for Quick Statistics */
.icon-emerald { background: rgba(16, 185, 129, 0.2); color: #34d399; border-color: rgba(52, 211, 153, 0.35); }
.icon-teal    { background: rgba(20, 184, 166, 0.2); color: #2dd4bf; border-color: rgba(45, 212, 191, 0.35); }
.icon-blue    { background: rgba(14, 165, 233, 0.2); color: #38bdf8; border-color: rgba(56, 189, 248, 0.35); }
.icon-indigo  { background: rgba(99, 102, 241, 0.2); color: #818cf8; border-color: rgba(129, 140, 248, 0.35); }
.icon-bronze  { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border-color: rgba(251, 191, 36, 0.35); }
.icon-gold-royal { background: rgba(245, 158, 11, 0.25); color: #fbbf24; border-color: rgba(251, 191, 36, 0.45); }

.stat-card-emerald:hover { border-color: #10b981; box-shadow: 0 10px 24px rgba(16, 185, 129, 0.25); }
.stat-card-teal:hover    { border-color: #14b8a6; box-shadow: 0 10px 24px rgba(20, 184, 166, 0.25); }
.stat-card-blue:hover    { border-color: #0284c7; box-shadow: 0 10px 24px rgba(2, 132, 199, 0.25); }
.stat-card-indigo:hover  { border-color: #6366f1; box-shadow: 0 10px 24px rgba(99, 102, 241, 0.25); }
.stat-card-bronze:hover  { border-color: #f59e0b; box-shadow: 0 10px 24px rgba(245, 158, 11, 0.25); }

.stat-card-gold-royal {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.12);
}
.stat-card-gold-royal:hover {
  transform: translateY(-4px) scale(1.02);
  background: rgba(245, 158, 11, 0.2);
  border-color: rgba(245, 158, 11, 0.6);
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.25);
}
.stat-card-gold-royal .stat-number {
  font-size: 1.05rem;
  color: #fbbf24;
  line-height: 1.2;
}
.stat-gold-sub {
  font-size: 0.68rem;
  color: #fcd34d;
  font-weight: 700;
  letter-spacing: 0.3px;
  white-space: nowrap;
}


/* ==========================================================================
   SAMBUTAN & BRANDING OVERHAUL
   ========================================================================== */
.drawer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.drawer-logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 10px;
  padding: 3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1.5px solid rgba(245, 158, 11, 0.4);
}
.drawer-brand-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-900);
  line-height: 1.2;
}
.drawer-brand-sub {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-600);
  letter-spacing: 0.8px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.footer-logo-wrap {
  width: 58px;
  height: 58px;
  background: #ffffff;
  border-radius: 14px;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  border: 2px solid rgba(245, 158, 11, 0.45);
  flex-shrink: 0;
}
.footer-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.footer-brand-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: 0.5px;
}
.footer-brand-sub {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-400);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.footer-badge-accred {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  color: #fde68a;
  font-weight: 700;
}

/* SAMBUTAN KEPALA MADRASAH (COMPACT & TIGHT SPACING) */
.section-sambutan {
  padding: 36px 0 42px 0 !important;
}
.greeting-card {
  background: var(--surface-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(6, 78, 59, 0.08), 0 2px 6px rgba(0, 0, 0, 0.03);
  display: grid;
  grid-template-columns: 260px 1fr;
  border: 1px solid rgba(6, 78, 59, 0.1);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}
.greeting-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(6, 78, 59, 0.12);
}
.greeting-photo {
  position: relative;
  background: linear-gradient(135deg, #022c22 0%, #064e3b 50%, #047857 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 18px;
}
.greeting-photo-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(245, 158, 11, 0.55);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
  max-width: 220px;
  width: 100%;
}
.greeting-photo-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s ease;
}
.greeting-photo-card:hover img {
  transform: scale(1.04);
}
.greeting-photo-badge {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 9999px;
  letter-spacing: 0.6px;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(251, 191, 36, 0.5);
}
.greeting-photo-badge .badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fde68a;
  display: inline-block;
}
.greeting-body {
  padding: 24px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.greeting-quote-mark {
  color: var(--gold-500);
  font-size: 1.8rem;
  line-height: 1;
  margin-bottom: 2px;
}
.greeting-heading {
  font-size: 1.35rem !important;
  margin-bottom: 8px !important;
  color: var(--primary-900);
  line-height: 1.25;
}
.greeting-text {
  margin-bottom: 12px;
}
.greeting-para {
  font-size: 0.90rem;
  line-height: 1.55;
  color: var(--text-body);
  margin-bottom: 8px;
}
.greeting-para:last-child {
  margin-bottom: 0;
}
.greeting-meta-wrap {
  margin-top: 6px;
}
.greeting-author-name {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--primary-900);
  line-height: 1.2;
}
.greeting-author-title {
  color: var(--gold-600);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.3px;
  margin-top: 1px;
}
.greeting-btn-wrap {
  margin-top: 14px;
}

@media (max-width: 768px) {
  .greeting-card {
    grid-template-columns: 1fr;
    border-radius: 16px;
  }
  .greeting-photo {
    padding: 20px 16px 12px 16px;
  }
  .greeting-photo-card {
    max-width: 170px;
  }
  .greeting-photo-card img {
    height: 200px;
  }
  .greeting-body {
    padding: 18px 20px;
  }
  .greeting-heading {
    font-size: 1.2rem !important;
  }
}

/* PROGRAM UNGGULAN */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.program-card {
  background: var(--surface-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
}
.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-500);
}
.program-thumb {
  height: 190px;
  overflow: hidden;
}
.program-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.program-card:hover .program-thumb img {
  transform: scale(1.05);
}
.program-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.program-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--primary-900);
}
.program-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  flex-grow: 1;
  margin-bottom: 18px;
}

/* BERITA & ARTIKEL */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.news-card {
  background: var(--surface-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}
.news-thumb {
  position: relative;
  height: 210px;
  overflow: hidden;
}
.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.news-card:hover .news-thumb img {
  transform: scale(1.06);
}
.news-category-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--primary-800);
  color: var(--text-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}
.news-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.news-title {
  font-size: 1.15rem;
  margin-bottom: 12px;
  line-height: 1.4;
}
.news-title a {
  color: var(--text-dark);
}
.news-title a:hover {
  color: var(--primary-700);
}
.news-summary {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 18px;
  flex-grow: 1;
}

/* AGENDA & PENGUMUMAN SPLIT */
.agenda-announcement-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.agenda-card {
  background: var(--surface-white);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--border-light);
  display: flex;
  gap: 18px;
  margin-bottom: 16px;
  transition: all var(--transition-normal);
}
.agenda-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-500);
}
.agenda-date-box {
  min-width: 72px;
  height: 80px;
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.agenda-day {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-800);
  line-height: 1;
}
.agenda-month {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-600);
  text-transform: uppercase;
}
.agenda-info {
  flex-grow: 1;
}
.agenda-title {
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.agenda-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.announcement-item {
  background: var(--surface-white);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--border-light);
  margin-bottom: 16px;
  border-left: 4px solid var(--gold-500);
  transition: all var(--transition-normal);
}
.announcement-item:hover {
  box-shadow: var(--shadow-md);
}
.announcement-title {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

/* PRESTASI */
.achieve-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.achieve-card {
  background: var(--surface-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal);
}
.achieve-card:hover {
  transform: translateY(-5px);
}
.achieve-img {
  height: 200px;
}
.achieve-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.achieve-body {
  padding: 20px;
}
.achieve-badge {
  display: inline-block;
  background: var(--gold-100);
  color: var(--gold-700);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}
.achieve-student {
  font-weight: 700;
  color: var(--primary-800);
  font-size: 0.95rem;
  margin-bottom: 6px;
}

/* MASONRY / GRID GALERI & LIGHTBOX */
.gallery-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.filter-btn {
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-body);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--primary-700);
  color: var(--text-white);
  border-color: var(--primary-700);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img {
  transform: scale(1.08);
}
.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(2, 44, 34, 0.75);
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  transition: opacity var(--transition-normal);
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-caption {
  color: var(--text-white);
  font-weight: 700;
  font-size: 1rem;
}

/* Lightbox Modal */
.mia-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.mia-lightbox.active {
  display: flex;
}
.lightbox-content {
  position: relative;
  max-width: 900px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-content img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xl);
}
.lightbox-caption {
  color: #ffffff;
  margin-top: 14px;
  font-size: 1.05rem;
  font-weight: 600;
}
.lightbox-btn {
  position: absolute;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.4rem;
  transition: background var(--transition-fast);
}
.lightbox-btn:hover {
  background: var(--gold-500);
}
.lightbox-close { top: -50px; right: 0; }
.lightbox-prev { left: -60px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: -60px; top: 50%; transform: translateY(-50%); }

/* CTA BANNER PPDB */
.ppdb-cta-section {
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-800) 100%);
  color: var(--text-white);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.ppdb-cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  z-index: 2;
}
.ppdb-cta-text h2 {
  color: var(--text-white);
  margin-bottom: 12px;
}
.ppdb-cta-text p {
  color: #d1fae5;
  font-size: 1.1rem;
  max-width: 640px;
}

/* FAQ ACCORDION */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: var(--surface-white);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: box-shadow var(--transition-fast);
}
.faq-header {
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  color: var(--text-dark);
}
.faq-header:hover {
  background-color: var(--bg-cream);
  color: var(--primary-700);
}
.faq-icon {
  font-size: 1.2rem;
  transition: transform var(--transition-fast);
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}
.faq-body {
  padding: 0 22px 20px 22px;
  color: var(--text-body);
  display: none;
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
}
.faq-item.active .faq-body {
  display: block;
}

/* FOOTER */
.site-footer {
  background: #022c22;
  color: #cbd5e1;
  padding-top: 64px;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.footer-logo-wrap {
  width: 44px;
  height: 44px;
  background: #ffffff;
  border-radius: 10px;
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  border: 1.5px solid rgba(245, 158, 11, 0.45);
  flex-shrink: 0;
}
.footer-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none !important;
  margin-bottom: 0 !important;
}
.footer-title {
  color: var(--text-white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}
.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background: var(--gold-500);
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: #94a3b8;
  transition: color var(--transition-fast);
}
.footer-links a:hover {
  color: var(--gold-400);
  padding-left: 4px;
}
.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}
.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}

/* Floating WhatsApp & Back to Top */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 990;
}
.btn-whatsapp {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition-fast);
}
.btn-whatsapp:hover {
  transform: scale(1.1);
  color: #ffffff;
}
.btn-back-top {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.btn-back-top.show {
  display: flex;
}
.btn-back-top:hover {
  background: var(--primary-700);
  color: #ffffff;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.mobile-drawer.active {
  opacity: 1;
  visibility: visible;
}
.drawer-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 320px;
  max-width: 86vw;
  height: 100%;
  background: var(--surface-white);
  box-shadow: 10px 0 35px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0 16px;
  padding-top: max(20px, env(safe-area-inset-top, 24px));
  padding-bottom: max(20px, env(safe-area-inset-bottom, 24px));
  overflow-y: auto;
  scrollbar-width: thin;
}
.mobile-drawer.active .drawer-panel {
  transform: translateX(0);
}
.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0 14px 0;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
  flex-shrink: 0;
}
.drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.drawer-logo-wrap {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--primary-500);
  padding: 1px;
  background: #ffffff;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
}
.drawer-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}
.drawer-brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.drawer-brand-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.2px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.drawer-brand-sub {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--gold-600);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.drawer-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.drawer-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: var(--bg-body);
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  padding: 0;
}
.drawer-close:hover {
  background: var(--primary-50);
  color: var(--primary-700);
  border-color: var(--primary-500);
}
.drawer-body {
  flex-grow: 1;
  overflow-y: auto;
  padding-right: 2px;
  margin-bottom: 12px;
}
.drawer-section-title {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  margin: 16px 0 6px 8px;
}
.drawer-section-title:first-child {
  margin-top: 4px;
}
.drawer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.drawer-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  font-weight: 600;
  font-size: 0.84rem;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.15s ease;
}
.drawer-link:hover {
  background: var(--primary-50);
  color: var(--primary-700);
  transform: translateX(3px);
}
.drawer-link.active {
  background: var(--primary-50);
  color: var(--primary-700);
  font-weight: 700;
  box-shadow: inset 3px 0 0 var(--primary-600);
}
.drawer-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.drawer-link-text {
  flex-grow: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.drawer-link-arrow {
  color: var(--text-muted);
  font-size: 1.15rem;
  opacity: 0.4;
  line-height: 1;
}
.drawer-badge-open {
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 9999px;
  background: #f59e0b;
  color: #ffffff;
  letter-spacing: 0.5px;
  margin-right: 4px;
  animation: pulseOpenBadge 2s infinite ease-in-out;
}
@keyframes pulseOpenBadge {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
  50% { transform: scale(1.05); box-shadow: 0 0 0 4px rgba(245, 158, 11, 0); }
}
.ppdb-highlight {
  background: rgba(245, 158, 11, 0.08);
  border: 1px dashed rgba(245, 158, 11, 0.35);
}
.drawer-footer {
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  flex-shrink: 0;
}
.btn-drawer-portal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary-700), var(--primary-600));
  color: #ffffff;
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(4, 120, 87, 0.25);
  transition: all 0.15s ease;
}
.btn-drawer-portal:hover {
  background: linear-gradient(135deg, var(--primary-800), var(--primary-700));
  color: #ffffff;
}
.drawer-footer-note {
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* Pagination Component */
.mia-pagination {
  margin: 40px 0;
  display: flex;
  justify-content: center;
}
.pagination-list {
  display: flex;
  list-style: none;
  gap: 8px;
  align-items: center;
}
.page-link {
  padding: 8px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background: var(--surface-white);
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-block;
}
.page-link:hover, .page-link.active {
  background: var(--primary-700);
  color: var(--text-white);
  border-color: var(--primary-700);
}
.page-link.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Intermediate Laptop Optimization (1024px - 1200px) */
@media (max-width: 1200px) and (min-width: 1024px) {
  .nav-menu { gap: 2px; }
  .nav-link { padding: 6px 8px; font-size: 0.83rem; }
  .brand-title { font-size: 0.95rem; }
  .brand-subtitle { font-size: 0.68rem; }
  .header-search-input { width: 85px; }
  .header-search-input:focus { width: 120px; }
}

/* Tablet & Mobile Breakpoint (Below 1024px) */
@media (max-width: 1023px) {
  .nav-menu { display: none !important; }
  .header-search-wrap { display: none !important; }
  .btn-hamburger { display: flex !important; }
  .greeting-card { grid-template-columns: 1fr; }
  .greeting-photo { padding: 32px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-slider-wrapper { min-height: 520px; }
}

@media (max-width: 768px) {
  .top-bar { display: none; }
  .navbar { padding: 6px 0; }
  .brand-logo-wrap { width: 36px; height: 36px; }
  .brand-title { font-size: 0.95rem; }
  .brand-subtitle { font-size: 0.65rem; }
  .agenda-announcement-grid { grid-template-columns: 1fr; gap: 28px; }
  .ppdb-cta-box { flex-direction: column; text-align: center; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-slider-wrapper { min-height: 480px; }
  .hero-slide-content { padding: 0 4px; }
  .hero-slide-title { font-size: 1.65rem; line-height: 1.25; margin-bottom: 12px; }
  .hero-slide-desc { font-size: 0.92rem; margin-bottom: 20px; line-height: 1.6; }
  .hero-slide-actions { gap: 10px; }
  .slider-arrow { display: none; } /* swipe on touch */
  .section { padding: 48px 0; }
  
  /* Stats Grid Compact on Mobile */
  .stats-outer-wrapper { margin-top: -36px; padding: 0 12px; }
  .stats-grid { 
    grid-template-columns: repeat(2, 1fr); 
    padding: 14px; 
    gap: 10px; 
    border-radius: 18px; 
  }
  .stat-card { padding: 10px; gap: 10px; border-radius: 12px; }
  .stat-card-icon { width: 38px; height: 38px; font-size: 1.1rem; border-radius: 10px; }
  .stat-card-icon svg { width: 18px; height: 18px; }
  .stat-number { font-size: 1.3rem; }
  .stat-label { font-size: 0.72rem; }
  
  /* Greeting Card on Mobile */
  .greeting-card { grid-template-columns: 1fr; border-radius: 20px; }
  .greeting-photo { padding: 24px 16px 16px 16px; }
  .greeting-photo-card { max-width: 220px; }
  .greeting-photo-card img { height: 260px; }
  .greeting-body { padding: 24px 18px; text-align: center; }
  .greeting-body .greeting-quote-mark { font-size: 2.2rem; }
  .greeting-text { font-size: 0.95rem; line-height: 1.65; margin-bottom: 16px; }
  .greeting-body .mia-btn-wrapper { justify-content: center; }

  /* Gallery and Directory on Mobile */
  .gallery-filter { gap: 6px !important; }
  .filter-btn { padding: 6px 12px !important; font-size: 0.78rem !important; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
  .directory-control-bar { flex-direction: column; align-items: stretch !important; padding: 14px !important; }
  
  /* Floating actions mobile safe offset */
  .floating-actions { bottom: 18px; right: 18px; gap: 8px; }
  .btn-whatsapp { width: 46px; height: 46px; font-size: 1.3rem; }
  .btn-back-top { width: 40px; height: 40px; }
}

/* ==========================================================================
   UNIVERSAL SCROLL REVEAL ANIMATIONS — PREMIUM BEZIER REVEALS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.reveal-active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-left.reveal-active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-right.reveal-active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-scale.reveal-active {
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 480px) {
  .hero-slider-wrapper { min-height: 440px; }
  .hero-slide-title { font-size: 1.45rem; }
  .hero-slide-meta-row { gap: 6px; flex-wrap: wrap; }
  .hero-status-pill, .hero-slide-badge, .hero-slide-counter { font-size: 0.7rem; padding: 4px 10px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .stat-card { padding: 8px; gap: 8px; }
  .stat-card-icon { width: 34px; height: 34px; }
  .stat-number { font-size: 1.15rem; }
  .stat-label { font-size: 0.68rem; }
  .btn-hero-primary, .btn-hero-secondary { width: 100%; text-align: center; justify-content: center; }
  .gallery-grid { grid-template-columns: 1fr !important; }
}

/* ==========================================================================
   DARK / LIGHT THEME SYSTEM — PREMIUM ISLAMIC NIGHT LUXE
   Supports: [data-theme="dark"], body.dark-theme, and smooth transitions
   ========================================================================== */

/* Dark Mode Variables */
[data-theme="dark"],
body.dark-theme {
  --bg-body: #031510;
  --bg-cream: #061e17;
  --surface-white: #0a261e;
  --surface-card: #0c2e24;
  --text-dark: #f8fafc;
  --text-body: #cbd5e1;
  --text-muted: #94a3b8;
  --text-light: #64748b;
  --border-light: rgba(255, 255, 255, 0.1);
  --border-focus: #10b981;
  --primary-50: rgba(16, 185, 129, 0.12);
  --primary-100: rgba(16, 185, 129, 0.2);
  --gold-50: rgba(245, 158, 11, 0.12);
  --gold-100: rgba(245, 158, 11, 0.2);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 10px 24px rgba(0, 0, 0, 0.55);
}

/* Sun / Moon Icons Toggle */
[data-theme="dark"] .theme-icon-sun,
body.dark-theme .theme-icon-sun {
  display: inline-flex;
  color: #fbbf24;
}
[data-theme="dark"] .theme-icon-moon,
body.dark-theme .theme-icon-moon {
  display: none;
}
[data-theme="dark"] .btn-theme-toggle,
body.dark-theme .btn-theme-toggle {
  background: #0d3328;
  border-color: rgba(251, 191, 36, 0.35);
  color: #fbbf24;
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.2);
}
[data-theme="dark"] .btn-theme-toggle:hover,
body.dark-theme .btn-theme-toggle:hover {
  background: #124335;
  border-color: #fbbf24;
  box-shadow: 0 0 18px rgba(251, 191, 36, 0.35);
}

/* Dark Mode Body & Global Overrides */
[data-theme="dark"] body,
body.dark-theme {
  background-color: #031510;
  color: #cbd5e1;
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6,
body.dark-theme h1,
body.dark-theme h2,
body.dark-theme h3,
body.dark-theme h4,
body.dark-theme h5,
body.dark-theme h6 {
  color: #f8fafc;
}

/* Header & Navigation in Dark Mode */
[data-theme="dark"] .site-header,
body.dark-theme .site-header {
  background-color: rgba(3, 21, 16, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
[data-theme="dark"] .site-header.scrolled,
body.dark-theme .site-header.scrolled {
  background-color: rgba(3, 21, 16, 0.98);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}
[data-theme="dark"] .brand-title,
body.dark-theme .brand-title {
  color: #f8fafc;
}
[data-theme="dark"] .brand-subtitle,
body.dark-theme .brand-subtitle {
  color: #34d399;
}
[data-theme="dark"] .brand-logo-wrap,
body.dark-theme .brand-logo-wrap {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
[data-theme="dark"] .nav-link,
body.dark-theme .nav-link {
  color: #e2e8f0;
}
[data-theme="dark"] .nav-link:hover,
body.dark-theme .nav-link:hover {
  color: #34d399;
  background-color: rgba(16, 185, 129, 0.15);
}
[data-theme="dark"] .nav-link.active,
body.dark-theme .nav-link.active {
  color: #34d399;
  background-color: rgba(16, 185, 129, 0.18);
  box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.4);
}
[data-theme="dark"] .nav-dropdown,
body.dark-theme .nav-dropdown {
  background: #0b2c23;
  border-color: rgba(52, 211, 153, 0.25);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}
[data-theme="dark"] .dropdown-link,
body.dark-theme .dropdown-link {
  color: #cbd5e1;
}
[data-theme="dark"] .dropdown-link:hover,
body.dark-theme .dropdown-link:hover {
  background-color: rgba(52, 211, 153, 0.15);
  color: #34d399;
}
[data-theme="dark"] .header-search-input,
body.dark-theme .header-search-input {
  background-color: #072018;
  border-color: rgba(255, 255, 255, 0.15);
  color: #f8fafc;
}
[data-theme="dark"] .header-search-input:focus,
body.dark-theme .header-search-input:focus {
  background-color: #0b2f24;
  border-color: #10b981;
}
[data-theme="dark"] .header-search-icon,
body.dark-theme .header-search-icon {
  color: #94a3b8;
}
[data-theme="dark"] .btn-hamburger,
body.dark-theme .btn-hamburger {
  background: #0d3328;
  border-color: rgba(52, 211, 153, 0.3);
}
[data-theme="dark"] .btn-hamburger span,
body.dark-theme .btn-hamburger span {
  background-color: #f8fafc;
}

/* Mobile Drawer in Dark Mode */
[data-theme="dark"] .mobile-drawer .drawer-panel,
body.dark-theme .mobile-drawer .drawer-panel {
  background: #061e17 !important;
  color: #cbd5e1 !important;
  border-right: 1px solid rgba(16, 185, 129, 0.2) !important;
}
[data-theme="dark"] .drawer-header,
body.dark-theme .drawer-header {
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}
[data-theme="dark"] .drawer-logo-wrap,
body.dark-theme .drawer-logo-wrap {
  background: #031510 !important;
  border-color: #10b981 !important;
}
[data-theme="dark"] .drawer-brand-title,
body.dark-theme .drawer-brand-title {
  color: #f8fafc !important;
}
[data-theme="dark"] .drawer-brand-sub,
body.dark-theme .drawer-brand-sub {
  color: #34d399 !important;
}
[data-theme="dark"] .drawer-close,
body.dark-theme .drawer-close {
  background: #0c2b22 !important;
  color: #f8fafc !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}
[data-theme="dark"] .drawer-close:hover,
body.dark-theme .drawer-close:hover {
  background: #059669 !important;
  color: #ffffff !important;
}
[data-theme="dark"] .drawer-section-title,
body.dark-theme .drawer-section-title {
  color: #6ee7b7 !important;
}
[data-theme="dark"] .drawer-link,
body.dark-theme .drawer-link {
  color: #cbd5e1 !important;
}
[data-theme="dark"] .drawer-link:hover,
body.dark-theme .drawer-link:hover {
  background: rgba(16, 185, 129, 0.15) !important;
  color: #34d399 !important;
}
[data-theme="dark"] .drawer-link.active,
body.dark-theme .drawer-link.active {
  background: rgba(16, 185, 129, 0.22) !important;
  color: #34d399 !important;
  box-shadow: inset 3px 0 0 #10b981 !important;
}
[data-theme="dark"] .drawer-icon.icon-emerald,
body.dark-theme .drawer-icon.icon-emerald {
  background: rgba(16, 185, 129, 0.18) !important;
  color: #34d399 !important;
}
[data-theme="dark"] .drawer-icon.icon-blue,
body.dark-theme .drawer-icon.icon-blue {
  background: rgba(59, 130, 246, 0.18) !important;
  color: #60a5fa !important;
}
[data-theme="dark"] .drawer-icon.icon-amber,
body.dark-theme .drawer-icon.icon-amber {
  background: rgba(245, 158, 11, 0.18) !important;
  color: #fbbf24 !important;
}
[data-theme="dark"] .drawer-icon.icon-gold,
body.dark-theme .drawer-icon.icon-gold {
  background: rgba(217, 119, 6, 0.18) !important;
  color: #fde68a !important;
}
[data-theme="dark"] .drawer-icon.icon-purple,
body.dark-theme .drawer-icon.icon-purple {
  background: rgba(168, 85, 247, 0.18) !important;
  color: #c084fc !important;
}
[data-theme="dark"] .drawer-icon.icon-rose,
body.dark-theme .drawer-icon.icon-rose {
  background: rgba(244, 63, 94, 0.18) !important;
  color: #fb7185 !important;
}
[data-theme="dark"] .drawer-footer,
body.dark-theme .drawer-footer {
  border-top-color: rgba(255, 255, 255, 0.08) !important;
  background: #041611 !important;
}
[data-theme="dark"] .drawer-login-btn,
body.dark-theme .drawer-login-btn {
  background: rgba(16, 185, 129, 0.12) !important;
  color: #34d399 !important;
  border-color: rgba(16, 185, 129, 0.3) !important;
}
[data-theme="dark"] .drawer-login-btn:hover,
body.dark-theme .drawer-login-btn:hover {
  background: #059669 !important;
  color: #ffffff !important;
}
[data-theme="dark"] .drawer-copyright,
body.dark-theme .drawer-copyright {
  color: #64748b !important;
}

/* ==========================================================================
   GLOBAL DARK MODE INLINE-STYLE OVERRIDES (Fixes white cards across all pages)
   ========================================================================== */
[data-theme="dark"] [style*="background:#ffffff"],
[data-theme="dark"] [style*="background: #ffffff"],
[data-theme="dark"] [style*="background:#fff"],
[data-theme="dark"] [style*="background: #fff"],
[data-theme="dark"] [style*="background:#fdfbf7"],
[data-theme="dark"] [style*="background: #fdfbf7"],
[data-theme="dark"] [style*="background:#f8fafc"],
[data-theme="dark"] [style*="background: #f8fafc"],
body.dark-theme [style*="background:#ffffff"],
body.dark-theme [style*="background: #ffffff"],
body.dark-theme [style*="background:#fff"],
body.dark-theme [style*="background: #fff"],
body.dark-theme [style*="background:#fdfbf7"],
body.dark-theme [style*="background: #fdfbf7"],
body.dark-theme [style*="background:#f8fafc"],
body.dark-theme [style*="background: #f8fafc"] {
  background: #09261e !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: #cbd5e1 !important;
}

[data-theme="dark"] [style*="background:#ecfdf5"],
[data-theme="dark"] [style*="background: #ecfdf5"],
body.dark-theme [style*="background:#ecfdf5"],
body.dark-theme [style*="background: #ecfdf5"] {
  background: rgba(16, 185, 129, 0.15) !important;
  color: #34d399 !important;
  border-color: rgba(16, 185, 129, 0.25) !important;
}

[data-theme="dark"] [style*="background:#fef3c7"],
[data-theme="dark"] [style*="background: #fef3c7"],
body.dark-theme [style*="background:#fef3c7"],
body.dark-theme [style*="background: #fef3c7"] {
  background: rgba(245, 158, 11, 0.15) !important;
  color: #fbbf24 !important;
  border-color: rgba(245, 158, 11, 0.25) !important;
}

[data-theme="dark"] [style*="color:#064e3b"],
[data-theme="dark"] [style*="color: #064e3b"],
[data-theme="dark"] [style*="color:#0f172a"],
[data-theme="dark"] [style*="color: #0f172a"],
[data-theme="dark"] [style*="color:#1e293b"],
[data-theme="dark"] [style*="color: #1e293b"],
[data-theme="dark"] [style*="color:#334155"],
[data-theme="dark"] [style*="color: #334155"],
body.dark-theme [style*="color:#064e3b"],
body.dark-theme [style*="color: #064e3b"],
body.dark-theme [style*="color:#0f172a"],
body.dark-theme [style*="color: #0f172a"],
body.dark-theme [style*="color:#1e293b"],
body.dark-theme [style*="color: #1e293b"],
body.dark-theme [style*="color:#334155"],
body.dark-theme [style*="color: #334155"] {
  color: #f1f5f9 !important;
}

[data-theme="dark"] [style*="color:#475569"],
[data-theme="dark"] [style*="color: #475569"],
[data-theme="dark"] [style*="color:#64748b"],
[data-theme="dark"] [style*="color: #64748b"],
body.dark-theme [style*="color:#475569"],
body.dark-theme [style*="color: #475569"],
body.dark-theme [style*="color:#64748b"],
body.dark-theme [style*="color: #64748b"] {
  color: #94a3b8 !important;
}


/* Sections, Cards, and Elements in Dark Mode */
[data-theme="dark"] .stat-card,
body.dark-theme .stat-card {
  background: #09261e !important;
  border-color: rgba(52, 211, 153, 0.2) !important;
}
[data-theme="dark"] .stat-card:hover,
body.dark-theme .stat-card:hover {
  background: #0d352a !important;
  border-color: rgba(245, 158, 11, 0.5) !important;
}
[data-theme="dark"] .stat-number,
body.dark-theme .stat-number {
  color: #f8fafc !important;
}
[data-theme="dark"] .stat-label,
body.dark-theme .stat-label {
  color: #94a3b8 !important;
}

[data-theme="dark"] .greeting-card,
body.dark-theme .greeting-card {
  background: #08221a !important;
  border-color: rgba(52, 211, 153, 0.2) !important;
}
[data-theme="dark"] .greeting-name,
body.dark-theme .greeting-name {
  color: #f8fafc;
}
[data-theme="dark"] .greeting-quote,
body.dark-theme .greeting-quote {
  color: #34d399;
}

[data-theme="dark"] .program-card,
[data-theme="dark"] .news-card,
[data-theme="dark"] .agenda-card,
[data-theme="dark"] .achieve-card,
[data-theme="dark"] .faq-item,
[data-theme="dark"] .announcement-item,
[data-theme="dark"] .teacher-card,
[data-theme="dark"] .facility-card,
[data-theme="dark"] .eskul-card,
[data-theme="dark"] .contact-card,
[data-theme="dark"] .ppdb-step-card,
[data-theme="dark"] .download-card,
[data-theme="dark"] .page-box,
body.dark-theme .program-card,
body.dark-theme .news-card,
body.dark-theme .agenda-card,
body.dark-theme .achieve-card,
body.dark-theme .faq-item,
body.dark-theme .announcement-item,
body.dark-theme .teacher-card,
body.dark-theme .facility-card,
body.dark-theme .eskul-card,
body.dark-theme .contact-card,
body.dark-theme .ppdb-step-card,
body.dark-theme .download-card,
body.dark-theme .page-box {
  background: #09261e;
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .program-card:hover,
[data-theme="dark"] .news-card:hover,
[data-theme="dark"] .agenda-card:hover,
[data-theme="dark"] .achieve-card:hover,
[data-theme="dark"] .teacher-card:hover,
body.dark-theme .program-card:hover,
body.dark-theme .news-card:hover,
body.dark-theme .agenda-card:hover,
body.dark-theme .achieve-card:hover,
body.dark-theme .teacher-card:hover {
  background: #0c3328;
  border-color: rgba(52, 211, 153, 0.3);
}

[data-theme="dark"] .card-title,
[data-theme="dark"] .news-title a,
[data-theme="dark"] .agenda-title,
[data-theme="dark"] .achieve-title,
[data-theme="dark"] .teacher-name,
body.dark-theme .card-title,
body.dark-theme .news-title a,
body.dark-theme .agenda-title,
body.dark-theme .achieve-title,
body.dark-theme .teacher-name {
  color: #f8fafc;
}

[data-theme="dark"] .news-title a:hover,
body.dark-theme .news-title a:hover {
  color: #34d399;
}

[data-theme="dark"] .faq-header,
body.dark-theme .faq-header {
  background: #09261e;
  color: #f8fafc;
}
[data-theme="dark"] .faq-header:hover,
body.dark-theme .faq-header:hover {
  background: #0c3328;
}
[data-theme="dark"] .faq-body,
body.dark-theme .faq-body {
  background: #061e17;
  color: #cbd5e1;
  border-top-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .gallery-filter-btn,
body.dark-theme .gallery-filter-btn {
  background: #09261e;
  border-color: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
}
[data-theme="dark"] .gallery-filter-btn.active,
body.dark-theme .gallery-filter-btn.active {
  background: #059669;
  color: #ffffff;
  border-color: #059669;
}

[data-theme="dark"] .agenda-date-box,
body.dark-theme .agenda-date-box {
  background: #061e17;
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] input[type="text"],
[data-theme="dark"] input[type="email"],
[data-theme="dark"] input[type="tel"],
[data-theme="dark"] input[type="date"],
[data-theme="dark"] select,
[data-theme="dark"] textarea,
body.dark-theme input[type="text"],
body.dark-theme input[type="email"],
body.dark-theme input[type="tel"],
body.dark-theme input[type="date"],
body.dark-theme select,
body.dark-theme textarea {
  background-color: #061e17;
  border-color: rgba(255, 255, 255, 0.15);
  color: #f8fafc;
}
[data-theme="dark"] input:focus,
[data-theme="dark"] select:focus,
[data-theme="dark"] textarea:focus,
body.dark-theme input:focus,
body.dark-theme select:focus,
body.dark-theme textarea:focus {
  background-color: #07251d;
  border-color: #10b981;
}

[data-theme="dark"] .breadcrumb-item,
body.dark-theme .breadcrumb-item {
  color: #94a3b8;
}
[data-theme="dark"] .breadcrumb-item.active,
body.dark-theme .breadcrumb-item.active {
  color: #f8fafc;
}

[data-theme="dark"] .site-footer,
body.dark-theme .site-footer {
  background: #020b08;
  border-top-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .footer-bottom,
body.dark-theme .footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .footer-bottom-text,
body.dark-theme .footer-bottom-text {
  color: #64748b;
}

[data-theme="dark"] .subpage-slider-section,
body.dark-theme .subpage-slider-section {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .subpage-slider-arrow,
body.dark-theme .subpage-slider-arrow {
  background: rgba(3, 21, 16, 0.75);
  border-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}
[data-theme="dark"] .subpage-slider-arrow:hover,
body.dark-theme .subpage-slider-arrow:hover {
  background: #059669;
}

