body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #f5f5f5;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}


.logo {
    display: flex;

    align-items: center;

    gap: 0px;

    height: 60px;

}


.logo img {
    width: 90px;

    height: auto;

    object-fit: contain;

}










/* تنسيق النص */
.logo h1 {



    /* حجم النص */
    margin: 0;
    /* إزالة الهوامش الافتراضية */

}



/* تنسيق الهيدر */
header {
    background-color: #1f3b55;
    color: #fff;
    padding: 15px 0;
    position: relative;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    direction: ltr;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 24px;
    margin: 0;
}

/* القوائم */
header .nav-links {
    list-style: none;
    display: flex;
    gap: 15px;
    padding: 0;
}

header .nav-links li {
    display: inline-block;
}

header .nav-links li a {
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

header .nav-links li a.active {
    background-color: blue;
}

header .nav-links li a:hover {
    background-color: #f1c40f;
    color: #1f3b55;
}

/* القائمة الجانبية */
.side-menu {
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100%;
    background-color: #1f3b55;
    color: #fff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.3);
    transition: right 0.3s ease-in-out;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: 0;
    margin-top: 0rem;


}

.side-menu .nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}



.side-menu .nav-links li a {
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.side-menu .nav-links li a:hover {
    background-color: #f1c40f;
    color: #1f3b55;
}

/* زر القائمة */
.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: none;
    flex-direction: column;
    gap: 5px;

    margin-left: auto;
}

.menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
}

/* إظهار القائمة عند تفعيلها */
.side-menu.active {
    right: 0;
}

/* الفوتر */
footer {
    background-color: #1f3b55;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 20px;
    font-size: 0.9rem;
    position: relative;
}

footer .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

footer p {
    margin: 0;
    line-height: 1.5;
}

footer .social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

footer .social-icon {
    font-size: 30px;
    color: #fff;
    transition: color 0.3s, transform 0.3s;
}

footer .social-icon:hover {
    color: #f1c40f;
    transform: scale(1.1);
}

/* تصميم متجاوب */
@media (max-width: 768px) {
    header .container {
        flex-direction: row;
        justify-content: space-between;
    }

    header .nav-links {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }
}

@media (max-width: 480px) {
    footer {
        font-size: 0.8rem;
    }

    footer .social-icons {
        gap: 8px;
    }
}