.skills-container {
    padding: 2rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
    margin: 0 auto;
    max-width: 1200px;
}

.skill-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 160px;
}

.skill-card > a{
    text-decoration: none;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.skill-card:hover::before {
    transform: translateX(100%);
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.skill-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 0.8rem;
    transition: transform 0.3s ease;
}

.skill-card:hover .skill-icon {
    transform: scale(1.1);
}

.skill-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    margin-top: 0.5rem;
}

.skills-category {
    margin: 2rem 0;
}

.skills-category-title {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    text-align: left;
    padding-left: 1rem;
    border-left: 4px solid #3498db;
}

.skill-proficiency {
    width: 100%;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    margin-top: 0.5rem;
    overflow: hidden;
}

.skill-proficiency-bar {
    height: 100%;
    background: linear-gradient(90deg, #3498db, #2980b9);
    border-radius: 2px;
    transition: width 1s ease;
}

.express-icon {
    filter: brightness(0.1);
    background-color: transparent !important;
}

.skill-card a {
    text-decoration: none;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .skills-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 1.25rem;
        padding: 0.75rem;
    }
}

@media (max-width: 768px) {
    .skills-container {
        padding: 1rem;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
        gap: 1rem;
    }
    
    .skill-card {
        padding: 1rem;
        min-height: 140px;
    }
    
    .skill-icon {
        width: 36px;
        height: 36px;
    }

    .skill-name {
        font-size: 0.85rem;
    }

    .skills-category-title {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
}

@media (max-width: 480px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .skill-card {
        padding: 0.75rem;
        min-height: 120px;
    }

    .skill-icon {
        width: 32px;
        height: 32px;
    }

    .skill-name {
        font-size: 0.8rem;
    }

    .skill-proficiency {
        height: 3px;
    }
}