/* ========================================================================
   PUSDIKLATNAS - PUSAT PENDIDIKAN DAN PELATIHAN NASIONAL
   MODERN DESIGN SYSTEM & RESPONSIVE STYLESHEET
   100% Mobile, Tablet & Desktop Optimized (Zero Horizontal Overflow)
   ======================================================================== */

/* --- 1. DESIGN SYSTEM VARIABLES --- */
:root {

  --logodarkblue: #312A60;
  --logoyellow: #FFCB2A;
  --logoorange: ##EF2F3B;

  --primary: #0056b3;
  --primary-hover: #004494;
  --primary-light: #e8f1fd;
  --primary-glow: rgba(0, 86, 179, 0.16);

  --secondary: #f1690f;
  --secondary-hover: #d85705;
  --secondary-light: #fff5ed;
  --secondary-glow: rgba(241, 105, 15, 0.2);

  --dark: #0f172a;
  --dark-soft: #1e293b;
  --text: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  --light: #f8fafc;
  --light-alt: #e1eaf4;
  --border: #e2e8f0;
  --border-light: #e1eaf4;

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 24px -4px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 36px -6px rgba(15, 23, 42, 0.12);
  --shadow-hover: 0 20px 40px -8px rgba(0, 86, 179, 0.2);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- 2. GLOBAL RESET & ANTI-OVERFLOW GUARDS --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background-color: #ffffff;
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
  position: relative;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--dark);
  font-weight: 700;
  line-height: 1.25;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-track {
  background: var(--light);
}

/* --- 3. SECTION COMMONS --- */
section {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100vw;
  padding: 85px 0;
}

.slbl {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  border: 1px solid rgba(0, 86, 179, 0.15);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.stitle {
  font-size: clamp(1.85rem, 3.8vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--dark);
  margin-bottom: 14px;
}

.stitle span {
  color: var(--primary);
  position: relative;
}

.sdesc {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.sline {
  width: 50px;
  height: 3.5px;
  background: var(--secondary);
  margin: 0 auto 16px;
  border-radius: 3px;
}

.sline.lft {
  margin-left: 0;
}

/* --- 4. BUTTONS & UI COMPONENTS --- */
.btn-red {
  background: linear-gradient(135deg, var(--primary), #003d82);
  color: #fff !important;
  border: none;
  border-radius: var(--radius-full);
  padding: 13px 28px;
  font-weight: 600;
  font-size: 0.93rem;
  box-shadow: 0 6px 20px rgba(0, 86, 179, 0.35);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  text-align: center;
}

.btn-red:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 86, 179, 0.45);
  color: #fff !important;
}

.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--dark);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.btn-play .pico {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.9rem;
  transition: var(--transition);
}

.btn-play:hover {
  background: #fff;
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-play:hover .pico {
  background: var(--primary);
  color: #fff;
}

/* --- 5. TOP BAR --- */
#topbar {
  background: #002c5c;
  padding: 8px 0;
  font-size: 0.8rem;
  color: #cbd5e1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#topbar span {
  color: #cbd5e1;
  margin-right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

#topbar span i {
  color: var(--secondary);
}

#topbar .tsoc a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  font-size: 0.75rem;
  margin-left: 6px;
  transition: var(--transition);
}

#topbar .tsoc a:hover {
  background: var(--primary);
  color: #fff;
}

/* --- 6. NAVBAR --- */
#nav {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 990;
  box-shadow: 0 2px 15px rgba(15, 23, 42, 0.06);
  padding: 10px 0;
  transition: var(--transition);
}

#nav.scrolled {
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.1);
  padding: 8px 0;
}

.blogo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.blogo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.brand-text-wrap {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
}

.bname {
  font-family: "Oswald", sans-serif;
  font-size: 2.15rem;
  font-weight: 700;
  color: var(--logodarkblue);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  width: 100%;
  text-align: justify;
  text-align-last: justify;
}

.bsub {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.56rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  line-height: 1.2;
  margin-top: 3px;
  white-space: nowrap;
  width: 100%;
  text-align: justify;
  text-align-last: justify;
}

.navbar-nav .nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark) !important;
  padding: 12px 14px !important;
  position: relative;
  transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary) !important;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2.5px;
  background: var(--primary);
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.navbar-nav .nav-link.active::after,
.navbar-nav .nav-link:hover::after {
  width: 24px;
}

#navSearchBtn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
}

#navSearchBtn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.nav-cta {
  background: var(--secondary) !important;
  color: #fff !important;
  border-radius: var(--radius-full) !important;
  padding: 9px 20px !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 14px var(--secondary-glow);
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--secondary-hover) !important;
  color: #fff !important;
  transform: translateY(-2px);
}

/* --- 7. SEARCH OVERLAY --- */
#searchOv {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#searchOv.open {
  display: flex;
  animation: fadeIn 0.25s ease;
}

.sovbox {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  width: 100%;
  max-width: 650px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.sovclose {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--light);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  cursor: pointer;
}

.sovbox h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.sovinput {
  display: flex;
  align-items: center;
  background: var(--light);
  border: 2px solid var(--border);
  border-radius: var(--radius-full);
  padding: 6px 10px 6px 20px;
  margin-bottom: 20px;
  transition: var(--transition);
}

.sovinput:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.sovinput input {
  border: none;
  background: transparent;
  width: 100%;
  outline: none;
  font-size: 0.95rem;
  color: var(--dark);
}

.sovinput button {
  background: var(--primary);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sovcats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.sovcat {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--light);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
}

.sovcat:hover,
.sovcat.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.sovtrend {
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.sovtrend p {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.ttag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin: 3px;
  cursor: pointer;
  transition: var(--transition);
}

.ttag:hover {
  background: var(--primary);
  color: #fff;
}

/* --- 8. HERO SECTION --- */
#hero {
  background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
  padding: 70px 0 60px;
  position: relative;
  overflow: hidden;
}

.hbgtxt {
  display: none;
  /* Removed completely to eliminate horizontal mobile overflow */
}

.hs {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hs1 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle,
      rgba(0, 86, 179, 0.08) 0%,
      transparent 70%);
  top: -80px;
  right: -50px;
}

.hs2 {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle,
      rgba(241, 105, 15, 0.08) 0%,
      transparent 70%);
  bottom: -40px;
  left: -40px;
}

.hbadge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid rgba(0, 86, 179, 0.15);
  border-radius: var(--radius-full);
  padding: 6px 18px 6px 8px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--dark);
}

.hbadge .hbi {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--secondary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.htitle {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--dark);
  margin-bottom: 20px;
}

.hdesc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 30px;
}

/* Modern Hero Stats Grid (Mobile & Desktop) */
.hstats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}

.hstat {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.hstat .snum {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  display: block;
}

.hstat .snum em {
  color: var(--secondary);
  font-style: normal;
}

.hstat small {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
  margin-top: 3px;
  line-height: 1.2;
}

.sdiv {
  display: none;
}

/* Hero Visual Graphic (Strict zero overflow) */
.hcircle-wrap {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: 20px 0;
}

.hcircle {
  width: min(380px, 85vw);
  height: min(380px, 85vw);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffffff 0%, #e0edff 100%);
  border: 8px solid #ffffff;
  box-shadow: 0 20px 50px rgba(0, 86, 179, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  position: relative;
}

.hcircle img {
  width: 75%;
  height: 75%;
  object-fit: contain;
}

/* Floating Badges in Hero (Responsive & Non-overflowing) */
.hfloat-badge {
  position: absolute;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 5;
  animation: floatAnim 4s ease-in-out infinite;
}

.hfloat-badge.b-top {
  top: 15px;
  left: 0;
}

.hfloat-badge.b-bottom {
  bottom: 25px;
  right: 0;
  animation-delay: 2s;
}

.hfloat-badge.b-fast {
  top: 50%;
  left: -15px;
  transform: translateY(-50%);
  animation-delay: 1s;
}

@media (max-width: 991px) {
  .hfloat-badge.b-fast {
    top: auto;
    bottom: -15px;
    left: 10px;
    transform: none;
  }
}

.hfloat-badge .fb-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.85rem;
}

.hfloat-badge .fb-icon.bg-gold {
  background: var(--secondary);
}

.hfloat-badge .fb-icon.bg-blue {
  background: var(--primary);
}

.hfloat-badge .fb-icon.bg-green {
  background: #10b981;
}

.hfloat-badge strong {
  display: block;
  font-size: 0.95rem;
  color: var(--dark);
  line-height: 1.1;
}

.hfloat-badge span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

@keyframes floatAnim {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* --- 9. MARQUEE TICKER --- */
.mqsec {
  background: linear-gradient(90deg, #003366 0%, #0056b3 50%, #003366 100%);
  padding: 13px 0;
  overflow: hidden;
  width: 100%;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 3px 10px rgba(0, 51, 102, 0.15);
}

.mqtrack {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: mqrun 28s linear infinite;
}

.mqitem {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #e1eaf4;
  font-size: 0.88rem;
  font-weight: 500;
}

.mqitem i {
  color: var(--secondary);
  font-size: 0.6rem;
}

@keyframes mqrun {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* --- 10. CATEGORY SECTION --- */
#category {
  background: #e1eaf4;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.catcard {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.catcard:hover,
.catcard.active {
  background: #ffffff;
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.catcard.active {
  background: var(--primary-light);
}

.catimg {
  width: 55px;
  height: 55px;
  object-fit: contain;
  margin-bottom: 12px;
  transition: var(--transition);
}

.catcard:hover .catimg {
  transform: scale(1.1);
}

.catnm {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.catct {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- 11. ABOUT SECTION --- */
#about {
  background: #ffffff;
}

.about-card-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 5px solid #fff;
  position: relative;
}

.about-card-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-badge-ahu {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 14px 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.about-badge-ahu i {
  font-size: 1.8rem;
  color: var(--primary);
}

.about-badge-ahu strong {
  display: block;
  font-size: 0.95rem;
  color: var(--dark);
}

.about-badge-ahu span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.vision-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.vision-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.vision-card .vc-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.vision-card .vc-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.95rem;
}

.vision-card .vc-icon.vc-primary {
  background: var(--primary);
}

.vision-card .vc-icon.vc-secondary {
  background: var(--secondary);
}

.vision-card h6 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
}

.vision-card ul {
  padding-left: 20px;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.vision-card ul li {
  margin-bottom: 6px;
}

/* --- 12. PROGRAM & MATERI SECTION --- */
#materi {
  background: #e1eaf4;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.scroll-buttons {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 8px;
  padding: 8px 0 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.scroll-buttons::-webkit-scrollbar {
  height: 5px;
}

.scroll-buttons::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: var(--radius-full);
}

.filtbtn {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition);
}

.filtbtn:hover,
.filtbtn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px var(--primary-glow);
}

.mcard {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.mcard:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 86, 179, 0.3);
  box-shadow: var(--shadow-hover);
}

.mimg {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--light);
}

.mimg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.mcard:hover .mimg img {
  transform: scale(1.06);
}

.mhrt {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}

.mhrt:hover {
  color: var(--primary);
  background: #fff;
}

.mbody {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.mcat {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 6px;
}

.mtit {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mdesc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.mcard-footer {
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Modal Program Details - Zero Overlap & Mobile Optimized */
#materiPop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 16px;
}

#materiPop.open {
  display: flex;
  animation: fadeIn 0.25s ease;
}

.mpbox {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 840px;
  width: 100%;
  max-height: 90vh;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.mpbox .mpimg {
  width: 100%;
  height: 200px;
  min-height: 200px;
  max-height: 200px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  background: #e1eaf4;
}

.mpbox .mpimg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mpbox .mpbody {
  padding: 22px 20px;
  flex: 1 1 auto;
  overflow-y: auto;
  background: #ffffff;
  position: relative;
  z-index: 2;
}

.mpbox .mpbody h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: 8px;
  word-break: break-word;
}

.mpbox .mpbody #mpDesc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #64748b;
  margin-bottom: 16px;
}

.mpclose {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mpclose:hover {
  background: rgba(220, 38, 38, 0.9);
  transform: scale(1.08);
}

@media (min-width: 768px) {
  .mpbox {
    flex-direction: row;
    max-height: 85vh;
  }

  .mpbox .mpimg {
    width: 44%;
    height: auto;
    min-height: 100%;
    max-height: none;
  }

  .mpbox .mpbody {
    width: 56%;
    padding: 32px;
  }

  .mpbox .mpbody h3 {
    font-size: 1.35rem;
  }
}

/* --- 13. JADWAL COUNTDOWN SECTION (PREMIUM CONTRAST & DECORATIVE STRIPES) --- */
#jadwal {
  position: relative;
  background-color: #03152d;
  background-image:
    /* Pattern 1: Crisp geometric diagonal hatching lines (garis miring) */
    repeating-linear-gradient(45deg,
      rgba(255, 255, 255, 0.032) 0px,
      rgba(255, 255, 255, 0.032) 2px,
      transparent 2px,
      transparent 18px),
    /* Pattern 2: Secondary subtle counter-diagonal micro-grid */
    repeating-linear-gradient(-45deg,
      rgba(241, 105, 15, 0.018) 0px,
      rgba(241, 105, 15, 0.018) 1.5px,
      transparent 1.5px,
      transparent 36px),
    /* Dynamic ambient lighting: warm orange glow at top left */
    radial-gradient(circle at 10% 25%, rgba(241, 105, 15, 0.2) 0%, transparent 45%),
    /* Dynamic ambient lighting: royal azure glow at bottom right */
    radial-gradient(circle at 90% 75%, rgba(13, 110, 253, 0.22) 0%, transparent 50%),
    /* Deep midnight luxury navy base */
    linear-gradient(135deg, #020f22 0%, #061f3e 48%, #031429 100%);
  color: #ffffff;
  border-top: 2px solid rgba(241, 105, 15, 0.45);
  border-bottom: 2px solid rgba(0, 86, 179, 0.35);
  padding: 95px 0 90px;
  overflow: hidden;
  box-shadow: inset 0 25px 45px -20px rgba(0, 0, 0, 0.7), inset 0 -25px 45px -20px rgba(0, 0, 0, 0.7);
}

/* Background floating decorative light spheres */
#jadwal::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241, 105, 15, 0.14) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

#jadwal::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 110, 253, 0.16) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

#jadwal .container {
  position: relative;
  z-index: 2;
}

.sptag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(241, 105, 15, 0.18);
  border: 1px solid rgba(241, 105, 15, 0.5);
  color: #ffaa66;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
  box-shadow: 0 4px 15px rgba(241, 105, 15, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.jadwal-live-dot {
  width: 8px;
  height: 8px;
  background: #f1690f;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(241, 105, 15, 0.8);
  animation: jadwalPulseDot 1.6s infinite;
}

@keyframes jadwalPulseDot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(241, 105, 15, 0.8);
  }

  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 8px rgba(241, 105, 15, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(241, 105, 15, 0);
  }
}

.sptitle {
  font-size: clamp(1.9rem, 3.8vw, 2.6rem);
  font-weight: 800;
  color: #ffffff !important;
  line-height: 1.25;
  margin-bottom: 16px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.spdesc {
  font-size: 1.02rem;
  color: #cbd5e1 !important;
  line-height: 1.7;
  margin-bottom: 26px;
}

.cdwrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
}

.cditem {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 12px 18px;
  min-width: 82px;
  text-align: center;
  transition: all 0.25s ease;
}

.cditem:hover {
  transform: translateY(-4px);
  border-color: rgba(241, 105, 15, 0.55);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 30px rgba(241, 105, 15, 0.25);
}

.cdnum {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 2.1rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.05;
  display: block;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.cdlbl {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #94a3b8;
  font-weight: 700;
  margin-top: 5px;
  display: block;
}

.cdsep {
  font-size: 1.8rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 -2px 14px;
  user-select: none;
}

.btn-jadwal-konfirmasi {
  background: linear-gradient(135deg, #f1690f 0%, #d85700 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(241, 105, 15, 0.45);
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-jadwal-konfirmasi:hover {
  transform: translateY(-2px);
  color: #ffffff !important;
  box-shadow: 0 10px 28px rgba(241, 105, 15, 0.65);
  background: linear-gradient(135deg, #ff7a1f 0%, #e85f00 100%) !important;
}

.btn-jadwal-toggle {
  background: #ffffff !important;
  color: #003366 !important;
  border: 1px solid #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
}

.btn-jadwal-toggle i,
.btn-jadwal-toggle span {
  color: #003366 !important;
  transition: color 0.25s ease;
}

.btn-jadwal-toggle:hover {
  background: #004494 !important;
  border-color: #004494 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 68, 148, 0.55);
}

.btn-jadwal-toggle:hover i,
.btn-jadwal-toggle:hover span {
  color: #ffffff !important;
}

.spimgw {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.spimgw:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 65px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(241, 105, 15, 0.4);
}

.spimgw img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  transition: transform 0.5s ease;
}

.spimgw:hover img {
  transform: scale(1.02);
}

.sppbdg {
  position: absolute;
  top: 18px;
  left: 18px;
  background: linear-gradient(135deg, #f1690f 0%, #e05800 100%);
  color: #ffffff;
  border-radius: 10px;
  padding: 9px 16px;
  font-weight: 800;
  font-size: 0.88rem;
  box-shadow: 0 8px 22px rgba(241, 105, 15, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
}

.jadwal-trust-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  overflow-x: auto;
  flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}

.jadwal-trust-card::-webkit-scrollbar {
  height: 4px;
}

.jadwal-trust-card::-webkit-scrollbar-track {
  background: transparent;
}

.jadwal-trust-card::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 999px;
}

.jt-item {
  flex-shrink: 0;
}

.jt-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

/* --- 14. GALLERY & DOCUMENTATION --- */
#gallery {
  background: #ffffff;
}

.carousel-item.gitem img {
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

@media (max-width: 768px) {
  .carousel-item.gitem img {
    height: 280px;
  }
}

/* --- 15. LOKASI SECTION --- */
#lokasi {
  background: #e1eaf4;
}

.lkcard {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

.lkcard:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
}

.lkimg {
  position: relative;
  height: 170px;
  overflow: hidden;
}

.lkimg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.lkcard:hover .lkimg img {
  transform: scale(1.08);
}

.lkbody {
  padding: 18px;
}

.lknm {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.lkrole {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.lkexp {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

/* --- 16. TESTIMONIALS SECTION --- */
#testimonials {
  background: #ffffff;
}

.tescard {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tesq {
  font-size: 2.5rem;
  color: var(--primary);
  line-height: 1;
  font-family: serif;
}

.tess {
  color: #f59e0b;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.tesbody {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}

.tesuser {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}

.tesuser img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.tesuser strong {
  display: block;
  font-size: 0.95rem;
  color: var(--dark);
}

.tesuser span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* --- 17. MITRA LOGO CLOUD --- */
#mitra {
  background: linear-gradient(180deg, #ffffff 0%, #f1f5fb 100%);
}

.mtcard {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 16px;
  padding: 16px 18px;
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: var(--transition);
}

.mtcard::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0.45;
  transition: opacity 0.25s ease;
}

.mtcard:hover {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 14px 28px -6px rgba(0, 86, 179, 0.16), 0 4px 10px rgba(15, 23, 42, 0.06);
  transform: translateY(-5px);
}

.mtcard:hover::before {
  opacity: 1;
}

.mtcard img {
  max-height: 60px;
  max-width: 100%;
  object-fit: contain;
  filter: saturate(1.18) contrast(1.04);
  opacity: 1;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.mtcard:hover img {
  filter: saturate(1.28) contrast(1.06) drop-shadow(0 4px 8px rgba(15, 23, 42, 0.12));
  transform: scale(1.06);
}

/* --- 18. CONTACT SECTION --- */
#contact-section {
  background: #e1eaf4;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.ctdark {
  background: linear-gradient(145deg, #0a2540 0%, #003366 100%);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  height: 100%;
  color: #ffffff;
  box-shadow: 0 12px 35px rgba(0, 51, 102, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ctdark h3 {
  color: #ffffff;
}

.ctsub {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.ctitem {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
  align-items: flex-start;
}

.cticon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(0, 86, 179, 0.25);
  color: #60a5fa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.ctinfo strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #94a3b8;
  margin-bottom: 2px;
}

.ctinfo span {
  font-size: 0.92rem;
  color: #e1eaf4;
}

.ctsocrow {
  display: flex;
  gap: 10px;
}

.ctsocrow a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  transition: var(--transition);
}

.ctsocrow a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.fcard {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  box-shadow: var(--shadow-md);
}

.flbl {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
  display: block;
}

.fctrl {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 11px 16px;
  font-family: "Poppins", sans-serif;
  font-size: 0.9rem;
  color: var(--dark);
  background: var(--light);
  transition: var(--transition);
  outline: none;
}

.fctrl:focus {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 4px var(--primary-glow);
}

/* --- 19. FOOTER --- */
footer {
  background: #091a32;
  color: #cbd5e1;
  padding: 70px 0 0;
}

.fnm {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #ffffff;
  margin-bottom: 14px;
}

.fnm span {
  color: var(--secondary);
}

.fdesc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #94a3b8;
  margin-bottom: 22px;
}

.fsoc a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  margin-right: 8px;
  transition: var(--transition);
}

.fsoc a:hover {
  background: var(--primary);
  color: #fff;
}

.ftit {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
}

.flinks {
  list-style: none;
}

.flinks li {
  margin-bottom: 10px;
}

.flinks li a {
  color: #94a3b8;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.flinks li a:hover {
  color: var(--primary-light);
  transform: translateX(4px);
}

.fci {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.fciico {
  color: var(--secondary);
  font-size: 1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.fciinfo strong {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.8px;
}

.fciinfo span {
  font-size: 0.88rem;
  color: #cbd5e1;
}

.fbot {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  margin-top: 50px;
  font-size: 0.83rem;
  color: #94a3b8;
}

/* --- 20. FLOATING ACTION BUTTONS --- */
#btwa {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  z-index: 1022;
  transition: var(--transition);
  animation: pulseWa 2.5s infinite;
}

#btwa:hover {
  transform: scale(1.1);
  color: #ffffff;
}

@keyframes pulseWa {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }

  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

#btt {
  position: fixed;
  bottom: 90px;
  right: 25px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--dark);
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
  z-index: 1021;
  cursor: pointer;
  transition: var(--transition);
}

#btt:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

/* Navbar Share Button */
.btn-nav-share {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(214, 41, 118, 0.25);
  background: linear-gradient(135deg, rgba(240, 148, 51, 0.12), rgba(220, 39, 67, 0.12), rgba(188, 24, 136, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d62976;
  cursor: pointer;
  transition: var(--transition);
}

.btn-nav-share:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(214, 41, 118, 0.35);
}

/* Share Modal Platform Cards */
.share-platform-card {
  transition: all 0.22s ease;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  cursor: pointer;
}

.share-platform-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(7, 28, 61, 0.12);
}

.share-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.share-icon-circle-sm {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

/* --- 21. THOROUGH RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 991px) {
  #topbar {
    display: none;
    /* Hide topbar on tablet/mobile for ultra-clean header */
  }

  .navbar-collapse {
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 20px;
    margin-top: 14px;
    border: 1px solid var(--border);
  }

  .navbar-nav .nav-link {
    padding: 10px 0 !important;
  }

  .htitle {
    font-size: 2.2rem;
  }

  .hstats {
    grid-template-columns: repeat(2, 1fr);
  }

  .hcircle-wrap {
    margin-top: 30px;
  }
}

@media (max-width: 767px) {
  section {
    padding: 55px 0;
  }

  .bname {
    font-size: 1.65rem;
    letter-spacing: 0.04em;
  }

  .bsub {
    display: block;
    font-size: 0.44rem;
    letter-spacing: 0.015em;
    line-height: 1.2;
  }

  .blogo img {
    height: 42px !important;
  }

  .htitle {
    font-size: 1.85rem;
    line-height: 1.25;
  }

  .hdesc {
    font-size: 0.92rem;
    margin-bottom: 22px;
  }

  .hstats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 24px;
  }

  .hstat {
    padding: 10px;
  }

  .hstat .snum {
    font-size: 1.35rem;
  }

  .hcircle {
    width: 240px;
    height: 240px;
  }

  .hfloat-badge {
    padding: 6px 12px;
    gap: 8px;
  }

  .hfloat-badge strong {
    font-size: 0.85rem;
  }

  .hfloat-badge span {
    font-size: 0.68rem;
  }

  .cdwrap {
    gap: 8px;
  }

  .cditem {
    min-width: 60px;
    padding: 8px 10px;
  }

  .cdnum {
    font-size: 1.4rem;
  }

  .fcard {
    padding: 24px 18px;
  }

  .ctdark {
    padding: 26px 20px;
  }

  #btwa {
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
  }

  #btt {
    bottom: 78px;
    right: 20px;
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 480px) {
  .htitle {
    font-size: 1.65rem;
  }

  .btn-red {
    width: 100%;
    justify-content: center;
  }

  .btn-play {
    width: 100%;
    justify-content: center;
  }
}

/* CRITICAL SAFETY OVERRIDE: Ensure all content is immediately 100% visible */
[data-aos] {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transition: none !important;
}

#main-content {
  display: block;
  width: 100%;
  position: relative;
  min-height: 50vh;
}

/* --- BERITA & PUBLIKASI SECTION --- */
#berita {
  padding: 85px 0;
  background: #e1eaf4;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.bcard {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-light);
}

.bcard:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 86, 179, 0.12);
}

.bcard-img {
  position: relative;
  width: 100%;
  height: 210px;
  overflow: hidden;
  background: #e2e8f0;
}

.bcard-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.bcard:hover .bcard-img img {
  transform: scale(1.07);
}

.bcard-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.bcard-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.bcard-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.bcard-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.bcard-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bcard-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.bcard-title a:hover {
  color: var(--primary);
}

.bcard-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.bcard-footer {
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bcard-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.bcard-link:hover {
  gap: 10px;
  color: #004494;
}

#location {
  background: #e1eaf4;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

/* Search Target Pulse Highlight Animation */
.search-target-pulse {
  outline: 4px solid #f1690f !important;
  outline-offset: 4px;
  background-color: rgba(241, 105, 15, 0.15) !important;
  border-radius: 8px;
  transition: all 0.3s ease;
  animation: pulseGlow 0.8s ease infinite alternate;
}

@keyframes pulseGlow {
  from {
    box-shadow: 0 0 0 0 rgba(241, 105, 15, 0.7);
  }

  to {
    box-shadow: 0 0 0 12px rgba(241, 105, 15, 0);
  }
}

/* Search Overlay Results Styling */
.sov-results {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
  border: 1px solid #e2e8f0;
}

.search-result-item {
  border: none !important;
  border-bottom: 1px solid #e1eaf4 !important;
  padding: 11px 16px !important;
  cursor: pointer;
  background: #ffffff;
  transition: all 0.2s ease;
  width: 100%;
  text-align: left;
}

.search-result-item:last-child {
  border-bottom: none !important;
}

.search-result-item:hover {
  background: #f0f7ff !important;
  transform: translateX(4px);
}

/* --- 21. JADWAL BERLALU (ARSIP BERKONTRAS TINGGI & PAGINASI EFISIEN) --- */
.jadwal-past-hero {
  background: linear-gradient(135deg, #071c3d 0%, #0c3066 60%, #103c7d 100%);
  color: #ffffff;
}

.jadwal-past-kpi {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.jadwal-past-section {
  background: #e6eef7;
  border-top: 1px solid #cbd5e1;
  min-height: 58vh;
}

.jadwal-past-toolbar {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  box-shadow: 0 8px 22px -6px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(15, 23, 42, 0.05);
}

.jadwal-past-toolbar .form-control,
.jadwal-past-toolbar .form-select,
.jadwal-past-toolbar .input-group-text {
  border-color: #cbd5e1;
  font-size: 0.875rem;
}

.jadwal-past-toolbar .form-control:focus,
.jadwal-past-toolbar .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.jpt-view-toggle .btn {
  border-color: #cbd5e1;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.jpt-view-toggle .btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

/* Container View Switch: List (default, super efisien untuk data banyak) vs Grid 3 kolom */
.jadwal-past-container.view-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.jadwal-past-container.view-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

/* Card surface dengan kontras tegas terhadap background #e6eef7 */
.jadwal-past-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-left: 4px solid var(--primary);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 6px 18px -4px rgba(15, 23, 42, 0.1), 0 2px 6px rgba(15, 23, 42, 0.05);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.jadwal-past-card:hover {
  transform: translateY(-2px);
  border-color: #94a3b8;
  border-left-color: var(--secondary);
  box-shadow: 0 14px 28px -6px rgba(0, 86, 179, 0.16), 0 4px 10px rgba(15, 23, 42, 0.07);
}

.jpc-datebox {
  flex: 0 0 74px;
  background: #f1f6fd;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 8px 6px;
  text-align: center;
  line-height: 1.15;
}

.jpc-day {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
}

.jpc-month {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #1e3a8a;
  letter-spacing: 0.4px;
}

.jpc-year {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 2px;
}

.jpc-body {
  flex: 1 1 auto;
  min-width: 0;
}

.jpc-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
}

.jpc-cat {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid #bfdbfe;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jpc-city,
.jpc-date-inline {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: #334155;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 2px 9px;
  border-radius: 999px;
}

.jpc-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 3px;
  line-height: 1.38;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jpc-tema {
  font-size: 0.83rem;
  color: var(--text-muted);
  margin-bottom: 4px;
  line-height: 1.45;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jpc-speaker {
  font-size: 0.78rem;
  color: #475569;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jpc-actions {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  padding-left: 14px;
  border-left: 1px solid #e2e8f0;
}

.jpc-peserta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  color: #1e293b;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.jpc-peserta i {
  color: var(--primary);
}

/* Grid Mode Adjustments */
.jadwal-past-container.view-grid .jadwal-past-card {
  border-left: 1px solid #cbd5e1;
  border-top: 4px solid var(--primary);
  flex-direction: column;
  align-items: stretch;
  padding: 18px;
  gap: 12px;
  height: 100%;
}

.jadwal-past-container.view-grid .jadwal-past-card:hover {
  border-left-color: #94a3b8;
  border-top-color: var(--secondary);
}

.jadwal-past-container.view-grid .jpc-datebox {
  display: none;
}

.jadwal-past-container.view-grid .jpc-title {
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 2.7em;
}

.jadwal-past-container.view-grid .jpc-tema {
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.jadwal-past-container.view-grid .jpc-actions {
  margin-top: auto;
  padding-left: 0;
  padding-top: 12px;
  border-left: none;
  border-top: 1px solid #e2e8f0;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

/* Pagination Bar */
.jadwal-past-pager {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.jadwal-past-pager .page-link {
  border-color: #cbd5e1;
  color: var(--dark);
  font-weight: 600;
  border-radius: 8px;
  margin: 0 2px;
}

.jadwal-past-pager .page-item.active .page-link {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.jadwal-past-pager .page-item.disabled .page-link {
  color: #94a3b8;
  background: #f8fafc;
}

@media (max-width: 1199.98px) {
  .jadwal-past-container.view-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .jadwal-past-container.view-grid {
    grid-template-columns: 1fr;
  }

  .jadwal-past-card {
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    gap: 10px;
  }

  .jpc-datebox {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 0 0 auto;
    padding: 6px 12px;
    width: fit-content;
  }

  .jpc-day {
    font-size: 0.95rem;
  }

  .jpc-month,
  .jpc-year {
    font-size: 0.8rem;
    margin-top: 0;
  }

  .jpc-title,
  .jpc-tema {
    white-space: normal;
  }

  .jpc-actions {
    padding-left: 0;
    padding-top: 10px;
    border-left: none;
    border-top: 1px solid #e2e8f0;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}