:root {
  --gray: #6c757d;
  --border-radius: 12px;
  --shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

/* Section Alur Pendaftaran */
.alur-pendaftaran-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #9097a3 0%, #edeff5 100%);
}

.header-alur,
.seleksi .deskripsi-alur {
  text-align: center;
  margin-bottom: 60px;
}

.judul-alur {
  font-size: 2.8rem;
  color: var(--primary-dark);
  margin-bottom: 15px;
  font-weight: 700;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.deskripsi-alur {
  font-size: 1.3rem;
  font-weight: bold;
  color: #1f2937;
  margin: 0 auto;
  line-height: 1.8;
}

.timeline-pendaftaran {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  gap: 1rem;
}

.timeline-pendaftaran::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 80px;
  width: 4px;
  border-radius: 2px;
  z-index: 1;
}

.langkah-card {
  display: flex;
  text-align: left;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  background-color: white;
  border-radius: var(--border-radius);
  padding: 0.5rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.langkah-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.langkah-indikator {
  flex-shrink: 0;
  position: relative;
  width: 160px;
  text-align: center;
}

.langkah-ikon {
  width: 45px;
  height: 45px;
  margin: 0 auto 8px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

.langkah-number {
  position: absolute;
  top: -5px;
  right: 32px;
  width: 30px;
  height: 30px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  border: 3px solid var(--primary);
  font-size: 0.9rem;
}

.langkah-konten,
.langkah-konten ol {
  flex-grow: 1;
  padding: 0 16px;
}

.langkah-konten p,
.langkah-konten li {
  font-size: 12px;
  color: #2f3e53;
}

/* tahapan seleksi */
.seleksi {
  padding: 3rem 1rem;
  margin-top: 1rem;
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

.deskripsi-alur {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #111827;
}

.alur {
    position: relative;
    max-width: 900px;
    margin: auto;
    padding-left: 2rem;
}

.alur::before {
    content: "";
    position: absolute;
    left: 22px;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, #3b82f6, #6366f1);
    border-radius: 2px;
}

.jalur-card {
    position: relative;
    padding-left: 3rem;
  }
  
.jalur-prestasi {
    background: #ffffff;
    border-radius: 14px;
    padding: 1rem 1rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform 0.25s ease;
}

.jalur-prestasi:hover {
    transform: translateX(6px);
}

.jalur-header h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.jalur-header i {
    color: var(--secondary);
    font-size: 1rem;
}

.jalur-periode {
    display: inline-block;
    font-size: 0.8rem;
    color: #545b68;
}

.jalur-content {
    margin-top: 0.8rem;
}

.jadwal-item {
    display: flex;
    justify-content: space-between;
    background: #f3f4f6;
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    font-size: 0.85rem;
}

.jadwal-date {
    font-weight: 600;
    color: #612ac9;
}

/* footer alur */
.container .footer-alur {
  width: 100%;
  background: linear-gradient(135deg, #0f172a, #2563eb);
  border-radius: 1rem;
  padding: 2rem 0;
  margin-top: 3rem;
}

.hotline {
  max-width: 800px;
  margin: 0 auto;
  padding: 30px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  transition: 0.3s ease;
}

.hotline:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.hotline p {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 20px;
  text-align: center;
  line-height: 1.5;
}

.telp {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.telp a {
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  backdrop-filter: blur(6px);
  transition: all 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  gap: 8px;
}

.telp a::before {
  content: "📞";
  font-size: 14px;
}

.telp a:hover {
  background: rgba(255, 255, 255, 0.4);
  color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Tombol Pendaftaran */
.daftar-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.daftar-btn {
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 200px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
}

.daftar-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Tombol Daftar Sekarang */
.btn-daftar-sekarang {
  background: rgba(34, 197, 94, 0.25);
  color: white;
  border-color: rgba(34, 197, 94, 0.5);
}

.btn-daftar-sekarang:hover {
  background: rgba(34, 197, 94, 0.4);
  border-color: rgba(34, 197, 94, 0.8);
}

/* Tombol Download Persyaratan */
.btn-download-persyaratan {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.btn-download-persyaratan:hover {
  background: rgba(255, 255, 255, 0.3);
}

.daftar-btn .icon {
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Separator untuk section download surat */
.separator {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 25px 0;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 16px;
}

.separator::before,
.separator::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.separator span {
  padding: 0 15px;
}

/* Tombol Download Surat Pernyataan */
.download-surat-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.download-btn {
  text-decoration: none;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 500;
  font-size: 12px;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  text-align: left;
  min-height: 60px;
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Warna berbeda untuk setiap tombol surat */
.btn-surat-1 {
  background: rgba(59, 130, 246, 0.25);
  color: white;
}

.btn-surat-1:hover {
  background: rgba(59, 130, 246, 0.35);
}

.btn-surat-2 {
  background: rgba(139, 92, 246, 0.25);
  color: white;
}

.btn-surat-2:hover {
  background: rgba(139, 92, 246, 0.35);
}

.btn-surat-3 {
  background: rgba(16, 185, 129, 0.25);
  color: white;
}

.btn-surat-3:hover {
  background: rgba(16, 185, 129, 0.35);
}

.download-btn .icon {
  font-size: 20px;
  min-width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Tombol Download Semua */
.download-all-container {
  display: flex;
  justify-content: center;
  margin-top: 15px;
}

.download-all-btn {
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 300px;
  background: rgba(245, 158, 11, 0.25);
  color: white;
  border: 1px solid rgba(245, 158, 11, 0.4);
  backdrop-filter: blur(6px);
}

.download-all-btn:hover {
  background: rgba(245, 158, 11, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.download-all-btn .icon {
  font-size: 18px;
}

/* Animasi khusus untuk tombol daftar */
@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
}

.btn-daftar-sekarang {
  animation: pulse-glow 2s infinite;
}

/* Responsive */
@media (max-width: 768px) {
  .container .footer-alur {
    padding: 1.5rem 1rem;
    border-radius: 0.8rem;
  }

  .hotline {
    padding: 25px 20px;
  }

  .hotline p {
    font-size: 16px;
    margin-bottom: 18px;
  }

  .telp {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .telp a {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .daftar-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .daftar-btn {
    width: 100%;
    min-width: unset;
    padding: 12px 20px;
    font-size: 15px;
  }

  .download-surat-buttons {
    grid-template-columns: 1fr;
  }

  .download-btn {
    padding: 12px 16px;
    font-size: 14px;
  }

  .download-all-btn {
    min-width: 100%;
    padding: 12px 20px;
    font-size: 15px;
  }

  .separator {
    margin: 20px 0;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .hotline {
    padding: 20px 15px;
  }

  .hotline p {
    font-size: 15px;
  }

  .telp a {
    font-size: 15px;
    padding: 10px 16px;
  }

  .daftar-btn,
  .download-btn,
  .download-all-btn {
    padding: 11px 16px;
    font-size: 14px;
  }

  .download-btn .icon {
    font-size: 18px;
  }
}

/* Efek ripple untuk tombol */
.daftar-btn {
  position: relative;
  overflow: hidden;
}

.daftar-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%);
  transform-origin: 50% 50%;
}

.daftar-btn:focus:not(:active)::after {
  animation: ripple 1s ease-out;
}

@keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 0.5;
  }

  100% {
    transform: scale(40, 40);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .alur-pendaftaran-section .container .header-alur .judul-alur {
    font-size: 2rem;
  }

  .container .seleksi .deskripsi-alur {
    font-size: 1.5rem;
  }

  .timeline-pendaftaran {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline-pendaftaran::before {
    left: 70px;
  }

  .langkah-indikator {
    width: 140px;
  }

  .langkah-ikon {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .langkah-number {
    right: 35px;
    width: 20px;
    height: 20px;
    font-size: 0.5rem;
  }
}

@media (max-width: 576px) {
  .alur-pendaftaran-section .container .header-alur .judul-alur {
    font-size: 1rem;
  }

  .alur-pendaftaran-section .container .header-alur .deskripsi-alur {
    font-size: .8rem;
  }

  .timeline-pendaftaran {
    grid-template-columns: 1fr;
  }

  .seleksi .alur {
    grid-template-columns: 1fr;
  }

  .langkah-info {
    flex-direction: column;
    gap: 10px;
  }

  .alur-pendaftaran-section {
    padding: 40px 0;
  }

  .header-alur {
    margin-bottom: 40px;
  }
}

/* Animasi untuk icon */
@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-3px);
  }
}

.daftar-btn:hover .icon,
.download-btn:hover .icon,
.download-all-btn:hover .icon {
  animation: bounce 0.5s ease infinite;
}

/* Tooltip styling */
[data-tooltip] {
  position: relative;
}

[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.85);
  color: white;
  font-size: 12px;
  border-radius: 6px;
  white-space: nowrap;
  margin-bottom: 8px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
}

[data-tooltip]:hover::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.85);
  margin-bottom: 2px;
  z-index: 1001;
}