﻿:root {
    --moif-blue-dark: #0D1B3E;
    --moif-blue: #1A2B4A;
    --moif-gold: #C9A227;
    --moif-gold-bright: #F4D03F;
    --moif-white: #FFFFFF;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.page {
    background: var(--moif-blue-dark);
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: Arial, sans-serif;
    padding: 2rem;
}

.inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
    max-width: 520px;
    width: 100%;
}

.logo-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.rule {
    width: 1px;
    height: 36px;
    background: rgba(201, 162, 39, 0.4);
}

.label {
    font-size: 21px;
    letter-spacing: 5px;
    text-transform: uppercase;
    font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
    color: var(--moif-gold);
    font-weight: 800;
}

.tagline {
    font-size: 30px;
    font-weight: 500;
    color: var(--moif-white);
    line-height: 1.5;
    font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
    letter-spacing: 0.5px;
}

    .tagline.ar {
        font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
        font-size: 28px;
        direction: rtl;
        letter-spacing: 0;
    }

.body {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.8;
    max-width: 380px;
}

    .body.ar {
        direction: rtl;
        font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
    }

.divider {
    width: 40px;
    height: 1px;
    background: rgba(201, 162, 39, 0.35);
}

.ministry-name {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.5px;
    line-height: 1.7;
}

    .ministry-name.ar {
        direction: rtl;
        font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
        font-size: 13px;
        letter-spacing: 0;
    }

.footer-text {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.18);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.lang-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    border: 1px solid rgba(201, 162, 39, 0.35);
    z-index: 10;
}

.lang-btn {
    display: inline-block;
    background: transparent;
    border: none;
    padding: 6px 18px;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    font-family: Arial, sans-serif;
    text-decoration: none;
    transition: all 0.2s;
}

    .lang-btn.active {
        background: var(--moif-gold);
        color: var(--moif-blue-dark);
        font-weight: 700;
    }

    .lang-btn:not(.active):hover {
        color: var(--moif-gold);
    }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 480px) {
    .logo-img {
        width: 90px;
        height: 90px;
    }

    .tagline {
        font-size: 22px;
    }

        .tagline.ar {
            font-size: 20px;
        }

    .inner {
        gap: 1.25rem;
    }

    .lang-toggle {
        top: 12px;
        right: 12px;
    }
}
