@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --bg-color: #0D0620;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.08);
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.72);
    --accent: #3FFC7A;
    --accent-dim: rgba(63, 252, 122, 0.15);
    --blue: #52DAFF;
    --yellow: #FCD83F;
    --red: #EF4C48;
    --purple: #1E0B35;
    --font-heading: 'Cairo', sans-serif;
    --font-body: 'Cairo', sans-serif;
    --font: 'Cairo', sans-serif;
    --container: 1200px;
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-full: 100px;
}

/* ======================================
   التهيئة الأساسية (Reset)
   ====================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-color);
    color: var(--text-secondary);
    overflow-x: hidden;
    line-height: 1.6;
}

.sec-container {
    width: 90%;
    max-width: var(--container);
    margin: 0 auto;
}

/* ======================================
   المكونات المشتركة (Shared Components)
   ====================================== */
.section-tag, .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.08); /* خلفية زجاجية شفافة كما في الصورة */
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1.5px solid rgba(255, 255, 255, 0.25); /* حدود بيضاء واضحة ورقيقة */
    border-radius: 100px;
    font-size: 0.98rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    z-index: 10;
}

.hero-badge {
    opacity: 0.7;
}

.section-tag::before, .badge-dot {
    content: '';
    width: 12px;
    height: 12px;
    background: #3FFC7A;
    border-radius: 50%;
    box-shadow: 0 0 18px #3FFC7A;
    display: inline-block;
}


.section-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1.2;
    margin-top: 10px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-footer {
    text-align: center;
    margin-top: 48px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s;
}

.text-link:hover {
    gap: 10px;
}

.gradient-text {
    background: linear-gradient(90deg, var(--accent), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ======================================
   الأزرار (Buttons)
   ====================================== */
.glow-btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, #16a382, var(--accent));
    color: var(--bg-color);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: var(--font);
    font-weight: 700;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 6px 25px rgba(63, 252, 122, 0.2);
    transition: all 0.35s;
    text-decoration: none;
}

.glow-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(63, 252, 122, 0.4);
}

.outline-btn {
    padding: 12px 24px;
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: var(--font);
    font-weight: 700;
    border-radius: var(--radius-sm);
}

.outline-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.4);
}

/* ======================================
   الشريط العلوي (Navbar)
   ====================================== */
.navbar {
    width: 100%;
    position: fixed;
    top: 20px;
    left: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 0 5vw;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.nav-hidden {
    transform: translateY(-120px);
}

.nav-content {
    pointer-events: auto;
    width: 100%;
    max-width: var(--container);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    background: rgba(13, 6, 32, 0.40);
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    transition: all 0.4s;
}

.navbar.scrolled .nav-content {
    background: rgba(13, 6, 32, 0.5);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.logo img {
    height: 44px;
    object-fit: contain;
}

.icon-btn {
    width: 44px;
    height: 44px;
    padding: 0 !important;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-btn.active .menu-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 16px);
    left: 20px;
    background: rgba(13, 6, 32, 0.85);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    width: 220px;
    padding: 12px 0;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px) scale(0.96);
    transform-origin: top left;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 100;
}

.dropdown-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
}

.menu-list li {
    opacity: 0;
    transform: translateX(15px);
    transition: all 0.3s ease;
}

.dropdown-menu.open .menu-list li {
    opacity: 1;
    transform: translateX(0);
}

.menu-list li:nth-child(1) { transition-delay: 0.08s; }
.menu-list li:nth-child(2) { transition-delay: 0.12s; }
.menu-list li:nth-child(3) { transition-delay: 0.16s; }
.menu-list li:nth-child(4) { transition-delay: 0.20s; }
.menu-list li:nth-child(5) { transition-delay: 0.24s; }
.menu-list li:nth-child(6) { transition-delay: 0.28s; }
.menu-list li:nth-child(7) { transition-delay: 0.32s; }

.menu-link {
    display: block;
    padding: 11px 24px;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.25s;
    border-right: 3px solid transparent;
}

.menu-link:hover {
    color: #fff;
    background: linear-gradient(90deg, rgba(63, 252, 122, 0.06), transparent);
    border-right-color: var(--accent);
    padding-right: 32px;
}

/* ======================================
   Hero Section
   ====================================== */
.hero-section {
    background: var(--bg-color);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-container {
    width: 90%;
    max-width: 860px;
    margin: 0 auto;
    padding: 160px 0 100px;
    position: relative;
    z-index: 2;
}

.hero-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.main-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 8px;
}

/* 3D Torus */
.torus-scene {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    width: 500px;
    height: 500px;
    pointer-events: none;
    z-index: 1;
    filter: blur(1.5px);
}

.torus {
    width: 100%;
    height: 100%;
    position: absolute;
    transform-style: preserve-3d;
    animation: torusSpin 12s linear infinite;
}

.torus-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 320px;
    height: 320px;
    margin: -160px 0 0 -160px;
    border: 3px solid rgba(63, 252, 122, 0.25);
    border-radius: 50%;
    transform-style: preserve-3d;
    box-shadow: 0 0 30px rgba(63, 252, 122, 0.12), inset 0 0 30px rgba(63, 252, 122, 0.06);
}

.torus-ring:nth-child(7), .torus-ring:nth-child(8), .torus-ring:nth-child(9) {
    border-color: rgba(82, 218, 255, 0.15);
    box-shadow: 0 0 20px rgba(82, 218, 255, 0.08), inset 0 0 20px rgba(82, 218, 255, 0.05);
}

.torus-ring:nth-child(1) { transform: rotateY(0deg); }
.torus-ring:nth-child(2) { transform: rotateY(30deg); }
.torus-ring:nth-child(3) { transform: rotateY(60deg); }
.torus-ring:nth-child(4) { transform: rotateY(90deg); }
.torus-ring:nth-child(5) { transform: rotateY(120deg); }
.torus-ring:nth-child(6) { transform: rotateY(150deg); }
.torus-ring:nth-child(7) { transform: rotateY(180deg); }
.torus-ring:nth-child(8) { transform: rotateY(210deg); }
.torus-ring:nth-child(9) { transform: rotateY(240deg); }
.torus-ring:nth-child(10) { transform: rotateY(270deg); }
.torus-ring:nth-child(11) { transform: rotateY(300deg); }
.torus-ring:nth-child(12) { transform: rotateY(330deg); }

.torus-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(63, 252, 122, 0.18) 0%, rgba(82, 218, 255, 0.1) 35%, rgba(30, 11, 53, 0.05) 60%, transparent 75%);
    border-radius: 50%;
    filter: blur(50px);
    animation: glowPulse 4s ease-in-out infinite;
}

/* Background Particles */
.bg-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.bg-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(63, 252, 122, 0.35);
    border-radius: 50%;
    animation: dotF 4s ease-in-out infinite;
}

.bg-dot:nth-child(even) {
    width: 5px;
    height: 5px;
    background: rgba(82, 218, 255, 0.3);
}

.bg-cross {
    position: absolute;
    width: 10px;
    height: 10px;
    opacity: 0.7;
    animation: crossF 8s ease-in-out infinite;
}

.bg-cross::before, .bg-cross::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.5);
}

.bg-cross::before { width: 10px; height: 1.5px; top: 4px; left: 0; }
.bg-cross::after { width: 1.5px; height: 10px; top: 0; left: 4px; }

.bg-ring {
    position: absolute;
    width: 14px;
    height: 14px;
    border: 1px solid rgba(252, 216, 63, 0.5);
    border-radius: 50%;
    animation: ringF 10s ease-in-out infinite;
}

/* ======================================
   About Section — Vertical Marquee
   ====================================== */
.about-section {
    padding: 120px 0 160px;
    overflow: hidden;
    position: relative;
    background: radial-gradient(circle at top, rgba(6, 11, 40, 1) 0%, #05051a 100%);
}

.about-hub-wrapper {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 60px;
}

.about-hub-visual {
    position: relative;
    width: 440px;
    height: 520px;
    flex-shrink: 0;
}

/* About Section New Visual (GIF Arch) */
.about-arch-frame {
    width: 100%;
    height: 100%;
    background: rgba(13, 6, 32, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 220px 220px 40px 40px; /* Arch shape */
    padding: 15px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 
                inset 0 0 40px rgba(63, 252, 122, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.about-gif {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 205px 205px 25px 25px;
    opacity: 0.85;
    transition: opacity 0.5s ease;
}

.about-arch-frame:hover .about-gif {
    opacity: 1;
}

/* About Section Text Content (New) */
.about-content-new {
    flex: 1;
    max-width: 580px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: right;
}

.about-badge-new {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 24px;
    border-radius: 100px;
    width: fit-content;
    backdrop-filter: blur(5px);
}

.about-badge-new span {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}

.badge-dot {
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--accent);
}

.about-desc-new {
    font-size: 1.35rem;
    line-height: 1.7;
    color: var(--text-primary);
    font-weight: 500;
}

.about-cta-new {
    width: fit-content;
    padding: 15px 35px;
    border-radius: 16px;
}



.about-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
    position: relative;
    z-index: 20;
}

.stat-card {
    background: rgba(13, 6, 32, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 15px rgba(63, 252, 122, 0.1);
}

.stat-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
}

.stat-num {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    letter-spacing: -1px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-card:hover .stat-num {
    color: var(--accent);
    transform: scale(1.1) translateY(-5px);
}

.stat-label {
    font-size: 1.05rem;
    color: var(--text-secondary);
    font-weight: 600;
    line-height: 1.4;
}

/* ======================================
   Services Section
   ====================================== */
.services-section {
    padding: 100px 0;
}

.section-heading-large {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: var(--text-primary);
    margin: 15px 0 20px;
    line-height: 1.2;
    text-align: center;
}
.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 40px;
    text-align: center;
    line-height: 1.6;
}

/* Tabs Navigation */
.services-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px;
    border-radius: 100px;
    width: fit-content;
    margin: 0 auto 50px;
    flex-wrap: wrap;
}
.s-tab {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.s-tab:hover {
    color: var(--text-primary);
}
.s-tab.active {
    background: var(--text-primary);
    color: #05051a; 
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

/* Tab Content */
.services-tab-content {
    background: rgba(13, 6, 32, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

.s-tab-pane {
    display: none;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    padding: 60px;
    animation: fadeUpIn 0.5s ease forwards;
}
.s-tab-pane.active {
    display: grid;
}

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

.s-pane-text h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 15px;
}
.s-pane-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
}

.s-benefits span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 20px;
}
.s-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.s-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    color: var(--text-primary);
    font-weight: 500;
}
.s-benefits li svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

/* Visual Mock UI Box */
.s-pane-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}
.mock-window {
    width: 100%;
    max-width: 380px;
    background: rgba(5, 5, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}
.mock-header {
    background: rgba(255, 255, 255, 0.02);
    padding: 12px 15px;
    display: flex;
    gap: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.mock-header .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.mock-header .dot.red { background: #FF5F56; }
.mock-header .dot.yellow { background: #FFBD2E; }
.mock-header .dot.green { background: #27C93F; }

.mock-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}
.mock-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
}
.mock-icon.green { background: rgba(63, 252, 122, 0.1); color: #3FFC7A; }
.mock-icon.blue { background: rgba(82, 218, 255, 0.1); color: #52DAFF; }
.mock-icon.yellow { background: rgba(252, 216, 63, 0.1); color: #FCD83F; }

.mock-body h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}
.mock-line {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
}
.mock-line.short {
    width: 60%;
}

.mock-task {
    margin-top: 15px;
    background: rgba(63, 252, 122, 0.05);
    border: 1px solid rgba(63, 252, 122, 0.15);
    padding: 14px 16px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    width: 100%;
}
.mock-task svg {
    width: 18px;
    height: 18px;
}

/* ======================================
   Values Section
   ====================================== */
.values-section {
    padding: 100px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.value-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.35s;
}

.value-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-4px);
}

.v-icon {
    width: 46px;
    height: 46px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

/* ======================================
   News Section
   ====================================== */
.news-section {
    padding: 100px 0;
}

.news-featured-full {
    display: flex;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 50px;
    transition: all 0.35s;
}

.news-featured-full:hover {
    border-color: rgba(255, 255, 255, 0.14);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.nff-img {
    flex: 1;
    position: relative;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nff-img > div {
    position: relative !important;
}

.nff-body {
    flex: 1.2;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
}

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

.news-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.35s;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    border-color: rgba(255, 255, 255, 0.14);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.news-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.news-tag {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 6px;
}
.news-small .news-body { padding: 0; }
.news-small-img {
    width: 60px; height: 60px; border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center; color: var(--accent); flex-shrink: 0;
}

/* News Hover Cursor */
.news-hover-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 95px;
    height: 95px;
    background: rgba(255, 255, 255, 0.95);
    color: #05051a;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    text-align: center;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    gap: 4px;
}
.news-hover-cursor.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* ======================================
   CTA Section
   ====================================== */
.cta-section {
    padding: 80px 0;
}

.cta-inner {
    background: linear-gradient(135deg, rgba(63, 252, 122, 0.06) 0%, rgba(82, 218, 255, 0.04) 100%);
    border: 1px solid rgba(63, 252, 122, 0.15);
    border-radius: var(--radius-lg);
    padding: 70px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.cta-inner::before {
    content: '';
    position: absolute;
    top: -80px; left: 50%; transform: translateX(-50%);
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(63, 252, 122, 0.12), transparent 70%);
    filter: blur(40px); pointer-events: none;
}

/* ======================================
   Footer
   ====================================== */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 70px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr;
    gap: 50px;
    padding-bottom: 50px;
}

.footer-brand { display: flex; flex-direction: column; align-items: flex-start; }
.footer-logo { height: 55px; margin-bottom: 20px; object-fit: contain; }
.footer-brand p { font-size: 0.88rem; line-height: 1.8; color: var(--text-secondary); max-width: 320px; margin-bottom: 25px; }

.footer-links h4, .footer-contact h4 {
    color: var(--text-primary);
    margin-bottom: 22px;
    font-size: 1.1rem;
    font-weight: 700;
}

.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 0.9rem; color: var(--text-secondary); text-decoration: none; transition: all 0.25s; }
.footer-links a:hover { color: var(--accent); transform: translateX(-5px); }

.footer-contact { display: flex; flex-direction: column; gap: 8px; }
.footer-contact-item {
    display: flex; align-items: center; gap: 12px; font-size: 0.88rem;
    color: var(--text-secondary); text-decoration: none; padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); transition: all 0.25s;
}
.footer-contact-item:hover { color: var(--accent); }

.social-links { display: flex; gap: 12px; margin-top: 5px; }
.social-btn {
    width: 40px; height: 40px; background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border); border-radius: 10px;
    display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, 0.7);
    text-decoration: none; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.social-btn:hover {
    background: var(--accent-dim);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid var(--border); padding: 20px 0;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.82rem; color: rgba(255, 255, 255, 0.35);
}

.footer-legal { display: flex; gap: 12px; align-items: center; }
.footer-legal a { color: rgba(255, 255, 255, 0.35); text-decoration: none; }

/* ======================================
   Inner Pages Styles
   ====================================== */
.page-header {
    padding: 180px 0 80px;
    background: radial-gradient(circle at center top, rgba(63, 252, 122, 0.05), transparent 60%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(63, 252, 122, 0.03) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.page-header .sec-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-title { 
    font-size: clamp(2.5rem, 5vw, 4rem); 
    font-weight: 900; 
    margin-bottom: 20px; 
    letter-spacing: -1px;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.6) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
    background: rgba(255, 255, 255, 0.02);
    padding: 12px 30px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}
.page-content { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 50px; }

/* ======================================
   Animations
   ====================================== */
@keyframes torusSpin {
    0% { transform: rotateX(55deg) rotateZ(0deg); }
    100% { transform: rotateX(55deg) rotateZ(360deg); }
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes dotF {
    0%, 100% { transform: translateY(0); opacity: 0.3; }
    50% { transform: translateY(-18px); opacity: 0.6; }
}

@keyframes crossF {
    0%, 100% { transform: translateY(0) rotate(0); opacity: 0.3; }
    50% { transform: translateY(-12px) rotate(45deg); opacity: 0.25; }
}

@keyframes ringF {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
    50% { transform: translateY(-15px) scale(1.15); opacity: 0.5; }
}

/* ======================================
   Media Queries (Consolidated)
   ====================================== */
@media (max-width: 1024px) {
    .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1000px) {
    .about-hub-wrapper { flex-direction: column; gap: 40px; }
    .about-center { align-items: center; text-align: center; max-width: 750px; padding: 0 20px; }
}

@media (max-width: 900px) {
    .s-tab-pane { grid-template-columns: 1fr; gap: 40px; padding: 40px; }
    .services-tabs { border-radius: 16px; overflow-x: auto; justify-content: flex-start; padding: 10px; max-width: 100%; -webkit-overflow-scrolling: touch; }
    .s-tab { white-space: nowrap; padding: 10px 20px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1/-1; }
    .news-grid { grid-template-columns: 1fr 1fr; }
    .news-featured-full { flex-direction: column; }
    .nff-img { min-height: 250px; }
    .nff-body { padding: 30px; }
}

@media (max-width: 768px) {
    .hero-container { padding: 130px 0 60px; }
    .hero-actions { flex-direction: column; width: 100%; }
    .glow-btn, .outline-btn { width: 100%; justify-content: center; }

    /* Navbar Mobile Layout Refined */
    .navbar {
        top: 15px;
        padding: 0 15px;
    }
    .nav-content {
        padding: 10px 15px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        background: rgba(13, 6, 32, 0.95);
        border-radius: 20px;
    }
    .icon-btn {
        width: 50px;
        height: 50px;
        flex: none;
        margin-right: 0;
        border-radius: 14px;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        background: rgba(255, 255, 255, 0.05);
    }
    .logo img {
        height: 50px;
        width: auto;
        max-width: 160px;
        object-fit: contain;
        border-radius: 14px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        padding: 5px;
    }
    .dropdown-menu {
        width: calc(100% - 30px);
        left: 15px;
        right: 15px;
        top: calc(100% + 15px);
        transform-origin: top;
    }

    /* About Section - Tablet */
    .about-section { padding: 80px 0 60px; }
    .about-hub-wrapper { gap: 35px; flex-direction: column !important; }
    .about-hub-visual { width: 100%; max-width: 380px; height: 450px; }
    .about-content-new { gap: 15px; max-width: 90%; padding: 0 15px; align-items: center; text-align: center; }
    .about-desc-new { font-size: 1.1rem; line-height: 1.7; max-width: 100%; }
    .about-cta-new { width: 100%; justify-content: center; }
    .about-stats-row { grid-template-columns: repeat(2, 1fr); margin-top: 20px; gap: 15px; }
    .stat-card { padding: 25px 15px; }
    .stat-num { font-size: 1.8rem; }
    .stat-label { font-size: 0.8rem; }
    .page-header { padding: 140px 0 60px; }
    .page-content { padding: 30px 20px; }
}

@media (max-width: 600px) {
    .services-section, .values-section, .cta-section { padding: 70px 0; }
    .s-tab-pane { padding: 30px 20px; gap: 30px; }
    .s-pane-text h3 { font-size: 1.6rem; }
    .values-grid, .footer-grid, .news-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }

    /* About Section - Mobile */
    .about-section { padding: 60px 0 50px; }
    .about-hub-wrapper { gap: 30px; margin-bottom: 20px; flex-direction: column !important; }
    .about-hub-visual { width: 100%; max-width: 300px; height: 380px; }
    .about-content-new { gap: 14px; max-width: 100%; padding: 0 20px; align-items: center; text-align: center; }
    .about-desc-new { font-size: 1rem; line-height: 1.65; }
    .about-cta-new { width: 100%; justify-content: center; }
    .about-stats-row { margin-top: 15px; gap: 12px; }
    .stat-card { padding: 20px 12px; border-radius: 18px; gap: 14px; }
    .stat-num { font-size: 2.2rem; }
    .stat-label { font-size: 0.85rem; }
    .stat-content { gap: 8px; }
}

@media (max-width: 420px) {
    /* About Section - Small Phone */
    .about-section { padding: 40px 0 30px; }
    .about-hub-visual { width: 100%; max-width: 260px; height: 320px; }
    .about-content-new { gap: 10px; padding: 0 15px; align-items: center; text-align: center; }
    .about-desc-new { font-size: 0.95rem; line-height: 1.6; }
    .about-stats-row { grid-template-columns: repeat(2, 1fr); margin-top: 10px; gap: 10px; }
    .stat-card { padding: 16px 10px; border-radius: 14px; gap: 10px; }
    .stat-num { font-size: 1.8rem; }
    .stat-label { font-size: 0.8rem; }
}

/* ======================================
   إحصائيات مجالات العمل (Services Stats)
   ====================================== */
.service-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 25px;
}

.s-stat-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.s-stat-item:hover {
    background: rgba(63, 252, 122, 0.05);
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.s-stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.s-stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.4;
}

@media (max-width: 600px) {
    .service-stats-grid {
    }
}

/* ======================================
   شبكة كروت مجالات العمل (Services Cards Grid)
   ====================================== */
.services-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card-main {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 35px 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card-main:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.s-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.s-card-icon.coral { background: rgba(255, 75, 75, 0.1); color: #FF4B4B; }
.s-card-icon.blue { background: rgba(82, 218, 255, 0.1); color: #52DAFF; }
.s-card-icon.yellow { background: rgba(252, 216, 63, 0.1); color: #FCD83F; }

.card-coral .s-stat-num {
    color: #FF4B4B;
}

.card-blue .s-stat-num {
    color: #52DAFF;
}

.card-yellow .s-stat-num {
    color: #FCD83F;
}

.service-card-main h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: #fff;
    font-weight: 800;
}

.service-card-main p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex-grow: 1;
}

/* تعديل شبكة الإحصائيات داخل الكرت */
.service-card-main .service-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 10px;
}

.service-card-main .s-stat-item {
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
}

@media (max-width: 1024px) {
    .services-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-cards-grid {
        grid-template-columns: 1fr;
    }
    .service-card-main {
        padding: 30px 20px;
    }
}

/* ======================================
   قسم الشركات الناشئة (Startups Section)
   ====================================== */
.startups-section {
    padding: 100px 0;
    background: rgba(13, 6, 32, 0.3);
    overflow: hidden;
}

.logos-marquee {
    width: 100%;
    margin-top: 60px;
    position: relative;
    padding: 20px 0;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-content {
    display: flex;
    gap: 80px;
    width: max-content;
    animation: scrollLogos 25s linear infinite;
}

.logo-item {
    width: 180px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(1) brightness(2);
    opacity: 0.5;
    transition: all 0.4s ease;
}

.logo-item:hover {
    opacity: 1;
    transform: scale(1.15);
}

.logo-item img {
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
}

@keyframes scrollLogos {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-33.33% - 26.6px)); } /* تعديل دقيق للقسم المكرر (3 مجموعات) */
}


@media (max-width: 768px) {
    .startups-section { padding: 60px 0; }
    .marquee-content { gap: 40px; }
    .logo-item { width: 140px; }
}

/* ======================================
   مؤشر الماوس المخصص (Custom Cursor)
   ====================================== */
@media (min-width: 1025px) {
    body, a, button, .glow-btn, .outline-btn, .icon-btn, .menu-link, .news-card {
        cursor: none !important;
    }

    .custom-cursor {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        z-index: 999999;
    }

    #cursor-dot {
        position: fixed;
        width: 8px;
        height: 8px;
        background-color: var(--accent);
        border-radius: 50%;
        pointer-events: none;
        z-index: 1000000;
        transform: translate(-50%, -50%);
        transition: width 0.3s, height 0.3s, opacity 0.3s;
    }

    #cursor-outline {
        position: fixed;
        width: 30px;
        height: 30px;
        border: 2px solid var(--accent);
        border-radius: 50%;
        pointer-events: none;
        z-index: 999999;
        transform: translate(-50%, -50%);
        transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                    height 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                    background-color 0.3s, border-color 0.3s;
    }

    #cursor-outline.expand {
        width: 60px;
        height: 60px;
        background-color: rgba(63, 252, 122, 0.1);
        border-color: rgba(63, 252, 122, 0.5);
    }
}

@media (max-width: 1024px) {
    .custom-cursor {
        display: none;
    }
}

/* ======================================
   Vision & Mission Section (Inner Pages)
   ====================================== */
.vm-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 50px 0;
}

.vm-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 45px 35px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.vm-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(63, 252, 122, 0.4);
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.vm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

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

.vm-icon {
    width: 60px;
    height: 60px;
    background: rgba(63, 252, 122, 0.1);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 10px;
}

.vm-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.vm-content h3 {
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    margin: 0;
}

.vm-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0;
}

@media (max-width: 900px) {
    .vm-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .vm-card {
        padding: 35px 25px;
    }
}

/* ======================================
   Goals Section (Inner Pages)
   ====================================== */
.goals-section {
    padding: 100px 0;
    background: radial-gradient(circle at bottom left, rgba(82, 218, 255, 0.05), transparent 40%);
}

.goal-badge {
    color: var(--blue);
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    display: block;
    font-family: var(--font-heading);
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.goal-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 28px;
    padding: 40px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: row; /* الرقم على اليمين في RTL افتراضياً */
    justify-content: space-between;
    gap: 25px;
    backdrop-filter: blur(5px);
}

.goal-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(82, 218, 255, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.goal-number {
    width: 50px;
    height: 50px;
    background: rgba(82, 218, 255, 0.1);
    color: var(--blue);
    border: 1px solid rgba(82, 218, 255, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 900;
    flex-shrink: 0;
    font-family: var(--font-heading);
}

.goal-content {
    flex: 1;
}

.goal-content h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.goal-content p {
    font-size: 0.98rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0;
}

/* التنسيق الخاص بالكرت الثالث ليظهر في العمود الثاني */
.goal-card:nth-child(3) {
    grid-column: 1; /* في نظام RTL، العمود الأول هو الأيمن */
}

@media (max-width: 900px) {
    .goals-grid {
        grid-template-columns: 1fr;
    }
    .goal-card {
        padding: 30px 20px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .goal-card:nth-child(3) {
        grid-column: auto;
    }
}