/* ===== SKILLS SECTION ===== */
.competences {
    height: auto;
    padding-bottom: 4rem;
    margin: auto;
    background: rgb(56, 56, 56);
}

.competences h2 {
    color: orange;
    text-align: center;
    padding-top: 3%;
    font-family: 'Noto Sans', sans-serif;
    font-size: 1.7rem;
}

.skills {
    max-width: 82rem;
    margin: 4rem auto 0;
    text-align: center;
}

/* Logo cards */
.icon {
    width: 7.5rem;
    height: 7.5rem;
}

.icon-card {
    background-color: #fff;
    border-radius: 11px;
    box-shadow: 0 3px 10px var(--secondary-shadow);
    padding: 20px;
    margin: 10px;
}


/* ===== RESPONSIVE ===== */

/* Tablets (768px to 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .competences {
        height: fit-content;
    }
}

/* Phones & small tablets (up to 767px): smaller logos, more per row */
@media (max-width: 767px) {
    .competences {
        height: fit-content;
        margin: 20px;
        border-radius: 20px;
        padding-bottom: 2rem;
    }

    .skills {
        margin-top: 2rem;
    }

    .icon {
        width: 4.5rem;
        height: 4.5rem;
    }

    .icon-card {
        padding: 12px;
        margin: 6px;
    }
}