/* ===== Skills Page ===== */
.skills {
    background: #f8fafc;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.skill-category {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: #bfdbfe;
    animation: none;
}

.skill-category:hover {
    border-color: #cbd5e1;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

.skill-category h3 {
    font-size: 1.3rem;
    color: #0f172a;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.skill-badge {
    background: #f8fafc;
    color: #334155;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid #dbeafe;
    transition: all 0.3s ease;
    cursor: default;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-name {
    white-space: nowrap;
}

.skill-level {
    font-size: 0.82rem;
    color: #1e40af;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid #bfdbfe;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    line-height: 1;
}

.skill-badge:hover {
    background: #eff6ff;
    color: #1e3a8a;
    transform: translateY(-1px);
}

.skill-badge:hover .skill-level {
    color: #1e3a8a;
    background: rgba(255, 255, 255, 0.9);
}

/* ===== Tech Summary ===== */
.tech-summary {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 3rem;
    margin-top: 2rem;
}

.tech-summary h2 {
    font-size: 1.8rem;
    color: #0f172a;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.tech-category {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.tech-label {
    font-weight: 700;
    color: #1e40af;
    font-size: 1rem;
}

.tech-items {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== Animations ===== */
@keyframes slideRight {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }

    .tech-summary {
        padding: 2rem;
    }

    .tech-summary h2 {
        font-size: 1.5rem;
    }

    .tech-categories {
        grid-template-columns: 1fr;
    }
}
