:root {
    /* Cyber-Cinematic Dark Theme (Default) */
    --bg-primary: #060913;
    --bg-secondary: #0a0e1c;
    --text-primary: #ffffff;
    --text-secondary: #b3b9c9;
    
    /* Gradients & Accents */
    --accent-purple: #6C5CE7;
    --accent-blue: #00D2FF;
    --gradient-primary: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-blue) 100%);
    
    /* Glassmorphism */
    --glass-bg: rgba(14, 19, 38, 0.6);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --glass-shadow-hover: 0 10px 30px rgba(108, 92, 231, 0.4);
    
    /* Typography */
    --font-en: 'Inter', sans-serif;
    --font-ar: 'Cairo', sans-serif;
    
    /* Layout */
    --transition-smooth: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s ease;
}

[data-theme="light"] {
    /* Light Mode Alternative */
    --bg-primary: #F4F6FA;
    --bg-secondary: #ffffff;
    --text-primary: #0a0e1c;
    --text-secondary: #4a5568;
    
    --glass-bg: #FFFFFF;
    --glass-border: rgba(0, 0, 0, 0.05);
    --glass-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    --glass-shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.12);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-en);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
}

[dir="rtl"] body {
    font-family: var(--font-ar);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Typography Utilities */
h1, h2, h3, h4 {
    line-height: 1.2;
    color: var(--text-primary);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Glassmorphism Class */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
    transition: var(--transition-smooth);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-fast);
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 210, 255, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    transform: translateY(-3px);
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1400px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    z-index: 1000;
    border-radius: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.brand-logo-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

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

.nav-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.toggle-btn {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-fast);
}

.toggle-btn:hover {
    border-color: var(--accent-purple);
    color: var(--accent-blue);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 100px;
    padding-bottom: 0;
    position: relative;
    overflow: hidden;
    /* Cinematic deep gradient - Dark Mode */
    background:
        radial-gradient(ellipse 80% 60% at 60% 40%, rgba(108, 92, 231, 0.22) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 20% 70%, rgba(0, 210, 255, 0.12) 0%, transparent 60%),
        linear-gradient(160deg, #060913 0%, #0c0e22 50%, #060913 100%);
    /* Smooth curved bottom */
    clip-path: ellipse(120% 100% at 50% 0%);
    padding-bottom: 100px;
}

[data-theme="light"] .hero {
    background:
        radial-gradient(ellipse 80% 60% at 60% 40%, rgba(108, 92, 231, 0.10) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 20% 70%, rgba(0, 210, 255, 0.08) 0%, transparent 60%),
        linear-gradient(160deg, #f0f4ff 0%, #eef1fb 50%, #f4f6ff 100%);
}

/* Animated background auras */
.hero-bg-aura {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}
.hero-aura-1 {
    width: 500px;
    height: 500px;
    background: rgba(108, 92, 231, 0.18);
    top: -100px;
    right: 10%;
    animation: aura-drift 10s ease-in-out infinite;
}
.hero-aura-2 {
    width: 350px;
    height: 350px;
    background: rgba(0, 210, 255, 0.12);
    bottom: 10%;
    left: 5%;
    animation: aura-drift 14s ease-in-out infinite reverse;
}
.hero-aura-3 {
    width: 250px;
    height: 250px;
    background: rgba(255, 120, 50, 0.08);
    top: 40%;
    left: 40%;
    animation: aura-drift 18s ease-in-out infinite;
}
@keyframes aura-drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -20px) scale(1.08); }
}

.hero-grid {
    display: grid;
    grid-template-columns: 58% 42%;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    padding-right: 40px;
}

[dir="rtl"] .hero-content {
    padding-right: 0;
    padding-left: 40px;
}

/* Eyebrow */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--accent-blue);
    margin-bottom: 24px;
    padding: 6px 16px;
    border: 1px solid rgba(0, 210, 255, 0.2);
    border-radius: 100px;
    backdrop-filter: blur(6px);
}
.eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-blue);
    animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Hook Typography */
.hero-hook {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 4px;
}
.hook-line {
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    color: var(--text-secondary);
    font-weight: 400;
}
.hook-name {
    display: block;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1;
}

.hero-sub {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 36px;
}

/* Mini Expertise Row */
.expertise-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}
.expertise-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    transition: var(--transition-fast);
    cursor: default;
}
.expertise-pill:hover {
    border-color: var(--accent-purple);
    transform: translateY(-3px);
}
.exp-num {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--accent-purple);
}
.exp-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

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

.avatar-container {
    width: 380px;
    height: 380px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: var(--glass-bg);
    position: relative;
    z-index: 2;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: morph 8s ease-in-out infinite;
}

.avatar-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.ambient-aura {
    position: absolute;
    width: 110%;
    height: 110%;
    background: var(--gradient-primary);
    filter: blur(80px);
    opacity: 0.3;
    z-index: 1;
    border-radius: 50%;
    animation: pulse 6s ease-in-out infinite;
}

/* Creator Trust Ticker */
.trust-ticker {
    width: 100%;
    padding: 20px 0;
    margin-top: 60px;
    border-top: 1px solid var(--glass-border);
    position: relative;
    z-index: 1;
}
.trust-ticker-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}
.trust-label {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    white-space: nowrap;
    flex-shrink: 0;
}
.trust-divider {
    width: 1px;
    height: 28px;
    background: var(--glass-border);
    flex-shrink: 0;
}
.trust-logos {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}
.trust-logo-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    letter-spacing: 0.5px;
}
.trust-logo-item svg {
    color: var(--accent-purple);
    flex-shrink: 0;
}
.trust-logo-item:hover {
    color: var(--text-primary);
}

@keyframes morph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    50% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.05); opacity: 0.5; }
}

/* General Section Styling */
.section {
    padding: 120px 0;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 60px;
}

/* ═══════════════════════════════════════════ */
/* Hero Stats Cards                            */
/* ═══════════════════════════════════════════ */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 30px 0 0;
    position: relative;
    z-index: 1;
}

.hero-stat-card {
    background: rgba(11, 15, 25, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    padding: 32px 28px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s ease;
}

.hero-stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(108, 92, 231, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-stat-card:hover {
    transform: translateY(-6px);
    border-color: rgba(108, 92, 231, 0.35);
}

.hero-stat-number {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -1px;
    /* Vivid glow effect on the number */
    filter: drop-shadow(0 0 18px rgba(0, 210, 255, 0.35));
}

.hero-stat-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
}

/* Light Mode Override */
[data-theme="light"] .hero-stat-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(108, 92, 231, 0.06);
}

[data-theme="light"] .hero-stat-card:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(108, 92, 231, 0.12);
}

/* ═══════════════════════════════════════════ */
/* About Section                               */
/* ═══════════════════════════════════════════ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: start;
}

.about-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-purple);
    margin-bottom: 20px;
    padding: 4px 12px;
    border: 1px solid rgba(108, 92, 231, 0.3);
    border-radius: 100px;
}

.about-heading {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.about-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.about-tags {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-tag {
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-fast);
    cursor: default;
}

.about-tag:hover {
    border-color: var(--accent-purple);
    transform: translateX(5px);
}

[dir="rtl"] .about-tag:hover {
    transform: translateX(-5px);
}

.skill-pill:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: var(--accent-blue);
    box-shadow: 0 0 20px rgba(108, 92, 231, 0.4);
    color: var(--accent-blue);
}

/* ═══════════════════════════════════════════ */
/* Selected Works — Unified Grid               */
/* ═══════════════════════════════════════════ */
.selected-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    width: 100%;
}

.work-card {
    background: #0b0c10;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--glass-shadow);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

.work-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--glass-shadow-hover);
}

.video-card {
    aspect-ratio: 9 / 16;
    max-width: 300px;
    margin: 0 auto;
    width: 100%;
}

.work-media.video-portrait {
    height: 100%;
    width: 100%;
    background: #000 !important;
}

.work-media video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    background: #000 !important;
}

.work-media video:fullscreen {
    object-fit: contain !important;
}

.video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--text-secondary);
    opacity: 0.5;
    padding: 40px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Image design card: show image naturally */
.work-card--design .work-media--image {
    overflow: hidden;
    background: rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.work-card--design .work-media--image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
    cursor: pointer;
}

.work-card--design:hover .work-media--image img {
    transform: scale(1.04);
}

.gallery-lightbox-img {
    cursor: pointer;
}

.work-info {
    padding: 20px 24px;
}

.work-tag {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-purple);
    display: block;
    margin-bottom: 8px;
}

.work-info h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
}

.milestones-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.milestone-card {
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.milestone-card::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.milestone-card:hover::before {
    opacity: 1;
}

.milestone-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-purple);
    box-shadow: var(--glass-shadow-hover);
}

.milestone-number {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1;
}

.milestone-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Video Projects & Design Gallery */
.projects-grid, .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr));
    gap: 40px;
}

.project-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: var(--transition-smooth);
    border: 1px solid var(--glass-border);
}

.project-card:hover {
    transform: scale(1.03);
    box-shadow: var(--glass-shadow-hover);
    border-color: var(--accent-blue);
}

.project-media {
    width: 100%;
    height: 250px;
    background-color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    position: relative;
}

.video-portrait {
    aspect-ratio: 9 / 16;
    height: 480px;
}

.video-portrait iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.project-info {
    padding: 25px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 450px), 1fr));
    gap: 40px;
}

.testimonial-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--glass-shadow-hover);
    border-color: var(--accent-blue);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.neon-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 0 20px rgba(108, 92, 231, 0.5);
}

.client-name {
    font-size: 1.5rem;
    font-weight: 800;
}

.client-title {
    font-size: 0.9rem;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.testimonial-quote {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 30px;
}

.testimonial-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
}

.testimonial-link:hover {
    color: var(--accent-blue);
    gap: 15px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 30px;
}

.service-card {
    padding: 40px 30px;
    text-align: center;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card:hover {
    transform: translateY(-10px);
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: var(--glass-shadow-hover);
}

.service-card:hover h3 {
    color: #fff;
}

/* Connect Section (Social Grid) */
.objective-statement {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 80px;
    border-left: 4px solid var(--accent-purple);
    padding-left: 40px;
}

[dir="rtl"] .objective-statement {
    border-left: none;
    border-right: 4px solid var(--accent-purple);
    padding-left: 0;
    padding-right: 40px;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.social-card {
    padding: 30px 20px;
    text-align: center;
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

[data-theme="light"] .social-icon {
    background: rgba(0, 0, 0, 0.04);
}

.social-card:hover .social-icon {
    color: var(--accent-purple);
    transform: scale(1.1);
}

.social-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--glass-shadow-hover);
    border-color: var(--accent-purple);
}

.social-name {
    font-weight: 700;
    font-size: 1.1rem;
}

.social-action {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-fast);
}

.social-card:hover .social-action {
    color: var(--accent-blue);
}

/* Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--glass-border);
    margin-top: 50px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
}

.back-to-top {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.back-to-top:hover {
    transform: translateY(-5px);
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
}

/* ═══════════════════════════════════════════ */
/* CTA Block                                    */
/* ═══════════════════════════════════════════ */
.cta-block {
    text-align: center;
    padding: 80px 40px;
    margin-bottom: 80px;
    border-radius: 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

.cta-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(108, 92, 231, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.cta-title {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    position: relative;
}

.cta-sub {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    position: relative;
}

.cta-btn {
    font-size: 1.05rem;
    padding: 16px 44px;
    border-radius: 100px;
    position: relative;
}

.gallery-lightbox-img { cursor: pointer; }

/* Responsive Design Overrides */
@media (max-width: 1024px) {
    .hero {
        clip-path: none;
        padding-bottom: 60px;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }
    .hero-content {
        padding-right: 0;
    }
    [dir="rtl"] .hero-content {
        padding-left: 0;
    }
    .hero-eyebrow {
        justify-content: center;
    }
    .expertise-row {
        justify-content: center;
    }
    .hero-buttons {
        justify-content: center;
    }
    .trust-ticker-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .trust-divider {
        display: none;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 20px 0 0;
    }
    .objective-statement {
        border-left: none;
        border-top: 4px solid var(--accent-purple);
        padding-left: 0;
        padding-top: 40px;
    }
    [dir="rtl"] .objective-statement {
        border-right: none;
    }
}

@media (max-width: 768px) {
    .navbar {
        width: 95%;
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
    }
    .nav-links {
        display: none;
    }
    .section {
        padding: 80px 0;
    }
    .avatar-container {
        width: 300px;
        height: 300px;
    }
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .hero-stat-card {
        padding: 22px 14px;
    }
    .hero-stat-number {
        font-size: clamp(2rem, 7vw, 2.8rem);
    }
    .selected-works-grid {
        grid-template-columns: 1fr;
    }
    .work-card--video .work-media {
        height: 380px;
    }
    .cta-block {
        padding: 50px 20px;
    }
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Image Lightbox Overlay */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(6, 9, 19, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 0.4s, opacity 0.4s ease;
}

.lightbox.active {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.4s ease;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    object-fit: contain;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 2001;
}

.lightbox-close:hover {
    color: var(--accent-blue);
}

/* Micro-Interactions & Animation Classes */
.pop-reveal {
    opacity: 0;
    transform: scale(0.85) translateY(20px);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.6s ease;
}

.pop-reveal.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}
