/* ===== HERO JURUSAN DETAIL ===== */
.jurusan-hero-rpl {
  position: relative;
  min-height: 60vh;
  background: url("../assets/img/RPL.png") center / cover no-repeat;
  display: flex;
  align-items: center;
  color: #fff;
  padding: 40px 0;
}

.jurusan-hero-tei {
  position: relative;
  min-height: 60vh;
  background: url("../assets/img/tei.png") center / cover no-repeat;
  display: flex;
  align-items: center;
  color: #fff;
  padding: 40px 0;
}

.jurusan-hero-tki {
  position: relative;
  min-height: 60vh;
  background: url("../assets/img/tki.png") center / cover no-repeat;
  display: flex;
  align-items: center;
  color: #fff;
  padding: 40px 0;
}

.jurusan-hero-tkj {
  position: relative;
  min-height: 60vh;
  background: url("../assets/img/tkj.png") center / cover no-repeat;
  display: flex;
  align-items: center;
  color: #fff;
  padding: 40px 0;
}

.jurusan-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 15px;
  width: 100%;
}

.jurusan-badge {
  background: #ffc107;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #1b5e20;
  margin-bottom: 20px;
  display: inline-block;
}

.jurusan-hero-content h1 {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 15px;
  text-align: center;
}

.jurusan-hero-content p {
  font-size: 16px;
  line-height: 1.6;
  color: #e5e5e5;
  margin-bottom: 30px;
  text-align: center;
}

.jurusan-btn {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 10px 22px;
  border-radius: 24px;
  font-weight: 400;
  text-decoration: none;
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
  font-size: 14px;
}

.jurusan-btn:hover {
  background: #f1c40f;
  color: #000;
}

/* ===== PROGRAM SECTION ===== */
.program-section {
  padding: 60px 0;
  background: #ffffff;
}

.program-image-wrap {
  position: relative;
  margin-bottom: 30px;
  width: 100%;
}

.program-image-wrap img {
  width: 100%;
  border-radius: 16px;
}

/* FLOAT BADGE */
.program-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #1b5e20;
  color: #fff;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 12px 15px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  width: 180px;
  height: auto;
}

.program-badge strong {
  display: block;
  font-size: 20px;
  line-height: 1;
}

.program-badge .code {
  font-size: 20px;
  font-weight: 700;
  color: #ffc107;
}

.program-badge small {
  font-size: 10px;
  letter-spacing: 0.4px;
  opacity: 0.9;
}

/* CONTENT */
.program-content {
  max-width: 100%;
}

/* LABEL */
.program-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #1b5e20;
  padding-left: 35px;
  position: relative;
  margin-bottom: 15px;
}

.program-label::before {
  content: "";
  width: 30px;
  height: 3px;
  background: #1b5e20;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* TITLE */
.program-content h2 {
  font-size: 24px;
  font-weight: 650;
  line-height: 1.3;
  color: #00052a;
  font-family: "Poppins", sans-serif;
}

/* DESC */
.program-content p {
  margin: 20px 0 25px;
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
}

/* FEATURES */
.program-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.feature i {
  font-size: 16px;
  color: #1b5e20;
  margin-top: 3px;
}

.feature strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
}

.feature span {
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
}

/* ===== MATERI SECTION ===== */
.materi-section {
  padding: 60px 0 40px;
  background: #f8fafc;
}

.materi-header {
  text-align: center;
}

.materi-header h2 {
  font-size: 24px;
  font-weight: 800;
  color: #00052a;
}

.materi-line {
  display: block;
  width: 40px;
  height: 4px;
  background: #facc15;
  border-radius: 4px;
  margin: 10px auto;
}

.materi-header p {
  max-width: 100%;
  margin: 0 auto 20px;
  font-size: 14px;
  line-height: 1.6;
  color: #64748b;
  padding: 0 15px;
}

.materi-grid {
  margin-top: 40px;
}

/* CARD */
.materi-card {
  text-align: left;
  padding: 0 15px;
  margin-bottom: 30px;
}

.materi-card h4 {
  margin-top: 15px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #0f172a;
}

.materi-card ul {
  margin-top: 10px;
  padding-left: 20px;
}

.materi-card li {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 6px;
}

/* ICON */
.materi-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.materi-icon.blue {
  background: #e0ecff;
  color: #2563eb;
}

.materi-icon.green {
  background: #dcfce7;
  color: #16a34a;
}

.materi-icon.purple {
  background: #f3e8ff;
  color: #9333ea;
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 60px 0;
  background: #14532d;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  text-align: center;
}

.cta-section h2 {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 15px;
  padding: 0 15px;
}

.cta-section p {
  max-width: 100%;
  margin: 0 auto 25px;
  font-size: 14px;
  line-height: 1.6;
  color: #d1fae5;
  padding: 0 15px;
}

/* BUTTON */
.cta-buttons {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 0 15px;
}

.cta-primary {
  font-weight: 700;
  padding: 12px 22px;
  font-size: 14px;
  width: 100%;
  max-width: 250px;
}

.cta-secondary {
  font-weight: 600;
  padding: 12px 22px;
  font-size: 14px;
  width: 100%;
  max-width: 250px;
}

/* ========== RESPONSIVE STYLES ========== */
/* ========== TABLET (768px and up) ========== */
@media (min-width: 768px) {
  /* HERO JURUSAN */
  .jurusan-hero-rpl,
  .jurusan-hero-tei,
  .jurusan-hero-tki,
  .jurusan-hero-tkj {
    min-height: 70vh;
  }

  .jurusan-hero-content h1 {
    font-size: 48px;
  }

  .jurusan-hero-content p {
    font-size: 18px;
    margin-bottom: 40px;
  }

  .jurusan-btn {
    padding: 12px 26px;
    font-size: 16px;
  }

  /* PROGRAM SECTION */
  .program-section {
    padding: 80px 0;
  }

  .program-image-wrap {
    margin-bottom: 0;
  }

  .program-badge {
    width: 200px;
    padding: 14px 16px;
    top: 20px;
    right: 20px;
  }

  .program-badge strong {
    font-size: 22px;
  }

  .program-badge .code {
    font-size: 22px;
  }

  .program-badge small {
    font-size: 11px;
  }

  .program-label {
    padding-left: 40px;
    margin-bottom: 16px;
  }

  .program-label::before {
    width: 32px;
  }

  .program-content h2 {
    font-size: 28px;
  }

  .program-content p {
    font-size: 15px;
    line-height: 1.7;
    margin: 24px 0 30px;
  }

  .program-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 30px;
  }

  .feature i {
    font-size: 17px;
  }

  /* MATERI SECTION */
  .materi-section {
    padding: 80px 0 60px;
  }

  .materi-header h2 {
    font-size: 28px;
  }

  .materi-line {
    width: 50px;
    height: 5px;
    margin: 12px auto;
  }

  .materi-header p {
    max-width: 520px;
  }

  .materi-grid {
    margin-top: 50px;
  }

  .materi-card {
    padding: 0 20px;
  }

  .materi-card h4 {
    font-size: 15px;
  }

  .materi-card li {
    font-size: 15px;
  }

  .materi-icon {
    width: 54px;
    height: 54px;
    font-size: 21px;
  }

  /* CTA SECTION */
  .cta-section {
    padding: 80px 0;
  }

  .cta-section h2 {
    font-size: 28px;
  }

  .cta-section p {
    max-width: 520px;
  }

  .cta-buttons {
    flex-direction: row;
    gap: 16px;
  }

  .cta-primary,
  .cta-secondary {
    width: auto;
    max-width: none;
  }
}

/* ========== DESKTOP (992px and up) ========== */
@media (min-width: 992px) {
  /* HERO JURUSAN */
  .jurusan-hero-rpl,
  .jurusan-hero-tei,
  .jurusan-hero-tki,
  .jurusan-hero-tkj {
    min-height: 85vh;
    padding: 0;
  }

  .jurusan-hero-content h1 {
    font-size: 60px;
    margin-bottom: 22px;
  }

  .jurusan-hero-content p {
    font-size: 22px;
    line-height: 1.8;
    margin-bottom: 64px;
  }

  /* PROGRAM SECTION */
  .program-section {
    padding: 120px 0;
  }

  .program-section .row {
    align-items: center;
  }

  .program-image-wrap {
    width: 640px;
  }

  .program-image-wrap img {
    border-radius: 26px;
  }

  .program-badge {
    width: 225px;
    height: 105px;
    padding: 14px 18px;
    top: 22px;
    right: 22px;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  }

  .program-badge strong {
    font-size: 24px;
  }

  .program-badge .code {
    font-size: 24px;
  }

  .program-badge small {
    font-size: 11px;
  }

  .program-content {
    max-width: 500px;
    margin-top: 80px;
  }

  .program-label {
    padding-left: 44px;
    margin-bottom: 16px;
  }

  .program-label::before {
    width: 34px;
  }

  .program-content h2 {
    font-size: 30px;
    line-height: 1.22;
  }

  .program-content p {
    margin: 26px 0 38px;
    font-size: 15px;
    line-height: 1.85;
  }

  .program-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 34px;
  }

  .feature i {
    font-size: 18px;
    margin-top: 4px;
  }

  .feature strong {
    font-size: 13px;
  }

  .feature span {
    font-size: 12px;
  }

  /* MATERI SECTION */
  .materi-section {
    padding: 110px 0 90px;
  }

  .materi-header h2 {
    font-size: 32px;
  }

  .materi-line {
    width: 60px;
    height: 6px;
    margin: 14px auto;
  }

  .materi-header p {
    font-size: 14px;
    line-height: 1.7;
  }

  .materi-grid {
    margin-top: 70px;
  }

  .materi-card {
    padding: 0 20px;
  }

  .materi-card h4 {
    margin-top: 18px;
    font-size: 15px;
  }

  .materi-card ul {
    margin-top: 14px;
    padding-left: 18px;
  }

  .materi-card li {
    font-size: 16px;
  }

  .materi-icon {
    width: 56px;
    height: 56px;
    font-size: 22px;
  }

  /* CTA SECTION */
  .cta-section {
    padding: 90px 0;
  }

  .cta-section h2 {
    font-size: 32px;
  }

  .cta-section p {
    max-width: 620px;
    margin: 14px auto 30px;
    font-size: 14px;
    line-height: 1.7;
  }

  .cta-buttons {
    gap: 16px;
  }

  .cta-primary,
  .cta-secondary {
    padding: 12px 22px;
  }
}

/* ========== LARGE DESKTOP (1200px and up) ========== */
@media (min-width: 1200px) {
  .jurusan-hero-content h1 {
    font-size: 72px;
  }

  .program-image-wrap {
    width: 680px;
  }

  .program-content {
    max-width: 520px;
  }
}

/* ========== MOBILE (≤ 767px) ========== */
@media (max-width: 767px) {
  /* HERO JURUSAN MOBILE */
  .jurusan-hero-rpl,
  .jurusan-hero-tei,
  .jurusan-hero-tki,
  .jurusan-hero-tkj {
    min-height: 60vh;
  }

  .jurusan-hero-content h1 {
    font-size: 28px;
  }

  .jurusan-hero-content p {
    font-size: 16px;
  }
}
