/* DO NOT override global `.container` used by header/footer */
/* Instead, create a page-specific container */

.contact-container {
    max-width: 900px;
    margin: 50px auto;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Contact Section Styles */
.contact-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px;
    background-color: white;
    max-width: 1200px;
    margin: 20px auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.contact-details {
    flex: 1;
    padding-right: 20px;
}

.contact-details h1 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.detail { margin-bottom: 15px; }

.detail p {
    margin: 5px 0;
    font-size: 1rem;
    line-height: 1.5;
}

.contact-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Form Styles */
.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
    flex: 1;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

textarea {
    width: 100%;
    resize: none;
}

.captcha {
    display: flex;
    align-items: center;
}

.submit-button {
    width: 100%;
    padding: 10px;
    background-color: #f04e23;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover { background-color: #d03e1c; }

/* Map Section Styles */
.map-section {
    margin-top: 20px;
    text-align: center;
}

.map-section h2 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Mobile Fixes */
@media screen and (max-width: 768px) {

    .contact-section {
        flex-direction: column;
        padding: 20px;
        margin: 20px;
    }

    .contact-details {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .contact-container {
        margin: 20px;
        padding: 20px;
    }

    .form-row {
        flex-direction: column;
        gap: 10px;
    }
}

