/**
 * Custom Modern UI/UX Stylesheet for Era Pembangunan Jaya
 * High-End, Professional, Elegant & 100% Responsive Design
 */

:root {
  --primary-navy: #0f2b5c;
  --primary-dark: #091a38;
  --primary-light: #1e3a8a;
  --accent-gold: #f59e0b;
  --accent-gold-dark: #d97706;
  --accent-gold-light: #fef3c7;
  --accent-emerald: #10b981;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --bg-slate: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 25px -3px rgba(15, 43, 92, 0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 35px -5px rgba(15, 43, 92, 0.15), 0 10px 10px -5px rgba(0,0,0,0.04);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Font & Reset */
body {
  font-family: 'Plus Jakarta Sans', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif !important;
  color: var(--text-main) !important;
  background-color: #ffffff;
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif !important;
  font-weight: 700;
  color: var(--primary-navy);
  letter-spacing: -0.02em;
}

/* ==============================================================
   PRO MODERN PRELOADER (ENTRANCE & EXIT ANIMATIONS)
   ============================================================== */
.preloader {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 999999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: radial-gradient(circle at 50% 40%, #0e2954 0%, #091a38 60%, #040d1e 100%) !important;
  opacity: 1 !important;
  visibility: visible !important;
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.65s cubic-bezier(0.4, 0, 0.2, 1) !important;
  overflow: hidden !important;
  pointer-events: auto !important;
}

.preloader-backdrop {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(245, 158, 11, 0.08) 0%, transparent 60%);
  animation: epjRotateBackdrop 30s linear infinite;
  pointer-events: none;
}

@keyframes epjRotateBackdrop {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.preloader-card {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 34px 40px 28px 40px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.65),
              0 0 50px rgba(245, 158, 11, 0.15),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
  max-width: 440px;
  width: calc(100% - 40px);
  margin: 0 auto;
  animation: epjPreloaderEntrance 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.5s ease;
}

@keyframes epjPreloaderEntrance {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(0.92);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.preloader-logo-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.preloader-logo-glow {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.3) 0%, rgba(37, 99, 235, 0.15) 50%, transparent 70%);
  filter: blur(18px);
  animation: epjGlowPulse 2.8s ease-in-out infinite alternate;
  pointer-events: none;
}

.preloader-logo {
  position: relative;
  z-index: 2;
  max-height: 115px !important;
  width: auto !important;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 20px rgba(245, 158, 11, 0.3));
  animation: epjLogoFloat 3s ease-in-out infinite alternate;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

@keyframes epjLogoFloat {
  0% {
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 15px rgba(245, 158, 11, 0.25));
  }
  100% {
    transform: translateY(-8px) scale(1.03);
    filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 28px rgba(245, 158, 11, 0.45));
  }
}

@keyframes epjGlowPulse {
  0% {
    opacity: 0.5;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1.2);
  }
}

.preloader-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #f59e0b;
  margin-bottom: 6px;
  text-shadow: 0 0 12px rgba(245, 158, 11, 0.5);
}

.preloader-badge .badge-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #f59e0b;
  display: inline-block;
  box-shadow: 0 0 6px #f59e0b;
}

.preloader-title {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  letter-spacing: 1.5px !important;
  color: #ffffff !important;
  margin: 0 0 10px 0 !important;
  line-height: 1.25 !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5) !important;
}

.preloader-units {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 16px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #93c5fd;
  margin-bottom: 18px;
}

.preloader-units .unit-sep {
  color: #f59e0b;
  font-size: 10px;
}

.preloader-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2px;
}

.preloader-indicator svg {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.preloader-line {
  width: 140px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  overflow: hidden;
  margin-top: 10px;
  position: relative;
}

.preloader-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #f59e0b, #fbbf24, transparent);
  border-radius: 99px;
  animation: epjProgressSweep 1.6s infinite ease-in-out;
}

@keyframes epjProgressSweep {
  0% { left: -50%; width: 40%; }
  50% { width: 60%; }
  100% { left: 100%; width: 40%; }
}

.preloader-status {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 8px;
  text-transform: uppercase;
}

/* Preloader Hidden State (Smooth Automatic Exit) */
.preloader.preloader-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.preloader.preloader-hidden .preloader-card {
  transform: scale(0.9) translateY(-25px) !important;
  opacity: 0 !important;
}

/* Backwards compatibility for legacy .loading class */
.preloader .loading {
  position: static !important;
  transform: none !important;
  color: #fff !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  text-align: center !important;
}
.preloader .loading img,
.preloader .loading svg {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Mobile responsive adjustments */
@media (max-width: 576px) {
  .preloader-card {
    padding: 26px 20px 22px 20px;
    border-radius: 22px;
  }
  .preloader-logo {
    max-height: 95px !important;
  }
  .preloader-title {
    font-size: 17px !important;
  }
  .preloader-units {
    font-size: 11px;
    padding: 3px 12px;
  }
}

/* ==============================================================
   TOPBAR
   ============================================================== */
#topbar {
  background: var(--primary-dark) !important;
  color: #94a3b8 !important;
  padding: 8px 0 !important;
  font-size: 13px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
#topbar a {
  color: #cbd5e1 !important;
  transition: var(--transition);
  text-decoration: none;
}
#topbar a:hover {
  color: var(--accent-gold) !important;
}
#topbar .contact-info i {
  color: var(--accent-gold) !important;
  margin-right: 4px;
}
#topbar .topbar-badge {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24 !important;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 11px;
  border: 1px solid rgba(245, 158, 11, 0.3);
  margin-right: 15px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
#topbar .social-links a {
  color: #94a3b8 !important;
  background: rgba(255, 255, 255, 0.05);
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-left: 6px;
  padding: 0 !important;
  transition: var(--transition);
}
#topbar .social-links a:hover {
  background: var(--accent-gold) !important;
  color: var(--primary-dark) !important;
  transform: translateY(-2px);
}

/* ==============================================================
   HEADER & NAVBAR
   ============================================================== */
#header {
  background: var(--primary-navy) !important;
  height: 80px !important;
  padding: 10px 0 !important;
  box-shadow: 0 4px 20px rgba(9, 26, 56, 0.15) !important;
  transition: var(--transition) !important;
  display: flex;
  align-items: center;
  z-index: 997;
}

#header.header-scrolled {
  height: 70px !important;
  background: rgba(15, 43, 92, 0.98) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(9, 26, 56, 0.25) !important;
}

/* Brand Logo */
.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none !important;
  flex-shrink: 0;
  white-space: nowrap;
}
.brand-logo-img {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35));
  transition: var(--transition);
  flex-shrink: 0;
}
#header.header-scrolled .brand-logo-img {
  height: 44px;
}
.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.brand-title {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: 0.6px;
  margin: 0;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand-subtitle {
  font-size: 11px;
  font-weight: 600;
  color: #fbbf24;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.brand-sep {
  opacity: 0.6;
  font-size: 8px;
  color: #94a3b8;
}
.brand-akred {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #fbbf24;
}

/* ==============================================================
   3-Column Centered Navbar Header Layout (Posisi Menu di Center)
   ============================================================== */
.header-inner-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 992px) {
  .header-brand-side {
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    min-width: max-content !important;
    margin-right: 24px !important;
  }

  .nav-menu.header-nav-center {
    flex: 1 1 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  .header-cta-side {
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    min-width: 0;
  }
}

/* Nav Menu Desktop (Center Aligned) */
.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-menu > ul {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto !important;
  padding: 0 !important;
  list-style: none !important;
  gap: 3px;
}
.nav-menu > ul > li {
  position: relative !important;
  margin: 0 1px !important;
  padding: 0 !important;
  float: none !important;
  display: inline-flex !important;
  align-items: center !important;
}
.nav-menu > ul > li + li {
  padding-left: 0 !important;
  margin-left: 0 !important;
}
.nav-menu > ul > li > a {
  display: inline-flex !important;
  align-items: center !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 8px 14px !important;
  border-radius: 8px !important;
  transition: all 0.22s ease !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3px;
  position: relative;
  text-decoration: none !important;
  white-space: nowrap;
}
.nav-menu > ul > li > a:hover,
.nav-menu > ul > li:hover > a {
  color: #fbbf24 !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

/* Active State matching media_1790300216517.png */
.nav-menu > ul > li.active > a,
.nav-menu .active > a {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #f59e0b !important;
  font-weight: 800 !important;
  position: relative !important;
}
.nav-menu > ul > li.active > a::before {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 14px !important;
  right: 14px !important;
  height: 3px !important;
  background: #f59e0b !important;
  border-radius: 3px 3px 0 0 !important;
}

/* Dropdown styling */
.nav-menu .drop-down > a:after,
.nav-menu .drop-down > a::after {
  content: "\ea99" !important;
  font-family: IcoFont !important;
  margin-left: 7px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  transition: transform 0.2s ease !important;
  display: inline-block !important;
}
.nav-menu .drop-down:hover > a:after,
.nav-menu .drop-down:hover > a::after {
  transform: rotate(180deg) !important;
}

/* Submenu Dropdown List (100% Vertical & High-End Card) */
.nav-menu .drop-down ul {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 3px !important;
  position: absolute !important;
  left: 0 !important;
  top: calc(100% + 12px) !important;
  z-index: 9999 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  padding: 10px !important;
  background: #ffffff !important;
  border-radius: 14px !important;
  box-shadow: 0 20px 45px -5px rgba(15, 23, 42, 0.22), 0 0 1px 1px rgba(0,0,0,0.06) !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  min-width: 250px !important;
  list-style: none !important;
  margin: 0 !important;
  transition: opacity 0.25s ease, top 0.25s ease, visibility 0.25s ease !important;
}
.nav-menu .drop-down:hover > ul {
  opacity: 1 !important;
  top: 100% !important;
  visibility: visible !important;
}
.nav-menu .drop-down ul li {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}
.nav-menu .drop-down ul a,
.nav-menu .drop-down ul li > a {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
  padding: 10px 16px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  text-transform: none !important;
  color: #334155 !important;
  background: transparent !important;
  border-radius: 8px !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  white-space: nowrap !important;
  letter-spacing: 0.2px !important;
  position: relative !important;
}
.nav-menu .drop-down ul a::before,
.nav-menu .drop-down ul li > a::before {
  display: none !important;
}
.nav-menu .drop-down ul a:hover,
.nav-menu .drop-down ul li.active > a,
.nav-menu .drop-down ul .active > a {
  color: #0f2b5c !important;
  background: #f1f5f9 !important;
  padding-left: 20px !important;
  font-weight: 700 !important;
}

/* Header PPDB CTA Button */
.btn-header-cta {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  color: #0f172a !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  padding: 9px 22px !important;
  border-radius: 9999px !important;
  margin-left: 15px;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.38) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  border: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  text-decoration: none !important;
}
.btn-header-cta i {
  font-size: 15px !important;
  color: #0f172a !important;
}
.btn-header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(245, 158, 11, 0.55) !important;
  color: #000 !important;
}

/* ==============================================================
   HERO CAROUSEL SECTION
   ============================================================== */
#hero {
  height: calc(100vh - 114px) !important;
  height: calc(100dvh - 114px) !important;
  min-height: 600px !important;
  max-height: none !important;
  position: relative;
  background: var(--primary-dark);
}
#hero .carousel, #hero .carousel-inner, #hero .carousel-item {
  height: 100% !important;
  min-height: 100% !important;
}
#hero .carousel-item {
  background-size: cover;
  background-position: var(--pos-x-desktop, 50%) var(--pos-y-desktop, 50%) !important;
  position: relative;
  overflow: hidden;
}
#hero .carousel-hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos-x-desktop, 50%) var(--pos-y-desktop, 50%);
  z-index: 0;
  pointer-events: none;
  transition: object-position 0.25s ease;
}
@media (max-width: 991.98px) {
  #hero .carousel-item {
    background-position: var(--pos-x-tablet, var(--pos-x-desktop, 50%)) var(--pos-y-tablet, var(--pos-y-desktop, 50%)) !important;
  }
  #hero .carousel-hero-img {
    object-position: var(--pos-x-tablet, var(--pos-x-desktop, 50%)) var(--pos-y-tablet, var(--pos-y-desktop, 50%));
  }
}
@media (max-width: 767.98px) {
  #hero .carousel-item {
    background-position: var(--pos-x-mobile, var(--pos-x-desktop, 50%)) var(--pos-y-mobile, var(--pos-y-desktop, 50%)) !important;
  }
  #hero .carousel-hero-img {
    object-position: var(--pos-x-mobile, var(--pos-x-desktop, 50%)) var(--pos-y-mobile, var(--pos-y-desktop, 50%));
  }
}
#hero .carousel-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(9, 26, 56, 0.22) 0%, rgba(9, 26, 56, 0.55) 70%, rgba(9, 26, 56, 0.88) 100%);
  z-index: 1;
  pointer-events: none;
}

#hero .carousel-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 25px 35px;
  pointer-events: none;
  box-sizing: border-box;
}
#hero .carousel-content {
  position: absolute !important;
  pointer-events: auto;
  background: rgba(15, 23, 42, 0.68) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-radius: var(--radius-lg) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-left: 5px solid var(--accent-gold) !important;
  border-top: none !important;
  padding: 26px 32px !important;
  max-width: min(850px, calc(100% - 40px));
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  box-sizing: border-box;
  margin: 0 !important;
  /* Dynamic 2D Position (Desktop) */
  left: var(--card-x-desktop, 10%) !important;
  top: var(--card-y-desktop, 75%) !important;
  transform: translate(calc(-1 * var(--card-x-desktop, 10%)), calc(-1 * var(--card-y-desktop, 75%))) !important;
  transition: transform 0.2s ease, left 0.2s ease, top 0.2s ease;
}
#hero .hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.25);
  color: #fbbf24;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  border: 1px solid rgba(245, 158, 11, 0.4);
}
#hero .carousel-content h2 {
  font-size: clamp(1.3rem, 3.0vw, 2.2rem) !important;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px !important;
  text-align: inherit;
  line-height: 1.25;
}
#hero .carousel-content p {
  font-size: clamp(0.85rem, 1.6vw, 1.05rem) !important;
  color: #e2e8f0;
  margin-bottom: 18px;
  text-align: inherit;
  line-height: 1.5;
}

/* Hero Carousel Alignment Variations (Default & Desktop) */
#hero .carousel-container.align-left .carousel-content,
#hero .carousel-container.align-desktop-left .carousel-content {
  text-align: left !important;
  border-left: 5px solid var(--accent-gold) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
}
#hero .carousel-container.align-left .carousel-content h2,
#hero .carousel-container.align-left .carousel-content p,
#hero .carousel-container.align-desktop-left .carousel-content h2,
#hero .carousel-container.align-desktop-left .carousel-content p {
  text-align: left !important;
}
#hero .carousel-container.align-left .hero-pill,
#hero .carousel-container.align-desktop-left .hero-pill {
  margin-left: 0 !important;
  margin-right: auto !important;
}
#hero .carousel-container.align-left .hero-btns,
#hero .carousel-container.align-desktop-left .hero-btns {
  justify-content: flex-start !important;
}

#hero .carousel-container.align-center .carousel-content,
#hero .carousel-container.align-desktop-center .carousel-content {
  text-align: center !important;
  border-left: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-top: 5px solid var(--accent-gold) !important;
}
#hero .carousel-container.align-center .carousel-content h2,
#hero .carousel-container.align-center .carousel-content p,
#hero .carousel-container.align-desktop-center .carousel-content h2,
#hero .carousel-container.align-desktop-center .carousel-content p {
  text-align: center !important;
}
#hero .carousel-container.align-center .hero-pill,
#hero .carousel-container.align-desktop-center .hero-pill {
  margin-left: auto !important;
  margin-right: auto !important;
}
#hero .carousel-container.align-center .hero-btns,
#hero .carousel-container.align-desktop-center .hero-btns {
  justify-content: center !important;
}

#hero .carousel-container.align-right .carousel-content,
#hero .carousel-container.align-desktop-right .carousel-content {
  text-align: right !important;
  border-left: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-right: 5px solid var(--accent-gold) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
}
#hero .carousel-container.align-right .carousel-content h2,
#hero .carousel-container.align-right .carousel-content p,
#hero .carousel-container.align-desktop-right .carousel-content h2,
#hero .carousel-container.align-desktop-right .carousel-content p {
  text-align: right !important;
}
#hero .carousel-container.align-right .hero-pill,
#hero .carousel-container.align-desktop-right .hero-pill {
  margin-left: auto !important;
  margin-right: 0 !important;
}
#hero .carousel-container.align-right .hero-btns,
#hero .carousel-container.align-desktop-right .hero-btns {
  justify-content: flex-end !important;
}

@media (max-width: 991.98px) {
  #hero .carousel-container {
    padding: 20px;
  }
  #hero .carousel-content {
    left: var(--card-x-tablet, var(--card-x-desktop, 50%)) !important;
    top: var(--card-y-tablet, var(--card-y-desktop, 75%)) !important;
    transform: translate(calc(-1 * var(--card-x-tablet, var(--card-x-desktop, 50%))), calc(-1 * var(--card-y-tablet, var(--card-y-desktop, 75%)))) !important;
    width: var(--card-w-tablet, 85%) !important;
    max-width: calc(100% - 24px) !important;
    padding: 20px 24px !important;
  }
  /* Tablet Specific Card Alignment */
  #hero .carousel-container.align-tablet-left .carousel-content {
    text-align: left !important;
    border-left: 5px solid var(--accent-gold) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
  }
  #hero .carousel-container.align-tablet-left .carousel-content h2,
  #hero .carousel-container.align-tablet-left .carousel-content p {
    text-align: left !important;
  }
  #hero .carousel-container.align-tablet-left .hero-pill {
    margin-left: 0 !important;
    margin-right: auto !important;
  }
  #hero .carousel-container.align-tablet-left .hero-btns {
    justify-content: flex-start !important;
  }

  #hero .carousel-container.align-tablet-center .carousel-content {
    text-align: center !important;
    border-left: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-top: 5px solid var(--accent-gold) !important;
  }
  #hero .carousel-container.align-tablet-center .carousel-content h2,
  #hero .carousel-container.align-tablet-center .carousel-content p {
    text-align: center !important;
  }
  #hero .carousel-container.align-tablet-center .hero-pill {
    margin-left: auto !important;
    margin-right: auto !important;
  }
  #hero .carousel-container.align-tablet-center .hero-btns {
    justify-content: center !important;
  }

  #hero .carousel-container.align-tablet-right .carousel-content {
    text-align: right !important;
    border-left: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-right: 5px solid var(--accent-gold) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
  }
  #hero .carousel-container.align-tablet-right .carousel-content h2,
  #hero .carousel-container.align-tablet-right .carousel-content p {
    text-align: right !important;
  }
  #hero .carousel-container.align-tablet-right .hero-pill {
    margin-left: auto !important;
    margin-right: 0 !important;
  }
  #hero .carousel-container.align-tablet-right .hero-btns {
    justify-content: flex-end !important;
  }
}

@media (max-width: 767.98px) {
  #hero .carousel-container {
    padding: 10px 12px;
  }
  #hero .carousel-content {
    left: var(--card-x-mobile, 50%) !important;
    top: var(--card-y-mobile, 75%) !important;
    transform: translate(calc(-1 * var(--card-x-mobile, 50%)), calc(-1 * var(--card-y-mobile, 75%))) !important;
    width: var(--card-w-mobile, 92%) !important;
    max-width: calc(100% - 16px) !important;
    padding: 14px 16px !important;
  }
  /* Mobile Specific Card Alignment */
  #hero .carousel-container.align-mobile-left .carousel-content {
    text-align: left !important;
    border-left: 4px solid var(--accent-gold) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
  }
  #hero .carousel-container.align-mobile-left .carousel-content h2,
  #hero .carousel-container.align-mobile-left .carousel-content p {
    text-align: left !important;
  }
  #hero .carousel-container.align-mobile-left .hero-pill {
    margin-left: 0 !important;
    margin-right: auto !important;
  }
  #hero .carousel-container.align-mobile-left .hero-btns {
    justify-content: flex-start !important;
  }

  #hero .carousel-container.align-mobile-center .carousel-content {
    text-align: center !important;
    border-left: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-top: 4px solid var(--accent-gold) !important;
  }
  #hero .carousel-container.align-mobile-center .carousel-content h2,
  #hero .carousel-container.align-mobile-center .carousel-content p {
    text-align: center !important;
  }
  #hero .carousel-container.align-mobile-center .hero-pill {
    margin-left: auto !important;
    margin-right: auto !important;
  }
  #hero .carousel-container.align-mobile-center .hero-btns {
    justify-content: center !important;
  }

  #hero .carousel-container.align-mobile-right .carousel-content {
    text-align: right !important;
    border-left: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-right: 4px solid var(--accent-gold) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
  }
  #hero .carousel-container.align-mobile-right .carousel-content h2,
  #hero .carousel-container.align-mobile-right .carousel-content p {
    text-align: right !important;
  }
  #hero .carousel-container.align-mobile-right .hero-pill {
    margin-left: auto !important;
    margin-right: 0 !important;
  }
  #hero .carousel-container.align-mobile-right .hero-btns {
    justify-content: flex-end !important;
  }
}
.hero-btns {
  display: flex !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  margin-top: 14px !important;
  z-index: 25 !important;
}
.btn-hero-primary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  color: #0b132b !important;
  font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  letter-spacing: 0.2px !important;
  padding: 11px 24px !important;
  border-radius: 50px !important;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.42), 0 2px 6px rgba(0,0,0,0.15) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}
.btn-hero-primary i {
  font-size: 14.5px !important;
  transition: transform 0.3s ease !important;
}
.btn-hero-primary:hover {
  transform: translateY(-3px) scale(1.02) !important;
  color: #000000 !important;
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%) !important;
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.6), 0 4px 10px rgba(0,0,0,0.2) !important;
}
.btn-hero-primary:hover i {
  transform: translateX(3px) translateY(-2px) !important;
}
.btn-hero-primary:active {
  transform: translateY(1px) scale(0.98) !important;
}
.btn-hero-outline {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  background: rgba(15, 23, 42, 0.65) !important;
  color: #ffffff !important;
  font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif !important;
  font-weight: 600 !important;
  font-size: 13.5px !important;
  letter-spacing: 0.2px !important;
  padding: 11px 24px !important;
  border-radius: 50px !important;
  text-decoration: none !important;
  border: 1.5px solid rgba(255, 255, 255, 0.32) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}
.btn-hero-outline i {
  font-size: 14.5px !important;
  transition: transform 0.3s ease !important;
}
.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.65) !important;
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35) !important;
}
.btn-hero-outline:hover i {
  transform: scale(1.15) !important;
}
.btn-hero-outline:active {
  transform: translateY(1px) scale(0.98) !important;
}
.hero-floating-btns-wrap {
  position: absolute !important;
  bottom: 26px !important;
  left: var(--card-x-desktop, 10%) !important;
  transform: translateX(calc(-1 * var(--card-x-desktop, 10%))) !important;
  z-index: 25 !important;
  pointer-events: auto !important;
  padding: 8px 14px;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35);
  animation: epjFadeInFloatBtns 0.5s ease-out;
}
@media (max-width: 991.98px) {
  .hero-floating-btns-wrap {
    left: var(--card-x-tablet, 50%) !important;
    bottom: 22px !important;
    transform: translateX(-50%) !important;
  }
}
@media (max-width: 767.98px) {
  .hero-floating-btns-wrap {
    left: 50% !important;
    bottom: 18px !important;
    transform: translateX(-50%) !important;
    padding: 6px 10px;
    width: max-content;
    max-width: calc(100% - 24px);
    justify-content: center;
  }
  .btn-hero-primary,
  .btn-hero-outline {
    font-size: 12px !important;
    padding: 9px 16px !important;
    gap: 6px !important;
  }
}

/* Carousel Indicators & Controls (Gambar 2 & Gambar 3 Dihilangkan Sesuai Permintaan) */
#hero .carousel-control-prev, 
#hero .carousel-control-next,
#hero .carousel-indicators,
.carousel-control-prev,
.carousel-control-next,
.carousel-indicators,
#hero-carousel-indicators {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* ==============================================================
   SECTION HEADINGS & CTA (WELCOME)
   ============================================================== */
.section-title {
  text-align: center;
  padding-bottom: 40px;
  position: relative;
}
.section-title .section-subtitle {
  color: var(--accent-gold-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 8px;
}
.section-title h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem) !important;
  font-weight: 800;
  position: relative;
  margin-bottom: 15px;
}
.section-title h2 strong {
  color: var(--accent-gold-dark);
}
.section-title .title-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-navy), var(--accent-gold));
  margin: 0 auto;
  border-radius: var(--radius-full);
}

/* CTA Welcome Section */
#cta.cta {
  background: #ffffff !important;
  padding: 60px 0 !important;
  position: relative;
}
.welcome-card {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.welcome-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-navy) 0%, var(--accent-gold) 100%);
}
.welcome-title {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 12px;
  line-height: 1.3;
}
.welcome-accent-line {
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-gold) 0%, var(--primary-light) 100%);
  border-radius: 2px;
}
.welcome-text {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
}
.welcome-text p {
  margin-bottom: 0.8rem;
}
.welcome-text p:last-child {
  margin-bottom: 0;
}
.welcome-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.welcome-btn {
  background: var(--primary-navy);
  color: #fff !important;
  font-weight: 700;
  font-size: 13px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none !important;
  border: 2px solid var(--primary-navy);
}
.welcome-btn:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: #fff !important;
}
.welcome-btn-outline {
  background: transparent;
  color: var(--primary-navy) !important;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--border-color);
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none !important;
}
.welcome-btn-outline:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold-dark) !important;
  background: rgba(245, 158, 11, 0.08);
  transform: translateY(-2px);
}
.welcome-media-container {
  position: relative;
}
.welcome-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 15px 35px -5px rgba(15, 43, 92, 0.18), 0 5px 15px rgba(0, 0, 0, 0.06);
  border: 3px solid #ffffff;
  background: #f1f5f9;
}
.welcome-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.welcome-image-wrapper:hover .welcome-img {
  transform: scale(1.04);
}
.welcome-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(15, 43, 92, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  color: #ffffff;
  transition: var(--transition);
}
.welcome-image-wrapper:hover .welcome-badge {
  background: rgba(15, 43, 92, 0.98);
  border-color: var(--accent-gold);
}
.welcome-badge .badge-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--accent-gold) 0%, #d97706 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--primary-navy);
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.35);
}
.welcome-badge .badge-content {
  display: flex;
  flex-direction: column;
}
.welcome-badge .badge-label {
  font-weight: 700;
  font-size: 13px;
  color: #ffffff;
  letter-spacing: 0.3px;
  line-height: 1.2;
}
.welcome-badge .badge-sub {
  font-size: 11px;
  color: #94a3b8;
  letter-spacing: 0.2px;
}

/* ==============================================================
   SERVICES / MOTTO SECTION - 3D PRO & DYNAMIC MULTI-LAYER CARDS
   ============================================================== */
.motto-section-pro {
  padding: 75px 0 80px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
  position: relative;
  overflow: hidden;
}
.motto-lead-text {
  max-width: 660px;
  margin: 14px auto 0 auto;
  font-size: 15px;
  line-height: 1.65;
  color: #64748b;
  font-weight: 500;
}
.motto-cards-row {
  margin-top: 35px;
}

/* Master 3D Card */
.motto-card-3d {
  background: #ffffff;
  border-radius: 22px;
  padding: 32px 26px 26px 26px;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transform-style: preserve-3d;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.motto-card-3d:hover {
  transform: perspective(1000px) translateY(-10px) rotateX(2deg);
  box-shadow: 0 25px 50px -10px rgba(15, 43, 92, 0.16),
              0 0 1px 1px rgba(245, 158, 11, 0.3);
}

/* 3D Exit Animation */
.motto-card-3d.motto-exit-active {
  transform: perspective(1000px) rotateX(-14deg) translateY(-30px) scale(0.9) !important;
  opacity: 0 !important;
  filter: blur(8px) !important;
  transition: all 0.4s ease !important;
  pointer-events: none !important;
}

/* Translucent Watermark Numeral */
.motto-watermark-num {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 52px;
  font-weight: 900;
  line-height: 1;
  color: #0f2b5c;
  opacity: 0.05;
  pointer-events: none;
  user-select: none;
}

/* Pillar Category Tag */
.motto-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 22px;
  align-self: flex-start;
  text-transform: uppercase;
}
.motto-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

/* Theme 1: Gold / Cerdas & Santun */
.theme-gold .motto-pill-tag {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.theme-gold .motto-tag-dot { background: #f59e0b; }
.theme-gold .motto-icon-halo { background: rgba(245, 158, 11, 0.35); }
.theme-gold .motto-icon-core { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }
.theme-gold:hover { border-color: rgba(245, 158, 11, 0.6); }

/* Theme 2: Royal Blue / Inovatif & Unggul */
.theme-blue .motto-pill-tag {
  background: rgba(15, 43, 92, 0.1);
  color: #0f2b5c;
  border: 1px solid rgba(15, 43, 92, 0.25);
}
.theme-blue .motto-tag-dot { background: #0284c7; }
.theme-blue .motto-icon-halo { background: rgba(2, 132, 199, 0.35); }
.theme-blue .motto-icon-core { background: linear-gradient(135deg, #0f2b5c 0%, #1e3a8a 100%); }
.theme-blue:hover { border-color: rgba(2, 132, 199, 0.6); }

/* Theme 3: Emerald / Terampil & Produktif */
.theme-emerald .motto-pill-tag {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.theme-emerald .motto-tag-dot { background: #10b981; }
.theme-emerald .motto-icon-halo { background: rgba(16, 185, 129, 0.35); }
.theme-emerald .motto-icon-core { background: linear-gradient(135deg, #059669 0%, #10b981 100%); }
.theme-emerald:hover { border-color: rgba(16, 185, 129, 0.6); }

/* 3D Multi-Layer Icon Emblem */
.motto-icon-wrap {
  width: 68px;
  height: 68px;
  position: relative;
  margin-bottom: 22px;
}
.motto-icon-halo {
  position: absolute;
  inset: -3px;
  border-radius: 20px;
  filter: blur(8px);
  opacity: 0.5;
  transition: opacity 0.3s ease, filter 0.3s ease;
}
.motto-card-3d:hover .motto-icon-halo {
  opacity: 0.85;
  filter: blur(12px);
}
.motto-icon-core {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 28px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.motto-card-3d:hover .motto-icon-core {
  transform: scale(1.1) rotate(6deg);
}

/* Card Content Typography */
.motto-card-title {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 10px 0;
}
.motto-card-title a {
  color: #0f2b5c;
  text-decoration: none;
  transition: color 0.2s ease;
}
.motto-card-title a:hover {
  color: #f59e0b;
}
.motto-card-desc {
  font-size: 14px;
  line-height: 1.65;
  color: #64748b;
  margin: 0 0 18px 0;
  flex-grow: 1;
}

/* Feature Check-List */
.motto-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.motto-feature-list li {
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 8px;
}
.motto-feature-list li i {
  color: #10b981;
  font-size: 15px;
  flex-shrink: 0;
}

/* Card Footer Link */
.motto-card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed #e2e8f0;
}
.motto-learn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #0f2b5c;
  text-decoration: none !important;
  transition: all 0.25s ease;
}
.motto-learn-link i {
  font-size: 14px;
  transition: transform 0.25s ease;
}
.motto-card-3d:hover .motto-learn-link {
  color: #f59e0b;
}
.motto-card-3d:hover .motto-learn-link i {
  transform: translateX(4px);
}

/* CTA Button Below */
.btn-motto-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 32px;
  border-radius: 50px;
  background: linear-gradient(135deg, #0f2b5c 0%, #1e3a8a 100%);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  border: 1.5px solid rgba(245, 158, 11, 0.6);
  box-shadow: 0 10px 25px rgba(15, 43, 92, 0.2);
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.btn-motto-cta:hover {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0f172a !important;
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(245, 158, 11, 0.35);
}

/* Reset Legacy Icon Box Conflict */
.services .icon-box {
  height: auto !important;
}

/* ==============================================================
   BERITA / NEWS SECTION
   ============================================================== */
.news-section {
  padding: 60px 0;
  background: #ffffff;
}
.news-card-modern {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.news-card-modern:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(15, 43, 92, 0.2);
}
.news-img-wrap {
  position: relative;
  overflow: hidden;
  height: 200px;
  background: #e2e8f0;
}
.news-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.news-card-modern:hover .news-img-wrap img {
  transform: scale(1.06);
}
.news-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--primary-navy);
  color: #ffffff !important;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.news-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 12px;
  margin-bottom: 10px;
}
.news-meta i {
  color: var(--accent-gold-dark);
}
.news-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
}
.news-title a {
  color: var(--primary-navy);
  transition: var(--transition);
  text-decoration: none;
}
.news-title a:hover {
  color: var(--accent-gold-dark);
}
.news-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}
.news-readmore {
  color: var(--primary-navy);
  font-weight: 700;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  text-decoration: none !important;
}
.news-readmore:hover {
  color: var(--accent-gold-dark);
  gap: 10px;
}

/* ==============================================================
   PENGAJAR (TEACHERS) SECTION - REFERENCE PRODUCTION SYSTEM
   ============================================================== */
.services-premium {
  padding: 50px 0 80px 0;
}
.teacher-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  border: 1px solid #edf2f7;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
  margin-bottom: 25px;
  height: calc(100% - 25px);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0 !important;
}
.teacher-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #1e3c72 0%, #2a5298 100%);
  transition: height 0.3s ease;
  z-index: 10;
}
.teacher-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(30, 60, 114, 0.16);
  border-color: transparent;
}
.teacher-img-wrapper {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  position: relative;
  background-color: #1a328f;
  background: linear-gradient(180deg, #1e3a9c 0%, #162c82 100%);
  border-bottom: 1px solid #edf2f7;
}
.teacher-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: block;
}
.teacher-card:hover .teacher-img-wrapper img {
  transform: scale(1.06);
}

/* ==============================================================
   BREADCRUMBS
   ============================================================== */
.breadcrumbs {
  padding: 25px 0 !important;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-navy) 100%) !important;
  color: #ffffff;
}
.breadcrumbs h2 {
  color: #ffffff !important;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  margin: 0;
  font-weight: 800;
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
}
.breadcrumbs ol li + li {
  padding-left: 10px;
}
.breadcrumbs ol li + li::before {
  display: inline-block;
  padding-right: 10px;
  color: #94a3b8;
  content: "/";
}
.breadcrumbs a {
  color: #fbbf24 !important;
}

/* ==============================================================
   GALLERY SECTION (2-COLUMN REFERENCE LAYOUT)
   ============================================================== */

/* Hero Banner */
.gallery-hero-banner {
  background: linear-gradient(135deg, #0f2744 0%, #1e3a8a 50%, #4a152b 100%);
  border-radius: 16px;
  padding: 24px 30px;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 25px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}
.gallery-hero-banner::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.gallery-hero-left {
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 1;
}
.gallery-hero-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(251, 191, 36, 0.2);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #fbbf24;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.gallery-hero-title {
  color: #ffffff;
  font-size: 20px;
  font-weight: 500;
  margin: 0;
  line-height: 1.25;
}
.gallery-hero-title strong {
  font-weight: 800;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-right: 6px;
  color: #ffffff;
}
.gallery-hero-title span {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.3px;
}
.gallery-hero-breadcrumb {
  z-index: 1;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
}
.gallery-hero-breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: var(--transition);
}
.gallery-hero-breadcrumb a:hover {
  color: #fbbf24;
}
.gallery-hero-breadcrumb span {
  color: #fbbf24;
}

/* Sidebar Kategori Album */
.gallery-sidebar-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  padding: 20px 16px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  position: -webkit-sticky;
  position: sticky;
  top: 90px;
  z-index: 10;
}
.gallery-sidebar-heading {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #1e3a8a;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}
.gallery-sidebar-heading i {
  font-size: 16px;
  color: #2563eb;
}

/* Vertical Filters */
#portfolio-flters {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
#portfolio-flters li {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  transition: all 0.22s ease;
  user-select: none;
}
#portfolio-flters li .filter-label {
  display: flex;
  align-items: center;
  gap: 8px;
}
#portfolio-flters li .filter-label i {
  font-size: 15px;
  color: #64748b;
  transition: color 0.22s ease;
}
#portfolio-flters li:hover {
  background: #f8fafc;
  color: #0f2744;
  border-color: #cbd5e1;
  transform: translateX(3px);
}
#portfolio-flters li:hover .filter-label i {
  color: #2563eb;
}
#portfolio-flters li.filter-active {
  background: linear-gradient(135deg, #0f2744 0%, #1e3a8a 100%) !important;
  color: #ffffff !important;
  border-color: #0f2744 !important;
  box-shadow: 0 4px 14px rgba(15, 39, 68, 0.25);
}
#portfolio-flters li.filter-active .filter-label i {
  color: #fbbf24 !important;
}
#portfolio-flters li .filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 22px;
  padding: 0 7px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 9999px;
  background: #f1f5f9;
  color: #64748b;
  transition: all 0.22s ease;
}
#portfolio-flters li:hover .filter-count {
  background: #e2e8f0;
  color: #1e293b;
}
#portfolio-flters li.filter-active .filter-count {
  background: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
}

/* Reference Card Styling */
.gallery-ref-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.28s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}
.gallery-ref-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
  border-color: #cbd5e1;
}
.gallery-ref-img-wrap {
  height: 180px;
  position: relative;
  overflow: hidden;
  background: #0f172a;
}
.gallery-ref-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-ref-card:hover .gallery-ref-img-wrap img {
  transform: scale(1.06);
}
.gallery-ref-zoom {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.25s ease;
  pointer-events: none;
}
.gallery-ref-card:hover .gallery-ref-zoom {
  opacity: 1;
  transform: scale(1);
}
.gallery-ref-body {
  padding: 12px 14px 10px 14px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
  gap: 8px;
}
.gallery-ref-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
}
.gallery-ref-badges {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.badge-album-id {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #b45309;
  background: #fef3c7;
  border: 1px solid #fde68a;
  padding: 2px 8px;
  border-radius: 6px;
}
.badge-album-id i {
  color: #f59e0b;
}
.badge-uid {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 2px 8px;
  border-radius: 6px;
}
.gallery-ref-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #64748b;
  border-top: 1px solid #f1f5f9;
  padding-top: 8px;
  margin-top: 2px;
}
.gallery-ref-meta .meta-author {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #2563eb;
  font-weight: 600;
  max-width: 95px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gallery-ref-meta .meta-date {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #ef4444;
  font-size: 10.5px;
  font-weight: 500;
}

/* Scrollable Right Gallery Container */
.gallery-scrollable-wrap {
  max-height: 76vh;
  min-height: 520px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 10px;
  padding-left: 2px;
  padding-top: 4px;
  padding-bottom: 25px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #94a3b8 rgba(226, 232, 240, 0.7);
}
.gallery-scrollable-wrap::-webkit-scrollbar {
  width: 8px;
}
.gallery-scrollable-wrap::-webkit-scrollbar-track {
  background: rgba(226, 232, 240, 0.6);
  border-radius: 9999px;
}
.gallery-scrollable-wrap::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 9999px;
  border: 2px solid transparent;
  background-clip: content-box;
}
.gallery-scrollable-wrap::-webkit-scrollbar-thumb:hover {
  background: #64748b;
  border: 2px solid transparent;
  background-clip: content-box;
}
.gallery-scrollable-wrap .row.portfolio-container {
  margin-left: -8px;
  margin-right: -8px;
}
.gallery-scrollable-wrap .portfolio-item {
  padding-left: 8px;
  padding-right: 8px;
}

/* Scroll Header Indicator */
.gallery-scroll-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding: 9px 16px;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  font-size: 12.5px;
  color: #64748b;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}
.gallery-scroll-indicator .indicator-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0f2744;
  font-weight: 600;
}
.gallery-scroll-indicator .scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #d97706;
  font-weight: 600;
  font-size: 11.5px;
  background: #fef3c7;
  padding: 3px 10px;
  border-radius: 9999px;
  border: 1px solid #fde68a;
}

/* Responsiveness */
@media (max-width: 991.98px) {
  .gallery-sidebar-card {
    position: static;
    margin-bottom: 25px;
  }
}
@media (max-width: 767.98px) {
  .gallery-hero-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
  }
  .gallery-hero-title {
    font-size: 17px;
  }
  .gallery-hero-title span {
    font-size: 13.5px;
    display: block;
    margin-top: 2px;
  }
  .gallery-hero-breadcrumb {
    font-size: 12px;
  }
  .gallery-scrollable-wrap {
    max-height: 68vh;
    min-height: 400px;
    padding-right: 6px;
  }
}

/* ==============================================================
   CONTACT / HUBUNGI KAMI
   ============================================================== */
.map-section {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.map-section iframe {
  width: 100% !important;
  height: 380px !important;
  border: 0 !important;
  display: block;
}
.info-wrap {
  background: #ffffff;
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}
.contact .info {
  text-align: center;
  padding: 15px;
}
.contact .info i {
  font-size: 32px;
  color: var(--accent-gold-dark);
  margin-bottom: 12px;
  display: inline-block;
  background: var(--accent-gold-light);
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 50%;
  transition: var(--transition);
}
.contact .info:hover i {
  background: var(--primary-navy);
  color: #ffffff;
  transform: translateY(-3px);
}
.contact .info h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 8px;
}
.contact .info p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}
.contact-form-wrap {
  background: #ffffff;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}
.form-label-custom {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 6px;
  display: block;
}
.contact-form-wrap .form-control {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  padding: 12px 16px;
  font-size: 14px;
  transition: var(--transition);
}
.contact-form-wrap .form-control:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.15);
}
.btn-submit-contact {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-light) 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 36px;
  border-radius: var(--radius-full);
  border: none;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-submit-contact:hover {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
  color: #0f172a;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ==============================================================
   BLOG & NEWS DETAIL / SIDEBAR
   ============================================================== */
.blog {
  padding: 60px 0;
  background: var(--bg-slate);
}
.blog .entry {
  background: #ffffff;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}
.blog .entry:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
.blog .entry .entry-img {
  max-height: 420px;
  margin: -30px -30px 20px -30px;
  overflow: hidden;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
}
.blog .entry .entry-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog .entry:hover .entry-img img {
  transform: scale(1.04);
}
.blog .entry .entry-title {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 700;
  margin-bottom: 12px;
}
.blog .entry .entry-title a {
  color: var(--primary-navy);
  transition: var(--transition);
}
.blog .entry .entry-title a:hover {
  color: var(--accent-gold-dark);
}
.blog .entry .entry-meta {
  margin-bottom: 15px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}
.blog .entry .entry-meta ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
  padding: 0;
  margin: 0;
  gap: 15px;
}
.blog .entry .entry-meta li {
  font-size: 13px;
  color: var(--text-muted);
}
.blog .entry .entry-meta i {
  color: var(--accent-gold-dark);
  margin-right: 6px;
  font-size: 15px;
}
.blog .entry .entry-content p {
  color: var(--text-main);
  line-height: 1.8;
  font-size: 14.5px;
}
.blog .entry .entry-content .read-more a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-navy);
  color: #ffffff;
  padding: 8px 22px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  text-decoration: none;
  margin-top: 10px;
}
.blog .entry .entry-content .read-more a:hover {
  background: var(--accent-gold);
  color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}
.blog .sidebar {
  padding: 30px;
  margin: 0 0 40px 0;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid var(--border-color);
}
.blog .sidebar .sidebar-title {
  font-size: 18px;
  font-weight: 700;
  padding: 0 0 10px 0;
  margin: 0 0 18px 0;
  color: var(--primary-navy);
  position: relative;
}
.blog .sidebar .sidebar-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 40px;
  background: var(--accent-gold);
  border-radius: var(--radius-full);
}
.blog .sidebar .search-form form {
  background: #fff;
  border: 1px solid var(--border-color);
  padding: 4px 10px;
  position: relative;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
}
.blog .sidebar .search-form form input[type="text"] {
  border: 0;
  padding: 6px 12px;
  width: calc(100% - 40px);
  outline: none;
  font-size: 13px;
}
.blog .sidebar .search-form form button {
  position: absolute;
  top: 4px;
  right: 4px;
  bottom: 4px;
  border: 0;
  background: var(--primary-navy);
  color: #fff;
  padding: 0 15px;
  font-size: 15px;
  border-radius: var(--radius-full);
  transition: var(--transition);
}
.blog .sidebar .search-form form button:hover {
  background: var(--accent-gold);
  color: #0f172a;
}
.blog .sidebar .categories ul {
  list-style: none;
  padding: 0;
}
.blog .sidebar .categories ul li + li {
  padding-top: 10px;
}
.blog .sidebar .categories ul a {
  color: var(--text-main);
  transition: var(--transition);
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.blog .sidebar .categories ul a:hover {
  color: var(--accent-gold-dark);
  padding-left: 5px;
}
.blog .sidebar .categories ul a span {
  padding-left: 5px;
  color: var(--text-muted);
  font-size: 12px;
}
.blog .sidebar .recent-posts .post-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}
.blog .sidebar .recent-posts .post-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  margin-bottom: 16px !important;
  padding-bottom: 16px !important;
  border-bottom: 1px solid var(--border-color) !important;
}
.blog .sidebar .recent-posts .post-item:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  border-bottom: none !important;
}
.blog .sidebar .recent-posts .post-item > a {
  flex-shrink: 0 !important;
  display: block !important;
}
.blog .sidebar .recent-posts .post-item img,
.blog .sidebar .recent-posts img {
  width: 75px !important;
  height: 60px !important;
  object-fit: cover !important;
  border-radius: var(--radius-sm) !important;
  float: none !important;
  margin: 0 !important;
  display: block !important;
}
.blog .sidebar .recent-posts .post-content {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}
.blog .sidebar .recent-posts h4 {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  margin: 0 0 4px 0 !important;
  margin-left: 0 !important;
  line-height: 1.35 !important;
  float: none !important;
}
.blog .sidebar .recent-posts h4 a {
  color: var(--primary-navy) !important;
  transition: var(--transition) !important;
  text-decoration: none !important;
}
.blog .sidebar .recent-posts h4 a:hover {
  color: var(--accent-gold-dark) !important;
}
.blog .sidebar .recent-posts time {
  display: block !important;
  font-style: normal !important;
  font-size: 11.5px !important;
  color: var(--text-muted) !important;
  margin: 0 !important;
  margin-left: 0 !important;
  float: none !important;
}
.blog-pagination {
  margin-top: 30px;
  text-align: center;
}
.blog-pagination ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  gap: 6px;
}
.blog-pagination li a, .blog-pagination li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  color: var(--primary-navy);
  font-weight: 600;
  font-size: 13px;
  transition: var(--transition);
  text-decoration: none;
}
.blog-pagination li.active a, .blog-pagination li a:hover {
  background: var(--primary-navy);
  color: #fff;
  border-color: var(--primary-navy);
}

/* ==============================================================
   FOOTER
   ============================================================== */
#footer {
  background: #07152d !important;
  color: #94a3b8;
  font-size: 14px;
}
#footer .footer-top {
  background: #091a38 !important;
  padding: 60px 0 30px 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
#footer .footer-contact h3 {
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 15px;
}
#footer .footer-contact p {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.7;
}
#footer .footer-links h4 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  padding-bottom: 12px;
  position: relative;
  margin-bottom: 20px;
}
#footer .footer-links h4::after {
  content: '';
  position: absolute;
  display: block;
  width: 35px;
  height: 3px;
  background: var(--accent-gold);
  bottom: 0;
  left: 0;
  border-radius: var(--radius-full);
}
#footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
#footer .footer-links ul li {
  padding: 8px 0;
  display: flex;
  align-items: center;
}
#footer .footer-links ul li i {
  color: var(--accent-gold);
  margin-right: 8px;
  font-size: 16px;
}
#footer .footer-links ul a {
  color: #cbd5e1;
  transition: var(--transition);
  text-decoration: none;
}
#footer .footer-links ul a:hover {
  color: var(--accent-gold);
  padding-left: 5px;
}
#footer .copyright {
  color: #94a3b8;
  padding: 25px 0;
  font-size: 13px;
}
#footer .copyright strong {
  color: #fbbf24;
}

/* ==============================================================
   FLOATING WHATSAPP & BACK TO TOP
   ============================================================== */
.wa-icon {
  background: #25d366 !important;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4) !important;
  animation: pulse-wa 2s infinite;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: var(--transition) !important;
}
.wa-icon i {
  position: static !important;
  font-size: 28px !important;
}
.wa-icon:hover {
  transform: scale(1.1);
  background: #20ba59 !important;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6) !important;
}

@keyframes pulse-wa {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.back-to-top {
  background: var(--primary-navy) !important;
  border-radius: 50% !important;
  box-shadow: var(--shadow-md) !important;
}
.back-to-top:hover {
  background: var(--accent-gold) !important;
  color: #000 !important;
}

/* ==============================================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
   ============================================================== */

/* Hamburger Button */
.mobile-nav-toggle {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  background: rgba(255, 255, 255, 0.18) !important;
  border-radius: var(--radius-sm) !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  cursor: pointer !important;
  z-index: 1000 !important;
  margin-left: auto !important;
  color: #ffffff !important;
  transition: var(--transition) !important;
  padding: 0 !important;
}
.mobile-nav-toggle:hover, .mobile-nav-toggle:focus {
  background: var(--accent-gold) !important;
  border-color: var(--accent-gold) !important;
  outline: none !important;
}
.mobile-nav-toggle:hover i, .mobile-nav-toggle:focus i {
  color: #0f172a !important;
}
.mobile-nav-toggle i {
  color: #ffffff !important;
  font-size: 26px !important;
  line-height: 1 !important;
}

/* Mobile Nav Drawer */
.mobile-nav {
  position: fixed !important;
  top: 0 !important;
  right: -320px !important;
  bottom: 0 !important;
  left: auto !important;
  width: 300px !important;
  background: #ffffff !important;
  box-shadow: -5px 0 30px rgba(9, 26, 56, 0.25) !important;
  border-radius: 0 !important;
  padding: 25px 20px !important;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  z-index: 10000 !important;
  overflow-y: auto !important;
}

body.mobile-nav-active .mobile-nav {
  right: 0 !important;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  margin-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}
.mobile-nav-header h4 {
  font-size: 15px;
  margin: 0;
  color: var(--primary-navy);
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-nav li {
  margin-bottom: 4px;
}
.mobile-nav a {
  color: var(--text-main) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 10px 14px !important;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
  text-decoration: none !important;
}
.mobile-nav a:hover, .mobile-nav .active > a {
  background: rgba(15, 43, 92, 0.07) !important;
  color: var(--primary-navy) !important;
}
.mobile-nav .drop-down ul {
  padding-left: 15px !important;
  display: none;
  border-left: 2px solid var(--accent-gold);
  margin: 5px 0 10px 15px !important;
}
.mobile-nav .drop-down.active > ul {
  display: block;
}
.mobile-nav .drop-down ul a {
  font-size: 13px !important;
  font-weight: 500 !important;
  padding: 8px 12px !important;
}

.mobile-nav-overlay,
.mobile-nav-overly {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(9, 26, 56, 0.65) !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
  z-index: 9998;
  display: none;
  transition: opacity 0.3s ease;
}
body.mobile-nav-active .mobile-nav-overlay,
body.mobile-nav-active .mobile-nav-overly {
  display: block;
}

/* Tablet & Mobile Media Queries */
@media (min-width: 992px) {
  .mobile-nav-toggle,
  .mobile-nav,
  .mobile-nav-overlay,
  .mobile-nav-overly {
    display: none !important;
  }
}

@media (max-width: 1399.98px) and (min-width: 1180px) {
  .header-brand-side { margin-right: 12px !important; }
  .brand-title { font-size: 14px !important; }
  .brand-subtitle { font-size: 9.5px !important; }
  .nav-menu > ul { gap: 2px !important; }
  .nav-menu > ul > li { margin: 0 1px !important; padding: 0 !important; }
  .nav-menu > ul > li + li { padding-left: 0 !important; margin-left: 0 !important; }
  .nav-menu > ul > li > a { padding: 6px 9px !important; font-size: 11.5px !important; letter-spacing: 0.1px !important; }
  .btn-header-cta { padding: 6px 14px !important; font-size: 11.5px !important; margin-left: 8px !important; }
}

@media (max-width: 1179.98px) and (min-width: 992px) {
  .header-inner-wrap { padding-left: 8px !important; padding-right: 8px !important; flex-wrap: nowrap !important; overflow: visible !important; }
  .header-brand-side { margin-right: 6px !important; min-width: 0 !important; flex-shrink: 0 !important; }
  .brand-wrapper { gap: 6px !important; }
  .brand-logo-img { height: 36px !important; }
  .brand-title { font-size: 12px !important; letter-spacing: 0px !important; white-space: nowrap !important; }
  .brand-subtitle { font-size: 9px !important; white-space: nowrap !important; }
  .brand-akred, .brand-sep { display: none !important; }
  .nav-menu.header-nav-center { flex: 1 1 auto !important; min-width: 0 !important; justify-content: center !important; }
  .nav-menu > ul { gap: 2px !important; margin: 0 auto !important; }
  .nav-menu > ul > li { margin: 0 !important; padding: 0 !important; }
  .nav-menu > ul > li + li { padding-left: 0 !important; margin-left: 0 !important; }
  .nav-menu > ul > li > a { padding: 5px 6px !important; font-size: 10.5px !important; font-weight: 700 !important; letter-spacing: 0px !important; }
  .nav-menu > ul > li.active > a::before { left: 4px !important; right: 4px !important; height: 2px !important; }
  .nav-menu .drop-down > a:after, .nav-menu .drop-down > a::after { margin-left: 2px !important; font-size: 9px !important; }
  .header-cta-side { flex-shrink: 0 !important; margin-left: 6px !important; }
  .btn-header-cta { padding: 5px 9px !important; font-size: 11px !important; margin-left: 0 !important; white-space: nowrap !important; }
  .btn-header-cta i { display: none !important; }
}

@media (max-width: 1200px) and (min-width: 992px) {
  #hero { height: 72vh !important; min-height: 450px !important; }
  #hero .carousel-content { top: 50% !important; transform: translate(calc(-1 * var(--card-x-desktop, 10%)), -50%) !important; padding: 18px 24px !important; max-width: min(760px, calc(100% - 24px)) !important; }
  #hero .carousel-content h2 { font-size: clamp(1.2rem, 2.2vw, 1.7rem) !important; margin-bottom: 6px !important; }
  #hero .carousel-content p { font-size: clamp(0.8rem, 1.3vw, 0.95rem) !important; margin-bottom: 12px !important; }
}

@media (max-width: 991px) {
  #topbar {
    display: none !important;
  }
  #header {
    height: 72px !important;
  }
  #header .container,
  #header .container-fluid {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative !important;
  }
  .brand-wrapper {
    flex: 1 !important;
    max-width: calc(100% - 56px) !important;
    gap: 10px !important;
  }
  .brand-title {
    font-size: 14px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .brand-subtitle {
    font-size: 10px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .brand-logo-img {
    height: 44px !important;
  }
  .mobile-nav-toggle {
    display: inline-flex !important;
  }
  #hero {
    height: 60vh !important;
    min-height: 420px;
  }
  #hero .carousel-content {
    padding: 20px 22px !important;
    margin: 0 10px;
  }
  .welcome-card {
    padding: 28px 20px;
  }
  .welcome-img {
    height: 260px;
  }
}

@media (max-width: 576px) {
  #header {
    height: 66px !important;
    padding: 6px 0 !important;
  }
  #header .container,
  #header .container-fluid {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  .brand-wrapper {
    max-width: calc(100% - 48px) !important;
    gap: 8px !important;
  }
  .brand-text {
    max-width: 100% !important;
  }
  .brand-title {
    font-size: 12.5px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .brand-subtitle {
    font-size: 9.5px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .brand-akred,
  .brand-sep {
    display: none !important;
  }
  .brand-logo-img {
    height: 38px !important;
  }
  .mobile-nav-toggle {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
  }
  .mobile-nav-toggle i {
    font-size: 22px !important;
  }
  #hero {
    height: 55vh !important;
    min-height: 380px;
  }
  #hero .carousel-container {
    bottom: 30px;
  }
  #hero .carousel-content {
    padding: 18px !important;
  }
  .hero-btns {
    flex-direction: column;
    gap: 8px;
  }
  .btn-hero-primary, .btn-hero-outline {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 9px 16px;
  }
  #hero .carousel-control-prev, #hero .carousel-control-next {
    display: none !important;
  }
  .news-img-wrap {
    height: 180px;
  }
  .welcome-img {
    height: 220px;
  }
  .welcome-actions {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }
  .welcome-btn, .welcome-btn-outline {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .welcome-badge {
    bottom: 10px;
    left: 10px;
    right: 10px;
    padding: 8px 12px;
    gap: 8px;
  }
  .welcome-badge .badge-icon {
    width: 32px;
    height: 32px;
    font-size: 15px;
  }
  .welcome-badge .badge-label {
    font-size: 12px;
  }
  .welcome-badge .badge-sub {
    font-size: 10px;
  }
}

/* ==============================================================
   EXECUTIVE 2-COLUMN SCHOOL & SPEECH PAGES (KIRI & KANAN + ANIMASI)
   ============================================================== */
.executive-page-section {
  padding: 50px 0 80px 0;
  background: #f8fafc;
  position: relative;
}

/* KIRI: Executive Sidebar Card */
.executive-sidebar-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 15px 35px -5px rgba(15, 43, 92, 0.1), 0 0 1px 1px rgba(0,0,0,0.04);
  border: 1px solid rgba(226, 232, 240, 0.85);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: sticky;
  top: 95px;
}
.executive-sidebar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 45px -8px rgba(15, 43, 92, 0.16), 0 0 1px 1px rgba(245, 158, 11, 0.25);
}

.executive-photo-frame {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 40%, rgba(15, 43, 92, 0.08) 0%, rgba(15, 43, 92, 0.02) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  border-bottom: 3px solid #f59e0b;
}
.executive-photo-img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  object-position: bottom center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
  display: block;
}
.executive-sidebar-card:hover .executive-photo-img {
  transform: scale(1.035);
}

.floating-pill-badge {
  position: absolute;
  top: 15px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.floating-pill-badge.unit-badge {
  left: 15px;
  background: rgba(15, 43, 92, 0.9);
  color: #ffffff;
  backdrop-filter: blur(8px);
}
.floating-pill-badge.akred-badge {
  right: 15px;
  background: #f59e0b;
  color: #0f172a;
}

.executive-info-body {
  padding: 24px 22px;
}
.executive-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-navy);
  margin: 0 0 6px 0;
  line-height: 1.3;
}
.executive-role-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.15);
  color: #b45309;
  font-size: 12.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(245, 158, 11, 0.35);
  margin-bottom: 18px;
}

.executive-facts-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  border-top: 1px dashed #e2e8f0;
  padding-top: 15px;
}
.executive-facts-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #475569;
  padding: 6px 0;
}
.executive-facts-list li i {
  color: #f59e0b;
  font-size: 15px;
  flex-shrink: 0;
}
.executive-facts-list li strong {
  color: #0f172a;
  font-weight: 700;
}

.executive-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.btn-executive-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f1f5f9;
  color: #0f2b5c !important;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  text-decoration: none !important;
  transition: all 0.25s ease;
}
.btn-executive-switch:hover {
  background: #0f2b5c;
  color: #ffffff !important;
  transform: translateX(4px);
  border-color: #0f2b5c;
}
.btn-executive-switch i {
  transition: transform 0.25s ease;
}
.btn-executive-switch:hover i {
  transform: translateX(3px);
}

.btn-executive-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0f172a !important;
  font-size: 13.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 11px 18px;
  border-radius: 10px;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
  transition: all 0.25s ease;
}
.btn-executive-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.45);
  color: #000000 !important;
}

/* KANAN: Speech Main Card */
.speech-main-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 15px 35px -5px rgba(15, 43, 92, 0.1), 0 0 1px 1px rgba(0,0,0,0.04);
  border: 1px solid rgba(226, 232, 240, 0.85);
  padding: 38px 42px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}
.speech-main-card:hover {
  box-shadow: 0 20px 45px -5px rgba(15, 43, 92, 0.14);
}

.speech-watermark-icon {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 130px;
  color: rgba(15, 43, 92, 0.035);
  pointer-events: none;
  user-select: none;
  animation: floatSlow 6s ease-in-out infinite;
}

.speech-pretitle-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 43, 92, 0.08);
  color: #0f2b5c;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.speech-main-title {
  font-size: clamp(1.4rem, 2.5vw, 1.95rem);
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.25;
  margin: 0 0 12px 0;
}
.speech-title-divider {
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  border-radius: 2px;
  margin-bottom: 24px;
}

/* Opening Greeting Block */
.speech-greeting-box {
  background: linear-gradient(135deg, rgba(15, 43, 92, 0.03) 0%, rgba(245, 158, 11, 0.07) 100%);
  border-left: 4px solid #f59e0b;
  border-radius: 12px;
  padding: 16px 22px;
  margin-bottom: 25px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.speech-greeting-arabic {
  font-family: 'Amiri', 'Traditional Arabic', serif;
  font-size: 20px;
  font-weight: 700;
  color: #0f2b5c;
  line-height: 1.6;
  margin-bottom: 4px;
}
.speech-greeting-indo {
  font-size: 14.5px;
  font-weight: 700;
  color: #475569;
  margin: 0;
}

/* Reading Typography */
.speech-body-content {
  color: #1e293b;
  font-size: 15.5px;
  line-height: 1.85;
}
.speech-body-content p {
  margin-bottom: 18px;
}
.speech-body-content p:last-child {
  margin-bottom: 0;
}

/* 3 Core Pillars of Era Pembangunan */
.school-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 30px 0;
}
.pillar-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px 16px;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.pillar-card:hover {
  transform: translateY(-6px);
  background: #ffffff;
  border-color: #f59e0b;
  box-shadow: 0 14px 28px -4px rgba(15, 43, 92, 0.12), 0 0 1px 1px rgba(245, 158, 11, 0.2);
}
.pillar-icon-box {
  width: 50px;
  height: 50px;
  margin: 0 auto 12px auto;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(15, 43, 92, 0.1) 0%, rgba(245, 158, 11, 0.15) 100%);
  color: #0f2b5c;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease;
}
.pillar-card:hover .pillar-icon-box {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, #0f2b5c 0%, #1e3a8a 100%);
  color: #fbbf24;
}
.pillar-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 6px;
  line-height: 1.3;
}
.pillar-desc {
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* Formal Closing & Verification Seal */
.speech-footer-seal {
  margin-top: 35px;
  padding-top: 24px;
  border-top: 2px dashed #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}
.speech-closing-doa {
  font-size: 13.5px;
  color: #475569;
  font-style: italic;
  line-height: 1.6;
}
.verified-seal-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  padding: 10px 18px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.verified-seal-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
  flex-shrink: 0;
}
.verified-seal-text strong {
  display: block;
  font-size: 12px;
  color: #0f172a;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.verified-seal-text small {
  font-size: 11px;
  color: #64748b;
}

/* Floating animation */
@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(2deg);
  }
}

/* Responsive adjustment for speech pages */
@media (max-width: 991px) {
  .executive-sidebar-card {
    position: static;
    margin-bottom: 30px;
  }
  .speech-main-card {
    padding: 26px 20px;
  }
  .school-pillars-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .speech-footer-seal {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==============================================================
   IMMERSIVE 3D 404 / INACTIVE SERVICE SECTION
   ============================================================== */
.error-3d-universe {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 20%, #1e3a8a 0%, #0f2b5c 40%, #061226 100%);
  overflow: hidden;
  padding: 60px 15px;
  perspective: 1200px;
}

/* Ambient 3D Glowing Orbs */
.orb-3d {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.45;
  z-index: 1;
}
.orb-gold {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, #f59e0b 0%, rgba(245, 158, 11, 0) 70%);
  top: -100px;
  left: 10%;
  animation: orbFloat1 10s ease-in-out infinite alternate;
}
.orb-blue {
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, #3b82f6 0%, rgba(59, 130, 246, 0) 70%);
  bottom: -120px;
  right: 10%;
  animation: orbFloat2 12s ease-in-out infinite alternate;
}

@keyframes orbFloat1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, 40px) scale(1.15); }
}
@keyframes orbFloat2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-50px, -30px) scale(1.1); }
}

/* Master 3D Card with Automatic 3D Entrance & Exit */
.card-3d-master {
  position: relative;
  z-index: 2;
  max-width: 780px;
  width: 100%;
  margin: 0 auto;
  padding: 45px 35px 35px 35px;
  background: rgba(15, 30, 65, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.5),
              0 0 40px rgba(59, 130, 246, 0.15),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transform-style: preserve-3d;
  transition: transform 0.25s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease, opacity 0.6s ease, filter 0.6s ease;
  animation: epjEntrance3D 1.1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* 3D Entrance Animation */
@keyframes epjEntrance3D {
  0% {
    opacity: 0;
    transform: perspective(1200px) rotateX(25deg) translateY(60px) scale(0.85);
    filter: blur(12px);
  }
  100% {
    opacity: 1;
    transform: perspective(1200px) rotateX(0deg) translateY(0) scale(1);
    filter: blur(0);
  }
}

/* 3D Exit Animation */
.card-3d-master.exit-3d-active {
  opacity: 0 !important;
  transform: perspective(1200px) rotateX(-22deg) translateY(-50px) scale(0.85) !important;
  filter: blur(14px) !important;
  pointer-events: none !important;
}

/* Floating 3D Badge */
.badge-3d-floating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.2);
  transform: translateZ(30px);
}
.badge-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fbbf24;
  box-shadow: 0 0 10px #fbbf24;
  animation: pulseDot 1.5s infinite alternate;
}
@keyframes pulseDot {
  0% { transform: scale(0.8); opacity: 0.6; }
  100% { transform: scale(1.3); opacity: 1; }
}

/* 3D Centerpiece Numbers & Hologram Portal */
.numbers-3d-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 20px 0 25px 0;
  transform-style: preserve-3d;
  transform: translateZ(50px);
}

.digit-3d {
  font-size: clamp(4.5rem, 11vw, 7.8rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 50%, #64748b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.6))
          drop-shadow(0 0 20px rgba(245, 158, 11, 0.4));
  letter-spacing: -2px;
  user-select: none;
  animation: floatDigit 4s ease-in-out infinite alternate;
}
.digit-left {
  animation-delay: 0s;
}
.digit-right {
  animation-delay: 0.5s;
}

@keyframes floatDigit {
  0% { transform: translateY(0) rotate(-2deg); }
  100% { transform: translateY(-10px) rotate(2deg); }
}

/* Gyroscopic 3D Portal */
.portal-3d {
  position: relative;
  width: clamp(90px, 14vw, 130px);
  height: clamp(90px, 14vw, 130px);
  margin: 0 5px;
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portal-ring {
  position: absolute;
  border-radius: 50%;
  border-style: solid;
  transform-style: preserve-3d;
}

.ring-outer {
  width: 100%;
  height: 100%;
  border-width: 3px;
  border-color: #f59e0b transparent #fbbf24 transparent;
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.5);
  animation: spinGyroX 7s linear infinite;
}

.ring-middle {
  width: 80%;
  height: 80%;
  border-width: 3px;
  border-color: transparent #38bdf8 transparent #0284c7;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.5);
  animation: spinGyroY 5s linear infinite reverse;
}

.ring-inner {
  width: 60%;
  height: 60%;
  border-width: 2.5px;
  border-color: #fbbf24 #fbbf24 transparent transparent;
  animation: spinGyroZ 9s linear infinite;
}

.portal-core {
  position: absolute;
  width: 48%;
  height: 48%;
  background: radial-gradient(circle, #f59e0b 0%, rgba(245, 158, 11, 0.2) 70%, transparent 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px #f59e0b, inset 0 0 15px #fbbf24;
  animation: pulsePortalGlow 2.5s ease-in-out infinite alternate;
}

.portal-icon {
  color: #0f172a;
  font-size: clamp(22px, 3.5vw, 32px);
  animation: iconSpin 8s ease-in-out infinite alternate;
}

@keyframes spinGyroX {
  0% { transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
  100% { transform: rotateX(360deg) rotateY(180deg) rotateZ(360deg); }
}
@keyframes spinGyroY {
  0% { transform: rotateY(0deg) rotateX(0deg) rotateZ(0deg); }
  100% { transform: rotateY(360deg) rotateX(180deg) rotateZ(-360deg); }
}
@keyframes spinGyroZ {
  0% { transform: rotateZ(0deg); }
  100% { transform: rotateZ(360deg); }
}
@keyframes pulsePortalGlow {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.15); opacity: 1; box-shadow: 0 0 45px #f59e0b; }
}
@keyframes iconSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(90deg); }
}

/* Card Content Typography */
.card-3d-title {
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
  transform: translateZ(25px);
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.card-3d-text {
  font-size: clamp(13.5px, 1.8vw, 15.5px);
  color: #cbd5e1;
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto 28px auto;
  transform: translateZ(20px);
}
.card-3d-text strong {
  color: #fbbf24;
  font-weight: 700;
}

/* 3D Countdown Box */
.countdown-3d-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 16px 20px;
  max-width: 540px;
  margin: 0 auto;
  transform: translateZ(25px);
  backdrop-filter: blur(10px);
}
.cd-label {
  font-size: 13px;
  color: #94a3b8;
  font-weight: 600;
}
.cd-label i {
  color: #fbbf24;
  margin-right: 4px;
}
.cd-timer {
  font-size: 13.5px;
  color: #f1f5f9;
}
.cd-timer strong {
  color: #fbbf24;
  font-size: 16px;
}
.cd-bar-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 99px;
  overflow: hidden;
}
.cd-bar-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 100%);
  border-radius: 99px;
  transition: width 1s linear;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.8);
}
.btn-cancel-cd {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 4px 8px;
}
.btn-cancel-cd:hover {
  color: #ef4444;
  text-decoration: underline;
}

/* 3D Action Buttons Grid */
.actions-3d-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  transform: translateZ(35px);
}

.btn-action-3d {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}
.btn-action-3d:hover {
  transform: translateY(-4px) scale(1.03);
}

.btn-action-3d.btn-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0f172a !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.35);
}
.btn-action-3d.btn-gold:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  box-shadow: 0 14px 30px rgba(245, 158, 11, 0.5);
}

.btn-action-3d.btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}
.btn-action-3d.btn-whatsapp:hover {
  background: linear-gradient(135deg, #2ae771 0%, #1ea952 100%);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.45);
}

.btn-action-3d.btn-glass {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}
.btn-action-3d.btn-glass:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Active Pages Quick Dock */
.active-pages-dock {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateZ(20px);
}
.dock-heading {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}
.pill-3d {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0 !important;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.25s ease;
  backdrop-filter: blur(5px);
}
.pill-3d:hover {
  background: rgba(245, 158, 11, 0.2);
  border-color: #f59e0b;
  color: #fbbf24 !important;
  transform: translateY(-2px);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .error-3d-universe {
    padding: 40px 12px;
    min-height: 75vh;
  }
  .card-3d-master {
    padding: 30px 18px 24px 18px;
    border-radius: 20px;
  }
  .actions-3d-grid {
    flex-direction: column;
    width: 100%;
  }
  .btn-action-3d {
    width: 100%;
  }
  .numbers-3d-box {
    margin: 15px 0 20px 0;
  }
}

/* ==============================================================
   PAPAN IKLAN & BILLBOARD SECTION (AUTO-ROTATE ON RELOAD)
/* ==============================================================
   PAPAN IKLAN & PROMOSI (MODAL OVERLAY WITH SMOOTH IN & OUT ANIMATION)
   ============================================================== */

/* Modal Backdrop */
.epj-ad-modal-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(11, 19, 36, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 99998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.epj-ad-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* Modal Wrapper */
.epj-ad-modal-wrap {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 99999;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0.5s;
  overflow-y: auto;
}
.epj-ad-modal-wrap.active {
  pointer-events: auto;
  visibility: visible;
}

/* Modal Box Container */
.epj-ad-modal-box {
  position: relative;
  width: 100%;
  max-width: 820px;
  margin: auto;
  background: #0f172a;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px -15px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.12);
  opacity: 0;
  transform: scale(0.8) translateY(40px);
  transition: transform 0.6s cubic-bezier(0.34, 1.45, 0.64, 1), opacity 0.5s ease;
  will-change: transform, opacity;
}

/* Animasi Masuk (Smooth Entrance) */
.epj-ad-modal-box.modal-in {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Animasi Keluar (Smooth Exit) */
.epj-ad-modal-box.modal-out {
  opacity: 0;
  transform: scale(0.82) translateY(-35px);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.45s ease;
}

/* Progress Countdown Bar at Top */
.epj-ad-modal-timer {
  position: relative;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
}
.epj-ad-modal-timer-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #f59e0b, #ef4444);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.9);
  transition: width 0.04s linear;
}

/* Modal Header */
.epj-ad-modal-header {
  padding: 14px 22px;
  background: linear-gradient(135deg, #0f2b5c, #1e3a8a);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.epj-ad-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #fbbf24;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 20px;
}
.epj-ad-modal-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fbbf24;
  box-shadow: 0 0 8px #fbbf24;
  animation: epjPulseDot 1.5s infinite;
}
.epj-ad-modal-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.epj-ad-modal-counter {
  font-size: 11.5px;
  font-weight: 700;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.12);
  padding: 3px 9px;
  border-radius: 6px;
}
.epj-ad-modal-close {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
  line-height: 1;
}
.epj-ad-modal-close:hover {
  background: #ef4444;
  border-color: #ef4444;
  transform: rotate(90deg) scale(1.1);
}

/* Modal Body / Image Stage */
.epj-ad-modal-body {
  position: relative;
  background: #090e1a;
  overflow: hidden;
  max-height: 68vh;
  min-height: 220px;
}
.epj-ad-modal-slide {
  display: none;
  position: relative;
  width: 100%;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.epj-ad-modal-slide.active {
  display: block;
  opacity: 1;
  transform: scale(1);
}
.epj-ad-modal-slide.slide-leaving {
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.epj-ad-modal-link {
  display: block;
  position: relative;
  text-decoration: none !important;
}
.epj-ad-modal-img {
  width: 100%;
  max-height: 58vh;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  background: #090e1a;
  transition: transform 0.5s ease;
}
.epj-ad-modal-box:hover .epj-ad-modal-img {
  transform: scale(1.015);
}

/* Modal Slide Caption & CTA */
.epj-ad-modal-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.8) 35%, rgba(15, 23, 42, 0.98) 100%);
  padding: 26px 22px 18px 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 15px;
  color: #fff;
  z-index: 5;
}
.epj-ad-tag {
  display: inline-flex;
  align-items: center;
  background: rgba(245, 158, 11, 0.95);
  color: #0f2b5c;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}
.epj-ad-modal-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.4;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}
.epj-ad-modal-cta {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff !important;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 8px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.45);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}
.epj-ad-modal-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.6);
}

/* Modal Nav Arrows */
.epj-ad-modal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s ease;
  opacity: 0.85;
  padding: 0;
}
.epj-ad-modal-arrow:hover {
  background: #f59e0b;
  color: #0f172a;
  transform: translateY(-50%) scale(1.1);
  opacity: 1;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.4);
}
.epj-ad-modal-prev { left: 14px; }
.epj-ad-modal-next { right: 14px; }

/* Modal Footer */
.epj-ad-modal-footer {
  padding: 12px 22px;
  background: #0f172a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.epj-ad-modal-hint {
  font-size: 11.5px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
}
.epj-ad-modal-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}
.epj-ad-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.3s ease;
}
.epj-ad-dot.active {
  width: 24px;
  background: #f59e0b;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.7);
}

/* Floating Action Badge to Re-Open Modal Anytime */
.epj-ad-floating-btn {
  position: fixed;
  bottom: 74px;
  left: 18px;
  background: linear-gradient(135deg, #0f2b5c, #1e3a8a);
  color: #ffffff !important;
  border: 1px solid rgba(245, 158, 11, 0.45);
  box-shadow: 0 10px 25px rgba(15, 43, 92, 0.35);
  padding: 9px 18px 9px 14px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  z-index: 99980;
  text-decoration: none !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  pointer-events: none;
}
.epj-ad-floating-btn.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.epj-ad-floating-btn:hover {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0f172a !important;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 30px rgba(245, 158, 11, 0.45);
}
.epj-ad-floating-btn .float-badge-count {
  background: #f59e0b;
  color: #0f172a;
  font-size: 10.5px;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 10px;
}
.epj-ad-floating-btn:hover .float-badge-count {
  background: #0f172a;
  color: #ffffff;
}

@media (max-width: 576px) {
  .epj-ad-floating-btn {
    bottom: 64px;
    left: 12px;
    padding: 7px 14px 7px 11px;
    font-size: 11.5px;
  }
}

@media (max-width: 767.98px) {
  .epj-ad-modal-caption {
    position: static;
    background: #0f172a;
    padding: 14px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .epj-ad-modal-cta {
    width: 100%;
    justify-content: center;
  }
  .epj-ad-modal-box {
    max-width: 95vw;
  }
}

/* ==========================================================================
   PROGRAM KEAHLIAN & KESETARAAN (ULTRA PRO MODERN UI/UX)
   ========================================================================== */

/* 1. Section Container */
.epj-program-section {
  padding: 85px 0 75px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  position: relative;
}
.epj-program-section .section-lead-text {
  max-width: 760px;
  margin: 12px auto 0 auto;
  font-size: 15.5px;
  color: #475569;
  line-height: 1.6;
}

/* 2. Filter Tab Pill */
.epj-program-filter-wrap {
  margin-top: 30px;
}
.epj-filter-tab-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  padding: 6px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  border: 1px solid #e2e8f0;
  flex-wrap: wrap;
  justify-content: center;
}
.epj-filter-btn {
  border: none;
  background: transparent;
  color: #475569;
  font-size: 13.5px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.epj-filter-btn:hover {
  color: #0f2b5c;
  background: #f1f5f9;
}
.epj-filter-btn.active {
  background: linear-gradient(135deg, #0f2b5c, #1e3a8a);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 43, 92, 0.35);
}

/* 3. Program Card Item */
.epj-card-col {
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.epj-program-card-item {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.epj-program-card-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

/* Card Top Bar */
.epj-program-card-item .card-header-bar {
  padding: 18px 20px 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.unit-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.tag-smk {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}
.tag-pkbm {
  background: #f5f3ff;
  color: #6d28d9;
  border: 1px solid #ddd6fe;
}
.code-badge {
  background: #0f172a;
  color: #fbbf24;
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

/* Card Content Area */
.epj-program-card-item .card-content-area {
  padding: 8px 22px 20px 22px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* Icon Halo */
.program-icon-wrapper {
  position: relative;
  width: 58px;
  height: 58px;
  margin-bottom: 16px;
}
.program-icon-wrapper .icon-halo {
  position: absolute;
  inset: -3px;
  border-radius: 16px;
  opacity: 0.2;
  transition: all 0.3s ease;
}
.program-icon-wrapper .icon-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #fff;
  transition: all 0.3s ease;
}
.epj-program-card-item:hover .icon-inner {
  transform: scale(1.08) rotate(3deg);
}

/* Color Themes */
.theme-emerald .icon-halo { background: #10b981; }
.theme-emerald .icon-inner { background: linear-gradient(135deg, #059669, #10b981); }
.theme-emerald .program-card-title a:hover { color: #059669; }

.theme-amber .icon-halo { background: #f59e0b; }
.theme-amber .icon-inner { background: linear-gradient(135deg, #d97706, #f59e0b); }
.theme-amber .program-card-title a:hover { color: #d97706; }

.theme-indigo .icon-halo { background: #6366f1; }
.theme-indigo .icon-inner { background: linear-gradient(135deg, #4f46e5, #6366f1); }
.theme-indigo .program-card-title a:hover { color: #4f46e5; }

.theme-blue .icon-halo { background: #2563eb; }
.theme-blue .icon-inner { background: linear-gradient(135deg, #1d4ed8, #2563eb); }
.theme-blue .program-card-title a:hover { color: #1d4ed8; }

.theme-rose .icon-halo { background: #f43f5e; }
.theme-rose .icon-inner { background: linear-gradient(135deg, #e11d48, #f43f5e); }
.theme-rose .program-card-title a:hover { color: #e11d48; }

.theme-cyan .icon-halo { background: #06b6d4; }
.theme-cyan .icon-inner { background: linear-gradient(135deg, #0891b2, #06b6d4); }
.theme-cyan .program-card-title a:hover { color: #0891b2; }

.theme-violet .icon-halo { background: #8b5cf6; }
.theme-violet .icon-inner { background: linear-gradient(135deg, #7c3aed, #8b5cf6); }
.theme-violet .program-card-title a:hover { color: #7c3aed; }

/* Titles & Text */
.program-card-title {
  font-size: 18.5px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
  line-height: 1.35;
}
.program-card-title a {
  color: inherit;
  text-decoration: none !important;
  transition: color 0.25s ease;
}
.program-card-tagline {
  font-size: 12px;
  font-weight: 600;
  color: #2563eb;
  margin-bottom: 12px;
  line-height: 1.4;
}
.program-card-desc {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Highlights List */
.program-card-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
  margin-top: auto;
}
.program-card-highlights li {
  font-size: 12px;
  color: #334155;
  margin-bottom: 6px;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  line-height: 1.45;
}
.program-card-highlights li i {
  color: #10b981;
  font-size: 14px;
  margin-top: 1px;
  flex-shrink: 0;
}

/* Card Action Footer */
.card-action-footer {
  padding: 14px 22px 18px 22px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #fafafa;
}
.btn-program-explore {
  font-size: 13px;
  font-weight: 700;
  color: #0f2b5c !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
  transition: all 0.25s ease;
}
.btn-program-explore:hover {
  color: #2563eb !important;
  transform: translateX(4px);
}
.btn-program-quick-ppdb {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #eff6ff;
  color: #2563eb !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.25s ease;
}
.btn-program-quick-ppdb:hover {
  background: #2563eb;
  color: #ffffff !important;
  transform: scale(1.08);
}

/* ==========================================================================
   PROGRAM DETAIL PAGE STYLES (LANDING PRO)
   ========================================================================== */

/* Hero Header */
.epj-program-hero {
  padding: 95px 0 65px 0;
  background: linear-gradient(135deg, #090e1a 0%, #0f2b5c 60%, #1e3a8a 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}
.epj-program-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(245, 158, 11, 0.15) 0%, transparent 60%);
  pointer-events: none;
}
.epj-breadcrumb-nav .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
  font-size: 12.5px;
}
.epj-breadcrumb-nav .breadcrumb-item a {
  color: #cbd5e1;
  text-decoration: none;
}
.epj-breadcrumb-nav .breadcrumb-item.active {
  color: #fbbf24;
  font-weight: 600;
}
.epj-badge-hero {
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-smk-pro {
  background: rgba(37, 99, 235, 0.25);
  border: 1px solid rgba(59, 130, 246, 0.5);
  color: #93c5fd;
}
.badge-pkbm-pro {
  background: rgba(139, 92, 246, 0.25);
  border: 1px solid rgba(167, 139, 250, 0.5);
  color: #c4b5fd;
}
.epj-badge-code {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 11.5px;
  padding: 4px 10px;
  border-radius: 20px;
}
.epj-badge-akred {
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #fbbf24;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}
.epj-hero-program-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  color: #ffffff;
  margin-top: 10px;
  margin-bottom: 12px;
  line-height: 1.2;
}
.epj-hero-program-tagline {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: #e2e8f0;
  line-height: 1.55;
  max-width: 720px;
}
.epj-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-epj-primary {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 10px;
  text-decoration: none !important;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
}
.btn-epj-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(245, 158, 11, 0.45);
}
.btn-epj-whatsapp {
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.5);
  color: #4ade80 !important;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 10px;
  text-decoration: none !important;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
}
.btn-epj-whatsapp:hover {
  background: #22c55e;
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* Hero Icon Card */
.epj-hero-icon-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 30px 24px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.epj-icon-bubble-large {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 46px;
  margin: 0 auto 20px auto;
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.45);
}
.epj-hero-stat-box {
  display: flex;
  align-items: center;
  justify-content: space-around;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
}
.stat-item .stat-number {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: #fbbf24;
}
.stat-item .stat-label {
  font-size: 11.5px;
  color: #cbd5e1;
}
.stat-sep {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.15);
}

/* Detail Card Boxes */
.epj-detail-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}
.epj-detail-card-header {
  padding: 18px 24px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fcfcfd;
}
.epj-detail-card-header .header-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #eff6ff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.epj-detail-card-header .header-icon.icon-gold { background: #fef3c7; color: #d97706; }
.epj-detail-card-header .header-icon.icon-blue { background: #eff6ff; color: #2563eb; }
.epj-detail-card-header .header-icon.icon-emerald { background: #ecfdf5; color: #059669; }
.epj-detail-card-header .header-icon.icon-purple { background: #f5f3ff; color: #7c3aed; }

.epj-detail-card-header .header-title {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}
.epj-detail-card-body {
  padding: 24px;
}
.epj-lead-box {
  background: #f8fafc;
  border-left: 4px solid #2563eb;
  padding: 14px 18px;
  border-radius: 0 10px 10px 0;
  font-size: 14.5px;
  color: #334155;
  line-height: 1.6;
  font-weight: 500;
}
.epj-rich-content {
  font-size: 14.5px;
  line-height: 1.75;
  color: #334155;
}
.epj-rich-content p {
  margin-bottom: 14px;
}

/* Feature Bullets & Competency Items */
.epj-feature-bullet {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  height: 100%;
  transition: all 0.25s ease;
}
.epj-feature-bullet:hover {
  background: #eff6ff;
  border-color: #bfdbfe;
  transform: translateY(-2px);
}
.bullet-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #10b981;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}
.bullet-text {
  font-size: 13.5px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.45;
}

/* Competency Grid */
.epj-competency-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}
.epj-competency-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.competency-num {
  font-size: 12px;
  font-weight: 800;
  background: #0f172a;
  color: #fbbf24;
  padding: 3px 8px;
  border-radius: 6px;
}
.competency-desc {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
}

/* Career Pills */
.epj-career-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.epj-career-pill {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s ease;
}
.epj-career-pill:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  transform: translateY(-2px);
}
.epj-facility-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}
.epj-facility-box i {
  color: #7c3aed;
  font-size: 16px;
}

/* CTA Banner in Detail */
.epj-cta-program-banner {
  background: linear-gradient(135deg, #0f2b5c 0%, #1e3a8a 100%);
  border-radius: 18px;
  padding: 32px 30px;
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(15, 43, 92, 0.25);
  position: relative;
  overflow: hidden;
}
.cta-pill {
  background: rgba(245, 158, 11, 0.25);
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: #fbbf24;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-bottom: 10px;
}
.epj-cta-program-banner h4 {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.epj-cta-program-banner p {
  font-size: 13.5px;
  color: #cbd5e1;
  margin-bottom: 16px;
  max-width: 600px;
}
.btn-cta-white {
  background: #ffffff;
  color: #0f2b5c !important;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 8px;
  text-decoration: none !important;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-cta-white:hover {
  background: #fbbf24;
  color: #0f172a !important;
  transform: translateY(-2px);
}
.btn-cta-outline-white {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 8px;
  text-decoration: none !important;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-cta-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

/* Sidebar Styles */
.epj-sidebar-sticky {
  position: sticky;
  top: 100px;
}
.epj-sidebar-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}
.epj-sidebar-card-header {
  padding: 14px 18px;
  background: #f8fafc;
  border-bottom: 1px solid #f1f5f9;
  font-weight: 700;
  font-size: 14px;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
}
.epj-quick-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.epj-quick-info-list li {
  padding: 12px 18px;
  border-bottom: 1px solid #f8fafc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}
.epj-quick-info-list li:last-child {
  border-bottom: none;
}
.epj-quick-info-list .info-label {
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
}
.epj-quick-info-list .info-val {
  font-weight: 600;
  color: #0f172a;
  text-align: right;
}
.epj-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
  margin-right: 4px;
  box-shadow: 0 0 6px #22c55e;
}

/* Side Program Items */
.epj-side-program-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.epj-side-program-item {
  padding: 9px 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  color: #1e293b;
  transition: all 0.2s ease;
}
.epj-side-program-item:hover {
  background: #f1f5f9;
  transform: translateX(3px);
}
.side-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.side-item-icon.icon-smk { background: #eff6ff; color: #2563eb; }
.side-item-icon.icon-pkbm { background: #f5f3ff; color: #7c3aed; }
.side-item-content {
  flex-grow: 1;
}
.side-item-name {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.3;
}
.side-item-arrow {
  color: #94a3b8;
  font-size: 16px;
}

@media (max-width: 991.98px) {
  .epj-sidebar-sticky {
    position: static;
  }
}

/* ========================================================
   MODERN PROGRAM CARDS WITH COVER PHOTOS (PRO UI/UX)
   ======================================================== */
.epj-card-media-wrap {
  position: relative;
  width: 100%;
  height: 205px;
  overflow: hidden;
  background: #0f172a;
}
.epj-card-media-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.epj-card-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}
.epj-program-card-item:hover .epj-card-cover-img {
  transform: scale(1.09);
}
.epj-card-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.05) 45%, rgba(15, 23, 42, 0.8) 100%);
  pointer-events: none;
}
.card-media-badges {
  position: absolute;
  top: 14px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  z-index: 2;
  pointer-events: none;
}
.card-media-badges .unit-tag {
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.card-media-badges .code-badge {
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.epj-program-card-item .program-icon-badge {
  position: absolute;
  bottom: -20px;
  left: 20px;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 21px;
  z-index: 4;
  box-shadow: 0 8px 18px rgba(0,0,0,0.22);
  border: 3px solid #ffffff;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.theme-emerald .program-icon-badge { background: linear-gradient(135deg, #059669, #10b981); }
.theme-amber .program-icon-badge   { background: linear-gradient(135deg, #d97706, #f59e0b); }
.theme-indigo .program-icon-badge  { background: linear-gradient(135deg, #4f46e5, #6366f1); }
.theme-blue .program-icon-badge    { background: linear-gradient(135deg, #1d4ed8, #2563eb); }
.theme-rose .program-icon-badge    { background: linear-gradient(135deg, #e11d48, #f43f5e); }
.theme-cyan .program-icon-badge    { background: linear-gradient(135deg, #0891b2, #06b6d4); }
.theme-violet .program-icon-badge  { background: linear-gradient(135deg, #7c3aed, #8b5cf6); }
.epj-program-card-item:hover .program-icon-badge {
  transform: scale(1.12) rotate(5deg);
}

.epj-program-card-item .card-content-area-with-media {
  padding: 28px 22px 18px 22px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* ========================================================
   UPGRADED HERO MEDIA CARD (LANDING PAGE PRO UI/UX)
   ======================================================== */
.epj-hero-media-card,
.epj-hero-showcase-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin-top: 10px;
}
.epj-hero-media-frame {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: #090e1a;
}
.epj-hero-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.epj-hero-media-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.45) 60%, rgba(15, 23, 42, 0.95) 100%);
}
.epj-hero-floating-pill {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fbbf24;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.epj-hero-floating-pill .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}
.epj-hero-icon-floater {
  position: absolute;
  bottom: 16px;
  right: 18px;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.4);
}
.epj-hero-stat-bar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 16px 20px;
  background: rgba(15, 23, 42, 0.75);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.epj-hero-stat-bar .stat-col {
  text-align: center;
}
.epj-hero-stat-bar .stat-val {
  font-size: 14.5px;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.epj-hero-stat-bar .stat-lbl {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 2px;
}
.epj-hero-stat-bar .stat-div {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.12);
}

/* Sidebar Other Program Thumbnails */
.side-item-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid #e2e8f0;
  background: #0f172a;
}
.side-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========================================================
   EPJ RESPONSIVE VIDEO SHOWCASE (Bebas Ukuran, Portrait & Landscape Otomatis)
   ======================================================== */
.epj-article-video-showcase {
  margin: 28px 0;
  background: #ffffff;
  border-radius: 18px;
  padding: 18px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  position: relative;
  overflow: hidden;
}

.epj-video-badge-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}

.epj-video-label {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  letter-spacing: 0.2px;
}

.epj-video-label i {
  color: #ef4444;
  font-size: 18px;
}

.epj-video-aspect-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  background: #f1f5f9;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.25s ease;
}

.epj-video-aspect-pill.pill-portrait {
  background: #fdf2f8;
  color: #db2777;
  border: 1px solid #fbcfe8;
}

.epj-video-aspect-pill.pill-landscape {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}

/* Base Video Card Container */
.epj-front-video-card {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.epj-front-player-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.epj-front-player-wrapper video {
  width: 100%;
  border-radius: 14px;
  background: #000000;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
  outline: none;
  display: block;
}

/* 1. Portrait Adaptive Mode (Vertikal / 9:16 / Reels / Shorts / Smartphone) */
.epj-front-video-card.is-portrait {
  max-width: 400px;
  margin: 0 auto;
}

.epj-front-video-card.is-portrait .epj-front-player-wrapper video {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 640px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(99, 102, 241, 0.25), 0 0 0 1px rgba(99, 102, 241, 0.2);
}

/* 2. Landscape Adaptive Mode (Horizontal / 16:9 / Widescreen) */
.epj-front-video-card.is-landscape {
  max-width: 100%;
  margin: 0 auto;
}

.epj-front-video-card.is-landscape .epj-front-player-wrapper video {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 520px;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.22);
}

/* Embed Iframes (YouTube / Shorts) */
.epj-video-embed-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.2);
}

.epj-video-embed-wrapper.is-landscape-embed {
  aspect-ratio: 16 / 9;
  max-width: 100%;
}

.epj-video-embed-wrapper.is-portrait-embed {
  aspect-ratio: 9 / 16;
  max-width: 380px;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(239, 68, 68, 0.25);
}

.epj-video-embed-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Instagram Embed Specific Styling */
.epj-video-embed-wrapper.is-instagram-embed {
  aspect-ratio: auto !important;
  max-width: 420px;
  margin: 0 auto;
  min-height: 560px;
  background: transparent;
  box-shadow: none;
}

.epj-video-embed-wrapper.is-instagram-embed iframe {
  position: relative !important;
  width: 100% !important;
  height: 580px !important;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

@media (max-width: 576px) {
  .epj-article-video-showcase {
    padding: 12px;
    border-radius: 14px;
  }
  .epj-front-video-card.is-portrait {
    max-width: 100%;
  }
  .epj-front-video-card.is-portrait .epj-front-player-wrapper video,
  .epj-video-embed-wrapper.is-portrait-embed {
    max-height: 80vh;
  }
}



