/* ==========================================================================
   RHINE MIDDLE EAST FZE - EXECUTIVE WEB PLATFORM
   Matches Your Provided Reference Design Image & Layout
   ========================================================================== */

:root {
    --gold-primary: #cca877;
    --gold-hover: #dfbe91;
    --gold-gradient: linear-gradient(135deg, #f0dfc8 0%, #cca877 50%, #a4804c 100%);
    --bg-dark: #071522;
    --text-white: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.75);
    --header-height: 86px;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--bg-dark);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-white);
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   HEADER NAVIGATION (Matches image 2 header)
   ========================================================================== */

.rhine-top-header {
    position: fixed;
    z-index: 5000;
    left: 0;
    right: 0;
    top: 0;
    height: var(--header-height);
    background: rgba(7, 21, 34, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.3s ease;
}

.header-inner {
    max-width: 1440px;
    height: 100%;
    margin: 0 auto;
    padding: 0 3.5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Brand Logo with New Stylized Mark */
.brand-btn {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    text-align: left;
    display: flex;
    align-items: center;
}

/* Actual RHINE logo image — inverted to white for dark header */
.brand-logo-img {
    height: 42px;
    width: auto;
    display: block;
    /* Invert dark brown logo to bright white */
    filter: brightness(0) invert(1);
    opacity: 0.95;
    transition: opacity 0.2s ease;
}

.brand-btn:hover .brand-logo-img {
    opacity: 1;
}

.brand-composite {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-mark-icon {
    flex-shrink: 0;
}

.brand-text-stack {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: #ffffff;
    text-transform: uppercase;
}

.brand-subheading {
    font-family: 'Outfit', sans-serif;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.32em;
    color: #a1a1aa;
    text-transform: uppercase;
    margin-top: 2px;
}

/* Center Nav */
.center-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    height: 100%;
}

.nav-item-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    font-weight: 500;
    height: 100%;
    cursor: pointer;
    position: relative;
    padding: 0 4px;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.nav-item-btn:hover {
    color: #ffffff;
}

.nav-item-btn.active {
    color: var(--gold-primary);
    font-weight: 600;
}

.nav-item-btn.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 24px;
    height: 2px;
    background: var(--gold-primary);
    box-shadow: 0 0 8px var(--gold-primary);
    border-radius: 2px;
}

/* Header Right Actions */
.header-right-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-gold-action {
    background: #f2bd48;
    color: #071522 !important;
    border: none;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.22s ease;
    box-shadow: 0 4px 14px rgba(204, 168, 119, 0.28);
    white-space: nowrap;
}

.btn-gold-action:hover {
    background: var(--gold-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(204, 168, 119, 0.45);
}

.lang-selector {
    position: relative;
}

.btn-lang-toggle {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-lang-toggle:hover {
    border-color: var(--gold-primary);
    color: #ffffff;
}

.lang-menu-dropdown {
    background: rgba(14, 24, 38, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(204, 168, 119, 0.3);
    border-radius: 10px;
    padding: 6px;
}

.lang-menu-dropdown .dropdown-item {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    border-radius: 6px;
    padding: 6px 12px;
}

.lang-menu-dropdown .dropdown-item:hover,
.lang-menu-dropdown .dropdown-item.active {
    background: rgba(204, 168, 119, 0.15);
    color: var(--gold-primary);
}

/* ==========================================================================
   LANDING PAGE (Matches Image 2: Full clean background + text on right)
   ========================================================================== */

.rhine-main-viewport {
    width: 100%;
    height: 100%;
}

.page {
    position: fixed;
    inset: 0;
    display: none;
    background: var(--bg-dark);
    opacity: 0;
    transition: opacity 0.25s ease-in-out;
}

.page.active {
    display: block;
    opacity: 1;
}

/* Landing Page Full Image Background */
.landing-full-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.landing-ambient-overlay {
    position: absolute;
    inset: 0;
    /* Brightened: very light vignette so the landing image shows clearly */
    background: radial-gradient(
        ellipse at 82% 48%,
        rgba(4, 14, 26, 0.20) 0%,
        rgba(4, 14, 26, 0.06) 52%,
        transparent 75%
    );
    pointer-events: none;
    z-index: 1;
}

.landing-content-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 7.5%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
}

.landing-hero-card,
.landing-right-hero-card {
  max-width: 530px;
  width: 100%;
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--header-height) * 0.3);
  margin-left: auto;
  text-align: right;
  align-items: flex-end;
}

.landing-eyebrow {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(0.74rem, 0.9vw, 0.84rem);
    font-weight: 700;
    letter-spacing: 0.22em;
    color: #f2bd48;
    text-transform: uppercase;
    margin-bottom: 14px;
    display: block;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 0 12px rgba(242, 189, 72, 0.45);
}

.landing-main-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.05rem, 3.2vw, 2.95rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: #ffffff;
    margin-bottom: 18px;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.95), 0 4px 34px rgba(0, 0, 0, 0.85);
}

.hero-gold-text {
    color: #ffc83b;
    background: linear-gradient(135deg, #ffe082 0%, #f2bd48 50%, #e5a932 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.9));
}

.landing-desc-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(0.92rem, 1vw, 1.02rem);
    font-weight: 500;
    line-height: 1.7;
    color: #ffffff;
    margin-bottom: 28px;
    max-width: 490px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.92), 0 1px 4px rgba(0, 0, 0, 0.9);
}

.landing-action-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.btn-gold-hero {
    background-color: #f2bd48;
    color: #071522;
    border: none;
    font-family: 'Outfit', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 12px 26px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.22s ease;
    box-shadow: 0 4px 22px rgba(242, 189, 72, 0.45), 0 2px 8px rgba(0, 0, 0, 0.45);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.btn-gold-hero:hover {
    background-color: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(242, 189, 72, 0.65);
}

.btn-secondary-hero {
    background-color: rgba(7, 21, 34, 0.78);
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.65);
    font-family: 'Outfit', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 11px 24px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.22s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.btn-secondary-hero:hover {
    border-color: #f2bd48;
    color: #f2bd48;
    background-color: rgba(7, 21, 34, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.55);
}

/* Bottom Tagline underneath hero card matching Image 2 */
.landing-bottom-tagline {
    position: relative;
    right: auto;
    bottom: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: #ffffff;
    line-height: 1.45;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.tagline-row {
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.landing-tagline-bar {
    width: 36px;
    height: 2.5px;
    background: #f2bd48;
    margin-bottom: 8px;
    display: block;
    box-shadow: 0 0 12px rgba(242, 189, 72, 0.85);
}

/* ==========================================================================
   OTHER PAGES (Presentation Scaling matching RHINE_REVIEW.html)
   ========================================================================== */

.page > img {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
    transform: translate(-50%, -50%) scale(0.92);
    transform-origin: center center;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.page-action-hotspot {
    position: absolute;
    left: 50%;
    bottom: 60px;
    transform: translateX(-50%);
    z-index: 100;
}

.btn-hotspot-gold {
    background: var(--gold-primary);
    color: #0c0d12;
    border: none;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 9999px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(204, 168, 119, 0.35);
    transition: all 0.2s ease;
}

.btn-hotspot-gold:hover {
    background: var(--gold-hover);
    transform: translateY(-1px);
}

/* Contact Details Hotspot Overlay */
.contact-details-hotspots {
    position: absolute;
    left: 7.2%;
    top: 61%;
    width: 380px;
    z-index: 100;
}

.hotspot-link {
    display: block;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.hotspot-link:hover {
    background: rgba(204, 168, 119, 0.15);
}

.hotspot-link.address-link {
    height: 64px;
    margin-bottom: 10px;
}

.hotspot-link.phone-link {
    height: 38px;
    margin-bottom: 10px;
}

.hotspot-link.email-link {
    height: 38px;
    margin-bottom: 14px;
}

.contact-inquiry-btn-wrap {
    padding-top: 4px;
    display: flex;
    align-items: center;
}

.btn-contact-inquiry {
    background: rgba(204, 168, 119, 0.15);
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    border-radius: 6px;
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.22s ease;
    backdrop-filter: blur(8px);
}

.btn-contact-inquiry:hover {
    background: var(--gold-primary);
    color: #071522;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(204, 168, 119, 0.4);
}

/* Review Badge in bottom right */
.review-tag {
    position: fixed;
    z-index: 5100;
    right: 16px;
    bottom: 14px;
    background: rgba(4, 24, 40, 0.85);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 7px;
    padding: 8px 14px;
    font-size: 12px;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    display: inline-block;
}

/* Modals */
.glass-dialog {
    background: rgba(7, 21, 34, 0.96);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(204, 168, 119, 0.35);
    border-radius: 14px;
    color: #ffffff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.dialog-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--gold-primary);
}

.contact-card-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 14px;
    font-size: 13px;
}

.text-gold {
    color: var(--gold-primary) !important;
}

.dark-input {
    background: rgba(10, 16, 26, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}

.dark-input:focus {
    border-color: var(--gold-primary) !important;
    box-shadow: 0 0 8px rgba(204, 168, 119, 0.3) !important;
}

.config-choice {
    display: block;
    cursor: pointer;
    margin: 0;
}

.config-choice input {
    display: none;
}

.choice-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
}

.choice-box strong {
    color: #ffffff;
    font-size: 13px;
    margin-bottom: 2px;
}

.choice-box span {
    color: #94a3b8;
    font-size: 11px;
}

.config-choice input:checked + .choice-box {
    border-color: var(--gold-primary);
    background: rgba(204, 168, 119, 0.12);
}

.custom-range {
    accent-color: var(--gold-primary);
}

.blueprint-result-box {
    background: rgba(4, 12, 20, 0.8);
    border: 1px solid rgba(204, 168, 119, 0.35);
    border-radius: 8px;
    padding: 14px;
}

/* ==========================================================================
   CONTACT PAGE SECTION — "Let's Build What's Next."
   Works inside .page (position: fixed; inset: 0) container
   ========================================================================== */

/* When contact section is the active .page, it fills the screen */
.contact-page-section {
    display: none;
    align-items: center;
    overflow: hidden;
}

.contact-page-section.active {
    display: flex !important;
}

/* CSS background — full lobby zoomed out */
.contact-bg-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url('/images/contact-lobby.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

/* Gradient overlay — dark left, transparent right */
.contact-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to right,
        rgba(4, 12, 22, 0.60) 0%,
        rgba(4, 12, 22, 0.42) 28%,
        rgba(4, 12, 22, 0.18) 50%,
        rgba(4, 12, 22, 0.04) 72%,
        transparent 100%
    );
}

/* Vertical text — far right edge */
.contact-vertical-text {
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.contact-vertical-text span {
    font-family: 'Outfit', sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: rgba(255, 255, 255, 0.70);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    text-transform: uppercase;
}

.contact-vertical-divider {
    width: 1px;
    height: 30px;
    background: var(--gold-primary);
    writing-mode: horizontal-tb !important;
    display: block;
}

/* Main text content — left side */
.contact-content {
    position: relative;
    z-index: 5;
    padding: 0 0 0 clamp(40px, 7.5vw, 110px);
    max-width: 490px;
    width: 100%;
}

/* Eyebrow */
.contact-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
    margin-top: calc(var(--header-height) + 20px);
}

.contact-eyebrow-line {
    display: block;
    width: 36px;
    height: 2px;
    background: var(--gold-primary);
    flex-shrink: 0;
}

.contact-eyebrow-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: rgba(255, 255, 255, 0.72);
    text-transform: uppercase;
}

/* Headline */
.contact-main-headline {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.85rem, 2.7vw, 2.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
    margin: 0 0 14px;
    letter-spacing: -0.015em;
}

.contact-gold-line {
    color: var(--gold-primary);
    display: block;
}

/* Subline */
.contact-subline {
    font-size: 0.92rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.65;
    margin-bottom: 24px;
}

/* Contact detail rows */
.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 34px;
}

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

/* Gold circular icon */
.contact-icon-badge {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #050e1a;
    margin-top: 1px;
}

/* Info text stacked */
.contact-detail-body {
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding-top: 2px;
}

.contact-detail-body strong {
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 3px;
    display: block;
}

.contact-detail-body span {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.55;
}

.contact-tel-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-tel-link:hover {
    color: var(--gold-primary);
}

/* Footer tagline */
.contact-footer-tagline {
    display: flex;
    align-items: center;
    gap: 13px;
}

.contact-tagline-bar {
    display: block;
    width: 36px;
    height: 2px;
    background: var(--gold-primary);
    flex-shrink: 0;
}

.contact-tagline-words {
    font-family: 'Outfit', sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.48);
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 1100px) {
    .header-inner {
        padding: 0 2%;
    }
    .center-nav {
        gap: 16px;
    }
    .nav-item-btn {
        font-size: 13px;
    }
    .landing-right-hero-card {
        max-width: 480px;
    }
    .landing-main-title {
        font-size: 2.8rem;
    }
}

/* ==========================================================================
   INSIGHTS PAGE SECTION — "Thinking Beyond Today's AI."
   Full-width room background with executive & AI agent at desk overlooking Dubai
   ========================================================================== */

.insights-page-section {
    display: none;
    overflow: hidden;
}

.insights-page-section.active {
    display: block !important;
}

/* Full-width clean background */
.insights-bg-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url('/images/insights-bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
    filter: brightness(1.16) contrast(1.12);
    transform: translateY(40px);
}

/* Atmospheric lighting & readability overlays */
.insights-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: 
        linear-gradient(to right, rgba(4, 10, 20, 0.55) 0%, rgba(4, 10, 20, 0.36) 32%, rgba(4, 10, 20, 0.10) 56%, transparent 100%),
        linear-gradient(to bottom, rgba(5, 14, 25, 0.20) 0%, transparent 22%, transparent 68%, rgba(4, 10, 20, 0.38) 100%);
    pointer-events: none;
}

/* Left-side main content */
.insights-content {
    position: absolute;
    top: calc(var(--header-height) + 36px);
    left: clamp(40px, 7.5vw, 110px);
    z-index: 10;
    max-width: 480px;
    width: 100%;
}

/* Eyebrow */
.insights-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.insights-eyebrow-text {
    font-family: 'Outfit', sans-serif;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: var(--gold-primary);
    text-transform: uppercase;
}

.insights-eyebrow-line {
    display: block;
    width: 44px;
    height: 2px;
    background: var(--gold-primary);
    flex-shrink: 0;
}

/* Main headline */
.insights-headline {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.85rem, 2.7vw, 2.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
    margin: 0 0 16px;
    letter-spacing: -0.015em;
}

.insights-headline-gold {
    color: var(--gold-primary);
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Description paragraph */
.insights-desc {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.92rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.65;
    margin-bottom: 24px;
    max-width: 480px;
}

/* Explore Insights CTA button */
.insights-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f2bd48;
    color: #071522;
    border: none;
    font-family: 'Outfit', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 12px 26px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.22s ease;
    box-shadow: 0 4px 18px rgba(204, 168, 119, 0.28);
    text-decoration: none;
}

.insights-cta-btn:hover {
    background: linear-gradient(135deg, #be8b50 0%, #9c6a35 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(168, 121, 68, 0.6);
    color: #ffffff;
}

.insights-cta-btn svg {
    transition: transform 0.2s ease;
}

.insights-cta-btn:hover svg {
    transform: translateX(3px);
}

/* Tagline below button */
.insights-tagline {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 36px;
}

.insights-tagline-bar {
    display: block;
    width: 36px;
    height: 2px;
    background: var(--gold-primary);
    flex-shrink: 0;
}

.insights-tagline-text {
    font-family: 'Outfit', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: var(--gold-primary);
    text-transform: uppercase;
}

/* Vertical right-side stack in illuminated window strip */
.insights-vertical-text {
    position: absolute;
    right: 8.5%;
    top: 21%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
    pointer-events: none;
}

.insights-vertical-text span {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: rgba(223, 190, 145, 0.8);
    text-transform: uppercase;
    line-height: 1.35;
}

.insights-vertical-line {
    width: 44px;
    height: 2px;
    background: var(--gold-primary);
    margin-top: 10px;
    display: block;
}

/* Bottom Category Cards Bar */
.insights-cards-bar {
    position: absolute;
    bottom: 22px;
    left: 4%;
    right: 4%;
    z-index: 15;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.insights-card {
    /*background: #cb780663;*/
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: left;
}


/* Industries content - mobile only */
@media screen and (max-width: 768px) {
    .industries-content {
        left: auto !important;
        right: auto !important;
        text-align: left !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        width: 100% !important;
        box-sizing: border-box;
    }

    .industries-headline,
    .industries-desc,
    .industries-eyebrow {
        text-align: left !important;
    }

    .industries-headline-bar {
        margin-left: 0 !important;
        margin-right: auto !important;
    }

    .industries-tagline {
        direction: ltr !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: flex-start !important;
        align-items: center !important;
        text-align: left !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
    }
}


.insights-card:hover {
    /*background: rgba(14, 28, 48, 0.88);*/
    border-color: rgba(204, 168, 119, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
}

.insights-card-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(204, 168, 119, 0.12);
    border: 1px solid rgba(204, 168, 119, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    margin-top: 2px;
}

.insights-card-body {
    flex: 1;
    min-width: 0;
}

.insights-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.insights-card-title svg {
    color: var(--gold-primary);
    transition: transform 0.2s ease;
}

.insights-card:hover .insights-card-title svg {
    transform: translateX(3px);
}

.insights-card-desc {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 12px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.68);
    margin: 0;
}

@media (max-width: 1200px) {
    .insights-vertical-text {
        right: 4%;
        top: 18%;
    }
    .insights-cards-bar {
        gap: 10px;
        bottom: 14px;
    }
    .insights-card {
        padding: 12px 14px;
    }
}

@media (max-width: 900px) {
    .insights-vertical-text {
        display: none;
    }
    .insights-cards-bar {
        grid-template-columns: repeat(2, 1fr);
        bottom: 12px;
    }
    .insights-content {
        max-width: 90%;
    }
}

/* ==========================================================================
   OUR WORK PAGE SECTION — "Real Challenges. Practical Solutions."
   Full-width outdoor terrace overlooking Dubai port and skyline
   ========================================================================== */

.ourwork-page-section {
    display: none;
    overflow: hidden;
}

.ourwork-page-section.active {
    display: block !important;
}

/* Full-width clean background */
.ourwork-bg-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url('/images/ourwork-bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    /*background-position: center bottom;*/
    background-position: center top;
   /* transform: translateY(-10px);*/
}
/*```css*/
/* Our Work - Desktop background */
@media screen and (min-width: 1024px) {
    .ourwork-bg-wrap {
        position: absolute;
        inset: 0;
        z-index: 0;
        background-image: url('/images/ourwork-bg.png');
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center 65%;
    }
}

```
/* Atmospheric lighting & readability overlays */
.ourwork-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.25) 28%, transparent 58%), linear-gradient(to bottom, rgba(7, 21, 34, 0.45) 0%, transparent 20%, transparent 75%, rgba(0, 0, 0, 0.25) 100%);
    pointer-events: none;
}

/* Left-side main content */
.ourwork-content {
    position: absolute;
    top: calc(var(--header-height) + 36px);
    left: clamp(40px, 7.5vw, 110px);
    z-index: 10;
    max-width: 480px;
    width: 100%;
}

/* Eyebrow */
.ourwork-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.ourwork-eyebrow-text {
    font-family: 'Outfit', sans-serif;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: #0c1a2d;
    text-transform: uppercase;
}

.ourwork-eyebrow-line {
    display: block;
    width: 44px;
    height: 2px;
    background: #b58046;
    flex-shrink: 0;
}

/* Main headline */
.ourwork-headline {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.85rem, 2.7vw, 2.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: #0c1a2d;
    margin: 0 0 16px;
    letter-spacing: -0.015em;
}

.ourwork-headline-gold {
    color: #8c4e20;
    display: block;
}

/* Description paragraph */
.ourwork-desc {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.92rem;
    font-weight: 500;
    color: #2b3a4a;
    line-height: 1.65;
    margin-bottom: 24px;
    max-width: 480px;
}

/* Explore Our Work CTA button */
.ourwork-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #6e4420;
    color: #ffffff;
    border: none;
    font-family: 'Outfit', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 12px 26px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.22s ease;
    box-shadow: 0 4px 16px rgba(110, 68, 32, 0.35);
    text-decoration: none;
}

.ourwork-cta-btn:hover {
    background: #875427;
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(110, 68, 32, 0.5);
    color: #ffffff;
}

.ourwork-cta-btn svg {
    transition: transform 0.2s ease;
}

.ourwork-cta-btn:hover svg {
    transform: translateX(3px);
}

/* Tagline below button */
.ourwork-tagline {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 48px;
}

.ourwork-tagline-bar {
    display: block;
    width: 36px;
    height: 2px;
    background: #b58046;
    flex-shrink: 0;
}

.ourwork-tagline-text {
    font-family: 'Outfit', sans-serif;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: black;
    text-transform: uppercase;
}

/* Vertical right-side stack on marble pillar */
.ourwork-vertical-text {
    position: absolute;
    right: 7%;
    top: 36%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
    pointer-events: none;
}

.ourwork-vertical-text span {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: #dfba85;
    text-transform: uppercase;
    line-height: 1.35;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.ourwork-vertical-line {
    width: 44px;
    height: 2px;
    background: #cca877;
    margin-top: 10px;
    display: block;
}

@media (max-width: 1200px) {
    .ourwork-vertical-text {
        right: 4%;
        top: 32%;
    }
}

@media (max-width: 900px) {
    .ourwork-vertical-text {
        display: none;
    }
    .ourwork-content {
        max-width: 90%;
        top: calc(var(--header-height) + 20px);
    }
}

/* ==========================================================================
   ABOUT PAGE SECTION — "The Global Agent Factory"
   Full-width glass desert pavilion looking at Dubai sunset
   ========================================================================== */

.about-page-section {
    display: none;
    overflow: hidden;
}

.about-page-section.active {
    display: block !important;
}

.about-bg-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url('/images/about-bg.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
}

.about-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: 
        linear-gradient(to right, rgba(5, 14, 25, 0.55) 0%, rgba(5, 14, 25, 0.38) 34%, rgba(5, 14, 25, 0.08) 58%, transparent 100%),
        linear-gradient(to bottom, rgba(7, 21, 34, 0.22) 0%, transparent 22%, transparent 68%, rgba(5, 14, 25, 0.45) 100%);
    pointer-events: none;
}

.about-vertical-top-text {
    position: absolute;
    right: 5%;
    top: calc(var(--header-height) + 26px);
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-align: right;
    pointer-events: none;
}

.about-vertical-top-text span {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
}

.about-vertical-text {
    position: absolute;
    right: 5%;
    top: 42%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: right;
    pointer-events: none;
}

.about-vertical-text span {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: rgba(223, 190, 145, 0.75);
    text-transform: uppercase;
    line-height: 1.4;
}

.about-vertical-line {
    width: 36px;
    height: 2px;
    background: var(--gold-primary);
    margin-top: 10px;
    display: block;
    margin-left: auto;
}

.about-content {
    position: absolute;
    top: calc(var(--header-height) + 36px);
    left: clamp(40px, 7.5vw, 110px);
    z-index: 10;
    max-width: 500px;
    width: 100%;
}

.about-eyebrow {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}

.about-eyebrow-text {
    font-family: 'Outfit', sans-serif;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: var(--gold-primary);
    text-transform: uppercase;
}

.about-eyebrow-line {
    display: block;
    width: 44px;
    height: 2px;
    background: var(--gold-primary);
    flex-shrink: 0;
}

.about-headline {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.85rem, 2.7vw, 2.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
    margin: 0 0 14px;
    letter-spacing: -0.015em;
}

.about-subheadline {
    font-family: 'Outfit', sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--gold-primary);
    text-transform: uppercase;
    margin-bottom: 14px;
    line-height: 1.45;
}

.about-desc {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.92rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.65;
    margin-bottom: 24px;
    max-width: 480px;
}

.about-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f2bd48;
    color: #071522;
    border: none;
    font-family: 'Outfit', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 12px 26px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.22s ease;
    box-shadow: 0 4px 18px rgba(204, 168, 119, 0.28);
}

.about-cta-btn:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(204, 168, 119, 0.45);
}

.about-features-bar {
    position: absolute;
    bottom: 40px;
    left: 5%;
    right: 5%;
    z-index: 15;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    max-width: 1200px;
}

.about-feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.about-feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(204, 168, 119, 0.45);
    background: radial-gradient(circle, rgba(204, 168, 119, 0.15) 0%, rgba(204, 168, 119, 0) 70%);
    box-shadow: 0 0 20px rgba(204, 168, 119, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    margin-bottom: 14px;
}

.about-feature-content h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: #ffffff;
    margin: 0 0 6px;
    text-transform: uppercase;
}

.about-feature-content p {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.68);
    margin: 0;
}

.about-bottom-tagline {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    display: flex;
    align-items: center;
    gap: 16px;
    pointer-events: none;
}

.about-tagline-line {
    width: 60px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.about-tagline-text {
    font-family: 'Outfit', sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.26em;
    color: rgba(255, 255, 255, 0.42);
    text-transform: uppercase;
}

/* ==========================================================================
   HOW IT WORKS PAGE SECTION — "Your Business Journey to What's Next."
   Full-width glass skywalk with futuristic checkpoints overlooking Dubai
   ========================================================================== */

.how-page-section {
    display: none;
    overflow: hidden;
}

.how-page-section.active {
    display: block !important;
}

.how-bg-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url('/images/how-bg.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
}

.how-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: 
        linear-gradient(to right, rgba(5, 14, 25, 0.55) 0%, rgba(5, 14, 25, 0.38) 34%, rgba(5, 14, 25, 0.10) 55%, transparent 100%),
        linear-gradient(to bottom, rgba(7, 21, 34, 0.22) 0%, transparent 22%, transparent 72%, rgba(5, 14, 25, 0.45) 100%);
    pointer-events: none;
}

.how-vertical-text {
    position: absolute;
    left: 28px;
    top: calc(var(--header-height) + 36px);
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 6px;
    pointer-events: none;
}

.how-v-bold {
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: var(--gold-primary);
    text-transform: uppercase;
}

.how-v-sub {
    font-family: 'Outfit', sans-serif;
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
}

.how-vertical-line {
    width: 24px;
    height: 1px;
    background: var(--gold-primary);
    margin: 8px 0;
    display: block;
}

.how-content {
    position: absolute;
    top: calc(var(--header-height) + 36px);
    left: clamp(140px, 12vw, 180px);
    z-index: 10;
    max-width: 480px;
    width: 100%;
}

.how-eyebrow {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    margin-bottom: 14px;
}

.how-headline {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.85rem, 2.7vw, 2.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
    margin: 0 0 16px;
    letter-spacing: -0.015em;
}

.how-headline-gold {
    color: var(--gold-primary);
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.how-desc {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.92rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.65;
    margin-bottom: 24px;
    max-width: 480px;
}

.how-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f2bd48;
    color: #071522;
    border: none;
    font-family: 'Outfit', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 12px 26px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.22s ease;
    box-shadow: 0 4px 18px rgba(204, 168, 119, 0.28);
}

.how-cta-btn:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(204, 168, 119, 0.45);
}

.how-badges-bar {
    display: none;
}

/* ==========================================================================
   INDUSTRIES PAGE SECTION — "Different Industries. A Smarter Way Forward."
   Full-width glowing holographic 3D globe over Dubai waterfront
   ========================================================================== */

.industries-page-section {
    display: none;
    overflow: hidden;
}

.industries-page-section.active {
    display: block !important;
}

.industries-bg-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url('/images/industries-bg.png');
    background-repeat: no-repeat;
    /*background-size: cover;
    background-position: center top;*/
    transform: translateY(40px);
    background-size: 100% 100%;
    /*background-position: center center;*/
}
@media (max-width: 768px) {
    .industries-bg-wrap {
        transform: none;
        background-size: auto 100%;
        background-position: center center;
    }
}
@media screen and (min-width: 1024px) {
    .industries-bg-wrap {
        position: absolute;
        inset: 0;
        z-index: 0;
        background-image: url('/images/industries-bg.png');
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center center;
        transform: translateY(40px);
    }
}

.industries-overlay {
        position: absolute;
        inset: 0;
        z-index: 1;
        background: linear-gradient(to right, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.25) 28%, transparent 55%), linear-gradient(to bottom, rgba(7, 21, 34, 0.45) 0%, transparent 22%, transparent 75%, rgba(0, 0, 0, 0.25) 100%);
        pointer-events: none;
    }

    .industries-content {
        position: absolute;
        top: calc(var(--header-height) + 36px);
        left: clamp(32px, 7.5vw, 113px);
        z-index: 10;
        max-width: 327px;
        width: 100%;
    }

    .industries-eyebrow {
        font-family: 'Outfit', sans-serif;
        font-size: 0.74rem;
        font-weight: 600;
        letter-spacing: 0.22em;
        color: #0c1a2d;
        text-transform: uppercase;
        margin-bottom: 14px;
    }

    .industries-headline {
        font-family: 'Outfit', sans-serif;
        font-size: clamp(1.85rem, 2.7vw, 2.5rem);
        font-weight: 700;
        line-height: 1.15;
        color: #0c1a2d;
        margin: 0 0 14px;
        letter-spacing: -0.015em;
    }

    .industries-headline-bar {
        width: 44px;
        height: 2px;
        background: #0c1a2d;
        margin-bottom: 16px;
    }

    .industries-desc {
        font-family: 'Plus Jakarta Sans', sans-serif;
        font-size: 0.92rem;
        font-weight: 500;
        color: #2b3a4a;
        line-height: 1.65;
        margin-bottom: 24px;
        max-width: 460px;
    }

    .industries-cta-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: #0c1a2d;
        color: #ffffff;
        border: none;
        font-family: 'Outfit', sans-serif;
        font-size: 0.88rem;
        font-weight: 700;
        padding: 12px 26px;
        border-radius: 6px;
        cursor: pointer;
        transition: all 0.22s ease;
        box-shadow: 0 4px 16px rgba(12, 26, 45, 0.35);
        text-decoration: none;
    }

        .industries-cta-btn:hover {
            background: #182e4e;
            transform: translateY(-2px);
            box-shadow: 0 6px 22px rgba(12, 26, 45, 0.5);
            color: #ffffff;
        }

        .industries-cta-btn svg {
            transition: transform 0.2s ease;
        }

        .industries-cta-btn:hover svg {
            transform: translateX(3px);
        }

    .industries-tagline {
        display: flex;
        align-items: center;
        gap: 13px;
        margin-top: 50px;
    }

    .industries-tagline-bar {
        display: block;
        width: 36px;
        height: 2px;
        background: #0c1a2d;
        flex-shrink: 0;
    }

    .industries-tagline-text {
        font-family: 'Outfit', sans-serif;
        font-size: 9.5px;
        font-weight: 700;
        letter-spacing: 0.22em;
        color: #0e0f10;
        text-transform: uppercase;
    }

    /* ==========================================================================
   SIDENAV BUTTON & DRAWER (Tablet & Mobile Navigation)
   ========================================================================== */

    /* Hamburger Button */
    .sidenav-toggle-btn {
        display: none; /* Hidden on desktop (>1024px) */
        align-items: center;
        justify-content: center;
        flex-direction: column;
        width: 44px;
        height: 44px;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 10px;
        cursor: pointer;
        padding: 0;
        gap: 5px;
        transition: all 0.25s ease;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

        .sidenav-toggle-btn:hover {
            background: rgba(204, 168, 119, 0.18);
            border-color: var(--gold-primary);
        }

        .sidenav-toggle-btn .hamburger-bar {
            display: block;
            width: 20px;
            height: 2px;
            background: #ffffff;
            border-radius: 2px;
            transition: transform 0.28s ease, opacity 0.28s ease, background 0.28s ease;
        }

        .sidenav-toggle-btn:hover .hamburger-bar {
            background: var(--gold-primary);
        }

        /* Animate hamburger to X when active */
        .sidenav-toggle-btn.is-active .hamburger-bar:nth-child(1) {
            transform: translateY(7px) rotate(45deg);
            background: var(--gold-primary);
        }

        .sidenav-toggle-btn.is-active .hamburger-bar:nth-child(2) {
            opacity: 0;
            transform: scaleX(0);
        }

        .sidenav-toggle-btn.is-active .hamburger-bar:nth-child(3) {
            transform: translateY(-7px) rotate(-45deg);
            background: var(--gold-primary);
        }

    /* Sidenav Overlay */
    .rhine-sidenav-overlay {
        position: fixed;
        inset: 0;
        z-index: 6000;
        background: rgba(4, 10, 18, 0.72);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

        .rhine-sidenav-overlay.active {
            opacity: 1;
            visibility: visible;
        }

    /* Sidenav Drawer Panel */
    .rhine-sidenav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 380px;
        max-width: 88vw;
        z-index: 6001;
        background: linear-gradient(180deg, #091726 0%, #06101a 100%);
        border-left: 1px solid rgba(204, 168, 119, 0.25);
        box-shadow: -10px 0 45px rgba(0, 0, 0, 0.65);
        display: flex;
        flex-direction: column;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        visibility: hidden;
    }

        .rhine-sidenav.active {
            transform: translateX(0);
            visibility: visible;
        }

    .sidenav-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 24px 28px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .sidenav-logo-img {
        height: 34px;
        width: auto;
        filter: brightness(0) invert(1);
        opacity: 0.95;
    }

    .sidenav-close-btn {
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.12);
        color: #ffffff;
        width: 38px;
        height: 38px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.22s ease;
    }

        .sidenav-close-btn:hover {
            background: rgba(204, 168, 119, 0.2);
            border-color: var(--gold-primary);
            color: var(--gold-primary);
            transform: rotate(90deg);
        }

    .sidenav-body {
        flex: 1;
        overflow-y: auto;
        padding: 24px 20px;
    }

    .sidenav-nav-list {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .sidenav-link {
        display: flex;
        align-items: center;
        padding: 13px 20px;
        background: transparent;
        border: 1px solid transparent;
        border-radius: 12px;
        color: rgba(255, 255, 255, 0.85);
        font-family: 'Plus Jakarta Sans', sans-serif;
        font-size: 16px;
        font-weight: 500;
        text-align: left;
        cursor: pointer;
        transition: all 0.22s ease;
        width: 100%;
    }

    .sidenav-link-text {
        flex: 1;
    }

    .sidenav-link:hover {
        background: rgba(255, 255, 255, 0.05);
        color: #ffffff;
        padding-left: 24px;
    }

    .sidenav-link.active {
        background: rgba(204, 168, 119, 0.12);
        border-color: rgba(204, 168, 119, 0.35);
        color: var(--gold-primary);
        font-weight: 700;
        box-shadow: 0 4px 16px rgba(204, 168, 119, 0.12);
    }

    .sidenav-footer {
        padding: 24px 24px 28px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        background: rgba(4, 10, 18, 0.5);
    }

    .sidenav-lang-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .sidenav-lang-label {
        font-size: 12.5px;
        color: rgba(255, 255, 255, 0.55);
        font-weight: 500;
    }

    .sidenav-lang-btns {
        display: flex;
        gap: 6px;
    }

    .sidenav-lang-btn {
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.12);
        color: rgba(255, 255, 255, 0.75);
        font-size: 12px;
        font-weight: 600;
        padding: 5px 12px;
        border-radius: 6px;
        cursor: pointer;
        transition: all 0.2s ease;
    }

        .sidenav-lang-btn:hover,
        .sidenav-lang-btn.active {
            background: var(--gold-primary);
            color: #0c0d12;
            border-color: var(--gold-primary);
        }

    body.sidenav-open {
        overflow: hidden;
    }

    /* ==========================================================================
   RESPONSIVE DESIGN SYSTEM: DESKTOP, TABLET & MOBILE
   ========================================================================== */

    /* --------------------------------------------------------------------------
   1. DESKTOP OPTIMIZATIONS (min-width: 1025px)
   -------------------------------------------------------------------------- */
    @media (min-width: 1025px) {
        .center-nav {
            display: flex;
        }

        .sidenav-toggle-btn {
            display: none !important;
        }

        .rhine-sidenav,
        .rhine-sidenav-overlay {
            display: none !important;
        }
    }

    /* --------------------------------------------------------------------------
   2. TABLET OPTIMIZATIONS (769px to 1024px)
   -------------------------------------------------------------------------- */
    @media (max-width: 1024px) {
        /* Header & Navigation: Sidenav button is available, desktop center nav hides */
        .center-nav {
            display: none !important;
        }

        .sidenav-toggle-btn {
            display: flex !important;
        }

        .rhine-sidenav,
        .rhine-sidenav-overlay {
            display: block;
        }

        .header-inner {
            padding: 0 4%;
        }

        .header-right-actions {
            gap: 14px;
        }

        /* Page container: enable smooth touch vertical scrolling if content overflows */
        .page {
            overflow-y: auto;
            overflow-x: hidden;
            -webkit-overflow-scrolling: touch;
        }

        /* Hide decorative vertical side pillar text to prevent overlap with content */
        .about-vertical-top-text,
        .about-vertical-text,
        .how-vertical-text,
        .insights-vertical-text,
        .ourwork-vertical-text,
        .contact-vertical-text {
            display: none !important;
        }

        /* Content sizing & positioning */
        .about-content,
        .how-content,
        .industries-content,
        .ourwork-content,
        .insights-content,
        .contact-content {
            left: 6%;
            top: calc(var(--header-height) + 24px);
            max-width: 580px;
            width: 88%;
            padding-bottom: 120px;
        }

        .landing-right-hero-card {
            max-width: 520px;
        }

        /* Bottom cards & bars adapt to 2-column grids */
        .about-features-bar {
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            bottom: 24px;
            left: 6%;
            right: 6%;
        }

        .how-badges-bar {
            grid-template-columns: repeat(2, 1fr);
            gap: 16px;
            bottom: 24px;
            left: 6%;
            right: 6%;
        }

        .insights-cards-bar {
            grid-template-columns: repeat(2, 1fr);
            gap: 14px;
            bottom: 20px;
            left: 6%;
            right: 6%;
        }
    }

    /* --------------------------------------------------------------------------
   3. MOBILE OPTIMIZATIONS (max-width: 768px)
   -------------------------------------------------------------------------- */
    @media (max-width: 768px) {
        :root {
            --header-height: 72px;
        }

        /* Header adjustments for mobile */
        .header-inner {
            padding: 0 4.5%;
        }

        .brand-logo-img {
            height: 32px;
        }

        .header-right-actions .btn-gold-action {
            display: none; /* Contact CTA is prominently placed inside the Sidenav */
        }

        .btn-lang-toggle {
            padding: 5px 10px;
            font-size: 12px;
        }

        .sidenav-toggle-btn {
            width: 40px;
            height: 40px;
        }

        /* Fixed full-screen background wraps & overlays on mobile to prevent blue bare container showing during scroll */
        .landing-full-bg,
        .about-bg-wrap,
        .about-overlay,
        .how-bg-wrap,
        .how-overlay,
        .agentfactory-bg-wrap,
        .agentfactory-overlay,
        .industries-bg-wrap,
        .industries-overlay,
        .ourwork-bg-wrap,
        .ourwork-overlay,
        .insights-bg-wrap,
        .insights-overlay,
        .contact-bg-wrap,
        .contact-overlay {
            position: fixed !important;
            inset: 0 !important;
            width: 100% !important;
            height: 100% !important;
            pointer-events: none !important;
        }

        /* Page scrolling & padding on mobile */
        .page {
            overflow-y: auto;
            overflow-x: hidden;
            -webkit-overflow-scrolling: touch;
            padding-bottom: 50px;
        }

        /* Mobile Headlines & Typography */
        .landing-main-title {
            font-size: clamp(2rem, 8vw, 2.8rem);
            line-height: 1.15;
        }

        .about-headline,
        .how-headline,
        .industries-headline,
        .ourwork-headline,
        .insights-headline,
        .contact-main-headline {
            font-size: clamp(1.8rem, 7vw, 2.3rem);
            line-height: 1.15;
            margin-bottom: 12px;
        }

        .landing-desc-text,
        .about-desc,
        .how-desc,
        .industries-desc,
        .ourwork-desc,
        .insights-desc,
        .contact-subline {
            font-size: 0.92rem;
            line-height: 1.6;
            margin-bottom: 20px;
        }

        /* Content block flow on mobile */
        .landing-content-container {
            padding: calc(var(--header-height) + 16px) 5% 40px;
        }

        .landing-right-hero-card,
        .landing-hero-card {
            max-width: 100%;
            padding: 24px 0;
        }

        .about-content,
        .how-content,
        .industries-content,
        .ourwork-content,
        .insights-content,
        .contact-content {
            position: relative !important;
            left: auto !important;
            top: auto !important;
            transform: none !important;
            width: 100% !important;
            max-width: 100% !important;
            padding: calc(var(--header-height) + 16px) 5% 20px !important;
            box-sizing: border-box !important;
        }

        /* About Us Mobile Refinements */
        .about-subheadline {
            font-size: 11px !important;
            letter-spacing: 0.14em !important;
            margin-bottom: 12px !important;
            line-height: 1.4 !important;
        }

        .about-features-bar {
            position: relative !important;
            left: auto !important;
            right: auto !important;
            bottom: auto !important;
            grid-template-columns: 1fr !important;
            gap: 12px !important;
            padding: 0 5% !important;
            margin-top: 10px !important;
            margin-bottom: 40px !important;
        }

        .about-feature-item {
            background: rgba(8, 20, 36, 0.72) !important;
            backdrop-filter: blur(14px) !important;
            -webkit-backdrop-filter: blur(14px) !important;
            border: 1px solid rgba(255, 255, 255, 0.12) !important;
            border-radius: 12px !important;
            padding: 14px 16px !important;
            display: flex !important;
            flex-direction: row !important;
            align-items: center !important;
            gap: 14px !important;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
        }

        .about-feature-icon {
            width: 44px !important;
            height: 44px !important;
            margin-bottom: 0 !important;
            flex-shrink: 0 !important;
        }

        .about-feature-content h4 {
            font-size: 13px !important;
            letter-spacing: 0.12em !important;
            margin: 0 0 3px !important;
            color: #ffffff !important;
        }

        .about-feature-content p {
            font-size: 12px !important;
            margin: 0 !important;
            line-height: 1.4 !important;
            color: rgba(255, 255, 255, 0.75) !important;
        }

        /* Insights Page Mobile Refinements */
        .insights-cards-bar {
            position: relative !important;
            left: auto !important;
            right: auto !important;
            bottom: auto !important;
            grid-template-columns: 1fr !important;
            gap: 10px !important;
            padding: 0 5% !important;
            margin-top: 10px !important;
            margin-bottom: 40px !important;
        }

        .insights-card {
            /*background: #cd984f63 !important;*/
            backdrop-filter: blur(3px) !important;
            -webkit-backdrop-filter: blur(14px) !important;
            border: 1px solid rgba(255, 255, 255, 0.12) !important;
            border-radius: 10px !important;
            padding: 12px 14px !important;
            display: flex !important;
            align-items: center !important;
            gap: 12px !important;
        }

        .insights-card-icon {
            flex-shrink: 0 !important;
        }

        .insights-card-icon svg {
            width: 18px !important;
            height: 18px !important;
        }

        .insights-card-title {
            font-size: 0.88rem !important;
            margin-bottom: 2px !important;
        }

        .insights-card-desc {
            font-size: 0.78rem !important;
            line-height: 1.35 !important;
        }

        /* How It Works mobile badges */
        .how-badges-bar {
            position: relative;
            left: auto;
            right: auto;
            bottom: auto;
            grid-template-columns: 1fr;
            gap: 12px;
            padding: 0 5%;
            margin-top: 14px;
            margin-bottom: 40px;
        }

        .how-badge-item {
            padding: 14px 16px;
        }

        /* Contact Details mobile refinements */
        .contact-eyebrow {
            margin-top: 0 !important;
            margin-bottom: 12px !important;
        }

        .contact-details-list {
            margin-top: 4px !important;
            margin-bottom: 24px !important;
            gap: 12px !important;
            width: 100% !important;
        }

        .contact-detail-row {
            gap: 12px !important;
            align-items: flex-start !important;
            background: rgba(8, 20, 36, 0.55) !important;
            backdrop-filter: blur(12px) !important;
            -webkit-backdrop-filter: blur(12px) !important;
            border: 1px solid rgba(255, 255, 255, 0.08) !important;
            border-radius: 10px !important;
            padding: 10px 12px !important;
        }

        .contact-icon-badge {
            width: 36px !important;
            height: 36px !important;
            flex-shrink: 0 !important;
        }

        .contact-detail-body strong {
            font-size: 0.86rem !important;
            margin-bottom: 2px !important;
        }

        .contact-detail-body span {
            font-size: 0.78rem !important;
            line-height: 1.45 !important;
        }

        .contact-tagline {
            margin-top: 18px !important;
        }

        /* Mobile buttons */
        .about-cta-btn {
            margin-left: 0;
            width: 100%;
            justify-content: center;
            padding: 13px 24px;
        }

        .btn-gold-hero,
        .btn-secondary-hero,
        .how-cta-btn,
        .industries-cta-btn,
        .ourwork-cta-btn,
        .insights-cta-btn {
            width: 100%;
            justify-content: center;
            padding: 13px 24px;
        }

        /* Review badge: position nicely on mobile */
        .review-tag {
            bottom: 12px;
            right: 12px;
            font-size: 11px;
            padding: 5px 12px;
        }

        /* Modals & Dialogs — Compact Mobile Optimization */
        .modal-dialog {
            margin: 8px auto !important;
            max-width: 94% !important;
            width: 94% !important;
        }

        .glass-dialog {
            padding: 12px 14px !important;
            max-height: 88vh !important;
            border-radius: 12px !important;
            display: flex !important;
            flex-direction: column !important;
            overflow: hidden !important;
        }

            .glass-dialog .modal-header {
                padding: 0 0 6px 0 !important;
                margin-bottom: 2px !important;
            }

            .glass-dialog .dialog-eyebrow {
                font-size: 8.5px !important;
                letter-spacing: 0.12em !important;
                display: block;
            }

            .glass-dialog .dialog-title {
                font-size: 1.05rem !important;
                margin: 2px 0 0 0 !important;
                line-height: 1.25 !important;
            }

            .glass-dialog .btn-close {
                padding: 6px !important;
                transform: scale(0.85);
            }

            .glass-dialog .modal-body {
                padding: 6px 0 0 0 !important;
                overflow-y: auto !important;
                -webkit-overflow-scrolling: touch;
                flex: 1 1 auto;
            }

                .glass-dialog .modal-body > p {
                    font-size: 11px !important;
                    line-height: 1.35 !important;
                    margin-bottom: 8px !important;
                    color: rgba(255, 255, 255, 0.72) !important;
                }

            /* Choice boxes: Compact, slim on mobile */
            .glass-dialog .row.g-2 {
                --bs-gutter-x: 6px !important;
                --bs-gutter-y: 6px !important;
                margin-bottom: 8px !important;
            }

            .glass-dialog .col-md-6 {
                width: 100% !important;
            }

        .config-choice .choice-box {
            padding: 7px 10px !important;
            border-radius: 7px !important;
        }

            .config-choice .choice-box strong {
                font-size: 11.5px !important;
                line-height: 1.2 !important;
                margin-bottom: 1px !important;
                display: block;
            }

            .config-choice .choice-box span {
                font-size: 9.5px !important;
                line-height: 1.25 !important;
                color: rgba(255, 255, 255, 0.65) !important;
                display: block;
            }

        /* Compact Slider */
        .glass-dialog .mb-4 {
            margin-bottom: 8px !important;
        }

        .glass-dialog .form-label {
            font-size: 10.5px !important;
            margin-bottom: 3px !important;
        }

        .glass-dialog .custom-range {
            height: 4px !important;
            margin-top: 2px;
        }

        /* Blueprint result box */
        .blueprint-result-box {
            padding: 8px 10px !important;
            margin-bottom: 8px !important;
        }

            .blueprint-result-box h5 {
                font-size: 12px !important;
            }

            .blueprint-result-box .badge {
                font-size: 8px !important;
                padding: 3px 6px !important;
            }

            .blueprint-result-box .col-4 {
                padding: 4px !important;
            }

                .blueprint-result-box .col-4 .small {
                    font-size: 9px !important;
                }

                .blueprint-result-box .col-4 .h4,
                .blueprint-result-box .col-4 .h5 {
                    font-size: 13px !important;
                }

        /* Footer Buttons in Modal */
        .glass-dialog .d-flex.justify-content-end {
            gap: 6px !important;
            padding-top: 6px !important;
            margin-top: 4px !important;
        }

        .glass-dialog .btn-gold-action {
            font-size: 11.5px !important;
            padding: 7px 14px !important;
            border-radius: 6px !important;
        }

        .glass-dialog .btn-outline-secondary {
            font-size: 11.5px !important;
            padding: 7px 12px !important;
            border-radius: 6px !important;
        }

        /* Inquiry Quick Contact Modal compact on mobile */
        .contact-card-box {
            padding: 8px 10px !important;
            font-size: 11px !important;
            margin-bottom: 8px !important;
        }

        #quickContactForm .mb-2,
        #quickContactForm .mb-3 {
            margin-bottom: 6px !important;
        }

        #quickContactForm .form-label {
            font-size: 10px !important;
            margin-bottom: 1px !important;
        }

        #quickContactForm .form-control {
            font-size: 11.5px !important;
            padding: 5px 8px !important;
            height: auto !important;
        }

        #quickContactForm textarea {
            min-height: 50px;
        }

        #btnQuickSubmit {
            font-size: 12px !important;
            padding: 8px !important;
        }
    }

    /* --------------------------------------------------------------------------
   4. SMALL MOBILE / COMPACT PHONES (max-width: 480px)
   -------------------------------------------------------------------------- */
    @media (max-width: 480px) {
        .header-inner {
            padding: 0 3.5%;
        }

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

        .rhine-sidenav {
            width: 100vw;
            max-width: 100vw;
        }

        .landing-eyebrow,
        .about-eyebrow,
        .how-eyebrow,
        .industries-eyebrow,
        .ourwork-eyebrow,
        .insights-eyebrow,
        .contact-eyebrow-label {
            font-size: 11px;
            letter-spacing: 0.18em;
        }

        .review-tag {
            display: none; /* Hide on smallest screens to maximize content area */
        }
    }

    /* ==========================================================================
   5. ARABIC LANGUAGE (RTL) STYLING & TYPOGRAPHY
   ========================================================================== */

    [dir="rtl"] {
        font-family: 'Cairo', 'Plus Jakarta Sans', sans-serif;
        text-align: right;
    }

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

        [dir="rtl"] .sidenav-link {
            text-align: right;
        }

            [dir="rtl"] .sidenav-link:hover {
                padding-left: 20px;
                padding-right: 26px;
            }

        [dir="rtl"] .dropdown-menu-end {
            right: auto !important;
            left: 0 !important;
        }

        /* Sidenav drawer for RTL */
        [dir="rtl"] .rhine-sidenav {
            right: auto;
            left: 0;
            border-left: none;
            border-right: 1px solid rgba(204, 168, 119, 0.25);
            transform: translateX(-100%);
        }

            [dir="rtl"] .rhine-sidenav.active {
                transform: translateX(0);
            }

        /* Global Arabic font styling for headlines & subheads */
        [dir="rtl"] .about-headline,
        [dir="rtl"] .how-headline,
        [dir="rtl"] .industries-headline,
        [dir="rtl"] .ourwork-headline,
        [dir="rtl"] .insights-headline,
        [dir="rtl"] .contact-main-headline,
        [dir="rtl"] .agentfactory-headline {
            font-family: 'Cairo', sans-serif;
            letter-spacing: 0;
        }

    /* ==========================================================================
   DESKTOP, TAB & HIGHER DESKTOP (>= 768px):
   Arabic content alignment SAME AS ENGLISH (LEFT-ALIGNED) for:
   About Us, How It Works, Agent Factory, Industries, Our Work, Insights, Contact
   ========================================================================== */
    @media (min-width: 768px) {
        /* Standard left-positioned content (no left vertical text) */
        [dir="rtl"] .about-content,
        [dir="rtl"] .industries-content,
        [dir="rtl"] .ourwork-content,
        [dir="rtl"] .insights-content {
            text-align: left !important;
            direction: ltr !important;
            /*left: clamp(40px, 7.5vw, 110px) !important;*/
            right: auto !important;
        }

        /* Agent Factory: generous left gap from left vertical text stack */
        [dir="rtl"] .agentfactory-content {
            text-align: left !important;
            direction: ltr !important;
            /*left: clamp(140px, 11vw, 185px) !important;*/
            right: auto !important;
            /*top: calc(var(--header-height) + 24px) !important;*/
            max-width: 480px !important;
        }

        /* How It Works: generous left gap from left vertical text stack */
        [dir="rtl"] .how-content {
            text-align: left !important;
            direction: ltr !important;
            /*left: clamp(145px, 12vw, 190px) !important;*/
            right: auto !important;
            top: calc(var(--header-height) + 36px) !important;
            max-width: 490px !important;
        }

        /* Contact Us: generous left position and strict LTR flex alignment */
        [dir="rtl"] .contact-content {
            text-align: left !important;
            direction: ltr !important;
            /*left: clamp(40px, 6vw, 90px) !important;*/
            right: auto !important;
            width: 44% !important;
            max-width: 500px !important;
        }

        /* Headlines */
        [dir="rtl"] .about-headline,
        [dir="rtl"] .how-headline,
        [dir="rtl"] .industries-headline,
        [dir="rtl"] .ourwork-headline,
        [dir="rtl"] .insights-headline,
        [dir="rtl"] .contact-main-headline,
        [dir="rtl"] .agentfactory-headline {
            text-align: left !important;
            margin-bottom: 18px !important;
        }

            [dir="rtl"] .about-headline *,
            [dir="rtl"] .how-headline *,
            [dir="rtl"] .industries-headline *,
            [dir="rtl"] .ourwork-headline *,
            [dir="rtl"] .insights-headline *,
            [dir="rtl"] .contact-main-headline *,
            [dir="rtl"] .agentfactory-headline *,
            [dir="rtl"] .contact-gold-line,
            [dir="rtl"] .insights-headline-gold,
            [dir="rtl"] .ourwork-headline-gold,
            [dir="rtl"] .how-headline-gold {
                text-align: left !important;
            }

        /* Descriptions & Sublines with proper line-height and bottom gaps */
        [dir="rtl"] .about-subhead,
        [dir="rtl"] .how-desc,
        [dir="rtl"] .industries-desc,
        [dir="rtl"] .ourwork-desc,
        [dir="rtl"] .insights-desc,
        [dir="rtl"] .agentfactory-desc {
            text-align: left !important;
            margin-bottom: 26px !important;
            line-height: 1.7 !important;
        }

        [dir="rtl"] .contact-subline {
            text-align: left !important;
            margin-bottom: 28px !important;
            line-height: 1.65 !important;
        }

        /* Eyebrows */
        [dir="rtl"] .about-eyebrow,
        [dir="rtl"] .industries-eyebrow,
        [dir="rtl"] .ourwork-eyebrow,
        [dir="rtl"] .insights-eyebrow,
        [dir="rtl"] .contact-eyebrow,
        [dir="rtl"] .agentfactory-eyebrow {
            display: flex !important;
            align-items: center !important;
            justify-content: flex-start !important;
            text-align: left !important;
            direction: ltr !important;
            gap: 14px !important;
            margin-bottom: 16px !important;
        }

        [dir="rtl"] .how-eyebrow {
            display: flex !important;
            flex-direction: column !important;
            align-items: flex-start !important;
            text-align: left !important;
            direction: ltr !important;
            gap: 4px !important;
            margin-bottom: 16px !important;
        }

        [dir="rtl"] .about-eyebrow-text,
        [dir="rtl"] .how-eyebrow-text,
        [dir="rtl"] .industries-eyebrow span,
        [dir="rtl"] .ourwork-eyebrow-text,
        [dir="rtl"] .insights-eyebrow-text,
        [dir="rtl"] .contact-eyebrow-label,
        [dir="rtl"] .agentfactory-eyebrow-text {
            text-align: left !important;
        }

        [dir="rtl"] .industries-headline-bar {
            margin-left: 0 !important;
            margin-right: auto !important;
        }

        /* Contact Details: strictly left-aligned rows, no staircase offset, generous gaps */
        [dir="rtl"] .contact-details-list {
            display: flex !important;
            flex-direction: column !important;
            align-items: flex-start !important;
            justify-content: flex-start !important;
            direction: ltr !important;
            width: 100% !important;
            gap: 20px !important;
            margin-top: 10px !important;
            margin-bottom: 34px !important;
            text-align: left !important;
        }

        [dir="rtl"] .contact-detail-row {
            display: flex !important;
            flex-direction: row !important;
            align-items: flex-start !important;
            justify-content: flex-start !important;
            text-align: left !important;
            direction: ltr !important;
            gap: 16px !important;
            width: auto !important;
            margin-left: 0 !important;
            margin-right: auto !important;
        }

        [dir="rtl"] .contact-icon-badge {
            margin-left: 0 !important;
            margin-right: 0 !important;
            flex-shrink: 0 !important;
        }

        [dir="rtl"] .contact-detail-body {
            display: flex !important;
            flex-direction: column !important;
            align-items: flex-start !important;
            text-align: left !important;
            direction: ltr !important;
            gap: 2px !important;
        }

            [dir="rtl"] .contact-detail-body strong,
            [dir="rtl"] .contact-detail-body span,
            [dir="rtl"] .contact-detail-body a {
                text-align: left !important;
                direction: ltr !important;
                display: block !important;
            }

        [dir="rtl"] .contact-tagline {
            display: flex !important;
            align-items: center !important;
            justify-content: flex-start !important;
            direction: ltr !important;
            text-align: left !important;
            gap: 14px !important;
            margin-top: 24px !important;
        }

        /* Action buttons & badges */
        [dir="rtl"] .about-cta-btn,
        [dir="rtl"] .how-cta-btn,
        [dir="rtl"] .ourwork-cta-btn,
        [dir="rtl"] .insights-cta-btn {
            margin-left: 0 !important;
            margin-right: 0 !important;
            direction: ltr !important;
            align-self: flex-start !important;
        }

        [dir="rtl"] .about-feature-item,
        [dir="rtl"] .how-badge-item,
        [dir="rtl"] .insights-card,
        [dir="rtl"] .industries-tagline,
        [dir="rtl"] .ourwork-tagline,
        [dir="rtl"] .insights-tagline {
            text-align: left !important;
            direction: ltr !important;
        }

        [dir="rtl"] .about-feature-item {
            align-items: flex-start !important;
        }

        [dir="rtl"] .about-feature-title,
        [dir="rtl"] .about-feature-desc,
        [dir="rtl"] .how-badge-title,
        [dir="rtl"] .how-badge-desc,
        [dir="rtl"] .insights-card-title,
        [dir="rtl"] .insights-card-desc {
            text-align: left !important;
            font-family: 'Cairo', sans-serif !important;
        }

        /* Agent Factory Buttons: generous gap and clean row flow */
        [dir="rtl"] .agentfactory-btn-row {
            display: flex !important;
            flex-direction: row !important;
            align-items: center !important;
            justify-content: flex-start !important;
            direction: ltr !important;
            gap: 16px !important;
            margin-top: 8px !important;
        }

        [dir="rtl"] .agentfactory-vertical-text {
            left: clamp(18px, 2.2vw, 36px) !important;
            right: auto !important;
        }
    }

    /* Mobile only (< 768px): Stack layout */
    @media (max-width: 767.98px) {
        [dir="rtl"] .about-content,
        [dir="rtl"] .how-content,
        [dir="rtl"] .industries-content,
        [dir="rtl"] .ourwork-content,
        [dir="rtl"] .insights-content,
        [dir="rtl"] .contact-content {
            right: auto;
            left: auto;
            text-align: right;
        }

        [dir="rtl"] .about-cta-btn {
            margin-right: 0;
            margin-left: 0;
        }
    }

    /*.contact-content {
    position: absolute;
    top: 50%;
    right: 70%;
    left: auto;
    transform: translateY(-50%);
    z-index: 10;
    width: 100%;
    max-width: 490px;
    padding: 0;
    text-align: right;
    color: #ffffff;
    box-sizing: border-box;
}

    .contact-content .contact-main-headline,
    .contact-content .contact-subline,
    .contact-content .contact-address-line,
    .contact-content .contact-comm-line {
        text-align: right;
        color: #ffffff;
    }*/


    /* Contact content - LEFT side of background image */
    .contact-content {
        position: absolute;
        top: 50%;
        left: 5%;
        right: auto;
        transform: translateY(-50%);
        width: 42%;
        max-width: 490px;
        padding: 20px;
        box-sizing: border-box;
        z-index: 10;
        color: #ffffff;
        text-align: left;
    }

    /* English content */
    [dir="ltr"] .contact-content,
    [dir="ltr"] .contact-content .contact-main-headline,
    [dir="ltr"] .contact-content .contact-subline {
        text-align: left;
    }

    /* Arabic content mobile fallback */
    @media (max-width: 767.98px) {
        [dir="rtl"] .contact-content,
        [dir="rtl"] .contact-content .contact-main-headline,
        [dir="rtl"] .contact-content .contact-subline {
            text-align: right;
        }
    }

    /* Address and contact details */
    .contact-content .contact-address-line,
    .contact-content .contact-comm-line {
        color: #ffffff;
        line-height: 1.8;
    }

    /* Tablet and mobile */
    @media (max-width: 767px) {
        .contact-content {
            position: relative !important;
            top: auto !important;
            left: auto !important;
            transform: none !important;
            width: 100% !important;
            max-width: 100% !important;
            padding: calc(var(--header-height) + 16px) 5% 40px !important;
            box-sizing: border-box !important;
        }
    }


    /* ==========================================================================
   AGENT FACTORY PAGE
   ========================================================================== */

    .agentfactory-page-section {
        position: relative;
        width: 100%;
        height: 100%;
        overflow: hidden;
        background: #040e1a;
    }

    /* Background image: Agent-Factory.png */
    .agentfactory-bg-wrap {
        position: absolute;
        inset: 0;
        background-image: url('/images/Agent-Factory.png');
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        transform: scale(1.02);
        transition: transform 0.8s ease;
        z-index: 0;
        TOP: 80PX;
    }

    /* Soft gradient overlay: brighten left side, subtle vignette for readability without darkening the factory artwork */
    .agentfactory-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient( 90deg, rgba(4, 14, 26, 0.45) 0%, rgba(4, 14, 26, 0.28) 28%, rgba(4, 14, 26, 0.10) 45%, rgba(4, 14, 26, 0) 65% );
        z-index: 1;
        pointer-events: none;
    }

    /* Top-right watermark / mezzanine branding */
    .agentfactory-watermark {
        position: absolute;
        top: calc(var(--header-height) + 16px);
        right: 3%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: clamp(520px, 47vw, 760px);
        z-index: 3;
        pointer-events: none;
    }

    .af-wm-tagline {
        font-family: 'Outfit', sans-serif;
        font-size: clamp(0.6rem, 0.8vw, 0.76rem);
        font-weight: 700;
        letter-spacing: 0.26em;
        color: #f2bd48;
        text-transform: uppercase;
        opacity: 0.95;
        text-shadow: 0 0 12px rgba(242, 189, 72, 0.5);
    }

    .af-wm-brand {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        line-height: 1.1;
    }

    .af-wm-name {
        font-family: 'Outfit', sans-serif;
        font-size: clamp(0.78rem, 1vw, 0.95rem);
        font-weight: 800;
        letter-spacing: 0.2em;
        color: #ffffff;
    }

    .af-wm-sub {
        font-family: 'Outfit', sans-serif;
        font-size: clamp(0.44rem, 0.55vw, 0.54rem);
        font-weight: 600;
        letter-spacing: 0.24em;
        color: rgba(255, 255, 255, 0.6);
    }

    /* 5-Stage Agent Factory Pipeline Cards (Define, Build, Challenge, Validate, Prepare) */
    .af-pipeline-container {
        position: absolute;
        top: calc(var(--header-height) + 100px);
        right: 3%;
        display: flex;
        align-items: center;
        gap: clamp(6px, 0.8vw, 13px);
        z-index: 4;
    }

/* Mac screens only */
@media screen and (min-width: 1440px) {
    .af-pipeline-container {
        position: absolute;
        top: calc(var(--header-height) + 200px);
        right: 9%;
        display: flex;
        align-items: center;
        gap: 18px;
        z-index: 4;
    }
}

.af-stage-card {
    width: clamp(92px, 8.4vw, 132px);
    min-height: clamp(142px, 17vh, 184px);
    background: rgba(6, 26, 44, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1.5px solid rgba(80, 200, 255, 0.42);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55), 0 0 20px rgba(56, 189, 248, 0.22);
    padding: clamp(12px, 1.3vw, 16px) clamp(8px, 0.9vw, 12px) clamp(10px, 1.1vw, 14px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
    width: clamp(80px, 8vw, 110px);
    min-height: 120px;
    padding: 10px 8px;
    gap: 6px;
    border-radius: 8px;
}

        .af-stage-card:hover {
            transform: translateY(-4px);
            border-color: rgba(125, 211, 252, 0.9);
            box-shadow: 0 14px 36px rgba(0, 0, 0, 0.65), 0 0 28px rgba(56, 189, 248, 0.45);
        }

    .af-card-icon {
        color: #7dd3fc;
        margin-bottom: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.65));
    }

        .af-card-icon svg {
            width: clamp(20px, 1.6vw, 25px);
            height: clamp(20px, 1.6vw, 25px);
        }

    .af-card-title {
        font-family: 'Outfit', sans-serif;
        font-size: clamp(0.74rem, 0.88vw, 0.92rem);
        font-weight: 700;
        letter-spacing: 0.15em;
        color: #ffffff;
        margin: 0 0 clamp(8px, 1vw, 12px);
        text-transform: uppercase;
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.55), 0 2px 4px rgba(0, 0, 0, 0.8);
    }

    .af-card-list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: clamp(2px, 0.35vw, 5px);
        width: 100%;
    }

        .af-card-list li {
            font-family: 'Outfit', sans-serif;
            font-size: clamp(0.52rem, 0.64vw, 0.68rem);
            font-weight: 600;
            letter-spacing: 0.16em;
            color: rgba(224, 242, 254, 0.88);
            line-height: 1.45;
            text-transform: uppercase;
            text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
        }

    .af-pipeline-arrow {
        font-family: 'Outfit', sans-serif;
        font-size: clamp(1rem, 1.4vw, 1.5rem);
        font-weight: 700;
        color: #f2bd48;
        opacity: 0.9;
        filter: drop-shadow(0 0 8px rgba(242, 189, 72, 0.7));
        user-select: none;
        line-height: 1;
    }

    /* Left vertical text */
    .agentfactory-vertical-text {
        position: absolute;
        left: clamp(18px, 2.2vw, 36px);
        top: calc(var(--header-height) + 80px);
        transform: none;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        z-index: 3;
        pointer-events: none;
    }

        .agentfactory-vertical-text span {
            font-family: 'Outfit', sans-serif;
            font-size: clamp(0.46rem, 0.55vw, 0.6rem);
            font-weight: 700;
            letter-spacing: 0.22em;
            color: rgba(255, 255, 255, 0.42);
            text-transform: uppercase;
            white-space: nowrap;
            line-height: 1.35;
        }

    .agentfactory-vertical-line {
        width: 1px !important;
        height: 32px !important;
        background: rgba(204, 168, 119, 0.45) !important;
        margin: 10px 0 !important;
        letter-spacing: 0 !important;
    }

    /* Main left-side content block */
    .agentfactory-content {
        position: absolute;
        top: calc(var(--header-height) + 20px);
        left: clamp(130px, 10.5vw, 175px);
        transform: none;
        max-width: 470px;
        z-index: 3;
    }

    /* Eyebrow */
    .agentfactory-eyebrow {
        margin-bottom: 12px;
    }

    .agentfactory-eyebrow-text {
        font-family: 'Outfit', sans-serif;
        font-size: 0.72rem;
        font-weight: 600;
        letter-spacing: 0.24em;
        color: var(--gold-primary);
        text-transform: uppercase;
        opacity: 0.95;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
    }

    /* Headline */
    .agentfactory-headline {
        font-family: 'Outfit', sans-serif;
        font-size: clamp(2rem, 3.1vw, 2.85rem);
        font-weight: 800;
        line-height: 1.12;
        color: #ffffff;
        margin: 0 0 18px;
        letter-spacing: -0.02em;
        text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
    }

    .agentfactory-headline-gold {
        background: var(--gold-gradient);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    /* Description */
    .agentfactory-desc {
        font-family: 'Plus Jakarta Sans', sans-serif;
        font-size: clamp(0.86rem, 0.95vw, 0.94rem);
        font-weight: 400;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.88);
        margin: 0 0 24px;
        max-width: 420px;
        text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85);
    }

    /* CTA Buttons */
    .agentfactory-btn-row {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
    }

    .agentfactory-btn-primary {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 22px;
        border: none;
        border-radius: 6px;
        background: #f2bd48;
        color: #071522;
        font-family: 'Outfit', sans-serif;
        font-size: 0.86rem;
        font-weight: 700;
        letter-spacing: 0.03em;
        cursor: pointer;
        transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.18s;
        white-space: nowrap;
    }

        .agentfactory-btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(204, 168, 119, 0.35);
            opacity: 0.94;
        }

    .agentfactory-btn-secondary {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 9px 20px;
        border: 1.5px solid rgba(255, 255, 255, 0.35);
        border-radius: 6px;
        background: rgba(4, 14, 26, 0.35);
        color: rgba(255, 255, 255, 0.88);
        font-family: 'Outfit', sans-serif;
        font-size: 0.86rem;
        font-weight: 600;
        letter-spacing: 0.03em;
        cursor: pointer;
        transition: all 0.22s ease;
        white-space: nowrap;
        backdrop-filter: blur(8px);
    }

        .agentfactory-btn-secondary:hover {
            border-color: rgba(204, 168, 119, 0.65);
            color: var(--gold-primary);
            background: rgba(204, 168, 119, 0.12);
        }

    /* Bottom left desk badge (placed right on the control desk front panel) */
    .agentfactory-desk-badge {
        position: absolute;
        bottom: clamp(9%, 13.5vh, 17%);
        left: clamp(140px, 14.8vw, 220px);
        display: flex;
        flex-direction: column;
        gap: 2px;
        z-index: 3;
        pointer-events: none;
    }

    .af-desk-title {
        font-family: 'Outfit', sans-serif;
        font-size: clamp(0.55rem, 0.72vw, 0.7rem);
        font-weight: 700;
        letter-spacing: 0.2em;
        color: rgba(255, 255, 255, 0.55);
        text-transform: uppercase;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
    }

    .af-desk-subtitle {
        font-family: 'Outfit', sans-serif;
        font-size: clamp(0.55rem, 0.72vw, 0.7rem);
        font-weight: 800;
        letter-spacing: 0.2em;
        color: var(--gold-primary);
        opacity: 0.92;
        text-transform: uppercase;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
    }

    .af-desk-gold-bar {
        width: 32px;
        height: 2px;
        background: var(--gold-primary);
        margin-top: 4px;
        opacity: 0.85;
    }

    /* Bottom right crate badge (placed directly on the crate panel at bottom-right) */
    .agentfactory-crate-badge {
        position: absolute;
        bottom: clamp(6%, 8vh, 11%);
        right: clamp(100px, 10.5vw, 165px);
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 2px;
        z-index: 3;
        pointer-events: none;
    }

        .agentfactory-crate-badge span {
            font-family: 'Outfit', sans-serif;
            font-size: clamp(0.48rem, 0.62vw, 0.6rem);
            font-weight: 700;
            letter-spacing: 0.2em;
            color: rgba(255, 255, 255, 0.52);
            text-transform: uppercase;
            text-align: right;
            text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
        }

    .af-crate-gold-bar {
        width: 28px;
        height: 2px;
        background: var(--gold-primary);
        margin-top: 4px;
        opacity: 0.75;
    }

    /* ==========================================================================
   RESPONSIVE — AGENT FACTORY
   ========================================================================== */

    /* Tablet (769px – 1199px) */
    @media (min-width: 769px) and (max-width: 1199px) {
        .agentfactory-content {
            max-width: 380px;
            left: 5%;
            top: 50%;
            transform: translateY(-50%);
        }

        .agentfactory-vertical-text {
            display: none;
        }

        .af-pipeline-container {
            top: calc(var(--header-height) + 52px);
            right: 2%;
            gap: 6px;
        }

        .af-stage-card {
            width: 86px;
            min-height: 135px;
            padding: 10px 6px 8px;
        }

        .af-card-title {
            font-size: 0.68rem;
        }

        .af-card-list li {
            font-size: 0.5rem;
        }
    }

    /* Mobile (≤ 768px) */
    @media (max-width: 768px) {
        .agentfactory-overlay {
            background: linear-gradient( 180deg, rgba(4, 14, 26, 0.85) 0%, rgba(4, 14, 26, 0.75) 60%, rgba(4, 14, 26, 0.90) 100% );
        }

        .agentfactory-content {
            position: relative;
            top: auto;
            left: auto;
            transform: none;
            max-width: 100%;
            padding: calc(var(--header-height) + 24px) 6% 16px;
            z-index: 3;
        }

        .agentfactory-watermark {
            position: relative;
            top: auto;
            right: auto;
            width: 100%;
            padding: 0 6%;
            margin-top: 14px;
            margin-bottom: 6px;
            display: flex;
        }

        .af-pipeline-container {
            position: relative;
            top: auto;
            right: auto;
            width: 100%;
            max-width: 100%;
            overflow-x: auto;
            padding: 14px 6%;
            margin-top: 12px;
            margin-bottom: 24px;
            justify-content: flex-start;
            gap: 8px;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: thin;
            scrollbar-color: rgba(80, 200, 255, 0.5) transparent;
            z-index: 4;
        }

        .af-stage-card {
            flex: 0 0 110px;
            width: 110px;
            min-height: 148px;
        }

        .agentfactory-page-section {
            overflow-y: auto;
        }

        .agentfactory-vertical-text {
            display: none;
        }

        .agentfactory-desk-badge,
        .agentfactory-crate-badge {
            position: relative;
            bottom: auto;
            left: auto;
            right: auto;
            padding: 10px 6%;
        }

        .agentfactory-btn-row {
            flex-direction: column;
            align-items: stretch;
        }

        .agentfactory-btn-primary,
        .agentfactory-btn-secondary {
            width: 100%;
            justify-content: center;
        }

        .agentfactory-headline {
            font-size: clamp(1.8rem, 7vw, 2.4rem);
        }
    }

    /* Small mobile (≤ 480px) */
    @media (max-width: 480px) {
        .agentfactory-headline {
            font-size: 1.8rem;
        }
    }

    /* Large desktop / Mac (≥ 1440px) */
    @media (min-width: 1440px) {
        .agentfactory-content {
            max-width: 480px;
            left: 7%;
        }

        .agentfactory-headline {
            font-size: 3.5rem;
        }
    }

    /* Extra Large (≥ 1920px) */
    @media (min-width: 1920px) {
        .agentfactory-content {
            max-width: 520px;
        }

        .agentfactory-headline {
            font-size: 3.8rem;
        }
    }

    /* ==========================================================================
   RESPONSIVE NAV — Better wrapping for larger nav with Agent Factory
   ========================================================================== */

    @media (min-width: 1024px) and (max-width: 1280px) {
        .center-nav .nav-item-btn {
            font-size: 0.78rem;
            padding: 7px 8px;
            letter-spacing: 0.02em;
        }

        .header-inner {
            padding: 0 2%;
        }
    }

    @media (max-width: 1023px) {
        /* On tablet/mobile, hide center nav and show hamburger */
        .center-nav {
            display: none !important;
        }
    }

    /* Ensure page sections handle overflow properly on mobile */
    @media (max-width: 768px) {
        .agentfactory-page-section.active {
            overflow-y: auto;
            overflow-x: hidden;
        }
    }

    /* ==========================================================================
   RTL SUPPORT — Agent Factory
   ========================================================================== */
    @media (max-width: 768px) {
        [dir="rtl"] .agentfactory-content {
            text-align: right;
        }
    }

    [dir="rtl"] .agentfactory-vertical-text {
        left: auto;
        right: 1.8%;
    }

    [dir="rtl"] .agentfactory-desk-badge {
        left: auto;
        right: 6.5%;
    }

    [dir="rtl"] .agentfactory-crate-badge {
        right: auto;
        left: 3.5%;
        align-items: flex-start;
    }

        [dir="rtl"] .agentfactory-crate-badge span {
            text-align: left;
        }

    [dir="rtl"] .agentfactory-watermark {
        right: auto;
        left: 3.5%;
        align-items: flex-start;
    }

    [dir="rtl"] .af-wm-brand {
        align-items: flex-start;
    }

    @media (max-width: 768px) {
        [dir="rtl"] .agentfactory-btn-row {
            flex-direction: row-reverse;
        }
    }

    [dir="rtl"] .af-pipeline-container {
        /*right: auto;
    left: 3%;
    flex-direction: row-reverse;*/
    }

    [dir="rtl"] .af-pipeline-arrow {
        transform: rotate(180deg);
    }

    @media (max-width: 768px) {
        [dir="rtl"] .agentfactory-content {
            right: auto;
            left: auto;
            text-align: right;
        }

        [dir="rtl"] .agentfactory-btn-row {
            flex-direction: column;
            align-items: stretch;
        }
    }