/* --- 1. GLOBAL & ROOT --- */
:root {
    --bg-color: #050505;
    /* Deep Black */
    --text-primary: #fffde3;
    /* Off-White/Silver */
    --text-secondary: #888888;
    /* Dim Grey */
    --accent-color: #831816;
    /* THE SOUL (Deep Crimson) */
    --font-headline: 'Playfair Display', serif;
    --font-body: 'Manrope', sans-serif;
    --sidebar-width: 80px;
    --easing: cubic-bezier(0.16, 1, 0.3, 1);
    --easing-smooth: cubic-bezier(0.65, 0, 0.35, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
}

/* body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow: hidden; 
    height: 100vh;
} */

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    min-height: 100vh;
    height: auto;
}

body.hovering .cursor-circle {

    width: 60px;
    height: 60px;
    background-color: rgba(132, 24, 22, 0.1);
    border-color: var(--accent-color);
}

/* --- 2. VISUAL FX (Noise Overlay) --- */
/* .noise-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 999;
    opacity: 0.07; 
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='1'/%3E%3C/svg%3E");
} */

/* --- 3. CUSTOM CURSOR --- */
.cursor-dot,
.cursor-circle {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
}

.cursor-circle {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: width 0.3s var(--easing), height 0.3s var(--easing), background-color 0.3s;
}

/* --- 4. SIDEBAR NAVIGATION --- */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    z-index: 100;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(5, 5, 5, 0.4);
    backdrop-filter: blur(15px);
    transition: border-color 0.5s ease;
}

.sidebar:hover {
    border-right: 1px solid rgba(132, 24, 22, 0.3);
}

.menu-trigger {
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    transition: transform 0.3s var(--easing);
}

.menu-trigger span {
    display: block;
    width: 24px;
    height: 1px;
    background-color: #fff;
    transition: all 0.3s;
}

.menu-trigger:hover span:nth-child(2) {
    width: 14px;
    margin-right: 10px;
    background-color: var(--accent-color);
}

/* Hamburger Animation (X Shape) */
.menu-trigger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background-color: var(--accent-color);
}

.menu-trigger.open span:nth-child(2) {
    opacity: 0;
}

.menu-trigger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background-color: var(--accent-color);
}

/* --- تعديل اللوجو عشان يكون Vertical --- */
.brand-logo {
    display: flex;
    flex-direction: column-reverse;
    /* عشان النقطة الحمرا والصورة يكونوا فوق بعض */
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.brand-logo img {
    transform: rotate(-90deg);
}

.brand-logo::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    background-color: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-color);
    animation: pulse 2s infinite;
}

.timecode {
    font-family: monospace;
    font-size: 12px;
    color: var(--text-secondary);
    letter-spacing: 1px;
    writing-mode: vertical-rl;
    opacity: 0.5;
}

/* --- 5. MENU OVERLAY --- */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(5, 5, 5, 0.98);
    z-index: 95;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-100%);
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1),
        opacity 0.5s linear,
        visibility 0.8s;
}

.menu-overlay.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.menu-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(132, 24, 22, 0.05));
    pointer-events: none;
}

.menu-nav {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-left: var(--sidebar-width);
    width: 698px;
}

.menu-link {
    text-decoration: none;
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
    color: var(--text-primary);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.65, 0, 0.35, 1);
    position: relative;
    /* لضمان عمل الـ after بشكل صحيح */
}

.menu-overlay.active .menu-link {
    opacity: 1;
    transform: translateY(0);
}

.menu-overlay.active .menu-link:nth-child(1) {
    transition-delay: 0.3s;
}

.menu-overlay.active .menu-link:nth-child(2) {
    transition-delay: 0.4s;
}

.menu-overlay.active .menu-link:nth-child(3) {
    transition-delay: 0.5s;
}

.menu-overlay.active .menu-link:nth-child(4) {
    transition-delay: 0.6s;
}

.menu-link .num {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--accent-color);
    font-weight: 500;
}

.menu-link .text {
    font-family: var(--font-headline);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    text-transform: capitalize;
    display: inline-block;
    /* transition: all 0.5s var(--easing-smooth); */
    color: var(--text-primary);
}

.menu-link .sub {
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    opacity: 0.6;
}

.menu-link:hover .text {
    color: var(--accent-color);
    transform: translateX(15px) scale(1.05);
    letter-spacing: 5px;
    font-style: italic;
}

.menu-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 56px;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: width 0.5s var(--easing-smooth);
}

.menu-link:hover::after {
    width: 400px;
}

/* حالة الرابط النشط */
.menu-link.active-link .text {
    color: var(--accent-color);
    font-style: italic;
    transform: translateX(10px);
}

.menu-link.active-link::after {
    width: 300px;
    /* يظل الخط مفروداً */
    background-color: var(--accent-color);
}

/* للموبايل: تعديل عرض الخط النشط */
@media (max-width: 768px) {
    .menu-link.active-link::after {
        width: 200px !important;
    }

    .brand-logo img {
        transform: rotate(0deg);
    }

    .brand-logo {
        flex-direction: row;
        gap: 0px;
    }

    .team-section {
        padding: 120px 5vw 120px 5vw !important;
    }

}

/* --- 6. HERO SECTION --- */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: var(--sidebar-width);
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: grayscale(40%) contrast(1.1);
}

/* .video-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%; 
    z-index: 1; 
    background-color: rgba(0, 0, 0, 0.15);
} */

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: rgba(0, 0, 0, 99%);
    /* 40% شفافية بدل لون أسود صريح */
}


.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1000px;
    padding: 0 20px;
    transition: filter 0.8s cubic-bezier(0.65, 0, 0.35, 1),
        transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
    will-change: filter, transform;
}

.tagline {
    font-family: var(--font-body);
    font-size: 0.9rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    display: block;
    opacity: 0;
    animation: slideUp 1s var(--easing) 0.5s forwards;
}

h1 {
    font-family: var(--font-headline);
    font-size: clamp(3rem, 8vw, 6.5rem);
    line-height: 1.1;
    font-weight: 400;
    margin-bottom: 3rem;
    opacity: 0;
    animation: slideUp 1s var(--easing) 0.8s forwards;
    color: var(--text-primary);
}

h1 span.italic {
    font-style: italic;
    font-weight: 400;
    color: var(--accent-color);
    position: relative;
}

h1 span.italic::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
    opacity: 0.6;
    transform: scaleX(0);
    transform-origin: left;
    animation: expandLine 1s var(--easing) 1.5s forwards;
}

.btn-main {
    display: inline-block;
    position: relative;
    padding: 1.2rem 3.5rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-primary);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    transition: border-color 0.3s;
    opacity: 0;
    animation: slideUp 1s var(--easing) 1.2s forwards;
}

.btn-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--accent-color);
    z-index: -1;
    transition: width 0.4s var(--easing);
}

.btn-main:hover {
    border-color: var(--accent-color);
}

.btn-main:hover::before {
    width: 100%;
}

/* --- 7. ANIMATIONS --- */
@keyframes slideUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes expandLine {
    to {
        transform: scaleX(1);
    }
}

@keyframes pulse {
    0% {
        opacity: 0.4;
        transform: scale(0.9);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
        box-shadow: 0 0 15px var(--accent-color);
    }

    100% {
        opacity: 0.4;
        transform: scale(0.9);
    }
}

/* --- 8. MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: 70px;
        bottom: 0;
        top: auto;
        left: 0;
        flex-direction: row;
        padding: 0 0.5rem;
        border-right: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        background: #050505;
    }

    .brand-logo {
        writing-mode: horizontal-tb;
        transform: none;
    }

    .brand-logo::before {
        margin-right: 10px;
    }

    .hero {
        padding-left: 0;
        padding-bottom: 70px;
    }

    .cursor-dot,
    .cursor-circle {
        display: none;
    }

    * {
        cursor: auto;
    }

    h1 {
        font-size: 3.5rem;
    }

    .menu-nav {
        padding-left: 20px !important;
    }

    .menu-link .text {
        font-size: 30px !important;
    }

    .menu-link:hover::after {
        width: 200px !important;
    }

    .timecode {
        transform: scale(0.9);
        font-size: 10px;
        writing-mode: horizontal-tb;

    }

}

/* ========================================== */
/*        THE MANIFESTO (ABOUT) SECTION       */
/* ========================================== */
.manifesto-section {
    padding: 180px 5vw 106px calc(var(--sidebar-width) + 5vw);
    background-color: var(--text-primary);
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-primary);

}

.manifesto-text-wrapper {
    max-width: 1300px;
    margin: 0 auto 120px auto;
}

.manifesto-text {
    font-family: var(--font-headline);
    font-size: 64px;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.15);
    /* شفاف جداً في البداية */
    text-align: center;
}

/* الكلاس ده الجافاسكريبت هيضيفه لكل كلمة عشان ينورها لوحدها */
.manifesto-text .word {
    display: inline-block;
    margin-right: 12px;
    transition: text-shadow 0.3s ease;
}

/* --- THE PILLARS GRID --- */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pillar-card {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transition: transform 0.4s var(--easing-smooth);
}

/* الخط الأحمر اللي بيفرد لما تعملي هوفر */
.pillar-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--accent-color);
    transition: width 0.5s var(--easing-smooth);
}

.pillar-card:hover::before {
    width: 100%;
}

.pillar-card:hover {
    transform: translateY(-10px);
}

.pillar-num {
    font-family: monospace;
    color: var(--accent-color);
    font-size: 1rem;
    display: block;
    margin-bottom: 1rem;
}

.pillar-title {
    font-family: var(--font-headline);
    font-size: 2.2rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.pillar-desc {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* للموبايل */
@media (max-width: 768px) {
    .manifesto-section {
        padding: 100px 20px;
    }

    .manifesto-text {
        text-align: left;
    }

    .pillars-grid {
        gap: 3rem;
    }
}

/* --- إعدادات المانيفيستو الأساسية --- */
/* .manifesto-section {
    padding: 180px 5vw 150px calc(var(--sidebar-width) + 5vw);
    background-color: var(--bg-color);
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: var(--text-primary);
    overflow: hidden;  
} */

.manifesto-container {
    position: relative;
    z-index: 2;
    /* النص لازم يكون فوق الأيقونات */
}

/* ========================================== */
/*        FLOATING CINEMATIC ICONS            */
/* ========================================== */
.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    /* عشان العميل يقدر يعمل سكرول أو يظلل النص عادي جداً */
}

.float-icon {
    position: absolute;
    color: #000000;
    /* رمادي فاتح */
    opacity: 0.04;
    /* شفافية ضعيفة جداً عشان متكونش مزعجة مع القراية */
    transition: opacity 0.5s ease;
}

/* توزيع الأيقونات بأحجام مختلفة في أماكن عشوائية */
.icon-1 {
    top: 10%;
    left: 15%;
    width: 140px;
    height: 140px;
    animation: floatA 25s infinite linear;
}

.icon-2 {
    top: 65%;
    left: 80%;
    width: 120px;
    height: 120px;
    animation: floatB 30s infinite ease-in-out alternate;
}

.icon-3 {
    top: 75%;
    left: 10%;
    width: 160px;
    height: 160px;
    animation: floatC 22s infinite linear reverse;
}

.icon-4 {
    top: 15%;
    left: 75%;
    width: 130px;
    height: 130px;
    animation: floatA 28s infinite ease-in-out;
}

.icon-5 {
    top: 68%;
    left: 45%;
    width: 250px;
    height: 250px;
    opacity: 0.02;
    animation: floatB 35s infinite linear;
}

/* تأثير الـ Hover على السكشن يخلي الأيقونات تنور خفيف جداً (اختياري) */
.manifesto-section:hover .float-icon {
    opacity: 0.08;
}


/* ========================================== */
/*        KEYFRAMES FOR FLOATING EFFECT       */
/* ========================================== */
@keyframes floatA {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(20px, -30px) rotate(10deg);
    }

    50% {
        transform: translate(-15px, -50px) rotate(-5deg);
    }

    75% {
        transform: translate(-30px, -15px) rotate(5deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

@keyframes floatB {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }

    33% {
        transform: translate(-40px, 30px) rotate(-15deg) scale(1.1);
    }

    66% {
        transform: translate(30px, 40px) rotate(10deg) scale(0.9);
    }

    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
}

@keyframes floatC {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(50px, -20px) rotate(20deg);
    }

    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}


/* ========================================== */
/*        HERO WAVE SHAPE DIVIDER             */
/* ========================================== */
.custom-shape-divider-bottom {
    position: absolute;
    bottom: -2px;
    /* لتجنب أي خطوط بيضاء رفيعة */
    left: 0;
    width: 100%;
    line-height: 0;
    transform: rotate(180deg);
    z-index: 15;
    /* عشان يكون فوق الفيديو والطبقة السوداء */
}

.custom-shape-divider-bottom svg {
    height: 100px;
    width: 100%;
    display: block;
}

/* اللون هنا بياخد نفس لون خلفية الموقع عشان يندمج مع السكشن اللي تحته */
.shape-fill {
    fill: var(--text-primary);
}

/* للموبايل: تقليل ارتفاع الموجة عشان ماتاخدش مساحة كبيرة */
@media (max-width: 768px) {
    .custom-shape-divider-bottom svg {
        height: 60px;
    }
}

/* ========================================== */
/*        ABOUT US SECTION                 */
/* ========================================== */
.about-section {
    padding: 150px 5vw 150px calc(var(--sidebar-width) + 5vw);
    background-color: var(--bg-color);
    position: relative;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.about-content {
    flex: 1;
    max-width: 600px;
}

.about-title {
    font-family: var(--font-headline);
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.about-title .highlight {
    color: var(--accent-color);
}

.about-desc {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.about-stats {
    display: flex;
    gap: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num-wrapper {
    font-family: var(--font-headline);
    font-size: 3.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: baseline;
    line-height: 1;
}

.stat-plus {
    color: var(--accent-color);
    font-size: 2.5rem;
    margin-left: 5px;
    font-family: var(--font-body);
}

.stat-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-top: 10px;
}

.about-visual {
    flex: 1;
    position: relative;
    width: 100%;
}

.img-reveal-container {
    position: relative;
    width: 100%;
    height: 650px;
    overflow: hidden;
    /* تقليل الدوران عشان شكل إطار الكاميرا يكون مظبوط */
    border-radius: 4px;
    background: linear-gradient(135deg, rgba(132, 24, 22, 0.08) 0%, transparent 100%);
}

/* ========================================== */
/*        CAMERA VIEWFINDER BORDERS           */
/* ========================================== */

/* الخصائص المشتركة للزوايا */
.img-reveal-container::before,
.img-reveal-container::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    z-index: 10;
    pointer-events: none;
    transition: all 0.6s var(--easing-smooth);
}

.img-reveal-container::before {
    top: 10px;
    left: 10px;
    border-top: 3px solid var(--accent-color);
    border-left: 3px solid var(--accent-color);
}

.img-reveal-container::after {
    bottom: 10px;
    right: 10px;
    border-bottom: 3px solid var(--accent-color);
    border-right: 3px solid var(--accent-color);
}

.about-visual:hover .img-reveal-container::before {
    top: 15px;
    left: 15px;
}

.about-visual:hover .img-reveal-container::after {
    bottom: 15px;
    right: 15px;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(80%) contrast(1.1);
    transform: scale(1.3);
}


.img-overlay-block {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    z-index: 2;
}

@media (max-width: 992px) {
    .about-container {
        flex-direction: column;
        gap: 4rem;
    }

    .about-section {
        padding: 100px 20px;
    }

    .about-content {
        max-width: 100%;
    }

    .img-reveal-container {
        height: 450px;
    }

    .about-stats {
        gap: 2rem;
    }
}

/**************PORTFOLIO SECTION***********/
.archive-section {

    position: relative;

    width: 100%;

    min-height: 100vh;

    background-color: var(--bg-color);

    padding: 100px var(--sidebar-width) 50px calc(var(--sidebar-width) + 40px);
    /* مسافات للسايد بار */

    overflow: hidden;

    display: flex;

    align-items: center;

}



/* 1. Background Logic */

.archive-bg-container {

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    z-index: 0;

    opacity: 0;
    /* مخفي افتراضياً */

    transition: opacity 0.6s var(--easing-smooth);

    pointer-events: none;

}



/* لما نعمل هوفر على السكشن، الخلفية تظهر */

.archive-section.bg-active .archive-bg-container {

    opacity: 0.4;
    /* شفافية عشان الكلام يبان */

}



.archive-video {

    width: 100%;
    height: 100%;

    object-fit: cover;

    filter: grayscale(100%) contrast(1.2);
    /* أبيض وأسود سينمائي */

}



.archive-overlay {

    position: absolute;

    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: linear-gradient(90deg, #050505 0%, rgba(5, 5, 5, 0.6) 50%, rgba(5, 5, 5, 0.2) 100%);

}



/* 2. Archive Header */

.archive-content {

    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 1200px;

}



.section-title {

    font-family: var(--font-headline);

    font-size: 2rem;

    color: var(--text-secondary);

    margin-bottom: 2rem;

    display: flex;

    align-items: center;

    gap: 10px;

}



.red-dot {

    color: var(--accent-color);

    font-size: 3rem;

    line-height: 0;

}

.team-header {
    display: flex;
    flex-direction: column;
    text-align: center;
}

/* ========================================== */
/*    CINEMATIC VIEWFINDER FILTER BUTTONS     */
/* ========================================== */

.archive-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    /* مسافة أصغر شوية عشان الشكل يكون متماسك */
    margin-bottom: 4rem;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.01);
    /* خلفية شفافة جداً */
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* إطار خفيف جداً */
    color: var(--text-secondary);
    padding: 12px 28px;
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    transition: all 0.4s var(--easing-smooth);
}

/* --- تصميم زوايا الكاميرا (Viewfinder Corners) --- */
.filter-btn::before,
.filter-btn::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    opacity: 0;
    /* مخفيين في البداية */
    transition: all 0.4s var(--easing-smooth);
}

/* الزاوية اللي فوق على الشمال */
.filter-btn::before {
    top: -1px;
    left: -1px;
    border-top: 1px solid var(--accent-color);
    border-left: 1px solid var(--accent-color);
}

/* الزاوية اللي تحت على اليمين */
.filter-btn::after {
    bottom: -1px;
    right: -1px;
    border-bottom: 1px solid var(--accent-color);
    border-right: 1px solid var(--accent-color);
}

/* --- تأثير الـ Hover (الهوفر) --- */
.filter-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
    /* الإطار بينور أبيض خفيف */
}

/* --- تأثير الزرار النشط (Active) --- */
.filter-btn.active {
    color: #fff;
    border-color: rgba(132, 24, 22, 0.2);
    /* إطار أحمر خفيف */
    background: linear-gradient(135deg, rgba(132, 24, 22, 0.08) 0%, transparent 100%);
    /* تأثير إضاءة حمراء من الزاوية */
}

/* إظهار زوايا الكاميرا لما الزرار يكون Active */
.filter-btn.active::before,
.filter-btn.active::after {
    opacity: 1;
    width: 12px;
    height: 12px;
}

/* للموبايل */
@media (max-width: 768px) {
    .archive-filters {
        gap: 0.8rem;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 0.75rem;
    }
}

/* 3. The Project List */

.project-list {

    display: flex;

    flex-direction: column;

}



.project-item {

    display: flex;

    align-items: center;

    padding: 2rem 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.1);

    text-decoration: none;

    color: var(--text-primary);

    transition: all 0.4s var(--easing-smooth);

    position: relative;

}



/* Hover Effect: Shift & Color */

.project-item:hover {

    padding-left: 20px;

    border-bottom-color: var(--accent-color);

}



.p-num {

    font-family: monospace;
    /* Retro tech vibe */

    color: var(--accent-color);

    font-size: 0.9rem;

    margin-right: 3rem;

    opacity: 0.7;

}



.p-info {

    flex-grow: 1;

}



.p-title {

    font-family: var(--font-headline);

    font-size: clamp(2rem, 5vw, 4rem);

    font-weight: 400;

    margin-bottom: 0.5rem;

    transition: color 0.3s;

}



.project-item:hover .p-title {

    /* تجعل النص مفرغاً (Outline) عند الهوفر - ترند جداً */

    -webkit-text-stroke: 1px #fff;

    color: transparent;

}



.p-meta {

    font-family: var(--font-body);

    font-size: 0.9rem;

    color: var(--text-secondary);

    text-transform: uppercase;

    letter-spacing: 2px;

}



.p-arrow {

    font-size: 2rem;

    opacity: 0;

    transform: translateX(-20px);

    transition: all 0.4s var(--easing-smooth);

    color: var(--accent-color);

}



.project-item:hover .p-arrow {

    opacity: 1;

    transform: translateX(0);

}



/* Mobile Adjustments */

@media (max-width: 768px) {

    .archive-section {
        padding: 80px 20px;
    }

    .project-item {
        padding: 1.5rem 0;
    }

    .p-num {
        display: none;
    }

    /* توفير مساحة */

    .p-title {
        font-size: 1.8rem;
    }

}

/* ========================================== */
/*        FILTER DESCRIPTION BOX              */
/* ========================================== */
.filter-description-box {
    margin-top: -1.5rem;
    /* بنطلعه فوق شوية عشان يقرب من الزراير */
    margin-bottom: 4rem;
    padding-left: 15px;
    border-left: 2px solid var(--accent-color);
    /* خط أحمر على الشمال كأنه اقتباس */
    max-width: 600px;
    opacity: 1;
    transition: opacity 0.3s ease;
    /* أنيميشن خفيف لما الكلام يتغير */
}

/* الكلاس ده هنستخدمه في الجافاسكريبت عشان نعمل تأثير الوميض (Fade in/out) */
.filter-description-box.fade-out {
    opacity: 0;
}

#filter-desc-text {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    font-style: italic;
    /* خط مائل بيدي طابع سينمائي/سكريبت */
    margin: 0;
}

/* تعديل خفيف للموبايل */
@media (max-width: 768px) {
    .filter-description-box {
        margin-top: -0.5rem;
        margin-bottom: 3rem;
        padding-left: 10px;
    }

    #filter-desc-text {
        font-size: 0.9rem;
    }
}

/* تجهيز العناصر للـ Scrollytelling */



.hero {
    position: relative;

    overflow: hidden;

    display: flex;

    justify-content: center;

    align-items: center;

}



.hero-bg-wrapper {

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    z-index: 0;

    /* هنكبر الفيديو شوية عشان لما نعمل زووم اوت ميبانش حواف بيضاء */

    transform: scale(1.1);

}



.hero-content {

    z-index: 10;

    /* هنحرك ده لفوق أسرع من الفيديو */

}



/* تنسيق للـ Project List عشان تظهر بشكل متتابع */

.project-item {

    opacity: 0;

    transform: translateY(100px);
    /* نازلة لتحت */

}



/* --- SCENE 3: SERVICES --- */
/* ========================================== */
/*     LIGHT CINEMATIC CAPABILITIES SECTION   */
/* ========================================== */

.services-section {
    padding: 150px 10vw 100px 11vw;
    position: relative;
    overflow: hidden;

    /* 1. الخلفية الفاتحة اللي طلبتيها */
    background-color: var(--text-primary);
    border-top: 1px solid rgba(5, 5, 5, 0.1);
    /* بوردر غامق */

    /* 2. تعديل الشبكة والإضاءة لتليق مع الفاتح */
    background-image:
        radial-gradient(circle at 50% 0%, rgba(132, 24, 22, 0.05) 0%, transparent 70%),
        /* إضاءة حمراء خفيفة جداً */
        linear-gradient(rgba(5, 5, 5, 0.03) 1px, transparent 1px),
        /* خطوط شبكة غامقة خفيفة */
        linear-gradient(90deg, rgba(5, 5, 5, 0.03) 1px, transparent 1px);

    background-size: 100% 100%, 100px 100px, 100px 100px;
    background-position: center top;
}

/* خط الريندر (Scanline) متعدل للفاتح */
.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, transparent, rgba(132, 24, 22, 0.05), transparent);
    animation: cinematicRender 8s linear infinite;
    pointer-events: none;
    z-index: 0;
}

.services-container {
    position: relative;
    z-index: 2;
}

/* --- تعديل ألوان العناوين الأساسية --- */
.services-header .tagline {
    color: var(--text-secondary);
    /* رمادي غامق */
}

.services-header .section-title {
    color: var(--bg-color);
    /* أسود */
}

/* --- THE GRID & CARDS --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem 4rem;
    margin-top: 4rem;
    margin-bottom: 4rem;
}

/* تأثير الـ Focus: الكروت اللي مش عليها الماوس بتغبش وتختفي شوية */
.services-grid:hover .service-card:not(:hover) {
    opacity: 0.3;
    filter: blur(3px);
}

.service-card {
    background: transparent;
    border-left: 1px solid rgba(5, 5, 5, 0.05);
    border-right: 1px solid rgba(5, 5, 5, 0.05);
    padding: 2rem 1.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    opacity: 0;
    filter: blur(10px);
    transform: translateY(20px);
    will-change: opacity, filter, transform;
    transform: none !important;
    border-left-color: var(--accent-color);
    background: rgba(5, 5, 5, 0.01);
    margin-top: -10px;

}

/* ألوان الكارت من جوه */
.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.s-num,
.crosshair {
    font-family: monospace;
    color: #888;
    /* رمادي متوسط */
    font-size: 0.9rem;
    letter-spacing: 2px;
    transition: all 0.4s ease;
}

.crosshair {
    font-size: 1.2rem;
}

.service-card h3 {
    font-family: var(--font-headline);
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--bg-color);
    /* أسود غامق جداً */
    transition: transform 0.4s var(--easing-smooth), color 0.4s ease;
}

.service-card p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
    /* رمادي أغمق عشان يتقرأ على الفاتح */
    transition: color 0.4s ease;
}

/* خط المونتاج (الـ Playhead) بيفضل أحمر */
.playhead {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.6s var(--easing-smooth);
}

/* --- تأثيرات الهوفر (Hover Effects) في الوضع الفاتح --- */
.service-card:hover .s-num,
.service-card:hover .crosshair {
    color: var(--accent-color);
    /* يقلب أحمر */
}

.service-card:hover .crosshair {
    transform: none !important;
}

.service-card:hover h3 {
    transform: none !important;
    /* إلغاء حركة العنوان يمين */
    color: var(--accent-color);
}

.service-card:hover p {
    color: var(--bg-color);
    /* الوصف يقلب أسود صريح */
}

.service-card:hover .playhead {
    width: 100%;
}

/* حركة خط الريندر */
@keyframes cinematicRender {
    0% {
        transform: translateY(-150px);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(120vh);
        opacity: 0;
    }
}

/* للموبايل */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-card h3 {
        font-size: 1.6rem;
    }

    .services-grid:hover .service-card:not(:hover) {
        opacity: 1;
        filter: blur(0px);
    }
}


/* ========================================== */
/*        CINEMATIC TEAM SECTION              */
/* ========================================== */
.team-section {
    padding: 150px 5vw 150px calc(var(--sidebar-width) + 5vw);
    background-color: var(--bg-color);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.team-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
}




/* --- SCENE 4: BLOG --- */

.blog-section {

    padding: 100px var(--sidebar-width) 100px calc(var(--sidebar-width) + 40px);

    background-color: var(--bg-color);

}



.blog-list {

    margin-top: 3rem;

    border-top: 1px solid rgba(255, 255, 255, 0.1);

}



.blog-item {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 2rem 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.1);

    cursor: pointer;

    transition: all 0.3s ease;

}



.blog-item:hover {

    padding-left: 20px;

    border-bottom-color: var(--accent-color);

}



.blog-date {

    font-family: monospace;

    color: var(--text-secondary);

    width: 150px;

}



.blog-content h3 {

    font-family: var(--font-headline);

    font-size: 1.5rem;

    margin-bottom: 0.5rem;

    transition: color 0.3s;

}



.blog-item:hover h3 {

    color: var(--accent-color);

}



.blog-content p {

    font-size: 0.9rem;

    color: var(--text-secondary);

}



.blog-arrow {

    font-size: 1.5rem;

    color: var(--accent-color);

    opacity: 0;

    transform: translateX(-10px);

    transition: all 0.3s ease;

}



.blog-item:hover .blog-arrow {

    opacity: 1;

    transform: translateX(0);

}



/* --- SCENE 5: CONTACT --- */

.contact-section {
    /* 
    height: 80vh;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding-left: var(--sidebar-width);

    position: relative;

    background: radial-gradient(circle at center, rgba(20,20,20,1) 0%, rgba(5,5,5,1) 100%); */
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-left: var(--sidebar-width);
    position: relative;

    /* الصورة مع طبقة سوداء متدرجة (Overlay) عشان الكلام يكون واضح */
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.5), rgba(0, 0, 0, 1)),
        url('https://images.pexels.com/photos/3062541/pexels-photo-3062541.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    /* ميزة إضافية: Parallax Effect (الصورة تكون ثابتة والسكشن بيتحرك فوقها) */
    background-attachment: fixed;

}



.contact-content .hero-title {

    font-size: 4rem;

    margin-bottom: 1rem;

}



.footer-info {

    position: absolute;

    bottom: 30px;

    width: 100%;

    display: flex;

    justify-content: space-between;

    padding: 0 4rem 0 calc(var(--sidebar-width) + 4rem);

    color: var(--text-secondary);

    font-size: 0.8rem;

    font-family: monospace;

}



.socials a {

    color: #fff;

    margin-left: 20px;

    text-decoration: none;

    transition: color 0.3s;

}



.socials a:hover {

    color: var(--accent-color);

}



/* MOBILE FIXES FOR NEW SECTIONS */

@media (max-width: 768px) {

    .services-section,
    .blog-section,
    .contact-section {

        padding: 60px 20px;

    }

    .footer-info {

        flex-direction: column;

        gap: 10px;

        padding: 0 20px;

        text-align: center;

        bottom: 80px;
        /* فوق الناف بار */

    }

    .blog-date {
        display: none;
    }

    .contact-content .hero-title {
        font-size: 2.5rem;
    }

}




/* ----------------------------------------SCENE 3: SERVICES -------------------------------------------- */
/* =========================================
   SCENE 3: SERVICES PAGE (NEW NAMESPACING)
   Prefix: srv-
   ========================================= */

.services-page {
    background-color: var(--bg-color);
}

.srv-section {
    padding: 150px 5vw 100px 5vw;
    min-height: 100vh;
}

.srv-header {
    margin-bottom: 80px;
    max-width: 900px;
}

.srv-title {
    font-family: var(--font-headline);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.srv-desc {
    font-family: var(--font-body);
    color: #bbb;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-top: 30px;
    max-width: 600px;
    border-left: 1px solid var(--accent-color);
    padding-left: 20px;
}

/* Accordion Container */
.srv-acc-wrapper {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.srv-acc-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.4s ease;
}

.srv-acc-item:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

/* Accordion Header */
.srv-acc-header {
    display: flex;
    align-items: center;
    padding: 40px 0;
    cursor: pointer;
}

.srv-acc-num {
    font-family: monospace;
    color: var(--accent-color);
    font-size: 1rem;
    margin-right: 40px;
    opacity: 0.8;
}

.srv-acc-title {
    font-family: var(--font-headline);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    flex-grow: 1;
    transition: transform 0.4s var(--easing-smooth);
}

.srv-acc-item:hover .srv-acc-title {
    transform: translateX(15px);
}

.srv-acc-indicator {
    font-family: monospace;
    font-size: 2rem;
    font-weight: 300;
    transition: transform 0.4s var(--easing-smooth), color 0.4s;
}

/* Active State */
.srv-acc-item.active .srv-acc-title {
    color: #fff;
    font-style: italic;
    transform: translateX(15px);
}

.srv-acc-item.active .srv-acc-indicator {
    transform: rotate(45deg);
    color: var(--accent-color);
}

/* Accordion Body */
.srv-acc-body {
    height: 0;
    overflow: hidden;
    transition: height 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.srv-acc-content {
    padding: 10px 0 60px 80px;
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

/* Icons & Animation */
.srv-icon-box {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    opacity: 0.7;
}

.srv-svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: var(--text-primary);
    stroke-width: 1.5;
}

.srv-path {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    /* Start Hidden */
    transition: stroke-dashoffset 1.5s ease 0.2s, stroke 0.4s;
}

/* Activate Animation when Opened */
.srv-acc-item.active .srv-path {
    stroke-dashoffset: 0;
    /* Draw lines */
    stroke: var(--accent-color);
    /* Turn Red */
}

/* Bullet List */
.srv-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 40px;
    width: 100%;
}

.srv-list li {
    font-family: var(--font-body);
    font-size: 1rem;
    color: #aaa;
    position: relative;
    padding-left: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.srv-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 1px;
    background-color: var(--accent-color);
}

/* List Stagger Animation */
.srv-acc-item.active .srv-list li {
    opacity: 1;
    transform: translateY(0);
}

.srv-acc-item.active .srv-list li:nth-child(1) {
    transition-delay: 0.1s;
}

.srv-acc-item.active .srv-list li:nth-child(2) {
    transition-delay: 0.2s;
}

.srv-acc-item.active .srv-list li:nth-child(3) {
    transition-delay: 0.3s;
}

.srv-acc-item.active .srv-list li:nth-child(4) {
    transition-delay: 0.4s;
}

/* Mobile */
@media (max-width: 768px) {
    .srv-acc-content {
        flex-direction: column;
        padding-left: 0;
        gap: 30px;
    }

    .srv-list {
        grid-template-columns: 1fr;
    }

    .srv-acc-num {
        margin-right: 20px;
    }
}


/* --- EXTRA: CLIENT MARQUEE (NEWS TICKER) --- */
.marquee-section {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: #050505;
    overflow: hidden;
    position: relative;
}

.marquee-track {
    white-space: nowrap;
    overflow: hidden;
}

.marquee-content {
    display: inline-block;
    animation: marqueeScroll 20s linear infinite;
}

.marquee-content span {
    font-family: var(--font-headline);
    /* Playfair */
    font-size: 4rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.1);
    /* لون باهت */
    margin: 0 40px;
    transition: color 0.3s;
    cursor: default;
}

.marquee-content span:hover {
    color: var(--accent-color);
    /* ينور أحمر لما تقف عليه */
    font-style: italic;
}

.separator {
    color: var(--accent-color) !important;
    font-family: monospace;
    font-size: 2rem;
    vertical-align: middle;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* --- EXTRA: DATA TERMINAL --- */
.data-section {
    padding: 100px 5vw;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.data-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.data-card {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 30px;
}

.data-label {
    font-family: monospace;
    color: #666;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.data-num {
    /* font-family: var(--font-headline); */
    font-size: 3.5rem;
    color: #fff;
    line-height: 1;
}

/* علامة + صغيرة جنب الرقم */
.data-num::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent-color);
    vertical-align: top;
    margin-left: 5px;
}

/* Mobile */
@media (max-width: 768px) {
    .marquee-content span {
        font-size: 2.5rem;
        margin: 0 20px;
    }

    .data-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .data-card {
        padding-left: 20px;
    }
}

/***********************************BLOG****************************************/

/* --- SCENE 4: THE SCRIPT (Editorial Style) --- */

.script-scene-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: #111111;
    /* Dark Grey as requested */
    color: #e0e0e0;
    padding: 120px var(--sidebar-width) 100px calc(var(--sidebar-width) + 40px);
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Texture Effect (Optional) */
.script-paper-texture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

.script-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
}

/* -- Typography -- */
.script-huge-title {
    font-family: var(--font-headline);
    /* Playfair Display */
    font-size: clamp(4rem, 10vw, 8rem);
    line-height: 0.9;
    text-transform: uppercase;
    margin: 20px 0;
    letter-spacing: -2px;
}

.script-headline-lg {
    font-family: var(--font-headline);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.script-headline-sm {
    font-family: var(--font-headline);
    font-size: 1.8rem;
    margin: 1rem 0;
    line-height: 1.2;
    transition: color 0.3s ease;
}

/* الخط المونو (الآلة الكاتبة) */
.script-mono-text {
    font-family: 'Courier New', Courier, monospace;
    /* Fallback if no specific mono font */
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    display: inline-block;
    margin-right: 15px;
}

.script-excerpt {
    font-family: var(--font-headline);
    /* Serif for body text looks editorial */
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 2rem;
    max-width: 90%;
}

/* -- Layout Elements -- */
.script-masthead {
    margin-bottom: 4rem;
}

.script-meta-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
}

.script-separator-line {
    width: 100%;
    height: 4px;
    /* خط عريض مثل الجرائد */
    background: white;
    margin-top: 10px;
    transform-origin: left;
    /* للأنيميشن */
}

/* -- Grid System -- */
.script-editorial-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    /* Featured takes more space */
    gap: 4rem;
    align-items: start;
}

/* Featured Article */
.script-article-featured {
    position: relative;
    cursor: pointer;
}

.script-img-reveal {
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.script-img-reveal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: transform 0.7s ease, filter 0.5s ease;
}

.script-article-featured:hover .script-img-reveal img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.script-read-btn {
    display: inline-block;
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--accent-color);
    text-decoration: none;
    border: 1px solid var(--accent-color);
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.script-read-btn:hover {
    background: var(--accent-color);
    color: #000;
}

/* Sidebar Articles */
.script-sidebar-col {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    /* Vertical Line */
    padding-left: 4rem;
}

.script-article-sm {
    cursor: pointer;
    position: relative;
}

.script-article-sm:hover .script-headline-sm {
    color: var(--accent-color);
}

.script-separator-mini {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .script-editorial-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .script-sidebar-col {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 3rem;
    }

    .script-huge-title {
        font-size: 4rem;
    }
}

/************************************4- *Blog**********************************/





/* =================================================
   SCENE 4: INSIGHTS / BLOG (NAMESPACE: blog-)
   Theme: The Daily Script (Newspaper Style)
   ================================================= */

.blog-page-body {
    background-color: #0a0a0a;
    /* أفتح درجة بسيطة جداً من الأسود */
    color: #EAEAEA;
}

.blog-container {
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
    padding: 0 5vw;
}

/* --- Header (The Masthead) --- */
.blog-header {
    padding: 150px 0 80px;
    border-bottom: 2px solid #fff;
    /* خط سميك زي الجرنال */
    text-align: center;
}

.blog-scene-tag {
    font-family: 'Courier Prime', monospace;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    display: block;
    margin-bottom: 1rem;
}

.blog-main-title {
    font-family: var(--font-headline);
    /* Playfair */
    font-size: clamp(4rem, 10vw, 8rem);
    line-height: 1;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.blog-header-meta {
    font-family: 'Courier Prime', monospace;
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.blog-sep {
    color: var(--accent-color);
}

/* --- Featured Article (Hero) --- */
.blog-featured {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-featured-card {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    text-decoration: none;
    color: inherit;
    align-items: center;
}

.blog-feat-img {
    width: 100%;
    height: 500px;
    overflow: hidden;
    position: relative;
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.blog-featured-card:hover .blog-feat-img {
    filter: grayscale(0%);
}

.blog-feat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.blog-featured-card:hover img {
    transform: scale(1.05);
}

.blog-feat-content {
    padding-right: 20px;
}

.blog-meta-tag {
    font-family: 'Courier Prime', monospace;
    font-size: 0.85rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    display: block;
}

.blog-feat-title {
    font-family: var(--font-headline);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 20px;
    transition: color 0.3s;
}

.blog-featured-card:hover .blog-feat-title {
    color: var(--accent-color);
    font-style: italic;
}

.blog-feat-excerpt {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.6;
    color: #bbb;
    margin-bottom: 30px;
    max-width: 500px;
}

.blog-read-btn {
    font-family: 'Courier Prime', monospace;
    font-size: 0.9rem;
    text-transform: uppercase;
    border-bottom: 1px solid #fff;
    padding-bottom: 5px;
}

/* --- The Grid (Newspaper Columns) --- */
.blog-grid-section {
    padding: 80px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    /* No gap because we use borders */
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-card {
    padding: 40px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    /* Column lines */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    transition: background 0.3s;
    cursor: pointer;
}

.blog-card:hover {
    background: rgba(255, 255, 255, 0.02);
}

.blog-card-img {
    width: 100%;
    height: 250px;
    overflow: hidden;
    margin-bottom: 30px;
    filter: grayscale(100%);
    transition: filter 0.4s;
}

.blog-card:hover .blog-card-img {
    filter: grayscale(0%);
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.blog-card:hover img {
    transform: scale(1.1);
}

.blog-meta {
    font-family: 'Courier Prime', monospace;
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.blog-title {
    font-family: var(--font-headline);
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 15px;
    min-height: 2.4em;
    /* محاذاة العناوين */
}

.blog-card:hover .blog-title {
    text-decoration: underline;
    text-decoration-color: var(--accent-color);
    text-decoration-thickness: 2px;
}

.blog-excerpt {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #999;
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-link {
    font-family: 'Courier Prime', monospace;
    font-size: 0.8rem;
    color: var(--accent-color);
    margin-top: auto;
    /* Push to bottom */
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s;
}

.blog-card:hover .blog-link {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-featured-card {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .blog-feat-img {
        height: 300px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        border-left: none;
    }

    .blog-card {
        border-right: none;
        padding: 40px 0;
    }

    .blog-main-title {
        font-size: 3.5rem;
    }
}

/**********************Contact************************/
/* =================================================
   SCENE 5: CONTACT / ACTION (NAMESPACE: cnt-)
   Theme: The Final Script
   ================================================= */

.cnt-page-body {
    background-color: var(--bg-color);
}

.cnt-section {
    min-height: 100vh;
    padding: 150px 5vw 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cnt-container {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

/* --- Header --- */
.cnt-header {
    margin-bottom: 80px;
}

.cnt-tag {
    font-family: 'Courier Prime', monospace;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 20px;
    display: block;
    margin-bottom: 20px;
}

.cnt-title {
    font-family: var(--font-headline);
    /* Playfair */
    font-size: 34px;
    line-height: 1.2;
    font-weight: 400;
    color: var(--text-primary);
}

/* --- Conversational Form --- */
.cnt-form-box {
    margin-bottom: 120px;
}

.cnt-sentence {
    font-family: var(--font-body);
    /* Manrope */
    /* font-size: clamp(1.5rem, 3vw, 2.5rem); */
    font-size: 37px;
    color: #888;
    line-height: 2.6;
    margin-bottom: 1.5rem;
}

/* Input Styling (The Magic) */
.cnt-input,
.cnt-select {
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-family: 'Courier Prime', monospace;
    /* Typewriter font */
    font-size: inherit;
    padding: 5px 10px;
    width: 300px;
    transition: all 0.3s ease;
    text-align: center;
}

.cnt-input.short {
    width: 150px;
}

.cnt-input:focus,
.cnt-select:focus {
    outline: none;
    border-bottom-color: var(--accent-color);
    color: var(--accent-color);
}

.cnt-input::placeholder {
    color: rgba(255, 255, 255, 0.15);
    font-style: italic;
    font-size: 0.8em;
}

/* Custom Select Styling Hack */
.cnt-select-wrap {
    position: relative;
    display: inline-block;
}

.cnt-select {
    appearance: none;
    cursor: pointer;
    color: var(--accent-color);
    /* Highlight the service */
}

/* --- The ACTION Button --- */
.cnt-submit-btn {
    margin-top: 60px;
    background-color: var(--accent-color);
    color: #fff;
    border: none;
    padding: 20px 60px;
    font-family: var(--font-headline);
    font-size: 2rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.2s, background-color 0.3s;
    overflow: hidden;
    position: relative;
}

.cnt-submit-btn:hover {
    transform: scale(1.05);
    background-color: #a31e1b;
}

.cnt-submit-btn:active {
    transform: scale(0.95);
}

.btn-icon {
    font-size: 1.5rem;
}

/* --- Footer (The Credits) --- */
.cnt-footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cnt-label {
    display: block;
    font-family: 'Courier Prime', monospace;
    color: #555;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.cnt-data,
.cnt-link {
    font-family: var(--font-body);
    color: #EAEAEA;
    font-size: 1.1rem;
    line-height: 1.6;
    display: block;
    text-decoration: none;
    transition: color 0.3s;
}

.cnt-map-link {
    font-family: 'Courier Prime', monospace;
    font-size: 0.9rem;
    color: var(--accent-color);
    text-decoration: none;
    margin-top: 10px;
    display: inline-block;
}

.cnt-socials {
    display: flex;
    flex-direction: row;
    /* غيرناها لصف أفقي بدل عمود */
    gap: 20px;
    /* مسافة مريحة للعين بين الأيقونات */
    margin-top: 10px;
}

.cnt-socials a {
    text-decoration: none;
    color: #888;
    font-size: 1.5rem;
    /* كبرنا الحجم عشان الأيقونة تكون واضحة */
    transition: color 0.3s, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
    /* ضروري عشان الـ transform يشتغل صح على الأيقونة */
}

.cnt-socials a:hover {
    color: var(--accent-color);
    /* تنور باللون الأحمر السينمائي */
    transform: translateY(-5px);
    /* تطلع لفوق حركة خفيفة بدل الـ padding */
}

.cnt-link:hover {
    color: var(--accent-color);
}

/* Responsive */
@media (max-width: 768px) {
    .cnt-input {
        width: 100%;
        margin-bottom: 10px;
    }

    .cnt-footer {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cnt-title {
        font-size: 3rem;
    }

    .cnt-submit-btn {
        width: 100%;
        justify-content: center;
    }
}

/* --- تصغير حجم القائمة (Dropdown Fix) --- */

.cnt-select {
    width: auto !important;
    /* العرض يكون على قد الكلام مش عريض أوي */
    min-width: 200px;
    /* حد أدنى للعرض عشان يبان */
    font-size: 0.7em !important;
    /* حجم الخط 70% من حجم الجملة الأساسية */
    padding: 2px 10px !important;
    vertical-align: baseline;
    /* عشان تظبط على السطر مع الكلام */
    cursor: pointer;
    color: var(--accent-color) !important;
    /* نخلي لونها أحمر عشان تكون مميزة */
    text-align: center;
    text-align-last: center;
    /* توسيط الكلام المختار */
}

/* تنسيق القائمة اللي بتفتح (Dropdown Menu) */
.cnt-select option {
    background-color: #1a1a1a;
    /* خلفية غامقة */
    color: #fff;
    font-family: 'Manrope', sans-serif;
    /* خط مقروء */
    font-size: 14px;
    /* حجم خط صغير ومناسب للقراءة */
    padding: 10px;
}

/* ========================================== */
/*        LIGHT CINEMATIC TEAM SECTION        */
/* ========================================== */

.team-section {
    padding: 120px 5vw 120px calc(var(--sidebar-width) + 5vw);
    /* الخلفية الفاتحة اللي طلبتيها */
    background-color: var(--text-primary);
    /* خط فاصل غامق من فوق */
    border-top: 1px solid rgba(5, 5, 5, 0.1);
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* --- تعديل ألوان العناوين للخلفية الفاتحة --- */
.team-header {
    text-align: center;
    margin-bottom: 4rem;
}

.team-header .section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-family: var(--font-headline);
    text-align: center;
    width: 100%;
    display: block;
}

.team-header .subtitle {
    font-size: 1.2rem;
    color: #555;
    /* رمادي غامق عشان يتقرأ براحة */
    font-family: var(--font-body);
}

.team-header .red-dot {
    color: var(--accent-color);
}

/* --- الـ Grid --- */
.custom-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(250px, 1fr));
    gap: 30px;
}

/* --- تصميم الكارت نفسه في الوضع الفاتح --- */
.our-team {
    padding: 80px 0;
    background-color: rgba(5, 5, 5, 0.03);
    border: 1px solid rgba(5, 5, 5, 0.08);
    /* بوردر غامق شفاف */
    text-align: center;
    overflow: hidden;
    position: relative;
    border-radius: 8px;
    transition: all 0.4s var(--easing-smooth);

    /* للأنيميشن بتاع GSAP (Blur Reveal) */
    opacity: 0;
    filter: blur(10px);
    transform: translateY(30px);
}

.our-team:hover {
    background-color: rgba(132, 24, 22, 0.03);
    /* لون أحمر خفيف جداً في الخلفية */
    border-color: rgba(132, 24, 22, 0.2);
}

.our-team .picture {
    display: inline-block;
    height: 130px;
    width: 130px;
    margin-bottom: 30px;
    z-index: 1;
    position: relative;
}

/* التأثير الدائري الخلفي للصورة (نفس اللون الأحمر السينمائي) */
.our-team .picture::before,
.our-team .picture::after {
    content: "";
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--accent-color);
    position: absolute;
    left: 0;
}

.our-team .picture::after {
    top: 0;
    z-index: -1;
}

.our-team .picture::before {
    height: 0;
    bottom: 135%;
    opacity: 0.9;
    transform: scale(3);
    transition: all 0.3s linear 0s;
}

.our-team:hover .picture::before {
    height: 100%;
}

.our-team .picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transform: scale(1);
    transition: all 0.9s ease 0s;
    filter: grayscale(100%);
}

.our-team:hover .picture img {
    /* الإطار اللي بيفصل الصورة عن الدائرة الحمرا بياخد نفس لون الخلفية الفاتحة */
    box-shadow: 0 0 0 10px var(--text-primary);
    transform: scale(0.7);
    filter: grayscale(0%);
}

/* --- ألوان النصوص جوه الكارت --- */
.our-team .name {
    font-family: var(--font-headline);
    font-size: 1.5rem;
    color: var(--bg-color);
    /* الاسم لونه أسود */
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.our-team .title {
    display: block;
    font-family: monospace;
    font-size: 15px;
    color: var(--accent-color);
    /* البوزيشن لونه أحمر عشان يبرز */
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- السوشيال ميديا --- */
.our-team .social {
    width: 100%;
    padding: 0;
    margin: 0;
    background-color: var(--accent-color);
    position: absolute;
    bottom: -100px;
    left: 0;
    transition: all 0.5s ease 0s;
    display: flex;
    justify-content: center;
    list-style: none;
}

.our-team:hover .social {
    bottom: 0;
}

.our-team .social li a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    color: #fff;
    transition: all 0.3s ease 0s;
    text-decoration: none;
}

.our-team .social li a:hover {
    color: var(--text-primary);
    /* الأيقونة تبقى فاتحة */
    background-color: var(--bg-color);
    /* الخلفية تبقى سودة */
}