/* Custom CSS for a modern, professional look */

/* 1. Global Styles & Typography */
:root {
    --primary-color: #004d40; /* لون أساسي غامق */
    --secondary-color: #ffb300; /* لون ثانوي جذاب */
    --text-color: #333;
    --background-color: #f8f9fa;
    --light-gray: #e9ecef;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

/* 2. Header & Navigation */
.main-header {
    background-color: var(--primary-color);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    letter-spacing: 1px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-link {
    color: white;
    font-weight: 500;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--secondary-color);
}

.header-actions {
    display: flex;
    gap: 15px;
}

.action-btn {
    color: white;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.action-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

---

### 3. Hero Section (التعديل الصحيح)

```css
.hero {
    /* تم فصل الخصائص لضمان عملها بشكل صحيح */
    background-image: linear-gradient(rgba(0, 77, 64, 0.7), rgba(0, 77, 64, 0.7)), url('images/background.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    
    color: white;
    text-align: center;
    padding: 8rem 0;
}

/* أكواد CSS للقائمة المتجاوبة */
.nav-toggle {
    display: none; /* إخفاء الزر افتراضياً في الشاشات الكبيرة */
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: auto;
}

@media (max-width: 768px) {
    .main-header .container {
        flex-wrap: wrap; /* السماح للعناصر بالنزول لسطر جديد */
    }

    .main-nav {
        display: flex; /* لكي يعمل flex-direction في الوضع العام */
        flex-wrap: wrap;
        width: 100%; /* اجعل عنصر الـ nav يملأ السطر بالكامل */
    }

    .nav-toggle {
        display: block; /* إظهار الزر في الشاشات الصغيرة */
    }

    .main-nav ul {
        display: none; /* إخفاء القائمة بشكل افتراضي في شاشات الهاتف */
        width: 100%;
        flex-direction: column; /* جعل الروابط تظهر بشكل عمودي */
        text-align: center;
        padding-top: 15px;
        margin-top: 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .main-nav.active ul {
        display: flex; /* إظهار القائمة عندما يتم إضافة كلاس active */
    }

    .main-nav li {
        margin: 10px 0; /* إضافة مسافة بين الروابط */
    }
}



.btn-custom {
  background: #e62e04;   /* اللون الأحمر الرئيسي */
  color: #fff;           /* نص أبيض */
  border-radius: 8px;    /* حواف مستديرة */
  padding: 6px 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
}

.btn-custom:hover {
  background: #ffc107;   /* يصبح أصفر عند المرور */
  color: #000;           /* نص أسود عند المرور */
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
