/* Contact Section Styles */
#contact {
    background-color: #f9f9f9;
    padding: 20px;
    font-family: 'Arial', sans-serif;
}

#contact h2, #contact h3 {
    color: #333;
    text-align: center;
    direction: rtl;
}

#contact h2:hover {
    color: #1458a7;
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    direction: rtl;
}

.user-contact, .company-contact {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.user-contact {
    flex: 1;
    text-align: center;
    font-size: larger;
    min-width: 300px;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.contact_form {
    display: flex;
    flex-direction: column;
}

.contact_form input, .contact_form textarea, .contact_form button {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    text-align: right; /* Align text to the right */
    direction: rtl; /* Set direction to right-to-left */
}

.contact_form button {
    background-color: #1458a7;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center; /* Center align button text */
    direction: rtl; /* Ensure button text direction is correct */
}

.contact_form button:hover {
    background-color: #117ae9;
}

.company-contact {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 5px 20px; /* Adjust the spacing between columns */
    align-items: start; /* Align items to the start */
}

.company-contact h3 {
    grid-column: span 2;
    margin-bottom: 20px;
    font-size: 1.5em;
    color: #1458a7;
}

.company-contact p {
    font-size: 1.1em;
    color: #333;
    line-height: 1.5;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align content to the left */
    direction: rtl; /* Keep the text direction RTL */
    margin: 2px 0; /* Reduce margin to minimize space between items */
}

.company-contact p span {
    color: #1458a7;
    font-weight: bold;
    white-space: nowrap; /* Prevent the label from breaking into a new line */
}

.map iframe {
    width: 100%;
    height: 450px;
    border: none;
    margin-top: 20px;
    border-radius: 5px;
}
