.forsat {
    --f-night: #0b1729;
    --f-deep: #101f35;
    --f-ink: #172e49;
    --f-muted: #465d73;
    --f-light: #f1f5fa;
    --f-line: #ccd9e7;
    --f-gold: #f6cf8d;
    --f-teal: #9ae9db;
    color: var(--f-ink);
    background: var(--f-light);
}
.forsat-wrap { width: min(91%, 1320px); margin-inline: auto; }
.forsat section[id] { scroll-margin-top: 108px; }
.forsat-hero {
    position: relative; isolation: isolate; overflow: hidden; padding-bottom: 74px;
    color: #f4f9ff;
    background: radial-gradient(ellipse at 17% 59%, #214464 0%, transparent 62%), #0b1729;
}
.forsat-hero::before {
    position: absolute; z-index: -1; inset: 0; content: ""; pointer-events: none;
    background-image: linear-gradient(#a2c9f315 1px, transparent 1px), linear-gradient(90deg,#a2c9f315 1px,transparent 1px);
    background-size: 38px 38px; mask-image: linear-gradient(90deg, #000a, transparent 87%);
}
.forsat-top {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding-block: 17px; border-bottom: 1px solid #a4c7e54a;
}
.forsat-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.forsat-brand__mark {
    width: 78px; height: 49px; padding: 5px 7px; flex: none;
    display: grid; place-items: center; border-radius: 8px; background: #eef6ff; border: 1px solid #bad2e9;
}
.forsat-brand__mark img { height: 100%; width: 100%; object-fit: contain; }
.forsat-brand strong, .forsat-brand small { display: block; line-height: 1.55; }
.forsat-brand strong { color: #eef7ff; font-weight: 800; font-size: clamp(.85rem, 1.4vw, 1.1rem); }
.forsat-brand small { color: #bdcfe3; font-size: .76rem; }
.forsat-button {
    display: inline-flex; justify-content: space-between; align-items: center; text-align: right;
    gap: 14px; min-height: 44px; padding: 8px 13px; border: 1px solid transparent; border-radius: 9px;
    background: #193958; color: #f4f9ff; font-size: .94rem; font-weight: 800; line-height: 1.5;
    transition: background .22s, color .22s, box-shadow .22s, translate .22s;
}
.forsat-button:not([hidden]):hover { background: #28547b; translate: 0 -2px; }
.forsat-button[hidden] { display: none; }
.forsat-button > span {
    display: grid; place-items: center; width: 28px; height: 28px; flex: none;
    border: 1px solid currentColor; border-radius: 5px; font: 600 1rem/1 system-ui,sans-serif;
}
.forsat-button--gold { background: var(--f-gold); color: #292134; border-color: #ffe0ad; box-shadow: 0 6px 24px #f6cf8d28; }
.forsat-button--gold:not([hidden]):hover { background: #ffe7b7; color: #231a29; box-shadow: 0 9px 29px #f6cf8d42; }
.forsat-button--outline { background: #bedfff0a; color: #e2f3ff; border-color: #90b4d485; }
.forsat-button--outline:not([hidden]):hover { background: #b0d8fa27; }
.forsat-hero__grid {
    display: grid; grid-template-columns: minmax(0, .83fr) minmax(0,1.17fr);
    gap: clamp(20px, 4.7vw, 68px); align-items: center; padding-block: clamp(23px,3.7vw,54px) 9px;
}
.forsat-hero__copy { position: relative; z-index: 1; }
.forsat-eyebrow, .forsat-scene__top span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.forsat-eyebrow { color: #a9e9e0; font-weight: 800; }
.forsat-eyebrow i, .forsat-scene__top i { width: 7px; height: 7px; border: 1px solid #a9e9e0; border-radius: 50%; box-shadow: 0 0 10px #83dace80; }
.forsat-hero h1 {
    margin-block: 13px 14px; font-size: clamp(2.3rem,4.65vw,4.55rem); line-height: 1.43; font-weight: 870;
    letter-spacing: -.026em;
}
.forsat-hero h1 em { font-style: normal; color: #9de5d8; }
.forsat-hero__copy p { max-width: 490px; color: #c9dbee; font-size: clamp(1rem,1.45vw,1.24rem); line-height: 2.04; margin-bottom: 25px; }
.forsat-scene {
    --tilt-x: 0deg; --tilt-y: 0deg;
    position: relative; display: grid; min-width: 0;
    border: 1px solid #a6c5e055; border-radius: 18px; box-shadow: 0 26px 65px #050f2180;
    background: linear-gradient(145deg,#142b45,#0b1b30 72%);
}
.forsat-scene__top {
    position: absolute; inset-block-start: 0; inset-inline: 0; z-index: 1; pointer-events: none;
    display: flex; justify-content: space-between; gap: 8px; padding: 14px 17px; color: #d7eafa;
    font-size: .85rem; font-weight: 750;
}
.forsat-scene__index { color: #9bb9d2; }
.forsat-scene__viewport { min-width: 0; padding: 18px 4px 0; perspective: 950px; }
.forsat-model {
    display: block; width: 100%; height: auto;
    transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
    transform-origin: 50% 50%; transition: transform .27s var(--home-ease);
}
.forsat-station {
    transform-box: fill-box; transform-origin: center;
    opacity: .76; transition: transform .38s var(--home-ease), opacity .3s, filter .3s;
}
.forsat-station[data-station="industry"], .forsat-scene[data-active="research"] [data-station="research"],
.forsat-scene[data-active="application"] [data-station="application"] {
    opacity: 1; filter: drop-shadow(0 3px 8px #96edf065); transform: translateY(-5px);
}
.forsat-scene:is([data-active="research"],[data-active="application"]) [data-station="industry"] { opacity: .76; filter: none; transform: none; }
.forsat-scene__caption { position: relative; z-index: 1; padding: 0 13px 12px; }
.forsat-scene__stations { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
.forsat-scene__stations button {
    display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 4px 7px; min-height: 45px; padding: 6px;
    border: 1px solid #9dbbd951; border-radius: 8px; background: #142840; color: #d6e5f5; font-weight: 760;
    font-size: clamp(.73rem,1.1vw,.96rem); line-height: 1.4;
}
.forsat-scene__stations button span { color: #b1c9e1; }
.forsat-scene__stations button:hover { background: #1c4157; }
.forsat-scene__stations button[aria-pressed="true"] { color: #c1fff2; background: #1b4653; border-color: #78cbbd; }
.forsat-scene__stations button[aria-pressed="true"] span { color: #b9eee4; }
.forsat-scene__caption p { min-height: 2.7em; margin-block: 8px 1px; color: #c7daed; line-height: 1.6; font-size: .87rem; }

.forsat-figures {
    position: relative; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: -35px;
    border: 1px solid var(--f-line); border-radius: 14px; box-shadow: 0 13px 38px #122e4b14; background: #fff;
}
.forsat-figures > div { display: flex; flex-direction: column-reverse; gap: 5px; justify-content: center; padding: 18px clamp(12px,2.8vw,38px); }
.forsat-figures > div + div { border-inline-start: 1px solid var(--f-line); }
.forsat-figures dt { color: var(--f-muted); font-size: clamp(.82rem,1.2vw,.99rem); }
.forsat-figures dd, .forsat-journey__total b {
    color: #1a526c; font: 600 clamp(1.8rem,3.4vw,3.65rem)/1.05 "IBM Plex Persian Digits",var(--site-font);
    font-variant-numeric: tabular-nums;
}
.forsat-section { padding-block: clamp(46px,7vw,100px); }
.forsat-heading {
    display: grid; grid-template-columns: minmax(0,1.28fr) minmax(0,.72fr); align-items: end;
    gap: clamp(12px,4vw,48px); padding-bottom: 20px; margin-bottom: 23px; border-bottom: 1px solid var(--f-line);
}
.forsat h2 { font-size: clamp(1.8rem,3.7vw,3.8rem); font-weight: 850; line-height: 1.5; text-wrap: balance; }
.forsat-heading span,.forsat-section-label,.forsat-purpose article > span { color: #275a78; font-size: .88rem; font-weight: 800; }
.forsat-heading p,.forsat-purpose p,.forsat-journey p,.forsat-contact p { color: var(--f-muted); font-size: 1.02rem; line-height: 1.95; }
.forsat-purpose { display: grid; grid-template-columns: minmax(0,1.2fr) repeat(2,minmax(0,.85fr)); gap: 12px; }
.forsat-purpose article {
    display: flex; flex-direction: column; align-items: start; justify-content: end; gap: 11px;
    min-height: 217px; padding: clamp(15px,2.6vw,34px); border: 1px solid var(--f-line); border-radius: 13px; background: #fff;
}
.forsat-purpose article > span { margin-bottom: auto; }
.forsat-purpose h3 { font-size: clamp(1.15rem,2vw,1.7rem); line-height: 1.55; font-weight: 830; }
.forsat-purpose .forsat-purpose__lead { background: radial-gradient(ellipse at 10% 0%,#2a5873,transparent 67%),#142e4a; border-color: #315573; color: #eef8ff; }
.forsat-purpose .forsat-purpose__lead > span, .forsat-purpose .forsat-purpose__lead p { color: #c5e2f4; }
.forsat-purpose__lead svg { height: 49px; width: auto; max-width: 100%; stroke: #97e6d7; stroke-width: 1.4; }

.forsat-catalog { background: #e6eef7; border-block: 1px solid #d5e0ee; }
.forsat-filters {
    display: grid; grid-template-columns: minmax(0,1.65fr) repeat(3,minmax(0,1fr)); gap: 10px;
    border: 1px solid #c7d8e8; border-radius: 13px; background: #f8fbff; padding: 13px;
}
.forsat-filters label { display: grid; min-width: 0; gap: 5px; font-weight: 740; font-size: .91rem; }
.forsat-filters :is(input,select) { width: 100%; min-width: 0; border: 1px solid #b7ccdf; border-radius: 8px; color: var(--f-ink); background: #fff; padding: 9px 10px; min-height: 45px; font-weight: 500; }
.forsat-filters input::placeholder { color: #506984; opacity: 1; }
.forsat-results { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 9px; padding: 13px 1px; color: #344f67; font-size: .92rem; }
.forsat-results button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid #b8cadb; border-radius: 6px; background: #f7fbff; color: #285170; }
.forsat-results button:hover { background: #d8e6f3; }
.forsat-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.forsat-card {
    display: flex; flex-direction: column; min-width: 0; gap: 10px; padding: clamp(14px,1.8vw,24px);
    border: 1px solid #c6d7e8; border-radius: 12px; box-shadow: 0 7px 21px #1435520b; background: #fff;
    transition: translate .25s, border-color .25s, box-shadow .25s;
}
.forsat-card:has(button:enabled):is(:hover,:focus-within) { translate: 0 -4px; border-color: #8fb1ca; box-shadow: 0 14px 25px #14355219; }
.forsat-card__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; color: #47637b; font-size: .81rem; }
.forsat-card h3 { font-size: clamp(1.03rem,1.55vw,1.35rem); font-weight: 830; line-height: 1.6; }
.forsat-card p, .forsat-card__meta { line-height: 1.8; color: var(--f-muted); font-size: .91rem; overflow-wrap: anywhere; }
.forsat-card p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.forsat-card__meta { margin-top: auto; font-size: .83rem; }
.forsat-card button { display: flex; align-items: center; justify-content: space-between; text-align: right; padding-top: 9px; border-top: 1px solid #d5e1ed; color: #215372; font-weight: 760; }
.forsat-card button:hover:not(:disabled) { color: #0d3868; }
.forsat-card button:disabled { color: #536d81; cursor: default; }
.forsat-empty { grid-column: 1/-1; text-align: center; padding: 34px 14px; border: 1px dashed #a6bdcf; border-radius: 10px; color: var(--f-muted); }
.forsat-more { text-align: center; margin-top: 20px; }

.forsat-journey { display: grid; grid-template-columns: minmax(0,.76fr) minmax(0,1.24fr); align-items: start; gap: clamp(20px,6vw,90px); }
.forsat-journey__intro { position: sticky; top: 118px; }
.forsat-journey__intro p { max-width: 480px; margin: 10px 0 17px; }
.forsat-journey__total { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.forsat-journey__total span { color: #3f5b72; font-weight: 730; line-height: 1.5; }
.forsat-steps { display: grid; gap: 8px; position: relative; }
.forsat-steps::before { content: ""; position: absolute; inset-block: 18px; inset-inline-start: 27px; width: 1px; background: #a7c1d7; }
.forsat-steps li {
    display: grid; grid-template-columns: 40px minmax(0,1fr); align-items: center; gap: 13px; min-height: 57px;
    padding: 8px; border: 1px solid #cfdfec; border-radius: 9px; background: #fff; transition: background .24s, border-color .24s;
}
.forsat-steps li:hover { background: #e5f0f6; border-color: #9dbbd0; }
.forsat-steps li > span { position: relative; display: grid; place-items: center; height: 37px; border-radius: 6px; background: #1d4863; color: #f2fbff; font-weight: 820; }
.forsat-steps h3 { font-size: clamp(.97rem,1.35vw,1.17rem); font-weight: 770; line-height: 1.6; }
.forsat-contact { color: #f4f9ff; background: radial-gradient(ellipse at 13% 110%, #285471, transparent 67%),#0d2035; }
.forsat-contact__inner {
    display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,.5fr); gap: 24px; align-items: center; padding-block: clamp(40px,7vw,95px);
}
.forsat-contact .forsat-section-label { color: #a9e9e0; }
.forsat-contact p { color: #c8dcee; }
.forsat-contact__links { display: grid; justify-items: start; gap: 12px; }
.forsat-contact__links a[dir] { color: #cce6fb; text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.forsat-dialog {
    position: fixed; inset: 0; margin: auto; width: min(92%,650px); max-height: 90dvh; overflow: auto; padding: clamp(16px,4vw,33px);
    border: 1px solid #b9d0e4; border-radius: 15px; background: #f6fbff; color: var(--f-ink);
}
.forsat-dialog::backdrop { background: #071425dc; backdrop-filter: blur(5px); }
.forsat-dialog__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.forsat-dialog__head button { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 8px; color: #174263; background: #dceaf5; font-size: 1.5rem; }
.forsat-dialog h2 { margin-top: 10px; font-size: clamp(1.32rem,3vw,2.2rem); }
.forsat-dialog__meta { margin: 9px 0; color: #365f79; font-weight: 740; }
.forsat-dialog p { white-space: pre-line; overflow-wrap: anywhere; margin-bottom: 18px; line-height: 1.95; color: var(--f-muted); }

@media(max-width: 900px) {
    .forsat-hero__grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 15px; }
    .forsat-purpose { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .forsat-purpose__lead { grid-column: 1/-1; }
    .forsat-filters,.forsat-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width: 690px) {
    .forsat-wrap { width: calc(100% - 34px); }
    .forsat-top { padding-block: 12px; }
    .forsat-brand { gap: 6px; }
    .forsat-brand__mark { width: 46px; height: 38px; padding: 4px; }
    .forsat-brand small { display: none; }
    .forsat-top .forsat-button { font-size: .83rem; padding-inline: 7px; gap: 5px; }
    .forsat-top .forsat-button span { width: 22px; height: 22px; font-size: .9rem; }
    .forsat-hero { padding-bottom: 58px; }
    .forsat-hero__grid, .forsat-heading, .forsat-journey, .forsat-contact__inner { grid-template-columns: minmax(0,1fr); }
    .forsat-hero__grid { gap: 20px; }
    .forsat-hero h1 { font-size: clamp(2.28rem,8vw,3.6rem); }
    .forsat-hero__copy p { margin-bottom: 16px; }
    .forsat-scene__top { padding: 9px 11px; font-size: .76rem; }
    .forsat-scene__viewport { padding-top: 25px; }
    .forsat-scene__caption { padding-inline: 7px; }
    .forsat-scene__caption p { font-size: .8rem; min-height: 3.2em; }
    .forsat-figures { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .forsat-figures > div:nth-child(3) { border-inline-start: 0; }
    .forsat-figures > div:nth-child(n+3) { border-top: 1px solid var(--f-line); }
    .forsat-journey__intro { position: static; }
}
@media(max-width: 500px) {
    .forsat-purpose,.forsat-cards { grid-template-columns: minmax(0,1fr); }
    .forsat-purpose article { min-height: 0; }
    .forsat-filters__search { grid-column: 1/-1; }
    .forsat-filters label:last-child { grid-column: 1/-1; }
}
@media(prefers-reduced-motion: no-preference) {
    .forsat-hero__copy,.forsat-scene { animation: forsat-enter .78s var(--home-ease) both; }
    .forsat-scene { animation-delay: .09s; }
    .forsat-energy { stroke-dasharray: 12 7; animation: forsat-flow 3s linear 2; }
    @keyframes forsat-enter { from { opacity: 0; translate: 0 16px; } }
    @keyframes forsat-flow { to { stroke-dashoffset: -114; } }
}
@media(prefers-reduced-motion: reduce) {
    .forsat :is(.forsat-button,.forsat-card,.forsat-model,.forsat-station) { transition: none; }
    .forsat :is(.forsat-button,.forsat-card):is(:hover,:focus-within) { translate: none; }
}

/* تفاصيل الفرص: معلومات واضحة وإجراءات ثابتة */
.forsat-filters { grid-template-columns: minmax(0,2fr) repeat(2,minmax(0,1fr)); }
.forsat-card__company { color: #20536d; font-weight: 750; overflow-wrap: anywhere; }
.forsat-dialog { padding: 0; width: min(94%,900px); max-height: 90dvh; overflow: hidden; border: 0; background: #fff; box-shadow: 0 30px 100px #07142550; }
.forsat-dialog[open] { display: flex; flex-direction: column; }
.forsat-dialog__head { padding: 18px 26px; background: #0d2035; color: #fff; flex-shrink: 0; }
.forsat-dialog__head > span { font-size: .85rem; }
.forsat-dialog__head button { background: #ffffff16; color: #fff; border: 1px solid #ffffff35; border-radius: 50%; }
.forsat-dialog__head button:hover { background: #ffffff30; }
.forsat-dialog__scroll { overflow-y: auto; overscroll-behavior: contain; padding: 28px 32px; scrollbar-gutter: stable; }
.forsat-dialog h2 { margin: 0 0 24px; font-size: clamp(1.25rem,2.3vw,1.8rem); line-height: 1.9; }
.forsat-dialog__facts { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 28px; border: 1px solid #d3e0eb; border-radius: 12px; overflow: hidden; background: #f3f7fa; }
.forsat-dialog__facts > div { padding: 16px 20px; min-width: 0; }
.forsat-dialog__facts > div:last-child { grid-column: 1/-1; border-top: 1px solid #d3e0eb; }
.forsat-dialog__facts dt { font-size: .78rem; color: #536d81; margin-bottom: 6px; }
.forsat-dialog__facts dd { font-size: .92rem; line-height: 1.9; font-weight: 730; margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.forsat-dialog__scroll h3 { font-size: 1rem; padding-inline-start: 12px; border-inline-start: 3px solid #479e92; margin-bottom: 15px; }
.forsat-dialog #detail-description { font-size: .95rem; line-height: 2.3; color: #3d5366; margin-bottom: 0; }
.forsat-dialog__footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 26px; border-top: 1px solid #d3e0eb; background: #f8fbfd; flex-shrink: 0; }
.forsat-dialog__footer .site-bookmark { margin: 0; }
@media(max-width:900px) { .forsat-filters { grid-template-columns: 1fr 1fr; } .forsat-filters__search { grid-column: 1/-1; } }
@media(max-width:500px) {
    .forsat-filters label:last-child { grid-column: auto; }
    .forsat-dialog { width: calc(100% - 20px); max-height: 93dvh; border-radius: 14px; }
    .forsat-dialog__head { padding: 13px 16px; }
    .forsat-dialog__scroll { padding: 22px 18px; }
    .forsat-dialog__facts { grid-template-columns: 1fr; }
    .forsat-dialog__facts > div { padding: 12px 16px; }
    .forsat-dialog__facts > div + div { border-top: 1px solid #d3e0eb; }
    .forsat-dialog #detail-description { font-size: .9rem; }
    .forsat-dialog__footer { flex-direction: column; align-items: stretch; padding: 15px 18px; gap: 12px; }
    .forsat-dialog__footer .forsat-button { justify-content: center; }
}
