/* =========================================
   RihlaGo
   ========================================= */

:root {
    --rihla-navy: #0b2c67;
    --rihla-blue: #347cf3;
    --rihla-blue-dark: #1f5fc9;
    --rihla-light-blue: #eef5ff;
    --rihla-text: #12213d;
    --rihla-muted: #6b7890;
    --rihla-border: #dce8f8;
    --rihla-white: #ffffff;
}


/* =========================================
   General
   ========================================= */

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
}

    body.rihlago-body {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
        color: var(--rihla-text);
        background: #ffffff;
        overflow-x: hidden;
    }

.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


/* =========================================
   Header
   ========================================= */

.site-header {
    position: relative;
    z-index: 20;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(11, 44, 103, 0.07);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* =========================================
   Logo
   ========================================= */

.brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo {
    display: block;
    width: 155px;
    height: auto;
    object-fit: contain;
}


/* =========================================
   Header Actions
   ========================================= */

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}


/* =========================================
   Header Status
   ========================================= */

.header-status {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--rihla-navy);
    background: var(--rihla-light-blue);
    border: 1px solid #dceaff;
    border-radius: 50px;
}

.status-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    background: var(--rihla-blue);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(52, 124, 243, 0.12);
}


/* =========================================
   Language Switch
   ========================================= */

.language-switch {
    display: flex;
    align-items: center;
    padding: 5px 7px;
    background: #f5f8fc;
    border: 1px solid #e2eaf5;
    border-radius: 50px;
}

    .language-switch > span {
        width: 1px;
        height: 16px;
        margin: 0 3px;
        background: #d9e2ef;
    }

.language-btn {
    border: 0;
    outline: 0;
    padding: 5px 9px;
    background: transparent;
    border-radius: 30px;
    color: #8290a5;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
}

    .language-btn:hover {
        color: var(--rihla-blue);
    }

    .language-btn.active {
        color: #ffffff;
        background: var(--rihla-blue);
    }


/* =========================================
   Main
   ========================================= */

.site-main {
    flex: 1;
    display: flex;
}


/* =========================================
   Coming Soon
   ========================================= */

.coming-soon {
    position: relative;
    flex: 1;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 75px 0 90px;
    overflow: hidden;
    background: radial-gradient( circle at 80% 25%, rgba(52, 124, 243, 0.10), transparent 30% ), radial-gradient( circle at 10% 90%, rgba(11, 44, 103, 0.06), transparent 32% ), linear-gradient( 180deg, #ffffff 0%, #f8fbff 100% );
}


/* =========================================
   Background Shapes
   ========================================= */

.background-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.shape-one {
    width: 500px;
    height: 500px;
    right: -250px;
    top: -150px;
    background: rgba(52, 124, 243, 0.055);
}

.shape-two {
    width: 350px;
    height: 350px;
    left: -200px;
    bottom: -180px;
    background: rgba(11, 44, 103, 0.04);
}


/* =========================================
   Main Content
   ========================================= */

.coming-soon-content {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}


/* =========================================
   Status Badge
   ========================================= */

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 25px;
    padding: 8px 15px;
    font-size: 13px;
    font-weight: 600;
    color: var(--rihla-blue-dark);
    background: rgba(52, 124, 243, 0.08);
    border: 1px solid rgba(52, 124, 243, 0.16);
    border-radius: 50px;
}

.status-badge-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    background: var(--rihla-blue);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(52, 124, 243, 0.10);
}


/* =========================================
   Hero Title - English
   ========================================= */

.hero-title {
    margin: 0;
    font-size: clamp(48px, 6vw, 78px);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -3px;
    color: var(--rihla-navy);
}


/*
   IMPORTANT:
   Do NOT use .hero-title span here because
   arabic-content itself is also a span.
*/

.english-content {
    color: var(--rihla-navy);
}

    .english-content > span {
        color: var(--rihla-blue);
    }


/* =========================================
   Language Content
   ========================================= */

.arabic-content {
    display: none;
}


/* =========================================
   Description
   ========================================= */

.hero-description {
    max-width: 610px;
    margin: 26px auto 0;
    font-size: 18px;
    line-height: 1.75;
    color: var(--rihla-muted);
}


/* =========================================
   Construction Card
   ========================================= */

.construction-message {
    max-width: 520px;
    margin: 40px auto 0;
    padding: 19px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    background: rgba(255, 255, 255, 0.90);
    border: 1px solid var(--rihla-border);
    border-radius: 16px;
    box-shadow: 0 15px 45px rgba(11, 44, 103, 0.07);
    backdrop-filter: blur(10px);
}

.construction-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rihla-blue);
    background: var(--rihla-light-blue);
    border-radius: 13px;
}

.construction-message strong {
    display: block;
    margin-bottom: 3px;
    font-size: 15px;
    font-weight: 700;
    color: var(--rihla-navy);
}

.construction-message span {
    display: block;
    font-size: 13px;
    line-height: 1.5;
    color: var(--rihla-muted);
}


/* =========================================
   Coming Soon Line
   ========================================= */

.coming-soon-footer {
    max-width: 420px;
    margin: 42px auto 0;
    display: flex;
    align-items: center;
    gap: 17px;
}

    .coming-soon-footer .line {
        height: 1px;
        flex: 1;
        background: linear-gradient( 90deg, transparent, #cadcf5 );
    }

        .coming-soon-footer .line:last-child {
            background: linear-gradient( 90deg, #cadcf5, transparent );
        }

    .coming-soon-footer span {
        white-space: nowrap;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 2.5px;
        color: #8ca1bf;
    }


/* =========================================
   Footer
   ========================================= */

.site-footer {
    position: relative;
    z-index: 10;
    padding: 22px 0;
    background: #ffffff;
    border-top: 1px solid rgba(11, 44, 103, 0.07);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 13px;
    color: #8490a3;
}

.footer-message {
    color: #9aa5b5;
}


/* =========================================================
   ARABIC / RTL
   ========================================================= */

html[dir="rtl"] body {
    font-family: "Cairo", "Segoe UI", Tahoma, Arial, sans-serif;
}


/* Header */

html[dir="rtl"] .header-status,
html[dir="rtl"] .language-btn {
    font-family: "Cairo", sans-serif;
}


/* Arabic badge */

html[dir="rtl"] .status-badge {
    font-family: "Cairo", sans-serif;
    font-size: 13px;
    font-weight: 600;
}


/* =========================================
   Arabic Hero
   ========================================= */

html[dir="rtl"] .hero-title {
    font-family: "Cairo", sans-serif;
    font-size: clamp(46px, 5.2vw, 70px);
    line-height: 1.4;
    font-weight: 800;
    letter-spacing: 0;
    color: var(--rihla-navy);
}


/* First Arabic line */

html[dir="rtl"] .arabic-content {
    color: var(--rihla-navy);
}


    /* Second Arabic line */

    html[dir="rtl"] .arabic-content > span {
        color: var(--rihla-blue);
        font-weight: 800;
    }


/* =========================================
   Arabic Description
   ========================================= */

html[dir="rtl"] .hero-description {
    max-width: 700px;
    margin-top: 20px;
    font-family: "Cairo", sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 2;
    color: var(--rihla-muted);
}


/* =========================================
   Arabic Construction Card
   ========================================= */

html[dir="rtl"] .construction-message {
    text-align: right;
}

    html[dir="rtl"] .construction-message strong {
        font-family: "Cairo", sans-serif;
        font-size: 15px;
        font-weight: 700;
        line-height: 1.7;
    }

    html[dir="rtl"] .construction-message span {
        font-family: "Cairo", sans-serif;
        font-size: 13px;
        font-weight: 400;
        line-height: 1.8;
    }


/* Arabic footer line */

html[dir="rtl"] .coming-soon-footer span {
    font-family: "Cairo", sans-serif;
    font-weight: 600;
    letter-spacing: 0;
}


/* Arabic page footer */

html[dir="rtl"] .footer-content {
    font-family: "Cairo", sans-serif;
}


/* =========================================
   Tablet
   ========================================= */

@media (max-width: 768px) {

    .site-header {
        padding: 17px 0;
    }

    .brand-logo {
        width: 125px;
    }

    .header-status {
        padding: 7px 11px;
        font-size: 11px;
    }

    .coming-soon {
        padding: 60px 0 75px;
    }

    .hero-title {
        font-size: 48px;
        letter-spacing: -2px;
    }

    .hero-description {
        max-width: 500px;
        padding: 0 15px;
        font-size: 16px;
    }

    .construction-message {
        max-width: 92%;
    }

    .coming-soon-footer {
        max-width: 85%;
    }


    /* Arabic tablet */

    html[dir="rtl"] .hero-title {
        font-size: 46px;
        line-height: 1.45;
    }

    html[dir="rtl"] .hero-description {
        max-width: 580px;
        font-size: 16px;
        line-height: 1.9;
    }
}


/* =========================================
   Mobile
   ========================================= */

@media (max-width: 576px) {

    .header-actions {
        gap: 7px;
    }

    .header-status {
        display: none;
    }

    .language-switch {
        padding: 4px 5px;
    }

    .language-btn {
        padding: 4px 7px;
        font-size: 11px;
    }

    .coming-soon {
        padding-top: 45px;
        padding-bottom: 55px;
    }

    .status-badge {
        margin-bottom: 20px;
        font-size: 11px;
    }

    .construction-message {
        padding: 16px;
    }

    .footer-content {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
}


/* =========================================
   Small Mobile
   ========================================= */

@media (max-width: 480px) {

    .brand-logo {
        width: 110px;
    }

    .hero-title {
        font-size: 42px;
        letter-spacing: -1.5px;
    }

    .hero-description {
        font-size: 15px;
    }

    .construction-message {
        gap: 12px;
    }

    .construction-icon {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }


    /* Arabic mobile */

    html[dir="rtl"] .hero-title {
        font-size: 38px;
        line-height: 1.5;
    }

    html[dir="rtl"] .hero-description {
        font-size: 15px;
        line-height: 1.9;
    }
}


/* =========================================
   Contact
   ========================================= */

.contact-section {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.contact-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--rihla-muted);
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    color: var(--rihla-navy);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--rihla-border);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(11, 44, 103, 0.05);
    transition: all 0.2s ease;
}

    .contact-email svg {
        color: var(--rihla-blue);
        flex-shrink: 0;
    }

    .contact-email:hover {
        color: var(--rihla-blue);
        border-color: rgba(52, 124, 243, 0.35);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(11, 44, 103, 0.09);
    }


/* Arabic */

html[dir="rtl"] .contact-section {
    font-family: "Cairo", sans-serif;
}

html[dir="rtl"] .contact-email {
    direction: ltr;
}


/* Mobile */

@media (max-width: 576px) {

    .contact-section {
        margin-top: 26px;
        flex-direction: column;
        gap: 8px;
    }

    .contact-email {
        font-size: 12px;
        padding: 8px 13px;
    }
}