:root {
    --bg-black: #05080f;
    --bg-surface: #0b111e;
    --bg-card: rgba(13, 20, 36, 0.75);
    --bg-card-hover: rgba(18, 28, 51, 0.9);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-blue: rgba(0, 153, 255, 0.3);
    
    /* Modern Luxury Blue Palette */
    --lux-blue: #0088ff;
    --lux-cyan: #00d2ff;
    --lux-glow: rgba(0, 136, 255, 0.28);
    --lux-badge-bg: rgba(0, 136, 255, 0.12);
    
    --text-white: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #475569;
    
    --font-heading: 'Bebas Neue', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --font-arabic: 'Tajawal', sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-black);
    color: var(--text-white);
    font-family: var(--font-body);
}

body {
    position: relative;
    overflow-x: hidden;
    line-height: 1.5;
}

body.no-scroll {
    overflow: hidden;
}

/* Luxury Custom Cursor */
.cursor-dot, .cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: opacity 0.3s ease;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--lux-cyan);
    box-shadow: 0 0 10px var(--lux-cyan);
}

.cursor-outline {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(0, 210, 255, 0.6);
    transition: transform 0.15s ease-out;
}

.container {
    width: 92%;
    max-width: 1320px;
    margin: 0 auto;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 8, 15, 0.85);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-subtle);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.nav-logo-img {
    height: 34px;
    width: auto;
}

.nav-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--lux-cyan);
    letter-spacing: 0.05em;
}

.status-pulse {
    width: 7px;
    height: 7px;
    background: var(--lux-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--lux-cyan);
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

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

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--lux-cyan);
}

/* Flag Switcher */
.lang-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 136, 255, 0.08);
    border: 1px solid var(--border-blue);
    color: var(--lux-cyan);
    padding: 7px 16px;
    border-radius: 99px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lang-toggle-btn:hover {
    background: rgba(0, 136, 255, 0.2);
    border-color: var(--lux-cyan);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px var(--lux-glow);
}

.lang-flag {
    font-size: 1.15rem;
    line-height: 1;
}

.btn-talk {
    background: linear-gradient(135deg, var(--lux-blue), var(--lux-cyan));
    color: #fff;
    padding: 9px 20px;
    border-radius: 99px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 16px var(--lux-glow);
    transition: var(--ease-out);
}

.btn-talk:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(0, 136, 255, 0.5);
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1100;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.mobile-toggle .bar {
    display: block;
    width: 26px;
    height: 2px;
    background-color: var(--text-white);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--lux-cyan);
}

.mobile-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--lux-cyan);
}

/* Hero Section */
.hero-poster {
    position: relative;
    padding: 140px 0 60px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-container {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    min-height: 700px;
    width: 100%;
}

.poster-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: 26vw;
    line-height: 0.8;
    color: rgba(0, 136, 255, 0.05);
    letter-spacing: -0.02em;
    user-select: none;
    pointer-events: none;
    z-index: 1;
}

.hero-image-wrapper {
    position: absolute;
    right: 8%;
    bottom: 0;
    width: 520px;
    height: 780px;
    z-index: 2;
    pointer-events: none;
}

.hero-portrait {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom center;
    filter: contrast(1.08) brightness(0.95);
    mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 60% 40%, transparent 40%, var(--bg-black) 90%);
}

.hero-bio {
    position: relative;
    z-index: 3;
    max-width: 600px;
}

.hero-tag {
    font-family: var(--font-mono);
    color: var(--lux-cyan);
    font-size: 0.95rem;
    letter-spacing: 0.15em;
}

.hero-name {
    font-family: var(--font-heading);
    font-size: 6.8rem;
    line-height: 0.88;
    letter-spacing: 0.02em;
    margin: 8px 0 16px;
    color: var(--text-white);
}

.hero-role {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--lux-cyan);
    letter-spacing: 0.06em;
    margin-bottom: 20px;
}

.hero-summary {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.65;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.btn-main {
    background: linear-gradient(135deg, var(--lux-blue), #0066cc);
    color: var(--text-white);
    padding: 14px 32px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
    border-radius: 6px;
    box-shadow: 0 8px 24px var(--lux-glow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 136, 255, 0.45);
}

.btn-ghost {
    border: 1px solid var(--border-subtle);
    color: var(--text-white);
    padding: 14px 28px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.02);
    transition: background 0.2s, border-color 0.2s;
}

.btn-ghost:hover {
    background: rgba(0, 136, 255, 0.08);
    border-color: var(--border-blue);
}

.hero-specs-card {
    position: absolute;
    right: 0;
    bottom: 40px;
    z-index: 4;
    background: rgba(11, 17, 30, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    border-left: 2px solid var(--lux-cyan);
    padding: 24px;
    border-radius: 8px;
    width: 290px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.spec-row {
    display: flex;
    flex-direction: column;
}

.spec-label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-dim);
    letter-spacing: 0.08em;
}

.spec-value {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-white);
}

/* Stats Strip */
.stats-strip {
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    background: var(--bg-surface);
    padding: 36px 0;
}

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

.stat-box {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.4rem;
    line-height: 1;
    color: var(--lux-cyan);
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 4px;
    text-transform: uppercase;
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-title-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.sub-heading {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--lux-cyan);
    letter-spacing: 0.12em;
    display: block;
    margin-bottom: 6px;
}

.main-heading {
    font-family: var(--font-heading);
    font-size: 3rem;
    letter-spacing: 0.02em;
}

.main-heading-large {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 0.95;
    letter-spacing: 0.02em;
    margin-top: 8px;
}

.project-filter-badge {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    padding: 6px 14px;
    border-radius: 99px;
}

/* Projects Cards */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 28px;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 340px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
}

.project-card:hover {
    border-color: var(--lux-blue);
    background: var(--bg-card-hover);
    box-shadow: 0 16px 36px rgba(0, 136, 255, 0.15);
}

.project-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.project-num {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--lux-cyan);
    font-weight: 700;
}

.project-badge {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 99px;
    letter-spacing: 0.04em;
}

.badge-archived {
    background: rgba(148, 163, 184, 0.1);
    color: #94a3b8;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.badge-redesigned {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.badge-live {
    background: rgba(0, 210, 255, 0.1);
    color: var(--lux-cyan);
    border: 1px solid rgba(0, 210, 255, 0.3);
}

.project-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-white);
}

.project-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 18px;
}

.project-domain {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--lux-cyan);
    margin-bottom: 20px;
    word-break: break-all;
    opacity: 0.9;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid var(--border-subtle);
    padding-top: 16px;
}

.project-tags span {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    color: var(--text-muted);
}

/* More Banner */
.projects-more-banner {
    position: relative;
    margin-top: 60px;
    padding: 60px 40px;
    background: radial-gradient(circle at 50% 50%, rgba(0, 136, 255, 0.08) 0%, rgba(11, 17, 30, 0.7) 100%);
    border: 1px solid var(--border-blue);
    border-radius: 16px;
    text-align: center;
    overflow: hidden;
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.more-text-wrap {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.more-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: 8rem;
    color: rgba(0, 210, 255, 0.05);
    white-space: nowrap;
    user-select: none;
    pointer-events: none;
    z-index: -1;
    letter-spacing: 0.05em;
}

.more-headline {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    letter-spacing: 0.03em;
    color: var(--text-white);
    background: linear-gradient(135deg, #ffffff 40%, var(--lux-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 12px;
}

.more-subtext {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.btn-more-inquire {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 136, 255, 0.12);
    border: 1px solid var(--border-blue);
    color: var(--lux-cyan);
    padding: 14px 32px;
    border-radius: 99px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-more-inquire:hover {
    background: linear-gradient(135deg, var(--lux-blue), var(--lux-cyan));
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--lux-glow);
}

/* Workflow & Tech Two-Column */
.grid-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.workflow-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.workflow-step {
    display: flex;
    gap: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 20px 24px;
    border-radius: 8px;
    transition: border-color 0.2s;
}

.workflow-step:hover {
    border-color: var(--lux-cyan);
}

.step-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--lux-cyan);
    line-height: 1;
}

.step-body h4 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.step-body p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* Tech Pill Grid */
.pill-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 32px;
}

.tech-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 14px 18px;
    border-radius: 6px;
    transition: background 0.2s, transform 0.2s;
}

.tech-pill:hover {
    background: var(--bg-card-hover);
    transform: translateX(4px);
    border-color: var(--border-blue);
}

.pill-icon {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--lux-cyan);
    background: var(--lux-badge-bg);
    padding: 4px 8px;
    border-radius: 4px;
}

.pill-name {
    font-size: 0.85rem;
    font-weight: 500;
}

.quote-card {
    margin-top: 28px;
    padding: 24px;
    border-left: 2px solid var(--lux-cyan);
    background: rgba(0, 136, 255, 0.04);
    border-radius: 0 8px 8px 0;
}

.quote-text {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--text-white);
    margin-bottom: 8px;
}

.quote-author {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--lux-cyan);
}

/* Timeline */
.exp-timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.exp-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 28px 32px;
    transition: border-color 0.2s;
}

.exp-card:hover {
    border-color: var(--border-blue);
}

.exp-time {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--lux-cyan);
    font-weight: 600;
}

.exp-content h3 {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.exp-content h4 {
    font-size: 0.9rem;
    color: var(--text-dim);
    font-weight: 500;
    margin-bottom: 12px;
}

.exp-content p {
    font-size: 0.92rem;
    color: var(--text-muted);
}

/* Contact Banner */
.contact-banner {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
}

.contact-subtext {
    color: var(--text-muted);
    margin: 20px 0 36px;
    font-size: 1rem;
    line-height: 1.6;
}

.direct-contact-items {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.d-label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-dim);
    letter-spacing: 0.08em;
    display: block;
}

.d-val {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-white);
    text-decoration: none;
    transition: color 0.2s;
}

.d-val:hover {
    color: var(--lux-cyan);
}

/* Form */
.secure-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-field label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.form-field input, .form-field textarea {
    width: 100%;
    padding: 14px 18px;
    background: #060912;
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    color: var(--text-white);
    font-family: inherit;
    font-size: 0.9rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-field input:focus, .form-field textarea:focus {
    outline: none;
    border-color: var(--lux-cyan);
    box-shadow: 0 0 14px var(--lux-glow);
}

.turnstile-container {
    margin: 8px 0 16px;
    display: flex;
    justify-content: flex-start;
}

.turnstile-container iframe {
    pointer-events: auto;
}

.btn-submit {
    background: linear-gradient(135deg, var(--lux-blue), var(--lux-cyan));
    color: var(--text-white);
    border: none;
    padding: 16px;
    font-weight: 700;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    cursor: pointer;
    border-radius: 4px;
    box-shadow: 0 4px 20px var(--lux-glow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(0, 136, 255, 0.4);
}

.alert-box {
    padding: 14px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 0.88rem;
    font-family: var(--font-mono);
}

.alert-success {
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid var(--lux-cyan);
    color: var(--lux-cyan);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    color: #ef4444;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-subtle);
    padding: 40px 0;
    background: var(--bg-black);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-dim);
}

.footer-logo-img {
    height: 28px;
}

.footer-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-family: var(--font-mono);
}

.footer-nav a:hover {
    color: var(--lux-cyan);
}

/* =============================================================
   RTL ARABIC PRECISION STYLES (TAJAWAL TYPOGRAPHY & LAYOUT FIX)
   ============================================================= */

html[dir="rtl"] {
    font-family: var(--font-arabic);
}

/* 1. Hero Alignment Fix in Arabic: Portrait Left, Specs Left, Bio Right */
html[dir="rtl"] .hero-image-wrapper {
    right: auto;
    left: 8%;
}

html[dir="rtl"] .hero-specs-card {
    right: auto;
    left: 0;
    border-left: 1px solid var(--border-subtle);
    border-right: 3px solid var(--lux-cyan);
}

html[dir="rtl"] .hero-bio {
    text-align: right;
}

/* 2. Absolute Spacing & Typographic Fix for Arabic (No Letter Overlapping) */
html[dir="rtl"] .main-heading,
html[dir="rtl"] .main-heading-large,
html[dir="rtl"] .hero-name,
html[dir="rtl"] .stat-number,
html[dir="rtl"] .more-headline,
html[dir="rtl"] .step-num {
    font-family: var(--font-arabic);
    font-weight: 900;
    letter-spacing: 0 !important;
    word-spacing: normal !important;
}

html[dir="rtl"] .hero-name {
    font-size: 4.8rem;
    line-height: 1.15;
    margin: 8px 0 20px;
}

html[dir="rtl"] .main-heading-large {
    font-size: 3rem;
    line-height: 1.35;
    margin-top: 10px;
    margin-bottom: 16px;
}

html[dir="rtl"] .main-heading {
    font-size: 2.3rem;
    line-height: 1.3;
}

html[dir="rtl"] .sub-heading,
html[dir="rtl"] .hero-tag,
html[dir="rtl"] .spec-label,
html[dir="rtl"] .stat-label,
html[dir="rtl"] .d-label,
html[dir="rtl"] .form-field label,
html[dir="rtl"] .btn-submit,
html[dir="rtl"] .btn-more-inquire,
html[dir="rtl"] .nav-status {
    letter-spacing: 0 !important;
    font-family: var(--font-arabic);
}

html[dir="rtl"] .hero-role,
html[dir="rtl"] .project-title,
html[dir="rtl"] .skill-card h3,
html[dir="rtl"] .step-body h4,
html[dir="rtl"] .exp-content h3 {
    font-family: var(--font-arabic);
    font-weight: 700;
    letter-spacing: 0 !important;
}

html[dir="rtl"] .hero-summary,
html[dir="rtl"] .project-desc,
html[dir="rtl"] .skill-card p,
html[dir="rtl"] .step-body p,
html[dir="rtl"] .exp-content p,
html[dir="rtl"] .contact-subtext,
html[dir="rtl"] .more-subtext {
    font-family: var(--font-arabic);
    font-weight: 400;
    line-height: 1.85;
    letter-spacing: 0 !important;
}

html[dir="rtl"] .btn,
html[dir="rtl"] .btn-main,
html[dir="rtl"] .btn-ghost,
html[dir="rtl"] .btn-talk,
html[dir="rtl"] .btn-submit,
html[dir="rtl"] .btn-more-inquire,
html[dir="rtl"] .lang-toggle-btn {
    font-family: var(--font-arabic);
    font-weight: 700;
    letter-spacing: 0 !important;
}

html[dir="rtl"] .quote-card {
    border-left: none;
    border-right: 3px solid var(--lux-cyan);
    border-radius: 8px 0 0 8px;
    text-align: right;
}

html[dir="rtl"] .contact-left,
html[dir="rtl"] .secure-form {
    text-align: right;
}

html[dir="rtl"] .turnstile-container {
    justify-content: flex-start;
}

html[dir="rtl"] .tech-pill:hover {
    transform: translateX(-4px);
}

/* Responsive Breakpoints & Mobile Drawer */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 40px;
    }
    .hero-image-wrapper {
        position: relative;
        right: auto !important;
        left: auto !important;
        bottom: auto;
        width: 100%;
        max-width: 440px;
        height: 540px;
        margin: 40px auto 0;
    }
    .hero-specs-card {
        position: relative;
        right: auto !important;
        left: auto !important;
        bottom: auto;
        width: 100%;
        margin-top: 24px;
    }
    .grid-two-col, .contact-banner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 900px) {
    .nav-status {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(5, 8, 15, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border-blue);
        flex-direction: column;
        align-items: center;
        padding: 32px 20px;
        gap: 22px;
        transform: translateY(-150%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s;
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        font-size: 1.1rem;
        font-weight: 600;
        width: 100%;
        text-align: center;
        padding: 8px 0;
    }

    .btn-talk {
        width: 100%;
        max-width: 280px;
        text-align: center;
        padding: 12px;
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .hero-name {
        font-size: 4.2rem !important;
    }
    .exp-card {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .pill-grid {
        grid-template-columns: 1fr;
    }
    .contact-banner {
        padding: 30px 20px;
    }
    .projects-more-banner {
        padding: 40px 20px;
        margin-top: 40px;
    }
    .more-headline {
        font-size: 2.2rem;
    }
    .more-watermark {
        font-size: 4.2rem;
    }
}