/* إعدادات الخطوط والألوان الأساسية */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 85%;
    margin: auto;
    max-width: 1200px;
}

/* الهيدر */
.navbar {
    background: #1a252f;
    color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #fff;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: bold;
}

.logo span {
    color: #c59d5f; /* لون ذهبي */
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    margin-right: 20px;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #c59d5f;
}

/* القسم الرئيسي (Hero) */
.hero {
    background: #2c3e50;
    min-height: 50vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 40px 20px;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.btn-primary {
    display: inline-block;
    background: #c59d5f;
    color: #fff;
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    font-weight: bold;
}

/* عن المكتب */
.about {
    padding: 50px 0;
    background: #fff;
}

.about .container {
    display: flex;
    align-items: center;
    gap: 30px;
}

.about-img img {
    width: 300px;
    border-radius: 10px;
    background-color: #eee;
}

/* الخدمات */
.services {
    padding: 50px 0;
    text-align: center;
}

.section-title {
    margin-bottom: 15px;
    color: #1a252f;
    font-size: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.card i {
    font-size: 2.5rem;
    color: #c59d5f;
    margin-bottom: 15px;
}

/* قسم التواصل وحقول الإدخال */
.contact {
    padding: 50px 0;
    background: #f4f6f9;
}

.contact-desc {
    text-align: center;
    margin-bottom: 30px;
    color: #666;
}

.contact-wrapper {
    display: flex;
    gap: 40px;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.contact-form {
    flex: 2;
}

.form-group {
    margin-bottom: 20px;
    text-align: right;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1a252f;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: #c59d5f;
    box-shadow: 0 0 5px rgba(197, 157, 95, 0.4);
}

.btn-submit {
    background: #1a252f;
    color: #c59d5f;
    border: 2px solid #c59d5f;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    transition: 0.3s;
}

.btn-submit:hover {
    background: #c59d5f;
    color: #fff;
}

.contact-details {
    flex: 1;
    background: #1a252f;
    color: #fff;
    padding: 25px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.contact-details h3 {
    color: #c59d5f;
    margin-bottom: 10px;
}

.contact-details p i {
    color: #c59d5f;
    margin-left: 10px;
}

/* الفوتر */
footer {
    background: #111;
    color: #888;
    text-align: center;
    padding: 15px 0;
    font-size: 0.9rem;
}

/* التجاوب مع الجوال */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 10px;
    }
    nav ul {
        padding: 0;
    }
    nav ul li a {
        margin: 0 10px;
    }
    .about .container {
        flex-direction: column;
        text-align: center;
    }
    .about-img img {
        width: 100%;
        max-width: 250px;
    }
    .contact-wrapper {
        flex-direction: column;
    }
}
