:root {
  --royal-900: #07152d;
  --royal-800: #0a1f3d;
  --royal-700: #113366;
  --royal-600: #1a4e96;
  --gold: #c8a84e;
  --white: #ffffff;
  --ink: #15223a;
  --slate: #5f6d83;
  --surface: #f6f9ff;
  --line: #dbe4f3;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 6px 18px rgba(10, 31, 61, 0.07);
  --shadow-md: 0 18px 50px rgba(10, 31, 61, 0.13);
  --shadow-lg: 0 28px 80px rgba(10, 31, 61, 0.18);
  --max-w: 1280px;
  --ease: all .42s cubic-bezier(.2,.8,.2,1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: Inter, sans-serif; color: var(--ink); background: var(--white); line-height: 1.75; overflow-x: hidden; }
h1,h2,h3,h4 { font-family: Manrope, Inter, sans-serif; line-height: 1.15; letter-spacing: -0.02em; color: var(--royal-800); }
p { color: var(--slate); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(92%, var(--max-w)); margin-inline: auto; }
.section { padding: clamp(4rem, 8vw, 8rem) 0; position: relative; }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title .tag { display: inline-flex; padding: .35rem .9rem; border: 1px solid rgba(17, 51, 102, .2); border-radius: 999px; letter-spacing: .12em; font-size: .72rem; color: var(--royal-700); text-transform: uppercase; margin-bottom: .9rem; }
.section-title h2 { font-size: clamp(1.7rem, 4vw, 2.8rem); margin-bottom: .7rem; }
.section-title p { max-width: 760px; margin-inline: auto; }

#scrollProgress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 10000; background: linear-gradient(90deg, var(--gold), #f2d98a); }
#loader { position: fixed; inset: 0; z-index: 99999; background: radial-gradient(circle at 50% 40%, #12366c, var(--royal-900)); display: grid; place-items: center; transition: opacity .55s ease, visibility .55s ease; }
#loader.hidden { opacity: 0; visibility: hidden; }
.loader-wrap { text-align: center; color: #fff; }
.loader-orbit { width: 92px; height: 92px; border-radius: 50%; border: 2px solid rgba(255,255,255,.2); border-top-color: var(--gold); margin: 0 auto 1.1rem; animation: spin 1s linear infinite; }
.loader-wrap small { letter-spacing: .2em; opacity: .8; text-transform: uppercase; }
@keyframes spin { to { transform: rotate(360deg); } }

.topbar { background: var(--royal-900); color: rgba(255,255,255,.82); font-size: .8rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.topbar-row { min-height: 42px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.topbar-dot { width: 6px; height: 6px; border-radius: 999px; background: #59e8a4; box-shadow: 0 0 0 6px rgba(89,232,164,.15); }

header { position: sticky; top: 0; z-index: 9999; background: rgba(255,255,255,.95); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(7, 21, 45, .06); }
.navbar { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: flex; align-items: center; gap: .8rem; }
.logo-mark { width: 54px; height: 54px; border-radius: 14px; background: #fff; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(17, 51, 102, .12); box-shadow: var(--shadow-sm); }
.logo-mark img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.logo-text { font-weight: 800; color: var(--royal-800); line-height: 1.12; }
.logo-text span { display: block; font-weight: 500; letter-spacing: .08em; font-size: .68rem; color: var(--slate); text-transform: uppercase; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 1.4rem; }
.nav-links a { font-size: .92rem; font-weight: 600; letter-spacing: .02em; color: #22304a; position: relative; padding: .45rem .1rem; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -.18rem; width: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--gold), #e8ca7a); transition: var(--ease); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--royal-800); }
.nav-cta { border: none; cursor: pointer; font-weight: 700; background: var(--royal-800); color: #fff; padding: .68rem 1.15rem; border-radius: 11px; box-shadow: var(--shadow-sm); }
.lang-link { border: 1px solid rgba(17, 51, 102, .18); border-radius: 999px; padding: .42rem .85rem !important; }
.lang-link::after { display: none; }
.mobile-toggle { display: none; border: none; background: transparent; font-size: 1.65rem; color: var(--royal-800); }
.mobile-overlay { position: fixed; inset: 0; z-index: 9998; background: rgba(7, 21, 45, .7); opacity: 0; visibility: hidden; transition: var(--ease); }
.mobile-overlay.open { opacity: 1; visibility: visible; }
.mobile-panel { position: fixed; top: 0; right: -360px; width: min(84vw, 360px); height: 100vh; background: #fff; z-index: 9999; padding: 2rem 1.4rem; box-shadow: var(--shadow-lg); transition: var(--ease); }
.mobile-panel.open { right: 0; }
.mobile-list { list-style: none; margin-top: 3.2rem; display: grid; gap: .8rem; }
.mobile-list a { display: block; padding: .8rem .5rem; border-bottom: 1px solid var(--line); font-weight: 600; }

.hero { position: relative; min-height: calc(100vh - 126px); display: grid; place-items: center; overflow: clip; background: linear-gradient(180deg, #f8fbff 0%, #ffffff 65%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(10,31,61,.06) 1px, transparent 1px); background-size: 30px 30px; opacity: .45; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; opacity: .48; }
.hero-inner { position: relative; z-index: 2; text-align: center; max-width: 920px; padding: 5rem 0 4rem; }
.hero-kicker { display: inline-flex; gap: .45rem; align-items: center; border: 1px solid rgba(17, 51, 102, .2); border-radius: 999px; padding: .38rem .9rem; font-size: .78rem; color: var(--royal-700); text-transform: uppercase; letter-spacing: .08em; }
.hero h1 { font-size: clamp(2.3rem, 6vw, 4.6rem); margin: 1rem 0; }
.hero p { font-size: clamp(1rem, 2vw, 1.2rem); max-width: 780px; margin: 0 auto 2rem; }
.cta-row { display: flex; justify-content: center; flex-wrap: wrap; gap: .95rem; }
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; border: none; cursor: pointer; font-weight: 700; padding: .9rem 1.45rem; border-radius: 12px; transition: var(--ease); }
.btn-primary { background: linear-gradient(140deg, var(--royal-700), var(--royal-800)); color: #fff; box-shadow: var(--shadow-md); }
.btn-outline { background: #fff; color: var(--royal-800); border: 1px solid rgba(17, 51, 102, .24); }
.ripple { position: absolute; border-radius: 999px; transform: scale(0); animation: ripple .65s linear; background-color: rgba(255,255,255,.5); }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }
.stats-row { margin-top: 2.4rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.stat-card { background: rgba(255,255,255,.85); border: 1px solid rgba(17, 51, 102, .11); border-radius: var(--radius); padding: 1rem; }
.stat-num { font-size: 2rem; font-weight: 800; color: var(--royal-800); }
.stat-label { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }

.about { background: var(--surface); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.frame { border-radius: var(--radius-lg); overflow: hidden; position: relative; box-shadow: var(--shadow-lg); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame.tall { height: 480px; }
.frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,21,45,.35), transparent 55%); }
.founded-badge { position: absolute; left: 1.2rem; bottom: 1.2rem; z-index: 2; background: rgba(255,255,255,.95); border-radius: 12px; padding: .8rem 1rem; }
.founded-badge b { color: var(--royal-800); font-size: 1.4rem; display: block; line-height: 1; }
.founded-badge small { font-size: .74rem; color: var(--slate); text-transform: uppercase; letter-spacing: .1em; }
.list-check { display: grid; gap: .8rem; margin-top: 1.2rem; }
.list-check li { list-style: none; display: flex; gap: .65rem; align-items: flex-start; }
.list-check li::before { content: ""; width: 9px; height: 9px; margin-top: .55rem; border-radius: 999px; flex: 0 0 9px; background: linear-gradient(140deg, var(--gold), #e6cd86); }

.vm-grid { margin-top: 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.vm-card { padding: 1.8rem; border-radius: 18px; box-shadow: var(--shadow-sm); }
.vm-card.vision { background: linear-gradient(140deg, var(--royal-700), var(--royal-800)); color: #fff; }
.vm-card.vision h3, .vm-card.vision p { color: #fff; }
.vm-card.mission { background: #fff; border: 1px solid var(--line); }

.chairman { background: #fff; }
.chairman-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 2rem; align-items: center; }
.chairman-photo { height: 520px; max-width: 420px; justify-self: center; background: linear-gradient(180deg, #f8fbff, #eef4ff); display: flex; align-items: stretch; justify-content: center; }
.chairman-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; padding: 0; }
.chairman-photo::after { display: none; }
.chairman-panel { background: linear-gradient(180deg, #ffffff, #f8fbff); border: 1px solid var(--line); border-radius: 18px; padding: 1.4rem; box-shadow: var(--shadow-sm); }
.chairman-panel h3 { margin-bottom: .9rem; }
.chairman-panel p { margin-bottom: .8rem; }
.chairman-signoff { margin-top: 1rem; font-weight: 700; color: var(--royal-700); }

.companies { background: var(--surface); }
.companies-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.company-card { display: block; color: inherit; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--ease); }
.company-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.company-media { height: 240px; overflow: hidden; }
.company-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.company-card:hover .company-media img { transform: scale(1.05); }
.company-card:hover h3 { color: var(--royal-600); }
.company-body { padding: 1.2rem 1.2rem 1.35rem; }
.company-kicker { font-size: .72rem; letter-spacing: .11em; text-transform: uppercase; color: var(--royal-600); font-weight: 700; margin-bottom: .35rem; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.service-card { background: linear-gradient(180deg, #fff, #fbfdff); border: 1px solid var(--line); border-radius: 16px; padding: 1.5rem; box-shadow: var(--shadow-sm); transform-style: preserve-3d; transition: transform .18s ease-out, box-shadow .3s ease; }
.service-card:hover { box-shadow: var(--shadow-md); }
.service-num { font-weight: 800; color: var(--gold); letter-spacing: .08em; font-size: .78rem; }
.service-card h3 { margin: .35rem 0 .6rem; font-size: 1.08rem; }

.partners { color: #fff; background: linear-gradient(165deg, var(--royal-900), var(--royal-800)); }
.partners .section-title .tag { border-color: rgba(255,255,255,.3); color: #fff; }
.partners .section-title h2, .partners .section-title p { color: #fff; }
.globe-wrap { margin-top: 1rem; border: 1px solid rgba(255,255,255,.2); border-radius: 20px; overflow: hidden; background: radial-gradient(circle at 50% 20%, rgba(46,90,154,.35), rgba(7,21,45,.15)); }
#partnersGlobe { width: 100%; height: 420px; display: block; }

.infrastructure { background: var(--surface); }
.infra-photo { min-height: 420px; }
.infra-photo img { height: 100%; object-fit: cover; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.contact-panel { background: linear-gradient(155deg, var(--royal-900), var(--royal-700)); color: #fff; border-radius: 18px; padding: 1.5rem; }
.contact-panel h3, .contact-panel p, .contact-panel li { color: rgba(255,255,255,.94); }
.contact-panel ul { list-style: none; display: grid; gap: .7rem; margin-top: 1rem; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.2rem; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.field { position: relative; margin-bottom: .9rem; }
.field input, .field textarea { width: 100%; border: 1px solid #c9d5e8; border-radius: 12px; background: #fff; padding: 1.1rem .85rem .65rem; font: inherit; color: var(--ink); outline: none; transition: var(--ease); }
.field textarea { min-height: 120px; resize: vertical; }
.field label { position: absolute; left: .82rem; top: .86rem; font-size: .9rem; color: #6f7e97; pointer-events: none; transition: var(--ease); background: #fff; padding-inline: .15rem; }
.field input:focus, .field textarea:focus { border-color: var(--royal-600); box-shadow: 0 0 0 4px rgba(26, 78, 150, .12); }
.field input:focus + label, .field textarea:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-1.1rem); font-size: .72rem; color: var(--royal-700); }

footer { position: relative; color: #fff; background: linear-gradient(170deg, var(--royal-900), #050f21); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 1.2rem; }
.footer-grid h4 { color: #fff; margin-bottom: .8rem; }
.footer-grid ul { list-style: none; display: grid; gap: .45rem; }
.footer-grid a { color: rgba(255,255,255,.72); }
.newsletter { border: 1px solid rgba(255,255,255,.2); border-radius: 14px; padding: .85rem; background: rgba(255,255,255,.05); }
.newsletter-row { display: flex; gap: .5rem; margin-top: .55rem; }
.newsletter input { flex: 1; border: 1px solid rgba(255,255,255,.26); background: rgba(255,255,255,.08); color: #fff; border-radius: 10px; padding: .62rem .7rem; }
.newsletter button { border: none; background: var(--gold); color: #1f2a3d; border-radius: 10px; font-weight: 700; padding: .62rem .85rem; cursor: pointer; }
.footer-bottom { margin-top: 2rem; border-top: 1px solid rgba(255,255,255,.12); padding-top: 1rem; color: rgba(255,255,255,.64); font-size: .84rem; }

#toTop { position: fixed; right: 20px; bottom: 18px; z-index: 9997; width: 44px; height: 44px; border: none; border-radius: 12px; display: grid; place-items: center; background: var(--royal-800); color: #fff; box-shadow: var(--shadow-md); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px); transition: var(--ease); }
#toTop.show { opacity: 1; visibility: visible; transform: translateY(0); }

.reveal { opacity: 0; transform: translateY(28px); transition: .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

html[dir="rtl"] body { direction: rtl; font-family: Cairo, Inter, sans-serif; }
html[dir="rtl"] .topbar-row,
html[dir="rtl"] .navbar,
html[dir="rtl"] .topbar-left,
html[dir="rtl"] .topbar-right,
html[dir="rtl"] .logo { flex-direction: row-reverse; }
html[dir="rtl"] .nav-links { direction: rtl; }
html[dir="rtl"] .list-check li { text-align: right; }
html[dir="rtl"] .contact-panel,
html[dir="rtl"] .form-card,
html[dir="rtl"] .chairman-panel,
html[dir="rtl"] .company-body,
html[dir="rtl"] .why-card,
html[dir="rtl"] .service-card { text-align: right; }
html[dir="rtl"] .field label { left: auto; right: .82rem; }
html[dir="rtl"] .mobile-panel { right: auto; left: -360px; }
html[dir="rtl"] .mobile-panel.open { left: 0; }

@media (max-width: 1024px) {
  .services-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .contact-grid, .chairman-grid { grid-template-columns: 1fr; }
  .frame.tall { height: 380px; }
  .chairman-photo { height: 460px; max-width: 380px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .topbar { display: none; }
  .nav-links { display: none; }
  .mobile-toggle { display: inline-block; }
  .stats-row { grid-template-columns: 1fr; }
  .services-grid, .why-grid, .vm-grid, .companies-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
