/* Unified Skills Section - Theme Matching */




/* Unified Skills Grid */
.theme-skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    margin-top: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* Individual Skill Cards */
.theme-skill-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.theme-skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #ff014F, transparent);
    transition: left 0.6s ease;
}

.theme-skill-card:hover::before {
    left: 100%;
}

.theme-skill-card:hover {
    transform: translateY(-10px);
    background: linear-gradient(145deg, #ff014F, rgba(255, 107, 53, 0.05));
    border-color: #ff014F;
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.2);
}

.theme-skill-icon {
    font-size: 40px;
    color: var(--color-subtitle, #ff014F);
    margin-bottom: 15px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

/* Make inline SVG behave like Font Awesome icons */
.theme-skill-icon svg {
    width: 1.5em;
    height: 1.5em;
    display: inline-block;
    vertical-align: -0.125em;
    fill: currentColor;
}

.theme-skill-card:hover .theme-skill-icon {
    transform: scale(1.1);
    color: #ffffff;
}

.theme-skill-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-heading, #ffffff);
    margin: 0;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.theme-skill-card:hover .theme-skill-name {
    color: #ffffff;
}

/* Floating Animation */
.theme-skill-card {
    animation: skillFloat 6s ease-in-out infinite;
}

.theme-skill-card:nth-child(2n) {
    animation-delay: 1s;
}

.theme-skill-card:nth-child(3n) {
    animation-delay: 2s;
}

.theme-skill-card:nth-child(4n) {
    animation-delay: 3s;
}

@keyframes skillFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }
}



.theme-slide-up {
    opacity: 0;
    transform: translateY(50px);
    animation: themeSkillsSlideUp 1s ease forwards;
}

@keyframes themeSkillsFadeIn {
    to {
        opacity: 1;
    }
}

@keyframes themeSkillsSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {

    .theme-skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
        margin-top: 50px;
    }

    .theme-skill-card {
        padding: 25px 15px;
    }

    .theme-skill-icon {
        font-size: 32px;
    }

    .theme-skill-name {
        font-size: 14px;
    }
}

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

    .theme-skill-card {
        padding: 20px 12px;
    }

    .theme-skill-icon {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .theme-skill-name {
        font-size: 12px;
    }
}