.contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(to bottom, transparent, var(--gray));
    border-radius: 20px;
    margin: 0 auto;
    max-width: 1200px;
}

.contact-icons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1000px;
    padding: 0 20px;
}

.contact-icon {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--primary);
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.contact-icon span {
    font-size: 1.1rem;
}

/* Animation for contact icons */
.contact-icon {
    animation: fadeInUp 0.6s ease backwards;
}

.contact-icon:nth-child(1) { animation-delay: 0.1s; }
.contact-icon:nth-child(2) { animation-delay: 0.2s; }
.contact-icon:nth-child(3) { animation-delay: 0.3s; }
.contact-icon:nth-child(4) { animation-delay: 0.4s; }

/* Responsive styles */
@media (max-width: 768px) {
    .contact-icons {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-icon {
        padding: 1rem;
    }
}
