body {
  background: #ffffff; /* default putih */
}

.hero {
  position: relative;
  background: linear-gradient(180deg, #005f73 0%, #0a9396 70%, #ffffff 100%);
  min-height: 80vh;   /* biar hero lebih tinggi */
  padding-bottom: 10rem;
  overflow: hidden;   /* jaga biar svg keluar tapi tidak bikin scroll */
  display: flex;
  align-items: center; /* teks tetap vertikal align */
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: white;
  text-transform: uppercase;
  line-height: 1.2;
  
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin-top: 1rem;
}


/* === Ilustrasi besar di kanan === */
.hero-svg {
  position: absolute;
  top: 0;
  right: -20px;     /* geser keluar layar biar kayak overflow */
  width: 650px;     /* ukuran besar */
  max-width: none;
  z-index: 1;       /* di bawah teks */
  pointer-events: none;
}

/* Card bawah */
.info-card {
  margin-top: -3rem; /* overlap */
  background: #fff;
  border-radius: 2rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 90%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  z-index: 10;
  position: relative;
}

/* Item */
.info-item {
  flex: 1;
  text-align: center;
}

/* Lingkaran ikon */
.icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  transition: transform 0.2s ease;
}

/* Ikon */
.icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Label */
.info-item p {
  font-size: 0.8rem;
  font-weight: 500;
  color: #444;
  margin: 0;
}

/* Warna pastel */
.pastel-orange .icon-circle { background: #fff4e6; color: #f39c12; }
.pastel-blue .icon-circle   { background: #eaf3fc; color: #4a90e2; }
.pastel-teal .icon-circle   { background: #e6f8f7; color: #20b2aa; }
.pastel-green .icon-circle  { background: #eafaf1; color: #2ecc71; }
.pastel-pink .icon-circle   { background: #fdeef2; color: #e67e99; }
.pastel-purple .icon-circle { background: #f5ecf9; color: #9b59b6; }

/* Hover efek */
.icon-circle:hover {
  transform: scale(1.1);
}
.hero-buttons {
  display: flex !important;      /* paksa flex */
  flex-direction: row !important;/* sejajarkan horizontal */
  align-items: center;           /* rata tengah vertikal */
  justify-content: flex-start;   /* biar nempel kiri */
  gap: 15px;                     /* jarak antar tombol */
  flex-wrap: nowrap;             /* cegah turun ke bawah */
}

.hero-buttons a {
  white-space: nowrap;           /* cegah teks turun */
  flex-shrink: 0;                /* cegah tombol mengecil */
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #4e73df, #1cc88a);
  border: none;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.btn-download:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  background: linear-gradient(135deg, #1cc88a, #4e73df);
}

.btn-download i {
  font-size: 1.2rem;
}
/* Tombol Daftar Sekarang */
.btn-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px; /* jarak icon dan teks */
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #ff7e5f, #feb47b); /* warna aktif */
  border: none;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-register:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  background: linear-gradient(135deg, #feb47b, #ff7e5f); /* hover gradient */
}

/* Icon dalam tombol */
.btn-register i {
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
}

/* Tombol dalam kondisi disabled */
.btn-register.disabled {
  background: linear-gradient(135deg, #bdbdbd, #9e9e9e); /* abu-abu */
  color: #f5f5f5;
  cursor: not-allowed;
  box-shadow: none;
  transform: none; /* hilangkan animasi hover */
}

.btn-register.disabled:hover {
  background: linear-gradient(135deg, #bdbdbd, #9e9e9e);
  box-shadow: none;
  transform: none;
}

.btn-register.disabled i {
  color: #e0e0e0;
}

/* Search Box Style */
.search-form {
  display: flex;
  max-width: 400px;
  margin-top: 20px;
}

.search-input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid #ddd;
  border-radius: 50px 0 0 50px;
  outline: none;
  font-size: 1rem;
  transition: 0.3s ease;
}

.search-input:focus {
  border-color: #4e73df;
  box-shadow: 0 0 5px rgba(78, 115, 223, 0.5);
}

.search-btn {
  background: linear-gradient(135deg, #4e73df, #1cc88a);
  border: none;
  border-radius: 0 50px 50px 0;
  padding: 0 20px;
  cursor: pointer;
  color: #fff;
  font-size: 1.2rem;
  transition: 0.3s ease;
}

.search-btn:hover {
  opacity: 0.9;
}

/* Card utama */

/* Heading */
h2, h4, h6 {
  font-weight: 700; /* Bold tapi tetap elegan */
  letter-spacing: -0.3px;
}
h2 {
  font-size: 1.75rem;
}
h4 {
  font-size: 1.25rem;
}
h6 {
  font-size: 1rem;
  margin-top: 0.5rem;
}

/* Box highlight (Tentang Sistem) */
.highlight-box {
  padding: 1.25rem;
  border: 1px solid #eaeaea;
  border-radius: 1rem;
  background: #fff;
  transition: all 0.25s ease;
}
.highlight-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

/* Program Section */
.program-section {
  background: linear-gradient(135deg, #f9f7ff, #eefaff);
  border-radius: 1rem;
  border: 1px solid #ececec;
}
.program-section {
  background: linear-gradient(135deg, #fdfbfb, #ebedee);
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}
.program-section .abstract-bg {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 500px;
  height: 500px;
  z-index: 0;
}
.program-box {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}
.program-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.program-box .icon {
  font-size: 2rem;
  transition: transform 0.3s ease;
}
.program-box:hover .icon {
  transform: scale(1.2) rotate(5deg);
}

/* Soft Background Variasi */
.bg-soft-green { background: #e9f9ef; }
.bg-soft-blue { background: #eaf4ff; }
.bg-soft-red { background: #ffeaea; }
.bg-soft-yellow { background: #fff9e6; }
.bg-soft-purple { background: #f5eaff; }

.program-box h6 {
  color: #222;
  margin-bottom: 10px;
}
.abstract-bg {
  position: absolute;
  width: 400px;
  height: 400px;
  z-index: 0;
  pointer-events: none;
}

/* Posisi acak */
.bg-top-right {
  top: -80px;
  right: -100px;
}

.bg-bottom-left {
  bottom: -100px;
  left: -120px;
}

.bg-bottom-right {
  bottom: -50px;
  right: -60px;
  width: 250px; /* lebih kecil biar variasi */
  height: 250px;
}
.lead {
  font-size: 1.15rem;
  font-weight: 500;
  color: #2c2c2c;
}

.text-justify {
  text-align: justify;
  text-justify: inter-word;
  line-height: 1.8;
}

h2.text-primary {
  font-size: 1.9rem;
  letter-spacing: -0.3px;
}
/* Icon Circle */
.icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Separator */
.separator span {
  font-size: 20px;
  color: #6c757d;
  letter-spacing: 10px;
}
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  position: relative;
}

/* Card Style */
.timeline-card {
  background: #fff;
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: 0.3s;
}
.timeline-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.2);
}
.timeline-icon {
  width: 55px;
  height: 55px;
  margin: 0 auto 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
}

/* Garis konektor */
.timeline-card::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -20px; /* jarak ke card berikut */
  width: 40px;
  height: 3px;
  background: #dcdcdc;
}
.timeline-card:last-child::after {
  display: none;
}

/* Responsive - kalau turun ke bawah */
@media (max-width: 768px) {
  .timeline-grid {
    grid-template-columns: 1fr;
  }
  .timeline-card::after {
    top: auto;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 40px;
  }
}
  .requirements-section {
    position: relative;
    background: linear-gradient(135deg, #f8fbff, #eef7ff);
    border-radius: 16px;
  }

  .category-card {
    border-left: 6px solid #0d6efd;
  }

  .requirement-card {
    transition: all 0.3s ease;
  }
  .requirement-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  }

  .icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
  }
  .contact-card {
    transition: all 0.3s ease;
  }
  .contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  }
  .icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto;
  }
  /* Floating Chat Button */
/* ------------------------------
   Floating Chat Button (iOS style)
--------------------------------*/
#faqFloatingBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #5ac8fa, #007aff);
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  transition: transform 0.2s, box-shadow 0.2s;
}
#faqFloatingBtn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* ------------------------------
   Chat Container
--------------------------------*/
#faqChatContainer {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 360px;
  height: 500px;             /* tinggi total tetap */
  max-height: 80vh;          /* responsif tinggi layar */
  display: flex;
  flex-direction: column;
  background: #f5f5f7;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  z-index: 9999;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Header */
.faq-header {
  background: #f5f5f7;
  color: #000;
  font-weight: 600;
  padding: 12px;
  text-align: center;
  border-bottom: 1px solid #e0e0e0;
}

/* ------------------------------
   List Pertanyaan
--------------------------------*/
.faq-list {
  flex: none;                /* tinggi tetap untuk list */
  max-height: 160px;
  overflow-y: auto;
  background: #fff;
  padding: 5px 10px;
  border-bottom: 1px solid #ddd;
}

.faq-list-item {
  padding: 10px 12px;
  cursor: pointer;
  border-radius: 15px;
  margin: 5px 0;
  background: #f1f1f6;
  transition: background 0.2s;
}
.faq-list-item:hover {
  background: #e0e0eb;
}

/* ------------------------------
   Chat Messages Area
--------------------------------*/
.faq-messages {
  flex: 1;                   /* ambil sisa ruang untuk chat */
  overflow-y: auto;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #f5f5f7;
}

/* Bubble Chat */
.faq-msg {
  display: flex;
}
.faq-msg.user { justify-content: flex-end; }
.faq-msg.bot { justify-content: flex-start; }

.msg-bubble {
  padding: 12px 16px;
  border-radius: 20px;
  max-width: 75%;
  font-size: 15px;
  line-height: 1.4;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: translateY(10px);
  animation: slideUp 0.25s forwards;
}

/* Warna Bubble */
.faq-msg.user .msg-bubble {
  background: #007aff;
  color: #fff;
  border-bottom-right-radius: 4px;
}
.faq-msg.bot .msg-bubble {
  background: #e5e5ea;
  color: #000;
  border-bottom-left-radius: 4px;
}

/* Animasi Bubble */
@keyframes slideUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ------------------------------
   Input Group
--------------------------------*/
.input-group {
  display: flex;
  padding: 10px;
  background: #f5f5f7;
  border-top: 1px solid #ddd;
}

.input-group input {
  flex: 1;
  border-radius: 20px;
  padding: 10px 14px;
  font-size: 15px;
  border: 1px solid #ccc;
  outline: none;
}

.input-group input:focus {
  border-color: #007aff;
  box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.2);
}

.input-group button {
  border-radius: 20px;
  padding: 10px 16px;
  background: #007aff;
  color: #fff;
  border: none;
  font-weight: 500;
  margin-left: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.input-group button:hover {
  background: #005bb5;
}

