:root {
  --primary-color: #43A047;
  --secondary-color: #26A69A;
  --text-primary: #0b1220;
  --text-secondary: #556680;
  --surface: #FFFFFF;
  --surface-light: #E0E0E0;
  --shadow: 0 8px 28px rgba(67, 160, 71, 0.08);
  --jurusan-primary: #16a34a;
  --jurusan-accent: #22c55e;
  --jurusan-light: #dcfce7;
}

/* Base Styles */
.detail-hero {
  background: linear-gradient(135deg, var(--jurusan-light) 0%, rgba(34, 197, 94, 0.05) 100%);
  background-color: #ffffff;
  background-attachment: fixed;
  padding: 40px 0;
  border-bottom: 3px solid var(--primary-color);
  position: relative;
  overflow: hidden;
  z-index: 10;
}

.detail-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(67, 160, 71, 0.08), transparent);
  border-radius: 50%;
  pointer-events: none;
}

.detail-hero .container {
  position: relative;
  z-index: 1;
}

.detail-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--jurusan-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.detail-hero h1 i {
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.detail-hero p {
  font-size: 1.1rem;
  color: var(--jurusan-accent);
  margin: 0;
}

/* Hero Image Section */
.hero-image-section {
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.hero-image-section > div:first-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-image-wrapper {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(67, 160, 71, 0.15);
  border: 3px solid var(--primary-color);
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  padding: 3px;
}

.hero-image-wrapper img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 9px;
  display: block;
}

.hero-text-section {
  display: none;
}

.hero-text-section h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 12px;
  font-weight: 700;
}

.hero-text-section p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Back Button */
.btn-kembali {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  background: rgba(67, 160, 71, 0.1);
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.btn-kembali:hover {
  background: var(--primary-color);
  color: white;
  transform: translateX(-4px);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(67, 160, 71, 0.3);
}

/* Content Sections */
.content-section {
  background: var(--surface);
  border: 2px solid rgba(67, 160, 71, 0.15);
  border-radius: 14px;
  padding: 36px;
  margin-bottom: 32px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  animation: slideUp 0.6s ease-out forwards;
  opacity: 0;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.content-section:nth-child(1) { animation-delay: 0.1s; }
.content-section:nth-child(2) { animation-delay: 0.2s; }
.content-section:nth-child(3) { animation-delay: 0.3s; }
.content-section:nth-child(4) { animation-delay: 0.4s; }
.content-section:nth-child(5) { animation-delay: 0.5s; }

.content-section:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 48px rgba(67, 160, 71, 0.12);
  border-color: var(--secondary-color);
}

.content-section h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--jurusan-primary);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 3px solid var(--primary-color);
}

.content-section h2 i {
  font-size: 1.8rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.content-section p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* List Items */
.list-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 18px;
  background: linear-gradient(135deg, rgba(67, 160, 71, 0.05), rgba(38, 166, 154, 0.05));
  border-radius: 10px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
  border-left: 4px solid var(--primary-color);
}

.list-item:hover {
  background: linear-gradient(135deg, rgba(67, 160, 71, 0.12), rgba(38, 166, 154, 0.1));
  border-left-color: var(--secondary-color);
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(67, 160, 71, 0.12);
}

.list-item i {
  font-size: 1.5rem;
  color: var(--jurusan-accent);
  flex-shrink: 0;
  margin-top: 2px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 10px;
  transition: all 0.3s ease;
}

.list-item:hover i {
  transform: scale(1.15);
}

.list-item strong {
  color: var(--text-primary);
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.list-item small {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Alert */
.alert {
  border: 2px solid var(--primary-color);
  border-radius: 12px;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(67, 160, 71, 0.08), rgba(38, 166, 154, 0.06));
  transition: all 0.3s ease;
}

.alert i {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-right: 12px;
}

.alert a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
}

.alert a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.alert:hover {
  transform: translateX(4px);
  box-shadow: 0 12px 40px rgba(67, 160, 71, 0.15);
}

main.container {
  padding-top: 40px;
  padding-bottom: 60px;
  max-width: 900px;
  background-color: #ffffff;
  position: relative;
  z-index: 5;
}

/* Responsive */
@media (max-width: 768px) {
  .detail-hero h1 { font-size: 1.8rem; }
  .content-section { padding: 24px; }
  .content-section h2 { font-size: 1.4rem; }
  .list-item { gap: 12px; padding: 14px; }
  .hero-image-section { 
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .hero-image-wrapper img { height: 250px; }
}

@media (max-width: 576px) {
  .detail-hero { padding: 20px 0; }
  .detail-hero h1 { font-size: 1.5rem; }
  .btn-kembali { padding: 8px 14px; }
  .content-section { padding: 18px; }
  .content-section h2 { font-size: 1.2rem; }
  main.container { padding-top: 20px; }
}
