.btn-icon {
    margin-left: 8px;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
    transform: translateX(5px);
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.checklist-item:nth-child(1) { animation-delay: 0.2s; }
.checklist-item:nth-child(2) { animation-delay: 0.4s; }
.checklist-item:nth-child(3) { animation-delay: 0.6s; }

/* Media Queries untuk Responsivitas */
@media (max-width: 992px) {
    .hero-section {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }
    .image-grid-container {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        gap: 30px;
    }
    .image-grid-container {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    .company-name {
        font-size: 1.6rem;
    }
    .company-description {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        gap: 20px;
    }
    .image-grid-container {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .image-item {
        border-radius: 12px;
        border-width: 2px;
    }
    .company-name {
        font-size: 1.4rem;
    }
    .buttons {
        flex-direction: column;
        gap: 10px;
    }
    .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .image-grid-container {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .image-item {
        border-radius: 10px;
    }
}

/* Styling khusus untuk tab yang lebih menarik */
.nav-tabs .nav-link {
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s;
    margin: 0 5px;
    border: none;
    background: #ffffff;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.nav-tabs .nav-link.active {
    background: linear-gradient(135deg, #D4AF37, #F5F0E1);
    color: #5D4037;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
    border: none;
    font-weight: 600;
}

.nav-tabs .nav-link:hover:not(.active) {
    background: #FFF9E0;
    color: #5D4037;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.15);
}

.nav-tabs .nav-link i {
    transition: transform 0.3s;
}

.nav-tabs .nav-link:hover i {
    transform: scale(1.1);
}

/* Hilangkan garis bawah tab */
.nav-tabs {
    border-bottom: none;
    position: relative;
}

/* TAMBAHAN CSS UNTUK RESPONSIF SAJA */
/* Desktop - TETAP SEPERTI AWAL */
@media (min-width: 768px) {
    .pengumuman-card {
        flex-direction: row !important;
        min-height: 240px !important;
    }
    .pengumuman-gambar {
        flex: 0 0 240px !important;
        height: 240px !important;
    }
    .pengumuman-teks {
        padding: 20px !important;
    }
    .pengumuman-isi {
        -webkit-line-clamp: 3 !important;
    }
    /* Hover untuk judul */
    a h5:hover {
        color: #00A86B !important;
        transition: color 0.2s ease;
    }
}

/* Mobile - Layout berubah jadi kolom */
@media (max-width: 767px) {
    .pengumuman-card {
        flex-direction: column !important;
        min-height: auto !important;
    }
    .pengumuman-gambar {
        flex: 0 0 180px !important;
        height: 180px !important;
        width: 100% !important;
    }
    .pengumuman-teks {
        padding: 16px !important;
    }
    .pengumuman-isi {
        -webkit-line-clamp: 2 !important;
        font-size: 0.9rem !important;
    }
    h5 {
        font-size: 1rem !important;
    }
}

/* Pastikan semua card sama tinggi */
.splide__list {
    display: flex !important;
    align-items: stretch !important;
}

.splide__slide {
    height: auto !important;
    display: flex !important;
}

.pengumuman-card {
    height: 100% !important;
}

/* Hero Headline Styles */
.hero-headline-wrapper {
    position: relative;
    padding: 3rem 0;
}

.hero-subtitle {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-title {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    display: inline-block;
}

.hero-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #fba526, #ffffff);
    margin: 0 auto 2rem;
    border-radius: 2px;
}

.hero-description {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.hero-description .highlight {
    color: #fba526;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-headline-wrapper {
        padding: 2rem 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
}

/* --- PERBAIKAN TERAKHIR UNTUK JARAK PAGINATION PENGUMUMAN --- */
/* Tambahkan padding di bagian bawah track carousel untuk menciptakan jarak */
#pengumuman-carousel .splide__track {
    padding-bottom: 2.5rem !important; /* 40px */
}

/* Gambar batik lebih kecil di mobile */
@media (max-width: 768px) {
    .batik-pattern {
        height: 60px !important;
    }
    
    #goldStarsCanvas,
    .shimmer-wrapper,
    .container.py-2 {
        margin-top: 60px !important;
    }
}

@media (max-width: 480px) {
    .batik-pattern {
        height: 50px !important;
    }
    
    #goldStarsCanvas,
    .shimmer-wrapper,
    .container.py-2 {
        margin-top: 50px !important;
    }
}


