:root {
  --blue: #1769d1; --blue-dark: #0d3f9e; --navy: #12254d; --sky: #e1edff;
  --paper: #f7faff; --soft: #eef4ff; --muted: #63718a; --line: rgba(18,37,77,.12);
  --white: #fff; --accent: #56a7ff; --shadow: 0 22px 60px rgba(23,71,145,.12);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { min-height: 100vh; color: var(--navy); background: var(--paper); font-family: "Manrope","Cairo",sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body[dir="rtl"] { font-family: "Cairo","Manrope",sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
ul { list-style: none; }
.container { width: min(1160px, calc(100% - 48px)); margin: auto; }
.header { position: fixed; inset: 0 0 auto; z-index: 20; padding: 20px 0; transition: .3s; }
.header.scrolled { padding: 11px 0; background: rgba(247,250,255,.9); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(18px); }
.nav { display: flex; align-items: center; justify-content: flex-start; gap: 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { display: none; }
.brand-text { display: grid; line-height: 1.15; }
.brand-text strong { font-size: .9rem; }
.brand-text span { color: var(--muted); font-size: .62rem; font-weight: 700; margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 24px; margin-inline-start: 54px; margin-inline-end: auto; white-space: nowrap; }
.nav-links > a, .nav-dropdown summary { color: #526583; font-size: .78rem; font-weight: 800; }
.nav-links > a:hover, .nav-dropdown summary:hover { color: var(--blue); }
.nav-dropdown { position: relative; }
.nav-dropdown summary { display: flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; }
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown summary span { color: var(--blue); font-size: 1rem; transition: transform .2s; }
.nav-dropdown[open] summary span { transform: rotate(180deg); }
.nav-dropdown-menu { position: absolute; top: calc(100% + 17px); inset-inline-start: 50%; display: grid; min-width: 205px; padding: 9px; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: 0 14px 35px rgba(23,71,145,.13); transform: translateX(-50%); }
.nav-dropdown-menu::before { content: ""; position: absolute; top: -6px; left: 50%; width: 11px; height: 11px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: #fff; transform: translateX(-50%) rotate(45deg); }
.nav-dropdown-menu a { padding: 8px 10px; border-radius: 9px; color: #526583; font-size: .74rem; font-weight: 700; white-space: nowrap; }
.nav-dropdown-menu a:hover { color: var(--blue); background: var(--paper); }
.nav-actions { display: flex; align-items: center; gap: 11px; }
.lang-switch { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--navy); background: transparent; font-size: .72rem; font-weight: 800; }
.lang-switch:hover { color: var(--blue); border-color: var(--blue); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; font-size: .8rem; font-weight: 800; transition: .25s; }
.btn:hover { transform: translateY(-3px); }
.btn-primary { color: #fff; background: var(--blue); box-shadow: 0 11px 25px rgba(23,105,209,.2); }
.btn-primary:hover { background: var(--blue-dark); box-shadow: 0 15px 31px rgba(23,105,209,.28); }
.btn-light { color: var(--blue-dark); border-color: rgba(23,105,209,.18); background: #fff; }
.btn-arrow::after { content: "↗"; font-size: 1rem; }
body[dir="rtl"] .btn-arrow::after { content: "↖"; }
.menu-toggle { display: none; border: 0; color: var(--navy); background: transparent; font-size: 1.5rem; }
.back-to-top { position: fixed; z-index: 18; right: 25px; bottom: 25px; display: grid; place-items: center; width: 45px; height: 45px; border: 1px solid rgba(23,105,209,.2); border-radius: 50%; color: #fff; background: var(--blue); box-shadow: 0 12px 25px rgba(23,71,145,.24); font-size: 1.3rem; line-height: 1; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .25s, visibility .25s, transform .25s, background .25s; }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--blue-dark); transform: translateY(-4px); }
body[dir="rtl"] .back-to-top { right: auto; left: 25px; }
.page-hero { position: relative; min-height: 245px; display: flex; align-items: end; padding: 120px 0 42px; overflow: hidden; background: linear-gradient(135deg,#f7faff,#e6f0ff); }
.page-hero::after { content: ""; position: absolute; width: 420px; height: 420px; border: 1px solid rgba(23,105,209,.15); border-radius: 50%; inset: -180px -100px auto auto; animation: ringFloat 11s ease-in-out infinite alternate; }
.page-hero-inner { position: relative; z-index: 1; max-width: 780px; }
.page-hero-inner > .eyebrow, .page-hero-inner > p { display: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--blue); font-size: .73rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
body[dir="rtl"] .eyebrow { letter-spacing: 0; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); }
.page-hero h1 { max-width: 800px; margin-top: 0; font-size: clamp(2rem,4vw,3.35rem); line-height: 1.08; letter-spacing: -.055em; }
body[dir="rtl"] .page-hero h1 { line-height: 1.3; letter-spacing: 0; }
.page-hero p { max-width: 630px; margin-top: 19px; color: var(--muted); font-size: 1rem; line-height: 1.85; }
.page-section { padding: 95px 0; }
.department-details { background: #fff; border-top: 1px solid var(--line); }
.details-shell { max-width: 940px; margin: auto; }
.details-shell .section-title { margin-top: 13px; }
.details-shell p { max-width: 900px; margin-top: 18px; color: var(--muted); font-size: .94rem; line-height: 1.95; }
.details-shell .details-lead { color: var(--blue); font-weight: 800; letter-spacing: .04em; }
.details-shell h3 { margin-top: 34px; color: var(--navy); font-size: 1.18rem; }
.details-shell ul { display: grid; gap: 11px; margin-top: 16px; padding-inline-start: 22px; list-style: disc; color: var(--muted); }
.details-shell li { padding-inline-start: 5px; font-size: .9rem; line-height: 1.8; }
.details-shell li::marker { color: var(--blue); }
.section-title { max-width: 650px; font-size: clamp(2rem,4vw,3.3rem); line-height: 1.1; letter-spacing: -.06em; }
body[dir="rtl"] .section-title { line-height: 1.35; letter-spacing: 0; }
.section-copy { max-width: 620px; margin-top: 16px; color: var(--muted); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.media-card { position: relative; padding: 0 20px 20px 0; }
body[dir="rtl"] .media-card { padding: 0 0 20px 20px; }
.media-card img { position: relative; z-index: 1; width: 100%; height: 430px; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }
.media-card::after { content: ""; position: absolute; inset: 20px 0 0 20px; border-radius: 20px; background: var(--sky); }
body[dir="rtl"] .media-card::after { inset: 20px 20px 0 0; }
.checks { display: grid; gap: 12px; margin: 26px 0 30px; }
.checks li { display: flex; align-items: start; gap: 9px; color: #405273; font-size: .82rem; font-weight: 700; }
.checks li::before { content: "✓"; display: grid; place-items: center; flex: 0 0 21px; height: 21px; border-radius: 50%; color: var(--blue); background: var(--sky); font-size: .7rem; }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 42px; }
.card { padding: 27px; border: 1px solid rgba(23,105,209,.12); border-radius: 20px; background: #fff; transition: .3s; }
.card:hover { transform: translateY(-7px); box-shadow: 0 18px 38px rgba(23,71,145,.12); }
.card-number { color: var(--accent); font-size: .7rem; font-weight: 800; letter-spacing: .1em; }
.card-icon { display: grid; place-items: center; width: 47px; height: 47px; margin: 19px 0; border-radius: 14px; color: var(--blue); background: var(--sky); font-size: 1.3rem; }
.card h3 { font-size: 1rem; }
.card p { margin-top: 8px; color: var(--muted); font-size: .79rem; line-height: 1.75; }
.soft-section { background: var(--soft); }
.article-card { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; transition: .3s; }
.article-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.article-card img { width: 100%; height: 190px; object-fit: cover; }
.article-body { padding: 20px; }
.article-date { color: var(--blue); font-size: .68rem; font-weight: 800; }
.article-body h3 { margin-top: 8px; font-size: 1rem; line-height: 1.4; }
.article-body p { margin-top: 8px; color: var(--muted); font-size: .78rem; }
.article-read-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 17px; color: var(--blue); font-size: .73rem; font-weight: 800; }
.article-read-link:hover { color: var(--blue-dark); }
.article-reading-section { background: #fff; }
.article-back { display: inline-flex; margin-bottom: 25px; color: var(--blue); font-size: .78rem; font-weight: 800; }
.article-back:hover { color: var(--blue-dark); }
.article-reading-card { display: grid; grid-template-columns: minmax(260px,.72fr) minmax(0,1.28fr); gap: 48px; padding: 35px; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); box-shadow: var(--shadow); }
.article-reading-card > img { width: 100%; height: 360px; object-fit: cover; border-radius: 17px; }
.article-reading-body { min-width: 0; }
.article-reading-body p { margin-top: 17px; color: var(--muted); font-size: .94rem; line-height: 2; }
.article-reading-body p:first-child { margin-top: 0; }
.article-reading-body h2 { margin-top: 31px; color: var(--navy); font-size: 1.28rem; }
.article-reading-body ul { display: grid; gap: 10px; margin-top: 16px; padding-inline-start: 22px; list-style: disc; color: var(--muted); }
.article-reading-body li { padding-inline-start: 5px; font-size: .9rem; line-height: 1.8; }
.article-reading-body li::marker { color: var(--blue); }
.article-reading-body .article-lead, .article-reading-body .article-quote { color: var(--blue); font-weight: 800; }
.article-reading-body .article-quote { padding: 16px 19px; border-inline-start: 3px solid var(--accent); border-radius: 8px; background: var(--sky); }
.article-reading-body .article-note { padding: 15px 18px; border-radius: 10px; background: var(--soft); }
.article-reading-body .article-signature { color: var(--navy); font-weight: 800; }
.article-source-note { margin-top: 18px; color: var(--muted); font-size: .7rem; text-align: center; }
.article-source-note a { color: var(--blue); font-weight: 800; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.contact-list { display: grid; gap: 21px; margin-top: 29px; }
.contact-item { display: flex; align-items: start; gap: 13px; }
.contact-icon { display: grid; place-items: center; flex: 0 0 40px; height: 40px; border-radius: 12px; color: var(--blue); background: var(--sky); }
.contact-item strong { display: block; font-size: .8rem; }
.contact-item span, .contact-item a { display: block; color: var(--muted); font-size: .76rem; margin-top: 3px; line-height: 1.55; }
.form-card { padding: 31px; border: 1px solid var(--line); border-radius: 23px; background: #fff; box-shadow: 0 15px 45px rgba(23,71,145,.06); }
.form-card h2 { font-size: 1.35rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 24px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1/-1; }
.field label { color: #4d5d7c; font-size: .71rem; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 10px; outline: 0; color: var(--navy); background: var(--paper); font-size: .78rem; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(23,105,209,.1); }
.field input.is-invalid, .field select.is-invalid, .field textarea.is-invalid { border-color: #d9534f; box-shadow: 0 0 0 4px rgba(217,83,79,.1); }
.form-card .btn { width: 100%; margin-top: 19px; }
.form-card .btn:disabled, .booking-form .btn:disabled { cursor: wait; opacity: .7; transform: none; }
.success { display: none; margin-top: 13px; padding: 11px; border-radius: 9px; color: #174f9d; background: var(--sky); font-size: .74rem; font-weight: 700; }
.success.form-error, .form-success.form-error { color: #9d302d; background: #ffeded; }
.footer { padding: 48px 0 23px; color: #a6b9dc; background: #0d1e42; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 35px; padding-bottom: 35px; }
.footer .brand-text strong { color: #fff; }
.footer .brand-text span, .footer-copy, .footer li a, .footer li span { color: #a6b9dc; }
.footer-copy { max-width: 270px; margin-top: 15px; font-size: .74rem; line-height: 1.8; }
.footer h4 { color: #fff; font-size: .78rem; margin-bottom: 13px; }
.footer li { margin-bottom: 8px; font-size: .73rem; }
.footer li a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 19px; border-top: 1px solid rgba(255,255,255,.1); color: #8299c2; font-size: .68rem; }
.smartlines-credit { margin-inline-start: auto; color: #8299c2; }
.smartlines-credit a { color: #a9c4e8; font-weight: 800; }
.smartlines-credit a:hover { color: #fff; }
.reveal { opacity: 0; transform: translateY(18px); transition: .7s cubic-bezier(.2,.8,.2,1); }
.reveal.visible { opacity: 1; transform: none; }
@keyframes ringFloat { from { transform: translate(0,0) rotate(0); } to { transform: translate(-25px,35px) rotate(15deg); } }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } .reveal { opacity: 1; transform: none; } }
@media (max-width: 1120px) and (min-width: 851px) {
  .nav-links { gap: 13px; }
  .nav-links > a, .nav-dropdown summary { font-size: .71rem; }
  .nav-actions .btn { padding-inline: 15px; font-size: .74rem; }
}
@media (max-width: 850px) {
  .nav-links { position: fixed; inset: 0 0 0 auto; display: flex; align-items: flex-start; flex-direction: column; justify-content: center; width: min(300px,82vw); margin: 0; padding: 35px; gap: 23px; background: #fff; box-shadow: -20px 0 50px rgba(18,37,77,.14); transform: translateX(100%); transition: transform .3s; }
  body[dir="rtl"] .nav-links { inset: 0 auto 0 0; transform: translateX(-100%); box-shadow: 20px 0 50px rgba(18,37,77,.14); }
  .nav-links.open, body[dir="rtl"] .nav-links.open { transform: translateX(0); }
  .nav-links > a, .nav-dropdown summary { font-size: .92rem; }
  .nav-dropdown { width: 100%; }
  .nav-dropdown-menu { position: static; min-width: 0; margin-top: 8px; padding: 6px; border: 0; border-inline-start: 2px solid var(--sky); border-radius: 0; box-shadow: none; transform: none; background: transparent; }
  .nav-dropdown-menu::before { display: none; }
  .nav-dropdown-menu a { padding: 7px 11px; }
  .nav-actions .btn { display: none; }
  .menu-toggle { display: block; }
  .back-to-top { right: 18px; bottom: 18px; width: 42px; height: 42px; }
  body[dir="rtl"] .back-to-top { right: auto; left: 18px; }
  .two-col, .contact-grid { grid-template-columns: 1fr; gap: 45px; }
  .cards-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
  .article-reading-card { grid-template-columns: 1fr; gap: 30px; }
  .article-reading-card > img { height: 300px; }
  .smartlines-credit { margin-inline-start: 0; }
}
@media (max-width: 560px) {
  .container { width: min(1160px, calc(100% - 36px)); }
  .brand-text span { display: none; }
  .page-hero { min-height: 190px; padding: 100px 0 30px; }
  .page-hero h1 { font-size: clamp(1.9rem,10vw,2.7rem); }
  .page-section { padding: 72px 0; }
  .media-card img { height: 330px; }
  .cards-grid { grid-template-columns: 1fr; }
  .form-card { padding: 21px 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .article-reading-card { padding: 20px 16px; }
  .article-reading-card > img { height: 235px; }
  .smartlines-credit { margin-inline-start: 0; }
}