#contacts-list {
    border-radius: 20px;
    padding: 2.5rem 2rem;
    margin: 2rem auto 0 auto;
}

#contacts-list ul {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

#contacts-list li {
    margin: 0;
    text-align: center;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(44,62,80,0.12);
    padding: 0.6rem 0.2rem;
    min-width: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(255,255,255,0.07);
    transition: transform 0.18s, box-shadow 0.18s;
}

.contact-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 0.5rem;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(44,62,80,0.18));
}

#contacts-list a {
    color: #7ec7ff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s;
    display: inline-block;
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    font-size: 1.08rem;
    letter-spacing: 0.02em;
}

#contacts-list a:hover {
    color: #fff;
    text-shadow: 0 0 8px #7ec7ff88;
}

@media (max-width: 600px) {
    #contacts-list {
        padding: 1.2rem 0.5rem;
        max-width: 90vw;
    }
    #contacts-list ul {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }
    #contacts-list li {
        max-width: 110px;
        flex: 1 1 45%;
        margin-bottom: 1rem;
    }
}