
body {
    font-family: 'Tahoma', sans-serif;
    margin: 0;
    padding: 0;
    direction: rtl;
    background-color: #f5f7fa;
    color: #333;
}
header {
    background-color: #004aad;
    color: white;
    padding: 10px 0;
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: auto;
}
header .logo {
    max-height: 50px;
}
header nav a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
    font-weight: bold;
}
header nav a.active {
    border-bottom: 2px solid #fff;
}
header nav a:hover {
    text-decoration: underline;
}
.hero {
    text-align: center;
    padding: 50px 20px;
    background-color: #e9eff5;
}
.hero h1 {
    color: #004aad;
    font-size: 2.5em;
}
.hero p {
    font-size: 18px;
    margin: 20px 0;
}
.app-buttons a {
    display: inline-block;
    margin: 10px;
    padding: 10px 20px;
    background-color: #004aad;
    color: white;
    border-radius: 5px;
    text-decoration: none;
}
.app-buttons a i {
    margin-left: 5px;
}
.features {
    background-color: #fff;
    padding: 40px 20px;
    text-align: center;
}
.features .feature {
    display: inline-block;
    width: 250px;
    margin: 20px;
}
.features .feature i {
    font-size: 40px;
    color: #004aad;
    margin-bottom: 10px;
}
.features .feature h3 {
    color: #333;
    margin-bottom: 10px;
}
.features .feature p {
    color: #666;
}
footer {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 15px 0;
}
footer .social-icons a {
    color: white;
    margin: 0 5px;
    text-decoration: none;
    font-size: 18px;
}
.container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}
/* ✅ أزرار تحميل التطبيقات */
.app-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.store-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000000; /* أسود دائمًا */
    color: #ffffff; /* نص وأيقونات بيضاء */
    font-size: 16px;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    width: 220px; /* نفس العرض */
    transition: transform 0.2s ease;
}

.store-btn i {
    margin-left: 8px;
    font-size: 20px;
    color: #ffffff; /* أيقونات بيضاء */
}

.store-btn:hover {
    transform: scale(1.05); /* تكبير بسيط عند التحويم */
    background-color: #000000; /* يظل أسود عند hover */
}
/* ✅ اجعل الهيدر متجاوب */
header .container {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

header img.logo {
    max-width: 150px;
}

header nav {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

header nav a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

header nav a.active {
    font-weight: bold;
}

/* ✅ تحسين عرض الصفحة في الجوال */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        align-items: center;
    }

    header nav {
        flex-direction: column;
        gap: 10px;
    }

    .hero h1 {
        font-size: 20px;
        text-align: center;
    }

    .hero p {
        font-size: 14px;
        text-align: center;
    }

    .app-buttons {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .store-btn {
        width: 90%;
        text-align: center;
    }

    .features {
        flex-direction: column;
    }
/* الهيدر */
header {
    background: #0047AB; /* الأزرق الأساسي */
    color: #fff;
    padding: 10px 20px;
    position: relative;
}

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

header img.logo {
    width: 120px;
}

header nav {
    display: flex;
    gap: 15px;
}

header nav a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

header nav a.active {
    font-weight: bold;
    border-bottom: 2px solid #fff;
}

/* زر الهامبرغر */
.hamburger {
    display: none;
    font-size: 26px;
    cursor: pointer;
    color: #fff;
}

/* القائمة الجانبية للجوال */
#navMenu {
    display: flex;
    gap: 10px;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    #navMenu {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 250px;
        height: 100%;
        background: #0047AB;
        padding: 20px;
        box-shadow: -2px 0 10px rgba(0,0,0,0.3);
        z-index: 1000;
        transition: transform 0.3s ease;
    }

    #navMenu.show {
        display: flex;
    }

    #navMenu a {
        color: #fff;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .close-btn {
        font-size: 30px;
        color: #fff;
        align-self: flex-end;
        cursor: pointer;
        margin-bottom: 20px;
    }
header .container {
    display: flex;
    justify-content: space-between; /* يفصل الشعار عن المنيو */
    align-items: center;
}

.hamburger {
    display: none;
    font-size: 26px;
    cursor: pointer;
    color: #fff;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
        order: 1; /* يجعل الأيقونة على اليمين */
    }

    header img.logo {
        order: 2; /* الشعار يبقى على اليسار */
    }

    header .container {
        flex-direction: row-reverse; /* يجعل الشعار يسار والهامبرغر يمين */
    }
}
