/* Project: Masarat Al-Shoa Contracting - Professional Edition



   Developer: Enhanced by Cascade AI



   Version: 3.0 (Premium Professional Edition)



   Features: Modern Design, Smooth Animations, Professional UX



*/







/* --- 1. الإعدادات العامة والخطوط --- */



@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Tajawal:wght@300;400;500;700;800;900&display=swap');





:root {

    --primary: #0a4a7a;        /* الأزرق الملكي */

    --primary-dark: #083a62;   /* أزرق أغمق */

    --accent: #e31e24;         /* الأحمر الحيوي */

    --accent-light: #ff4757;   /* أحمر أفتح */

    --dark-bg: #051a2b;

    --light-bg: #f8fafc;

    --gray-light: #f1f5f9;

    --gray-medium: #64748b;

    --white: #ffffff;

    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);

    --shadow-md: 0 8px 25px rgba(0,0,0,0.12);

    --shadow-lg: 0 20px 50px rgba(0,0,0,0.15);

    --shadow-xl: 0 30px 80px rgba(0,0,0,0.2);

    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    --transition-smooth: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);

}





* { margin: 0; padding: 0; box-sizing: border-box; }





html { scroll-behavior: smooth; }





body { 

    font-family: 'Tajawal', 'Montserrat', sans-serif; 

    color: #334155; 

    line-height: 1.6; 

    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);

    text-align: right;

    overflow-x: hidden;

    font-weight: 400;

}





/* --- 2. الهيدر (Glassmorphism Header) --- */



.header-wrapper { 

    position: absolute; 

    top: 0; 

    width: 100%; 

    z-index: 1000;

    transition: var(--transition);

}





.top-bar { 

    background: linear-gradient(135deg, rgba(10, 74, 122, 0.95), rgba(8, 58, 98, 0.95));

    backdrop-filter: blur(20px);

    padding: 12px 10%; 

    color: white; 

    font-size: 0.85rem; 

    display: flex; 

    justify-content: space-between; 

    border-bottom: 1px solid rgba(255,255,255,0.1);

    box-shadow: var(--shadow-sm);

}





header { 
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
    min-height: 100px;
}

.logo img {
    height: 80px;
    transition: var(--transition);
}

.logo:hover img {
    transform: scale(1.05);
}

.header-actions {
    display: none;
    gap: 15px;
    align-items: center;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    border: 2px solid transparent;
}

.call-btn {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
}

.call-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.quote-btn {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: white;
}

.quote-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background: var(--accent);
    margin: 3px 0;
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition-smooth);
}

nav ul li a:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

nav ul li a:hover::after {
    width: 100%;
}

/* --- Mobile Responsive Header --- */
@media (max-width: 768px) {
    .header-actions {
        display: none; /* إخفاء أزرار الاتصال على الموبايل للتركيز على الشعار والقائمة */
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    /* الشعار على اليسار والقائمة Hamburger في أقصى اليمين */
    header {
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;
        align-items: center;
    }
    
    header {
        padding: 15px 5%;
        min-height: 80px;
    }
    
    .logo img {
        height: 60px;
    }
    
    .action-btn {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
    
    .action-btn span {
        display: none;
    }
    
    .action-btn i {
        font-size: 1rem;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: linear-gradient(135deg, var(--dark-bg), var(--primary-dark));
        padding: 80px 20px 20px;
        transition: var(--transition-smooth);
        z-index: 999;
        box-shadow: var(--shadow-xl);
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
    
    nav ul li a {
        font-size: 1.3rem;
        padding: 15px 0;
        text-align: center;
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .social-links {
        justify-content: center;
        margin-top: 30px;
    }
}


/* --- 3. السلايدر (Hero Slider) --- */



.slider-container { 

    width: 100%; 

    height: 100vh; 

    position: relative; 

    overflow: hidden; 

    background: linear-gradient(135deg, #0a4a7a, #051a2b);

}



.slider-dots {

    position: absolute;

    bottom: 30px;

    left: 50%;

    transform: translateX(-50%);

    display: flex;

    gap: 15px;

    z-index: 100;

    padding: 15px 25px;

    background: rgba(0, 0, 0, 0.5);

    backdrop-filter: blur(10px);

    border-radius: 50px;

    border: 1px solid rgba(255, 255, 255, 0.1);

}



.dot {

    width: 12px;

    height: 12px;

    border-radius: 50%;

    border: 2px solid rgba(255, 255, 255, 0.5);

    background: transparent;

    cursor: pointer;

    transition: var(--transition-smooth);

    position: relative;

    overflow: hidden;

}



.dot span {

    display: block;

    width: 100%;

    height: 100%;

    background: var(--accent);

    border-radius: 50%;

    transform: scale(0);

    transition: var(--transition-smooth);

}



.dot.active {

    border-color: var(--accent);

    transform: scale(1.2);

}



.dot.active span {

    transform: scale(1);

}



.dot:hover {

    border-color: var(--accent-light);

    transform: scale(1.1);

}



.dot:hover span {

    transform: scale(0.8);

}



.slide { 

    position: absolute; 

    width: 100%; 

    height: 100%; 

    opacity: 0; 

    transition: 1.8s cubic-bezier(0.4, 0, 0.2, 1); 

    display: flex; 

    flex-direction: column; 

    justify-content: center; 

    padding: 0 10%; 

    color: white;

}



.slide.active { opacity: 1; }



.slide h2 { 

    font-size: 4rem; 

    font-weight: 900; 

    margin-bottom: 30px; 

    text-shadow: 0 8px 25px rgba(0,0,0,0.7);

    line-height: 1.1;

    animation: slideInRight 1s ease-out;

}



.slide p {

    font-size: 1.3rem;

    margin-bottom: 40px;

    max-width: 600px;

    line-height: 1.6;

    animation: slideInRight 1.2s ease-out;

}



@keyframes slideInRight {

    0% { transform: translateX(100%); opacity: 0; }

    100% { transform: translateX(0); opacity: 1; }

}



.btn-cta { 

    background: linear-gradient(135deg, var(--accent), var(--accent-light));

    color: white; 

    padding: 20px 55px; 

    text-decoration: none; 

    font-weight: 800; 

    display: inline-block;

    transition: var(--transition-smooth); 

    border: none;

    border-radius: 50px;

    box-shadow: var(--shadow-md);

    font-size: 1.1rem;

    position: relative;

    overflow: hidden;

}



.btn-cta::before {

    content: '';

    position: absolute;

    top: 0;

    right: -100%;

    width: 100%;

    height: 100%;

    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);

    transition: var(--transition);

}



.btn-cta:hover { 

    transform: translateY(-8px) scale(1.05); 

    box-shadow: var(--shadow-xl);

    background: linear-gradient(135deg, var(--accent-light), var(--accent));

}



.btn-cta:hover::before {

    right: 0;

}





/* --- 4. الإحصائيات (تم إصلاح التوسيط والصف الواحد هنا) --- */



.stats-section { 

    background: linear-gradient(135deg, var(--dark-bg), var(--primary-dark));

    padding: 100px 0; 

    text-align: center;

    position: relative;

    overflow: hidden;

}



.stats-section::before {

    content: '';

    position: absolute;

    top: 0;

    right: -50%;

    width: 200%;

    height: 100%;

    background: linear-gradient(45deg, transparent, rgba(227, 30, 36, 0.1), transparent);

    animation: shimmer 3s infinite;

}



@keyframes shimmer {

    0% { transform: translateX(-100%); }

    100% { transform: translateX(100%); }

}



.stats-container {

    max-width: 1200px;

    margin: 0 auto;

    display: flex;

    justify-content: center;

    align-items: center;

    flex-wrap: nowrap;

    gap: 60px;

    position: relative;

    z-index: 2;

}



.stat-item {

    flex: 1;

    min-width: 200px;

    transition: var(--transition-smooth);

    padding: 30px 20px;

    border-radius: 20px;

    background: rgba(255,255,255,0.05);

    backdrop-filter: blur(10px);

    border: 1px solid rgba(255,255,255,0.1);

}



.stat-item:hover {

    transform: translateY(-15px) scale(1.05);

    background: rgba(255,255,255,0.1);

    box-shadow: var(--shadow-xl);

}



.stat-item h3 { 

    font-size: 4.2rem; 

    color: var(--white); 

    font-weight: 900; 

    margin-bottom: 15px;

    line-height: 1;

    text-shadow: 0 4px 15px rgba(0,0,0,0.3);

}



.stat-item p { 

    color: var(--accent); 

    font-weight: 700; 

    font-size: 1.1rem;

    text-transform: uppercase;

    letter-spacing: 1px;

}





/* --- 5. الخدمات (Services) --- */



.services-section { 

    padding: 120px 10% 80px; 

    text-align: center;

    background: linear-gradient(135deg, #ffffff, #f8fafc);

}



.section-tag { 

    color: var(--accent); 

    font-weight: 800; 

    font-size: 0.9rem; 

    letter-spacing: 2px; 

    display: block; 

    margin-bottom: 10px;

    animation: fadeInUp 0.8s ease-out;

}



.section-title { 

    font-size: 3.5rem; 

    color: var(--primary); 

    font-weight: 900; 

    margin: 15px 0 60px;

    background: linear-gradient(135deg, var(--primary), var(--primary-dark));

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

    background-clip: text;

    animation: fadeInUp 1s ease-out;

}



@keyframes fadeInUp {

    0% { transform: translateY(30px); opacity: 0; }

    100% { transform: translateY(0); opacity: 1; }

}



.services-grid { 

    display: grid; 

    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 

    gap: 50px;

    margin-top: 80px;

}



.service-box { 

    text-align: right; 

    padding: 50px 40px; 

    background: linear-gradient(135deg, var(--white), var(--gray-light));

    border-radius: 20px;

    border-top: 6px solid var(--primary); 

    transition: var(--transition-smooth);

    position: relative;

    overflow: hidden;

    box-shadow: var(--shadow-md);

}



.service-box::before {

    content: '';

    position: absolute;

    top: 0;

    right: -100%;

    width: 100%;

    height: 100%;

    background: linear-gradient(135deg, rgba(10, 74, 122, 0.05), transparent);

    transition: var(--transition-smooth);

}



.service-box:hover { 

    transform: translateY(-20px) scale(1.02); 

    background: var(--white); 

    box-shadow: var(--shadow-xl); 

    border-top-color: var(--accent);

    border-radius: 25px;

}



.service-box:hover::before {

    right: 0;

}



.service-box h4 {

    font-size: 1.6rem;

    color: var(--primary);

    margin-bottom: 20px;

    font-weight: 800;

    transition: var(--transition);

}



.service-box:hover h4 {

    color: var(--accent);

    transform: translateX(-5px);

}



.service-box p {

    font-size: 1.1rem;

    line-height: 1.7;

    color: var(--gray-medium);

    transition: var(--transition);

}



.service-box:hover p {

    color: #334155;

}





/* --- 6. الشهادات والشركاء --- */



.certs-section, .partners-section { 

    padding: 120px 10%; 

    text-align: center;

    background: linear-gradient(135deg, #f8fafc, #ffffff);

}



.certs-grid, .partners-grid { 

    display: grid; 

    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 

    gap: 40px; 

    margin-top: 60px;

}



.cert-item { 

    background: linear-gradient(135deg, var(--white), var(--gray-light));

    padding: 40px; 

    border-radius: 20px;

    border: 1px solid rgba(10, 74, 122, 0.1);

    display: flex; 

    flex-direction: column; 

    justify-content: space-between; 

    align-items: center; 

    height: 450px; 

    transition: var(--transition-smooth);

    box-shadow: var(--shadow-sm);

    position: relative;

    overflow: hidden;

}



.cert-item::before {

    content: '';

    position: absolute;

    top: -50%;

    right: -50%;

    width: 200%;

    height: 200%;

    background: linear-gradient(45deg, transparent, rgba(10, 74, 122, 0.05), transparent);

    transition: var(--transition-smooth);

    transform: rotate(45deg);

}



.cert-item:hover::before {

    top: -100%;

    right: -100%;

}



.cert-item img { 

    max-width: 100%; 

    max-height: 300px; 

    object-fit: contain; 

    margin-bottom: auto;

    transition: var(--transition);

    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));

}



.cert-item:hover img {

    transform: scale(1.05);

    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.2));

}



.cert-item p { 

    font-weight: 800; 

    color: var(--primary); 

    margin-top: 25px;

    font-size: 1.1rem;

    transition: var(--transition);

}



.cert-item:hover { 

    transform: translateY(-15px) scale(1.02); 

    box-shadow: var(--shadow-xl);

    border-color: var(--accent);

}



.cert-item:hover p {

    color: var(--accent);

}



.partner-logo { 

    height: 160px; 

    display: flex; 

    align-items: center; 

    justify-content: center; 

    background: linear-gradient(135deg, var(--white), var(--gray-light));

    border: 2px solid rgba(10, 74, 122, 0.1);

    border-radius: 15px; 

    transition: var(--transition-smooth); 

    padding: 30px;

    position: relative;

    overflow: hidden;

    box-shadow: var(--shadow-sm);

}



.partner-logo::before {

    content: '';

    position: absolute;

    top: 0;

    right: -100%;

    width: 100%;

    height: 100%;

    background: linear-gradient(135deg, rgba(227, 30, 36, 0.1), transparent);

    transition: var(--transition-smooth);

}



.partner-logo img { 

    max-width: 100%; 

    max-height: 100%; 

    object-fit: contain; 

    filter: grayscale(0%); 

    opacity: 1;

    transition: var(--transition-smooth);

}



.partner-logo:hover { 

    border-color: var(--accent);

    transform: translateY(-10px) scale(1.05);

    box-shadow: var(--shadow-lg);

}



.partner-logo:hover::before {

    right: 0;

}



.partner-logo:hover img { 

    transform: scale(1.1);

    filter: brightness(1.1);

}



/* --- 7. المشاريع (Dynamic Projects) --- */



.projects-section { 

    padding: 120px 10%; 

    background: linear-gradient(135deg, #f8fafc, #ffffff); 

    text-align: center;

}



.projects-grid { 

    display: grid; 

    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); 

    gap: 40px; 

    margin-top: 80px;

}



.project-card { 

    position: relative; 

    height: 450px; 

    overflow: hidden; 

    border-radius: 20px;

    box-shadow: var(--shadow-lg); 

    cursor: pointer;

    transition: var(--transition-smooth);

    background: var(--white);

}



.project-card:hover {

    transform: translateY(-15px) scale(1.02);

    box-shadow: var(--shadow-xl);

}



.project-card img { 

    width: 100%; 

    height: 100%; 

    object-fit: cover; 

    transition: var(--transition-smooth);

}



.project-card:hover img { 

    transform: scale(1.15);

    filter: brightness(0.9);

}



.project-static-info { 

    position: absolute; 

    bottom: 0; 

    left: 0; 

    width: 100%; 

    padding: 40px 30px; 

    background: linear-gradient(transparent, rgba(0, 0, 0, 0.95)); 

    color: white; 

    text-align: right;

    transition: var(--transition);

}



.project-card:hover .project-static-info {

    padding-bottom: 50px;

}



.project-static-info h3 {

    font-size: 1.5rem;

    font-weight: 800;

    margin-bottom: 10px;

    transition: var(--transition);

}



.project-card:hover .project-static-info h3 {

    transform: translateX(-5px);

}



.project-static-info p {

    font-size: 1rem;

    opacity: 0.9;

    transition: var(--transition);

}



.project-card:hover .project-static-info p {

    opacity: 1;

}





/* --- 8. الفوتر (Footer) --- */



footer { 

    background: linear-gradient(135deg, var(--dark-bg), var(--primary-dark)); 

    color: white; 

    padding: 120px 10% 60px; 

    border-top: 8px solid var(--accent);

    position: relative;

    overflow: hidden;

}



footer::before {

    content: '';

    position: absolute;

    top: 0;

    right: -50%;

    width: 200%;

    height: 100%;

    background: linear-gradient(45deg, transparent, rgba(227, 30, 36, 0.05), transparent);

    animation: shimmer 4s infinite;

}



.footer-grid { 

    display: grid; 

    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 

    gap: 70px;

    position: relative;

    z-index: 2;

}



.footer-col {

    padding: 30px;

    background: rgba(255,255,255,0.05);

    border-radius: 20px;

    backdrop-filter: blur(10px);

    border: 1px solid rgba(255,255,255,0.1);

    transition: var(--transition);

}



.footer-col:hover {

    transform: translateY(-5px);

    background: rgba(255,255,255,0.08);

    box-shadow: var(--shadow-lg);

}



.footer-col h5 { 

    font-size: 1.4rem; 

    color: var(--accent); 

    margin-bottom: 35px; 

    font-weight: 800;

    background: linear-gradient(135deg, var(--accent), var(--accent-light));

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

    background-clip: text;

}



.footer-col p {

    line-height: 1.8;

    font-size: 1.05rem;

    color: #cbd5e0;

    margin-bottom: 20px;

}



.footer-col a { 

    color: #cbd5e0; 

    text-decoration: none; 

    display: block; 

    margin-bottom: 18px; 

    transition: var(--transition);

    font-weight: 500;

    position: relative;

    padding-right: 15px;

}



.footer-col a::before {

    content: '←';

    position: absolute;

    right: 0;

    opacity: 0;

    transition: var(--transition);

    color: var(--accent);

}



.footer-col a:hover { 

    color: var(--accent);

    padding-right: 25px;

    transform: translateX(-5px);

}



.footer-col a:hover::before {

    opacity: 1;

}





/* --- 11. زر العودة للأعلى (Back to Top) --- */



.back-to-top {

    position: fixed;

    bottom: 100px;

    left: 40px;

    width: 60px;

    height: 60px;

    background: linear-gradient(135deg, var(--primary), var(--primary-dark));

    color: white;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    opacity: 0;

    visibility: hidden;

    transition: var(--transition-smooth);

    z-index: 9998;

    box-shadow: var(--shadow-lg);

    border: 2px solid rgba(255, 255, 255, 0.1);

}



.back-to-top.show {

    opacity: 1;

    visibility: visible;

}



.back-to-top:hover {

    transform: translateY(-5px) scale(1.1);

    background: linear-gradient(135deg, var(--accent), var(--accent-light));

    box-shadow: var(--shadow-xl);

}



.back-to-top i {

    font-size: 1.3rem;

    transition: var(--transition);

}



.back-to-top:hover i {

    transform: rotate(360deg);

}



@media (max-width: 768px) {

    .back-to-top {

        bottom: 80px;

        left: 20px;

        width: 50px;

        height: 50px;

    }

    .back-to-top i {

        font-size: 1.1rem;

    }

    .slider-container {
        height: 70vh;
    }
    
    .slide {
        padding: 0 5%;
        text-align: center;
    }
    
    .slide h2 {
        font-size: 2.5rem;
        margin-bottom: 20px;
        line-height: 1.2;
    }
    
    .slide p {
        font-size: 1.1rem;
        margin-bottom: 30px;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .btn-cta {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .slider-dots {
        bottom: 20px;
        padding: 10px 20px;
        gap: 10px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }

    .stats-container {
        flex-direction: column;
        gap: 40px;
        padding: 60px 5%;
    }
    
    .stat-item h3 {
        font-size: 2.8rem;
    }
    
    .stat-item p {
        font-size: 1rem;
    }

    .services-section {
        padding: 80px 5%;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-box {
        padding: 30px 25px;
    }

    .projects-section {
        padding: 80px 5%;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .project-card {
        height: 350px;
    }
    
    .project-static-info {
        padding: 25px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 60px 5%;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 20px;
    }

    /* Header للموبايل: الشعار يسار، Hamburger أقصى اليمين (تم التعريف في القسم أعلاه) */
    header { min-height: auto; padding: 15px 5%; }

    .logo img { height: 60px; }

    nav ul { margin-top: 25px; gap: 15px; flex-wrap: wrap; justify-content: center; }

    .slide h2 { font-size: 2.2rem !important; }

    .stats-container { flex-direction: column; gap: 40px; }

    .stat-item h3 { font-size: 2.8rem; }

    .projects-grid { grid-template-columns: 1fr; }

    .services-grid { grid-template-columns: 1fr; }

    .certs-grid, .partners-grid { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; gap: 30px; }

    .section-title { font-size: 2.5rem; }

    .slide h2 { font-size: 2.5rem !important; }

    .slide p { font-size: 1.1rem; }

    .btn-cta { padding: 15px 40px; font-size: 1rem; }

    
    .hamburger-menu {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: linear-gradient(135deg, var(--dark-bg), var(--primary-dark));
        padding: 80px 20px 20px;
        transition: var(--transition-smooth);
        z-index: 999;
        box-shadow: var(--shadow-xl);
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
    
    nav ul li a {
        font-size: 1.3rem;
        padding: 15px 0;
        text-align: center;
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .social-links {
        justify-content: center;
        margin-top: 30px;
    }

}



@media (max-width: 480px) {

    .section-title { font-size: 2rem; }

    .slide h2 { font-size: 2rem !important; }

    .service-box { padding: 30px 25px; }

    .cert-item { height: 380px; padding: 25px; }

    .partner-logo { height: 120px; padding: 20px; }

    .project-card { height: 350px; }

    .project-static-info { padding: 25px 20px; }

    .footer-col { padding: 20px; }

}
/* تنسيق توقيع المطور */
.developer-credit {
    margin-top: 15px;
    font-size: 0.85rem;
    color: #cbd5e0; /* لون رمادي هادئ */
}

.developer-credit a {
    color: var(--accent); /* سيظهر اسمك باللون الأحمر الحيوي للموقع */
    text-decoration: none;
    font-weight: 800;
    margin-right: 5px;
    transition: var(--transition);
}

.developer-credit a:hover {
    color: #fff;
    text-shadow: 0 0 8px var(--accent);
}