﻿/* ================================================
   NGM — Next Gen Marketing | Style Sheet
   Colors from logo: Blue #1E6FBF, Orange #F5A623
   ================================================ */

/* ── Reset & Base ─────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Brand Colors — exact match from NGM logo */
    --blue-dark:    #1A5CA3;   /* deep navy-blue shadow in logo */
    --blue:         #2878D8;   /* main mid-blue ribbon */
    --blue-light:   #4BAEE8;   /* bright sky-blue highlight */
    --blue-pale:    #E5F0FB;
    --orange:       #F5A623;   /* exact gold-orange text color in logo */
    --orange-light: #FAC046;
    --orange-dark:  #E07E08;   /* darker burn-orange used in 3D ribbon */

    /* Neutrals */
    --white:        #FFFFFF;
    --off-white:    #FAFAFA;
    --gray-50:      #F7F8FA;
    --gray-100:     #EEF0F4;
    --gray-200:     #DDE1E9;
    --gray-300:     #C5CCD8;
    --gray-400:     #9BA6B8;
    --gray-500:     #6B7890;
    --gray-600:     #4A5568;
    --gray-700:     #2D3748;
    --gray-800:     #1A202C;
    --gray-900:     #0F141C;

    /* Semantic */
    --text-primary:   #1A202C;
    --text-secondary: #4A5568;
    --text-muted:     #9BA6B8;
    --border:         #E8EBF0;
    --surface:        #FFFFFF;
    --surface-alt:    #F7F8FA;

    /* Shadows */
    --shadow-sm:   0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md:   0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
    --shadow-lg:   0 12px 40px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.05);
    --shadow-xl:   0 24px 64px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.06);
    --shadow-blue: 0 8px 32px rgba(40,120,216,0.22);

    /* Radius */
    --radius-sm:  8px;
    --radius:     12px;
    --radius-md:  16px;
    --radius-lg:  24px;
    --radius-xl:  32px;
    --radius-full: 9999px;

    /* Transitions */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Spacing */
    --section-py: 100px;
    --nav-height: 80px;

    /* iOS safe area + dynamic viewport */
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --nav-total-height: calc(var(--nav-height) + var(--safe-top));
    --vh: 1vh;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: calc(var(--nav-total-height) + 16px);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* ── Typography ───────────────────────────────── */
.gradient-text {
    background: linear-gradient(90deg, #2878D8 0%, #2878D8 35%, #F5A623 65%, #F5A623 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Layout ───────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Buttons ─────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    color: var(--white);
    box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--blue-light) 0%, var(--blue) 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(35,114,200,0.30);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border);
}
.btn-ghost:hover {
    background: var(--gray-50);
    border-color: var(--gray-300);
    transform: translateY(-2px);
}

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

/* ── Section Common ───────────────────────────── */
section { padding: var(--section-py) 0; }

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.section-label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, var(--blue), var(--orange));
    border-radius: 2px;
}

.section-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ── Navbar ───────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-total-height);
    padding-top: var(--safe-top);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}
.navbar.scrolled {
    border-bottom-color: var(--border);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

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

.nav-logo { display: flex; align-items: center; }
.logo-img { height: 56px; width: auto; object-fit: contain; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 14px;
    border-radius: var(--radius-full);
    transition: all var(--transition);
}
.nav-link:hover { color: var(--text-primary); background: var(--gray-50); }
.nav-link.active { color: var(--blue); background: var(--blue-pale); }

.nav-link.nav-cta {
    background: linear-gradient(135deg, var(--blue-light) 0%, var(--blue) 50%, var(--blue-dark) 100%);
    color: var(--white);
    padding: 10px 22px;
    box-shadow: 0 4px 18px rgba(40,120,216,0.35);
    font-weight: 700;
}
.nav-link.nav-cta:hover {
    background: linear-gradient(135deg, var(--blue-light) 0%, var(--blue) 100%);
    transform: translateY(-1px);
    color: var(--white);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ─────────────────────────────────────── */
.hero {
    min-height: 100vh;
    min-height: 100svh;
    min-height: calc(var(--vh, 1vh) * 100);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: calc(var(--nav-total-height) + 48px) 24px 60px;
    text-align: center;
    background: linear-gradient(160deg, #F0F6FF 0%, #FAFBFF 40%, #FFF8F0 80%, #FFFCF5 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.12;
}
.hero-orb-1 {
    width: 700px; height: 700px;
    background: radial-gradient(circle, var(--blue) 0%, var(--blue-light) 40%, transparent 70%);
    top: -220px; right: -120px;
    opacity: 0.14;
    animation: float 8s ease-in-out infinite;
}
.hero-orb-2 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--orange) 0%, var(--orange-light) 40%, transparent 70%);
    bottom: -180px; left: -120px;
    opacity: 0.12;
    animation: float 10s ease-in-out infinite reverse;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(35,114,200,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(35,114,200,0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

/* Hero logo display */
.hero-logo-display {
    margin-bottom: 24px;
}
.hero-logo-img {
    height: 220px;
    width: auto;
    object-fit: contain;
    margin: 0 auto;
    filter: drop-shadow(0 12px 48px rgba(40,120,216,0.32)) drop-shadow(0 4px 16px rgba(245,166,35,0.22));
    animation: logoFloat 6s ease-in-out infinite;
}
@keyframes logoFloat {
    0%, 100% { transform: translateY(0); filter: drop-shadow(0 10px 40px rgba(40,120,216,0.28)) drop-shadow(0 4px 12px rgba(245,166,35,0.18)); }
    50% { transform: translateY(-10px); filter: drop-shadow(0 20px 60px rgba(40,120,216,0.38)) drop-shadow(0 6px 20px rgba(245,166,35,0.28)); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--blue-pale) 0%, #FFF8EC 100%);
    color: var(--blue-dark);
    font-size: 13px;
    font-weight: 700;
    padding: 7px 18px;
    border-radius: var(--radius-full);
    margin-bottom: 28px;
    border: 1.5px solid rgba(40,120,216,0.2);
    box-shadow: 0 2px 12px rgba(40,120,216,0.08);
}
.badge-dot {
    width: 7px; height: 7px;
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(245,166,35,0.5);
}

.hero-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(40px, 7vw, 80px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 580px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.stat-number {
    font-family: 'Sora', sans-serif;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}
.stat-plus {
    font-size: 28px;
    font-weight: 800;
    color: var(--orange);
    text-shadow: 0 2px 8px rgba(245,166,35,0.3);
}
.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}
.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}
.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--border), transparent);
    margin: 0 auto;
    animation: scrollanim 1.5s ease-in-out infinite;
}

/* ── Marquee ──────────────────────────────────── */
.marquee-section {
    padding: 20px 0;
    background: var(--gray-50);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}
.marquee-track { overflow: hidden; }
.marquee-content {
    display: flex;
    align-items: center;
    gap: 32px;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}
.marquee-dot { color: var(--orange); font-size: 10px; }

/* ── About ────────────────────────────────────── */
.about { background: var(--white); }

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

.about-visual {
    position: relative;
    height: 420px;
}

.about-card-main {
    width: 290px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border: 1.5px solid var(--border);
    background: linear-gradient(160deg, #ffffff 60%, var(--blue-pale) 100%);
}
.about-logo-wrap {
    width: 130px; height: 130px;
    background: linear-gradient(135deg, var(--blue-pale) 0%, #FFF8EC 100%);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    padding: 10px;
    box-shadow: 0 4px 20px rgba(40,120,216,0.1);
}
.about-logo { width: 100%; height: 100%; object-fit: contain; }
.about-card-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
    letter-spacing: 0.02em;
}

.about-floating-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius);
    padding: 14px 18px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 6s ease-in-out infinite;
}
.about-float-1 { top: 30px; right: 0; animation-delay: 0s; }
.about-float-2 { bottom: 40px; left: 0; animation-delay: 3s; }

.float-icon { font-size: 22px; }
.float-text { font-size: 13px; font-weight: 600; color: var(--text-primary); white-space: nowrap; }

.about-content { padding: 20px 0; }

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

.about-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 500;
}
.feature-icon {
    width: 28px; height: 28px;
    background: linear-gradient(135deg, var(--blue-light), var(--blue));
    color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(40,120,216,0.3);
}

/* ── Services ─────────────────────────────────── */
.services { background: var(--gray-50); }

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 36px 32px;
    border: 1px solid var(--border);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-light), var(--blue), var(--orange));
    opacity: 0;
    transition: opacity var(--transition);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}
.service-card:hover::before { opacity: 1; }

.service-card-highlight {
    background: linear-gradient(145deg, var(--blue-dark) 0%, var(--blue) 60%, var(--blue-light) 100%);
    border-color: transparent;
    color: white;
    box-shadow: 0 12px 40px rgba(40,120,216,0.3);
}
.service-card-highlight .service-title,
.service-card-highlight .service-desc { color: rgba(255,255,255,0.9); }
.service-card-highlight .service-tags span {
    background: rgba(255,255,255,0.15);
    color: white;
}
.service-card-highlight .service-icon { color: white; }
.service-card-highlight:hover { background: linear-gradient(145deg, var(--blue) 0%, var(--blue-light) 100%); box-shadow: 0 16px 50px rgba(40,120,216,0.4); }

.service-icon-wrap { margin-bottom: 20px; }
.service-icon {
    width: 52px; height: 52px;
    background: linear-gradient(135deg, var(--blue-pale) 0%, #FFF8EC 100%);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    color: var(--blue);
    transition: all var(--transition);
}
.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--blue-light), var(--blue-dark));
    color: white;
    box-shadow: 0 4px 16px rgba(40,120,216,0.35);
}
.service-card-highlight .service-icon { background: rgba(255,255,255,0.15); }
.service-card-highlight:hover .service-icon { background: rgba(255,255,255,0.25); }

.service-title {
    font-family: 'Sora', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}
.service-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}
.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.service-tags span {
    font-size: 11px;
    font-weight: 600;
    background: var(--gray-50);
    color: var(--text-secondary);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    letter-spacing: 0.02em;
    border: 1px solid var(--border);
}

/* ── Clients ──────────────────────────────────── */
.clients { background: var(--white); }

.clients-title { margin-bottom: 10px; }

.clients-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
    align-items: stretch;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 14px 16px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    background: linear-gradient(135deg, rgba(40,120,216,0.04), rgba(245,166,35,0.03));
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
}

.client-logo:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(40,120,216,0.35);
    background: linear-gradient(135deg, rgba(40,120,216,0.09), rgba(245,166,35,0.07));
}

.client-mark {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    border: 1px solid rgba(40,120,216,0.18);
    background: linear-gradient(135deg, rgba(229,240,251,0.9), rgba(255,248,236,0.85));
    box-shadow: 0 6px 18px rgba(15,20,28,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.client-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    filter: grayscale(1) contrast(1.05);
    opacity: 0.78;
    transition: filter var(--transition), opacity var(--transition), transform var(--transition);
}

.client-logo:hover .client-mark img {
    filter: grayscale(0) contrast(1.03);
    opacity: 1;
    transform: translateY(-1px);
}

.client-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
}

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

@media (max-width: 768px) {
    .clients-logos { grid-template-columns: 1fr; }
    .client-mark { width: 62px; height: 62px; border-radius: 20px; }
    .client-mark img { border-radius: 18px; }
}

/* ── Portfolio ────────────────────────────────── */
.portfolio { background: var(--white); }

.portfolio-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

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

.portfolio-item { border-radius: var(--radius-md); overflow: hidden; }
.portfolio-img-wrap {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.portfolio-img {
    width: 100%; height: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background-size: cover;
    background-position: center;
}

.portfolio-img-1 { background-image: linear-gradient(135deg, rgba(26,92,163,0.24), rgba(15,20,28,0.08)), url("assets/work-cover.png"); }
.portfolio-img-2 { background-image: linear-gradient(135deg, rgba(245,166,35,0.22), rgba(15,20,28,0.12)), url("assets/pdf-images/page-08-image-01.png"); }
.portfolio-img-3 { background-image: linear-gradient(135deg, rgba(75,174,232,0.22), rgba(15,20,28,0.12)), url("assets/pdf-images/page-09-image-01.png"); }
.portfolio-img-4 { background-image: linear-gradient(135deg, rgba(26,92,163,0.34), rgba(245,166,35,0.22)), url("assets/brand-cover.png"); }
.portfolio-img-5 { background-image: linear-gradient(135deg, rgba(40,120,216,0.76), rgba(224,126,8,0.58)), url("assets/work-cover.png"); }
.portfolio-img-6 {
    background-image: linear-gradient(135deg, rgba(15,20,28,0.1), rgba(26,92,163,0.22)), url("logo.png");
    background-size: cover, 62%;
    background-repeat: no-repeat;
    background-position: center;
    background-color: var(--gray-50);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,15,30,0.95) 0%, rgba(10,15,30,0.4) 60%, transparent 100%);
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity var(--transition);
}
.portfolio-img-wrap:hover .portfolio-overlay { opacity: 1; }
.portfolio-img-wrap:hover .portfolio-img { transform: scale(1.05); }

.portfolio-category {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--orange-light);
    margin-bottom: 6px;
    text-shadow: 0 1px 6px rgba(245,166,35,0.4);
}
.portfolio-name {
    font-family: 'Sora', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}
.portfolio-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
    margin-bottom: 12px;
}
.portfolio-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.portfolio-tags span {
    font-size: 11px;
    font-weight: 600;
    background: rgba(255,255,255,0.15);
    color: white;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    backdrop-filter: blur(8px);
}

/* ── Process ──────────────────────────────────── */
.process { background: var(--gray-50); }

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}
.process-steps::before {
    content: '';
    position: absolute;
    top: 44px;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background: linear-gradient(90deg, var(--blue), var(--orange));
    opacity: 0.3;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.step-number {
    font-family: 'Sora', sans-serif;
    font-size: 12px;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.step-icon {
    width: 60px; height: 60px;
    background: white;
    border: 2px solid rgba(40,120,216,0.2);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--blue);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    transition: all var(--transition);
    box-shadow: 0 4px 20px rgba(40,120,216,0.12);
}
.process-step:hover .step-icon {
    background: linear-gradient(135deg, var(--blue-light), var(--blue));
    color: white;
    border-color: transparent;
    transform: scale(1.12);
    box-shadow: 0 8px 28px rgba(40,120,216,0.35);
}

.step-title {
    font-family: 'Sora', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}
.step-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ── Why Us ───────────────────────────────────── */
.why-us { background: var(--white); }

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

.why-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    transition: all var(--transition);
}
.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(40,120,216,0.12);
    border-color: rgba(40,120,216,0.25);
}
.why-icon { font-size: 32px; margin-bottom: 16px; }
.why-card h3 {
    font-family: 'Sora', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}
.why-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ── Contact ──────────────────────────────────── */
.contact { background: var(--gray-50); }

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

.contact-info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}
.contact-info-title {
    font-family: 'Sora', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}
.contact-info-desc { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 28px; }

.contact-methods { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.contact-method {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--white);
    transition: all var(--transition);
}
.contact-method:hover {
    border-color: var(--blue);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}
.contact-method-icon {
    width: 40px; height: 40px;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.whatsapp-icon { background: #25D366; color: white; }
.email-icon { background: var(--blue); color: white; }

.contact-method-info { flex: 1; }
.contact-method-label { display: block; font-size: 13px; font-weight: 600; color: var(--text-primary); }
.contact-method-value { display: block; font-size: 12px; color: var(--text-muted); }
.contact-method-arrow { color: var(--gray-300); transition: all var(--transition); }
.contact-method:hover .contact-method-arrow { color: var(--blue); transform: translateX(4px); }

.social-links { display: flex; gap: 10px; }
.social-link {
    width: 40px; height: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition);
}
.social-link:hover { background: linear-gradient(135deg, var(--blue-light), var(--blue)); color: white; border-color: transparent; transform: translateY(-2px); box-shadow: 0 4px 14px rgba(40,120,216,0.30); }
.social-link.is-disabled,
.footer-socials .is-disabled {
    opacity: 0.45;
    pointer-events: none;
}

/* ── Modal (WhatsApp Chooser) ─────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 30, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1400;
}

.modal {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(520px, calc(100vw - 36px));
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-xl);
    z-index: 1410;
    overflow: hidden;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(135deg, rgba(40,120,216,0.06), rgba(245,166,35,0.05));
}

.modal-title {
    font-family: 'Sora', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.modal-close {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.02);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition);
}
.modal-close:hover {
    background: rgba(40,120,216,0.10);
    border-color: rgba(40,120,216,0.30);
    color: var(--text-primary);
}

.modal-body { padding: 16px 18px 18px; }
.modal-subtitle { font-size: 13px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 14px; }

.wa-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wa-option {
    width: 100%;
    text-align: left;
    padding: 14px 14px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
}

.wa-option:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(40,120,216,0.35);
    background: linear-gradient(135deg, rgba(40,120,216,0.04), rgba(245,166,35,0.03));
}

.wa-option-label {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-primary);
}
.wa-option-meta {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

[dir="rtl"] .wa-option { text-align: right; }
[dir="rtl"] .modal-header { flex-direction: row-reverse; }

[data-theme="dark"] .modal-overlay {
    background: rgba(0, 0, 0, 0.62);
}
[data-theme="dark"] .modal-header {
    background: linear-gradient(135deg, rgba(75,174,232,0.10), rgba(245,166,35,0.08));
}
[data-theme="dark"] .wa-option {
    background: #132032;
}

@media (max-width: 480px) {
    .modal-title { font-size: 15px; }
    .wa-option { border-radius: 14px; }
}

/* ── Contact Form ─────────────────────────────── */
.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    color: var(--text-primary);
    background: var(--white);
    transition: all var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(35,114,200,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { appearance: none; cursor: pointer; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

/* ── Footer ───────────────────────────────────── */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 72px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 56px;
}

.footer-logo { height: 40px; width: auto; object-fit: contain; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-tagline { font-size: 14px; line-height: 1.7; color: var(--gray-500); max-width: 240px; }

.footer-links h4, .footer-contact h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--white);
    margin-bottom: 16px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
    font-size: 14px;
    color: var(--gray-500);
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }

.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact a {
    font-size: 14px;
    color: var(--gray-500);
    transition: color var(--transition);
}
.footer-contact a:hover { color: var(--orange-light); }

.footer-socials { display: flex; gap: 10px; margin-top: 8px; }
.footer-socials a {
    width: 36px; height: 36px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    color: var(--gray-500);
    transition: all var(--transition);
}
.footer-socials a:hover { background: linear-gradient(135deg, var(--blue-light), var(--blue)); color: white; border-color: transparent; box-shadow: 0 4px 14px rgba(40,120,216,0.3); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 24px 0;
    text-align: center;
}
.footer-bottom p { font-size: 13px; color: var(--gray-600); }

/* ── Animations ──────────────────────────────── */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(0.8); }
}
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@keyframes scrollanim {
    0% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.4; }
    100% { transform: scaleY(1); opacity: 1; }
}

/* ── Reveal Animations ────────────────────────── */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    animation: fadeUp 0.8s ease forwards;
}
.fade-up:nth-child(1) { animation-delay: 0.1s; }
.fade-up:nth-child(2) { animation-delay: 0.2s; }
.fade-up:nth-child(3) { animation-delay: 0.3s; }
.fade-up:nth-child(4) { animation-delay: 0.45s; }
.fade-up:nth-child(5) { animation-delay: 0.6s; }

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

.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
    opacity: 0;
    transform: translateX(-32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
    opacity: 0;
    transform: translateX(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* Stagger children */
.services-grid .reveal:nth-child(1) { transition-delay: 0.05s; }
.services-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.services-grid .reveal:nth-child(3) { transition-delay: 0.15s; }
.services-grid .reveal:nth-child(4) { transition-delay: 0.2s; }
.services-grid .reveal:nth-child(5) { transition-delay: 0.25s; }
.services-grid .reveal:nth-child(6) { transition-delay: 0.3s; }

.portfolio-grid .reveal:nth-child(1) { transition-delay: 0.05s; }
.portfolio-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.portfolio-grid .reveal:nth-child(3) { transition-delay: 0.15s; }
.portfolio-grid .reveal:nth-child(4) { transition-delay: 0.2s; }
.portfolio-grid .reveal:nth-child(5) { transition-delay: 0.25s; }
.portfolio-grid .reveal:nth-child(6) { transition-delay: 0.3s; }

.why-grid .reveal:nth-child(1) { transition-delay: 0.05s; }
.why-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.why-grid .reveal:nth-child(3) { transition-delay: 0.15s; }
.why-grid .reveal:nth-child(4) { transition-delay: 0.2s; }
.why-grid .reveal:nth-child(5) { transition-delay: 0.25s; }
.why-grid .reveal:nth-child(6) { transition-delay: 0.3s; }

.process-steps .reveal:nth-child(1) { transition-delay: 0.05s; }
.process-steps .reveal:nth-child(2) { transition-delay: 0.12s; }
.process-steps .reveal:nth-child(3) { transition-delay: 0.19s; }
.process-steps .reveal:nth-child(4) { transition-delay: 0.26s; }

/* ── Responsive ───────────────────────────────── */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .process-steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .process-steps::before { display: none; }
    .about-grid { gap: 48px; }
}

	@media (max-width: 768px) {
	    :root { --section-py: 72px; }

	    .hamburger { display: flex; }
	    .nav-links {
	        position: fixed;
	        top: 0;
	        right: 0;
	        bottom: 0;
	        width: min(360px, 86vw);
	        background: rgba(255,255,255,0.98);
	        backdrop-filter: blur(18px);
	        -webkit-backdrop-filter: blur(18px);
	        flex-direction: column;
	        align-items: stretch;
	        padding: calc(var(--safe-top) + 18px) 18px calc(18px + var(--safe-bottom));
	        border-left: 1px solid var(--border);
	        transform: translateX(110%);
	        transition: transform var(--transition);
	        box-shadow: var(--shadow-xl);
	        z-index: 1205;
	        overflow-y: auto;
	        -webkit-overflow-scrolling: touch;
	    }
	    .nav-links.open { transform: translateX(0); }
	    .nav-link { width: 100%; text-align: center; padding: 14px; }
	    .nav-link.nav-cta { margin-top: 8px; }

    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-visual { height: 280px; }

    .hero {
        justify-content: flex-start;
        padding-top: calc(var(--nav-total-height) + 26px);
        padding-bottom: 44px;
    }
    .hero-scroll-indicator { bottom: 18px; }

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

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

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

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

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

    .hero-stats { gap: 20px; }
    .stat-divider { display: none; }

	    .hero-actions { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 320px; justify-content: center; }
    .hero-logo-img { height: 160px; }
}

/* Mobile menu overlay */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 30, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1200;
}

[data-theme="dark"] .menu-overlay {
    background: rgba(0, 0, 0, 0.55);
}

@media (max-width: 768px) {
    [data-theme="dark"] .nav-links {
        background: rgba(15, 22, 33, 0.96);
        border-left-color: rgba(44, 59, 80, 0.95);
    }
}

		@media (max-width: 480px) {
		    .container { padding: 0 18px; }
		    .nav-container { padding: 0 18px; }
		    .logo-img { height: 46px; }
		    .lang-toggle span { display: none; }
            .theme-toggle span { display: none; }
		    .hero-title { font-size: 42px; }
		    .about-visual { height: 220px; }
		    .about-card-main { width: 220px; padding: 24px; }
    .about-logo-wrap { width: 72px; height: 72px; }
    .about-float-1, .about-float-2 { display: none; }
}

/* Short viewport height (desktop/mobile): avoid large top gap in hero */
@media (max-height: 760px) {
    .hero {
        justify-content: flex-start;
        padding-top: calc(var(--nav-total-height) + 26px);
        padding-bottom: 44px;
    }
    .hero-logo-img { height: 180px; }
    .hero-actions { margin-bottom: 44px; }
    .hero-scroll-indicator { bottom: 18px; }
}

/* ── Language Toggle ──────────────────────────── */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--border);
    background: var(--white);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}
.lang-toggle:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-pale);
    box-shadow: 0 2px 10px rgba(40,120,216,0.12);
}
.lang-toggle svg { flex-shrink: 0; }

.theme-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--border);
    background: var(--white);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}
.theme-toggle:hover {
    border-color: var(--orange);
    color: var(--orange-dark);
    background: rgba(245, 166, 35, 0.08);
    box-shadow: 0 2px 10px rgba(245, 166, 35, 0.15);
}
.theme-toggle svg { flex-shrink: 0; }

/* ── Dark Mode ─────────────────────────────────── */
[data-theme="dark"] {
    --white:        #0F1621;
    --off-white:    #111C2A;
    --gray-50:      #162234;
    --gray-100:     #1D2B3F;
    --gray-200:     #27364D;
    --gray-300:     #374A64;
    --gray-400:     #7E90A8;
    --gray-500:     #A2B2C7;
    --gray-600:     #C6D1E1;
    --gray-700:     #DBE3EF;
    --gray-800:     #EAF0F8;
    --gray-900:     #F4F7FC;
    --text-primary:   #ECF2FB;
    --text-secondary: #BDCBDE;
    --text-muted:     #90A2BA;
    --border:         #2C3B50;
    --surface:        #0F1621;
    --surface-alt:    #162234;
    --shadow-sm:   0 1px 3px rgba(0,0,0,0.25), 0 1px 2px rgba(0,0,0,0.18);
    --shadow-md:   0 4px 16px rgba(0,0,0,0.30), 0 2px 6px rgba(0,0,0,0.18);
    --shadow-lg:   0 12px 40px rgba(0,0,0,0.38), 0 4px 12px rgba(0,0,0,0.20);
    --shadow-xl:   0 24px 64px rgba(0,0,0,0.45), 0 8px 24px rgba(0,0,0,0.24);
}
[data-theme="dark"] body {
    background: #0C131D;
}
[data-theme="dark"] .navbar {
    background: rgba(12, 19, 29, 0.82);
}
[data-theme="dark"] .navbar.scrolled {
    background: rgba(12, 19, 29, 0.93);
}
[data-theme="dark"] .hero {
    background: linear-gradient(160deg, #101B2A 0%, #0F1724 40%, #1C1A17 80%, #191611 100%);
}
[data-theme="dark"] .hero-grid {
    background-image:
        linear-gradient(rgba(75,174,232,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(75,174,232,0.08) 1px, transparent 1px);
}
[data-theme="dark"] .hero-orb {
    opacity: 0.22;
}
[data-theme="dark"] .btn-ghost {
    background: rgba(255,255,255,0.02);
}
[data-theme="dark"] .btn-ghost:hover {
    background: rgba(255,255,255,0.06);
}
[data-theme="dark"] .about-card-main {
    background: linear-gradient(160deg, #132032 40%, #17283E 100%);
}
[data-theme="dark"] .about-logo-wrap,
[data-theme="dark"] .service-icon {
    background: linear-gradient(135deg, rgba(75,174,232,0.16) 0%, rgba(245,166,35,0.14) 100%);
}
[data-theme="dark"] .client-logo {
    background: linear-gradient(135deg, rgba(75,174,232,0.07), rgba(245,166,35,0.05));
    border-color: rgba(44,59,80,0.95);
}
[data-theme="dark"] .client-logo:hover {
    border-color: rgba(75,174,232,0.35);
}
[data-theme="dark"] .client-mark {
    border-color: rgba(75,174,232,0.18);
    background: linear-gradient(135deg, rgba(19,32,50,0.95), rgba(22,34,52,0.90));
    box-shadow: 0 10px 26px rgba(0,0,0,0.26);
}
[data-theme="dark"] .client-mark img {
    opacity: 0.86;
}
[data-theme="dark"] .portfolio-overlay {
    background: linear-gradient(to top, rgba(2,6,12,0.96) 0%, rgba(2,6,12,0.45) 60%, transparent 100%);
}
[data-theme="dark"] .contact-method:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.24);
}
[data-theme="dark"] .contact-form input,
[data-theme="dark"] .contact-form textarea,
[data-theme="dark"] .contact-form select {
    background: #132032;
}
[data-theme="dark"] .theme-toggle,
[data-theme="dark"] .lang-toggle {
    background: #132032;
}
[data-theme="dark"] .footer {
    background: #070C13;
}
[data-theme="dark"] .footer-links a,
[data-theme="dark"] .footer-contact a {
    color: #A6B5C9;
}
[data-theme="dark"] .footer-bottom {
    border-top-color: rgba(255,255,255,0.09);
}
[data-theme="dark"] .footer-bottom p {
    color: #7F92AA;
}

/* ── Arabic (RTL) Support ─────────────────────── */
[dir="rtl"] {
    font-family: 'Cairo', 'Inter', sans-serif;
}

[dir="rtl"] .hero-title,
[dir="rtl"] .section-title,
[dir="rtl"] .step-title,
[dir="rtl"] .service-title,
[dir="rtl"] .why-card h3,
[dir="rtl"] .contact-info-title {
    font-family: 'Cairo', sans-serif;
    letter-spacing: 0;
}

[dir="rtl"] .section-label {
    flex-direction: row-reverse;
}
[dir="rtl"] .section-label::before {
    right: auto;
    left: auto;
    margin-right: 0;
    margin-left: 0;
}

/* Flip contact-method hover arrow in RTL */
[dir="rtl"] .contact-method:hover {
    transform: translateX(-4px);
}
[dir="rtl"] .contact-method:hover .contact-method-arrow {
    transform: translateX(-4px) rotate(180deg);
}
[dir="rtl"] .contact-method-arrow {
    transform: rotate(180deg);
}

/* Hero buttons icon direction */
[dir="rtl"] .btn svg {
    transform: rotate(180deg);
}
[dir="rtl"] .btn.btn-ghost svg {
    transform: rotate(0deg);
}

/* Feature items */
[dir="rtl"] .feature-item {
    flex-direction: row-reverse;
}

/* About floating cards position swap */
[dir="rtl"] .about-float-1 { right: auto; left: 0; }
[dir="rtl"] .about-float-2 { left: auto; right: 0; }

/* Process connector alignment */
[dir="rtl"] .process-steps::before {
    left: 12.5%;
    right: 12.5%;
}

/* Navbar RTL */
[dir="rtl"] .nav-container {
    flex-direction: row-reverse;
}
[dir="rtl"] .nav-links {
    flex-direction: row-reverse;
}

/* Mobile menu RTL */
@media (max-width: 768px) {
    [dir="rtl"] .nav-links {
        flex-direction: column;
        right: 0;
        left: auto;
    }
    [dir="rtl"] .nav-link {
        text-align: center;
    }
}

/* Hero logo img in RTL - no flip */
[dir="rtl"] .hero-logo-img {
    transform: scaleX(1);
}

/* Scroll indicator RTL */
[dir="rtl"] .hero-scroll-indicator {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
}

/* Form inputs RTL */
[dir="rtl"] .form-group input,
[dir="rtl"] .form-group textarea,
[dir="rtl"] .form-group select {
    text-align: right;
    direction: rtl;
}

/* Footer RTL */
[dir="rtl"] .footer-bottom {
    text-align: center;
}

/* Submit button icon */
[dir="rtl"] #form-submit svg {
    transform: rotate(180deg);
}

/* Service card top border — stays at top regardless of RTL */
[dir="rtl"] .service-card::before {
    left: 0;
    right: 0;
}

/* Step connector for RTL */
[dir="rtl"] .step-connector {
    left: auto;
    right: 50%;
}




/* === Bug Fixes === */
html, body { overflow-x: hidden !important; max-width: 100vw; }

