:root {
    --bg: #020617;
    --bg-alt: #020617f2;
    --card: rgba(15, 23, 42, 0.9);
    --card-soft: rgba(15, 23, 42, 0.8);
    --border-subtle: rgba(148, 163, 184, 0.25);
    --accent: #22c55e;
    --accent-soft: rgba(34, 197, 94, 0.14);
    --accent-2: #38bdf8;
    --text-main: #e5e7eb;
    --text-muted: #e4e8ecf4;
    --text-soft: #eef0f3;
    --danger: #fb7185;
    --font-main: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --radius-xl: 24px;
    --radius-lg: 18px;
    --shadow-soft: 0 18px 60px rgba(15, 23, 42, 0.65);
    --shadow-card: 0 18px 40px rgba(15, 23, 42, 0.7);
}
/* ===================== */
/* Theme Overrides – Pink & Teal Neon */
/* ===================== */

/* ===================== */
/* Pink & Teal Neon */
/* ===================== */

body.theme-pinkteal {
    --bg: #050618;
    --bg-alt: #050618f2;
    --card: rgba(9, 13, 32, 0.96);
    --card-soft: rgba(9, 13, 32, 0.9);

    --accent: #ec4899;     /* primary: pink */
    --accent-soft: rgba(236, 72, 153, 0.14);
    --accent-2: #06b6d4;   /* secondary: teal */

    --text-main: #f3f4f6;
    --text-muted: #d2d6e5;
    --text-soft: #e5e7f5;

    --danger: #fb7185;

    --shadow-soft: 0 18px 60px rgba(236, 72, 153, 0.4);
    --shadow-card: 0 18px 40px rgba(15, 23, 42, 0.9);
}

/* Orbits */
.theme-pinkteal .orbit-1 {
    background: radial-gradient(circle, rgba(236, 72, 153, 0.85), transparent 70%);
}
.theme-pinkteal .orbit-2 {
    background: radial-gradient(circle, rgba(6, 182, 212, 0.9), transparent 70%);
}
.theme-pinkteal .orbit-3 {
    background: radial-gradient(circle, rgba(129, 140, 248, 0.9), transparent 70%);
}

/* Logo pill & hero */
.theme-pinkteal .logo-pill {
    background: radial-gradient(circle at 20% 20%, #ec4899, #ec4899, #06b6d4);
    box-shadow: 0 16px 70px rgba(236, 72, 153, 0.8);
}

.theme-pinkteal .hero {
    background-image: radial-gradient(circle at top left, rgba(236, 72, 153, 0.18), transparent 60%);
}

/* Buttons */
.theme-pinkteal .btn.primary {
    background: linear-gradient(135deg, #ec4899, #06b6d4);
    box-shadow: 0 18px 150px rgba(236, 72, 153, 0.55);
}

/* ===================== */
/* Purple / Blue Tech Theme */
/* ===================== */

body.theme-purple {
    --bg: #0b0f24;
    --bg-alt: #0b0f24e6;
    --card: rgba(11, 15, 36, 0.95);
    --card-soft: rgba(11, 15, 36, 0.88);

    --accent: #8b5cf6;     /* violet */
    --accent-soft: rgba(139, 92, 246, 0.18);
    --accent-2: #3b82f6;   /* bright blue */

    --text-main: #ececff;
    --text-muted: #c5c8dd;
    --text-soft: #f4f4ff;

    --danger: #fb7185;

    --shadow-soft: 0 18px 60px rgba(59, 130, 246, 0.45);
    --shadow-card: 0 18px 40px rgba(15, 23, 42, 0.9);
}

/* Orbits */
.theme-purple .orbit-1 {
    background: radial-gradient(circle, rgba(139, 92, 246, 0.85), transparent 70%);
}
.theme-purple .orbit-2 {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.85), transparent 70%);
}
.theme-purple .orbit-3 {
    background: radial-gradient(circle, rgba(99, 102, 241, 0.9), transparent 70%);
}

/* Logo & hero */
.theme-purple .logo-pill {
    background: radial-gradient(circle at 20% 20%, #8b5cf6, #3b82f6, #22c55e);
    box-shadow: 0 16px 70px rgba(139, 92, 246, 0.8);
}

.theme-purple .hero {
    background-image: radial-gradient(circle at top left, rgba(139, 92, 246, 0.22), transparent 60%);
}

/* Buttons */
.theme-purple .btn.primary {
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
    box-shadow: 0 18px 150px rgba(139, 92, 246, 0.55);
}

/* ===================== */
/* Orange / Amber Growth Theme */
/* ===================== */

body.theme-orange {
    --bg: #120a03;
    --bg-alt: #120a03e8;
    --card: rgba(20, 12, 4, 0.94);
    --card-soft: rgba(20, 12, 4, 0.88);

    --accent: #f59e0b;     /* amber */
    --accent-soft: rgba(245, 158, 11, 0.2);
    --accent-2: #fb923c;   /* orange */

    --text-main: #fff6e5;
    --text-muted: #e4d6c2;
    --text-soft: #fff9ef;

    --danger: #fb7185;

    --shadow-soft: 0 18px 60px rgba(251, 146, 60, 0.45);
    --shadow-card: 0 18px 40px rgba(15, 23, 42, 0.9);
}

/* Orbits */
.theme-orange .orbit-1 {
    background: radial-gradient(circle, rgba(245, 158, 11, 0.85), transparent 70%);
}
.theme-orange .orbit-2 {
    background: radial-gradient(circle, rgba(251, 146, 60, 0.9), transparent 70%);
}
.theme-orange .orbit-3 {
    background: radial-gradient(circle, rgba(253, 186, 116, 0.9), transparent 70%);
}

/* Logo & hero */
.theme-orange .logo-pill {
    background: radial-gradient(circle at 20% 20%, #f97316, #f59e0b, #fb923c);
    box-shadow: 0 16px 70px rgba(251, 146, 60, 0.8);
}

.theme-orange .hero {
    background-image: radial-gradient(circle at top left, rgba(245, 158, 11, 0.22), transparent 60%);
}

/* Buttons */
.theme-orange .btn.primary {
    background: linear-gradient(135deg, #f59e0b, #fb923c);
    box-shadow: 0 18px 150px rgba(251, 146, 60, 0.5);
}

/* ===================== */
/* Aqua / Lime Fresh Theme */
/* ===================== */

body.theme-aqua {
    --bg: #03110e;
    --bg-alt: #03110ef0;
    --card: rgba(6, 21, 19, 0.94);
    --card-soft: rgba(6, 21, 19, 0.88);

    --accent: #2dd4bf;      /* aqua */
    --accent-soft: rgba(45, 212, 191, 0.22);
    --accent-2: #84cc16;    /* lime */

    --text-main: #eafffa;
    --text-muted: #b9cec8;
    --text-soft: #f5fffc;

    --danger: #fb7185;

    --shadow-soft: 0 18px 60px rgba(45, 212, 191, 0.45);
    --shadow-card: 0 18px 40px rgba(15, 23, 42, 0.9);
}

/* Orbits */
.theme-aqua .orbit-1 {
    background: radial-gradient(circle, rgba(45, 212, 191, 0.85), transparent 70%);
}
.theme-aqua .orbit-2 {
    background: radial-gradient(circle, rgba(132, 204, 22, 0.9), transparent 70%);
}
.theme-aqua .orbit-3 {
    background: radial-gradient(circle, rgba(167, 243, 208, 0.9), transparent 70%);
}

/* Logo & hero */
.theme-aqua .logo-pill {
    background: radial-gradient(circle at 20% 20%, #2dd4bf, #22c55e, #84cc16);
    box-shadow: 0 16px 70px rgba(45, 212, 191, 0.8);
}

.theme-aqua .hero {
    background-image: radial-gradient(circle at top left, rgba(45, 212, 191, 0.22), transparent 60%);
}

/* Buttons */
.theme-aqua .btn.primary {
    background: linear-gradient(135deg, #2dd4bf, #84cc16);
    box-shadow: 0 18px 150px rgba(45, 212, 191, 0.5);
}

/* ===================== */
/* Neon Red / Pink Performance Theme */
/* ===================== */

body.theme-neon {
    --bg: #1a0a0e;
    --bg-alt: #1a0a0ee8;
    --card: rgba(28, 12, 15, 0.95);
    --card-soft: rgba(28, 12, 15, 0.88);

    --accent: #ef4444;     /* red */
    --accent-soft: rgba(239, 68, 68, 0.22);
    --accent-2: #ec4899;   /* hot pink */

    --text-main: #ffecef;
    --text-muted: #e0bfc5;
    --text-soft: #ffe6eb;

    --danger: #fb7185;

    --shadow-soft: 0 18px 60px rgba(236, 72, 153, 0.45);
    --shadow-card: 0 18px 40px rgba(15, 23, 42, 0.95);
}

/* Orbits */
.theme-neon .orbit-1 {
    background: radial-gradient(circle, rgba(239, 68, 68, 0.85), transparent 70%);
}
.theme-neon .orbit-2 {
    background: radial-gradient(circle, rgba(236, 72, 153, 0.95), transparent 70%);
}
.theme-neon .orbit-3 {
    background: radial-gradient(circle, rgba(251, 113, 133, 0.9), transparent 70%);
}

/* Logo & hero */
.theme-neon .logo-pill {
    background: radial-gradient(circle at 20% 20%, #ef4444, #ec4899, #fb7185);
    box-shadow: 0 16px 80px rgba(236, 72, 153, 0.9);
}

.theme-neon .hero {
    background-image: radial-gradient(circle at top left, rgba(239, 68, 68, 0.22), transparent 60%);
}

/* Buttons */
.theme-neon .btn.primary {
    background: linear-gradient(135deg, #ef4444, #ec4899);
    box-shadow: 0 18px 160px rgba(236, 72, 153, 0.65);
}



/* ===================== */
/* RTL SUPPORT            */
/* ===================== */
	.group-note {
    font-size: 0.78rem;
    color: var(--text-soft);
    opacity: 0.85;
}

html[dir="rtl"] body {
    direction: rtl;
    text-align: right;
}

/* Navbar RTL */
html[dir="rtl"] .nav-inner {
    flex-direction: row-reverse;
}

html[dir="rtl"] .nav-links {
    flex-direction: row-reverse;
    justify-content: flex-start;
}

html[dir="rtl"] .logo-text {
    text-align: right;
}

/* Hero & sections */
html[dir="rtl"] .hero-text,
html[dir="rtl"] .section-head,
html[dir="rtl"] .section-head.left,
html[dir="rtl"] .contact-text,
html[dir="rtl"] .pill-list,
html[dir="rtl"] .contact-points {
    text-align: right;
}

/* Buttons row */
html[dir="rtl"] .hero-actions {
    flex-direction: row-reverse;
}

/* Metrics & chips */
html[dir="rtl"] .hero-metrics,
html[dir="rtl"] .channels-grid,
html[dir="rtl"] .work-metrics {
    justify-content: flex-start;
}

/* Process timeline line on the right instead of left */
html[dir="rtl"] .process-step {
    grid-template-columns: 1fr auto;
}

html[dir="rtl"] .process-step:not(:last-child)::after {
    left: auto;
    right: 18px;
}

/* Contact form labels & note */
html[dir="rtl"] .form-field label,
html[dir="rtl"] .form-note {
    text-align: right;
}


    /* Mobile nav RTL tweak */
    html[dir="rtl"] .nav-links {
        justify-content: flex-start;
    }



/* Reset-ish */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background: radial-gradient(circle at top left, #0f172a 0, #020617 40%, #000 100%);
    color: var(--text-main);
    min-height: 100vh;
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    display: block;
}

/* Layout helpers */
.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 7rem 0;
    position: relative;
    z-index: 1;
}

.section.alt {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.96));
    backdrop-filter: blur(18px);
}

/* Background orbits */
.bg-orbit {
    position: fixed;
    border-radius: 999px;
    filter: blur(60px);
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

.orbit-1 {
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.8), transparent 70%);
    top: -80px;
    left: -40px;
    animation: float-orbit 18s ease-in-out infinite alternate;
}

.orbit-2 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.85), transparent 70%);
    bottom: 10%;
    right: -80px;
    animation: float-orbit 24s ease-in-out infinite alternate;
}

.orbit-3 {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(129, 140, 248, 0.9), transparent 70%);
    top: 40%;
    left: 60%;
    transform: translateX(-50%);
    animation: float-orbit 26s ease-in-out infinite alternate;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(18px);
    background: linear-gradient(to bottom, rgba(2, 6, 23, 0.94), rgba(2, 6, 23, 0.76));
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.logo-pill {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: radial-gradient(circle at 20% 20%, #22c55e, #22c55e, #0ea5e9);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    color: #0b1120;
    box-shadow: 0 12px 60px rgba(34, 197, 94, 0.7);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-weight: 600;
    font-size: 0.98rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.logo-subtitle {
    font-size: 0.74rem;
    color: var(--text-soft);
}

/* Nav links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.9rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    position: relative;
    transition: color 0.18s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.35rem;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(to right, var(--accent), var(--accent-2));
    transition: width 0.2s ease;
}

.nav-links a:hover {
    color: var(--text-main);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 0.35rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.14), rgba(15, 23, 42, 0.7));
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.9);
}

.lang-switch {
    font-size: 0.82rem;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    color: var(--text-muted);
    text-decoration: none;
    line-height: 1;
}

.lang-switch:hover {
    color: var(--text-main);
    border-color: rgba(148, 163, 184, 0.9);
}


/* Hero */
.hero {
    padding-top: 5rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 3.6rem;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: rgba(15, 23, 42, 0.9);
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.badge::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: radial-gradient(circle, var(--accent), transparent);
    box-shadow: 0 0 16px var(--accent);
}

.hero-text h1 {
    font-size: clamp(2.4rem, 3.1vw + 1.4rem, 3.6rem);
    line-height: 1.1;
    margin: 1.3rem 0 0.8rem;
}

.gradient-text {
    background: linear-gradient(120deg, var(--accent), var(--accent-2), #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-sub {
    color: var(--text-muted);
    max-width: 520px;
    font-size: 0.98rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.7rem 0 1.6rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.4rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition:
        transform 0.13s ease,
        box-shadow 0.13s ease,
        background 0.13s ease,
        border-color 0.13s ease,
        color 0.13s ease;
    white-space: nowrap;
}

.btn.primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #020617;
    box-shadow: 0 18px 150px rgba(34, 197, 94, 0.6);
}

.btn.ghost {
    background: transparent;
    border-color: rgba(148, 163, 184, 0.55);
    color: var(--text-main);
}

.btn.full-width {
    width: 100%;
}

.btn:hover {
    transform: translateY(-1px) translateZ(0);
    box-shadow: 0 22px 40px rgba(15, 23, 42, 0.9);
}

/* Hero metrics */
.hero-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 1.3rem;
    margin-top: 0.75rem;
}

.metric {
    min-width: 140px;
}

.metric-number {
    display: block;
    font-weight: 600;
    font-size: 1.35rem;
}

.metric-label {
    display: block;
    font-size: 0.78rem;
    color: var(--text-soft);
}

/* Hero visual */
.hero-visual {
    position: relative;
}

.glass-card {
    background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.94));
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-card);
    padding: 1.5rem 1.4rem;
    position: relative;
    overflow: hidden;
}

.kpi-card {
    margin-bottom: 1.1rem;
}

.kpi-card h3 {
    font-size: 0.95rem;
    margin: 0 0 0.85rem;
}

.kpi-row {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1.1rem;
}

.kpi {
    flex: 1;
}

.kpi-label {
    font-size: 0.78rem;
    color: var(--text-soft);
}

.kpi-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
}

.kpi-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.7rem;
    margin-top: 0.1rem;
}

.kpi-chip-up {
    background: rgba(22, 163, 74, 0.16);
    color: #bbf7d0;
}

.kpi-chip-down {
    background: rgba(244, 63, 94, 0.16);
    color: #fecaca;
}

.kpi-graph {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.4rem;
    height: 80px;
    margin-bottom: 0.45rem;
}

.kpi-bar {
    flex: 1;
    border-radius: 999px;
    background: linear-gradient(to top, var(--accent), var(--accent-2));
    box-shadow: 0 8px 24px rgba(56, 189, 248, 0.7);
    transform-origin: bottom;
    animation: bar-pulse 2.4s ease-in-out infinite alternate;
    opacity: 0.95;
}

.bar-1 { height: 40%; animation-delay: 0s; }
.bar-2 { height: 70%; animation-delay: 0.12s; }
.bar-3 { height: 55%; animation-delay: 0.24s; }
.bar-4 { height: 85%; animation-delay: 0.36s; }
.bar-5 { height: 60%; animation-delay: 0.48s; }

.kpi-note {
    font-size: 0.75rem;
    color: var(--text-soft);
}

.channels-card {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.16), rgba(15, 23, 42, 0.96));
}

.channels-title {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.channels-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.chip {
    font-size: 0.75rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: rgba(15, 23, 42, 0.9);
}

/* Section head */
.section-head {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 3rem;
}

.section-head.left {
    text-align: left;
    margin-left: 0;
}

.section-head h2 {
    font-size: 1.9rem;
    margin: 1rem 0 0.7rem;
}

.section-head p {
    color: var(--text-muted);
    font-size: 0.96rem;
}

/* Cards grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.7rem;
}

/* Service cards */
.service-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    padding: 1.6rem 1.6rem 1.8rem;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    opacity: 0.06;
    background:
        radial-gradient(circle at top left, var(--accent), transparent 65%),
        radial-gradient(circle at bottom right, var(--accent-2), transparent 70%);
    z-index: -1;
}

.service-card h3 {
    margin-top: 0.8rem;
    margin-bottom: 0.4rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.9rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: var(--text-soft);
}

.service-card li::before {
    content: "•";
    color: var(--accent);
    margin-right: 0.35rem;
}

.service-icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: var(--accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbf7d0;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Work cards */
.work-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.work-card {
    background: var(--card-soft);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    padding: 1.6rem 1.6rem 1.7rem;
    box-shadow: var(--shadow-card);
}

.work-tag {
    display: inline-flex;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}

.work-card h3 {
    margin-top: 0.2rem;
    margin-bottom: 0.4rem;
}

.work-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.9rem;
}

.work-metrics {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.3rem;
    font-size: 0.85rem;
    color: var(--text-soft);
}

.work-metrics span {
    color: var(--accent-2);
    font-weight: 600;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: flex-start;
}

.pill-list {
    list-style: none;
    margin: 1.3rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.6rem;
}

.pill-list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: rgba(15, 23, 42, 0.9);
}

/* Process */
.process-timeline {
    background: var(--card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    padding: 1.7rem 1.5rem;
    box-shadow: var(--shadow-card);
}

.process-timeline h3 {
    margin-top: 0;
    margin-bottom: 1.1rem;
}

.process-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.9rem;
    padding: 0.65rem 0;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 18px;
    top: 40px;
    width: 1px;
    height: calc(100% - 18px);
    background: linear-gradient(to bottom, rgba(148, 163, 184, 0.8), transparent);
}

.process-bullet {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--accent-2);
    background: rgba(15, 23, 42, 0.9);
}

.process-content h4 {
    margin: 0 0 0.2rem;
    font-size: 0.95rem;
}

.process-content p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-soft);
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: 3rem;
    align-items: flex-start;
}

.contact-points {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: grid;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.contact-form-wrapper {
    background: var(--card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
    padding: 1rem 1.7rem 1.8rem;
}

.contact-form {
    display: grid;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.form-field {
    display: grid;
    gap: 0.35rem;
}

.form-field label {
    font-size: 0.82rem;
    color: var(--text-soft);
}

/* partner */
.partner-card {
    background: var(--card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-card);
    padding: 2.2rem 2rem;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.partner-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    opacity: 0.06;
    background:
        radial-gradient(circle at top left, var(--accent), transparent 65%),
        radial-gradient(circle at bottom right, var(--accent-2), transparent 70%);
    z-index: -1;
}

.partner-card h2 {
    margin: 1rem auto 0.7rem;
    font-size: 1.8rem;
}

.partner-card p {
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 1.6rem;
    font-size: 0.95rem;
}

.partner-section .btn {
    margin-top: .5rem;
    padding: 0.9rem 1.6rem;
    font-size: 1rem;
}

.cta-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}


input[type="text"],
input[type="email"],
select,
textarea {
    border-radius: 0.9rem;
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: rgba(15, 23, 42, 0.9);
    padding: 0.6rem 0.75rem;
    font-family: inherit;
    font-size: 0.88rem;
    color: var(--text-main);
    outline: none;
    transition:
        border-color 0.13s ease,
        box-shadow 0.13s ease,
        background 0.13s ease;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
textarea::placeholder {
    color: rgba(148, 163, 184, 0.6);
}

input[type="text"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
    border-color: var(--accent-2);
    box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.5);
    background: rgba(15, 23, 42, 0.98);
}

textarea {
    resize: vertical;
}

.hidden-field {
    display: none !important;
}

.form-note {
    margin: 0;
    font-size: 0.78rem;
    color: var(--text-soft);
    text-align: center;
}

/* Footer */
.footer {
    border-top: 1px solid rgba(30, 64, 175, 0.6);
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.95), #020617);
    padding: 1.2rem 0 1.6rem;
    margin-top: 1rem;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.82rem;
    color: var(--text-soft);
}

.footer-links {
    display: flex;
    gap: 1rem;
}

/* Animations */
@keyframes float-orbit {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(40px, 40px, 0);
    }
}

@keyframes bar-pulse {
    0% {
        transform: scaleY(1);
        opacity: 0.9;
    }
    100% {
        transform: scaleY(1.12);
        opacity: 1;
    }
}

.fade-up {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    animation: fade-up 0.7s ease-out forwards;
}

.fade-up.delay-1 {
    animation-delay: 0.18s;
}

.fade-up.delay-2 {
    animation-delay: 0.32s;
}

@keyframes fade-up {
    0% {
        opacity: 0;
        transform: translate3d(0, 18px, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Responsive */
@media (max-width: 940px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.4rem;
    }


    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-sub {
        font-size: 0.92rem;
    }

    .cards-grid,
    .work-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-form-wrapper {
        padding: 1.6rem 1.3rem 1.7rem;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    /* Mobile nav RTL tweak */
    html[dir="rtl"] .nav-links {
        justify-content: flex-start;
    }
    .partner-card {
    padding: 1.5rem 1.2rem;
    }

    .partner-card h2 {
        font-size: 1.5rem;
    }


    .nav-inner {
        padding: 0.7rem 0;
        gap: 0.5rem;
    }

    .logo-title {
        font-size: 0.9rem;
    }

    .logo-subtitle {
        font-size: 0.7rem;
    }
    /* Hide all nav links on mobile except Contact */
    .nav-links a {
        display: none;
    }

    .nav-links a.nav-cta {
        display: inline-flex;
    }

    /* Keep nav visible, but make it compact and wrap */
    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 0.6rem;
        max-width: 65%;
        font-size: 0.78rem;
        margin-right: 1.5rem;
    }

    /* Hide all nav links on mobile except Contact and language switch */
.nav-links a {
    display: none;
}

.nav-links a.nav-cta,
.nav-links a.lang-switch {
    display: inline-flex;
}

    .nav-cta {
        padding: 0.25rem 0.7rem;
        font-size: 0.78rem;
    }

    .section {
        padding: 4rem 0;
    }

    .hero {
        padding-top: 4rem;
    }

    .hero-text h1 {
        font-size: 1.9rem;
    }

    .hero-sub {
        font-size: 0.88rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-metrics {
        gap: 0.9rem;
    }

    .metric {
        min-width: 0;
        flex: 1 1 45%;
    }

    .cards-grid,
    .work-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .service-card,
    .work-card {
        padding: 1.3rem 1.2rem 1.4rem;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }

    .process-timeline {
        padding: 1.4rem 1.2rem;
    }

 .contact-form-wrapper {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    padding: 1.5rem 1rem 1.5rem; /* increased side padding */
    box-sizing: border-box;
}

    .contact-grid {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .form-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.8rem;
    }

    /* Make the submit button less “wall to wall” and center it */
    .contact-form .btn.full-width {
        width: 100%;
        max-width: 260px;
        margin: 0.25rem auto 0;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }
}
