/* ----------------------------------- */
/* 1. Header dan Layout */
/* ----------------------------------- */
.header-kategori {
    padding: 40px 15px;
    background: linear-gradient(135deg, #1abc9c, #2ecc71); /* Gradien Warna Segar */
    color: white;
    margin-bottom: 20px;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.content-padding {
    max-width: 1200px; 
    margin: auto;
    padding: 15px;
}
.header-kategori h1 {
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 5px;
}
.header-kategori p {
    font-weight: 300;
    opacity: 0.9;
}

/* ----------------------------------- */
/* 2. Style Kategori Item */
/* ----------------------------------- */
.category-icon-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #343a40;
    margin-bottom: 25px;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%; /* Penting untuk grid yang rapi */
    padding: 5px; /* Tambahkan padding agar bayangan tidak terpotong */
}
.category-icon-box:hover {
    opacity: 1;
    transform: translateY(-5px); /* Efek angkat yang lebih dramatis */
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); /* Bayangan yang lebih besar saat hover */
}
.category-icon {
    width: 75px; 
    height: 75px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    margin-bottom: 10px;
    /* Tambahkan Inner Shadow untuk kesan 3D/kedalaman */
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2), 
    0 4px 8px rgba(0, 0, 0, 0.15); 
    color: white;
    background-color: #2c3e50; /* Fallback warna default */
    transition: all 0.3s;
}
.category-icon-box:hover .category-icon {
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.3), 
    0 6px 12px rgba(0, 0, 0, 0.2); 
}
.category-text {
    font-size: 0.95rem; /* Sedikit lebih besar */
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    max-width: 120px; /* Lebar teks disesuaikan */
    color: #343a40;
}
.category-icon-box:hover .category-text {
    color: #2ecc71; /* Warna teks berubah saat hover */
}

/* ----------------------------------- */
/* 3. Utility dan Responsif */
/* ----------------------------------- */
.spinner-border-lg {
    width: 3rem;
    height: 3rem;
}
/* Responsif untuk kolom: 3 di mobile, 4 di tablet, 6 di desktop */
@media (min-width: 576px) { 
    .col-xs-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}
@media (min-width: 768px) {
    .col-md-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}
@media (min-width: 992px) {
    .col-lg-2 {
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }
}