    :root {
        --primary-color: #6c2bd9;
        --secondary-color: #00f5ff;
        --neon-color: #00f5ff;
        --text-color: #e0e0e0;
        --bg-dark: #181828;
    }

    body {
        background: var(--bg-dark);
        color: var(--text-color);
    }

    .hero-section {
        position: relative;
        min-height: 100vh;
        perspective: 1000px;
        overflow: hidden;
        display: flex;
        align-items: center;
        background: linear-gradient(120deg, #181828 60%, #23234a 100%);
    }

    .hero-section::before {
        content: '';
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        /* سيتم تعيين الخلفية ديناميكياً عبر جافاسكريبت لتبديل الصور كل ثلاث ثواني */
        background: url('/img/bird2.jpg') center/cover;
        opacity: 0.14;
        z-index: 0;
    }

    .hero-content {
        position: relative;
        z-index: 2;
        transform-style: preserve-3d;
        animation: float 6s ease-in-out infinite;
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .hero-title {
        font-size: 3.2rem;
        font-weight: 800;
        margin-bottom: 1.2rem;
        background: linear-gradient(to right, var(--neon-color), #FF00FF, var(--primary-color));
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: gradientFlow 8s linear infinite;
        letter-spacing: 1px;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.25rem;
        margin-bottom: 2rem;
        color: var(--text-color);
        opacity: 0.85;
        line-height: 1.7;
    }

    .d-flex.gap-3 > * {
        margin-inline-end: 1rem;
    }

    .typing-effect {
        margin-top: 2rem;
        font-size: 1.2rem;
        color: var(--neon-color);
        font-weight: 600;
        min-height: 32px;
        letter-spacing: 1px;
        text-shadow: 0 0 8px #00f5ff44;
    }

    .floating-shapes div {
        position: absolute;
        border-radius: 50%;
        filter: blur(60px);
        z-index: 1;
        opacity: 0.12;
        pointer-events: none;
    }
    .shape1 { top: 18%; left: 8%; width: 220px; height: 220px; background: var(--primary-color);}
    .shape2 { top: 65%; right: 8%; width: 140px; height: 140px; background: var(--neon-color);}
    .shape3 { bottom: 8%; left: 32%; width: 180px; height: 180px; background: var(--secondary-color);}

    /* Services */
    .services-section {
        background: #1a1a2e;
        border-radius: 24px;
        box-shadow: 0 4px 32px 0 #0000000d;
        padding: 3rem 2rem;
        margin-bottom: 3rem;
    }
    .neon-text {
        color: var(--neon-color);
        text-shadow: 0 0 8px #00f5ff99, 0 0 2px #fff;
        font-weight: 700;
        letter-spacing: 1px;
    }
    .service-card {
        position: relative;
        background: rgba(26, 26, 46, 0.92);
        border: 1.5px solid var(--primary-color);
        border-radius: 18px;
        padding: 2.2rem 1.5rem 1.5rem 1.5rem;
        box-shadow: 0 2px 16px 0 #6c2bd91a;
        text-align: center;
        min-height: 320px;
        display: flex;
        flex-direction: column;
        align-items: center;
        transition: all 0.4s cubic-bezier(.4,0,.2,1);
    }
    .service-card:hover {
        transform: translateY(-12px) scale(1.03);
        box-shadow: 0 8px 32px 0 #00f5ff33, 0 2px 16px 0 #6c2bd91a;
        border-color: var(--neon-color);
    }
    .service-icon {
        font-size: 3rem;
        margin-bottom: 1.2rem;
        color: var(--neon-color);
        animation: iconFloat 3s ease-in-out infinite;
        filter: drop-shadow(0 0 8px #00f5ff55);
    }
    .service-card h3 {
        font-weight: 700;
        color: #fff;
        margin-bottom: 0.8rem;
    }
    .service-card p {
        color: #bdbdbd;
        font-size: 1.05rem;
        line-height: 1.6;
    }

    @keyframes iconFloat {
        0%, 100% { transform: translateY(0) rotateY(0); }
        50% { transform: translateY(-10px) rotateY(180deg); }
    }

    /* Stats */
    .stats-section {
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
        padding: 4rem 0 3.5rem 0;
        border-radius: 24px;
        margin-bottom: 3rem;
        box-shadow: 0 2px 24px 0 #00f5ff22;
    }
    .stat-item {
        text-align: center;
        color: #fff;
        padding: 1.5rem 0;
        border-radius: 16px;
        background: rgba(0,0,0,0.08);
        box-shadow: 0 1px 8px 0 #0000000d;
    }
    .stat-number {
        font-size: 2.5rem;
        font-weight: 800;
        margin-bottom: 0.5rem;
        color: var(--neon-color);
        text-shadow: 0 0 8px #00f5ff44;
    }
    .stat-label {
        font-size: 1.1rem;
        opacity: 0.92;
        font-weight: 500;
        letter-spacing: 0.5px;
    }

    /* Projects */
    .project-card {
        position: relative;
        border-radius: 18px;
        overflow: hidden;
        box-shadow: 0 2px 16px 0 #6c2bd91a;
        margin-bottom: 2rem;
        background: #23234a;
        transition: all 0.4s cubic-bezier(.4,0,.2,1);
    }
    .project-card img {
        width: 100%;
        height: 400px;
        object-fit: cover;
        display: block;
        border-radius: 18px 18px 0 0;
        transition: transform 0.4s cubic-bezier(.4,0,.2,1);
    }
    .project-card:hover img {
        transform: scale(1.05);
        filter: brightness(0.95) blur(1px);
    }
    .project-overlay {
        position: absolute;
        left: 0; right: 0; bottom: 0;
        padding: 1.2rem 1rem 1rem 1rem;
        background: linear-gradient(to top, rgba(26,26,46,0.97) 80%, rgba(108,43,217,0.5) 100%);
        color: #fff;
        border-radius: 0 0 18px 18px;
        min-height: 80px;
        transition: background 0.3s;
    }
    .project-card h4 {
        font-size: 1.2rem;
        font-weight: 700;
        margin-bottom: 0.3rem;
    }
    .project-card p {
        font-size: 1rem;
        color: #e0e0e0;
        margin-bottom: 0;
    }

    /* CTA */
    .cta-section {
        background: #1a1a2e;
        border-radius: 24px;
        box-shadow: 0 4px 32px 0 #0000000d;
        padding: 3rem 2rem;
        margin-bottom: 2rem;
    }

    /* Buttons */
    .btn-primary {
        background: linear-gradient(90deg, var(--primary-color), var(--neon-color));
        border: none;
        color: #fff;
        font-weight: 700;
        box-shadow: 0 2px 8px 0 #00f5ff33;
        transition: background 0.2s, box-shadow 0.2s;
    }
    .btn-primary:hover, .btn-primary:focus {
        background: linear-gradient(90deg, var(--neon-color), var(--primary-color));
        color: #fff;
        box-shadow: 0 4px 16px 0 #00f5ff55;
    }
    .btn-outline-light {
        border: 2px solid var(--neon-color);
        color: var(--neon-color);
        background: transparent;
        font-weight: 700;
        transition: background 0.2s, color 0.2s;
    }
    .btn-outline-light:hover, .btn-outline-light:focus {
        background: var(--neon-color);
        color: #181828;
    }

    /* Responsive */
    @media (max-width: 991.98px) {
        .hero-title { font-size: 2.2rem; }
        .hero-content { padding-top: 2rem; padding-bottom: 2rem; }
        .service-card { min-height: 260px; }
        .project-card img { height: 280px; }
    }
    @media (max-width: 767.98px) {
        .hero-section { min-height: 70vh; }
        .hero-title { font-size: 1.5rem; }
        .service-card { padding: 1.2rem 0.7rem; }
        .project-card img { height: 180px; }
        .stats-section { padding: 2rem 0 1.5rem 0; }
    }

    @keyframes float {
        0%, 100% { transform: translateY(0px); }
        50% { transform: translateY(-18px); }
    }
    @keyframes gradientFlow {
        0% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
        100% { background-position: 0% 50%; }
    }
