/* contact_us.css */
:root {
    --primary-color: #005f6b;
    --secondary-color: #25d366;
    --light-color: #f9f9f9;
    --dark-color: #2c3e50;
}

body {
    font-family: 'Cairo', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--light-color);
    direction: rtl;
}

.container_contact {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.contact-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contact-form,
.contact-map {
    flex: 1;
    margin: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.contact-form {
    padding: 20px;
    background-color: var(--light-color);
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
}

.contact-form .form-group label {
    margin-bottom: 5px;
    width: 100%;
}

.contact-form .form-group input[type="text"],
.contact-form .form-group input[type="email"],
.contact-form .form-group textarea {
    border: 1px solid #ccc;
    padding: 10px;
    box-sizing: border-box;
    width: 100%;
    text-align:center;
}

.contact-form button[type="submit"] {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
}

.contact-form button[type="submit"]:hover {
    background-color: #004f5c;
}

/* الكارت الخارجي للخريطة بدون حشوات داخلية */
.contact-map{
  padding: 0;                 /* مهم: إلغاء أي padding */
  border-radius: 12px;
  overflow: hidden;
}

/* حاوية الخريطة تملأ الكارت بالكامل */
.map-fill{
  width: 100%;
  height: 590px !important;              /* ارتفاع واضح على الديسكتوب */
  border: 1px solid #e5e7eb;
  border-radius: 12px;        /* لمسة ناعمة متسقة مع التصميم */
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,.06);
}

/* الـ iframe يملأ الحاوية 100% بدون أي حدود */
.map-fill iframe{
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* موبايل: ارتفاع أقل */
@media (max-width: 768px){
  .map-fill{ height: 320px; }
}


.contact-info,
.contact-social {
    margin: 20px;
    padding: 20px;
    background-color: var(--light-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: left;
}

.contact-info p,
.contact-social p {
    margin: 10px 0;
    color: var(--dark-color);
}

.contact-social .social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-social .social-icons a {
    margin: 0 10px;
    color: var(--primary-color);
    font-size: 24px;
}

.contact-social .social-icons a:hover {
    color: var(--secondary-color);
}

/* Responsive Design */

@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
    }

    .contact-info,
    .contact-social {
        text-align: center;
    }
}
