@charset "utf-8";
/* CSS Document 

TemplateMo 603 Nexaverse

https://templatemo.com/tm-603-nexaverse

*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 🍊 الألوان الأساسية المعدلة للون البرتقالي */
    --primary: #FF8C00; /* برتقالي غامق - DarkOrange */
    --secondary: #FF4500; /* برتقالي أحمر - OrangeRed */
    --accent: #FFA07A; /* سلمون فاتح - LightSalmon */
    
    /* خلفيات داكنة جداً مع مسحة برتقالية/بنية */
    --dark-1: #1a0f02;
    --dark-2: #281b0f;
    --dark-3: #35271d;
    
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    
    /* ألوان التوهج المعدلة لتصبح برتقالية */
    --glow-cyan: rgba(255, 140, 0, 0.6); 
    --glow-magenta: rgba(255, 69, 0, 0.5); 
}

body {
    font-family: 'Outfit', sans-serif;
    /* تطبيق الخلفية الداكنة الجديدة */
    background: var(--dark-1); 
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Ambient Background */
.ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    /* تحديث تدرج التوهج إلى البرتقالي */
    background: radial-gradient(circle, var(--glow-cyan) 0%, transparent 70%);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    /* تحديث تدرج التوهج إلى البرتقالي الأحمر */
    background: radial-gradient(circle, var(--glow-magenta) 0%, transparent 70%);
    bottom: -150px;
    right: -150px;
    animation-delay: -7s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    /* تحديث لون التوهج الثالث */
    background: radial-gradient(circle, rgba(255, 160, 122, 0.3) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(50px, -30px) scale(1.05);
    }

    50% {
        transform: translate(-30px, 50px) scale(0.95);
    }

    75% {
        transform: translate(-50px, -20px) scale(1.02);
    }
}

/* The Background Grid Pattern Overlay */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    z-index: 1;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-1);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-ring {
    width: 80px;
    height: 80px;
    position: relative;
}

.loader-ring::before,
.loader-ring::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 2px solid transparent;
}

.loader-ring::before {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* تحديث لون الدوران إلى البرتقالي */
    border-top-color: var(--primary);
    border-right-color: var(--primary);
    animation: spin 1.2s linear infinite;
}

.loader-ring::after {
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    /* تحديث لون الدوران إلى البرتقالي الثانوي */
    border-bottom-color: var(--secondary);
    border-left-color: var(--secondary);
    animation: spin 0.8s linear infinite reverse;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-text {
    margin-top: 30px;
    font-family: 'Syne', sans-serif;
    font-size: 12px;
    letter-spacing: 4px;
    /* تحديث لون النص إلى البرتقالي */
    color: var(--primary);
    text-transform: uppercase;
}

/* Main Container */
.container {
    position: relative;
    z-index: 10;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 60px;
    opacity: 0;
    animation: fadeUp 0.8s ease-out 1s forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }

    from {
        transform: translateY(30px);
    }
}

.logo {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    position: relative;
}

.logo svg {
    width: 100%;
    height: 100%;
    /* تحديث ظل التوهج للشعار ليكون برتقالي */
    filter: drop-shadow(0 0 20px var(--glow-cyan));
}

.brand-name {
    font-family: 'Syne', sans-serif;
    font-size: 52px;
    font-weight: 600;
    letter-spacing: 6px;
    margin-bottom: 12px;
    /* تحديث التدرج اللوني لاسم العلامة التجارية إلى البرتقالي */
    background: linear-gradient(135deg, var(--primary) 0%, #ffffff 50%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
}

.tagline {
    font-size: 13px;
    letter-spacing: 5px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    font-weight: 300;
}

/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 204px);
    gap: 25px;
    margin: 0 auto 40px;
    justify-content: center;
}

.menu-item {
    height: 170px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Glossy effect overlay */
.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg,
                rgba(255, 255, 255, 0.12) 0%,
                rgba(255, 255, 255, 0.05) 40%,
                transparent 100%);
    border-radius: 24px 24px 0 0;
    pointer-events: none;
}

/* Glow ring on hover - removed, using cleaner border style */
.menu-item::after {
    display: none;
}

.menu-item:hover {
    transform: translateY(-10px) scale(1.02);
    /* تحديث لون الخلفية عند التمرير إلى البرتقالي الشفاف */
    background: rgba(255, 140, 0, 0.08);
    border-color: var(--primary);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        /* تحديث ظل التوهج عند التمرير إلى البرتقالي */
        0 0 30px rgba(255, 140, 0, 0.3);
}

.menu-item.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.menu-item.initial-load {
    animation: menuAppear 0.5s ease-out forwards;
}

.menu-item.initial-load:nth-child(1) {
    animation-delay: 1.1s;
}

.menu-item.initial-load:nth-child(2) {
    animation-delay: 1.2s;
}

.menu-item.initial-load:nth-child(3) {
    animation-delay: 1.3s;
}

.menu-item.initial-load:nth-child(4) {
    animation-delay: 1.4s;
}

.menu-item.initial-load:nth-child(5) {
    animation-delay: 1.5s;
}

.menu-item.initial-load:nth-child(6) {
    animation-delay: 1.6s;
}

@keyframes menuAppear {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Menu Badge - Replaces Icons */
.menu-badge {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Syne', sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
    /* تحديث تدرج الخلفية إلى البرتقالي والأحمر البرتقالي الشفاف */
    background: linear-gradient(135deg,
                rgba(255, 140, 0, 0.15) 0%,
                rgba(255, 69, 0, 0.15) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--primary);
    /* تحديث ظل النص إلى البرتقالي */
    text-shadow: 0 0 20px var(--glow-cyan);
    transition: all 0.4s ease;
}

/* Inner glossy shine */
.menu-badge::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 10%;
    right: 10%;
    height: 45%;
    background: linear-gradient(180deg,
                rgba(255, 255, 255, 0.3) 0%,
                transparent 100%);
    border-radius: 50%;
    pointer-events: none;
}

/* Animated ring */
.menu-badge::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: var(--primary);
    /* تحديث لون الحدود الدوارة إلى البرتقالي الشفاف */
    border-right-color: rgba(255, 140, 0, 0.5);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.menu-item:hover .menu-badge {
    /* تحديث خلفية شارة القائمة عند التمرير إلى البرتقالي الشفاف */
    background: linear-gradient(135deg,
                rgba(255, 140, 0, 0.2) 0%,
                rgba(255, 69, 0, 0.15) 100%);
    transform: scale(1.1);
    /* تحديث ظل التوهج لشارة القائمة عند التمرير إلى البرتقالي */
    box-shadow: 0 0 25px rgba(255, 140, 0, 0.3);
}

.menu-item:hover .menu-badge::after {
    opacity: 1;
    animation: badgeSpin 2s linear infinite;
}

@keyframes badgeSpin {
    to {
        transform: rotate(360deg);
    }
}

.menu-title {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.menu-item:hover .menu-title {
    color: #ffffff;
    letter-spacing: 4px;
}

/* Content Sections */
.content-section {
    display: none;
    opacity: 0;
    padding: 80px 20px;
    position: relative;
}

.content-section.active {
    display: block;
    animation: sectionIn 0.6s ease-out forwards;
}

@keyframes sectionIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Header Small */
.section-header-small {
    position: fixed;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 100;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 20px;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
}

.small-logo {
    width: 40px;
    height: 40px;
}

.small-logo svg {
    width: 100%;
    height: 100%;
    /* تحديث ظل التوهج للشعار الصغير ليكون برتقالي */
    filter: drop-shadow(0 0 10px var(--glow-cyan));
}

.small-brand h3 {
    font-family: 'Syne', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    /* تحديث لون النص إلى البرتقالي */
    color: var(--primary);
}

.small-brand p {
    font-size: 9px;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 2px;
}

/* Back Button */
.back-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 24px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
}

.back-btn:hover {
    /* تحديث لون الخلفية عند التمرير إلى البرتقالي الشفاف */
    background: rgba(255, 140, 0, 0.1);
    border-color: var(--primary);
    /* تحديث لون النص إلى البرتقالي */
    color: var(--primary);
    /* تحديث ظل التوهج إلى البرتقالي */
    box-shadow: 0 0 20px var(--glow-cyan);
}

/* Section Content */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-family: 'Syne', sans-serif;
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 15px;
    /* تحديث التدرج اللوني لعنوان القسم إلى البرتقالي */
    background: linear-gradient(135deg, var(--primary) 0%, #ffffff 50%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 2px;
}

/* Glass Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* ===== NEW INTRODUCTION SECTION STYLES ===== */

/* Hero Banner */
.intro-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
    padding: 40px 0;
}

.intro-hero-content {
    max-width: 550px;
}

.intro-badge {
    display: inline-block;
    padding: 8px 18px;
    /* تحديث لون الشارة إلى البرتقالي الشفاف */
    background: rgba(255, 140, 0, 0.1);
    border: 1px solid rgba(255, 140, 0, 0.3);
    border-radius: 50px;
    font-size: 12px;
    letter-spacing: 2px;
    /* تحديث لون النص إلى البرتقالي */
    color: var(--primary);
    margin-bottom: 25px;
}

.intro-headline {
    font-family: 'Syne', sans-serif;
    font-size: 52px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 25px;
    color: #ffffff;
}

.intro-headline span {
    /* تحديث التدرج اللوني للكلمات المميزة إلى البرتقالي */
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.intro-subtext {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 35px;
}

.intro-cta-group {
    display: flex;
    gap: 15px;
}

.intro-cta-primary {
    padding: 14px 32px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    /* تحديث لون الحدود إلى البرتقالي */
    border: 1px solid var(--primary);
    border-radius: 50px;
    /* تحديث لون النص إلى البرتقالي */
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.intro-cta-primary:hover {
    /* تحديث الخلفية وظل التوهج إلى البرتقالي */
    background: rgba(255, 140, 0, 0.15);
    box-shadow: 0 0 25px rgba(255, 140, 0, 0.3);
    transform: translateY(-2px);
}

.intro-cta-secondary {
    padding: 14px 32px;
    background: transparent;
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.intro-cta-secondary:hover {
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

/* Hero Visual */
.intro-hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.intro-orb {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    /* تحديث تدرج التوهج إلى البرتقالي */
    background: radial-gradient(circle at 30% 30%, rgba(255, 140, 0, 0.3), rgba(255, 160, 122, 0.2) 50%, transparent 70%);
    filter: blur(40px);
    animation: orbPulse 4s ease-in-out infinite;
}

@keyframes orbPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.intro-floating-card {
    position: absolute;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    animation: floatCard 6s ease-in-out infinite;
}

.intro-floating-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, transparent 100%);
    border-radius: 14px 14px 0 0;
    pointer-events: none;
}

.card-icon {
    font-size: 20px;
}

.card-text {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.5px;
}

.card-1 {
    top: 30px;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    animation-delay: -2s;
}

.card-3 {
    bottom: 30px;
    left: 20%;
    animation-delay: -4s;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.card-2 {
    animation-name: floatCardAlt;
}

@keyframes floatCardAlt {

    0%,
    100% {
        transform: translateY(-50%);
    }

    50% {
        transform: translateY(calc(-50% - 15px));
    }
}

/* Metrics Strip */
.intro-metrics {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    padding: 40px 50px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.intro-metrics::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.metric-item {
    text-align: center;
}

.metric-value {
    font-family: 'Syne', sans-serif;
    font-size: 42px;
    font-weight: 700;
    /* تحديث التدرج اللوني إلى البرتقالي */
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}

.metric-suffix {
    font-family: 'Syne', sans-serif;
    font-size: 28px;
    font-weight: 700;
    /* تحديث التدرج اللوني إلى البرتقالي */
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-label {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 8px;
    letter-spacing: 1px;
}

.metric-divider {
    width: 1px;
    height: 50px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

/* Core Values */
.intro-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 60px;
}

.value-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 35px 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.value-card:hover {
    transform: translateY(-8px);
    /* تحديث لون الحدود عند التمرير إلى البرتقالي الشفاف */
    border-color: rgba(255, 140, 0, 0.2);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.value-number {
    font-family: 'Syne', sans-serif;
    font-size: 48px;
    font-weight: 700;
    /* تحديث لون الرقم إلى البرتقالي الشفاف */
    color: rgba(255, 140, 0, 0.15);
    margin-bottom: 15px;
    line-height: 1;
}

.value-card h3 {
    font-family: 'Syne', sans-serif;
    font-size: 20px;
    font-weight: 600;
    /* تحديث لون العنوان إلى البرتقالي */
    color: var(--primary);
    margin-bottom: 12px;
}

.value-card p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
}

/* Tech Stack */
.intro-tech {
    text-align: center;
}

.tech-label {
    font-size: 12px;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.tech-marquee {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.tech-marquee::before,
.tech-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.tech-marquee::before {
    left: 0;
    /* تحديث لون التلاشي إلى لون الخلفية الجديد */
    background: linear-gradient(90deg, var(--dark-1), transparent);
}

.tech-marquee::after {
    right: 0;
    /* تحديث لون التلاشي إلى لون الخلفية الجديد */
    background: linear-gradient(-90deg, var(--dark-1), transparent);
}

.tech-track {
    display: flex;
    gap: 40px;
    animation: marquee 20s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.tech-item {
    font-family: 'Syne', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.3);
    white-space: nowrap;
    transition: color 0.3s ease;
}

.tech-item:hover {
    /* تحديث لون التمرير إلى البرتقالي */
    color: var(--primary);
}

/* Services Row Layout */
.services-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.service-row {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.service-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.service-row::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    /* تحديث تدرج الشريط الجانبي إلى البرتقالي */
    background: linear-gradient(180deg, var(--primary), var(--accent));
    border-radius: 20px 0 0 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-row:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    /* تحديث لون الحدود عند التمرير إلى البرتقالي الشفاف */
    border-color: rgba(255, 140, 0, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.service-row:hover::after {
    opacity: 1;
}

.service-row-icon {
    width: 240px;
    height: 180px;
    min-width: 140px;
    border-radius: 16px;
    /* تحديث تدرج الخلفية إلى البرتقالي الشفاف */
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.1), rgba(255, 160, 122, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.service-row-icon::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 10%;
    right: 10%;
    height: 40%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    border-radius: 12px 12px 50% 50%;
}

.service-row-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
}

.service-row-content {
    flex: 1;
}

.service-row-content h4 {
    font-family: 'Syne', sans-serif;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
    /* تحديث لون العنوان إلى البرتقالي */
    color: var(--primary);
}

.service-row-content p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.service-row-arrow {
    display: none;
}

/* Tabs */
.tabs-container {
    margin-bottom: 30px;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 12px 28px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, transparent 100%);
    border-radius: 50px 50px 0 0;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.tab-btn.active {
    /* تحديث خلفية الزر النشط إلى البرتقالي المتدرج */
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.2), rgba(255, 69, 0, 0.2));
    border-color: var(--primary);
    /* تحديث لون النص إلى البرتقالي */
    color: var(--primary);
    /* تحديث ظل التوهج إلى البرتقالي */
    box-shadow: 0 0 20px var(--glow-cyan);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: tabFade 0.4s ease-out;
}

@keyframes tabFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transition: all 0.4s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    /* تحديث لون الحدود عند التمرير إلى البرتقالي */
    border-color: var(--primary);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    /* تحديث لون التدرج السفلي إلى لون الخلفية الجديد */
    background: linear-gradient(transparent 40%, rgba(26, 15, 2, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    font-family: 'Syne', sans-serif;
    font-size: 16px;
    /* تحديث لون العنوان إلى البرتقالي */
    color: var(--primary);
    margin-bottom: 5px;
}

.gallery-overlay p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

/* Filter Buttons */
.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    /* تحديث الخلفية والحدود إلى البرتقالي الشفاف */
    background: rgba(255, 140, 0, 0.1);
    border-color: var(--primary);
    /* تحديث لون النص إلى البرتقالي */
    color: var(--primary);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.testimonial-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-family: 'Syne', sans-serif;
    font-size: 80px;
    /* تحديث لون الاقتباس الشفاف إلى البرتقالي */
    color: rgba(255, 140, 0, 0.1);
    line-height: 1;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    /* تحديث لون الحدود إلى البرتقالي */
    border: 2px solid var(--primary);
    /* تحديث ظل التوهج إلى البرتقالي */
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.2);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h5 {
    font-family: 'Syne', sans-serif;
    font-size: 14px;
    font-weight: 500;
    /* تحديث لون العنوان إلى البرتقالي */
    color: var(--primary);
}

.author-info p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text h3 {
    font-family: 'Syne', sans-serif;
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 20px;
    /* تحديث لون العنوان إلى البرتقالي */
    color: var(--primary);
}

.about-text p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-text a {
    /* تحديث لون الرابط إلى البرتقالي */
    color: var(--primary);
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.about-text a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    /* تحديث تدرج التسطير إلى البرتقالي */
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.3s ease;
}

.about-text a:hover {
    color: #ffffff;
    /* تحديث ظل التوهج عند التمرير إلى البرتقالي الشفاف */
    text-shadow: 0 0 10px rgba(255, 140, 0, 0.5);
}

.about-text a:hover::after {
    width: 100%;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    /* تحديث التدرج الشفاف إلى البرتقالي */
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.1), rgba(255, 160, 122, 0.1));
}

/* Contact Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    /* تحديث لون الحدود عند التركيز إلى البرتقالي */
    border-color: var(--primary);
    /* تحديث ظل التوهج عند التركيز إلى البرتقالي */
    box-shadow: 0 0 20px var(--glow-cyan);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    padding: 16px 40px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    /* تحديث لون النص إلى البرتقالي */
    color: var(--primary);
    font-family: 'Syne', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    border-radius: 50px 50px 0 0;
}

.submit-btn:hover {
    /* تحديث خلفية الزر عند التمرير إلى البرتقالي الشفاف */
    background: rgba(255, 140, 0, 0.1);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow:
        0 15px 30px rgba(0, 0, 0, 0.3),
        /* تحديث ظل التوهج إلى البرتقالي */
        0 0 30px rgba(255, 140, 0, 0.25);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    /* تحديث لون الحدود عند التمرير إلى البرتقالي */
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    /* تحديث تدرج الخلفية إلى البرتقالي الشفاف */
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.2), rgba(255, 160, 122, 0.2));
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    /* تحديث لون الأيقونة إلى البرتقالي */
    color: var(--primary);
    position: relative;
    overflow: hidden;
}

.contact-icon::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 10%;
    right: 10%;
    height: 40%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, transparent 100%);
    border-radius: 50%;
}

.contact-details h4 {
    font-family: 'Syne', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 5px;
}

.contact-details p {
    color: #ffffff;
    font-size: 15px;
}

/* Exit animations */
.menu-item.exit-up {
    animation: exitDown 0.5s ease-out forwards !important;
    pointer-events: none;
}

@keyframes exitDown {
    to {
        transform: translateY(50px);
        opacity: 0;
    }
}

.menu-item.return {
    animation: menuReturn 0.4s ease-out forwards !important;
}

@keyframes menuReturn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Footer */
.footer {
    margin-top: auto;
    padding: 30px 0;
    text-align: center;
    opacity: 0;
    animation: fadeUp 0.5s ease-out 1.7s forwards;
}

.footer p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
}

.footer a {
    /* تحديث لون الرابط إلى البرتقالي */
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}
html {
    /* Kaydırma animasyonunu yumuşak yapar */
    scroll-behavior: smooth; 
}






/* ===== RESPONSIVE DESIGN ===== */

.main-logo {
    max-width: 180px;
    height: auto;
}

/* Tablet */
@media (max-width: 991px) {
    .container {
        padding: 30px 15px;
    }

    .brand-name {
        font-size: 38px;
        letter-spacing: 3px;
        text-align: center;
    }

    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
        width: 100%;
        max-width: 520px;
        margin: 0 auto 30px;
    }

    .intro-hero,
    .about-content,
    .contact-grid,
    .intro-values,
    .gallery-grid,
    .testimonials-grid,
    .services-list {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .service-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .service-row-icon {
        width: 100%;
        min-width: 0;
        height: 220px;
    }

    .section-header-small,
    .back-btn {
        position: static;
        width: 100%;
        justify-content: center;
        margin-bottom: 15px;
    }

    .intro-headline {
        font-size: 38px;
    }

    .section-title {
        font-size: 30px;
    }
}

/* Phone */
@media (max-width: 767px) {
    body {
        overflow-x: hidden;
    }

    .container {
        padding: 20px 12px;
    }

    .header {
        margin-bottom: 35px;
    }

    .main-logo {
        max-width: 110px;
    }

    .center-container img,
    .header img {
        max-width: 110px;
        height: auto !important;
    }

    .brand-name {
        font-size: 22px;
        letter-spacing: 1px;
        line-height: 1.2;
        text-align: center;
    }

    .menu-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
        width: 100%;
        max-width: 280px;
        margin: 0 auto 25px;
        justify-content: center;
    }

    .menu-item {
        width: 100%;
        height: 115px;
        min-width: 0;
        border-radius: 18px;
    }

    .menu-badge {
        width: 48px;
        height: 48px;
        font-size: 18px;
        margin-bottom: 10px;
    }

    .menu-title {
        font-size: 10px;
        letter-spacing: 0.5px;
        line-height: 1.3;
        text-align: center;
    }

    .content-section {
        padding: 35px 10px;
    }

    .section-title {
        font-size: 24px;
        line-height: 1.3;
    }

    .section-header-small {
        padding: 10px 14px;
        gap: 8px;
    }

    .small-logo img {
        width: 32px;
        height: auto !important;
    }

    .small-brand h3 {
        font-size: 12px;
        letter-spacing: 1px;
    }

    .back-btn {
        padding: 10px 14px;
        font-size: 12px;
        width: 100%;
    }

    .section-header-small,
    .back-btn {
        position: static;
        width: 100%;
        justify-content: center;
        margin-bottom: 12px;
    }

    .intro-hero,
    .about-content,
    .contact-grid,
    .intro-values,
    .gallery-grid,
    .testimonials-grid,
    .services-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .intro-headline {
        font-size: 26px;
        line-height: 1.25;
    }

    .intro-subtext,
    .value-card p,
    .service-row-content p,
    .testimonial-text,
    .about-text p,
    .contact-details p {
        font-size: 14px;
        line-height: 1.6;
    }

    .intro-hero-visual {
        height: 220px;
    }

    .intro-floating-card {
        padding: 10px 14px;
    }

    .card-text {
        font-size: 11px;
    }

    .service-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .service-row-icon {
        width: 100%;
        min-width: 0;
        height: 180px;
    }

    .service-row-content h4 {
        font-size: 16px;
        line-height: 1.4;
    }

    .tab-buttons,
    .filter-buttons,
    .intro-cta-group {
        flex-direction: column;
        align-items: stretch;
    }

    .tab-btn,
    .filter-btn,
    .intro-cta-primary,
    .intro-cta-secondary {
        width: 100%;
        text-align: center;
        font-size: 12px;
        letter-spacing: 0.5px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 13px;
        padding: 14px 16px;
    }

    .submit-btn {
        width: 100%;
        font-size: 13px;
        letter-spacing: 1px;
    }

    .contact-item,
    .testimonial-card,
    .value-card,
    .service-row {
        padding: 18px;
    }
}

/* Very small phone */
@media (max-width: 480px) {
    .brand-name {
        font-size: 20px;
    }

    .intro-headline {
        font-size: 22px;
    }

    .section-title {
        font-size: 20px;
    }

    .menu-grid {
        max-width: 260px;
        gap: 12px;
    }

    .menu-item {
        height: 105px;
    }

    .menu-badge {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }

    .menu-title {
        font-size: 9px;
    }
}
.main-logo {
    max-width: 180px;
    height: auto;
}

@media (max-width: 767px) {
    .main-logo {
        max-width: 110px;
    }

    .brand-name {
        font-size: 24px;
        letter-spacing: 1px;
        line-height: 1.2;
        text-align: center;
    }

    .menu-grid {
        grid-template-columns: 1fr !important;
        width: 100%;
        max-width: 280px;
        margin: 0 auto 25px;
        gap: 14px;
    }

    .menu-item {
        width: 100%;
        height: 120px;
    }

    .menu-title {
        font-size: 10px;
        letter-spacing: 1px;
        text-align: center;
    }

    .container {
        padding: 20px 12px;
    }
}
/* زر الأدمن */
.admin-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px 22px;
    background: rgba(255, 140, 0, 0.1);
    border: 1px solid var(--primary);
    border-radius: 30px;
    color: var(--primary);
    font-size: 13px;
    letter-spacing: 2px;
    text-decoration: none;
    backdrop-filter: blur(10px);
    transition: 0.3s;
    z-index: 999;
}

.admin-btn:hover {
    background: rgba(255, 140, 0, 0.2);
    box-shadow: 0 0 15px rgba(255, 140, 0, 0.5);
}
/* مسافة بين عناصر الفورم */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.form-group {
    margin-bottom: 5px;
}
.success-box {
    background: #198754;
    color: white;
    padding: 12px 18px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    animation: fadeIn 0.5s ease;
        max-width: 400px;

}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.hata-kutu {
    background: #ff4d4d;
    color: white;
    padding: 10px;
    border-radius: 8px;
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
}