.contact-section {
    padding: 3rem 1.5rem;
    background-color: #f3f4f6; /* Soft gray background, matching services section */
    text-align: center;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 600;
    color: #ffffff; /* Dark gray for title */
    margin-bottom: 2.5rem;
    position: relative;
}

.section-title::after {
    content: '';
    width: 60px;
    height: 3px;
    background-color: #2A235F; /* Soft blue underline */
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.contact-card img {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-size: 1.4rem;
    font-weight: 500;
    color: #1f2937; /* Dark gray for headings */
    margin: 0.5rem 0;
}

.contact-card p {
    font-size: 0.95rem;
    color: #4b5563; /* Medium gray for text */
    margin: 0.5rem 0 1rem;
    line-height: 1.4;
}

.btn-contact {
    display: inline-block;
    padding: 0.6rem 1.25rem;
    background-color: #2A235F; /* Soft blue button */
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-contact:hover {
    background-color: #2563eb; /* Slightly darker blue on hover */
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.75rem;
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 1.25rem;
    }

    .contact-card h3 {
        font-size: 1.3rem;
    }
}