:root {
    --hero-height: 100vh;
    --fade-duration: 1.8s; /* Durasi memudar diperpanjang agar transisi sangat smooth */
    
    /* Warna Jernih untuk Gradasi sesuai Palet STIKES */
    --stripe-dark: rgba(50, 5, 66, 0.6);      /* Dari Hex #320542 */
    --stikes-violet: rgba(126, 16, 156, 0.5); /* Dari Hex #7E109C */
}

.hero-video {
    position: relative; 
    height: var(--hero-height); 
    min-height: 100vh;
    width: 100%; 
    display: flex; 
    align-items: flex-end; 
    overflow: hidden; 
    margin: 0; 
    padding: 0;
}

.hero-video-bg {
    position: absolute; 
    top: 50%; 
    left: 50%; 
    min-width: 100%; 
    min-height: 100%;
    width: auto; 
    height: auto; 
    transform: translate(-50%, -50%); 
    object-fit: cover; 
    z-index: 1;
}

/* ✅ OVERLAY GRADASI UNGU GELAP - UNGU TERANG */
.hero-overlay {
    position: absolute; 
    inset: 0; 
    z-index: 2;
    /* Gradasi diagonal dari Ungu Gelap ke Ungu Logo, lalu memudar ke hitam */
    background: linear-gradient(135deg, var(--stripe-dark) 0%, var(--stikes-violet) 40%, rgba(0,0,0,0.85) 100%);
}

/* === TATA LETAK PC & TAB (KIRI BAWAH) === */
.hero-content {
    display: grid; 
    grid-template-areas: "slide";
    width: 90%; 
    max-width: 1200px; 
    z-index: 3; 
    margin: 0 auto;
    justify-content: flex-start; 
    text-align: left; 
    padding-bottom: 120px; 
}

.hero-slide {
    grid-area: slide; 
    opacity: 0; 
    visibility: hidden; 
    /* Transisi murni crossfade tanpa efek naik-turun (tanpa transform) */
    transition: opacity var(--fade-duration) ease-in-out, visibility var(--fade-duration) ease-in-out;
    max-width: 650px;
}
.hero-slide.active { 
    opacity: 1; 
    visibility: visible; 
}

/* Tipografi Tajam */
.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.2rem); 
    font-weight: 800; 
    letter-spacing: -1px;
    margin-bottom: 0.8rem; 
    color: #ffffff; 
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.hero-desc {
    font-size: clamp(1rem, 2vw, 1.2rem); 
    margin-bottom: 2rem; 
    color: #f8fafc; 
    line-height: 1.6;
}

/* Tombol Aksi */
.btn-primary { 
    background: var(--accent); /* Warna Kuning #F0EF0C */
    color: #0f172a; /* Teks gelap karena background kuning terang */
    box-shadow: 0 4px 14px rgba(240, 239, 12, 0.4); 
    border-radius: 50px;
    padding: 1rem 2rem;
    font-weight: 700;
}

.btn-primary:hover { 
    background: #d4d300; /* Kuning sedikit lebih gelap untuk efek hover */
    color: #0f172a; 
    transform: translateY(-3px); 
}

/* Navigasi */
.hero-nav-arrows {
    position: absolute; 
    top: 50%; 
    left: 0; 
    right: 0; 
    transform: translateY(-50%);
    display: flex; 
    justify-content: space-between; 
    padding: 0 2rem; 
    z-index: 4; 
    pointer-events: none;
}
.hero-arrow {
    pointer-events: auto; 
    background: rgba(255,255,255,0.1); 
    backdrop-filter: blur(8px);
    color: white; 
    width: 50px; 
    height: 50px; 
    border-radius: 50%;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.2);
}

/* RESPONSIVE HP */
@media (max-width: 768px) {
    .hero-content {
        justify-content: center; 
        text-align: center; 
        padding-bottom: 130px; 
    }
    .hero-slide { max-width: 100%; }
    .hero-nav-arrows { display: none; }
}