/* تنسيقات عامة */
*{
    margin: 0;
    padding: 0;
}
body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    direction: rtl;
    text-align: right;
    
    
}

.h11{
    color: #9d3232;
}

h1, h2, h3 {
    margin: 10px 0;
    
}

p {
    margin: 0 0 15px;
}


.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
}

.hero .header-overlay {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
}


.white-section {
    background: #fff;
    padding: 40px 20px;
    text-align: center;
}

.white-section h2 {
    color: #d9534f;
    margin-bottom: 20px;
}

.white-section p {
    color: #555;
    font-size: 1rem;
}

footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

footer p {
    margin: 0;
}

footer .social-media a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
}

footer .social-media a:hover {
    color: #d9534f;
}


.social-media {
    margin-top: 10px;
}


.slider {
    position: relative;
    width: 80%;
    margin: auto;
    overflow: hidden;
    text-align: center;
}

.slide {
    display: none;
}

.slide img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}


.projects {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.project {
    width: 30%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    text-align: center;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.project:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.project img {
    width: 100%;
    border-radius: 10px;
}

.project h3 {
    margin: 10px 0;
}

.project a {
    text-decoration: none;
    color: #d9534f;
    font-weight: bold;
}

.project a:hover {
    text-decoration: underline;
}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: #333;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .logo a {
    font-size: 1.5rem;
    color: #fff;
    text-decoration: none;
}

.navbar .nav-links {
    list-style: none;
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
}

.navbar .nav-links li a {
    text-decoration: none;
    color: #fff;
    padding: 5px 10px;
    transition: background 0.3s;
}

.navbar .nav-links li a:hover {
    background: #d9534f;
    border-radius: 5px;
}

.nav-links a.active {
    background-color: #d9534f;
    color: #fff;
    border-radius: 5px;
    padding: 5px 10px;
}


.project-details {
    text-align: center;
    padding: 20px;
}

.project-details img {
    width: 60%;
    margin: 20px 0;
    border-radius: 10px;
}

.project-details p {
    font-size: 1.2rem;
    color: #555;
}





/*---------------------------------------------------------------------------*/

.language-switcher {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 999;
}

.language-switcher select {
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
}
