/* Categories Section */
.category-card {
    background: linear-gradient(145deg, #ffffff, #f5f7fa);
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(13, 110, 253, 0.1);
    height: 100%;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(13, 110, 253, 0.15), 0 0 15px rgba(13, 110, 253, 0.2);
    border-color: rgba(13, 110, 253, 0.4);
    background: linear-gradient(145deg, #ffffff, #eef3fc);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--tech-red));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    filter: drop-shadow(0 4px 6px rgba(13, 110, 253, 0.2));
}

.category-card:hover .category-icon {
    transform: scale(1.15) translateY(-5px);
    color: var(--tech-red);
    filter: drop-shadow(0 8px 12px rgba(255, 51, 51, 0.3));
}

.category-title {
    font-weight: 700;
    font-size: 1.15rem;
    margin: 0;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    color: #2c3e50;
}

.category-card:hover .category-title {
    color: var(--primary-color);
    letter-spacing: 1.5px;
}

@media (max-width: 576px) {
    .category-card {
        padding: 1rem;
    }

    .category-icon {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .category-title {
        font-size: 0.75rem;
    }
}