/* SKILLS — Skills grid and the individual skill cards. */

.skills {
    position: relative;
}

/* Only ::after carries the accent — ::before stays the shared section divider. */
.skills::after {
    content: '◆';
    position: absolute;
    bottom: 15%;
    right: 8%;
    font-size: 3rem;
    color: rgba(0, 0, 0, 0.07);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.skill-card {
    background: white;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 3px solid #000000;
    position: relative;
    box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.08);
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 1px dashed rgba(0, 0, 0, 0.1);
}

.skill-card.hidden {
    display: none;
}

.skill-card:hover {
    transform: translate(-5px, -5px);
    box-shadow: 13px 13px 0px rgba(0, 0, 0, 0.08);
}

.skill-icon {
    width: 80px;
    height: 80px;
    background: #000000;
    border-radius: 50%;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    border: 4px solid #000000;
    position: relative;
}

.skill-icon::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 2px dotted rgba(0, 0, 0, 0.2);
    border-radius: 50%;
}

.skill-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #000000;
}

.skill-card p {
    color: #666666;
    line-height: 1.6;
}

@media (max-width: 1024px) and (min-width: 769px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }
}
