﻿.section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
}

    .section h2 {
        text-align: center;
        font-size: 28px;
        font-weight: 700;
        margin-bottom: 40px;
    }

/* Wrapper to group both icon rows */
.contact-icons-wrapper {
    margin-bottom: 60px;
}

/* Shared contact row style */
.contact-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.icon-box {
    flex: 1 1 30%;
    text-align: center;
    background: #f9fafb;
    padding: 20px;
    border-radius: 8px;
    min-width: 200px;
}

.icon-circle {
    width: 50px;
    height: 50px;
    background-color: #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin: 0 auto 10px;
}

.icon-box p {
    margin: 5px 0;
    color: #374151;
}

/* First row: only 2 address cards */
.row-addresses .icon-box {
    flex: 1 1 48%;
}

/* Second row: 3 cards evenly */
.row-contact .icon-box {
    flex: 1 1 30%;
}

.contact-main {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.contact-form {
    flex: 0 1 50%;
    min-width: 300px;
}

    .contact-form h3 {
        font-size: 24px;
        margin-bottom: 20px;
        font-weight: 600;
    }

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 5px;
        color: #111827;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 10px 12px;
        border: 1px solid #e5e7eb;
        border-radius: 4px;
        font-size: 14px;
        color: #111;
    }

        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: #9ca3af;
        }

    .form-group textarea {
        resize: vertical;
        min-height: 120px;
    }

.submit-btn {
    background-color: #3b82f6;
    color: white;
    border: none;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .submit-btn:hover {
        background-color: #2563eb;
    }

.contact-map {
    width: 540px;
}

/* Responsive layout */
@media (max-width: 768px) {
    .contact-main {
        flex-direction: column;
    }

    .row-addresses .icon-box,
    .row-contact .icon-box {
        flex: 1 1 100%;
    }

    .contact-map {
        width: 100%;
    }
}
