/* style.css — تصميم الموقع (مشترك بين النسختين العربية والإنجليزية) */
    :root {
        /* ===== Mstudio brand palette (taken from the logo) ===== */
        --primary: #FC5E03;          /* logo orange        */
        --primary-light: #FF8A2B;    /* bright highlight   */
        --primary-dark: #C24C00;     /* deep shaded orange */
        --primary-deep: #A63E00;     /* darkest orange     */
        --secondary: #1a1a2e;
        --dark: #0f0f1a;
        --darker: #080810;
        --light: #ffffff;
        --gray: #a0a0a0;
        --gray-light: #d0d0d0;
        --gradient: linear-gradient(135deg, #FF8A2B 0%, #FC5E03 55%, #C24C00 100%);
        --gradient-dark: linear-gradient(135deg, #FC5E03 0%, #A63E00 100%);
    }

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

    html {
        scroll-behavior: smooth;
        scroll-padding-top: 120px;
        overflow-x: hidden;
    }

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

    ::-webkit-scrollbar {
        width: 10px;
    }
    ::-webkit-scrollbar-track {
        background: var(--darker);
    }
    ::-webkit-scrollbar-thumb {
        background: var(--primary);
        border-radius: 5px;
    }

    /* ========== NAVIGATION ========== */
    nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        padding: 20px 60px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: rgba(8, 8, 16, 0.85);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(255,255,255,0.05);
        transition: all 0.4s ease;
    }

    nav.scrolled {
        padding: 12px 60px;
        background: rgba(8, 8, 16, 0.98);
        box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    }

    .logo {
        display: flex;
        align-items: center;
        gap: 12px;
        text-decoration: none;
        color: inherit;
    }

    .logo-img {
        height: 62px;
        width: auto;
        display: block;
        transition: transform 0.35s ease, filter 0.35s ease;
        filter: drop-shadow(0 6px 18px rgba(252, 94, 3, 0.25));
    }

    .logo:hover .logo-img {
        transform: translateY(-2px) scale(1.03);
        filter: drop-shadow(0 10px 26px rgba(252, 94, 3, 0.45));
    }

    .logo-text {
        font-size: 30px;
        font-weight: 800;
        background: var(--gradient);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .nav-links {
        display: flex;
        gap: 40px;
        list-style: none;
        align-items: center;
    }

    .nav-links a {
        color: var(--gray-light);
        text-decoration: none;
        font-weight: 600;
        font-size: 15px;
        transition: all 0.3s ease;
        position: relative;
        padding: 8px 0;
    }

    .nav-links a::before {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 0;
        height: 2px;
        background: var(--primary);
        transition: width 0.3s ease;
    }

    .nav-links a:hover {
        color: var(--light);
    }

    .nav-links a:hover::before {
        width: 100%;
    }

    .nav-cta {
        background: var(--gradient) !important;
        color: white !important;
        padding: 12px 28px !important;
        border-radius: 30px !important;
        font-weight: 700 !important;
    }

    .nav-cta::before {
        display: none !important;
    }

    .nav-cta:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(252, 94, 3, 0.4);
    }

    .lang-toggle {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .lang-btn {
        background: transparent;
        border: 2px solid var(--primary);
        color: var(--light);
        padding: 10px 22px;
        border-radius: 25px;
        cursor: pointer;
        font-weight: 600;
        font-size: 13px;
        transition: all 0.3s ease;
    }

    .lang-btn:hover {
        background: var(--primary);
        transform: scale(1.05);
    }

    .mobile-menu {
        display: none;
        font-size: 26px;
        cursor: pointer;
        color: var(--light);
    }

    /* ========== HERO SECTION ========== */
    .hero {
        min-height: 100vh;
        display: flex;
        align-items: center;
        position: relative;
        overflow: hidden;
        background: 
            radial-gradient(ellipse at 70% 20%, rgba(252, 94, 3, 0.12) 0%, transparent 50%),
            radial-gradient(ellipse at 30% 80%, rgba(26, 26, 46, 0.8) 0%, transparent 50%),
            linear-gradient(180deg, var(--darker) 0%, var(--dark) 100%);
        overflow: hidden;
    }

    .hero-container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 60px;
        display: grid;
        grid-template-columns: 1.2fr 0.8fr;
        gap: 80px;
        align-items: center;
    }

    .hero-content {
        position: relative;
        z-index: 10;
    }

    .hero-badge {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background: rgba(252, 94, 3, 0.15);
        border: 1px solid rgba(252, 94, 3, 0.3);
        padding: 10px 22px;
        border-radius: 50px;
        font-size: 14px;
        margin-bottom: 30px;
        color: var(--primary);
        font-weight: 600;
    }

    .hero h1 {
        font-size: 64px;
        font-weight: 800;
        line-height: 1.15;
        margin-bottom: 25px;
    }

    .hero h1 .highlight {
        display: block;
        background: var(--gradient);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .hero-desc {
        font-size: 19px;
        color: var(--gray);
        margin-bottom: 40px;
        line-height: 1.9;
        max-width: 550px;
    }

    .hero-buttons {
        display: flex;
        gap: 20px;
        margin-bottom: 50px;
        flex-wrap: wrap;
    }

    .btn {
        padding: 16px 36px;
        border-radius: 50px;
        font-weight: 700;
        font-size: 15px;
        cursor: pointer;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        text-decoration: none;
        border: none;
    }

    .btn-primary {
        background: var(--gradient);
        color: white;
        box-shadow: 0 10px 35px rgba(252, 94, 3, 0.3);
    }

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 45px rgba(252, 94, 3, 0.5);
    }

    .btn-outline {
        background: transparent;
        color: var(--light);
        border: 2px solid rgba(255,255,255,0.2);
    }

    .btn-outline:hover {
        border-color: var(--primary);
        color: var(--primary);
    }

    .hero-stats {
        display: flex;
        gap: 50px;
    }

    .hero-stat {
        text-align: center;
    }

    .hero-stat-number {
        font-size: 42px;
        font-weight: 800;
        background: var(--gradient);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .hero-stat-label {
        font-size: 14px;
        color: var(--gray);
        margin-top: 5px;
    }

    .hero-visual {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .hero-image-wrapper {
        position: relative;
        width: 100%;
        max-width: 500px;
    }

    .hero-image {
        width: 100%;
        border-radius: 30px;
        box-shadow: 0 30px 80px rgba(0,0,0,0.5);
    }

    .hero-float-card {
        position: absolute;
        background: rgba(26, 26, 46, 0.95);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255,255,255,0.1);
        border-radius: 20px;
        padding: 25px;
        display: flex;
        align-items: center;
        gap: 15px;
        box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    }

    .hero-float-card.card-1 {
        bottom: -30px;
        right: -30px;
    }

    .hero-float-card.card-2 {
        top: 50%;
        left: -40px;
        transform: translateY(-50%);
    }

    .float-card-icon {
        width: 50px;
        height: 50px;
        background: var(--gradient);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
    }

    .float-card-content h4 {
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 3px;
    }

    .float-card-content p {
        font-size: 13px;
        color: var(--gray);
    }

    /* Floating Shapes */
    .floating-shapes {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
        contain: paint;
        pointer-events: none;
    }

    .shape {
        position: absolute;
        border-radius: 50%;
    }

    .shape-1 {
        width: 400px;
        height: 400px;
        background: radial-gradient(circle, rgba(252, 94, 3, 0.1) 0%, transparent 70%);
        top: -100px;
        right: -100px;
    }

    .shape-2 {
        width: 300px;
        height: 300px;
        background: radial-gradient(circle, rgba(252, 94, 3, 0.08) 0%, transparent 70%);
        bottom: 100px;
        left: -100px;
    }

    /* ========== SECTION STYLES ========== */
    .section {
        padding: 120px 60px;
        position: relative;
        scroll-margin-top: 110px;
    }

    .section-bg {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: -1;
    }

    .section-header {
        text-align: center;
        margin-bottom: 70px;
    }

    .section-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: rgba(252, 94, 3, 0.1);
        border: 1px solid rgba(252, 94, 3, 0.2);
        padding: 8px 20px;
        border-radius: 30px;
        font-size: 13px;
        color: var(--primary);
        font-weight: 600;
        margin-bottom: 20px;
    }

    .section-header h2 {
        font-size: 48px;
        font-weight: 800;
        margin-bottom: 20px;
    }

    .section-header p {
        font-size: 18px;
        color: var(--gray);
        max-width: 650px;
        margin: 0 auto;
        line-height: 1.8;
    }

    .section-line {
        width: 60px;
        height: 4px;
        background: var(--gradient);
        margin: 25px auto 0;
        border-radius: 2px;
    }

    /* ========== SERVICES SECTION ========== */
    /* ==================================================================
       ==============  شريط سكرول صور الأعمال (Marquee)  =================
       الصور والسرعة تتعدّل من الـ JavaScript — دوّر على: WORKS_STRIP_SETTINGS
       ================================================================== */
    .works-strip {
        position: relative;
        width: 100%;
        padding: 34px 0 42px;
        background: var(--darker);
        overflow: hidden;
    }
    .works-strip-viewport {
        overflow: hidden;
        width: 100%;
    }
    .works-strip-track {
        display: flex;
        width: max-content;
        gap: var(--strip-gap, 14px);
        animation-name: stripMoveLTR;
        animation-duration: var(--strip-dur, 60s);
        animation-timing-function: linear;
        animation-iteration-count: infinite;
        will-change: transform;
        backface-visibility: hidden;
    }
    .works-strip[dir="rtl"] .works-strip-track { animation-name: stripMoveRTL; }
    .works-strip-item {
        flex: 0 0 auto;
        width: var(--strip-w, 300px);
        height: var(--strip-h, 200px);
        border-radius: 14px;
        overflow: hidden;
        position: relative;
        background: #14141f;
        box-shadow: 0 8px 22px rgba(0, 0, 0, .35);
        transform: translateZ(0);
    }
    .works-strip-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .5s ease, filter .5s ease;
    }
    .works-strip-item:hover img { transform: scale(1.06); filter: brightness(1.1); }
    .works-strip-item::after {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 14px;
        box-shadow: inset 0 0 0 1px rgba(252, 94, 3, .16);
        pointer-events: none;
    }
    .works-strip-cap {
        position: absolute;
        left: 0; right: 0; bottom: 0;
        padding: 30px 12px 10px;
        font: 600 13px/1.4 'Cairo', 'Poppins', sans-serif;
        color: #fff;
        text-align: center;
        background: linear-gradient(0deg, rgba(8, 8, 16, .92) 10%, transparent);
    }
    .works-strip:hover .works-strip-track { animation-play-state: paused; }
    .works-strip.is-nohover:hover .works-strip-track { animation-play-state: running; }
    .works-strip.is-empty { display: none; }
    .works-strip::before,
    .works-strip::after {
        content: '';
        position: absolute;
        top: 0; bottom: 0;
        width: 90px;
        z-index: 3;
        pointer-events: none;
    }
    .works-strip::before { left: 0;  background: linear-gradient(90deg,  var(--darker), transparent); }
    .works-strip::after  { right: 0; background: linear-gradient(270deg, var(--darker), transparent); }

    @keyframes stripMoveLTR { from { transform: translateX(0); }      to { transform: translateX(-50%); } }
    @keyframes stripMoveRTL { from { transform: translateX(0); }      to { transform: translateX(50%);  } }

    @media (max-width: 768px) {
        .works-strip { padding: 22px 0 30px; }
        .works-strip::before, .works-strip::after { width: 36px; }
    }
    @media (prefers-reduced-motion: reduce) {
        .works-strip-track { animation: none; }
        .works-strip-viewport { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    }

    .services-section {
        background: var(--darker);
    }

    .services-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
        max-width: 1300px;
        margin: 0 auto;
    }

    .service-card {
        background: linear-gradient(145deg, rgba(26, 26, 46, 0.6) 0%, rgba(15, 15, 26, 0.8) 100%);
        border: 1px solid rgba(255,255,255,0.06);
        border-radius: 24px;
        padding: 45px 35px;
        text-align: center;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        position: relative;
        overflow: hidden;
    }

    .service-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--gradient);
        transform: scaleX(0);
        transition: transform 0.4s ease;
    }

    .service-card:hover::before {
        transform: scaleX(1);
    }

    .service-card:hover {
        transform: translateY(-12px);
        box-shadow: 0 25px 60px rgba(252, 94, 3, 0.15);
        border-color: rgba(252, 94, 3, 0.3);
    }

    .service-icon {
        width: 85px;
        height: 85px;
        background: var(--gradient);
        border-radius: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 28px;
        font-size: 34px;
        box-shadow: 0 10px 30px rgba(252, 94, 3, 0.3);
        transition: transform 0.3s ease;
    }

    .service-card:hover .service-icon {
        transform: rotate(-5deg) scale(1.05);
    }

    .service-card h3 {
        font-size: 22px;
        font-weight: 700;
        margin-bottom: 15px;
    }

    .service-card p {
        color: var(--gray);
        font-size: 15px;
        line-height: 1.8;
    }

    /* ========== PORTFOLIO SECTION ========== */
    .portfolio-section {
        background: var(--dark);
    }

    .card-player-box {
        position: absolute;
        inset: 0;
        background: #000;
        z-index: 6;
        border-radius: inherit;
        overflow: hidden;
        animation: cardPlay 0.3s ease;
    }

    @keyframes cardPlay {
        from { opacity: 0; transform: scale(0.97); }
        to   { opacity: 1; transform: scale(1); }
    }

    .card-player-box iframe,
    .card-player-box video {
        width: 100%;
        height: 100%;
        border: 0;
        display: block;
        background: #000;
    }

    .card-player-close {
        position: absolute;
        top: 10px;
        inset-inline-start: 10px;
        width: 38px;
        height: 38px;
        border: 0;
        border-radius: 50%;
        background: rgba(252, 94, 3, 0.92);
        color: #fff;
        font-size: 22px;
        line-height: 1;
        cursor: pointer;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .portfolio-empty {
        max-width: 1300px;
        margin: 10px auto 0;
        text-align: center;
        color: var(--gray);
        font-size: 15px;
        padding: 26px 18px;
        border: 1px dashed rgba(252, 94, 3, 0.35);
        border-radius: 18px;
        background: rgba(252, 94, 3, 0.05);
    }

    .portfolio-empty[hidden] {
        display: none;
    }

    .portfolio-tabs {
        display: flex;
        justify-content: center;
        gap: 12px;
        margin-bottom: 60px;
        flex-wrap: wrap;
    }

    .tab-btn {
        background: rgba(255,255,255,0.04);
        border: 1px solid rgba(255,255,255,0.08);
        color: var(--gray);
        padding: 14px 32px;
        border-radius: 50px;
        cursor: pointer;
        font-weight: 600;
        font-size: 14px;
        transition: all 0.3s ease;
    }

    .tab-btn.active,
    .tab-btn:hover {
        background: var(--gradient);
        color: white;
        border-color: transparent;
        box-shadow: 0 8px 25px rgba(252, 94, 3, 0.3);
    }

    .portfolio-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        max-width: 1300px;
        margin: 0 auto;
    }

    .portfolio-item {
        cursor: pointer;
        position: relative;
        border-radius: 24px;
        overflow: hidden;
        cursor: pointer;
        aspect-ratio: 4/3;
        background: var(--secondary);
    }

    .portfolio-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

    .portfolio-item:hover img {
        transform: scale(1.1);
    }

    .portfolio-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.95) 100%);
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding: 35px;
        opacity: 0;
        transition: opacity 0.4s ease;
    }

    .portfolio-item:hover .portfolio-overlay {
        opacity: 1;
    }

    .portfolio-overlay h4 {
        font-size: 22px;
        font-weight: 700;
        margin-bottom: 8px;
        transform: translateY(20px);
        transition: transform 0.4s ease 0.1s;
    }

    .portfolio-item:hover .portfolio-overlay h4 {
        transform: translateY(0);
    }

    .portfolio-overlay p {
        color: var(--gray-light);
        font-size: 14px;
        transform: translateY(20px);
        transition: transform 0.4s ease 0.15s;
    }

    .portfolio-item:hover .portfolio-overlay p {
        transform: translateY(0);
    }

    .play-btn {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0);
        width: 75px;
        height: 75px;
        background: var(--gradient);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 26px;
        color: white;
        box-shadow: 0 10px 40px rgba(252, 94, 3, 0.4);
        transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .portfolio-item:hover .play-btn {
        transform: translate(-50%, -50%) scale(1);
    }

    .portfolio-category {
        position: absolute;
        top: 20px;
        left: 20px;
        background: rgba(0,0,0,0.7);
        backdrop-filter: blur(10px);
        padding: 8px 16px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 600;
        color: var(--primary);
    }

    /* ========== VIDEOS SECTION ========== */
    .videos-section {
        background: var(--darker);
    }

    .videos-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
        gap: 40px;
        max-width: 1300px;
        margin: 0 auto;
    }

    .video-card {
        background: var(--secondary);
        border-radius: 24px;
        overflow: hidden;
        border: 1px solid rgba(255,255,255,0.06);
        transition: all 0.4s ease;
    }

    .video-card:hover {
        transform: translateY(-8px);
        border-color: var(--primary);
        box-shadow: 0 20px 50px rgba(252, 94, 3, 0.15);
    }

    .video-wrapper {
        position: relative;
        padding-bottom: 56.25%;
        background: #000;
    }

    .video-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
    }

    .video-info {
        padding: 28px;
    }

    .video-info h4 {
        font-size: 19px;
        font-weight: 700;
        margin-bottom: 8px;
    }

    .video-info p {
        color: var(--gray);
        font-size: 14px;
    }

    /* ========== STATS SECTION ========== */
    .stats-section {
        background: var(--gradient);
        padding: 100px 60px;
        position: relative;
        overflow: hidden;
    }

    .stats-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    }

    .stats-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 50px;
        max-width: 1200px;
        margin: 0 auto;
        text-align: center;
        position: relative;
    }

    .stat-item {
        padding: 30px;
    }

    .stat-icon {
        font-size: 40px;
        margin-bottom: 15px;
        opacity: 0.9;
    }

    .stat-number {
        font-size: 52px;
        font-weight: 800;
        margin-bottom: 8px;
    }

    .stat-label {
        font-size: 17px;
        opacity: 0.9;
        font-weight: 500;
    }

    /* ========== ABOUT SECTION ========== */
    .about-section {
        background: var(--dark);
    }

    .about-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 100px;
        max-width: 1300px;
        margin: 0 auto;
        align-items: center;
    }

    .about-image {
        position: relative;
    }

    .about-image img {
        width: 100%;
        border-radius: 30px;
        box-shadow: 0 40px 80px rgba(0,0,0,0.4);
    }

    .about-image::before {
        content: '';
        position: absolute;
        top: -25px;
        right: -25px;
        width: 100%;
        height: 100%;
        border: 3px solid var(--primary);
        border-radius: 30px;
        z-index: -1;
        opacity: 0.5;
    }

    .experience-badge {
        position: absolute;
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        background: var(--gradient);
        padding: 25px 40px;
        border-radius: 20px;
        text-align: center;
        box-shadow: 0 15px 40px rgba(252, 94, 3, 0.3);
    }

    .experience-badge .number {
        font-size: 48px;
        font-weight: 800;
    }

    .experience-badge .text {
        font-size: 14px;
        opacity: 0.9;
    }

    .about-content h2 {
        font-size: 44px;
        font-weight: 800;
        margin-bottom: 25px;
        line-height: 1.2;
    }

    .about-content > p {
        color: var(--gray);
        font-size: 17px;
        line-height: 1.9;
        margin-bottom: 20px;
    }

    .about-features {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        margin-top: 35px;
    }

    .feature-item {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 18px 22px;
        background: rgba(255,255,255,0.03);
        border-radius: 14px;
        border: 1px solid rgba(255,255,255,0.05);
        transition: all 0.3s ease;
    }

    .feature-item:hover {
        background: rgba(255,255,255,0.06);
        border-color: var(--primary);
    }

    .feature-item i {
        color: var(--primary);
        font-size: 20px;
    }

    .feature-item span {
        font-weight: 600;
        font-size: 15px;
    }

    /* ========== CONTACT SECTION ========== */
    .contact-section {
        background: var(--darker);
    }

    .contact-grid {
        display: grid;
        grid-template-columns: 1fr 1.2fr;
        gap: 80px;
        max-width: 1300px;
        margin: 0 auto;
    }

    .contact-info {
        padding: 20px 0;
    }

    .contact-info h3 {
        font-size: 38px;
        font-weight: 800;
        margin-bottom: 20px;
    }

    .contact-info > p {
        color: var(--gray);
        font-size: 16px;
        line-height: 1.8;
        margin-bottom: 40px;
    }

    .contact-item {
        display: flex;
        align-items: center;
        gap: 22px;
        margin-bottom: 22px;
        padding: 22px;
        background: rgba(255,255,255,0.02);
        border-radius: 18px;
        border: 1px solid rgba(255,255,255,0.05);
        transition: all 0.3s ease;
    }

    .contact-item:hover {
        background: rgba(255,255,255,0.04);
        border-color: var(--primary);
        transform: translateX(-5px);
    }

    .contact-icon {
        width: 58px;
        height: 58px;
        background: var(--gradient);
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        flex-shrink: 0;
    }

    .contact-details h4 {
        font-size: 17px;
        font-weight: 700;
        margin-bottom: 5px;
    }

    .contact-details p, 
    .contact-details a {
        color: var(--gray);
        font-size: 15px;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .contact-details a:hover {
        color: var(--primary);
    }

    /* Form Styles */
    .form-wrapper {
        background: linear-gradient(145deg, rgba(26, 26, 46, 0.8) 0%, rgba(15, 15, 26, 0.9) 100%);
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 30px;
        padding: 50px;
    }

    .form-header {
        text-align: center;
        margin-bottom: 40px;
    }

    .form-header h3 {
        font-size: 30px;
        font-weight: 800;
        margin-bottom: 10px;
    }

    .form-header p {
        color: var(--gray);
        font-size: 15px;
    }

    .form-group {
        margin-bottom: 25px;
    }

    .form-group label {
        display: block;
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 10px;
        color: var(--gray-light);
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        padding: 16px 22px;
        background: rgba(255,255,255,0.04);
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 14px;
        color: var(--light);
        font-size: 15px;
        font-family: inherit;
        transition: all 0.3s ease;
    }

    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        outline: none;
        border-color: var(--primary);
        background: rgba(255,255,255,0.08);
    }

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

    .form-group select option {
        background: var(--dark);
        color: var(--light);
    }

    .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 22px;
    }

    .submit-btn {
        width: 100%;
        padding: 18px;
        background: var(--gradient);
        color: white;
        border: none;
        border-radius: 14px;
        font-size: 17px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        box-shadow: 0 10px 30px rgba(252, 94, 3, 0.25);
    }

    .submit-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 40px rgba(252, 94, 3, 0.4);
    }

    .submit-btn:active {
        transform: translateY(0);
    }

    /* Success Message */
    .success-message {
        display: none;
        text-align: center;
        padding: 40px;
        background: rgba(34, 197, 94, 0.1);
        border: 1px solid rgba(34, 197, 94, 0.3);
        border-radius: 20px;
        margin-top: 25px;
    }

    .success-message.show {
        display: block;
        animation: fadeIn 0.5s ease;
    }

    .success-message i {
        font-size: 56px;
        color: #22c55e;
        margin-bottom: 18px;
    }

    .success-message h4 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .success-message p {
        color: var(--gray);
    }

    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }

    /* ========== YOUTUBE SECTION ========== */
    .youtube-section {
        background: var(--dark);
    }

    .youtube-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
        max-width: 1300px;
        margin: 0 auto;
    }

    .youtube-channel {
        background: linear-gradient(145deg, rgba(26,26,46,0.8) 0%, rgba(15,15,26,0.9) 100%);
        border: 1px solid rgba(255,255,255,0.06);
        border-radius: 24px;
        padding: 45px 35px;
        text-align: center;
        transition: all 0.4s ease;
    }

    .youtube-channel:hover {
        transform: translateY(-10px);
        border-color: #FC5E03;
        box-shadow: 0 20px 50px rgba(252,94,3,0.15);
    }

    .channel-icon {
        width: 110px;
        height: 110px;
        background: linear-gradient(135deg, #FC5E03 0%, #C24C00 100%);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 28px;
        font-size: 46px;
        box-shadow: 0 10px 35px rgba(252,94,3,0.3);
    }

    .channel-name {
        font-size: 24px;
        font-weight: 700;
        margin-bottom: 12px;
    }

    .channel-desc {
        color: var(--gray);
        margin-bottom: 28px;
        font-size: 15px;
        line-height: 1.7;
    }

    .subscribe-btn {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background: #FC5E03;
        color: white;
        padding: 14px 32px;
        border-radius: 50px;
        text-decoration: none;
        font-weight: 700;
        font-size: 15px;
        transition: all 0.3s ease;
    }

    .subscribe-btn:hover {
        background: #C24C00;
        transform: scale(1.05);
        box-shadow: 0 10px 30px rgba(252,94,3,0.3);
    }

    /* ========== MOBILE NAV PANEL ========== */
    @media (max-width: 768px) {
        .nav-links.mobile-open {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 6px;
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            padding: 14px 22px 22px;
            background: rgba(8, 8, 16, 0.99);
            border-bottom: 1px solid rgba(252, 94, 3, 0.25);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
        }

        .nav-links.mobile-open li {
            width: 100%;
        }

        .nav-links.mobile-open a {
            display: block;
            width: 100%;
            padding: 12px 8px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

        .nav-links.mobile-open a.nav-cta {
            text-align: center;
            border-bottom: 0;
            margin-top: 8px;
        }
    }

    /* ========== CHANNELS: media (icon / image / video by link) ========== */
    .channel-media {
        width: 110px;
        height: 110px;
        margin: 0 auto 28px;
        border-radius: 50%;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #FC5E03 0%, #C24C00 100%);
        box-shadow: 0 10px 35px rgba(252, 94, 3, 0.3);
    }

    .channel-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .channel-media iframe,
    .channel-media video {
        width: 100%;
        height: 100%;
        border: 0;
        display: block;
    }

    .channel-media.wide {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        border-radius: 18px;
        background: #000;
    }

    .channel-media.wide img {
        object-fit: cover;
    }

    .channel-link {
        text-decoration: none;
        color: inherit;
        display: block;
    }

    /* ========== NEWSLETTER SUCCESS ========== */
    .newsletter-success {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        margin-top: 8px;
        padding: 16px 24px;
        border-radius: 50px;
        background: rgba(252, 94, 3, 0.14);
        border: 1px solid rgba(252, 94, 3, 0.4);
        color: var(--primary-light);
        font-weight: 700;
        font-size: 15px;
        animation: nlPop 0.45s ease;
    }

    .newsletter-success[hidden] {
        display: none;
    }

    @keyframes nlPop {
        from { opacity: 0; transform: translateY(12px) scale(0.96); }
        to   { opacity: 1; transform: translateY(0) scale(1); }
    }

    /* ========== CONTACT: MEDIA SLOT (icon / image / video / link) ========== */
    .contact-media {
        width: 58px;
        height: 58px;
        flex: 0 0 58px;
        border-radius: 16px;
        overflow: hidden;
        background: var(--gradient);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        color: #fff;
        position: relative;
        text-decoration: none;
    }

    .contact-media.circle {
        border-radius: 50%;
    }

    .contact-media.media-embed,
    .contact-media.media-video {
        width: 190px;
        height: 114px;
        flex: 0 0 190px;
        border-radius: 16px;
        background: #000;
    }

    .contact-media img,
    .contact-media video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .contact-media iframe {
        width: 100%;
        height: 100%;
        border: 0;
    }

    .contact-media .play-badge {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(8, 8, 16, 0.35);
        color: #fff;
        font-size: 26px;
        transition: background 0.3s ease;
    }

    .contact-media:hover .play-badge {
        background: rgba(252, 94, 3, 0.35);
    }

    .contact-media.media-link {
        font-size: 11.5px;
        font-weight: 800;
        gap: 6px;
        flex-direction: column;
        padding: 6px;
        text-align: center;
    }

    .contact-media.media-link i {
        font-size: 20px;
    }

    .contact-details {
        min-width: 0;
    }

    .contact-details .contact-value {
        display: block;
        word-break: break-word;
    }

    /* أكثر من رقم في نفس المربع — تحت بعض */
    .contact-values {
        display: flex;
        flex-direction: column;
        gap: 7px;
        align-items: flex-start;
    }

    .contact-values .contact-value {
        display: inline-block;
        padding: 3px 0;
    }

    a.contact-item {
        text-decoration: none;
        color: inherit;
    }

    .contact-details a.contact-value {
        color: var(--gray);
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .contact-details a.contact-value:hover {
        color: var(--primary);
    }

    /* ========== CONTACT: COMPACT WHATSAPP QR CARD ========== */
    .wa-card {
        margin-top: 30px;
        background: linear-gradient(145deg, rgba(26, 26, 46, 0.85) 0%, rgba(15, 15, 26, 0.95) 100%);
        border: 1px solid rgba(252, 94, 3, 0.28);
        border-radius: 24px;
        overflow: hidden;
        transition: all 0.35s ease;
    }

    .wa-card:hover {
        border-color: var(--primary);
        box-shadow: 0 18px 45px rgba(252, 94, 3, 0.18);
    }

    .wa-card-main {
        display: flex;
        align-items: center;
        gap: 20px;
        padding: 18px;
        text-decoration: none;
        color: inherit;              /* عشان ما ياخدش أزرق اللينكات */
        transition: background 0.35s ease;
    }

    .wa-card-main:hover {
        background: rgba(252, 94, 3, 0.06);
    }

    .wa-qr {
        flex: 0 0 140px;
        width: 140px;
        padding: 9px;
        background: #fff;
        border-radius: 18px;
        box-shadow: 0 10px 26px rgba(252, 94, 3, 0.22);
    }

    .wa-qr img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 6px;
        image-rendering: pixelated;
    }

    .wa-info {
        display: flex;
        flex-direction: column;
        gap: 7px;
        min-width: 0;
    }

    .wa-tag {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        align-self: flex-start;
        padding: 5px 13px;
        border-radius: 50px;
        background: rgba(252, 94, 3, 0.12);
        border: 1px solid rgba(252, 94, 3, 0.28);
        color: var(--primary-light);
        font-size: 12.5px;
        font-weight: 700;
    }

    .wa-info h4 {
        font-size: 19px;
        font-weight: 800;
        color: var(--light);         /* أبيض */
    }

    .wa-info p {
        color: var(--gray);
        font-size: 13.5px;
        line-height: 1.65;
    }

    .wa-num {
        font-size: 16.5px;
        font-weight: 800;
        color: var(--light);
        direction: ltr;
        unicode-bidi: embed;
        text-align: start;
    }

    .wa-foot {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 11px 16px;
        background: rgba(252, 94, 3, 0.12);
        border-top: 1px solid rgba(252, 94, 3, 0.2);
        color: var(--primary-light);
        font-size: 12.5px;
        font-weight: 700;
        flex-wrap: wrap;
    }

    .wa-dot {
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: var(--primary);
    }

    /* ========== LIGHTBOX (video links / images) ========== */
    .lightbox {
        position: fixed;
        inset: 0;
        z-index: 2500;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 28px;
        background: rgba(5, 5, 10, 0.94);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .lightbox.active {
        opacity: 1;
        visibility: visible;
    }

    .lightbox-close {
        position: absolute;
        top: 22px;
        inset-inline-start: 22px;
        width: 46px;
        height: 46px;
        border: 0;
        border-radius: 50%;
        background: var(--gradient);
        color: #fff;
        font-size: 18px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .lightbox video,
    .lightbox iframe {
        width: min(calc(100vw - 56px), calc((100vh - 140px) * 16 / 9), 1800px);
        aspect-ratio: 16 / 9;
        border: 0;
        border-radius: 18px;
        background: #000;
    }

    .lightbox img {
        max-width: min(100%, 900px);
        max-height: 85vh;
        border-radius: 18px;
    }

    /* ========== NEWSLETTER SECTION ========== */
    .newsletter-section {
        background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
        border-top: 1px solid rgba(255,255,255,0.05);
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .newsletter-content {
        max-width: 700px;
        margin: 0 auto;
        text-align: center;
    }

    .newsletter-icon {
        width: 90px;
        height: 90px;
        background: var(--gradient);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 30px;
        font-size: 36px;
    }

    .newsletter-content h3 {
        font-size: 36px;
        font-weight: 800;
        margin-bottom: 15px;
    }

    .newsletter-content > p {
        color: var(--gray);
        font-size: 17px;
        line-height: 1.8;
        margin-bottom: 40px;
    }

    .newsletter-form {
        display: flex;
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .newsletter-form input {
        flex: 1;
        min-width: 280px;
        padding: 18px 28px;
        background: rgba(255,255,255,0.06);
        border: 1px solid rgba(255,255,255,0.1);
        border-radius: 50px;
        color: var(--light);
        font-size: 16px;
        font-family: inherit;
    }

    .newsletter-form input::placeholder {
        color: var(--gray);
    }

    .newsletter-form input:focus {
        outline: none;
        border-color: var(--primary);
    }

    .newsletter-form button {
        padding: 18px 38px;
        background: var(--gradient);
        color: white;
        border: none;
        border-radius: 50px;
        font-size: 16px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .newsletter-form button:hover {
        transform: scale(1.05);
        box-shadow: 0 10px 35px rgba(252, 94, 3, 0.35);
    }

    .newsletter-note {
        margin-top: 22px;
        font-size: 13px;
        color: var(--gray);
    }

    /* ========== FOOTER ========== */
    .footer-logo {
        height: 74px;
        width: auto;
        display: block;
        margin-bottom: 18px;
    }

    footer {
        background: var(--darker);
        padding: 90px 60px 40px;
        border-top: 1px solid rgba(255,255,255,0.05);
    }

    .footer-grid {
        display: grid;
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 60px;
        max-width: 1300px;
        margin: 0 auto 60px;
    }

    .footer-brand h3 {
        font-size: 34px;
        font-weight: 800;
        margin-bottom: 22px;
        background: var(--gradient);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .footer-brand p {
        color: var(--gray);
        font-size: 15px;
        line-height: 1.8;
        margin-bottom: 28px;
    }

    .social-links {
        display: flex;
        gap: 12px;
    }

    .social-links a {
        width: 48px;
        height: 48px;
        background: rgba(255,255,255,0.04);
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--light);
        font-size: 20px;
        transition: all 0.3s ease;
    }

    .social-links a:hover {
        background: var(--primary);
        transform: translateY(-4px);
    }

    .footer-col h4 {
        font-size: 19px;
        font-weight: 700;
        margin-bottom: 28px;
        position: relative;
        padding-bottom: 12px;
    }

    .footer-col h4::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 40px;
        height: 3px;
        background: var(--gradient);
        border-radius: 2px;
    }

    .footer-col ul {
        list-style: none;
    }

    .footer-col ul li {
        margin-bottom: 14px;
    }

    .footer-col ul li a {
        color: var(--gray);
        text-decoration: none;
        font-size: 15px;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .footer-col ul li a:hover {
        color: var(--primary);
        transform: translateX(-5px);
    }

    .footer-bottom {
        text-align: center;
        padding-top: 50px;
        margin-top: 50px;
        border-top: 1px solid rgba(255,255,255,0.05);
    }

    .footer-bottom p {
        color: var(--gray);
        font-size: 14px;
    }

    /* ========== SCROLL TO TOP ========== */
    .scroll-top {
        position: fixed;
        bottom: 30px;
        right: 30px;
        width: 55px;
        height: 55px;
        background: var(--gradient);
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
        box-shadow: 0 10px 30px rgba(252, 94, 3, 0.3);
    }

    .scroll-top.visible {
        opacity: 1;
        visibility: visible;
    }

    .scroll-top:hover {
        transform: translateY(-5px);
    }

    /* ========== RESPONSIVE ========== */
    @media (max-width: 1200px) {
        .hero-container {
            grid-template-columns: 1fr;
            text-align: center;
        }

        .hero-visual {
            display: none;
        }

        .hero-desc {
            margin: 0 auto 40px;
        }

        .hero-buttons {
            justify-content: center;
        }

        .hero-stats {
            justify-content: center;
        }

        .services-grid {
            grid-template-columns: repeat(2, 1fr);
        }

        .portfolio-grid {
            grid-template-columns: repeat(2, 1fr);
        }

        .youtube-grid {
            grid-template-columns: repeat(2, 1fr);
        }

        .about-grid {
            grid-template-columns: 1fr;
            gap: 60px;
        }

        .about-image {
            max-width: 500px;
            margin: 0 auto;
        }

        .contact-grid {
            grid-template-columns: 1fr;
            gap: 50px;
        }

        .footer-grid {
            grid-template-columns: 1fr 1fr;
        }
    }

    @media (max-width: 768px) {
        nav {
            padding: 15px 25px;
        }

        .nav-links {
            display: none;
        }

        .mobile-menu {
            display: block;
        }

        .section {
            padding: 80px 25px;
        }

        .logo-img {
            height: 48px;
        }

        .footer-logo {
            height: 60px;
        }

        .wa-card-main {
            flex-direction: column;
            text-align: center;
            gap: 16px;
        }

        .wa-qr {
            flex: 0 0 128px;
            width: 128px;
        }

        .wa-info {
            align-items: center;
        }

        .wa-tag {
            align-self: center;
        }

        .contact-media.media-embed,
        .contact-media.media-video {
            width: 150px;
            height: 90px;
            flex: 0 0 150px;
        }

        .hero {
            min-height: auto;
            padding: 140px 0 80px;
        }

        .hero h1 {
            font-size: 40px;
        }

        .hero-desc {
            font-size: 16px;
        }

        .hero-stats {
            flex-wrap: wrap;
            gap: 30px;
        }

        .hero-stat-number {
            font-size: 34px;
        }

        .section-header h2 {
            font-size: 32px;
        }

        .services-grid,
        .portfolio-grid,
        .youtube-grid,
        .videos-grid {
            grid-template-columns: 1fr;
        }

        .form-row {
            grid-template-columns: 1fr;
        }

        .footer-grid {
            grid-template-columns: 1fr;
            gap: 40px;
        }

        .stats-grid {
            grid-template-columns: 1fr 1fr;
            gap: 30px;
        }

        .stat-number {
            font-size: 40px;
        }

        .newsletter-form {
            flex-direction: column;
        }

        .newsletter-form input,
        .newsletter-form button {
            width: 100%;
        }

        .about-features {
            grid-template-columns: 1fr;
        }

        .form-wrapper {
            padding: 35px 25px;
        }
    }

    /* ========== شاشات صغيرة جدًا (موبايلات ضيقة) ========== */
    @media (max-width: 480px) {
        .footer-grid {
            grid-template-columns: 1fr;
            gap: 34px;
        }

        .stats-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 24px;
        }

        .stat-item {
            padding: 14px 6px;
        }

        .hero-stats {
            gap: 22px;
        }

        .section {
            padding: 70px 18px;
        }

        nav {
            padding: 12px 16px;
        }

        .wa-card-main {
            padding: 16px 12px;
        }

        .newsletter-form {
            flex-direction: column;
            gap: 12px;
        }
    }
a.lang-btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}

