.contact {
    margin-right: 10%;
    margin-left: 10%;
}

.contact-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 5%;
}

.contact-text {
    text-align: left;
    max-width: fit-content;
    color: #333;
}

.fa {
    padding: 15px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    margin: 5px 2px;
}
    /* Add a hover effect if you want */
    .fa:hover {
        opacity: 0.9;
        color: white;
    }

/* Facebook */
.fa-facebook {
    background: #3B5998;
    color: white;
}

/* Twitter */
.fa-twitter {
    background: #55ACEE;
    color: white;
}
/* Youtube */
.fa-youtube {
    background: #bb0000;
    color: white;
}

.contact-text h3 {
    color: #0a53be;
    font-size: 24px;
    font-weight: bold;
}

.contact-text h6 {
    font-size: 20px;
}

.contact-text h5 {
    font-size: 18px;
    margin-bottom: 8px;
}

.contact-left, .contact-right {
    flex: 1;
    min-width: fit-content;
    max-height: 800px;
}

.contact-form {
    max-width: 900px;
    padding: 12px;
    background: white;
    border: 1px solid black;
    border-radius: 10px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

    .contact-form .column {
        width: 100%;
        padding: 10px;
        box-sizing: border-box;
    }

    .contact-form textarea {
        grid-column: span 2;
    }

    .contact-form label {
        font-weight: bold;
        display: block;
        margin-bottom: 5px;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        width: 100%;
        padding: 10px;
        margin-bottom: 15px;
        border: 1px solid #ccc;
        border-radius: 5px;
        font-size: 16px;
    }

        .contact-form input:focus,
        .contact-form select:focus,
        .contact-form textarea:focus {
            border-color: #007bff;
            outline: none;
        }

    .contact-form button {
        width: 100%;
        padding: 12px;
        background: #007bff;
        border: none;
        color: white;
        font-size: 18px;
        cursor: pointer;
        border-radius: 5px;
        transition: background 0.3s;
        grid-column: span 2;
    }

        .contact-form button:hover {
            background: #0056b3;
        }

/* Map styling */
.mapouter {
    position: relative;
    text-align: left;
    width: 100%;
    height: auto;
}

.contact-map {
    position: relative;
    border: 1px solid black;
    padding: 10px;
    border-radius: 6px;
}

.gmap_canvas {
    overflow: hidden;
    background: none;
    width: 100%;
}

.gmap_iframe {
    width: 100% !important;
    height: 500px;
    border:none;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .contact-left, .contact-right {
        width: 90%;
    }

    .contact-form {
        width: 100%;
        grid-template-columns: 1fr;
    }

        .contact-form button {
            grid-column: span 1;
        }

        .contact-form textarea {
            grid-column: span 1;
        }

        .contact-form label {
            font-size: 14px;
        }

        .contact-form input,
        .contact-form select,
        .contact-form textarea {
            font-size: 14px;
        }
}
