body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #004080, #00aaff);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  min-height: 100vh;
  margin: 0;
  padding: 20px;
  color: #fff;
}

.title {
  text-align: center;
  margin-bottom: 20px;
}

.carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 100%;
}

.job-card:hover {
  transform: scale(1.05);
}

.position {
  font-weight: bold;
  color: #004080;
  font-size: 24px;
  text-align:center;
}

.deadline {
  color: red;
  font-weight: bold;
  font-size: 12px;
}

button {
  background: #004080;
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 10px;
}

button:hover {
  background: #0066cc;
}

.nav-btn {
  background: rgba(255,255,255,0.8);
  color: #004080;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 20px;
  border-radius: 50%;
  position: absolute;
  z-index: 10;
}

.nav-btn.left {
  left: 0;
}

.nav-btn.right {
  right: 0;
}

.nav-btn:hover {
  background: #fff;
}

.main-header {
  text-align: center;
  background: linear-gradient(135deg, #004080, #00aaff);
  color: #fff;
  padding: 25px 15px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.main-header h1 {
  margin: 0;
  font-size: 28px;
  font-weight: bold;
}

.main-header p {
  margin: 5px 0 0;
  font-size: 16px;
  opacity: 0.9;
}

/* Animasi fade-in untuk header */
.main-header {
  text-align: center;
  background: linear-gradient(135deg, #004080, #00aaff);
  color: #fff;
  padding: 25px 15px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
  opacity: 0;
  transform: translateY(-30px);
  animation: fadeSlideDown 1s ease forwards;
}


.form-title {
  text-align: center;
  /* background: linear-gradient(135deg, #004080, #00aaff); */
  color: #fff;
  /* padding: 25px 15px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
  opacity: 0; */
  transform: translateY(-30px);
  animation: fadeSlideDown 1s ease forwards;
}

@keyframes fadeSlideDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animasi fade-in untuk job-card */
.job-card {
  flex: 0 0 280px;
  background: #fff;
  color: #333;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s;
  user-select: none;
  scroll-snap-align: start; /* setiap card akan jadi titik snap */
}

.job-card:nth-child(1) { animation-delay: 0.5s; }
.job-card:nth-child(2) { animation-delay: 1s; }
.job-card:nth-child(3) { animation-delay: 1.5s; }
.job-card:nth-child(4) { animation-delay: 2.0s; }
.job-card:nth-child(5) { animation-delay: 2.5s; }

@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.job-card:hover {
  transform: scale(1.05);
}

.poster-container {
  display: flex;
  gap: 20px;
  overflow-x: hidden;   /* hilangkan scroll manual */
  scroll-behavior: smooth;
  padding: 10px;
  cursor: grab;
  user-select: none;
  scroll-snap-type: x mandatory;
}

.poster-container.active {
  cursor: grabbing;
}

/* sembunyikan scrollbar di browser modern */
.poster-container::-webkit-scrollbar {
  display: none;
}
.poster-container {
  -ms-overflow-style: none;  /* IE dan Edge lama */
  scrollbar-width: none;     /* Firefox */
}

.poster-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;       /* biarkan auto agar animasi muncul */
  scroll-behavior: smooth;
  padding: 10px;
  cursor: grab;
  user-select: none;
  scroll-snap-type: x mandatory;
}

/* sembunyikan scrollbar tanpa mematikan animasi */
.poster-container::-webkit-scrollbar {
  display: none;
}
.poster-container {
  -ms-overflow-style: none;  /* IE dan Edge lama */
  scrollbar-width: none;     /* Firefox */
}

/* animasi fade-in untuk job-card */
.job-card {
  flex: 0 0 280px;
  background: #fff;
  color: #333;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s;
  user-select: none;
  scroll-snap-align: start;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeSlideUp 1s ease forwards;
}

.job-card:nth-child(1) { animation-delay: 0.5s; }
.job-card:nth-child(2) { animation-delay: 1s; }
.job-card:nth-child(3) { animation-delay: 1.5s; }
.job-card:nth-child(4) { animation-delay: 2.0s; }

@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  animation: fadeSlideDown 0.8s ease forwards;
}

.modal-notif {
  background: #fff;
  color: #333;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
  max-width: 500px;
  opacity: 0;
  transform: translateY(-30px);
  animation: fadeSlideUp 1s ease forwards;
}

.modal-notif h3 {
  margin-top: 0;
  color: red;
  font-weight: bold;
}

.modal-notif ol {
  margin: 10px 0;
  padding-left: 20px;
}

.modal-notif li {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.4;
}

.modal-notif button {
  background: #004080;
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 15px;
}

.modal-notif button:hover {
  background: #0066cc;
}

.form-section {
  margin-top: 40px;
  text-align: center;
}

.job-form {
  max-width: 70%;
  margin: 0 auto;
  background: #fff;              /* background putih */
  color: #333;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
  text-align: left;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeSlideUp 1s ease forwards;
  animation-delay: 0.5s;
}

.job-form label {
  display: block;
  margin: 15px 0 5px;
  font-weight: bold;
  color: #004080;
}

.job-form input,
.job-form select {
  width: 100%;
  padding: 10px;
  border: 2px solid #004080;
  border-radius: 6px;
  margin-bottom: 10px;
  font-family: inherit;
  background: #fff;              /* input tetap putih */
}

.job-form input:focus,
.job-form select:focus {
  outline: none;
  border-color: #00aaff;
  box-shadow: 0 0 8px rgba(0,170,255,0.5);
}

.job-form button {
  background: #004080;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 10px;
  width: 100%;
}

.job-form button:hover {
  background: #0066cc;
}

.job-form input[type="text"],
.job-form input[type="email"],
.job-form input[type="tel"],
.job-form input[type="number"],
.job-form select,
.job-form input[type="file"] {
  width: 97%;        /* penuh mengikuti card */
  max-width: 100%;   /* batas maksimal lebar */
  padding: 10px;
  border: 2px solid #004080;
  border-radius: 6px;
  margin-bottom: 10px;
  font-family: inherit;
  background: #fff;
}
