@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --pbp-primary: #0EA5E9;
  --pbp-primary-dark: #0284C7;
  --pbp-primary-light: #e0f2fe;
  --pbp-accent: #F59E0B;
  --pbp-accent-dark: #D97706;
  --pbp-accent-light: #fef3c7;
  --pbp-navy: #0f172a;
  --pbp-slate: #1e293b;
  --pbp-gray: #64748b;
  --pbp-light: #f8fafc;
  --pbp-white: #ffffff;
  --pbp-body-bg: #ffffff;
  --pbp-card-bg: #ffffff;
  --pbp-card-border: #f1f5f9;
  --pbp-text: #0f172a;
  --pbp-text-muted: #64748b;
  --pbp-section-alt: #f8fafc;
  --pbp-faq-border: #e2e8f0;
  --gradient-main: linear-gradient(135deg, #0f172a 0%, #0c2d4a 50%, #0f172a 100%);
  --gradient-primary: linear-gradient(135deg, #0EA5E9, #0284C7);
  --gradient-accent: linear-gradient(135deg, #F59E0B, #D97706);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.15);
  --radius: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== DARK MODE ========== */
[data-theme="dark"] {
  --pbp-body-bg: #0f172a;
  --pbp-card-bg: #1e293b;
  --pbp-card-border: #334155;
  --pbp-text: #f1f5f9;
  --pbp-text-muted: #94a3b8;
  --pbp-section-alt: #1e293b;
  --pbp-faq-border: #334155;
  --pbp-light: #1e293b;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.4);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--pbp-body-bg);
  color: var(--pbp-text);
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}

/* ========== NAVBAR ========== */
.pbp-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: var(--transition);
  background: transparent;
}

.pbp-navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .pbp-navbar.scrolled {
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.pbp-navbar .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  max-width: 1280px;
  margin: 0 auto;
}

.pbp-navbar .brand img {
  height: 42px;
}

.pbp-navbar .nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.pbp-navbar .nav-links a {
  display: block;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  border-radius: 8px;
  transition: var(--transition);
}

.pbp-navbar.scrolled .nav-links a {
  color: var(--pbp-text);
}

.pbp-navbar .nav-links a:hover,
.pbp-navbar .nav-links a.active {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.pbp-navbar.scrolled .nav-links a:hover,
.pbp-navbar.scrolled .nav-links a.active {
  background: var(--pbp-primary-light);
  color: var(--pbp-primary-dark);
}

[data-theme="dark"] .pbp-navbar.scrolled .nav-links a:hover,
[data-theme="dark"] .pbp-navbar.scrolled .nav-links a.active {
  background: rgba(14, 165, 233, 0.15);
  color: var(--pbp-primary);
}

.pbp-navbar .btn-kontak {
  background: var(--gradient-accent);
  color: #fff !important;
  padding: 10px 24px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.pbp-navbar .btn-kontak:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5) !important;
}

.nav-toggler {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}

.pbp-navbar.scrolled .nav-toggler {
  color: var(--pbp-text);
}

/* ========== HERO SLIDER ========== */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-swiper {
  height: 100%;
}

.hero-slide {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  background: var(--gradient-main);
  overflow: hidden;
}

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(14, 165, 233, 0.15) 0%, transparent 70%);
}

.hero-slide .bg-img {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.2;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 40px;
  margin: 0 auto 0 10%;
}

.hero-content .badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fcd34d;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-content h1 span {
  color: var(--pbp-accent);
}

.hero-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-content .btn-group-hero {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-accent);
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
  transition: var(--transition);
}

.btn-primary-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(245, 158, 11, 0.5);
  color: #fff;
}

.btn-outline-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition: var(--transition);
}

.btn-outline-hero:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.hero-stats {
  position: absolute;
  bottom: 60px;
  right: 10%;
  z-index: 2;
  display: flex;
  gap: 24px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 20px 28px;
  text-align: center;
  color: #fff;
}

.stat-card .num {
  font-size: 28px;
  font-weight: 800;
  color: var(--pbp-accent);
}

.stat-card .lbl {
  font-size: 12px;
  opacity: 0.8;
  margin-top: 4px;
}

.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.5) !important;
  width: 8px;
  height: 8px;
}

.swiper-pagination-bullet-active {
  background: var(--pbp-accent) !important;
  width: 24px;
  border-radius: 4px;
}

/* ---- Hero navigation arrows ---- */
.hero-prev,
.hero-next {
  width: 48px !important;
  height: 48px !important;
  background: rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 50% !important;
  color: #fff !important;
  transition: var(--transition) !important;
  top: 50% !important;
}

.hero-prev {
  left: 32px !important;
}

.hero-next {
  right: 32px !important;
}

.hero-prev:hover,
.hero-next:hover {
  background: var(--pbp-accent) !important;
  border-color: var(--pbp-accent) !important;
  transform: translateY(-50%) scale(1.1) !important;
}

.hero-prev::after,
.hero-next::after {
  font-size: 16px !important;
  font-weight: 700 !important;
}

/* ---- Slide counter ---- */
.hero-counter {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 50px;
  letter-spacing: 1px;
}

/* ---- Hero pattern overlay (no image fallback) ---- */
.hero-pattern-overlay {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(245, 158, 11, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.12) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}


/* ========== SECTIONS ========== */
.section-block {
  padding: 90px 0;
}

.section-block.bg-light-custom {
  background: var(--pbp-section-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .tag {
  display: inline-block;
  background: var(--pbp-primary-light);
  color: var(--pbp-primary-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
}

[data-theme="dark"] .section-header .tag {
  background: rgba(14, 165, 233, 0.15);
  color: var(--pbp-primary);
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--pbp-text);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-header p {
  font-size: 17px;
  color: var(--pbp-text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ========== CLIENTS MARQUEE ========== */
.clients-section {
  padding: 40px 0;
  background: var(--pbp-navy);
  overflow: hidden;
}

.clients-section .label {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.marquee-wrapper {
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 60px;
  animation: marquee 20s linear infinite;
  width: max-content;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-track .client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  transition: var(--transition);
  filter: brightness(0) invert(1);
}

.marquee-track .client-logo:hover {
  opacity: 1;
}

.marquee-track .client-logo img {
  height: 32px;
  width: auto;
}

.marquee-track .client-name {
  color: rgba(255, 255, 255, 0.5);
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ========== VISI MISI ========== */
.visi-misi-section {
  background: var(--gradient-main);
  position: relative;
  overflow: hidden;
}

.visi-misi-section::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.1), transparent);
  top: -200px;
  right: -200px;
}

.visi-misi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.visi-misi-title {
  color: #fff;
}

.visi-misi-subtitle {
  color: rgba(255, 255, 255, 0.65);
}

.visi-misi-content {
  line-height: 1.8;
}

.visi-misi-content p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
}

.visi-card,
.misi-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 40px;
  height: 100%;
  transition: var(--transition);
}

.visi-card:hover,
.misi-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

.visi-card .icon-box,
.misi-card .icon-box {
  width: 56px;
  height: 56px;
  background: var(--gradient-primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 24px;
}

.visi-card h3,
.misi-card h3 {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
}

.visi-card p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
}

.misi-card ul {
  list-style: none;
  padding: 0;
}

.misi-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 12px;
  line-height: 1.6;
}

.misi-card ul li::before {
  content: '✓';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

/* ========== LIGHT MODE OVERRIDES ========== */
[data-theme="light"] .visi-misi-section {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0f9ff 100%);
}

[data-theme="light"] .visi-misi-section::before {
  background: radial-gradient(circle, rgba(14, 165, 233, 0.08), transparent);
}

[data-theme="light"] .visi-misi-title {
  color: var(--pbp-navy);
}

[data-theme="light"] .visi-misi-subtitle {
  color: var(--pbp-gray);
}

[data-theme="light"] .visi-misi-content p {
  color: var(--pbp-gray);
}

[data-theme="light"] .visi-card,
[data-theme="light"] .misi-card {
  background: #fff;
  border: 1px solid #e0f2fe;
  box-shadow: var(--shadow-card);
}

[data-theme="light"] .visi-card:hover,
[data-theme="light"] .misi-card:hover {
  background: #fff;
  box-shadow: var(--shadow-hover);
}

[data-theme="light"] .visi-card h3,
[data-theme="light"] .misi-card h3 {
  color: var(--pbp-navy);
}

[data-theme="light"] .visi-card p {
  color: var(--pbp-gray);
}

[data-theme="light"] .misi-card ul li {
  color: var(--pbp-gray);
}

[data-theme="light"] .clients-section {
  background: #f8fafc;
}

[data-theme="light"] .clients-section .label {
  color: var(--pbp-gray);
}

[data-theme="light"] .marquee-track .client-logo {
  filter: none;
  opacity: 0.6;
}

[data-theme="light"] .marquee-track .client-name {
  color: var(--pbp-gray);
}

[data-theme="light"] .hero-slide {
  background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 50%, #0c4a6e 100%);
}

[data-theme="light"] .page-header {
  background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 50%, #0c4a6e 100%);
}

/* ========== PROGRAM CARDS ========== */
.program-card {
  background: var(--pbp-card-bg);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  border: 1px solid var(--pbp-card-border);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-green);
  transform: scaleX(0);
  transition: var(--transition);
}

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

.program-card:hover::before {
  transform: scaleX(1);
}

.program-card .p-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
  background: var(--pbp-green-light);
  color: var(--pbp-green-dark);
}

.program-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--pbp-text);
}

.program-card p {
  font-size: 14px;
  color: var(--pbp-text-muted);
  line-height: 1.7;
}

/* ========== ARTIKEL CARDS ========== */
.artikel-card {
  background: var(--pbp-card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  border: 1px solid var(--pbp-card-border);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.artikel-card .img-wrap {
  position: relative;
  padding-top: 56%;
  overflow: hidden;
}

.artikel-card .img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.artikel-card:hover .img-wrap img {
  transform: scale(1.08);
}

.artikel-card .img-wrap .kategori-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--pbp-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
}

.artikel-card .card-body-custom {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.artikel-card h5 {
  font-size: 16px;
  font-weight: 700;
  color: var(--pbp-text);
  margin-bottom: 10px;
  line-height: 1.5;
}

.artikel-card h5 a {
  color: inherit;
  text-decoration: none;
}

.artikel-card h5 a:hover {
  color: var(--pbp-primary);
}

.artikel-card p {
  font-size: 13px;
  color: var(--pbp-text-muted);
  line-height: 1.7;
  flex: 1;
}

.artikel-card .meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--pbp-text-muted);
}

.artikel-card .meta i {
  color: var(--pbp-primary);
}

/* ========== AGENDA CARDS ========== */
.agenda-card {
  background: var(--pbp-card-bg);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  border: 1px solid var(--pbp-card-border);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

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

.agenda-card .date-box {
  flex-shrink: 0;
  width: 60px;
  height: 68px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.agenda-card .date-box .day {
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.agenda-card .date-box .month {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.9;
}

.agenda-card .info h5 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--pbp-text);
}

.agenda-card .info h5 a {
  color: inherit;
  text-decoration: none;
}

.agenda-card .info h5 a:hover {
  color: var(--pbp-primary);
}

.agenda-card .info .meta {
  font-size: 12px;
  color: var(--pbp-text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.agenda-card .info .meta i {
  color: var(--pbp-primary);
}

/* ========== GALERI GRID ========== */
.galeri-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.galeri-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}

.galeri-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.galeri-item:hover img {
  transform: scale(1.1);
}

.galeri-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

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

.galeri-item .overlay p {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.galeri-item.featured {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: 1;
}

/* ========== FAQ ========== */
.faq-item {
  border: 1px solid var(--pbp-faq-border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
  background: var(--pbp-card-bg);
}

.faq-item:hover {
  border-color: var(--pbp-primary);
}

.faq-item .faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  color: var(--pbp-text);
  font-size: 15px;
  user-select: none;
}

.faq-item .faq-q .toggle-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--pbp-primary-light);
  color: var(--pbp-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

[data-theme="dark"] .faq-item .faq-q .toggle-icon {
  background: rgba(14, 165, 233, 0.15);
  color: var(--pbp-primary);
}

.faq-item.open .faq-q .toggle-icon {
  background: var(--pbp-primary);
  color: #fff;
  transform: rotate(45deg);
}

.faq-item .faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.open .faq-a {
  max-height: 400px;
}

.faq-item .faq-a-inner {
  padding: 0 24px 20px;
  color: var(--pbp-text-muted);
  font-size: 14px;
  line-height: 1.8;
}

/* ========== FOOTER ========== */
.pbp-footer {
  background: var(--pbp-navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 72px 0 32px;
}

.footer-brand .logo-footer {
  height: 44px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--pbp-primary);
  color: #fff;
}

.footer-heading {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--pbp-accent);
  padding-left: 4px;
}

.footer-links a::before {
  content: '→';
  opacity: 0;
  transition: var(--transition);
}

.footer-links a:hover::before {
  opacity: 1;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
  font-size: 14px;
}

.footer-contact-item .fc-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: rgba(14, 165, 233, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pbp-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 48px;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

/* ========== BUTTONS ========== */
.btn-pbp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-primary);
  color: #fff;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.btn-pbp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.45);
  color: #fff;
}

.btn-pbp-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--pbp-primary);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border: 2px solid var(--pbp-primary);
  transition: var(--transition);
}

.btn-pbp-outline:hover {
  background: var(--pbp-primary);
  color: #fff;
}

/* ========== PAGE HEADER ========== */
.page-header {
  background: var(--gradient-main);
  padding: 130px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--pbp-body-bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.page-header h1 {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.page-header p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 16px;
}

.breadcrumb-pbp {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 13px;
}

.breadcrumb-pbp a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

.breadcrumb-pbp span {
  color: var(--pbp-accent);
}

/* ========== THEME TOGGLE ========== */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  font-size: 20px;
  transition: var(--transition);
  margin-left: 8px;
}

.pbp-navbar.scrolled .theme-toggle {
  background: var(--pbp-primary-light);
  color: var(--pbp-primary-dark);
}

[data-theme="dark"] .pbp-navbar.scrolled .theme-toggle {
  background: rgba(14, 165, 233, 0.15);
  color: var(--pbp-primary);
}

.theme-toggle:hover {
  transform: scale(1.1);
}

/* ========== TABLET ========== */
@media (max-width: 1024px) {
  .visi-misi-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .visi-card,
  .misi-card {
    padding: 28px;
  }
}

/* ========== MOBILE ========== */
@media (max-width: 768px) {
  .pbp-navbar .nav-inner {
    padding: 14px 20px;
  }

  /* ---- Mobile slide-in menu ---- */
  .pbp-navbar .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 360px;
    height: 100vh;
    height: 100dvh;
    background: linear-gradient(180deg, #0c1929 0%, #0f172a 100%);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 80px 28px 40px;
    gap: 4px;
    z-index: 999;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.5);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .pbp-navbar .nav-links.open {
    right: 0;
  }

  .pbp-navbar .nav-links a {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85) !important;
    padding: 14px 20px;
    border-radius: 12px;
    transition: var(--transition);
    border: 1px solid transparent;
  }

  .pbp-navbar .nav-links a:hover,
  .pbp-navbar .nav-links a.active {
    background: rgba(14, 165, 233, 0.15) !important;
    color: #fff !important;
    border-color: rgba(14, 165, 233, 0.25);
  }

  .pbp-navbar .nav-links .btn-kontak {
    margin-top: 12px;
    text-align: center;
    justify-content: center;
  }

  /* Close button repositioned inside panel */
  .pbp-navbar .nav-links #navClose {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 22px;
    border: 1px solid rgba(255, 255, 255, 0.15);
  }

  /* Overlay behind menu */
  .pbp-navbar .nav-links.open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
  }

  .nav-toggler {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
  }

  .pbp-navbar.scrolled .nav-toggler {
    background: var(--pbp-primary-light);
    border-color: transparent;
    color: var(--pbp-primary-dark);
  }

  [data-theme="dark"] .pbp-navbar.scrolled .nav-toggler {
    background: rgba(14, 165, 233, 0.15);
    color: var(--pbp-primary);
    border-color: rgba(14, 165, 233, 0.25);
  }

  /* Theme toggle on mobile */
  .theme-toggle {
    margin-left: 4px;
  }

  /* ---- Mobile layout adjustments ---- */
  .hero-stats {
    display: none;
  }

  .hero-content {
    margin: 0;
    padding: 0 20px;
    text-align: center;
  }

  .hero-content .btn-group-hero {
    justify-content: center;
  }

  .hero-content .badge-pill {
    font-size: 12px;
  }

  .hero-prev,
  .hero-next {
    display: none !important;
  }

  /* Visi Misi responsive */
  .visi-misi-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .visi-card,
  .misi-card {
    padding: 28px 24px;
  }

  .galeri-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .galeri-item.featured {
    grid-column: span 1;
    grid-row: span 1;
  }

  .section-block {
    padding: 60px 0;
  }

  /* Page header */
  .page-header {
    padding: 110px 0 50px;
  }

  .page-header h1 {
    font-size: 1.8rem;
  }

  /* Footer responsive */
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ========== SMALL MOBILE ========== */
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.6rem;
  }

  .hero-content p {
    font-size: 15px;
  }

  .btn-primary-hero,
  .btn-outline-hero {
    padding: 12px 24px;
    font-size: 14px;
    width: 100%;
    justify-content: center;
  }

  .hero-content .btn-group-hero {
    flex-direction: column;
    align-items: stretch;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .visi-card,
  .misi-card {
    padding: 24px 20px;
  }

  .galeri-grid {
    grid-template-columns: 1fr;
  }

  .section-block {
    padding: 48px 0;
  }
}