:root {
    --blue-950: #071635;
    --blue-900: #0b1f4d;
    --blue-800: #11356f;
    --blue-700: #1f4f9a;
    --gold-500: #c9a53a;
    --gold-400: #d6b75c;
    --gold-300: #e8d49a;
    --white: #ffffff;
    --paper: #f5f7fb;
    --paper-strong: #eef3fb;
    --text: #182033;
    --muted: #5b6375;
    --line: rgba(17, 53, 111, 0.16);
    --shadow: 0 12px 30px rgba(11, 31, 77, 0.12);
    --shadow-soft: 0 16px 38px rgba(11, 31, 77, 0.08);
    --shadow-strong: 0 24px 52px rgba(11, 31, 77, 0.16);
    --radius: 16px;
    --radius-lg: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    color: var(--text);
    background: var(--paper);
    line-height: 1.7;
    position: relative;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -2;
    background:
        linear-gradient(0deg, rgba(247, 248, 252, 0.84), rgba(247, 248, 252, 0.9)),
        radial-gradient(circle at 20% 20%, rgba(17, 53, 111, 0.12), transparent 40%),
        radial-gradient(circle at 85% 10%, rgba(201, 165, 58, 0.12), transparent 35%),
        var(--site-screen-bg) center center / cover no-repeat fixed,
        #f7f8fc;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: 0.13;
    pointer-events: none;
    background-image:
        linear-gradient(30deg, transparent 47%, #d9c386 47%, #d9c386 53%, transparent 53%),
        linear-gradient(-30deg, transparent 47%, #d9c386 47%, #d9c386 53%, transparent 53%);
    background-size: 70px 70px;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
    outline: 3px solid rgba(201, 165, 58, 0.52);
    outline-offset: 3px;
}

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

.container {
    width: min(1220px, 92%);
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    top: 18px;
    inset-inline-start: 18px;
    z-index: 1800;
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--blue-950);
    color: #fff;
    transform: translateY(-160%);
    transition: transform .2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.94)),
        rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(17, 53, 111, 0.12);
    isolation: isolate;
    box-shadow: 0 14px 28px rgba(11, 31, 77, 0.05);
    transition: box-shadow .2s ease, background .2s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 20px 40px rgba(11, 31, 77, 0.12);
}

.site-header::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
    opacity: .95;
}

.site-header.has-jets {
    overflow: hidden;
}

.site-header .container {
    position: relative;
    z-index: 2;
}

.header-jets {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.header-jet-sprite {
    position: absolute;
    top: 0;
    left: 0;
    width: clamp(82px, 10.5vw, 148px);
    transform-origin: 50% 50%;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.32));
    opacity: 0;
    will-change: transform;
}

.header-jet-sprite img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.brand-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 16px 0 14px;
    border-bottom: 1px solid rgba(17, 53, 111, 0.11);
}

.brand-primary {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.brand-site-title {
    display: flex;
    flex-direction: column;
    gap: 4px;
    line-height: 1.2;
    color: var(--blue-900);
    font-family: 'Rajdhani', 'IBM Plex Sans Arabic', sans-serif;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

.brand-site-title span {
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.brand-site-title span:first-child {
    font-size: 1.22rem;
    font-weight: 700;
}

.brand-site-title span:last-child {
    font-size: 1rem;
    font-weight: 600;
}

.brand-item {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.brand-item.oman {
    padding-inline-start: 18px;
    border-inline-start: 1px solid rgba(17, 53, 111, 0.12);
}

.brand-item img {
    height: 64px;
    width: auto;
    object-fit: contain;
}

.mobile-nav-wrap {
    display: none;
}

.nav-toggle {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--blue-900);
    border-radius: 10px;
    padding: 8px 14px;
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
}

.nav-toggle:hover {
    background: #f6f8fd;
}

.site-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 12px 0 14px;
    position: relative;
}

.site-nav[hidden] {
    display: none !important;
}

.site-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    min-height: 42px;
    padding: 9px 16px;
    font-weight: 600;
    color: var(--blue-900);
    border: 1px solid transparent;
    transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.site-nav a:hover {
    border-color: rgba(17, 53, 111, 0.14);
    background: rgba(255, 255, 255, 0.86);
    transform: translateY(-1px);
}

.site-nav a.active {
    background: linear-gradient(135deg, var(--blue-950), var(--blue-800));
    color: #fff;
    box-shadow: 0 14px 24px rgba(11, 31, 77, 0.2);
}

.btn-fm {
    background: linear-gradient(135deg, var(--gold-500), #f1dc9f);
    color: #1d1d1d;
    font-weight: 700;
    border-radius: 999px;
    min-height: 46px;
    padding: 10px 18px;
    border: 1px solid #b99636;
    white-space: nowrap;
    box-shadow: 0 16px 28px rgba(201, 165, 58, 0.18);
}

.btn-fm:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 30px rgba(201, 165, 58, 0.24);
}

.hero {
    position: relative;
    min-height: clamp(430px, 70vh, 620px);
    display: grid;
    align-items: end;
    margin-bottom: 44px;
    border-bottom: 4px solid var(--gold-500);
    background: var(--global-banner) center/cover no-repeat;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--global-banner-bg, var(--global-banner)) center/cover no-repeat;
    opacity: 0.82;
    filter: saturate(1.1);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(7, 22, 53, 0.24) 0%, rgba(7, 22, 53, 0.88) 78%),
        linear-gradient(135deg, rgba(201, 165, 58, 0.12), transparent 42%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 86px);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: clamp(54px, 8vw, 92px) 0 72px;
    width: min(1220px, 92%);
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: end;
}

.hero-copy {
    max-width: 720px;
}

.hero h1 {
    margin: 0 0 12px;
    font-family: 'El Messiri', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.9rem);
    color: #fff;
}

.hero p {
    margin: 0;
    max-width: 760px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.section {
    margin: 0 auto 44px;
    width: min(1220px, 92%);
}

.section-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 20px;
    color: var(--blue-900);
    font-family: 'El Messiri', sans-serif;
    font-size: clamp(1.25rem, 2vw, 1.8rem);
}

.home-section-title {
    color: var(--blue-900) !important;
}

.section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--gold-500), transparent);
}

.section-kicker {
    margin: 0 0 8px;
    color: var(--blue-700);
    font-size: 0.85rem;
    font-weight: 700;
}

.section-intro {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.card {
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(252, 253, 255, 0.98));
    border: 1px solid rgba(17, 53, 111, 0.12);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-500), rgba(201, 165, 58, 0.08));
    opacity: 0;
    transition: opacity .24s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(17, 53, 111, 0.18);
    box-shadow: var(--shadow-strong);
}

.card:hover::before {
    opacity: 1;
}

.card-body {
    padding: 20px;
}

.card h3 {
    margin: 0 0 10px;
    color: var(--blue-900);
    font-family: 'El Messiri', sans-serif;
    font-size: 1.25rem;
    line-height: 1.45;
}

.home-card-title {
    color: var(--blue-900);
}

.card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.85;
}

.card-message-preview {
    margin: 0;
}

.text-clamp-6 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.text-read-more-btn {
    margin-top: 8px;
    border: 0;
    background: none;
    padding: 0;
    color: var(--blue-700);
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
}

.text-read-more-btn:hover {
    text-decoration: underline;
}

.quote-block .text-read-more-btn {
    color: var(--gold-300);
}

.card-meta {
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(17, 53, 111, 0.08);
    color: var(--blue-900);
    font-size: 0.86rem;
    font-weight: 700;
}

.stats-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.stat-card {
    padding: 18px 20px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(17, 53, 111, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 248, 253, 0.94));
    box-shadow: var(--shadow-soft);
}

.stat-label {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 0.9rem;
}

.stat-value {
    display: block;
    color: var(--blue-900);
    font-family: 'El Messiri', sans-serif;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    line-height: 1.2;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.feature-card {
    padding: 22px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(17, 53, 111, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 248, 253, 0.96));
    box-shadow: var(--shadow-soft);
}

.feature-card h3,
.feature-card h2 {
    margin: 0 0 10px;
    color: var(--blue-900);
    font-family: 'El Messiri', sans-serif;
}

.feature-card p,
.feature-card li {
    color: #32405d;
}

.feature-card ul,
.feature-card ol {
    margin: 14px 0 0;
    padding-inline-start: 20px;
}

.feature-card li + li {
    margin-top: 8px;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin-bottom: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(17, 53, 111, 0.08);
    color: var(--blue-900);
    font-size: 0.82rem;
    font-weight: 700;
}

.resource-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.resource-card-media {
    position: relative;
    background: linear-gradient(180deg, rgba(16, 44, 94, 0.06), rgba(16, 44, 94, 0.02));
    overflow: hidden;
}

.resource-card-media img {
    width: 100%;
    height: 270px;
    object-fit: cover;
    transition: transform .45s ease;
}

.publication-cover-media {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.publication-cover-media img,
.publication-cover-image {
    width: 100%;
    height: 286px;
    object-fit: contain;
    object-position: center;
}

.resource-card:hover .resource-card-media img {
    transform: scale(1.04);
}

.resource-card-badge {
    position: absolute;
    top: 14px;
    inset-inline-start: 14px;
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(7, 22, 53, 0.84);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.resource-card-actions {
    margin-top: auto;
    padding-top: 18px;
}

.resource-card-actions .btn {
    width: 100%;
}

.banner-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.banner-card img {
    width: 100%;
    height: min(450px, 60vh);
    object-fit: cover;
    transition: transform .45s ease;
}

.banner-card:hover img {
    transform: scale(1.04);
}

.quote-block {
    position: relative;
    background:
        linear-gradient(145deg, #0b1f4d, #1b488f),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 96px);
    color: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-strong);
    overflow: hidden;
}

.quote-block .content {
    padding: 24px;
}

.quote-block h3 {
    margin: 0 0 12px;
    font-family: 'El Messiri', sans-serif;
    color: #fff;
}

.quote-block p {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
}

.quote-block .royal-position {
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
}

.card .home-card-title {
    color: var(--blue-900);
}

.model-card .home-card-title,
.quote-block .content .home-card-title,
.quote-block .content h3 {
    color: #fff;
}

.leadership-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 18px;
    align-items: center;
}

.zoomable-image-wrap {
    position: relative;
}

.leadership-card .zoomable-image-wrap {
    height: 100%;
    background: #eef2f9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.leadership-card img {
    width: 100%;
    height: auto;
    max-height: min(52vh, 460px);
    object-fit: contain;
    object-position: center;
    border-left: 3px solid var(--gold-500);
}

.image-zoom-btn {
    position: absolute;
    top: 10px;
    inset-inline-end: 10px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: rgba(11, 31, 77, 0.88);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(11, 31, 77, 0.3);
    transition: transform .2s ease, background .2s ease;
}

.image-zoom-btn:hover {
    transform: translateY(-1px) scale(1.03);
    background: rgba(13, 41, 91, 0.96);
}

.image-zoom-btn svg {
    width: 20px;
    height: 20px;
}

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: rgba(4, 10, 26, 0.82);
}

.image-lightbox.is-open {
    display: flex;
}

.image-lightbox-dialog {
    position: relative;
    width: min(980px, 100%);
    max-height: 100%;
}

.image-lightbox-image {
    width: 100%;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.image-lightbox-close {
    position: absolute;
    top: 10px;
    inset-inline-end: 10px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.68);
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.image-lightbox-caption {
    margin: 10px 0 0;
    text-align: center;
    color: #fff;
    font-weight: 500;
}

body.image-lightbox-open {
    overflow: hidden;
}

.text-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1240;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: rgba(4, 10, 26, 0.82);
}

.text-lightbox.is-open {
    display: flex;
}

.text-lightbox-dialog {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(760px, 100%);
    max-height: 86vh;
    overflow: auto;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
    padding: 22px;
}

.text-lightbox-close {
    position: static;
    align-self: flex-end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 0 14px;
    border: 0;
    border-radius: 999px;
    background: rgba(11, 31, 77, 0.9);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.text-lightbox-name {
    margin: 0 0 10px;
    color: var(--blue-900);
    font-family: 'El Messiri', sans-serif;
    font-size: 1.35rem;
}

.text-lightbox-position {
    margin: 0 0 14px;
    color: var(--blue-900);
    background: rgba(17, 53, 111, 0.08);
    border-radius: 999px;
    padding: 6px 12px;
    display: inline-flex;
    font-size: 0.9rem;
}

.text-lightbox-message {
    margin: 0;
    color: #2d3953;
    line-height: 1.9;
    white-space: pre-line;
}

body.text-lightbox-open {
    overflow: hidden;
}

.timeline-image {
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    background: #fff;
    padding: 16px;
}

.timeline-image img {
    border-radius: 14px;
}

.model-card {
    background:
        linear-gradient(160deg, #0f2d62 0%, #184788 100%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 78px);
    color: #fff;
    border-radius: var(--radius-lg);
}

.model-card h3,
.model-card p {
    color: #fff;
}

.page-hero {
    position: relative;
    margin-bottom: 32px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--global-banner) center/cover no-repeat;
    isolation: isolate;
    box-shadow: var(--shadow-strong);
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(150deg, rgba(7, 22, 53, 0.82), rgba(17, 53, 111, 0.92)),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 94px);
    z-index: 0;
    pointer-events: none;
}

.page-hero .inner {
    position: relative;
    z-index: 1;
    background: transparent;
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 34px;
    border: 1px solid rgba(201, 165, 58, 0.42);
    backdrop-filter: blur(4px);
}

.page-hero h1 {
    margin: 0 0 10px;
    font-family: 'El Messiri', sans-serif;
    line-height: 1.32;
}

.page-hero p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.page-hero-badge-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.page-hero-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.84rem;
    font-weight: 700;
}

.page-hero-badge.is-muted {
    color: var(--gold-300);
}

.elearning-page .elearning-portal-after {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(235, 242, 253, 0.86));
    border: 1px solid rgba(17, 53, 111, 0.2);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.content-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(251, 253, 255, 0.98));
    border: 1px solid rgba(17, 53, 111, 0.12);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-soft);
}

.content-card h2,
.content-card h3 {
    color: var(--blue-900);
    font-family: 'El Messiri', sans-serif;
}

.content-card p {
    color: #2d3953;
}

.rich-text {
    color: #2d3953;
    line-height: 1.95;
}

.content-media-image {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto 22px;
    border: 1px solid rgba(17, 53, 111, 0.12);
    border-radius: 18px;
}

.rich-text > :first-child {
    margin-top: 0;
}

.rich-text > :last-child {
    margin-bottom: 0;
}

.rich-text p,
.rich-text ul,
.rich-text ol,
.rich-text blockquote,
.rich-text h2,
.rich-text h3,
.rich-text h4,
.rich-text hr {
    margin: 0 0 14px;
}

.rich-text ul,
.rich-text ol {
    padding-inline-start: 24px;
}

.rich-text li + li {
    margin-top: 6px;
}

.rich-text h2,
.rich-text h3,
.rich-text h4 {
    color: var(--blue-900);
    font-family: 'El Messiri', sans-serif;
    line-height: 1.5;
}

.rich-text h2 {
    font-size: 1.5rem;
}

.rich-text h3 {
    font-size: 1.3rem;
}

.rich-text h4 {
    font-size: 1.12rem;
}

.rich-text a:not(.btn) {
    color: var(--blue-900);
    text-decoration: underline;
    font-weight: 700;
}

.rich-text img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto 14px;
    border-radius: 14px;
}

.rich-text blockquote {
    padding: 14px 18px;
    border-inline-start: 4px solid var(--blue-700);
    background: rgba(17, 53, 111, 0.08);
    border-radius: 12px;
}

.rich-text hr {
    border: 0;
    border-top: 1px solid rgba(17, 53, 111, 0.16);
}

.rich-text .text-center {
    text-align: center;
}

.rich-text .text-center img {
    margin-inline: auto;
}

.rich-text .text-right {
    text-align: right;
}

.rich-text .text-right img {
    margin-inline-start: auto;
    margin-inline-end: 0;
}

.rich-text .text-left {
    text-align: left;
}

.rich-text .text-left img {
    margin-inline-start: 0;
    margin-inline-end: auto;
}

.rich-text .btn {
    margin-top: 4px;
}

.contact-layout,
.page-flex-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 18px;
    align-items: start;
}

.contact-panel {
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(17, 53, 111, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 253, 0.94));
    box-shadow: var(--shadow-soft);
}

.contact-panel-accent {
    background:
        linear-gradient(160deg, rgba(7, 22, 53, 0.94), rgba(17, 53, 111, 0.88)),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 90px);
    color: #fff;
}

.contact-panel-accent h2,
.contact-panel-accent h3,
.contact-panel-accent p,
.contact-panel-accent li {
    color: inherit;
}

.contact-service-list,
.principles-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.contact-service-list li,
.principles-list li {
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(17, 53, 111, 0.12);
    background: rgba(255, 255, 255, 0.08);
}

.field-group {
    display: grid;
    gap: 8px;
}

.field-label {
    color: var(--blue-900);
    font-size: 0.92rem;
    font-weight: 700;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.palette-grid,
.service-grid,
.program-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.palette-card,
.service-card,
.program-card {
    padding: 18px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(17, 53, 111, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 254, 0.96));
    box-shadow: var(--shadow-soft);
}

.palette-card strong,
.service-card h3,
.program-card h3 {
    display: block;
    margin-bottom: 8px;
    color: var(--blue-900);
    font-family: 'El Messiri', sans-serif;
}

.palette-swatch {
    display: block;
    width: 100%;
    height: 68px;
    margin-bottom: 12px;
    border-radius: 18px;
    border: 1px solid rgba(7, 22, 53, 0.08);
}

.program-card-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    background: linear-gradient(180deg, rgba(238, 244, 255, 0.98), rgba(222, 234, 249, 0.92));
    border: 1px solid rgba(17, 53, 111, 0.12);
}

.program-card-icon img,
.program-card-icon svg {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

details {
    border-radius: 16px;
}

details summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.blog-list {
    display: grid;
    gap: 16px;
}

.blog-item {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(250, 252, 255, 0.98));
    border: 1px solid rgba(17, 53, 111, 0.12);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.blog-item .thumb {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform .45s ease;
}

.blog-item:hover .thumb {
    transform: scale(1.04);
}

.blog-item .body {
    padding: 18px;
}

.blog-item .date {
    color: var(--muted);
    font-size: 0.88rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    border-radius: 999px;
    padding: 10px 18px;
    border: 1px solid var(--line);
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue-950), var(--blue-800));
    color: #fff;
    border-color: var(--blue-950);
    box-shadow: 0 16px 28px rgba(11, 31, 77, 0.18);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.92);
    color: var(--blue-900);
    border-color: rgba(17, 53, 111, 0.16);
}

.btn-outline:hover {
    box-shadow: 0 12px 24px rgba(11, 31, 77, 0.08);
}

.site-footer {
    margin-top: 52px;
    background:
        linear-gradient(180deg, rgba(7, 22, 53, 0.98), rgba(11, 31, 77, 0.98)),
        var(--blue-900);
    color: rgba(255, 255, 255, 0.88);
    border-top: 3px solid var(--gold-500);
}

.footer-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 0.9fr);
    gap: 24px;
    padding: 36px 0 28px;
}

.footer-brand-head {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-brand-logo {
    width: 78px;
    height: 78px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    object-fit: contain;
}

.footer-brand-block h2,
.footer-links-block h3,
.footer-meta-block h3 {
    margin: 0;
    color: #fff;
    font-family: 'El Messiri', sans-serif;
}

.footer-description {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.78);
}

.footer-links-block,
.footer-meta-block {
    display: grid;
    align-content: start;
    gap: 14px;
}

.footer-links {
    display: grid;
    gap: 10px;
}

.footer-links a,
.footer-admin-link {
    color: #f3d881;
}

.footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.footer-outline {
    background: rgba(255, 255, 255, 0.08);
    color: var(--blue-800);
    border-color: rgba(255, 255, 255, 0.18);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 16px 0 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.72);
}

.form-grid {
    display: grid;
    gap: 14px;
}

.form-grid input,
.form-grid textarea,
.form-grid select {
    width: 100%;
    border: 1px solid rgba(17, 53, 111, 0.14);
    border-radius: 14px;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text);
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.form-grid input:focus,
.form-grid textarea:focus,
.form-grid select:focus {
    border-color: rgba(17, 53, 111, 0.42);
    box-shadow: 0 0 0 4px rgba(17, 53, 111, 0.08);
    outline: 0;
}

.notice {
    border-radius: 16px;
    padding: 12px 14px;
    margin-bottom: 14px;
    font-weight: 700;
}

.notice.success {
    background: #e8f7eb;
    color: #176437;
    border: 1px solid #9ad4ab;
}

.notice.error {
    background: #ffeded;
    color: #8f1d1d;
    border: 1px solid #efb0b0;
}

@media (max-width: 1050px) {
    .grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-content,
    .footer-shell,
    .contact-layout,
    .page-flex-grid {
        grid-template-columns: 1fr;
    }

    .feature-grid,
    .stats-strip,
    .palette-grid,
    .service-grid,
    .program-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .leadership-card {
        grid-template-columns: 1fr;
    }

    .leadership-card img {
        max-height: min(46vh, 320px);
        object-position: center;
        border-left: none;
        border-top: 3px solid var(--gold-500);
    }
}

@media (max-width: 840px) {
    .header-jet-sprite {
        width: clamp(64px, 14.5vw, 102px);
    }

    .brand-strip {
        gap: 8px;
    }

    .brand-primary {
        gap: 8px;
    }

    .brand-site-title span:first-child {
        font-size: 1rem;
    }

    .brand-site-title span:last-child {
        font-size: 0.86rem;
    }

    .brand-item img {
        height: 52px;
    }

    .mobile-nav-wrap {
        display: flex;
        justify-content: flex-start;
        padding: 10px 0 6px;
        position: relative;
        z-index: 115;
    }

    .site-nav {
        display: none;
        width: 100%;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(246, 249, 253, 0.34));
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 20px;
        padding: 12px;
        margin-bottom: 8px;
        flex-direction: column;
        align-items: stretch;
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.34),
            0 18px 34px rgba(11, 31, 77, 0.12);
        backdrop-filter: blur(18px) saturate(150%);
        -webkit-backdrop-filter: blur(18px) saturate(150%);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav ul {
        width: 100%;
        flex-direction: column;
        gap: 6px;
    }

    .site-nav ul a {
        width: 100%;
        justify-content: flex-start;
        border-radius: 10px;
    }

    .site-nav .btn-fm {
        width: 100%;
        justify-content: center;
        margin-top: 6px;
    }

    body.nav-open {
        overflow: hidden;
    }

    .hero {
        min-height: 360px;
    }

    .hero-content {
        padding-bottom: 52px;
    }

    .grid-2,
    .grid-3,
    .feature-grid,
    .stats-strip,
    .palette-grid,
    .service-grid,
    .program-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .image-lightbox {
        padding: 14px;
    }

    .text-lightbox {
        padding: 14px;
    }

    .text-lightbox-dialog {
        padding: 18px;
    }
}

@media (max-width: 560px) {
    .skip-link {
        inset-inline-start: 10px;
        top: 10px;
    }

    .brand-site-title span:first-child {
        font-size: 0.9rem;
    }

    .brand-site-title span:last-child {
        font-size: 0.74rem;
    }

    .brand-item {
        padding: 0;
    }

    .page-hero .inner,
    .content-card,
    .contact-panel,
    .feature-card,
    .stat-card {
        padding: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .header-jets {
        display: none;
    }
}

/* Official interface refresh */
:root {
    --surface: rgba(255, 255, 255, 0.94);
    --surface-strong: #ffffff;
    --surface-muted: #f0f4fb;
    --line-soft: rgba(17, 53, 111, 0.08);
    --line-strong: rgba(17, 53, 111, 0.18);
    --content-width: min(1220px, 92%);
    --section-gap: clamp(40px, 5vw, 64px);
}

body {
    background:
        linear-gradient(180deg, rgba(248, 250, 253, 0.98), rgba(240, 245, 252, 0.96)),
        var(--paper);
}

body::before {
    background:
        linear-gradient(0deg, rgba(248, 250, 253, 0.9), rgba(248, 250, 253, 0.94)),
        radial-gradient(circle at 18% 16%, rgba(17, 53, 111, 0.08), transparent 34%),
        radial-gradient(circle at 88% 8%, rgba(201, 165, 58, 0.08), transparent 28%),
        var(--site-screen-bg) center center / cover no-repeat fixed,
        #f8fafd;
}

body::after {
    opacity: 0.06;
    background-size: 110px 110px;
}

main {
    display: block;
    padding-top: 18px;
}

.site-header {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 253, 0.96)),
        rgba(255, 255, 255, 0.98);
    box-shadow: 0 14px 30px rgba(11, 31, 77, 0.06);
}

.site-header::before {
    height: 2px;
    opacity: 0.88;
}

.brand-strip {
    padding: 18px 0 16px;
    gap: 22px;
}

.brand-primary {
    gap: 16px;
}

.brand-item.oman {
    padding-inline-start: 20px;
}

.brand-item img {
    height: 72px;
}

.brand-site-title {
    gap: 3px;
    color: var(--blue-950);
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.brand-site-title span.brand-title-ar {
    font-family: 'El Messiri', sans-serif;
    font-size: clamp(1.18rem, 2vw, 1.45rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--blue-950);
}

.brand-site-title span.brand-title-en {
    font-family: 'Rajdhani', 'IBM Plex Sans Arabic', sans-serif;
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #495872;
}

.mobile-nav-wrap {
    margin-top: 10px;
}

.nav-toggle {
    min-height: 46px;
    border-radius: 14px;
    padding: 10px 16px;
}

.site-nav {
    margin: 12px 0 2px;
    padding: 12px 16px 16px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(246, 249, 253, 0.24));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.34),
        0 18px 36px rgba(11, 31, 77, 0.1);
    backdrop-filter: blur(18px) saturate(155%);
    -webkit-backdrop-filter: blur(18px) saturate(155%);
}

.site-nav ul {
    gap: 8px;
}

.site-nav a {
    min-height: 46px;
    border-radius: 14px;
    padding: 10px 16px;
    font-size: 0.95rem;
}

.site-nav a:hover {
    background: #f7f9fd;
    border-color: rgba(17, 53, 111, 0.12);
}

.site-nav a.active {
    border-color: rgba(201, 165, 58, 0.22);
    box-shadow: 0 16px 28px rgba(11, 31, 77, 0.18);
}

.btn,
.btn-fm {
    min-height: 50px;
    border-radius: 14px;
    padding: 12px 20px;
}

.btn-primary {
    box-shadow: 0 14px 28px rgba(11, 31, 77, 0.18);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.9);
}

.btn-fm {
    color: #18284d;
    box-shadow: 0 12px 24px rgba(201, 165, 58, 0.18);
}

.hero {
    width: var(--content-width);
    min-height: clamp(470px, 76vh, 640px);
    margin: 18px auto 52px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 30px;
    border-bottom: 0;
    box-shadow: 0 26px 62px rgba(11, 31, 77, 0.18);
}

.hero::before {
    opacity: 0.78;
}

.hero::after {
    background:
        linear-gradient(180deg, rgba(7, 22, 53, 0.18) 0%, rgba(7, 22, 53, 0.72) 68%, rgba(7, 22, 53, 0.9) 100%),
        linear-gradient(135deg, rgba(201, 165, 58, 0.18), transparent 36%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 88px);
}

.hero-content {
    padding: clamp(68px, 8vw, 98px) 0 60px;
    gap: 30px;
    align-items: end;
}

.hero-copy {
    display: grid;
    gap: 14px;
}

.hero h1 {
    margin-bottom: 0;
    max-width: 720px;
    line-height: 1.35;
}

.hero p {
    font-size: 1.02rem;
    line-height: 1.95;
}

.hero-actions {
    gap: 14px;
    margin-top: 6px;
}

.section {
    margin-bottom: var(--section-gap);
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.section-title {
    gap: 18px;
    margin-bottom: 22px;
}

.section-title.is-plain {
    margin-bottom: 0;
}

.section-title.is-plain::after {
    display: none;
}

.home-quick-links {
    margin-top: -10px;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.quick-link-card {
    position: relative;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 22px 20px;
    border: 1px solid var(--line-soft);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 253, 0.98));
    box-shadow: 0 14px 30px rgba(11, 31, 77, 0.08);
    overflow: hidden;
}

.quick-link-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--blue-950), var(--gold-500));
}

.quick-link-card.is-primary {
    background:
        linear-gradient(160deg, rgba(7, 22, 53, 0.98), rgba(17, 53, 111, 0.94)),
        rgba(7, 22, 53, 0.98);
    border-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.quick-link-card.is-primary::before {
    background: linear-gradient(90deg, var(--gold-300), rgba(255, 255, 255, 0.9));
}

.quick-link-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 36px;
    border-radius: 12px;
    background: rgba(17, 53, 111, 0.08);
    color: var(--blue-900);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 700;
}

.quick-link-card.is-primary .quick-link-index {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.quick-link-card h3 {
    margin: 0;
    color: var(--blue-900);
    font-family: 'El Messiri', sans-serif;
    font-size: 1.18rem;
    line-height: 1.55;
}

.quick-link-card.is-primary h3 {
    color: #ffffff;
}

.quick-link-card p {
    margin: 0;
    flex: 1;
    color: #49556c;
    line-height: 1.85;
}

.quick-link-card.is-primary p {
    color: rgba(255, 255, 255, 0.84);
}

.quick-link-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 4px;
    font-weight: 700;
    color: inherit;
}

.quick-link-action::before {
    content: '';
    width: 26px;
    height: 1px;
    background: currentColor;
    opacity: 0.42;
}

.card,
.content-card,
.feature-card,
.stat-card,
.palette-card,
.service-card,
.program-card,
.blog-item,
.timeline-image,
.banner-card {
    border-color: var(--line-soft);
    border-radius: 24px;
    box-shadow: 0 14px 30px rgba(11, 31, 77, 0.08);
}

.card,
.resource-card,
.blog-item {
    min-height: 100%;
}

.card-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
    padding: 22px;
}

.card p,
.content-card p,
.feature-card p,
.rich-text {
    line-height: 1.9;
}

.card-meta {
    align-self: flex-start;
}

.stat-card {
    position: relative;
    overflow: hidden;
    padding: 22px 24px;
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-900), var(--gold-500));
}

.resource-card-media {
    background: linear-gradient(180deg, rgba(16, 44, 94, 0.08), rgba(16, 44, 94, 0.02));
}

.resource-card-media img {
    height: 286px;
}

.publication-cover-media img,
.publication-cover-image {
    height: 320px;
}

.publication-card {
    position: relative;
    isolation: isolate;
}

.publication-card .resource-card-badge {
    z-index: 3;
}

.publication-card.has-cover {
    height: auto;
    min-height: 0;
    background: linear-gradient(180deg, rgba(244, 247, 252, 0.98), rgba(237, 242, 249, 0.96));
}

.publication-card.has-cover .publication-cover-media {
    height: 100%;
    min-height: 0;
    padding: 14px;
    background: linear-gradient(180deg, rgba(16, 44, 94, 0.04), rgba(16, 44, 94, 0.02));
}

.publication-card.has-cover .publication-cover-media img,
.publication-card.has-cover .publication-cover-image {
    height: 100%;
    max-height: none;
}

.publication-card.has-cover .publication-card-body {
    position: static;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 12px;
    min-height: 0;
    padding: 22px;
    background: #fff;
}

.publication-card.has-cover .publication-card-title,
.publication-card.has-cover .publication-card-body p {
    color: #2d3953;
}

.publication-card.has-cover .publication-card-title {
    color: var(--blue-900);
}

.publication-card.has-cover .publication-card-summary {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.publication-card.has-cover .card-meta {
    background: rgba(17, 53, 111, 0.08);
    color: var(--blue-900);
}

.publication-card.has-cover .resource-card-actions {
    margin-top: 0;
    padding-top: 0;
}

@media (hover: hover) and (pointer: fine) {
    .publication-card.has-cover .publication-card-body {
        opacity: 1;
        transform: none;
        transition: none;
        pointer-events: auto;
    }

    .publication-card.has-cover:hover .publication-card-body,
    .publication-card.has-cover:focus-within .publication-card-body {
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }

    .publication-card.has-cover:hover .publication-cover-image,
    .publication-card.has-cover:focus-within .publication-cover-image {
        transform: scale(1.03);
        filter: none;
    }
}

.quote-block,
.page-hero {
    border-radius: 28px;
}

.page-hero {
    width: var(--content-width);
    margin: 16px auto 36px;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.page-hero .inner {
    min-height: 240px;
    padding: 42px 38px;
}

.page-hero-badge {
    border-radius: 12px;
}

.site-footer {
    position: relative;
    overflow: hidden;
    margin-top: 72px;
}

.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 22%, rgba(201, 165, 58, 0.12), transparent 28%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 34%);
    opacity: 0.95;
}

.footer-shell,
.footer-bottom {
    position: relative;
    z-index: 1;
}

.footer-shell {
    padding: 42px 0 30px;
    gap: 28px;
}

.footer-brand-logo {
    width: 84px;
    height: 84px;
    border-radius: 26px;
}

.footer-links a {
    position: relative;
    padding-inline-start: 16px;
}

.footer-links a::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 50%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    transform: translateY(-50%);
    background: var(--gold-400);
}

.form-grid {
    gap: 16px;
}

.form-grid-official {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.field-span-full {
    grid-column: 1 / -1;
}

.form-grid input,
.form-grid textarea,
.form-grid select {
    min-height: 52px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(250, 252, 255, 0.98));
}

.form-grid textarea {
    min-height: 160px;
    resize: vertical;
}

.field-label {
    margin-bottom: 2px;
}

.notice {
    border-radius: 18px;
    padding: 14px 16px;
}

.contact-layout {
    gap: 20px;
}

.contact-panel {
    padding: 28px;
    border-radius: 24px;
}

.contact-panel-accent {
    background:
        linear-gradient(160deg, rgba(7, 22, 53, 0.98), rgba(17, 53, 111, 0.9)),
        radial-gradient(circle at 12% 20%, rgba(201, 165, 58, 0.18), transparent 28%);
}

.contact-panel-accent .section-kicker,
.contact-panel-accent h2,
.contact-panel-accent p {
    color: #ffffff;
}

.contact-service-list li {
    background: linear-gradient(180deg, rgba(248, 250, 255, 0.98), rgba(242, 246, 252, 0.96));
    color: #24324d;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #17924a, #34c96a);
    color: #ffffff;
    border-color: #148941;
    box-shadow: 0 14px 28px rgba(23, 146, 74, 0.24);
}

@media (max-width: 1200px) {
    .quick-links-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 840px) {
    main {
        padding-top: 12px;
    }

    .brand-strip {
        align-items: center;
    }

    .brand-item img {
        height: 56px;
    }

    .brand-site-title span.brand-title-ar {
        font-size: 1rem;
    }

    .brand-site-title span.brand-title-en {
        font-size: 0.84rem;
    }

    .site-nav {
        margin-top: 10px;
        border-radius: 20px;
    }

    .hero {
        min-height: 420px;
        margin-bottom: 40px;
        border-radius: 24px;
    }

    .hero-content {
        padding: 54px 0 44px;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 18px;
    }

    .quick-links-grid,
    .form-grid-official {
        grid-template-columns: 1fr;
    }

    .page-hero {
        border-radius: 24px;
        margin-bottom: 30px;
    }

    .page-hero .inner {
        min-height: 220px;
        padding: 32px 24px;
    }

    .contact-panel,
    .content-card,
    .feature-card,
    .stat-card,
    .card,
    .blog-item {
        border-radius: 20px;
    }
}

@media (max-width: 560px) {
    .brand-strip {
        align-items: flex-start;
    }

    .brand-site-title span.brand-title-ar {
        font-size: 0.92rem;
    }

    .brand-site-title span.brand-title-en {
        font-size: 0.74rem;
    }

    .brand-item.oman {
        padding-inline-start: 12px;
    }

    .page-hero-badge {
        border-radius: 10px;
    }

    .quick-link-card {
        padding: 18px;
    }
}
