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

body {
    direction: ltr;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background-color: transparent;
    color: white;
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease;
    top: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo i {
    color: #ffd700;
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin-right: 1rem;
    margin-left: auto;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1rem;
    padding: 0;
    line-height: 1;
}

.nav-links a:hover {
    color: #ffd700;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    margin-left: 2rem;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background-color: white;
    transition: 0.3s ease;
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('tower.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.cta-button {
    margin-top: 2rem;
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
    background-color: #ffd700;
    color: #002147;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: scale(1.05);
    background-color: #fff;
}

.about {
    padding: 6rem 2rem;
    background-color: #f5f5f5;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    color: #002147;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 1.5rem;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.achievements {
    list-style: none;
    margin-top: 2rem;
}

.achievements li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 1rem;
}

.achievements i {
    color: #ffd700;
    font-size: 1.2rem;
}

/* تنسيق RTL */
[dir="rtl"] .about-container {
    flex-direction: row-reverse;
}

[dir="rtl"] .about-text {
    text-align: right;
}

[dir="rtl"] .achievements li {
    flex-direction: row-reverse;
}

/* تحديث التصميم المتجاوب */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        gap: 2rem;
    }

    .about-text {
        order: 2;
    }

    .about-image {
        order: 1;
        margin-bottom: 0;
    }

    .about-text h2 {
        font-size: 2rem;
        text-align: center;
    }

    /* إخفاء الصورة في النسخة العربية على الهاتف */
    [dir="rtl"] .about-image {
        display: none;
    }

    [dir="rtl"] .about-text {
        text-align: right;
    }
}

footer {
    text-align: center;
    padding: 1.5rem;
    background-color: #002147;
    color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .about-container {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    nav {
        justify-content: space-between;
    }

    .hamburger {
        display: flex;
        margin-left: auto;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #002147;
        flex-direction: column;
        padding: 1rem;
        text-align: center;
        margin: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .about-container {
        gap: 1.5rem;
    }

    .about-text {
        order: 2;
    }

    .about-image {
        order: 1;
        margin-bottom: 0;
    }

    .hero {
        background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('image-2.jpg');
        background-attachment: scroll;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        height: 100vh;
        padding: 80px 20px;
    }

    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
        padding: 0 10px;
    }

    .hero p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
        padding: 0 15px;
    }

    /* تحديث موضع زر اللغة */
    .lang-switch {
        position: static;
        margin: 0;
        width: 100%;
    }

    .lang-switch button {
        width: 100%;
        justify-content: center;
        padding: 0.8rem;
        margin-top: 1rem;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    .lang-dropdown {
        position: static;
        width: 100%;
        margin-top: 0.5rem;
        background-color: rgba(255,255,255,0.1);
    }

    /* إضافة زر اللغة إلى القائمة */
    .nav-links.active .lang-switch {
        display: block;
    }

    /* تنسيق RTL للموبايل */
    [dir="rtl"] .lang-switch {
        margin: 0;
    }

    [dir="rtl"] .hamburger {
        margin-left: 0;
        margin-right: auto;
    }

    /* تنسيق RTL */
    [dir="rtl"] .about-container {
        flex-direction: column;
    }

    [dir="rtl"] .about-text {
        order: 2;
    }

    [dir="rtl"] .about-image {
        order: 1;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

.projects {
    padding: 6rem 2rem;
    background-color: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #002147;
    margin-bottom: 1rem;
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
}

.projects-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.projects-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding: 1rem;
}

.projects-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.project-card {
    min-width: 300px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 400px;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.project-info h3 {
    color: #002147;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    min-height: 50px;
    line-height: 1.4;
}

.project-info p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex: 1;
    min-height: 60px;
    line-height: 1.5;
}

.view-details {
    background-color: #002147;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-size: 1rem;
    margin-top: auto;
}

.view-details:hover {
    background-color: #003a7a;
    transform: translateY(-2px);
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #002147;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    z-index: 1;
}

.scroll-btn:hover {
    background-color: #003a7a;
}

.scroll-btn.left {
    left: 0;
}

.scroll-btn.right {
    right: 0;
}

/* تحديث الاستجابة للشاشات المختلفة */
@media (max-width: 768px) {
    .projects {
        padding: 4rem 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .projects-container {
        padding: 0 20px;
    }

    .project-card {
        height: 380px;
        min-width: 260px;
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 1.8rem;
    }

    .project-card {
        min-width: 220px;
    }
}

.contact {
    padding: 6rem 2rem;
    background-color: #f8f9fa;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    order: 2;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.info-item i {
    font-size: 1.3rem;
    color: #002147;
    padding: 1rem;
    background-color: rgba(0, 33, 71, 0.1);
    border-radius: 50%;
    min-width: 3.3rem;
    height: 3.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-item div {
    flex: 1;
}

.info-item h3 {
    color: #002147;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: bold;
}

.info-item p, 
.info-item a {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

.map-container {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
}

/* تحديث الاستجابة للشاشات المختلفة */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-info {
        order: 2;
    }

    .map-container {
        order: 1;
        height: 400px;
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 4rem 1rem;
    }

    .info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem;
    }

    .info-item i {
        margin-bottom: 1rem;
    }

    [dir="rtl"] .info-item {
        text-align: center;
    }

    [dir="rtl"] .info-item i {
        margin: 0 0 1rem 0;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .contact-container {
        gap: 2rem;
    }

    .location .map-container {
        height: 300px;
    }
}

.phone-link {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.phone-link:hover {
    color: #002147;
}

/* تحديث في الوضع المتجا */
@media (max-width: 768px) {
    .phone-link {
        color: #002147;
        text-decoration: underline;
    }
}

.email-link {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: #002147;
}

@media (max-width: 768px) {
    .email-link {
        color: #002147;
        text-decoration: underline;
    }
}

/* Location Section */
.location {
    padding: 6rem 2rem;
    background-color: #fff;
}

.location .map-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* Contact Section */
.contact {
    padding: 6rem 2rem;
    background-color: #f8f9fa;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    order: 2;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.info-item i {
    font-size: 1.3rem;
    color: #002147;
    padding: 1rem;
    background-color: rgba(0, 33, 71, 0.1);
    border-radius: 50%;
    min-width: 3.3rem;
    height: 3.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-item div {
    flex: 1;
}

.info-item h3 {
    color: #002147;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: bold;
}

.info-item p, 
.info-item a {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* Contact Form */
.contact-form {
    order: 1;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #002147;
}

.submit-btn {
    background-color: #002147;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background-color: #003a7a;
}

/* Responsive Design for Location and Contact */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-info {
        order: 2;
    }

    .contact-form {
        order: 1;
    }
}

@media (max-width: 768px) {
    .location,
    .contact {
        padding: 4rem 1rem;
    }

    .location .map-container {
        height: 350px;
    }

    .info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem;
    }

    .info-item i {
        margin-bottom: 1rem;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .contact-container {
        gap: 2rem;
    }

    .location .map-container {
        height: 300px;
    }
}

/* Footer Styles */
.main-footer {
    background-color: #002147;
    color: #fff;
    padding: 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 0;
    border-top: none;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
}

.footer-section h3 {
    color: #ffd700;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    width: 100%;
    height: 30px;
    line-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-section:first-child p {
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-top: 1rem;
    letter-spacing: 0.5px;
}

.footer-section p {
    color: #a0a0a0;
    line-height: 1.6;
    text-align: center;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    width: 100%;
    text-align: center;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    width: 100%;
    margin: 1rem 0;
}

.social-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a i {
    transition: transform 0.3s ease;
}

.social-links a:hover i {
    transform: translateX(3px);
}

.social-links a:hover {
    color: #ffd700;
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.developer-info {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.developer-social {
    display: flex;
    gap: 0.3rem;
}

.developer-social a {
    color: #ffd700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    width: 25px;
    height: 25px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -2px;
    text-decoration: none;
}

.developer-social a:hover {
    color: #fff;
    transform: translateY(-2px);
    background-color: rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

.developer-link {
    color: #ffd700;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: bold;
    font-size: 0.9rem;
}

.developer-link:hover {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .developer-info {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-section {
        align-items: center;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .social-links {
        justify-content: center;
        gap: 1rem;
    }
}

/* تحديث تنسيق قسم Follow Us */
.footer-section:last-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.footer-section:last-child h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.social-links {
    margin-top: 0;
}

/* تحديث الأيقونات */
.social-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* تحديث التصميم امتجاب */
@media (max-width: 768px) {
    .footer-section:last-child {
        align-items: center;
        text-align: center;
    }

    .social-links {
        justify-content: center;
        gap: 1rem;
    }
}

.lang-switch {
    position: relative;
    margin-right: 2rem;
}

.lang-switch button {
    background: none;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
    transition: all 0.3s ease;
}

.lang-switch button:hover {
    color: #ffd700;
}

.lang-switch i {
    font-size: 1.2rem;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #002147;
    border-radius: 5px;
    padding: 0.5rem;
    display: none;
    min-width: 120px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.lang-dropdown.show {
    display: block;
}

.lang-dropdown a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    display: block;
    transition: all 0.3s ease;
    text-align: center;
}

.lang-dropdown a:hover {
    background-color: rgba(255,255,255,0.1);
    color: #ffd700;
}

/* للموبايل */
@media (max-width: 768px) {
    .lang-switch {
        margin: 0;
        width: 100%;
    }

    .lang-switch button {
        width: 100%;
        justify-content: center;
        padding: 0.6rem;
        margin-top: 0.5rem;
        border-top: 1px solid rgba(255,255,255,0.1);
        font-size: 0.9rem;
        height: 40px;
    }

    .lang-dropdown {
        position: static;
        width: 100%;
        margin-top: 0.5rem;
    }

    .lang-dropdown a {
        padding: 0.6rem;
        font-size: 0.9rem;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* تنسيق RTL للموبايل */
    [dir="rtl"] .lang-switch button,
    [dir="rtl"] .lang-dropdown a {
        font-size: 0.9rem;
        padding: 0.6rem;
        height: 35px;
    }
}

/* نسق لاجاه RTL */
[dir="rtl"] {
    direction: rtl;
}

[dir="rtl"] .nav-links {
    padding-right: 0;
}

[dir="rtl"] .logo {
    flex-direction: row-reverse;
}

[dir="rtl"] .about-container {
    flex-direction: row-reverse;
}

[dir="rtl"] .info-item {
    flex-direction: row-reverse;
}

/* تحديث تنسيق RTL للهيدر */
[dir="rtl"] nav {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav-links {
    margin-left: 1rem;
    margin-right: auto;
    flex-direction: row-reverse;
    align-items: center;
}

[dir="rtl"] .lang-switch {
    margin-right: 0;
    margin-left: 0;
    order: -1;
}

/* تحديث تنسيق الموبايل في RTL */
@media (max-width: 768px) {
    [dir="rtl"] .nav-links {
        margin: 0;
        flex-direction: column;
    }

    [dir="rtl"] .lang-switch {
        order: unset;
        margin: 0;
        width: 100%;
    }
}

/* Project Details Page Styles */
.project-details-page {
    padding-top: 0;
    background-color: #f8f9fa;
}

/* Hero Section */
.project-hero {
    height: 60vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7));
    z-index: 1;
}

.project-hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    color: white;
    max-width: 800px;
    margin-top: 4rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    line-height: 1.4;
}

/* RTL Support */
[dir="rtl"] .hero-content {
    direction: rtl;
}

/* Responsive Design */
@media (max-width: 768px) {
    .project-hero {
        height: 50vh;
    }

    .hero-content {
        margin-top: 3rem;
        padding: 1rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .project-hero {
        height: 40vh;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }
}

/* Project Overview Styles */
.project-overview {
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.project-intro {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.project-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.project-steps {
    padding: 1rem 0;
}

.project-steps h3 {
    color: #002147;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.step-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.step-section:hover {
    transform: translateY(-5px);
}

.step-section h4 {
    color: #002147;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.step-section h4 i {
    color: #ffd700;
}

.step-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    color: #666;
    font-size: 1.1rem;
}

.step-list li i {
    color: #002147;
    font-size: 0.9rem;
}

/* RTL Support */
[dir="rtl"] .step-list li i {
    transform: rotate(180deg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .project-overview {
        padding: 1rem;
    }

    .step-section {
        padding: 1rem;
    }

    .step-section h4 {
        font-size: 1.2rem;
    }

    .step-list li {
        font-size: 1rem;
    }
}

/* تحديث تنسيق زر اللغة للموبايل */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #002147;
        flex-direction: column;
        padding: 1rem;
        text-align: center;
        margin: 0;
    }

    .nav-links.active {
        display: flex;
    }

    /* إخفاء زر اللغة خارج المنيو */
    .lang-switch {
        display: none;
    }

    /* إظهار زر اللغة داخل المنيو */
    .nav-links .lang-switch {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0.5rem 0;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    .nav-links .lang-switch button {
        width: 100%;
        justify-content: center;
        padding: 0.8rem;
        background: transparent;
    }

    .nav-links .lang-dropdown {
        position: static;
        width: 100%;
        margin-top: 0.5rem;
        background-color: rgba(255,255,255,0.1);
    }
}

/* Project Content */
.project-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Project Stats */
.project-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 2rem 0 4rem;
}

.stat-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item i {
    font-size: 2rem;
    color: #ffd700;
    margin-bottom: 1rem;
}

.stat-item h4 {
    color: #002147;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #666;
    font-size: 1.1rem;
}

/* Project Gallery */
.project-gallery {
    margin-top: 4rem;
}

.project-gallery h3 {
    color: #002147;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.gallery-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.gallery-slider {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem;
    margin-bottom: 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.gallery-slider::-webkit-scrollbar {
    display: none;
}

.gallery-item {
    min-width: 300px;
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.gallery-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-scrollbar {
    height: 8px;
    background: #eee;
    border-radius: 4px;
    position: relative;
    margin: 0 20px;
}

.scrollbar-thumb {
    height: 100%;
    background: #002147;
    border-radius: 4px;
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
    transition: width 0.2s ease;
}

/* تحديث التصميم المتجاوب */
@media (max-width: 768px) {
    .gallery-item {
        min-width: 250px;
        height: 200px;
    }

    .gallery-scrollbar {
        height: 6px;
    }
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #002147;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.scroll-btn:hover {
    background-color: #003a7a;
}

.scroll-btn.left {
    left: 0;
}

.scroll-btn.right {
    right: 0;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    z-index: 1100;
}

.modal img {
    max-width: 90%;
    max-height: 90vh;
    margin: auto;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 992px) {
    .project-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .project-content {
        padding: 2rem 1rem;
    }

    .project-stats {
        grid-template-columns: 1fr;
    }

    .gallery-container {
        padding: 0 20px;
    }

    .gallery-item {
        min-width: 250px;
        height: 200px;
    }

    .scroll-btn {
        width: 35px;
        height: 35px;
    }
}

/* Hayah Karima Section */
.hayah-karima {
    padding: 6rem 2rem;
    background-color: #fff;
}

.hayah-karima-container {
    max-width: 1200px;
    margin: 0 auto;
}

.hayah-karima-content {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.hayah-karima-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.hayah-karima-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.hayah-karima-image:hover img {
    transform: scale(1.05);
}

.hayah-karima-text {
    flex: 1;
}

.hayah-karima-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

/* RTL Support */
[dir="rtl"] .hayah-karima-content {
    flex-direction: row-reverse;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hayah-karima-content {
        flex-direction: column;
        gap: 2rem;
    }

    [dir="rtl"] .hayah-karima-content {
        flex-direction: column;
    }

    .hayah-karima-text {
        text-align: center;
    }

    [dir="rtl"] .hayah-karima-text {
        text-align: center;
    }
}

/* Gallery Section */
.gallery {
    padding: 6rem 2rem;
    background-color: #f8f9fa;
}

.gallery-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.gallery-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.gallery-slider::-webkit-scrollbar {
    display: none;
}

.gallery-card {
    min-width: 300px;
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.gallery-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-image img {
    transform: scale(1.1);
}

/* Partners Section */
.partners {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.partners .section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.partners-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.partner-logo {
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.partner-logo img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .partner-logo {
        height: 120px;
    }
    
    .gallery-card {
        min-width: 250px;
        height: 200px;
    }
}

/* Technical Specifications Styles */
.technical-specs {
    margin-top: 4rem;
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.technical-specs h3 {
    color: #002147;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.technical-specs h3 i {
    color: #ffd700;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.spec-item {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.spec-item:hover {
    transform: translateY(-5px);
}

.spec-item h4 {
    color: #002147;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.spec-item p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .specs-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .technical-specs {
        padding: 1rem;
        margin-top: 2rem;
    }

    .technical-specs h3 {
        font-size: 1.5rem;
    }
}

/* Project Details Section Styles */
.project-details-section {
    margin-top: 4rem;
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.project-details-section h3 {
    color: #002147;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.project-details-section h3 i {
    color: #ffd700;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.detail-item {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.detail-item:hover {
    transform: translateY(-5px);
}

.detail-item h4 {
    color: #002147;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-item h4 i {
    color: #ffd700;
    font-size: 1.1rem;
}

.detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-list li {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    padding: 0.5rem 0;
    padding-right: 1.5rem;
    position: relative;
}

.detail-list li::before {
    content: '•';
    color: #002147;
    position: absolute;
    right: 0;
}

/* RTL Support */
[dir="rtl"] .detail-list li {
    padding-right: 1.5rem;
    padding-left: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .details-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .project-details-section {
        padding: 1rem;
        margin-top: 2rem;
    }

    .project-details-section h3 {
        font-size: 1.5rem;
    }

    .detail-item {
        padding: 1rem;
    }
}

/* تنسيق الهيدر في صفحات المشاريع */
.project-details-page nav {
    background-color: #002147;
    position: relative;
    z-index: 10;
}

/* تحديث التنسيق عند التمرير */
.project-details-page nav.scrolled {
    background-color: #002147;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* تنسيق الروابط في الهيدر */
.project-details-page .nav-links a {
    color: white;
}

.project-details-page .nav-links a:hover {
    color: #ffd700;
}

/* تنسيق زر اللغة */
.project-details-page .lang-switch button {
    color: white;
    border-color: rgba(255,255,255,0.2);
}

.project-details-page .lang-switch button:hover {
    color: #ffd700;
}

/* تنسيق قائمة الهامبرجر */
.project-details-page .hamburger span {
    background-color: white;
}

/* إضافة صورة خلفية */
.project-details-page nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('path/to/your/background-image.jpg'); /* استبدل بالمسار الصحيح للصورة */
    background-size: cover; /* لتغطية كامل الهيدر */
    background-position: center; /* لتوسيع الصورة بشكل مركزي */
    opacity: 0.5; /* لجعل الخلفية شفافة قليلاً */
    z-index: -1; /* لجعل الصورة خلف المحتوى */
} 