:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #7c3aed;
  --dark: #0f172a;
  --dark-soft: #1e293b;
  --text: #334155;
  --muted: #64748b;
  --light: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;
  --danger: #ef4444;
  --warning: #f59e0b;
  --shadow: 0 22px 60px rgba(15, 23, 42, 0.1);
  --radius: 24px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(
      circle at top left,
      rgba(37, 99, 235, 0.12),
      transparent 35%
    ),
    radial-gradient(
      circle at top right,
      rgba(124, 58, 237, 0.1),
      transparent 35%
    ),
    var(--light);
  color: var(--text);
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.navbar {
  max-width: 1180px;
  margin: auto;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.25);
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.15);
  background: var(--white);
  border: 1px solid var(--border);
}

.brand strong {
  display: block;
  color: var(--dark);
  font-size: 18px;
  line-height: 1;
}

.brand span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 3px;
}

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu a {
  display: block;
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: 0.25s;
}

.nav-menu a:hover,
.nav-menu a.active {
  background: #eff6ff;
  color: var(--primary);
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 14px;
  background: var(--dark);
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
}

.hero {
  max-width: 1180px;
  margin: 30px auto;
  min-height: calc(80vh - 80px);
  padding: 60px 40px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 46px;
  align-items: center;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.95),
      rgba(248, 250, 252, 0.85)
    ),
    url("../bg.jpeg") no-repeat center center/cover;
  border-radius: var(--radius);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: var(--shadow);
}

.label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: #e0ecff;
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 18px;
}

.hero h1,
.page-hero h1 {
  color: var(--dark);
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 22px;
}

.hero p,
.page-hero p,
.section-heading p {
  color: var(--muted);
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 999px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s;
  font-size: 14px;
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.24);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.32);
}

.btn-outline {
  background: var(--white);
  color: var(--dark);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background: #f1f5f9;
}

.full {
  width: 100%;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 38px;
}

.hero-stats div {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border);
  padding: 16px 18px;
  border-radius: 20px;
  min-width: 140px;
}

.hero-stats strong {
  display: block;
  color: var(--dark);
  font-size: 19px;
}

.hero-stats span {
  color: var(--muted);
  font-size: 13px;
}

.hero-panel {
  position: relative;
  min-height: 420px;
}

.panel-card,
.feature-card,
.content-card,
.team-card,
.program-card,
.modern-form,
.contact-card,
.table-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.main-panel {
  padding: 34px;
  position: relative;
  z-index: 3;
  margin-top: 50px;
}

.main-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.22),
    rgba(124, 58, 237, 0.12)
  );
  z-index: -1;
}

.mini-label {
  color: var(--primary);
  font-weight: 800;
  font-size: 13px;
}

.main-panel h3 {
  font-size: 30px;
  color: var(--dark);
  margin: 12px 0 10px;
}

.main-panel p {
  color: var(--muted);
}

.progress-box {
  margin-top: 28px;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 10px;
}

.progress-track {
  height: 12px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.progress-fill {
  width: 92%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.floating-card {
  position: absolute;
  z-index: 4;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 15px 18px;
  box-shadow: var(--shadow);
  color: var(--dark);
  font-weight: 800;
}

.card-one {
  top: 8px;
  right: 18px;
}

.card-two {
  bottom: 36px;
  left: 8px;
}

.section {
  max-width: 1180px;
  margin: auto;
  padding: 70px 20px;
}

.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 38px;
}

.section-heading h2 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
  color: var(--dark);
  letter-spacing: -1px;
  margin-bottom: 14px;
}

.feature-grid,
.program-grid,
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card,
.program-card,
.team-card,
.content-card,
.contact-card,
.table-card {
  padding: 28px;
}

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: #eff6ff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  margin-bottom: 22px;
}

.feature-card h3,
.program-card h3,
.content-card h2,
.contact-card h2,
.table-card h2 {
  color: var(--dark);
  margin-bottom: 10px;
}

.feature-card p,
.program-card p,
.content-card p,
.contact-card p,
.table-card p {
  color: var(--muted);
}

.page-hero {
  max-width: 1180px;
  margin: auto;
  padding: 110px 32px 90px;
  text-align: center;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.6)),
    url("../background.jpeg") no-repeat center/cover;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.16);
}

.page-hero .label {
  margin-left: auto;
  margin-right: auto;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.page-hero h1,
.page-hero p {
  color: #ffffff;
}

.page-hero p {
  margin: auto;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.dark-card {
  background: linear-gradient(135deg, var(--dark), var(--dark-soft));
  color: var(--white);
}

.dark-card h2,
.dark-card p {
  color: var(--white);
}

.vm-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.clean-list {
  list-style: none;
}

.clean-list li {
  padding: 12px 0 12px 28px;
  border-bottom: 1px solid var(--border);
  position: relative;
  color: var(--muted);
}

.clean-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 900;
}

.team-grid {
  grid-template-columns: repeat(4, 1fr);
}

.team-card {
  text-align: center;
}

.avatar {
  width: 70px;
  height: 70px;
  border-radius: 22px;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;

}

.team-card h3 {
  color: var(--dark);
}

.team-card p {
  color: var(--muted);
  font-size: 14px;
}

.program-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.program-top span {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.program-top small {
  color: var(--primary);
  background: #eff6ff;
  padding: 7px 12px;
  border-radius: 999px;
  font-weight: 800;
}

.program-card {
  transition: 0.25s;
}

.program-card:hover,
.feature-card:hover,
.team-card:hover {
  transform: translateY(-5px);
}

.form-section {
  display: flex;
  justify-content: center;
}

.modern-form {
  width: 100%;
  max-width: 680px;
  padding: 32px;
}

.form-header {
  margin-bottom: 26px;
}

.form-header h2 {
  color: var(--dark);
  font-size: 28px;
  margin-bottom: 6px;
}

.form-header p {
  color: var(--muted);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  color: var(--dark);
  font-weight: 800;
  margin-bottom: 8px;
  font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: #f8fafc;
  color: var(--dark);
  border-radius: 16px;
  padding: 14px 15px;
  outline: none;
  font-size: 15px;
  font-family: inherit;
  transition: 0.25s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.error {
  color: var(--danger);
  font-size: 13px;
  display: block;
  margin-top: 5px;
}

.contact-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.contact-item span {
  display: block;
  color: var(--primary);
  font-weight: 900;
  font-size: 13px;
  margin-bottom: 4px;
}

.map-box {
  margin-top: 24px;
  height: 240px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(124, 58, 237, 0.12)),
    #e2e8f0;
  color: var(--dark);
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-form {
  max-width: none;
}

.table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 20px;
}

table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  background: var(--white);
}

th,
td {
  padding: 15px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

th {
  color: var(--dark);
  background: #f1f5f9;
}

td {
  color: var(--muted);
}

.action-btn {
  border: none;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  margin-right: 6px;
}

.edit-btn {
  background: #fef3c7;
  color: #92400e;
}

.delete-btn {
  background: #fee2e2;
  color: #b91c1c;
}

.empty-text {
  text-align: center;
  padding-top: 22px;
  color: var(--muted);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.65);
  padding: 20px;
}

.modal.show {
  display: flex;
}

.modal-content {
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: 26px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.modal-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.modal-title h2 {
  color: var(--dark);
}

.modal-title button {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 12px;
  background: #f1f5f9;
  color: var(--dark);
  font-size: 24px;
  cursor: pointer;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.footer {
  margin-top: 50px;
  padding: 28px 20px;
  background: var(--dark);
  color: #cbd5e1;
  text-align: center;
}

@media (max-width: 960px) {
  .menu-btn {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 78px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 14px;
    box-shadow: var(--shadow);
  }

  .nav-menu.show {
    display: flex;
  }

  .nav-menu a {
    border-radius: 14px;
  }

  .hero,
  .split-layout,
  .vm-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 60px;
  }

  .hero-panel {
    min-height: 360px;
  }

  .feature-grid,
  .program-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .table-header {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .navbar {
    padding: 14px 16px;
  }

  .hero,
  .section,
  .page-hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero h1,
  .page-hero h1 {
    letter-spacing: -1px;
  }

  .feature-grid,
  .program-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .modern-form,
  .contact-card,
  .table-card,
  .content-card {
    padding: 22px;
  }

  .floating-card {
    position: static;
    margin-top: 14px;
  }

  .hero-panel {
    min-height: auto;
  }

  .main-panel {
    margin-top: 0;
  }

  .modal-actions {
    flex-direction: column;
  }

  .modal-actions .btn {
    width: 100%;
  }
}

/* Custom Status Badges */
.status-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.status-pending {
  background: #fef3c7;
  color: #d97706;
  border: 1px solid #fde68a;
}
.status-terverifikasi {
  background: #dcfce7;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}
.status-ditolak {
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

/* Dynamic Notification Alert Styles */
.alert-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 16px 24px;
  border-radius: 16px;
  background: var(--dark);
  color: var(--white);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.alert-toast.show {
  transform: translateY(0);
  opacity: 1;
}
.alert-toast-success {
  background: #16a34a;
}
.alert-toast-error {
  background: #dc2626;
}
