/* Category Grid Styles - Apple Inspired */
.repair-categories {
    padding: var(--spacing-xxl) 0;
    background-color: var(--apple-light-gray);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

@media (min-width: 576px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 992px) {
    .category-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 25px;
    }
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background-color: white;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--apple-black);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    color: var(--apple-blue);
}

.category-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--apple-light-gray);
    border-radius: 50%;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.category-item:hover .category-icon {
    background-color: var(--apple-blue);
    color: white;
}

.category-icon i {
    font-size: 24px;
}

.category-item h3 {
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    color: inherit;
}

/* Animation */
.category-item {
    animation: fadeIn 0.5s ease forwards;
    opacity: 0;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Apply different animation delays to create a staggered effect */
.category-item:nth-child(1) { animation-delay: 0.05s; }
.category-item:nth-child(2) { animation-delay: 0.1s; }
.category-item:nth-child(3) { animation-delay: 0.15s; }
.category-item:nth-child(4) { animation-delay: 0.2s; }
.category-item:nth-child(5) { animation-delay: 0.25s; }
.category-item:nth-child(6) { animation-delay: 0.3s; }
.category-item:nth-child(7) { animation-delay: 0.35s; }
.category-item:nth-child(8) { animation-delay: 0.4s; }
.category-item:nth-child(9) { animation-delay: 0.45s; }
.category-item:nth-child(10) { animation-delay: 0.5s; }
.category-item:nth-child(11) { animation-delay: 0.55s; }
.category-item:nth-child(12) { animation-delay: 0.6s; }
.category-item:nth-child(13) { animation-delay: 0.65s; }