/* ============================================
   REGISTFY – PREMIUM DARK THEME DESIGN SYSTEM
   ============================================ */

/* === RESET & BASE === */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --bg-primary: #050a18;
    --bg-secondary: #0a0f1c;
    --bg-card: rgba(15, 23, 42, 0.6);
    --bg-card-hover: rgba(20, 30, 55, 0.8);
    --bg-glass: rgba(15, 23, 42, 0.5);
    --border-glass: rgba(59, 130, 246, 0.15);
    --border-glass-hover: rgba(59, 130, 246, 0.3);

    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --accent-blue: #3b82f6;
    --accent-blue-light: #60a5fa;
    --accent-purple: #8b5cf6;
    --accent-cyan: #06b6d4;
    --accent-green: #10b981;
    --accent-orange: #f59e0b;
    --accent-rose: #f43f5e;

    --gradient-primary: linear-gradient(135deg, #3b82f6, #8b5cf6);
    --gradient-hero: linear-gradient(135deg, #050a18 0%, #0d1b3e 50%, #0a0f1c 100%);
    --gradient-card: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 120px 0;
    --container-width: 1200px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Borders */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* === LOGO IMAGE === */
.logo-img {
    width: 88px;
    height: 88px;
    border-radius: 8px;
    object-fit: contain;
    transition: transform var(--transition-fast);
}

.nav-logo:hover .logo-img {
    transform: scale(1.1) rotate(-5deg);
}

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

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* === GRADIENT TEXT === */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::after {
    left: 100%;
}

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

.btn-outline:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--accent-blue);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* === SECTION HEADERS === */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50px;
    color: var(--accent-blue-light);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* === ANIMATIONS === */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Varied entry animations */
.animate-on-scroll.slide-left {
    transform: translateX(-40px);
}

.animate-on-scroll.slide-right {
    transform: translateX(40px);
}

.animate-on-scroll.scale-up {
    transform: scale(0.9);
}

.animate-on-scroll.slide-left.visible,
.animate-on-scroll.slide-right.visible,
.animate-on-scroll.scale-up.visible {
    transform: translateX(0) scale(1);
}

/* ==========================================
   NAVBAR
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 14px 0;
    transition: all var(--transition-normal);
    background: rgba(5, 10, 24, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
}

.navbar.scrolled {
    padding: 14px 0;
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-icon {
    display: flex;
}

.nav-menu {
    display: flex;
    gap: 8px;
}

.nav-link {
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: rgba(59, 130, 246, 0.1);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition-normal);
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

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

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/hero-bg.png') center / cover no-repeat;
    opacity: 0.6;
    z-index: 0;
    animation: heroZoom 25s ease-in-out infinite alternate;
    transform: scale(1);
}


.hero-bg-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(5, 10, 24, 0.3) 0%, transparent 20%, transparent 70%, rgba(5, 10, 24, 0.7) 100%);
    pointer-events: none;
}

@keyframes heroZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.05);
    }
}

#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
}

.hero-glow-1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.22) 0%, transparent 70%);
    top: -180px;
    right: -150px;
    animation: glowPulse 8s ease-in-out infinite;
}

.hero-glow-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.18) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    animation: glowPulse 10s ease-in-out infinite reverse;
}

.hero-glow-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, transparent 70%);
    top: 30%;
    left: 20%;
    animation: glowPulse 14s ease-in-out infinite 3s;
}

/* Aurora sweep overlay */
.hero-aurora {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-aurora::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 60%;
    top: 10%;
    left: -50%;
    background: linear-gradient(105deg,
            transparent 20%,
            rgba(59, 130, 246, 0.06) 35%,
            rgba(139, 92, 246, 0.08) 50%,
            rgba(6, 182, 212, 0.06) 65%,
            transparent 80%);
    border-radius: 50%;
    animation: auroraSlide 16s ease-in-out infinite;
    filter: blur(40px);
}

.hero-aurora::after {
    content: '';
    position: absolute;
    width: 160%;
    height: 50%;
    bottom: 5%;
    left: -30%;
    background: linear-gradient(75deg,
            transparent 15%,
            rgba(139, 92, 246, 0.07) 35%,
            rgba(59, 130, 246, 0.09) 55%,
            transparent 75%);
    border-radius: 50%;
    animation: auroraSlide 20s ease-in-out infinite reverse 4s;
    filter: blur(50px);
}

@keyframes auroraSlide {

    0%,
    100% {
        transform: translateX(0) scaleY(1);
    }

    33% {
        transform: translateX(8%) scaleY(1.1);
    }

    66% {
        transform: translateX(-6%) scaleY(0.95);
    }
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-blue-light);
    letter-spacing: 0.5px;
    margin-bottom: 32px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8), 0 0 60px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #e2e8f0;
    margin-bottom: 12px;
    min-height: 2em;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.9);
    font-weight: 500;
}

.typing-cursor {
    animation: blink 1s infinite;
    color: var(--accent-blue);
    font-weight: 300;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero-desc {
    color: #94a3b8;
    font-size: 1rem;
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

/* Hero inline trust strip */
.hero-trust {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    padding: 14px 32px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(59, 130, 246, 0.18);
    border-radius: 60px;
    backdrop-filter: blur(12px);
    animation: trustFadeUp 1s ease 0.8s both;
}

@keyframes trustFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.trust-num {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.trust-lbl {
    font-size: 0.68rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.trust-divider {
    width: 1px;
    height: 32px;
    background: rgba(59, 130, 246, 0.2);
}

/* Kept for possible reuse */
.partner-logo:hover {
    opacity: 0.85;
}

.partner-logo span {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
    animation: float 3s ease-in-out infinite;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(148, 163, 184, 0.3);
    border-radius: 12px;
    position: relative;
}

.scroll-dot {
    width: 3px;
    height: 8px;
    background: var(--accent-blue);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
    0% {
        top: 6px;
        opacity: 1;
    }

    100% {
        top: 22px;
        opacity: 0;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-8px);
    }
}

.hero-scroll-indicator span {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ==========================================
   AWS MARKETPLACE SECTION
   ========================================== */
.marketplace {
    padding: var(--section-padding);
    position: relative;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 153, 0, 0.03) 50%, transparent 100%);
}

.marketplace::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 153, 0, 0.3), transparent);
}

.marketplace::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 153, 0, 0.2), transparent);
}

/* AWS orange gradient text */
.gradient-text-aws {
    background: linear-gradient(135deg, #FF9900, #ffb84d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* AWS Marketplace tag */
.marketplace-tag {
    background: rgba(255, 153, 0, 0.1);
    border-color: rgba(255, 153, 0, 0.3);
    color: #ffb84d;
}

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

/* Individual card */
.mp-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 32px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    overflow: hidden;
}

.mp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FF9900, #ffb84d);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.mp-card:hover {
    border-color: rgba(255, 153, 0, 0.3);
    background: rgba(20, 30, 55, 0.85);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(255, 153, 0, 0.1);
}

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

/* Card header row */
.mp-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 8px;
}

/* AWS Marketplace mini badge */
.mp-aws-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(255, 153, 0, 0.1);
    border: 1px solid rgba(255, 153, 0, 0.25);
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #FF9900;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* Category label */
.mp-category {
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

/* Product title */
.mp-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

/* Description */
.mp-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Highlights list */
.mp-highlights {
    list-style: none;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mp-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.mp-highlights li svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* CTA button */
.mp-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background: linear-gradient(135deg, #FF9900, #e68a00);
    color: #0a0f1c;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all var(--transition-normal);
    align-self: flex-start;
    text-decoration: none;
}

.mp-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 153, 0, 0.35);
    background: linear-gradient(135deg, #ffb84d, #FF9900);
}

/* ==========================================
   SERVICES
   ========================================== */
.services {
    padding: var(--section-padding);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-glass), transparent);
}

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

.service-card {
    position: relative;
    padding: 36px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

/* Shimmer shine effect */
.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 40%,
            rgba(59, 130, 246, 0.03) 45%,
            rgba(139, 92, 246, 0.05) 50%,
            rgba(59, 130, 246, 0.03) 55%,
            transparent 60%);
    transform: translateX(-100%) rotate(0deg);
    transition: none;
    pointer-events: none;
}

.service-card:hover::after {
    animation: shimmer 1.5s ease forwards;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-6px);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(59, 130, 246, 0.08),
        inset 0 0 30px rgba(59, 130, 246, 0.02);
}

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

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    color: var(--accent, var(--accent-blue));
    transition: all var(--transition-normal);
}

.service-card:hover .service-icon {
    background: rgba(59, 130, 246, 0.15);
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-blue);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.service-link:hover {
    gap: 10px;
    color: var(--accent-blue-light);
}

/* ==========================================
   WHY CHOOSE US
   ========================================== */
.why-us {
    padding: var(--section-padding);
    background: var(--bg-secondary);
    position: relative;
}

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

.why-card {
    padding: 32px 20px;
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
}

.why-card:hover {
    border-color: var(--border-glass-hover);
    transform: translateY(-4px);
    background: var(--bg-card-hover);
}

.why-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.08);
    border-radius: 50%;
    margin: 0 auto 16px;
    color: var(--accent-blue);
    transition: all var(--transition-normal);
}

.why-card:hover .why-icon {
    background: rgba(59, 130, 246, 0.15);
    transform: scale(1.1);
}

.why-card h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.why-card p {
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.6;
}

/* ==========================================
   STATS
   ========================================== */
.stats {
    padding: 80px 0;
    position: relative;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    animation: pulseGlow 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

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

.stat-item {
    text-align: center;
    padding: 24px;
}

.stat-item .stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-purple);
    display: inline;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 8px;
    font-weight: 500;
}

/* ==========================================
   ABOUT
   ========================================== */
.about {
    padding: var(--section-padding);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

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

.about-text strong {
    color: var(--text-primary);
}

.about-mission {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    margin-bottom: 28px;
}

.mission-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-sm);
    color: var(--accent-blue);
}

.about-mission h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.about-mission p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* About Visual */
.about-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius-xl);
    overflow: visible;
}

.about-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-glass);
}

.about-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(5, 10, 24, 0.4), rgba(59, 130, 246, 0.15));
    border-radius: var(--radius-xl);
    pointer-events: none;
}

.about-floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    z-index: 2;
    animation: floatCard 6s ease-in-out infinite;
}

.about-floating-card span {
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.floating-card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-sm);
}

.card-1 {
    top: 30px;
    left: 10px;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    animation-delay: 2s;
}

.card-3 {
    bottom: 40px;
    left: 30px;
    animation-delay: 4s;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.card-2 {
    animation-name: floatCard2;
}

@keyframes floatCard2 {

    0%,
    100% {
        transform: translateY(-50%);
    }

    50% {
        transform: translateY(calc(-50% - 12px));
    }
}

.about-center-graphic {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    animation: spin 20s linear infinite;
}

.ring-1 {
    width: 120px;
    height: 120px;
}

.ring-2 {
    width: 160px;
    height: 160px;
    animation-direction: reverse;
    animation-duration: 30s;
}

.ring-3 {
    width: 200px;
    height: 200px;
    animation-duration: 40s;
    border-style: dashed;
    border-color: rgba(139, 92, 246, 0.08);
}

@keyframes spin {
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.orbit-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid rgba(255, 153, 0, 0.2);
    border-radius: 50%;
    box-shadow: 0 0 40px rgba(255, 153, 0, 0.1);
}

/* ==========================================
   BLOG
   ========================================== */
.blog {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

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

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.blog-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-glass-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.blog-card-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, var(--card-color, #3b82f6), rgba(139, 92, 246, 0.5));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.6s ease;
}

.blog-card:hover .blog-card-img {
    transform: scale(1.08);
    filter: brightness(1.1);
}

.blog-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 30%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.blog-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 4px 12px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 2;
}

.blog-card-body {
    padding: 24px;
}

.blog-card-body h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card-body h3 a:hover {
    color: var(--accent-blue);
}

.blog-card-body p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-blue);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.blog-read-more:hover {
    gap: 10px;
    color: var(--accent-blue-light);
}

/* ==========================================
   CLIENTS MARQUEE
   ========================================== */
.clients-marquee {
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.marquee-wrapper {
    margin-top: 40px;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    gap: 48px;
    padding-right: 48px;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.marquee-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 200px;
    height: 110px;
    padding: 20px 32px;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    cursor: default;
}

.marquee-item:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.marquee-item span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

[dir="rtl"] .marquee-track {
    animation: marquee-rtl 30s linear infinite;
}

@keyframes marquee-rtl {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(50%);
    }
}

/* ==========================================
   SUCCESS PARTNERS
   ========================================== */
.customers-marquee {
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
    background: var(--bg-secondary);
}

.customers-track {
    display: flex;
    gap: 40px;
    animation: marquee 40s linear infinite;
    width: max-content;
}

.customer-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    height: 110px;
    padding: 20px 32px;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    cursor: default;
}

.customer-item img {
    max-width: 160px;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0%);
    opacity: 1;
    transition: all var(--transition-normal);
}

.customer-item:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.customer-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

[dir="rtl"] .customers-track {
    animation: marquee-rtl 40s linear infinite;
}

/* ==========================================
   TESTIMONIAL
   ========================================== */
.testimonial {
    padding: var(--section-padding);
    position: relative;
}

.testimonial-carousel {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-card {
    display: none;
    flex: 1;
    min-width: 0;
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    text-align: center;
}

.testimonial-card.active {
    display: block;
}

.testimonial-btn {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--accent-blue);
    background: transparent;
    color: var(--accent-blue);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.testimonial-btn:hover {
    background: var(--accent-blue);
    color: #fff;
}

.testimonial-quote {
    color: var(--accent-blue);
    opacity: 0.3;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

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

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
    color: white;
}

.testimonial-author strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
}

.testimonial-author span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ==========================================
   CONTACT
   ========================================== */
[dir="rtl"] .contact-info {
    text-align: right;
}

[dir="rtl"] .contact-info .section-header {
    text-align: right !important;
}

.contact {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-desc {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 1rem;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

[dir="rtl"] .contact-details {
    align-items: flex-start;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 14px;
}

[dir="rtl"] .contact-detail {
    flex-direction: row !important;
    justify-content: flex-start !important;
}

[dir="rtl"] .contact-detail-icon {
    order: 1 !important;
}

[dir="rtl"] .contact-detail>div {
    order: 2 !important;
    text-align: right !important;
}

[dir="rtl"] .contact-detail>div {
    text-align: right;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: var(--radius-sm);
    color: var(--accent-blue);
}

.detail-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.contact-detail a,
.contact-detail span {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact-detail a:hover {
    color: var(--accent-blue);
}

.contact-socials {
    display: flex;
    gap: 12px;
}

[dir="rtl"] .contact-socials {
    justify-content: flex-end;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: all var(--transition-normal);
}

.social-link:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    transform: translateY(-2px);
}

/* Contact Form */
.contact-form-wrap {
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
}

.form-group {
    margin-bottom: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-status {
    margin-top: 16px;
    text-align: center;
    font-size: 0.9rem;
    min-height: 24px;
}

.form-status.success {
    color: var(--accent-green);
}

.form-status.error {
    color: var(--accent-rose);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    padding: 80px 0 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-glass);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 3fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 300px;
}

.footer-links h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.88rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-blue);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    border-top: 1px solid var(--border-glass);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-socials a {
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.footer-socials a:hover {
    color: var(--accent-blue);
}

/* ==========================================
   ENHANCED ALIVE ANIMATIONS & VIBRANCY
   ========================================== */

/* Animated gradient text */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animated gradient primary */
:root {
    --gradient-primary: linear-gradient(135deg, #3b82f6, #8b5cf6);
}

/* Hero badge pulse border */
.hero-badge {
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
        border-color: rgba(59, 130, 246, 0.2);
    }

    50% {
        box-shadow: 0 0 12px 0 rgba(59, 130, 246, 0.25);
        border-color: rgba(59, 130, 246, 0.45);
    }
}

/* Animated section tags */
.section-tag {
    animation: tagGlow 4s ease-in-out infinite;
}

@keyframes tagGlow {

    0%,
    100% {
        box-shadow: none;
    }

    50% {
        box-shadow: 0 0 16px rgba(59, 130, 246, 0.25);
    }
}

/* Service icons styled with their accent color on hover */
.service-card:hover .service-icon {
    box-shadow: 0 0 20px rgba(var(--accent-rgb, 59, 130, 246), 0.4);
    border-color: rgba(var(--accent-rgb, 59, 130, 246), 0.5);
}

/* Stats — number glow */
.stat-number {
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 0 14px rgba(99, 162, 250, 0.35));
}

/* Why-cards — richer hover */
.why-card:hover {
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 28px rgba(59, 130, 246, 0.1);
    transform: translateY(-5px);
}

/* Blog cards — lift on hover */
.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(59, 130, 246, 0.1);
}

/* CTA buttons — stronger glow on hover */
.btn-primary:hover {
    box-shadow: 0 8px 35px rgba(59, 130, 246, 0.55);
}

/* Nav CTA shimmer on hover */
.nav-cta:hover {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.45);
}

/* Floating about-cards subtle pulse */
.about-floating-card {
    animation: cardFloat 5s ease-in-out infinite;
}

.about-floating-card.card-1 {
    animation-delay: 0s;
}

.about-floating-card.card-2 {
    animation-delay: 1.5s;
}

.about-floating-card.card-3 {
    animation-delay: 3s;
}

@keyframes cardFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Scroll indicator mouse glow */
.scroll-mouse {
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.3);
}

/* Input focus glow */
.form-group input:focus,
.form-group textarea:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15), 0 0 20px rgba(59, 130, 246, 0.08);
}

/* Marquee items hover glow */
.marquee-item:hover {
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.5));
}

/* ==========================================
   FOOTER PARTNERSHIP BADGES
   ========================================== */
.footer-partnership h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-badges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    justify-content: start;
    align-items: center;
}

.footer-badge {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: transform 0.3s ease;
    border-radius: 6px;
}

.footer-badge:hover {
    filter: grayscale(0%) brightness(1.05);
    opacity: 1;
    transform: scale(1.06);
}

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

    .why-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-grid {
        gap: 48px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(5, 10, 24, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 100px 32px 32px;
        gap: 4px;
        transition: right var(--transition-normal);
        border-left: 1px solid var(--border-glass);
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-link {
        padding: 12px 16px;
        border-radius: var(--radius-sm);
        font-size: 1rem;
    }

    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: clamp(2.2rem, 8vw, 3rem);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-visual {
        display: none;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-trust {
        gap: 16px;
        padding: 12px 20px;
    }

    .trust-num {
        font-size: 1rem;
    }

    .partner-logos {
        gap: 24px;
    }

    .stat-item .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .why-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-form-wrap {
        padding: 24px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   LANGUAGE TOGGLE BUTTON
   ========================================== */
.lang-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 22px;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-glass-hover);
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.lang-flag {
    width: 34px;
    height: 22px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.lang-toggle:hover {
    background: rgba(59, 130, 246, 0.12);
    border-color: var(--accent-blue);
    color: var(--accent-blue-light);
    box-shadow: 0 0 14px rgba(59, 130, 246, 0.2);
}

/* ==========================================
   RTL (ARABIC) OVERRIDES
   ========================================== */
[dir="rtl"] {
    font-family: 'Noto Kufi Arabic', 'Inter', sans-serif;
}

[dir="rtl"] .nav-container {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav-menu {
    flex-direction: row-reverse;
}

[dir="rtl"] .hero-content {
    direction: rtl;
}

[dir="rtl"] .hero-buttons {
    flex-direction: row-reverse;
}

[dir="rtl"] .btn svg {
    transform: scaleX(-1);
}

[dir="rtl"] .hero-trust {
    direction: rtl;
}

[dir="rtl"] .section-header {
    direction: rtl;
}

[dir="rtl"] .services-grid,
[dir="rtl"] .why-grid,
[dir="rtl"] .stats-grid,
[dir="rtl"] .blog-grid {
    direction: rtl;
}

[dir="rtl"] .service-card,
[dir="rtl"] .why-card,
[dir="rtl"] .blog-card {
    text-align: right;
}

[dir="rtl"] .service-link,
[dir="rtl"] .blog-read-more {
    flex-direction: row-reverse;
}

[dir="rtl"] .service-link svg,
[dir="rtl"] .blog-read-more svg {
    transform: scaleX(-1);
}

[dir="rtl"] .about-grid {
    direction: rtl;
}

[dir="rtl"] .about-content {
    text-align: right;
}

[dir="rtl"] .about-mission {
    flex-direction: row-reverse;
}

[dir="rtl"] .about-feature {
    flex-direction: row-reverse;
}

[dir="rtl"] .section-header[style*="text-align: left"] {
    text-align: right !important;
}

[dir="rtl"] .contact-grid {
    direction: rtl;
}

[dir="rtl"] .contact-info {
    text-align: right;
}

[dir="rtl"] .contact-detail {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .contact-socials {
    flex-direction: row-reverse;
}

[dir="rtl"] .footer-grid {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .footer-brand {
    text-align: right;
}

[dir="rtl"] .footer-bottom {
    flex-direction: row-reverse;
}

[dir="rtl"] .testimonial-author {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .testimonial-text {
    text-align: right;
    direction: rtl;
}

[dir="rtl"] .hero-scroll-indicator span {
    direction: rtl;
}

[dir="rtl"] .nav-logo {
    flex-direction: row-reverse;
}

[dir="rtl"] .hero-badge {
    flex-direction: row-reverse;
}

[dir="rtl"] .badge-dot {
    order: 1;
}

[dir="rtl"] .about-floating-card {
    flex-direction: row-reverse;
}

[dir="rtl"] .form-group input,
[dir="rtl"] .form-group textarea {
    text-align: right;
    direction: rtl;
}

[dir="rtl"] .mission-icon {
    flex-shrink: 0;
}

/* Mobile RTL fixes */
@media (max-width: 768px) {
    [dir="rtl"] .nav-menu {
        left: -100%;
        right: auto;
        border-left: none;
        border-right: 1px solid var(--border-glass);
        flex-direction: column;
    }

    [dir="rtl"] .nav-menu.open {
        left: 0;
        right: auto;
    }
}

/* ==========================================
   MARKETPLACE RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    .marketplace-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .marketplace-grid {
        grid-template-columns: 1fr;
    }

    .mp-card-header {
        flex-direction: column;
        align-items: flex-start;
    }
}