.contact-block {
    padding-bottom: 3rem;
}

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

.contact_layout .contact_card {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 1.5rem;
    border: 1px solid var(--color-text-light);
    border-radius: 12px;
    color: white;
    background-color: #183D95;
    transition: all .2s ease-in-out;
}

.contact_layout .contact_card:hover {
    background-color: rgb(49, 80, 151);
    transition: all .2s ease-in-out;
}

.contact_card .icon_wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    position: relative;
}

.contact_card i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.contact_card a {
    color: white;
    text-decoration: none !important;
}

.contact_card a:hover {
    text-decoration: underline !important;
}

@media (max-width: 1200px) {
    .contact_layout {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-block {
        padding-bottom: 2rem;
    }

    .contact_layout .contact_card {
        text-align: center;
        justify-content: center;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .contact-block {
        padding-bottom: 1rem;
    }
}

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