/* إعدادات الصفحة الأساسية */
body {
    font-family: 'Tajawal', sans-serif;
    direction: rtl;
    margin: 0;
    padding: 0;
    background-color: #e0d8ca;
    text-align: center;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* حاوية التصميم */
.container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* ضبط جميع الصور */
.section {
    width: 100%;
    display: block;
}

/* الأزرار القابلة للنقر */
.clickable {
    cursor: pointer;
}

/* تباعد بين العناصر */
.spacing {
    margin-bottom: 10px;
}

.footer {
    position: relative;
    width: 100%;
    height: auto;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%; /* اجعلها تمتد لكامل الصفحة */
    max-width: 100%;
    padding: 0 20px; /* مسافة بين المحتوى والحواف */
}

.footer-link {
    text-decoration: none; /* إزالة التسطير تحت الصور */
}

.footer-right {
    width: auto;
    max-height: 50px;
    margin-left: auto; /* دفعه لأقصى اليمين */
}

.footer-left {
    width: auto;
    max-height: 50px;
    margin-right: auto; /* دفعه لأقصى اليسار */
}
/* تكبير الصور على الشاشات العادية */
.footer-right, .footer-left {
    width: auto;
    max-height: 50px; /* الحجم الافتراضي */
}

/* تصغير الصور على الشاشات الصغيرة (الجوالات) */
@media (max-width: 480px) {
    .footer-right {
        max-height: 20px; /* تصغير الصور */
    }
    .footer-left {
        max-height: 35px; /* تصغير الصور */
    }
}



/* تصميم أزرار الاتصال */
.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

/* تنسيق عنوان "تواصل معنا" */
.contact-header {
    width: auto;
    max-width: 150px;
    margin-bottom: 5px;
    margin-top: 50px;
}

/* وضع أزرار الاتصال بجانب بعض */
.contact-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

/* ضبط حجم الأزرار */
.contact-buttons img {
    width: auto;
    max-width: 140px;
}

/* تصغير صورة "لمزيد من المعلومات" وضبط المسافات */
.info-image {
    width: 60%;
    max-width: 280px;
    display: block;
    margin: 10px auto;
}

/* ✅ تنسيق نموذج الاتصال */
.contact-form {
    background: white;
    padding: 20px;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 85%;
    max-width: 400px;
    direction: rtl;
}

/* جعل النموذج جدول منسق */
form {
    display: grid;
    gap: 15px;
    align-items: center;
}

/* ضبط الحقول بحيث تكون بجانب النصوص */
.form-group {
    display: contents;
}

label {
    font-size: 16px;
    font-weight: bold;
    color: #004d40;
    text-align: right;
    padding-right: 5px;
}

/* تنسيق مربعات الإدخال */
input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    text-align: right;
}

/* زر الإرسال */
button {
    grid-column: span 2;
    width: 100%;
    background: #004d40;
    color: white;
    border: none;
    padding: 12px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    background: #00796b;
}
.project-details img {
    max-width: 80%; /* تصغير الحجم إلى 80% من العرض المتاح */
    display: block;
    margin: 0 auto;
    margin-top: 50px;
}
select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    text-align: right;
    width: 100%;
    background-color: white;
    cursor: pointer;
}
