:root {
    --bg-dark: #0f172a;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --primary: #3b82f6;
    --primary-glow: rgba(59, 130, 246, 0.5);
    --secondary: #8b5cf6;
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    filter: blur(100px);
    border-radius: 50%;
    animation: float 20s infinite alternate ease-in-out;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: -100px;
    left: -100px;
    opacity: 0.4;
}

.blob-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    bottom: -200px;
    right: -100px;
    opacity: 0.3;
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

/* Navbar (Glassmorphism) */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 1rem 5%;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--primary);
}

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-main);
}

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

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-main);
    border-radius: 3px;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    padding-top: 80px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-content h1 span {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.cta-group {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
    background: #2563eb;
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(16px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 400px;
}

.mockup-header {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot.red { background: #ef4444; }
.dot.yellow { background: #eab308; }
.dot.green { background: #22c55e; }

.mockup-body {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.line {
    height: 10px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
}

.line-1 { width: 80%; }
.line-2 { width: 60%; }
.line-3 { width: 90%; }

#globe-container{
    height: 800px;
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s ease;
    }
    .nav-links.active { right: 0; }
    .hero {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        gap: 4rem;
        padding-top: 120px;
    }
    .hero-content h1 { font-size: 2.5rem; }
    .cta-group { justify-content: center; }
    .glass-card { transform: none; }
    #globe-container{
        height: 500px;
    }
}

/* General Sections */
.section-padding {
    padding: 100px 5%;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-header h2 span {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.2);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* About Section */
.about-container {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.about-content h2 span {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item h4 {
    font-size: 2.5rem;
    color: var(--text-main);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--primary);
    margin: 0;
}

.about-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.stat-card {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
    height: 100px;
}

.stat-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 4px solid var(--secondary);
    border-top-color: transparent;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.stat-lines {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.s-line {
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
}
.s-line-1 { width: 100%; }
.s-line-2 { width: 70%; }
.s-line-3 { width: 40%; }

/* Contact Section */
.contact-container {
    display: flex;
    justify-content: center;
}

.contact-form {
    width: 100%;
    max-width: 600px;
    padding: 2.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-main);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23ffffff' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}

[dir="rtl"] .form-group select {
    background-position: left 1rem center;
    padding-right: 1rem;
    padding-left: 3rem;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
}

.form-group option {
    background: var(--bg-dark);
    color: var(--text-main);
}

.btn-block {
    width: 100%;
    margin-top: 1rem;
}

/* Responsive updates for new sections */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }
    .stats {
        justify-content: center;
    }
    .contact-form {
        padding: 1.5rem;
    }
}

/* Solutions Section */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.solution-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(139, 92, 246, 0.2);
}

.solution-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.solution-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.solution-features {
    list-style: none;
    margin-bottom: 2rem;
}

.solution-features li {
    color: var(--text-main);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.btn-sm {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    display: inline-block;
}

/* Footer */
.footer {
    background: rgba(15, 23, 42, 0.9);
    border-top: 1px solid var(--glass-border);
    padding: 4rem 5% 2rem;
    margin-top: 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 1rem;
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-links h4,
.footer-social h4 {
    color: var(--text-main);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

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

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links a,
.social-icons a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.social-icons a:hover {
    color: var(--primary);
}

.social-icons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Language Toggle Button */
.lang-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 0.9rem;
    margin-left: 1rem;
}

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

/* RTL Support for Arabic */
[dir="rtl"] body {
    font-family: 'Cairo', sans-serif;
}

.form-status{
    margin: 20px 0px 0px 0px ; 
}


/* Container & Base Shapes */
.about-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 450px;
}

.visual-composition {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: 400px;
}

/* Glowing background orb to make the glass pop */
.glow-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background: var(--primary, #3b82f6);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    z-index: 0;
}

/* Base Glass Card (Ensure this matches your existing root styles) */
.vglass-card {
    background: var(--glass-bg, rgba(255, 255, 255, 0.05));
    border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.1));
    border-radius: 16px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: absolute;
}

/* --- Layer 1: Dashboard Mockup --- */
.dash-mockup {
    top: 10%;
    left: 0;
    width: 75%;
    height: 220px;
    padding: 15px;
    z-index: 1;
    animation: floatSlow 6s ease-in-out infinite;
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.window-dots {
    display: flex;
    gap: 5px;
}

.window-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.window-dots span:nth-child(1) { background: #ff5f56; }
.window-dots span:nth-child(2) { background: #ffbd2e; }
.window-dots span:nth-child(3) { background: #27c93f; }

.mockup-title {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.chart-container {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 80px;
    margin-bottom: 15px;
}

.chart-bar {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px 4px 0 0;
    height: var(--h);
    transition: height 0.5s ease;
}

.chart-bar.highlight {
    background: var(--secondary, #10b981); /* Use your secondary/accent color here */
}

.data-lines .d-line {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-bottom: 8px;
}
.data-lines .w-full { width: 100%; }
.data-lines .w-half { width: 60%; }


/* --- Layer 2: Mobile Mockup --- */
.mobile-mockup {
    bottom: 5%;
    right: 5%;
    width: 35%;
    height: 280px;
    padding: 15px;
    border-radius: 24px;
    z-index: 2;
    background: rgba(0, 0, 0, 0.4); /* Slightly darker to stand out */
    border: 1px solid rgba(255, 255, 255, 0.15);
    animation: floatFast 4s ease-in-out infinite;
}

.mobile-notch {
    width: 40%;
    height: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0 0 10px 10px;
    margin: -15px auto 15px auto;
}

.mobile-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.m-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    margin-bottom: 5px;
}

.m-line {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
.m-line.w-3\/4 { width: 75%; }
.m-line.w-1\/2 { width: 50%; }

.m-card {
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-top: 5px;
}


/* --- Layer 3: Global Badge --- */
.global-badge {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 3;
    border-radius: 50px; /* Pill shape */
    animation: floatSlow 5s ease-in-out infinite reverse;
}

.badge-icon {
    font-size: 1.5rem;
}

.badge-info {
    display: flex;
    flex-direction: column;
}

.b-title {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
}

.b-val {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
}

/* Animations */
@keyframes floatSlow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes floatFast {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .visual-composition {
        transform: scale(0.9);
        margin-top: 20px;
    }
}