/* ============================================
   CSS Reset & Base Styles
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: #27344B;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

/* ============================================
   Color System
   ============================================ */

:root {
    --color-primary: #27344B;
    --color-primary-hover: #1A2538;
    --color-primary-active: #0F1621;
    --color-secondary: #C1B195;
    --color-secondary-hover: #A8967A;
    --color-whatsapp: #25D366;
    --color-whatsapp-hover: #20BA5A;
    --color-navy: #27344B;
    --color-gold: #C1B195;
    --color-text: #27344B;
    --color-text-light: #4A5568;
    --color-text-lighter: #6B7280;
    --color-bg: #ffffff;
    --color-bg-alt: #F7F7F7;
    --color-border: #E5E5E5;
    --color-success: #3C8D40;
    --color-error: #D9534F;
}

/* ============================================
   Typography System
   ============================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

h1 {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 800;
}

h2 {
    font-size: 26px;
    margin-bottom: 24px;
    font-weight: 700;
}

h3 {
    font-size: 20px;
    margin-bottom: 14px;
    font-weight: 700;
}

h4 {
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 600;
}

p {
    margin-bottom: 16px;
    color: var(--color-text-light);
    line-height: 1.7;
    font-size: 16px;
}

/* ============================================
   Grid System & Container
   ============================================ */

.container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 16px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #ffffff;
    padding: 16px 32px;
    font-weight: 600;
    border: 2px solid var(--color-primary);
    box-shadow: 0 2px 4px rgba(39, 52, 75, 0.15);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
    box-shadow: 0 4px 8px rgba(39, 52, 75, 0.2);
    transform: translateY(-1px);
}

.btn-primary:active {
    background-color: var(--color-primary-active);
    border-color: var(--color-primary-active);
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(39, 52, 75, 0.15);
}

.btn-primary:focus {
    outline: 3px solid var(--color-primary);
    outline-offset: 3px;
}

.btn-secondary {
    background-color: var(--color-bg);
    color: var(--color-text);
    border: 2px solid var(--color-navy);
    padding: 16px 32px;
    font-weight: 600;
}

.btn-secondary:hover {
    background-color: var(--color-navy);
    color: #ffffff;
    border-color: var(--color-navy);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(39, 52, 75, 0.15);
}

.btn-secondary:active {
    background-color: var(--color-primary-hover);
    transform: translateY(0);
}

.btn-secondary:focus {
    outline: 3px solid var(--color-navy);
    outline-offset: 3px;
}

.btn-large {
    padding: 18px 32px;
    font-size: 18px;
}

.btn-small {
    padding: 10px 20px;
    font-size: 14px;
    min-height: 44px;
    font-weight: 600;
    border-radius: 6px;
}

/* ============================================
   Header & Navigation
   ============================================ */

.header {
    background-color: var(--color-bg);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    transition: box-shadow 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    min-height: 80px;
}

.nav-brand {
    flex-shrink: 0;
    margin-right: 32px;
}

.nav-brand .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 4px 0;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: none;
    gap: 8px;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav-menu li {
    display: flex;
    align-items: center;
}

.nav-whatsapp-item {
    display: flex;
    align-items: center;
}

.nav-actions-desktop {
    display: none;
    align-items: center;
    gap: 16px;
}

.nav-actions-mobile {
    display: none;
    align-items: center;
    gap: 12px;
}

.nav-link {
    color: var(--color-text);
    font-weight: 500;
    font-size: 16px;
    transition: all 0.15s ease;
    padding: 12px 16px;
    border-radius: 6px;
    position: relative;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-link:hover {
    color: var(--color-gold);
    background-color: transparent;
}

.nav-link:hover::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 16px;
    right: 16px;
    height: 2px;
    background-color: var(--color-gold);
    transition: all 0.15s ease;
}

.nav-link:focus {
    outline: 2px solid var(--color-navy);
    outline-offset: 2px;
}

.nav-link.active {
    color: var(--color-navy);
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 16px;
    right: 16px;
    height: 3px;
    background-color: var(--color-gold);
    border-radius: 2px;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 32px;
    height: 32px;
    justify-content: center;
    align-items: center;
    background: none;
    padding: 0;
    margin-left: 16px;
}

@media (max-width: 767px) {
    .nav {
        padding: 16px 0;
        min-height: 70px;
        justify-content: space-between;
    }

    .nav-brand {
        margin-right: 0;
        flex-shrink: 0;
    }

    .logo-img {
        height: 42px;
    }

    .menu-toggle {
        display: none !important;
    }

    .nav-actions-desktop {
        display: none;
    }

    .nav-actions-mobile {
        display: flex;
        align-items: center;
        flex-shrink: 0;
        margin-left: 12px;
        gap: 8px;
    }

    .lang-switcher-mobile {
        display: flex;
        margin: 0;
    }

    .lang-btn-mobile {
        width: 44px;
        height: 44px;
        min-height: 44px;
        padding: 0;
        border-radius: 6px;
    }

    .nav-menu {
        display: none !important;
    }

    .btn-header-mobile {
        padding: 10px 16px;
        font-size: 14px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        white-space: nowrap;
    }

    .btn-header-mobile svg {
        flex-shrink: 0;
        width: 16px;
        height: 16px;
    }

    .btn-header-mobile span {
        display: inline-block;
    }

    /* Force hero image below text on mobile */
    .hero-content {
        flex-direction: column !important;
    }

    .hero-text {
        order: 1 !important;
        width: 100% !important;
        flex: none !important;
    }

    .hero-image {
        order: 2 !important;
        width: 100% !important;
        flex: none !important;
        margin-top: 24px;
    }

    [dir="rtl"] .hero-content {
        flex-direction: column !important;
    }

    [dir="rtl"] .hero-text {
        order: 1 !important;
        width: 100% !important;
    }

    [dir="rtl"] .hero-image {
        order: 2 !important;
        width: 100% !important;
        margin-top: 24px;
    }

    /* Mobile Footer RTL */
    [dir="rtl"] .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        direction: rtl;
    }

    [dir="rtl"] .footer-brand,
    [dir="rtl"] .footer-links-section,
    [dir="rtl"] .footer-contact {
        grid-column: 1;
        text-align: right !important;
    }

    [dir="rtl"] .footer-logo {
        justify-content: flex-end;
    }

    [dir="rtl"] .footer-description {
        text-align: right !important;
        max-width: 100%;
        margin: 0 !important;
        margin-inline-start: auto !important;
        margin-inline-end: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    [dir="rtl"] .footer-heading {
        text-align: right !important;
    }

    [dir="rtl"] .footer-links {
        align-items: flex-end;
        width: 100%;
    }

    [dir="rtl"] .footer-links a {
        text-align: right !important;
        justify-content: flex-end;
        width: 100%;
    }

    [dir="rtl"] .btn-footer {
        width: 100%;
        max-width: 100%;
        margin-inline-start: 0;
        margin-inline-end: 0;
        align-self: flex-end;
    }

    [dir="rtl"] .footer-legal {
        text-align: right;
    }

    [dir="rtl"] .footer-legal-links {
        justify-content: flex-end;
        flex-direction: row;
        align-items: center;
        gap: 6px;
        direction: rtl;
    }

    [dir="rtl"] .footer-separator {
        display: inline;
    }

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

.menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--color-text);
    transition: all 0.3s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    padding: 60px 0 80px;
    background-color: var(--color-bg);
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
}

.hero-text {
    flex: 1;
    width: 100%;
    order: 1;
}

.hero-headline {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    color: var(--color-text);
    letter-spacing: -0.03em;
}

.hero-subheadline {
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-text-light);
    margin-bottom: 24px;
    max-width: 90%;
}

.hero-image {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: flex-start;
    order: 2;
}

.hero-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(39, 52, 75, 0.1);
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background-color: #ffffff;
    border: 2px solid var(--color-gold);
    border-radius: 24px;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text);
    transition: all 0.3s ease;
}

.badge:hover {
    background-color: var(--color-gold);
    color: var(--color-text);
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(193, 177, 149, 0.2);
}

.badge svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.5;
}

/* ============================================
   Section Headings
   ============================================ */

.section-heading {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

.section-intro {
    text-align: center;
    font-size: 18px;
    color: var(--color-text-light);
    margin-bottom: 48px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   Benefits Section
   ============================================ */

.benefits {
    padding: 100px 0;
    background-color: var(--color-bg-alt);
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--color-text-light);
    margin-bottom: 56px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.benefit-card {
    background-color: var(--color-bg);
    border: 2px solid var(--color-border);
    border-radius: 16px;
    padding: 24px;
    text-align: left;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(39, 52, 75, 0.12);
    border-color: var(--color-gold);
    background-color: #ffffff;
}

.benefit-card:hover .benefit-icon svg {
    stroke: var(--color-gold);
    transform: scale(1.05);
}

.benefit-card:hover .benefit-title {
    color: var(--color-navy);
}

.benefit-card:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(39, 52, 75, 0.1);
}

/* Mobile touch feedback */
@media (max-width: 767px) {
    .benefit-card:active {
        background-color: var(--color-bg-alt);
        transform: scale(0.98);
    }
}

.benefit-icon {
    width: 56px;
    height: 56px;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
}

.benefit-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--color-navy);
    transition: all 0.3s ease;
}

.benefit-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text);
    line-height: 1.3;
    transition: color 0.3s ease;
}

.benefit-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text-light);
    margin: 0;
    max-width: 100%;
}

/* ============================================
   How It Works Section
   ============================================ */

.how-it-works {
    padding: 100px 0;
    background-color: var(--color-bg);
}

.section-heading-accent {
    position: relative;
    padding-bottom: 24px;
    margin-bottom: 64px;
}

.section-heading-accent::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--color-gold);
    border-radius: 2px;
}

.steps-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 48px;
}

.step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    text-align: left;
    transition: all 0.3s ease;
    padding: 16px;
    border-radius: 12px;
}

.step:hover {
    background-color: var(--color-bg-alt);
}

.step:hover .step-number {
    transform: scale(1.05);
    background-color: rgba(39, 52, 75, 0.9);
}

.step:hover .step-title {
    color: var(--color-navy);
    text-decoration: underline;
    text-decoration-color: var(--color-gold);
    text-underline-offset: 4px;
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(39, 52, 75, 0.8);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.step-content {
    flex: 1;
    min-width: 0;
}

.step-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--color-text);
    line-height: 1.3;
    transition: all 0.3s ease;
}

.step-description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text-light);
    margin: 0;
}

.step-description .highlight {
    color: var(--color-gold);
    font-weight: 600;
}

.steps-cta {
    text-align: center;
    margin-top: 56px;
    padding-top: 48px;
    border-top: 1px solid var(--color-border);
}

.steps-closing {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 24px;
    font-style: italic;
}

/* ============================================
   Why Different Section
   ============================================ */

.why-different {
    padding: 56px 0 80px;
    background-color: var(--color-bg-alt);
}

.comparison-table {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    background-color: var(--color-border);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 48px;
}

.comparison-header,
.comparison-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    background-color: var(--color-bg);
}

.comparison-header {
    background-color: rgba(39, 52, 75, 0.9);
    color: #ffffff;
    font-weight: 800;
    min-height: 48px;
}

.comparison-header-wakylak {
    position: relative;
    font-weight: 800;
    font-size: 18px;
}

.comparison-header-wakylak::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--color-gold);
}

.comparison-header-traditional {
    position: relative;
    font-weight: 800;
    font-size: 18px;
}

.comparison-header-traditional::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: rgba(217, 83, 79, 0.4);
}

.comparison-row {
    transition: all 0.3s ease;
    min-height: 64px;
}

.comparison-row:nth-child(even) {
    background-color: var(--color-bg-alt);
}

.comparison-row:hover {
    background-color: #F0F0F0;
}

.comparison-row:hover .comparison-wakylak {
    font-weight: 700;
    color: var(--color-navy);
}

.comparison-cell {
    padding: 16px 20px;
    font-size: 15px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.5;
}

.comparison-cell svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.comparison-label {
    font-weight: 700;
    color: var(--color-text);
    font-size: 16px;
}

.comparison-header .comparison-cell {
    color: #ffffff;
    text-align: left;
}

.comparison-wakylak {
    color: var(--color-text);
    font-weight: 500;
}

.comparison-traditional {
    color: var(--color-text-light);
    font-weight: 400;
}

.comparison-cta {
    text-align: center;
    margin-top: 48px;
}

.comparison-closing {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 24px;
    line-height: 1.4;
}

/* ============================================
   Services Section
   ============================================ */

.services {
    padding: 56px 0 80px;
    background-color: var(--color-bg);
}

.services .section-heading {
    margin-bottom: 20px;
}

.section-intro {
    text-align: left;
    max-width: 600px;
    margin: 0 auto 48px;
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text-light);
}

.service-category {
    margin-bottom: 48px;
}

.service-category:last-of-type {
    margin-bottom: 0;
}

.service-category-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-gold);
    display: inline-block;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.service-card {
    background-color: var(--color-bg);
    border: 2px solid var(--color-border);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    min-height: 140px;
    text-decoration: none;
    color: inherit;
}

.service-card:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 16px rgba(39, 52, 75, 0.12);
    border-color: var(--color-gold);
    background-color: #ffffff;
}

.service-card:active {
    transform: translateY(0) scale(1);
}

.service-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--color-navy);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon svg {
    stroke: var(--color-gold);
    transform: scale(1.1);
}

.service-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-text);
    line-height: 1.3;
}

.service-description {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text-light);
    margin: 0;
    flex: 1;
}

.services-cta {
    text-align: center;
    margin-top: 56px;
    padding-top: 48px;
    border-top: 1px solid var(--color-border);
}

/* ============================================
   Proof Section
   ============================================ */

.proof {
    padding: 56px 0 80px;
    background-color: var(--color-bg-alt);
}

.proof .section-heading {
    margin-bottom: 32px;
}

.trust-badges-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: var(--color-bg);
    border: 2px solid var(--color-gold);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    transition: all 0.3s ease;
}

.trust-badge svg {
    width: 16px;
    height: 16px;
    stroke: var(--color-navy);
}

.trust-badge:hover {
    background-color: var(--color-gold);
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(193, 177, 149, 0.2);
}

.proof-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

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

.proof-visual {
    width: 100%;
}

.proof-image {
    width: 100%;
    border-radius: 12px;
    border: 2px solid var(--color-border);
    box-shadow: 0 4px 12px rgba(39, 52, 75, 0.1);
    transition: all 0.3s ease;
}

.proof-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(39, 52, 75, 0.15);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    order: 2;
}

.testimonial {
    background-color: var(--color-bg);
    border: 2px solid var(--color-border);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
    text-align: left;
    position: relative;
}

.testimonial::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: transparent;
    border-radius: 12px 12px 0 0;
    transition: all 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(39, 52, 75, 0.12);
    border-color: var(--color-gold);
}

.testimonial:hover::before {
    background-color: var(--color-gold);
}

.testimonial-hero {
    border: 2px solid var(--color-gold);
    background-color: #ffffff;
    padding: 32px;
}

.testimonial-hero::before {
    background-color: var(--color-gold);
    height: 4px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-light);
    margin-bottom: 16px;
    font-style: italic;
    max-width: 100%;
}

.testimonial-hero .testimonial-text {
    font-size: 17px;
    line-height: 1.8;
}

.testimonial-author {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text);
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial:hover .testimonial-author {
    border-top-color: var(--color-gold);
}

.author-name {
    color: var(--color-text);
    font-weight: 700;
}

.author-location {
    color: var(--color-text-light);
    font-weight: 500;
    font-size: 14px;
}

.proof-cta {
    text-align: center;
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--color-border);
}

.proof-cta-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 24px;
    line-height: 1.4;
}

/* ============================================
   Pricing Section
   ============================================ */

.pricing {
    padding: 80px 0;
    background-color: var(--color-bg);
}

.pricing-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.pricing-description {
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text-light);
    margin-bottom: 48px;
}

.pricing-examples {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
}

.price-example {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: var(--color-bg-alt);
    border-radius: 8px;
}

.price-label {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text);
}

.price-range {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
}

/* ============================================
   FAQ Section
   ============================================ */

.faq {
    padding: 56px 0 80px;
    background-color: var(--color-bg-alt);
    position: relative;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--color-gold), transparent);
}

.faq .section-heading {
    margin-bottom: 20px;
}

.faq-content {
    max-width: 900px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 40px;
}

.faq-category:last-of-type {
    margin-bottom: 0;
}

.faq-category-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-gold);
    display: inline-block;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background-color: var(--color-bg);
    border: 2px solid var(--color-border);
    border-left: 3px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.faq-item:hover {
    border-color: var(--color-gold);
    border-left-color: var(--color-navy);
    box-shadow: 0 4px 12px rgba(39, 52, 75, 0.08);
    transform: translateX(2px);
}

.faq-item.faq-featured {
    background-color: #FAFAFA;
    border-left-color: var(--color-navy);
    border-left-width: 4px;
}

.faq-item.faq-featured .faq-question {
    font-weight: 700;
}

.faq-question {
    width: 100%;
    padding: 18px 20px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 17px;
    font-weight: 600;
    color: var(--color-text);
    cursor: pointer;
    min-height: 44px;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--color-navy);
}

.faq-question:focus {
    outline: 3px solid var(--color-navy);
    outline-offset: -3px;
}

.faq-icon-wrapper {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--color-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    border: 2px solid var(--color-border);
}

.faq-item:hover .faq-icon-wrapper {
    background-color: var(--color-gold);
    border-color: var(--color-gold);
}

.faq-icon {
    font-size: 20px;
    font-weight: 300;
    color: var(--color-text);
    transition: transform 0.3s ease;
    display: block;
    line-height: 1;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-question[aria-expanded="true"] .faq-icon-wrapper {
    background-color: var(--color-gold);
    border-color: var(--color-gold);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer p {
    padding: 0 20px 16px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-light);
    text-align: left;
}

.faq-answer p:first-child {
    padding-top: 0;
}

.faq-answer .highlight {
    color: var(--color-gold);
    font-weight: 600;
}

.faq-bullets {
    list-style: none;
    padding: 0 20px 16px;
    margin: 0;
}

.faq-bullets li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-light);
    padding-left: 24px;
    position: relative;
    margin-bottom: 8px;
}

.faq-bullets li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-gold);
    font-weight: 700;
    font-size: 18px;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

.faq-cta {
    text-align: center;
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--color-border);
}

.faq-cta-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 24px;
    line-height: 1.4;
}

/* ============================================
   Final CTA Section
   ============================================ */

.final-cta {
    padding: 72px 0;
    background-color: var(--color-navy);
    color: #ffffff;
    text-align: center;
    position: relative;
}

.final-cta::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background-color: var(--color-gold);
    border-radius: 2px;
}

.final-cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.final-cta-headline {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.final-cta-text {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.85);
}

.btn-cta-hero {
    background-color: var(--color-gold);
    color: var(--color-navy);
    padding: 20px 48px;
    font-size: 20px;
    font-weight: 700;
    border: 2px solid var(--color-gold);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(193, 177, 149, 0.3);
    transition: all 0.3s ease;
    display: inline-block;
    min-width: 280px;
}

.btn-cta-hero:hover {
    background-color: #ffffff;
    color: var(--color-navy);
    border-color: #ffffff;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(193, 177, 149, 0.4);
}

.btn-cta-hero:active {
    transform: translateY(0) scale(1);
}

.btn-cta-hero:focus {
    outline: 3px solid var(--color-gold);
    outline-offset: 3px;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    padding: 48px 0 20px;
    background-color: #FAFAFA;
    border-top: 3px solid var(--color-gold);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--color-gold);
}

[dir="rtl"] .footer-content {
    border-bottom-width: 2px;
}

.footer-section {
    text-align: center;
}

[dir="rtl"] .footer-section {
    text-align: right !important;
}

.footer-brand {
    text-align: center;
}

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

.footer-links-section {
    text-align: center;
}

[dir="rtl"] .footer-links-section {
    text-align: right !important;
}

.footer-contact {
    text-align: center;
}

[dir="rtl"] .footer-contact {
    text-align: right !important;
}

.footer-logo {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

[dir="rtl"] .footer-logo {
    justify-content: flex-end;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.footer-description {
    font-size: 16px;
    line-height: 1.8;
    color: #555555;
    max-width: 320px;
    margin: 0 auto;
    text-align: center;
}

[dir="rtl"] .footer-description {
    line-height: 2;
    max-width: 280px;
    margin: 0 !important;
    text-align: right !important;
}

[dir="rtl"] .footer-logo-img {
    height: 60px;
}

.footer-heading {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--color-navy);
    text-align: center;
}

[dir="rtl"] .footer-heading {
    text-align: right !important;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links a {
    font-size: 16px;
    color: #555555;
    transition: all 0.2s ease;
    padding: 8px 12px;
    position: relative;
    display: flex;
    align-items: center;
    min-height: 44px;
    text-decoration: none;
    border-radius: 4px;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--color-gold);
    transition: width 0.2s ease;
}

.footer-links a:hover {
    color: var(--color-navy);
    background-color: rgba(39, 52, 75, 0.05);
}

.footer-links a:hover::after {
    width: calc(100% - 24px);
}

[dir="rtl"] .footer-links a:hover {
    color: var(--color-gold);
}

/* RTL Footer Links - Override centering */
[dir="rtl"] .footer-links {
    align-items: flex-end;
}

[dir="rtl"] .footer-links li {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

[dir="rtl"] .footer-links a {
    justify-content: flex-end;
    text-align: right;
    width: auto;
}

.footer-links a:focus {
    outline: 2px solid var(--color-gold);
    outline-offset: 2px;
}

.btn-footer {
    margin-top: 24px;
    width: auto;
    max-width: 200px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 15px;
    transition: all 0.2s ease;
}

.btn-footer-icon {
    flex-shrink: 0;
    margin-inline-end: 8px;
}

.btn-footer:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(39, 52, 75, 0.2);
}

.btn-footer:active {
    transform: translateY(0);
}

.btn-footer:focus {
    outline: 3px solid var(--color-gold);
    outline-offset: 3px;
}

.footer-legal {
    text-align: center;
    padding: 20px 0;
    margin-bottom: 12px;
}

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
    font-size: 16px;
}

.footer-legal-links a {
    color: #666666;
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 6px 10px;
    min-height: 44px;
    display: flex;
    align-items: center;
    border-radius: 4px;
}

.footer-legal-links a:hover {
    color: var(--color-navy);
    background-color: rgba(39, 52, 75, 0.05);
    text-decoration: underline;
}

[dir="rtl"] .footer-legal-links {
    font-size: 17px;
    gap: 4px;
}

[dir="rtl"] .footer-legal-links a {
    color: #555555;
    padding: 6px 8px;
}

[dir="rtl"] .footer-legal-links a:hover {
    color: var(--color-gold);
}

.footer-legal-links a:focus {
    outline: 2px solid var(--color-gold);
    outline-offset: 2px;
}

.footer-separator {
    color: #CCCCCC;
    padding: 0 4px;
    font-weight: 300;
}

.footer-badge {
    color: #666666;
    font-weight: 500;
    padding: 6px 12px;
}

.footer-bottom {
    text-align: center;
    padding-top: 12px;
}

.footer-bottom p {
    font-size: 15px;
    color: #666666;
    margin: 0;
}

/* ============================================
   Responsive Design - Tablet
   ============================================ */

@media (min-width: 768px) {
    .container {
        max-width: 720px;
        padding: 0 24px;
    }

    h1 {
        font-size: 44px;
    }

    h2 {
        font-size: 36px;
    }

    .section-heading {
        font-size: 36px;
    }

    .nav-menu {
        display: flex;
        gap: 4px;
    }

    .nav-lang-item {
        display: none;
    }

    .nav-whatsapp-item {
        display: flex;
        align-items: center;
    }

    .menu-toggle {
        display: none;
    }

    .nav-actions-desktop {
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .nav-brand {
        margin-right: 40px;
    }

    .logo-img {
        height: 58px;
    }

    .hero {
        padding: 80px 0 100px;
    }

    .hero-headline {
        font-size: 48px;
    }

    .hero-content {
        flex-direction: row;
        align-items: flex-start;
        gap: 48px;
    }

    .hero-text {
        flex: 0 0 60%;
    }

    .hero-image {
        flex: 0 0 40%;
    }

    .hero-subheadline {
        max-width: 100%;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

    .benefit-card {
        padding: 28px;
    }

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

    .services {
        padding: 56px 0 80px;
    }

    .section-intro {
        text-align: center;
    }

    .how-it-works {
        padding: 100px 0;
    }

    .steps-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

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

    .proof-visuals {
        order: 1;
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        order: 2;
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-hero {
        grid-column: 1 / -1;
    }

    .comparison-header,
    .comparison-row {
        grid-template-columns: 1.5fr 1fr 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
        align-items: start;
    }

    .footer-brand {
        text-align: left;
    }

    .footer-logo {
        justify-content: flex-start;
    }

    .footer-description {
        margin: 0;
        text-align: left;
        max-width: 100%;
    }

    .footer-links-section {
        text-align: left;
    }

    .footer-contact {
        text-align: left;
    }

    .footer-heading {
        text-align: left;
    }

    .footer-links {
        align-items: flex-start;
    }

    .btn-footer {
        margin-left: 0;
    }

    /* RTL Footer Grid Layout */
    [dir="rtl"] .footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
        direction: rtl;
    }

    /* Footer Brand - Logo aligned with description */
    [dir="rtl"] .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center !important;
    }

    [dir="rtl"] .footer-logo {
        justify-content: center;
        width: 100%;
        display: flex;
    }

    [dir="rtl"] .footer-description {
        text-align: center !important;
        max-width: 100%;
        width: 100%;
        margin: 0 auto !important;
    }

    /* Footer Links Section - Heading aligned with links */
    [dir="rtl"] .footer-links-section {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: right !important;
    }

    [dir="rtl"] .footer-links-section .footer-heading {
        text-align: right !important;
        width: 100%;
    }

    [dir="rtl"] .footer-links-section .footer-links {
        align-items: flex-start;
        width: 100%;
    }

    [dir="rtl"] .footer-links-section .footer-links li {
        width: 100%;
        display: flex;
        justify-content: flex-start;
    }

    [dir="rtl"] .footer-links-section .footer-links a {
        justify-content: flex-start;
        text-align: right !important;
        padding: 8px 0 8px 12px;
    }

    /* Footer Contact - Button aligned to right */
    [dir="rtl"] .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: right !important;
    }

    [dir="rtl"] .footer-contact .footer-heading {
        text-align: right !important;
        width: 100%;
    }

    [dir="rtl"] .footer-contact .footer-links {
        align-items: flex-start;
        width: 100%;
    }

    [dir="rtl"] .footer-contact .footer-links li {
        width: 100%;
        display: flex;
        justify-content: flex-start;
    }

    [dir="rtl"] .footer-contact .footer-links a {
        justify-content: flex-start;
        text-align: right !important;
        padding: 8px 0 8px 12px;
    }

    [dir="rtl"] .footer-contact .btn-footer {
        align-self: flex-start;
        margin: 24px 0 0 0;
    }
}

/* ============================================
   Responsive Design - Desktop
   ============================================ */

@media (min-width: 1024px) {
    .container {
        max-width: 1140px;
        padding: 0 32px;
    }

    h1 {
        font-size: 52px;
    }

    h2 {
        font-size: 36px;
    }

    .hero {
        padding: 100px 0 120px;
    }

    .hero-headline {
        font-size: 56px;
    }

    .nav-menu {
        gap: 40px;
    }

    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }

    .benefit-card {
        padding: 28px 24px;
    }

    .benefits {
        padding: 120px 0;
    }

    .section-heading {
        font-size: 40px;
        margin-bottom: 16px;
    }

    .section-subtitle {
        font-size: 20px;
        margin-bottom: 64px;
    }

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

    .service-card {
        min-height: 160px;
    }

    .proof-content {
        grid-template-columns: 1fr 1.2fr;
        gap: 48px;
    }

    .proof-visuals {
        order: 1;
    }

    .testimonials-grid {
        order: 2;
        grid-template-columns: 1fr;
    }

    .testimonial-hero {
        grid-column: 1;
    }

    .steps-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }

    .step {
        flex-direction: column;
        text-align: left;
        align-items: flex-start;
        padding: 20px;
    }

    .step-number {
        margin-bottom: 16px;
    }

    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 48px;
    }

    .footer-description {
        max-width: 360px;
    }

    [dir="rtl"] .footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
        direction: rtl;
    }

    [dir="rtl"] .footer-brand {
        grid-column: 1;
        align-items: center;
        text-align: center !important;
    }

    [dir="rtl"] .footer-links-section {
        grid-column: 2;
        text-align: right !important;
    }

    [dir="rtl"] .footer-contact {
        grid-column: 3;
        text-align: right !important;
    }

    [dir="rtl"] .footer-logo {
        justify-content: center;
    }

    [dir="rtl"] .footer-description {
        text-align: center !important;
        max-width: 300px;
        margin: 0 auto !important;
    }

    [dir="rtl"] .footer-heading {
        text-align: right !important;
    }

    [dir="rtl"] .footer-links {
        align-items: flex-end;
        width: 100%;
    }

    [dir="rtl"] .footer-links a {
        text-align: right !important;
        justify-content: flex-end;
        width: 100%;
    }

    [dir="rtl"] .btn-footer {
        margin-inline-start: 0;
        margin-inline-end: auto;
        align-self: flex-end;
    }

    .final-cta {
        padding: 80px 0;
    }

    .final-cta-headline {
        font-size: 42px;
    }

    .btn-cta-hero {
        min-width: 320px;
        padding: 22px 56px;
        font-size: 22px;
    }

    .btn-primary {
        box-shadow: 0 2px 4px rgba(39, 52, 75, 0.15);
    }

    .btn-primary:hover {
        box-shadow: 0 4px 8px rgba(39, 52, 75, 0.2);
    }
}

/* ============================================
   Accessibility Enhancements
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}

/* Skip to main content link for screen readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: #ffffff;
    padding: 12px 24px;
    text-decoration: none;
    z-index: 100;
    font-weight: 600;
    border-radius: 0 0 4px 0;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}

/* ============================================
   Floating WhatsApp Button (Mobile Only)
   ============================================ */

.whatsapp-float {
    display: none;
}

@media (max-width: 767px) {
    .whatsapp-float {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        position: fixed;
        bottom: 20px;
        right: 20px;
        background-color: #ffffff;
        border: 2px solid #E5E5E5;
        border-radius: 50px;
        padding: 12px 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        z-index: 999;
        text-decoration: none;
        color: var(--color-navy);
        font-weight: 600;
        font-size: 15px;
        transition: all 0.3s ease;
        min-height: 48px;
    }

    .whatsapp-float svg {
        width: 20px;
        height: 20px;
        fill: #25D366;
        flex-shrink: 0;
    }

    .whatsapp-float span {
        color: var(--color-navy);
        font-weight: 600;
    }

    .whatsapp-float:hover {
        background-color: #25D366;
        border-color: #25D366;
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
    }

    .whatsapp-float:hover svg {
        fill: #ffffff;
    }

    .whatsapp-float:hover span {
        color: #ffffff;
    }

    .whatsapp-float:active {
        transform: translateY(0);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

    .whatsapp-float:focus {
        outline: 3px solid #25D366;
        outline-offset: 3px;
    }
}

/* ============================================
   Floating Language Switcher (Mobile Only)
   ============================================ */

.lang-float {
    display: none;
}

/* ============================================
   Language Switcher
   ============================================ */

.lang-switcher {
    margin-left: 16px;
    flex-shrink: 0;
}

.lang-switcher-desktop {
    display: none;
}

.nav-lang-item {
    display: none;
}

@media (max-width: 767px) {
    .lang-switcher-desktop {
        display: none !important;
    }

    .nav-lang-item {
        display: flex;
        align-items: center;
        width: 100%;
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid var(--color-border);
    }
}

.lang-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 44px;
    background-color: var(--color-bg);
    border: 1.5px solid #E0E0E0;
    border-radius: 6px;
    color: var(--color-text);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.15s ease;
    min-height: 44px;
}

.lang-btn:hover {
    background-color: var(--color-navy);
    border-color: var(--color-navy);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(39, 52, 75, 0.15);
}

.lang-btn:active {
    transform: translateY(0);
}

.lang-code {
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* ============================================
   RTL Support
   ============================================ */

[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

/* Global RTL Text Alignment */
[dir="rtl"] body,
[dir="rtl"] p,
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6,
[dir="rtl"] li,
[dir="rtl"] span,
[dir="rtl"] div,
[dir="rtl"] .section-heading,
[dir="rtl"] .section-subtitle,
[dir="rtl"] .section-intro,
[dir="rtl"] .hero-headline,
[dir="rtl"] .hero-subheadline,
[dir="rtl"] .benefit-title,
[dir="rtl"] .benefit-text,
[dir="rtl"] .step-title,
[dir="rtl"] .step-description,
[dir="rtl"] .service-title,
[dir="rtl"] .service-description,
[dir="rtl"] .faq-question,
[dir="rtl"] .faq-answer,
[dir="rtl"] .comparison-closing,
[dir="rtl"] .final-cta-headline,
[dir="rtl"] .final-cta-text {
    text-align: center;
}

/* Arabic-Friendly Typography */
[dir="rtl"] body {
    line-height: 1.8;
    word-spacing: 0.1em;
}

[dir="rtl"] p {
    line-height: 1.9;
    word-spacing: 0.1em;
}

[dir="rtl"] .hero-subheadline,
[dir="rtl"] .section-subtitle,
[dir="rtl"] .section-intro,
[dir="rtl"] .benefit-text,
[dir="rtl"] .step-description,
[dir="rtl"] .service-description,
[dir="rtl"] .faq-answer {
    line-height: 2;
    word-spacing: 0.15em;
}

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

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

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

[dir="rtl"] .nav-link::after {
    left: auto;
    right: 16px;
}

[dir="rtl"] .lang-switcher {
    margin-left: 0;
    margin-right: 16px;
}

[dir="rtl"] .nav-brand {
    margin-right: 0;
    margin-left: 32px;
}

@media (min-width: 768px) {
    [dir="rtl"] .nav-brand {
        margin-left: 40px;
    }
}

@media (max-width: 767px) {
    [dir="rtl"] .nav-brand {
        margin-left: 0;
    }
}

[dir="rtl"] .hero-content {
    flex-direction: column;
}

@media (min-width: 768px) {
    [dir="rtl"] .hero-content {
        flex-direction: row-reverse;
    }
}

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

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

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

[dir="rtl"] .trust-badges {
    justify-content: flex-end;
}

[dir="rtl"] .benefits-grid,
[dir="rtl"] .services-grid,
[dir="rtl"] .testimonial-grid {
    direction: rtl;
}

[dir="rtl"] .benefit-card,
[dir="rtl"] .service-card {
    text-align: right;
}

[dir="rtl"] .benefit-icon,
[dir="rtl"] .service-icon {
    margin-right: 0;
    margin-left: 20px;
}

[dir="rtl"] .service-category-title {
    text-align: right;
}

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

[dir="rtl"] .step-number {
    margin-right: 0;
    margin-left: 20px;
}

[dir="rtl"] .steps-grid {
    direction: rtl;
}

[dir="rtl"] .step-content {
    text-align: right;
}

[dir="rtl"] .comparison-table {
    direction: rtl;
}

[dir="rtl"] .comparison-header,
[dir="rtl"] .comparison-row {
    direction: rtl;
}

[dir="rtl"] .comparison-cell {
    text-align: right;
}

[dir="rtl"] .comparison-cell svg {
    margin-right: 0;
    margin-left: 8px;
}

[dir="rtl"] .comparison-closing {
    text-align: center;
}

[dir="rtl"] .footer-links {
    align-items: flex-end;
    width: 100%;
}

[dir="rtl"] .footer-links a {
    text-align: right !important;
    padding-inline-start: 12px;
    padding-inline-end: 12px;
    justify-content: flex-end;
    width: 100%;
}

[dir="rtl"] .footer-links a::after {
    left: auto;
    right: 12px;
    transform: none;
    width: 0;
}

[dir="rtl"] .footer-links a:hover::after {
    width: calc(100% - 24px);
}

[dir="rtl"] .footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

[dir="rtl"] .footer-contact .footer-links {
    align-items: flex-end;
    width: 100%;
}

[dir="rtl"] .footer-contact .footer-links li {
    width: 100%;
    text-align: right !important;
}

[dir="rtl"] .btn-footer {
    width: auto;
    max-width: 200px;
    margin-top: 24px;
    margin-inline-start: 0;
    margin-inline-end: auto;
    align-self: flex-end;
}

[dir="rtl"] .btn-footer-icon {
    margin-inline-end: 0;
    margin-inline-start: 8px;
    order: -1;
}

[dir="rtl"] .footer-legal {
    text-align: right;
}

[dir="rtl"] .footer-legal-links {
    justify-content: flex-end;
    direction: rtl;
    flex-wrap: wrap;
}

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

[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 20px;
}


[dir="rtl"] .faq-bullets li {
    padding-right: 24px;
    padding-left: 0;
}

[dir="rtl"] .faq-bullets li::before {
    right: 0;
    left: auto;
}

[dir="rtl"] .faq-item {
    text-align: right;
}

[dir="rtl"] .faq-category-title {
    text-align: right;
}

[dir="rtl"] .faq-question {
    text-align: right;
    padding-right: 48px;
    padding-left: 20px;
}

[dir="rtl"] .faq-answer {
    text-align: right;
    padding-right: 48px;
    padding-left: 20px;
}

[dir="rtl"] .faq-icon-wrapper {
    right: 20px;
    left: auto;
}

[dir="rtl"] .testimonial-author::before {
    right: 0;
    left: auto;
}

/* Buttons RTL Alignment */
[dir="rtl"] .btn {
    text-align: center;
    direction: rtl;
}

[dir="rtl"] .btn svg {
    margin-right: 0;
    margin-left: 8px;
}

[dir="rtl"] .btn-footer-icon {
    margin-inline-end: 0;
    margin-inline-start: 8px;
}

/* Section Headings RTL */
[dir="rtl"] .section-heading {
    text-align: center;
}

[dir="rtl"] .section-heading-accent {
    text-align: center;
}

[dir="rtl"] .section-heading-accent::after {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
}

/* Final CTA RTL - Keep centered */
[dir="rtl"] .final-cta {
    text-align: center;
}

[dir="rtl"] .final-cta-content {
    text-align: center;
}

[dir="rtl"] .final-cta-headline {
    text-align: center;
}

[dir="rtl"] .final-cta-text {
    text-align: center;
}

/* Badges and Tags RTL */
[dir="rtl"] .badge {
    direction: rtl;
}

[dir="rtl"] .badge svg {
    margin-right: 0;
    margin-left: 6px;
}

/* Container and Padding Adjustments */
[dir="rtl"] .container {
    direction: rtl;
}

[dir="rtl"] section {
    direction: rtl;
}

/* Icon Positioning RTL */
[dir="rtl"] .service-card svg,
[dir="rtl"] .benefit-card svg {
    margin-right: 0;
    margin-left: 12px;
}

/* Comparison Table Icons */
[dir="rtl"] .comparison-wakylak svg,
[dir="rtl"] .comparison-traditional svg {
    margin-right: 0;
    margin-left: 8px;
}

/* Steps CTA RTL */
[dir="rtl"] .steps-cta {
    text-align: center;
}

/* Services CTA RTL */
[dir="rtl"] .services-cta {
    text-align: center;
}

/* Comparison CTA RTL */
[dir="rtl"] .comparison-cta {
    text-align: center;
}

/* FAQ CTA RTL */
[dir="rtl"] .faq-cta {
    text-align: center;
}

/* Legal Links RTL - Rules already defined above */

/* Skip Link RTL */
[dir="rtl"] .skip-link {
    right: 0;
    left: auto;
}

/* Menu Toggle RTL */
[dir="rtl"] .menu-toggle {
    order: -1;
}

/* Hero Image RTL */
[dir="rtl"] .hero-image {
    direction: rtl;
}

/* Trust Badges RTL */
[dir="rtl"] .trust-badges {
    flex-direction: row-reverse;
}

@media (max-width: 767px) {
    [dir="rtl"] .menu-toggle {
        display: none !important;
    }

    [dir="rtl"] .nav-menu {
        display: none !important;
    }

    [dir="rtl"] .nav-brand {
        margin-left: 0;
        margin-right: 0;
    }

    [dir="rtl"] .nav-actions-mobile {
        display: flex;
        align-items: center;
        margin-left: 0;
        margin-right: 12px;
        gap: 8px;
    }

    [dir="rtl"] .lang-switcher-mobile {
        margin: 0;
    }

    [dir="rtl"] .btn-header-mobile {
        direction: rtl;
    }

    [dir="rtl"] .btn-header-mobile svg {
        margin-inline-end: 0;
        margin-inline-start: 6px;
    }

    [dir="rtl"] .hero-text,
    [dir="rtl"] .hero-headline,
    [dir="rtl"] .hero-subheadline {
        text-align: right;
    }

    [dir="rtl"] .section-heading,
    [dir="rtl"] .section-subtitle {
        text-align: center;
    }

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