/* Categories Section */
.categories {
    padding: 80px 0;
    background-color: #fff;
}

.category-card {
    background: white;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, #6a8bff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 30px;
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    background: linear-gradient(135deg, var(--secondary) 0%, #ff8e8e 100%);
    transform: scale(1.1);
}

.category-card h3 {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark);
    transition: all 0.3s ease;
}

.category-card:hover h3 {
    color: var(--primary);
}

.category-card p {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.category-card:hover p {
    color: #444;
}

.category-card .btn-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    padding-bottom: 2px;
}

.category-card .btn-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.category-card:hover .btn-link::after {
    width: 100%;
}

/* Category card hover effects */
.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: all 0.3s ease;
}

.category-card:hover::before {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .category-card {
        padding: 25px 15px;
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
}

@media (max-width: 575.98px) {
    .categories {
        padding: 60px 0;
    }
    
    .category-card {
        padding: 20px 15px;
    }
    
    .category-card h3 {
        font-size: 18px;
    }
    
    .category-card p {
        font-size: 13px;
    }
}