/* Hero Header dengan Background Image & Overlay */
.jurusan-hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 5px solid #f59e0b;
}

.jurusan-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(6, 59, 36, 0.93) 0%,
        rgba(11, 94, 59, 0.86) 60%,
        rgba(15, 118, 74, 0.80) 100%
    );
    z-index: 1;
}

.jurusan-section {
    background-color: #f4f7f6;
    min-height: 80vh;
}

.text-smk-dark {
    color: #06442a;
}

.text-smk-green {
    color: #0b5e3b;
}

.btn-smk-green {
    background-color: #0b5e3b;
    border-color: #0b5e3b;
    color: #ffffff;
}

.btn-smk-green:hover {
    background-color: #08472c;
    border-color: #08472c;
    color: #ffffff;
}

/* Desain Kartu Jurusan dengan Logo Watermark */
.jurusan-card {
    border: 0;
    border-radius: 1rem;
    background-color: #ffffff;
    overflow: hidden;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.jurusan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(11, 94, 59, 0.14) !important;
}

.jurusan-card-accent {
    height: 5px;
    background-color: #0b5e3b;
    position: relative;
    z-index: 2;
}

/* Logo sebagai Background Watermark di Pojok Kanan Bawah */
.jurusan-bg-watermark {
    position: absolute;
    right: 70px;
    bottom: 30px;
    width: 155px;
    height: 155px;
    object-fit: contain;
    opacity: 0.3;
    pointer-events: none;
    z-index: 1;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.jurusan-card:hover .jurusan-bg-watermark {
    transform: scale(1.1) rotate(-4deg);
    opacity: 0.18;
}

.jurusan-card-content {
    position: relative;
    z-index: 2;
}

.jurusan-singkatan-pill {
    background-color: #eef3f0;
    color: #0b5e3b;
    font-size: 0.98rem;
    border: 1px solid #d5e3dc;
}

.jurusan-card:hover .jurusan-title {
    color: #0b5e3b !important;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
