:root {
    --blue: #003FE3;
    --blue-deep: #002b9f;
    --gold: #f6a51a;
    --ink: #111827;
    --text: #374151;
    --muted: #6b7280;
    --line: #e5e7eb;
    --paper: #ffffff;
    --soft: #f7f9ff;
    --soft-gold: #fff8ea;
    --shadow: 0 24px 60px rgba(0, 63, 227, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background:
        linear-gradient(180deg, #ffffff 0%, #f8faff 52%, #ffffff 100%);
    font-family: "Inter", "Noto Sans Arabic", Arial, sans-serif;
    line-height: 1.6;
}

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

a {
    color: inherit;
}

.container {
    width: min(1140px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(229, 231, 235, 0.9);
    backdrop-filter: blur(18px);
}

.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand img {
    width: 132px;
    height: auto;
}

.header-tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
}

.document-label {
    display: grid;
    justify-items: end;
    gap: 1px;
    padding-right: 4px;
    color: var(--ink);
    text-align: right;
}

.document-label span,
.logo-box span,
.summary-list span,
.section-kicker,
.eyebrow,
.price-label {
    color: var(--gold);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.document-label strong {
    color: var(--blue);
    font-size: 0.98rem;
    font-weight: 800;
}

.language-toggle,
.print-button {
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(0, 63, 227, 0.08);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.print-button {
    border-color: var(--blue);
    background: var(--blue);
    color: #fff;
}

.language-toggle:hover,
.print-button:hover {
    transform: translateY(-1px);
    border-color: var(--blue);
    box-shadow: 0 16px 34px rgba(0, 63, 227, 0.16);
}

.print-button:hover {
    background: var(--blue-deep);
}

.language-toggle:focus-visible,
.print-button:focus-visible {
    outline: 3px solid rgba(0, 63, 227, 0.24);
    outline-offset: 3px;
}

.hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(0, 29, 112, 0.98) 0%, rgba(0, 63, 227, 0.96) 58%, rgba(0, 63, 227, 0.86) 100%),
        radial-gradient(circle at 78% 24%, rgba(246, 165, 26, 0.48), transparent 28%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255, 255, 255, 0.065) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.065) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: 0.55;
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 110px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    min-height: 660px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    align-items: center;
    gap: 66px;
    padding: 72px 0 116px;
}

.eyebrow,
.section-kicker,
.price-label {
    display: inline-block;
    margin: 0 0 14px;
}

.hero h1 {
    max-width: 780px;
    margin: 0;
    color: #fff;
    font-size: clamp(3.4rem, 7.2vw, 7.1rem);
    line-height: 0.92;
    letter-spacing: 0;
}

.hero-subtitle {
    max-width: 670px;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.16rem;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
}

.hero-badges span {
    padding: 9px 13px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.94);
    font-size: 0.84rem;
    font-weight: 800;
}

body[data-lang="en"] .lang-ar,
body[data-lang="ar"] .lang-en {
    display: none !important;
}

body[data-lang="ar"] {
    font-family: "Noto Sans Arabic", "Inter", Arial, sans-serif;
}

body[data-lang="ar"] .document-label,
body[data-lang="ar"] .section-heading,
body[data-lang="ar"] .section-heading.align-left,
body[data-lang="ar"] .hero-copy,
body[data-lang="ar"] .intro-grid article,
body[data-lang="ar"] .service-grid article,
body[data-lang="ar"] .objective-grid article,
body[data-lang="ar"] .pillar-grid article,
body[data-lang="ar"] .why-grid,
body[data-lang="ar"] .capability-grid,
body[data-lang="ar"] .closing-inner,
body[data-lang="ar"] .site-footer .container {
    text-align: right;
}

body[data-lang="ar"] .logo-pair {
    direction: ltr;
}

body[data-lang="ar"] .logo-box {
    direction: rtl;
}

body[data-lang="ar"] .why-list li {
    border-left: 0;
    border-right: 4px solid var(--gold);
}

body[data-lang="ar"] .investment-card dt,
body[data-lang="ar"] .investment-card dd {
    text-align: right;
}

.proposal-card {
    position: relative;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--ink);
    box-shadow: var(--shadow);
}

.proposal-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 28px;
    right: 28px;
    height: 4px;
    border-radius: 0 0 8px 8px;
    background: linear-gradient(90deg, var(--blue), var(--gold));
}

.logo-pair {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
    align-items: center;
    gap: 0;
    padding: 10px 0 20px;
    border-bottom: 1px solid var(--line);
}

.logo-box {
    display: flex;
    min-height: 126px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 20px;
    text-align: center;
}

.logo-box span,
.summary-list span {
    color: var(--muted);
}

.logo-box img {
    width: 132px;
    max-height: 78px;
    object-fit: contain;
}

.logo-box:first-child img {
    width: 144px;
}

.logo-box:last-child img {
    width: 94px;
}

.logo-divider {
    width: 1px;
    height: 116px;
    background: var(--line);
}

.summary-list {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.summary-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    border: 1px solid rgba(0, 63, 227, 0.08);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(0, 63, 227, 0.065), rgba(246, 165, 26, 0.1));
}

.summary-list strong {
    color: var(--ink);
    text-align: right;
}

.intro-band {
    padding: 36px 0 12px;
    background: #fff;
}

.intro-grid,
.service-grid,
.objective-grid,
.pillar-grid,
.capability-list,
.why-list {
    display: grid;
    gap: 18px;
}

.intro-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.service-grid,
.pillar-grid {
    grid-template-columns: repeat(4, 1fr);
}

.objective-grid {
    grid-template-columns: repeat(3, 1fr);
}

.intro-grid article,
.service-grid article,
.objective-grid article,
.pillar-grid article,
.investment-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(0, 63, 227, 0.07);
}

.intro-grid article {
    padding: 30px;
}

.service-grid article,
.objective-grid article,
.pillar-grid article {
    min-height: 238px;
    padding: 26px;
}

.pillar-grid article {
    border-top: 4px solid var(--gold);
}

h2,
h3,
p {
    overflow-wrap: anywhere;
}

h2,
h3 {
    color: var(--ink);
    line-height: 1.12;
}

.intro-grid h2,
.section-heading h2,
.why-grid h2,
.closing h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.25rem);
    letter-spacing: 0;
}

.service-grid h3,
.objective-grid h3,
.pillar-grid h3 {
    margin: 18px 0 0;
    font-size: 1.22rem;
}

.intro-grid p,
.section-heading p,
.service-grid p,
.objective-grid p,
.pillar-grid p,
.why-list,
.closing p,
.capability-grid p {
    margin: 14px 0 0;
}

.service-grid article > span,
.objective-grid article > span {
    color: var(--gold);
    font-size: 0.86rem;
    font-weight: 800;
}

.section {
    padding: 92px 0;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 38px;
    text-align: center;
}

.section-heading.align-left {
    margin: 0;
    text-align: left;
}

.strategy-section {
    background: linear-gradient(180deg, #fff, var(--soft));
}

.section.muted {
    background:
        linear-gradient(135deg, rgba(0, 63, 227, 0.055), rgba(246, 165, 26, 0.11)),
        #fff;
}

.dark-section {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, #001f75 0%, var(--blue) 70%, var(--gold) 132%);
    color: rgba(255, 255, 255, 0.84);
}

.dark-section::before,
.why-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
    background-size: 38px 38px;
    pointer-events: none;
}

.capability-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 0.88fr 1.12fr;
    align-items: center;
    gap: 58px;
}

.dark-section h2,
.dark-section h3,
.why-section h2 {
    color: #fff;
}

.capability-list {
    grid-template-columns: 1fr 1fr;
}

.capability-list article {
    min-height: 150px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.capability-list strong {
    display: block;
    color: #fff;
    font-size: 1.06rem;
}

.capability-list span {
    display: block;
    margin-top: 12px;
}

.package-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 58px;
    align-items: center;
}

.investment-card {
    padding: 32px;
    box-shadow: var(--shadow);
}

.investment-card .price {
    margin: 0 0 24px;
    color: var(--blue);
    font-size: 3.1rem;
    line-height: 1;
    font-weight: 800;
}

.investment-card dl {
    display: grid;
    gap: 14px;
    margin: 0;
}

.investment-card dl div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.investment-card dt {
    color: var(--muted);
    font-weight: 700;
}

.investment-card dd {
    margin: 0;
    color: var(--ink);
    font-weight: 800;
    text-align: right;
}

.why-section {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, #001f75 0%, var(--blue) 74%, var(--gold) 135%);
    color: rgba(255, 255, 255, 0.86);
}

.why-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 0.88fr 1.12fr;
    gap: 58px;
    align-items: center;
}

.why-list {
    padding: 0;
    list-style: none;
}

.why-list li {
    padding: 18px 20px;
    border-left: 4px solid var(--gold);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.11);
    color: #fff;
    font-weight: 700;
}

.closing {
    padding: 58px 0;
    background:
        linear-gradient(90deg, rgba(0, 63, 227, 0.1), rgba(246, 165, 26, 0.18)),
        #fff;
}

.closing-inner {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    align-items: center;
    gap: 30px;
}

.closing-inner img {
    max-height: 76px;
    object-fit: contain;
}

.site-footer {
    padding: 24px 0;
    background: var(--blue);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.92rem;
}

.site-footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-footer p {
    margin: 0;
}

.intro-grid article,
.service-grid article,
.objective-grid article,
.pillar-grid article,
.investment-card,
.why-list li,
.closing-inner {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.intro-grid article.is-visible,
.service-grid article.is-visible,
.objective-grid article.is-visible,
.pillar-grid article.is-visible,
.investment-card.is-visible,
.why-list li.is-visible,
.closing-inner.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 980px) {
    .hero-grid,
    .package-layout,
    .why-grid,
    .capability-grid,
    .closing-inner {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        min-height: auto;
        padding-top: 60px;
    }

    .proposal-card {
        max-width: 620px;
    }

    .intro-grid,
    .service-grid,
    .objective-grid,
    .pillar-grid,
    .capability-list {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 700px) {
    .container {
        width: min(100% - 28px, 1140px);
    }

    .header-inner {
        min-height: auto;
        padding: 14px 0;
        align-items: stretch;
        flex-direction: column;
    }

    .header-tools {
        width: 100%;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    .document-label {
        display: none;
    }

    .language-toggle,
    .print-button {
        flex: 1;
        padding: 0 12px;
    }

    .hero h1 {
        font-size: 3.25rem;
    }

    .hero-grid {
        gap: 34px;
        padding-bottom: 78px;
    }

    .logo-pair,
    .intro-grid,
    .service-grid,
    .objective-grid,
    .pillar-grid,
    .capability-list {
        grid-template-columns: 1fr;
    }

    .logo-box {
        min-height: 114px;
        padding: 12px 10px;
    }

    .logo-divider {
        width: 100%;
        height: 1px;
    }

    .summary-list div,
    .investment-card dl div,
    .site-footer .container {
        align-items: flex-start;
        flex-direction: column;
    }

    .summary-list strong,
    .investment-card dd {
        text-align: left;
    }

    .section {
        padding: 66px 0;
    }

    .investment-card .price {
        font-size: 2.45rem;
    }
}

@media print {
    @page {
        size: A4;
        margin: 14mm;
    }

    .site-header,
    .closing,
    .site-footer,
    .language-toggle,
    .print-button {
        display: none !important;
    }

    body,
    .hero,
    .section,
    .dark-section,
    .why-section,
    .section.muted {
        background: #fff !important;
        color: #111 !important;
    }

    .hero {
        border-bottom: 3px solid var(--blue);
    }

    .hero-grid,
    .package-layout,
    .why-grid,
    .service-grid,
    .objective-grid,
    .pillar-grid,
    .capability-grid,
    .intro-grid {
        display: block;
        min-height: 0;
        padding: 0;
    }

    .section,
    .intro-band {
        padding: 18px 0;
    }

    .hero h1,
    h2,
    h3,
    .why-grid h2,
    .dark-section h2 {
        color: #111 !important;
    }

    .hero-subtitle,
    .dark-section,
    .why-section {
        color: #111 !important;
    }

    .proposal-card,
    .intro-grid article,
    .service-grid article,
    .objective-grid article,
    .pillar-grid article,
    .investment-card,
    .why-list li,
    .capability-list article {
        break-inside: avoid;
        margin-bottom: 12px;
        box-shadow: none !important;
        color: #111 !important;
    }
}
