/* =========================================
   1. BASE / GLOBAL STYLES
   ========================================= */
html,
body {
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #f8f9fa;
  color: #333;
  scroll-behavior: smooth;
}

/* =========================================
   2. LAYOUT (HEADER & FOOTER)
   ========================================= */
.navbar {
  z-index: 1050;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

footer {
  padding: 60px 0 20px;
  background: #1a1d20;
  color: #adb5bd;
}

/* =========================================
   3. UTILITIES & COMPONENTS
   ========================================= */
.section-padding {
  padding: 80px 0;
}

/* Buttons & Badges */
.btn-primary {
  padding: 10px 25px;
  border-radius: 8px;
}

.filter-btn {
  font-weight: bold;
  border-radius: 8px;
}

.status-badge {
  padding: 10px 15px;
  font-size: 1.1rem;
}

/* Tabel */
.collapse-row td {
  padding: 0 !important;
  border-bottom: none;
}

/* Card Jurusan */
.card-jurusan {
  height: 100%;
  background: #fff;
  border: none;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.card-jurusan:hover {
  transform: translateY(-12px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background-color: transparent; /* Tambahkan warna background jika perlu */
  color: white;
  font-size: 30px;
  border-radius: 12px;
}

/* =========================================
   4. HERO SECTION
   ========================================= */
.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.img-1 {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("img/1.webp");
}

.img-2 {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("img/2.webp");
}

.img-3 {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("img/3.webp");
}

/* =========================================
   5. MARQUEE / RUNNING TEXT (DESKTOP)
   ========================================= */
.marquee-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.content-wrapper {
  display: flex;
  white-space: nowrap;
}

@keyframes marqueeMobile {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-100%, 0);
  }
}

/* =========================================
   6. RESPONSIVE (MOBILE)
   ========================================= */
@media (max-width: 767.98px) {
  /* Hero Image Mobile */
  .hero-image h1 {
    font-size: 2rem;
  }

  .img-1 {
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("img/a.webp");
  }

  .img-2 {
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("img/b.webp");
  }

  .img-3 {
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("img/c.webp");
  }

  /* Marquee Mobile */
  .marquee-container {
    display: block;
  }

  .content-wrapper {
    display: inline-block;
    padding-left: 100%;
    animation: marqueeMobile 25s linear infinite;
  }

  .content-wrapper span {
    margin-right: 10px;
  }
}
