.category-section {
    padding: 60px 20px;
    background-color: var(--ivory);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--eerie-black);
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--accent);
    margin: 10px auto 0;
    border-radius: 2px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
    justify-items: center;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--white);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px var(--shadow-secondary);
    width: 100%;
    max-width: 180px;
}

.category-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.category-card span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gunmetal);
}

/* Hover Animation */
.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px var(--shadow-accent);
}

.category-card:hover img {
    transform: scale(1.2) rotate(10deg);
}

/* Responsive Typography */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.6rem;
    }

    .category-card img {
        width: 50px;
        height: 50px;
    }
}
