:root {
    --bg: #07080d;
    --bg2: #0d0f1a;
    --card: rgba(255,255,255,0.04);
    --border: rgba(255,255,255,0.08);
    --gold: #f5c842;
    --gold2: #e6a817;
    --green: #00e5a0;
    --red: #ff4d6d;
    --text: #f0f0f0;
    --muted: #6b7280;
    --white: #ffffff;
}

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

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Space Grotesk', 'Noto Kufi Arabic', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
}

[dir="rtl"] { font-family: 'Noto Kufi Arabic', 'Space Grotesk', sans-serif; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 10px; }

/* ─── LOADER ─── */
#loader {
    position: fixed; inset: 0;
    background: var(--bg);
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    z-index: 99999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 8vw, 3rem);
    letter-spacing: 4px;
    color: var(--gold);
    animation: pulse 1.2s ease-in-out infinite;
    text-align: center;
    padding: 0 16px;
}
.loader-bar {
    margin-top: 20px;
    width: 180px; height: 3px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
}
.loader-bar::after {
    content: '';
    display: block;
    width: 60%;
    height: 100%;
    background: var(--gold);
    border-radius: 10px;
    animation: loadSlide 1s ease-in-out infinite alternate;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }
@keyframes loadSlide { from{transform:translateX(-100%)} to{transform:translateX(200%)} }

/* ─── NAV ─── */
.navbar {
    position: fixed; top: 16px; left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1100px;
    background: rgba(13,15,26,0.9);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border);
    padding: 14px 32px;
    border-radius: 100px;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.logo {
    display: flex; align-items: center; gap: 10px;
    cursor: pointer; text-decoration: none;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    letter-spacing: 2px;
    flex-shrink: 0;
}
.logo .sw { color: var(--white); }
.logo .dz-badge {
    background: var(--gold);
    color: #000;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 1.2rem;
}

.nav-links {
    display: flex; list-style: none; gap: 6px;
}
.nav-links li a {
    text-decoration: none;
    color: var(--muted);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 50px;
    transition: all 0.25s;
    white-space: nowrap;
}
.nav-links li a:hover, .nav-links li a.active {
    color: var(--text);
    background: rgba(255,255,255,0.07);
}
.nav-links li a.active { color: var(--gold); }

.nav-controls { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.lang-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    padding: 8px 16px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.25s;
    font-family: inherit;
    white-space: nowrap;
}
.lang-btn:hover { border-color: var(--gold); color: var(--gold); }

/* ─── HAMBURGER ─── */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.25s;
}
.hamburger:hover { border-color: var(--gold); }
.hamburger span {
    display: block;
    width: 18px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── MOBILE MENU DRAWER ─── */
.mobile-menu {
    display: none;
    position: fixed;
    top: 80px; left: 20px; right: 20px;
    background: rgba(13,15,26,0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 16px;
    z-index: 999;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    flex-direction: column;
    gap: 4px;
    animation: slideDown 0.25s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
    text-decoration: none;
    color: var(--muted);
    font-weight: 500;
    font-size: 1rem;
    padding: 14px 20px;
    border-radius: 12px;
    transition: all 0.2s;
    display: flex; align-items: center; gap: 10px;
}
.mobile-menu a:hover, .mobile-menu a.active {
    color: var(--gold);
    background: rgba(245,200,66,0.07);
}
.mobile-menu .menu-divider {
    height: 1px;
    background: var(--border);
    margin: 6px 0;
}
.mobile-menu .menu-lang-btn {
    padding: 14px 20px;
    border-radius: 12px;
    color: var(--text);
    font-size: 1rem;
    font-weight: 600;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    display: flex; align-items: center; gap: 10px;
    transition: all 0.2s;
}
.mobile-menu .menu-lang-btn:hover { color: var(--gold); background: rgba(245,200,66,0.07); }

/* ─── CONTAINER ─── */
.container {
    width: 92%; max-width: 1100px;
    margin: 0 auto;
    padding-top: 110px;
}

/* ─── PAGES ─── */
.page { display: none; }
.page.active {
    display: block;
    animation: fadeUp 0.45s ease forwards;
}
@keyframes fadeUp {
    from { opacity:0; transform:translateY(16px); }
    to   { opacity:1; transform:translateY(0); }
}

/* ─── HERO ─── */
.hero {
    min-height: 86vh;
    display: flex; flex-direction: column;
    justify-content: center; align-items: flex-start;
    position: relative;
    padding: 40px 0 80px;
}

.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(245,200,66,0.1);
    border: 1px solid rgba(245,200,66,0.3);
    color: var(--gold);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3.5rem, 9vw, 7rem);
    line-height: 0.95;
    letter-spacing: 2px;
    margin-bottom: 28px;
    max-width: 800px;
}
.hero h1 .line-gold { color: var(--gold); display: block; }
.hero h1 .line-white { color: var(--white); display: block; }
.hero h1 .line-outline {
    color: transparent;
    -webkit-text-stroke: 2px rgba(255,255,255,0.25);
    display: block;
}

.hero-sub {
    color: var(--muted);
    font-size: 1.1rem;
    max-width: 480px;
    margin-bottom: 40px;
    line-height: 1.7;
}
.hero-sub strong { color: var(--gold); }

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--gold);
    color: #000;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    font-family: inherit;
}
.btn-primary:hover {
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(245,200,66,0.3);
}

.btn-ghost {
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent;
    color: var(--text);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid var(--border);
    transition: all 0.3s;
    font-family: inherit;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.05); }

/* Background decoration */
.hero-bg-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
}
.hbc1 { width:500px; height:500px; background:rgba(245,200,66,0.07); top:-100px; right:-150px; }
.hbc2 { width:300px; height:300px; background:rgba(0,229,160,0.06); bottom:0; left:-100px; }

/* Stats row */
.hero-stats {
    display: flex; gap: 40px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}
.stat-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.4rem;
    color: var(--gold);
    line-height: 1;
}
.stat-label { color: var(--muted); font-size: 0.85rem; margin-top: 4px; }

/* Steps */
.steps { padding: 80px 0 40px; }
.section-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}
.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: 1px;
    margin-bottom: 48px;
    line-height: 1.1;
}
.section-title span { color: var(--gold); }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.step-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px 28px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
.step-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.step-card:hover { border-color: rgba(245,200,66,0.3); transform: translateY(-6px); }
.step-card:hover::before { opacity: 1; }

.step-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4rem;
    color: rgba(245,200,66,0.12);
    line-height: 1;
    margin-bottom: 16px;
}
.step-icon {
    width: 48px; height: 48px;
    background: rgba(245,200,66,0.1);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 16px;
}
.step-card h3 { font-size: 1.1rem; margin-bottom: 8px; font-weight: 600; }
.step-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }

/* ─── JOBS PAGE ─── */
.jobs-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 32px; flex-wrap: wrap; gap: 16px;
}

.search-wrap {
    display: flex;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 50px;
    overflow: hidden;
    width: 100%; max-width: 420px;
    transition: border-color 0.3s;
}
.search-wrap:focus-within { border-color: rgba(245,200,66,0.4); }
.search-wrap input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 12px 20px;
    color: var(--text);
    font-size: 0.95rem;
    font-family: inherit;
    min-width: 0;
}
.search-wrap input::placeholder { color: var(--muted); }
.search-wrap button {
    background: var(--gold);
    border: none;
    color: #000;
    padding: 12px 20px;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}
.search-wrap button:hover { background: #fff; }

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* ─── JOB CARD ─── */
.job-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: default;
}
.job-card:hover {
    border-color: rgba(245,200,66,0.35);
    transform: translateY(-8px);
    box-shadow: 0 24px 50px rgba(0,0,0,0.4), 0 0 0 1px rgba(245,200,66,0.1);
}

.job-img {
    height: 160px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.job-img::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, transparent 40%, var(--bg) 100%);
}

.job-img-placeholder {
    height: 160px;
    background: linear-gradient(135deg, rgba(245,200,66,0.12), rgba(0,229,160,0.08));
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem;
    color: rgba(245,200,66,0.4);
}

.job-content { padding: 20px 22px 24px; }

.job-tag {
    display: inline-block;
    background: rgba(245,200,66,0.12);
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 50px;
    margin-bottom: 10px;
}

.job-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--white);
}

.job-desc {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.job-rating {
    display: flex; align-items: center; gap: 5px;
    color: var(--gold);
    font-size: 0.88rem;
    font-weight: 600;
}

.wa-btn {
    display: inline-flex; align-items: center; gap: 7px;
    background: #25d366;
    color: #fff;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}
.wa-btn:hover { transform: scale(1.05); background: #1da851; color: #fff; }

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: var(--muted);
}
.empty-state .empty-icon { font-size: 4rem; margin-bottom: 20px; opacity: 0.3; }
.empty-state h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--text); }
.empty-state p { font-size: 0.9rem; }

/* ─── FORM ─── */
.form-wrap {
    max-width: 560px;
    margin: 0 auto;
}

.form-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
}

.form-header { margin-bottom: 32px; }
.form-header h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 1px;
    color: var(--gold);
}
.form-header p { color: var(--muted); font-size: 0.9rem; margin-top: 6px; }

.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}
.form-control {
    width: 100%;
    padding: 13px 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-size: 0.95rem;
    transition: border-color 0.25s;
    font-family: inherit;
}
.form-control:focus {
    outline: none;
    border-color: rgba(245,200,66,0.5);
    background: rgba(255,255,255,0.06);
}
.form-control::placeholder { color: var(--muted); }
textarea.form-control { resize: vertical; min-height: 110px; }

/* Image Upload Area */
.img-upload-area {
    width: 100%; height: 160px;
    background: rgba(255,255,255,0.03);
    border: 2px dashed var(--border);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: border-color 0.25s, background 0.25s;
}
.img-upload-area:hover, .img-upload-area.drag-over {
    border-color: rgba(245,200,66,0.5);
    background: rgba(245,200,66,0.04);
}
.img-upload-placeholder {
    display: flex; flex-direction: column;
    align-items: center; gap: 10px;
    color: var(--muted);
    pointer-events: none;
    text-align: center;
    padding: 0 16px;
}
.img-upload-placeholder i { font-size: 2rem; color: rgba(245,200,66,0.35); }
.img-upload-placeholder span { font-size: 0.85rem; }
.img-remove-btn {
    position: absolute; top: 8px; right: 8px;
    background: rgba(0,0,0,0.6);
    border: none; color: #fff;
    width: 28px; height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem;
    z-index: 10;
    transition: background 0.2s;
}
.img-remove-btn:hover { background: var(--red); }

.form-submit {
    width: 100%;
    padding: 15px;
    background: var(--gold);
    color: #000;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    margin-top: 8px;
}
.form-submit:hover { background: #fff; transform: translateY(-2px); }

/* ─── ABOUT ─── */
.about-hero { padding: 40px 0 60px; }
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.about-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s;
}
.about-card:hover { border-color: rgba(245,200,66,0.3); transform: translateY(-4px); }
.about-card-icon {
    width: 52px; height: 52px;
    background: rgba(245,200,66,0.1);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    color: var(--gold);
    margin-bottom: 20px;
}
.about-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.about-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.7; }

/* ─── TOAST ─── */
.toast {
    position: fixed;
    bottom: 28px; right: 28px;
    background: #0d1a12;
    border: 1px solid rgba(0,229,160,0.3);
    color: var(--green);
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex; align-items: center; gap: 10px;
    transform: translateY(80px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    max-width: calc(100% - 40px);
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ─── SCROLL ANIMATIONS ─── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.reveal.active { opacity: 1; transform: translateY(0); }

.steps-grid .step-card:nth-child(2) { transition-delay: 0.1s; }
.steps-grid .step-card:nth-child(3) { transition-delay: 0.2s; }
.about-grid .about-card:nth-child(2) { transition-delay: 0.1s; }
.about-grid .about-card:nth-child(3) { transition-delay: 0.2s; }

/* ════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
════════════════════════════════════════ */

/* ─── Tablet (≤ 900px) ─── */
@media (max-width: 900px) {
    .navbar { padding: 12px 24px; }
    .nav-links { display: none; }
    .hamburger { display: flex; }

    .hero { min-height: 80vh; padding: 30px 0 60px; }
    .hero h1 { font-size: clamp(3rem, 10vw, 5rem); }
    .hero-sub { font-size: 1rem; max-width: 100%; }

    .hbc1 { width: 300px; height: 300px; right: -80px; top: -60px; }
    .hbc2 { width: 200px; height: 200px; left: -60px; }

    .hero-stats { gap: 28px; margin-top: 40px; padding-top: 30px; }
    .stat-num { font-size: 2rem; }

    .steps-grid { grid-template-columns: 1fr 1fr; }
    .about-grid { grid-template-columns: 1fr 1fr; }
    .jobs-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
}

/* ─── Mobile (≤ 640px) ─── */
@media (max-width: 640px) {
    .navbar {
        top: 12px;
        width: calc(100% - 24px);
        padding: 10px 18px;
        border-radius: 60px;
    }

    .logo { font-size: 1.3rem; }
    .logo .dz-badge { font-size: 1rem; padding: 2px 6px; }

    .lang-btn { display: none; } /* moved into mobile menu */

    .mobile-menu { top: 72px; left: 12px; right: 12px; }

    .container { width: 94%; padding-top: 96px; }

    /* Hero */
    .hero { min-height: 70vh; padding: 20px 0 50px; align-items: flex-start; }
    .hero h1 {
        font-size: clamp(2.8rem, 12vw, 4rem);
        letter-spacing: 1px;
        margin-bottom: 20px;
    }
    .hero-sub { font-size: 0.95rem; margin-bottom: 28px; }
    .hero-ctas { gap: 10px; }
    .btn-primary, .btn-ghost { padding: 12px 24px; font-size: 0.9rem; }

    .hero-stats {
        gap: 20px;
        margin-top: 32px;
        padding-top: 24px;
        flex-wrap: wrap;
    }
    .stat { min-width: calc(50% - 20px); }
    .stat-num { font-size: 1.8rem; }
    .stat-label { font-size: 0.78rem; }

    /* Steps */
    .steps { padding: 50px 0 20px; }
    .steps-grid { grid-template-columns: 1fr; gap: 14px; }
    .step-card { padding: 24px 20px; }
    .step-num { font-size: 3rem; }

    .section-title { margin-bottom: 28px; }

    /* Jobs */
    .jobs-header { flex-direction: column; align-items: stretch; gap: 12px; }
    .search-wrap { max-width: 100%; }
    .jobs-grid { grid-template-columns: 1fr; gap: 14px; }

    /* Form */
    .form-wrap { width: 100%; }
    .form-card { padding: 24px 18px; border-radius: 18px; }
    .form-header h2 { font-size: 1.6rem; }

    /* About */
    .about-hero { padding: 24px 0 40px; }
    .about-grid { grid-template-columns: 1fr; gap: 14px; }
    .about-card { padding: 24px 20px; }

    /* Toast */
    .toast { bottom: 16px; right: 16px; left: 16px; font-size: 0.85rem; }
}

/* ─── Very small (≤ 380px) ─── */
@media (max-width: 380px) {
    .hero h1 { font-size: clamp(2.4rem, 14vw, 3rem); }
    .hero-ctas { flex-direction: column; }
    .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
    .stat { min-width: 100%; }
}

/* ─── RTL adjustments ─── */
[dir="rtl"] .navbar { direction: rtl; }
[dir="rtl"] .hero { align-items: flex-start; text-align: right; }
[dir="rtl"] .hero-ctas { justify-content: flex-start; }
[dir="rtl"] .hero-stats { justify-content: flex-start; }
[dir="rtl"] .hbc1 { right: auto; left: -150px; }
[dir="rtl"] .hbc2 { left: auto; right: -100px; }
[dir="rtl"] .toast { right: auto; left: 28px; }
[dir="rtl"] .img-remove-btn { right: auto; left: 8px; }
[dir="rtl"] .mobile-menu a { flex-direction: row-reverse; }

@media (max-width: 640px) {
    [dir="rtl"] .toast { right: 16px; left: 16px; }
}