.page-header {
    position: relative;
    height: 320px;
    width: 100%;
    background: url("../../img/Sign Mockup.png") center center / cover no-repeat;
    background-image: image-set(url("../../img/Sign Mockup.webp") type("image/webp"), url("../../img/Sign Mockup.png") type("image/png"));
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: var(--header-offset);
}

.page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
    background: transparent !important;
}

.page-header.page-header-president {
    background: url("../../img/Sign Mockup.png") center center / cover no-repeat;
    background-image: image-set(url("../../img/Sign Mockup.webp") type("image/webp"), url("../../img/Sign Mockup.png") type("image/png"));
    filter: none !important;
}

.page-header h1 {
    position: relative;
    z-index: 2;
    margin: 0;
    color: #0A1A44;
    font-weight: 900;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    font-size: clamp(2rem, 6vw, 3.2rem);
    line-height: 1.1;
    max-width: 100%;
    white-space: normal;
}

.page-header.page-header-president {
    padding-top: 80px;
    padding-bottom: 80px;
}

.page-header.page-header-president h1 {
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    font-size: clamp(2.4rem, 6vw, 3.8rem);
}

.why-section {
    background:
        radial-gradient(circle at 100% 0%, rgba(53, 94, 252, .08), transparent 42%),
        linear-gradient(180deg, #f4f7ff 0%, #eef3ff 100%);
}

.why-intro {
    max-width: 920px;
    margin: 0 auto 28px;
    text-align: center;
    background: #fff;
    border: 1px solid rgba(10, 26, 68, .1);
    border-radius: 20px;
    padding: 26px 24px 24px;
    box-shadow: 0 12px 28px rgba(10, 26, 68, .08);
}

.why-kicker {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(53, 94, 252, .12);
    color: #1b4fd6;
    padding: 6px 12px;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.why-intro h2 {
    margin: 12px 0 10px;
    color: #081d4f;
    font-weight: 800;
}

.why-intro p {
    margin: 0;
    color: #51607e;
    line-height: 1.75;
}

.why-card {
    background: #fff;
    border: 1px solid rgba(10, 26, 68, .1);
    border-radius: 20px;
    padding: 22px 22px 20px;
    height: 100%;
    box-shadow: 0 12px 30px rgba(10, 26, 68, .08);
    animation: floatIn .6s ease both;
}

.why-card h3 {
    margin-bottom: 12px;
    color: #0a2561;
    font-weight: 800;
    font-size: clamp(1.12rem, 2.2vw, 1.45rem);
}

.why-card p {
    color: #4f5f7d;
    margin-bottom: 14px;
    line-height: 1.72;
}

.maroc-narrative {
    background: #ffffff;
    border: 1px solid rgba(10, 26, 68, 0.12);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 8px 22px rgba(10, 26, 68, 0.06);
}

.maroc-narrative p {
    color: #2a3a56;
    line-height: 1.75;
}

.maroc-distance {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #f1f6ff;
    border: 1px solid rgba(13, 110, 253, 0.16);
}

.maroc-distance span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    height: 34px;
    border-radius: 999px;
    background: #0d6efd;
    color: #fff;
    font-size: .88rem;
    font-weight: 800;
}

.maroc-flight-panel {
    margin-bottom: 16px;
    border: 1px solid rgba(10, 26, 68, 0.12);
    border-radius: 14px;
    padding: 16px;
    background: #fff;
}

.maroc-flight-panel h3 {
    margin-bottom: 12px;
    color: #0A1A44;
    font-size: 1.02rem;
    font-weight: 700;
}

.maroc-flight-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
}

.maroc-flight-list li {
    border-radius: 10px;
    padding: 10px 12px;
    background: #f4f8ff;
    border: 1px solid rgba(13, 110, 253, 0.16);
    color: #18396e;
    font-size: .9rem;
}

.maroc-flight-list li strong {
    font-weight: 800;
    color: #0A1A44;
    margin-right: 5px;
    direction: ltr;
    unicode-bidi: isolate;
    display: inline-block;
}

html[dir="rtl"] .maroc-flight-list li strong {
    margin-right: 0;
    margin-left: 10px;
}

.flight-head {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #173a8f;
    margin-bottom: 12px;
    border-radius: 10px;
    background: #edf3ff;
    padding: 8px 12px;
}

.flight-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.flight-list li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
    border: 1px solid rgba(53, 94, 252, .15);
    border-radius: 12px;
    padding: 9px 11px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.flight-list li:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 18px rgba(23, 58, 143, .12);
}

.flight-list span,
.flight-list .flight-city {
    color: #30446f;
    font-weight: 600;
}

.flight-list strong,
.flight-list .flight-time {
    color: #10358a;
    font-weight: 800;
    line-height: 1.2;
}

html[dir="rtl"] .flight-list li {
    align-items: center;
    justify-content: space-between;
}

.why-card-cta {
    position: relative;
    overflow: hidden;
}

.why-card-cta::after {
    content: "";
    position: absolute;
    inset: auto -40px -60px auto;
    width: 180px;
    height: 180px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(53, 94, 252, .18), transparent 65%);
    pointer-events: none;
}

.why-btn {
    border-radius: 999px;
    font-weight: 700;
    padding: 10px 18px;
}

.atouts-grid {
    margin-top: 8px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.atout-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-radius: 14px;
    border: 1px solid rgba(53, 94, 252, .16);
    background: #f8faff;
    padding: 12px 12px;
    color: #263b68;
    font-weight: 600;
}

.atout-item i {
    color: #1b4fd6;
    margin-top: 2px;
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991.98px) {
    .page-header {
        margin-top: var(--header-offset);
        height: 220px;
    }

    .flight-list,
    .atouts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-header.page-header-president {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .page-header.page-header-president h1 {
        font-size: 2.1rem;
    }

}
