/* Base Styles - Professional Dark Theme with Blue Accents */
:root {
    --primary-color: #3a86ff; /* Vibrant Blue */
    --primary-dark: #2667d6; /* Darker Blue */
    --secondary-color: #8338ec; /* Purple Accent */
    --secondary-dark: #6a2bc7; /* Darker Purple */
    --accent-color: #ff006e; /* Pink Accent */
    --accent-dark: #d8005e; /* Darker Pink */
    --dark-color: #121218; /* Deep Dark */
    --darker-color: #0a0a0f; /* Almost Black */
    --light-color: #e2e2e2; /* Soft White */
    --lighter-color: #ffffff;
    --gray-color: #252530; /* Medium Gray */
    --light-gray: #3a3a4a; /* Light Gray */
    --glass-color: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(58, 134, 255, 0.15);
    --glass-shadow: 0 8px 32px rgba(58, 134, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-color);
    color: var(--light-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(58, 134, 255, 0.03) 0%, transparent 70%),
        radial-gradient(circle at 80% 70%, rgba(131, 56, 236, 0.05) 0%, transparent 70%);
    background-blend-mode: screen;
    opacity: 0.15;
    z-index: -2;
}

.blur-circle-1, .blur-circle-2 {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.08;
}

.blur-circle-1 {
    width: 600px;
    height: 600px;
    background: var(--primary-color);
    top: -200px;
    left: -200px;
}

.blur-circle-2 {
    width: 800px;
    height: 800px;
    background: var(--secondary-color);
    bottom: -300px;
    right: -300px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    loading: lazy;
}

.highlight {
    color: var(--primary-color);
    font-weight: 600;
    text-shadow: 0 0 8px rgba(58, 134, 255, 0.3);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    word-wrap: break-word;
    color: var(--lighter-color);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 1.75rem);
}

p {
    margin-bottom: 1rem;
    word-wrap: break-word;
    color: rgba(226, 226, 226, 0.9);
}

.section-title {
    text-align: center;
    margin: 0 auto 3rem;
    position: relative;
    display: block;
    width: fit-content;
    padding: 0 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(226, 226, 226, 0.8);
    max-width: min(700px, 90%);
    margin: 0 auto 2rem;
    padding: 0 1rem;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-tertiary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    outline: none;
    gap: 0.5rem;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(58, 134, 255, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(58, 134, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(58, 134, 255, 0.1);
    transform: translateY(-3px);
}

.btn-tertiary {
    background: transparent;
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-tertiary:hover {
    color: var(--primary-dark);
}

/* Glass Effect - Modified to remove transparency */
.glass-card, .glass-nav {
    background: var(--darker-color);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 16px;
    transition: var(--transition);
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(58, 134, 255, 0.2);
    border-color: rgba(58, 134, 255, 0.3);
}

/* Preloader Styles */
/* Preloader Styles */
/* Preloader Styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
    touch-action: none; /* لمنع التفاعل مع التمرير */
    overscroll-behavior: none; /* لمنع تأثير السحب على الصفحة */
}

.preloader-content {
    width: 90%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.lottie-container {
    width: 70vmin;
    height: 70vmin;
    max-width: 400px;
    max-height: 400px;
    position: relative;
}

.loading-bar {
    width: 100%;
    height: 4px;
    background: rgba(58, 134, 255, 0.2);
    margin: 20px 0;
    border-radius: 2px;
    overflow: hidden;
}

.loading-bar::after {
    content: '';
    display: block;
    width: 0;
    height: 100%;
    background: var(--primary-color);
    animation: loading 10s linear forwards;
}

@keyframes loading {
    to { width: 100%; }
}

.preloader-text {
    font-family: 'Courier New', Courier, monospace; /* خط برمجي */
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(58, 134, 255, 0.5);
    letter-spacing: 1px;
    text-align: center;
    margin-top: 10px;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

/* تحسينات للهاتف */
@media (max-width: 768px) {
    .lottie-container {
        width: 80vmin;
        height: 80vmin;
    }
    
    .loading-bar {
        height: 3px;
        margin: 15px 0;
    }
    
    .preloader-text {
        font-size: clamp(1rem, 4vw, 1.5rem);
    }
}

/* منع أي تفاعل مع المحتوى أثناء التحميل */
body.preloader-active {
    overflow: hidden;
    height: 100vh;
    touch-action: none;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(18, 18, 24, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(58, 134, 255, 0.1);
}

.logo img {
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    filter: drop-shadow(0 0 5px rgba(58, 134, 255, 0.3));
}

nav ul {
    display: flex;
    gap: 1.5rem;
}

nav a {
    position: relative;
    padding: 0.5rem 0;
    font-weight: 500;
    transition: var(--transition);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

nav a:hover::after, nav a.active::after {
    width: 100%;
}

nav a.active {
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(58, 134, 255, 0.3);
}

.cta-nav .btn-primary {
    padding: 0.5rem 1.5rem;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--light-color);
}

.mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    padding: 2rem;
    z-index: 999;
    transform: translateY(-150%);
    opacity: 0;
    transition: var(--transition);
    background-color: var(--darker-color);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(58, 134, 255, 0.1);
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu a {
    display: block;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
}

.mobile-menu a:hover, .mobile-menu a.active {
    background: rgba(58, 134, 255, 0.1);
    color: var(--primary-color);
}

.mobile-menu .btn-primary {
    width: 100%;
    margin-top: 1rem;
}

.hero {
    min-height: 100vh;
    padding: 10rem 2rem 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
    gap: 5rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(58, 134, 255, 0.08) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    z-index: -1;
}

.hero-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.hero-image {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    gap: 2rem;
}

/* Typography */
h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    opacity: 0.9;
    margin: 0;
    padding: 0;
    text-align: left;
    width: 100%;
}

.highlight {
    color: var(--primary-color);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.highlight:hover::after {
    transform: scaleX(1);
}

/* Animation */
.animation-wrapper {
    width: 380px;
    height: 380px;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(58, 134, 255, 0.1);
}

.floating {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin: 2.5rem 0;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(58, 134, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(58, 134, 255, 0.4);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 0%, rgba(255, 255, 255, 0.2) 100%);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.btn-primary:hover::after {
    transform: translateX(100%);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(58, 134, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(58, 134, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(58, 134, 255, 0.2);
}

/* Signature */
.signature-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 380px;
    margin: 2rem 0;
}

.signature-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(58, 134, 255, 0.5), transparent);
}

.signature {
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    font-size: 1.3rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.signature:hover {
    color: white;
    text-shadow: 0 0 10px rgba(58, 134, 255, 0.5);
}

/* Stats */
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem 1rem;
    border-radius: 15px;
    min-width: 120px;
    transition: all 0.4s ease;
    border: 1px solid rgba(58, 134, 255, 0.1);
    flex: 1;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(58, 134, 255, 0.15);
    background: rgba(58, 134, 255, 0.05);
    border-color: rgba(58, 134, 255, 0.2);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-item p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .animation-wrapper {
        width: 340px;
        height: 340px;
    }
    
    .hero::before {
        width: 500px;
        height: 500px;
    }
}

@media (max-width: 992px) {
    .animation-wrapper {
        width: 320px;
        height: 320px;
    }
    
    .hero {
        gap: 3rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-item {
        min-width: 100px;
        padding: 1.2rem 0.8rem;
    }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        padding: 8rem 1rem 4rem;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .animation-wrapper {
        width: 300px;
        height: 300px;
    }
    
    .hero::before {
        top: -150px;
        right: -150px;
        width: 400px;
        height: 400px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    .subtitle {
        text-align: center;
        margin: 0;
        padding: 0 1rem;
        max-width: 100%;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .signature-wrapper {
        margin: 2rem auto;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 8rem 0.5rem 4rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        padding: 0 0.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.2rem;
        width: 100%;
    }
    
    .stat-item {
        width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .animation-wrapper {
        width: 280px;
        height: 280px;
    }
    
    .signature {
        font-size: 1.3rem;
    }
}

/* Desktop Specific Adjustments */
@media (min-width: 992px) {
    .hero-content {
        padding-left: 0;
    }
    
    .subtitle {
        margin-left: 0;
        padding-left: 0;
    }
}

/* Services Preview */
.services-preview, .projects-preview, .testimonials, .cta-section {
    padding: 5rem 1rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    width: 100%;
    padding: 0 1rem;
}

.service-card {
    padding: 2rem;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(58, 134, 255, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(58, 134, 255, 0.1);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--primary-color);
    border: 1px solid rgba(58, 134, 255, 0.2);
}

.section-cta {
    text-align: center;
    width: 100%;
}

/* Projects Preview */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    width: 100%;
    padding: 0 1rem;
}

.project-card {
    padding: 1.5rem;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(58, 134, 255, 0.1);
}

.project-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.project-image {
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.project-tech {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.project-tech span {
    background: rgba(58, 134, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    border: 1px solid rgba(58, 134, 255, 0.2);
}

/* Testimonials */
.testimonial-slider, .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
    padding: 0 1rem;
}

.testimonial-card {
    padding: 2rem;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(58, 134, 255, 0.1);
}

.testimonial-content {
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
}

.testimonial-content::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: -1.5rem;
    left: -1rem;
    opacity: 0.1;
    line-height: 1;
}

.testimonial-author h4 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    color: rgba(226, 226, 226, 0.7);
    font-size: 0.9rem;
}

/* CTA Section */
.cta-content {
    padding: 3rem 1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Footer */
footer {
    background: rgba(18, 18, 24, 0.9);
    padding: 4rem 1rem 2rem;
    margin-top: 4rem;
    width: 100%;
    border-top: 1px solid rgba(58, 134, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto 3rem;
    width: 100%;
    padding: 0 1rem;
}

.footer-brand img {
    height: 60px;
    border-radius: 50%;
    margin-bottom: 1rem;
    object-fit: cover;
    filter: drop-shadow(0 0 5px rgba(58, 134, 255, 0.2));
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(58, 134, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
    border: 1px solid rgba(58, 134, 255, 0.2);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    color: #ffffff;
}

/* أنماط زر السوشيال بروفايلز الجديدة */
.social-profiles-btn {
    display: inline-block;
    margin: 20px 0 0 0;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: var(--lighter-color);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(74, 111, 165, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.social-profiles-btn i {
    margin-right: 8px;
}

.social-profiles-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(74, 111, 165, 0.35);
    border-color: rgba(255, 255, 255, 0.2);
}

.footer-links h3, .footer-contact h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-contact i {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(58, 134, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 2rem 1rem 0;
}

.legal-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.legal-links a {
    transition: var(--transition);
}

.legal-links a:hover {
    color: var(--primary-color);
}

/* About Page */
.about-hero, .services-hero, .projects-hero, .request-hero, .contact-hero, .policy-hero, .terms-hero {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 1rem 4rem;
    width: 100%;
}

.about-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.download-cv-btn {
    margin-top: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem 5rem;
    display: flex;
    gap: 3rem;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.about-image {
    flex: 1;
    min-width: 300px;
    border-radius: 16px;
    overflow: hidden;
    max-width: 100%;
    border: 1px solid rgba(58, 134, 255, 0.1);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text {
    flex: 1;
    width: 100%;
}

.about-bio {
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(58, 134, 255, 0.05);
    border-left: 3px solid var(--primary-color);
    border-radius: 0 8px 8px 0;
}

.personal-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.info-item {
    display: flex;
    gap: 0.5rem;
}

.info-item span {
    font-weight: 600;
    color: var(--primary-color);
}

.about-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.skills-section {
    padding: 0 1rem 5rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    width: 100%;
    padding: 0 1rem;
}

.skills-category {
    padding: 1.5rem;
    width: 100%;
    border: 1px solid rgba(58, 134, 255, 0.1);
}

.skills-category h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.skills-category h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

.skills-category li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skills-category i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.experience-section {
    padding: 0 1rem 5rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    padding: 0 1rem;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 25px;
    height: 100%;
    width: 2px;
    background: rgba(58, 134, 255, 0.2);
}

.timeline-item {
    display: flex;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
    font-size: 1.25rem;
}

.timeline-content {
    flex: 1;
    width: calc(100% - 66px);
}

/* Services Page */
.services-section {
    padding: 0 1rem 5rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.service-detail {
    display: flex;
    gap: 3rem;
    align-items: center;
    margin-bottom: 5rem;
    width: 100%;
    padding: 0 1rem;
}

.service-detail.reverse {
    flex-direction: row-reverse;
}

.service-info {
    flex: 1;
    width: 100%;
}

.service-image {
    flex: 1;
    min-width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    border: 1px solid rgba(58, 134, 255, 0.1);
}

.service-main-icon {
    font-size: 8rem;
    color: var(--primary-color);
    opacity: 0.2;
}

.service-features {
    margin: 1.5rem 0;
}

.service-features li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.service-features i {
    color: var(--primary-color);
    margin-top: 0.2rem;
}

.service-process {
    padding: 0 1rem 5rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    width: 100%;
    padding: 0 1rem;
}

.process-step {
    padding: 1.5rem;
    text-align: center;
    width: 100%;
    border: 1px solid rgba(58, 134, 255, 0.1);
}

.step-number {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: #ffffff;
    border-radius: 50%;
    font-weight: 700;
}

.process-step h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.process-step p {
    font-size: 0.9rem;
    color: rgba(226, 226, 226, 0.7);
}

/* Projects Page */
.projects-filter {
    padding: 0 1rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.filter-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    padding: 0 1rem;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    background: transparent;
    border: 1px solid rgba(58, 134, 255, 0.2);
    color: var(--light-color);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

.projects-grid {
    padding: 0 1rem 5rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.project-testimonials {
    padding: 0 1rem 5rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Request Page */
.request-form-section {
    padding: 0 1rem 5rem;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.form-progress {
    padding: 1.5rem;
    margin-bottom: 2rem;
    width: 100%;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    flex-wrap: wrap;
    gap: 1rem;
    width: 100%;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(58, 134, 255, 0.2);
    z-index: -1;
    display: none;
}

.progress-steps::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    width: 25%;
    height: 2px;
    background: var(--primary-color);
    z-index: -1;
    transition: var(--transition);
    display: none;
}

.progress-steps[data-step="2"]::after {
    width: 50%;
}

.progress-steps[data-step="3"]::after {
    width: 75%;
}

.progress-steps[data-step="4"]::after, 
.progress-steps[data-step="5"]::after {
    width: 100%;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 80px;
}

.step-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(58, 134, 255, 0.1);
    border-radius: 50%;
    font-weight: 700;
    transition: var(--transition);
    border: 1px solid rgba(58, 134, 255, 0.2);
}

.step.active .step-number {
    background: var(--primary-color);
    color: #ffffff;
}

.step-label {
    font-size: 0.8rem;
    color: rgba(226, 226, 226, 0.7);
    transition: var(--transition);
    text-align: center;
}

.step.active .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

#serviceRequestForm {
    padding: 2rem 1rem;
    width: 100%;
}

.form-step {
    display: none;
    width: 100%;
}

.form-step.active {
    display: block;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input, 
.form-group textarea, 
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(58, 134, 255, 0.05);
    border: 1px solid rgba(58, 134, 255, 0.2);
    border-radius: 8px;
    color: var(--light-color);
    font-family: inherit;
    transition: var(--transition);
    box-sizing: border-box;
}

.form-group input:focus, 
.form-group textarea:focus, 
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(58, 134, 255, 0.2);
}

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

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
    width: 100%;
}

.service-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
    width: 100%;
}

.service-option {
    padding: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(58, 134, 255, 0.1);
}

.service-option input {
    display: none;
}

.service-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    cursor: pointer;
    width: 100%;
}

.service-option i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.service-option h3 {
    font-size: 1.1rem;
}

.service-option p {
    font-size: 0.9rem;
    color: rgba(226, 226, 226, 0.7);
}

.service-option input:checked + label {
    color: var(--primary-color);
}

.service-option input:checked ~ .glass-card {
    border-color: var(--primary-color);
    background: rgba(58, 134, 255, 0.1);
}

.file-upload {
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    margin-bottom: 1rem;
    width: 100%;
    border: 2px dashed rgba(58, 134, 255, 0.3);
    border-radius: 16px;
    transition: var(--transition);
}

.file-upload:hover {
    border-color: var(--primary-color);
    background: rgba(58, 134, 255, 0.05);
}

.file-upload input {
    display: none;
}

.file-upload i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.file-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 100%;
}

.file-preview-item {
    background: rgba(58, 134, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(58, 134, 255, 0.2);
}

.file-preview-item i {
    cursor: pointer;
    color: var(--primary-color);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

.checkbox-group input {
    width: auto;
}

.checkbox-group label {
    margin-bottom: 0;
}

.summary-card {
    padding: 1.5rem;
    margin-bottom: 2rem;
    width: 100%;
    border: 1px solid rgba(58, 134, 255, 0.1);
}

.summary-group {
    margin-bottom: 1.5rem;
    width: 100%;
}

.summary-group h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.summary-group p, .summary-group ul {
    margin-left: 1rem;
}

.summary-group ul {
    list-style-type: disc;
    padding-left: 1rem;
}

/* أنماط بطاقة الدفع الخفيفة */
.payment-section {
    max-width: 320px;
    margin: 30px auto;
    padding: 0 15px;
}

.payment-card {
    padding: 1.5rem;
    text-align: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
    backdrop-filter: blur(5px);
}

.payment-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.payment-icon {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.payment-card h2 {
    margin: 0 0 0.5rem;
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
}

.payment-desc {
    color: rgba(226, 226, 226, 0.6);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.payment-btn {
    display: block;
    padding: 0.7rem;
    font-size: 0.9rem;
    border-radius: 8px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    font-weight: 500;
}

.payment-btn:hover {
    background: #3a7be0;
    transform: translateY(-1px);
}

.payment-footer {
    font-size: 0.7rem;
    color: rgba(226, 226, 226, 0.4);
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* تصميم مختلف تماماً - أسلوب الخطوط */
.payment-card {
    position: relative;
    overflow: hidden;
}

.payment-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #00ff88, #00a1ff);
    background-size: 200% 100%;
    animation: gradientFlow 3s ease infinite;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* التبسيط للهواتف */
@media (max-width: 480px) {
    .payment-section {
        padding: 0 10px;
    }
    
    .payment-card {
        padding: 1.2rem;
    }
    
    .payment-icon {
        font-size: 1.5rem;
    }
    
    .payment-card h2 {
        font-size: 1.2rem;
    }
    
    .payment-btn {
        padding: 0.6rem;
    }
}

.form-success {
    padding: 3rem 1rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 5rem;
    width: 100%;
}

.success-icon {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Contact Page */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
    padding: 0 1rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.contact-card {
    padding: 2rem;
    text-align: center;
    width: 100%;
    border: 1px solid rgba(58, 134, 255, 0.1);
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(58, 134, 255, 0.1);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--primary-color);
    border: 1px solid rgba(58, 134, 255, 0.2);
}

.contact-form-section {
    padding: 0 1rem 5rem;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.form-container {
    padding: 2rem 1rem;
    width: 100%;
}

.social-section {
    padding: 0 1rem 5rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    width: 100%;
    padding: 0 1rem;
}

.social-card {
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
    width: 100%;
    border: 1px solid rgba(58, 134, 255, 0.1);
}

.social-card:hover {
    transform: translateY(-5px);
    background: rgba(58, 134, 255, 0.1);
    border: 1px solid rgba(58, 134, 255, 0.2);
}

.social-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* 404 Page Styles */
.error-section {
    min-height: 100vh;
    padding: 10rem 1rem 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
}

.error-content {
    padding: 3rem;
    text-align: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.animation-container {
    margin: 0 auto 2rem;
    max-width: 400px;
    border-radius: 16px;
    overflow: hidden;
}

.animation-container dotlottie-player {
    border-radius: 16px;
    overflow: hidden;
    transform: scale(1.05);
}

.error-description {
    font-size: 1.1rem;
    color: rgba(226, 226, 226, 0.8);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.error-actions .btn-primary,
.error-actions .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
}

.quick-links {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid rgba(58, 134, 255, 0.1);
    border-bottom: 1px solid rgba(58, 134, 255, 0.1);
}

.quick-links h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.quick-link {
    padding: 0.75rem 1rem;
    background: rgba(58, 134, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: var(--transition);
    font-size: 0.95rem;
    border: 1px solid rgba(58, 134, 255, 0.2);
}

.quick-link:hover {
    background: rgba(58, 134, 255, 0.2);
    transform: translateY(-3px);
}

.quick-link i {
    color: var(--primary-color);
}

.social-contact {
    margin-top: 2rem;
}

.social-contact h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-icons a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(58, 134, 255, 0.1);
    border-radius: 50%;
    font-size: 1.25rem;
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(58, 134, 255, 0.2);
}

.social-icons a:hover {
    background: var(--primary-color);
    transform: translateY(-5px) scale(1.1);
    color: #ffffff;
}

.social-icons a::after {
    content: attr(title);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    opacity: 0;
    transition: var(--transition);
    white-space: nowrap;
}

.social-icons a:hover::after {
    opacity: 1;
    bottom: -25px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .error-content {
        padding: 2rem 1rem;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .links-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .animation-container {
        max-width: 280px;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
    }
    
    .social-icons a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Policy Pages */
.policy-content, .terms-content {
    padding: 0 1rem 5rem;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.policy-container, .terms-container {
    padding: 2rem 1rem;
    width: 100%;
}

.policy-container h2, .terms-container h2 {
    margin: 2rem 0 1rem;
    color: var(--primary-color);
}

.policy-container h2:first-child, .terms-container h2:first-child {
    margin-top: 0;
}

.policy-container ul, .terms-container ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.policy-container li, .terms-container li {
    margin-bottom: 0.5rem;
    list-style-type: disc;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero {
        padding-top: 8rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .service-detail, .service-detail.reverse {
        flex-direction: column;
    }
    
    .service-image {
        order: -1;
        margin-bottom: 2rem;
    }
}

@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 8rem;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    nav ul {
        display: none;
    }
    
    .progress-steps::before, .progress-steps::after {
        display: none;
    }
    
    .personal-info {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 25px;
    }
    
    .timeline-icon {
        width: 40px;
        height: 40px;
        margin-right: 1rem;
    }
}

@media (max-width: 576px) {
    .hero, .about-hero, .services-hero, .projects-hero, .request-hero, .contact-hero, .policy-hero, .terms-hero {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .service-options {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .legal-links {
        justify-content: center;
    }
}
