/* About page ("من نحن", Figma 240:4195). Loaded only on this page by views/layout.php.
   Sizes are the 1440-wide design's; the breakpoints at the end tighten them. */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@600;700&display=swap');

.page-about main { background: #f2f2f2; overflow: hidden; }

/* Shared bits */
.about-eyebrow { gap: 9px; color: #68d7ff; font-size: 16px; line-height: 24.5px; letter-spacing: 0; }
.about-eyebrow::before { width: 28px; height: 2px; border-radius: 0; background: #039cd0; }
.about-eyebrow--sm { font-size: 14px; }
.page-about .accent { color: #0789bc; }

/* ---------- Hero (240:4197) ---------- */
.about-hero {
    position: relative;
    min-height: 891px;
    background:
        linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)),
        url(../img/about/hero-bg.png) 0 -202px / 100% 126.8% no-repeat,
        #0b1620;
    color: #fff;
}
.about-hero__inner { position: relative; width: 676px; margin-left: calc(50% - 53px); margin-right: auto; padding-block: 261px 100px; }
[dir="ltr"] .about-hero__inner { margin-left: calc(50% - 623px); }
.about-hero__eyebrow { gap: 9px; color: #68d7ff; font-size: 32px; line-height: 24.5px; letter-spacing: 0; }
.about-hero__eyebrow::before { width: 28px; height: 2px; border-radius: 0; background: #039cd0; }
.about-hero__title { margin-top: 94px; margin-inline-end: -70px; font-size: 67.68px; font-weight: 900; line-height: 79.86px; letter-spacing: -2.37px; }
.about-hero .accent { color: #68d7ff; }
.about-hero__lead { max-width: 670px; margin-top: 33px; color: #d3dce5; font-size: 24px; font-weight: 500; line-height: 35.1px; }
.about-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 33px; padding: 8px 0; }
.about-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 26px;
    height: 60px; padding: 0 24.8px; border-radius: 5px; color: #fff;
    font-size: 24px; font-weight: 500; line-height: 1.1; white-space: nowrap;
    transition: background-color .2s, transform .2s;
}
.about-btn img { width: 24px; height: 24px; }
.about-btn--primary { width: 321px; background: #039cd0; }
.about-btn--primary:hover { background: #0389b8; }
.about-btn--dark { width: 220px; background: #4b4a4b; }
.about-btn--dark:hover { background: #5b5a5b; }
.about-btn:active { transform: translateY(1px); }

/* ---------- Company introduction (Group 87) ---------- */
.about-intro { position: relative; z-index: 0; min-height: 924px; overflow: hidden; color: #000; }
.about-intro__photo { position: absolute; z-index: -2; top: -96px; left: calc(50% - 720px); width: 890px; height: 1020px; object-fit: cover; }
.about-intro__shape {
    position: absolute; z-index: -1; pointer-events: none;
    top: -768.1px; left: calc(50% - 310.24px); width: 1866.21px; height: 1723.04px;
    transform: rotate(15.14deg) skewX(-0.91deg);
}
.about-intro__shape img { position: absolute; top: 0; left: -3.92px; width: 1874.05px; max-width: none; height: 1790.07px; }
.about-intro__copy { position: relative; width: 545px; margin-left: calc(50% + 99px); margin-right: auto; padding-block: 85.6px 112px; }
.about-intro .eyebrow { color: #039cd0; gap: 9px; line-height: 24.5px; letter-spacing: 0; }
.about-intro .eyebrow::before { width: 28px; border-radius: 0; }
.about-intro__title { margin-top: 59px; margin-inline-end: -94px; font-size: 50px; font-weight: 900; line-height: 58.5px; letter-spacing: -1.125px; }
.about-intro__lead { margin-top: 42px; font-size: 24px; font-weight: 700; line-height: 38.5px; }
.about-intro__text { margin-top: 42px; font-size: 24px; line-height: 35.36px; }
.about-intro__text + .about-intro__text { margin-top: 26px; }
.about-intro__text strong { font-size: 17px; }
.about-intro__meta {
    display: flex; align-items: center; min-height: 67.39px; margin-top: 24px; padding: 5px 21.4px 5px 19px;
    border-inline-start: 2.4px solid #039cd0; font-size: 18px; font-weight: 700; line-height: 31.5px;
}

/* ---------- Scope of responsibility (240:4955) ---------- */
.about-scope { position: relative; z-index: 1; padding-block: 64px 40px; }
.about-scope__inner { width: min(1260px, 100% - 32px); margin-inline: auto; }
.about-scope__head { display: flex; flex-direction: column; align-items: flex-start; }
.about-scope__title { max-width: 724px; margin-top: 14px; color: #4b4a4b; font-size: 50px; font-weight: 900; line-height: 61.1px; }
.about-scope__intro { max-width: 712px; margin-top: 27px; margin-inline-start: 2px; color: #4b4a4b; font-size: 24px; font-weight: 500; line-height: 31.2px; }
.about-scope__grid { display: grid; grid-template-columns: repeat(3, 393px); justify-content: center; gap: 23px; margin-top: 42px; }
.about-card {
    min-height: 312px; padding: 32.2px 22.8px 28px 30.2px;
    border: .8px solid #e2eaf0; border-radius: 17px; background: #fff; color: #4b4a4b;
    filter: drop-shadow(0 12px 2px rgba(0, 0, 0, .25));
}
.about-card__num { display: block; color: #42c8f1; font-family: 'Arial', sans-serif; font-size: 36px; font-weight: 700; line-height: normal; letter-spacing: 1.4px; }
.about-card__title { margin-top: 20.6px; font-size: 25px; font-weight: 700; line-height: 35px; }
.about-card__text { margin-top: 21px; font-size: 20px; line-height: 32px; }

/* ---------- Beyond procedures (240:5070) ---------- */
.about-focus { position: relative; z-index: 0; padding-block: 64px 54px; }
.about-focus::before, .about-focus::after {
    content: ''; position: absolute; z-index: -1; top: 41px; width: 579px; height: 1324px; pointer-events: none;
    background: url(../img/about/deep-left.svg) no-repeat 0 0 / 100% 100%;
}
.about-focus::before { left: calc(50% - 716px); }
.about-focus::after { right: calc(50% - 715px); background-image: url(../img/about/deep-right.svg); transform: scaleX(-1); }
.about-focus__inner { width: min(1190px, 100% - 32px); margin-inline: auto; }
.about-focus__head { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 19.6px; }
.about-focus__title { margin-top: 12.3px; color: #4b4a4b; font-size: 50px; font-weight: 900; line-height: 62.1px; }
.about-focus__intro { max-width: 750px; margin-top: 22.5px; color: #4b4a4b; font-size: 24px; font-weight: 500; line-height: 34px; }
.about-row {
    display: flex; align-items: stretch;
    padding: .8px; border: .8px solid #e3eaf0; background: #fff;
    filter: drop-shadow(0 15px 15px rgba(0, 23, 43, .04));
}
.about-row + .about-row { margin-top: -.8px; }
.about-row--visual-start { flex-direction: row-reverse; }
.about-row__info { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 45px 55px; }
.about-row__kicker { color: #0296c5; font-size: 13px; font-weight: 800; line-height: 22.75px; }
.about-row:first-of-type .about-row__kicker { font-size: 16px; }
.about-row__title { margin-top: 9.8px; color: #132338; font-size: 32px; font-weight: 700; line-height: 44.8px; }
.about-row__text { max-width: 567.4px; margin-top: 19.3px; color: #586a7c; font-size: 20px; font-weight: 500; line-height: 32px; }
.about-row__tags { margin-top: 19.3px; color: #007ea9; font-size: 16px; font-weight: 800; line-height: 24.5px; }
.about-row__visual { position: relative; flex: none; width: 511px; min-height: 300px; overflow: hidden; background: #0b2539; }
.about-row__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Professional practice (240:5104) ---------- */
.about-commit {
    position: relative; z-index: 1; padding-block: 105px;
    background:
        radial-gradient(ellipse 422px 492px at 243px 425px, rgba(3, 156, 208, .15) 0%, rgba(2, 78, 104, .075) 50%, rgba(0, 0, 0, 0) 100%),
        linear-gradient(rgba(0, 0, 0, .82), rgba(0, 0, 0, .82)),
        url(../img/about/commitment-bg.png) center / cover no-repeat,
        #000;
    color: #fff;
}
.about-commit__inner { display: flex; align-items: flex-start; gap: 115.2px; width: min(1190px, 100% - 32px); min-height: 563px; margin-inline: auto; }
.about-commit__intro { flex: 0 1 445.64px; display: flex; flex-direction: column; gap: 17px; }
.about-commit__title { font-size: 50px; font-weight: 900; line-height: 62.4px; }
.about-commit__list { flex: 0 1 629.15px; padding-top: .8px; border-top: .8px solid #284258; }
.about-commit__line { display: flex; align-items: flex-end; gap: 64px; padding-block: 22px 22.8px; border-bottom: .8px solid #284258; }
.about-commit__num { flex: none; color: #51c9ed; font-family: var(--font-num, 'Arial Black', sans-serif); font-size: 15px; font-weight: 900; line-height: normal; }
.about-commit__item-title { font-size: 24px; font-weight: 700; line-height: 36.75px; }
.about-commit__item-text { margin-top: 5px; color: #a6b9c8; font-size: 18px; line-height: 27.75px; }

/* ---------- Team (240:4489) ---------- */
.about-team { background: #f2f2f2; padding-block: 64px; }
.about-team__inner { width: min(1278px, 100% - 32px); }
.about-team__head .sec-head__title { margin-top: 17px; color: #4b4a4b; font-size: 50px; font-weight: 700; line-height: 67px; letter-spacing: -1px; }
.about-team__head .sec-head__intro { margin-top: 18px; color: #4b4a4b; font-size: 24px; font-weight: 500; line-height: 39px; }
.about-team__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; margin-top: 45px; }
.about-member { display: flex; flex-direction: column; align-items: center; gap: 20px; width: 319.19px; padding: 10px; text-align: center; }
.about-member__photo { width: 226px; height: 226px; border-radius: 20px; object-fit: cover; }
.about-member__name { color: #039cd0; font-family: 'Raleway', 'Arial', sans-serif; font-size: 16px; font-weight: 700; line-height: 24px; }
.about-member__role { padding-block: 8px; color: #4b4a4b; font-family: 'Raleway', var(--font); font-size: 16px; font-weight: 600; line-height: 20px; }

/* ---------- Closing band (240:5117) ---------- */
.about-close { position: relative; z-index: 0; overflow: hidden; padding-block: 64px; background: linear-gradient(114.96deg, #06233d 0%, #034c6c 100%); color: #fff; }
.about-close::before {
    content: ''; position: absolute; z-index: -1; left: 0; right: 0; top: -75.59%; height: 285.29%; opacity: .2;
    background: url(../img/about/close-bg.png) 0 0 / 100% 100% no-repeat;
}
.about-close__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; width: min(1190px, 100% - 32px); margin-inline: auto; }
.about-close__copy { flex: 0 1 760px; display: flex; flex-direction: column; gap: 10px; }
.about-close__title { font-size: 38px; font-weight: 700; line-height: 66.5px; }
.about-close__text { color: #cbe2ee; font-size: 16px; line-height: 30.4px; }
.about-close__btn {
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    width: 304px; height: 54px; padding: 13.8px 24.8px; border: 1px solid #039cd0; border-radius: 5px;
    background: #fff; color: #0789bc; font-size: 16px; font-weight: 800; line-height: 24.5px;
    transition: background-color .2s, color .2s;
}
.about-close__btn:hover { background: #039cd0; color: #fff; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1439px) {
    .about-hero { background-size: auto, cover, auto; background-position: 0 0, center, 0 0; }
}

@media (max-width: 1280px) {
    .about-hero__inner { width: min(676px, 100% - 32px); margin-left: auto; margin-right: 6vw; }
    [dir="ltr"] .about-hero__inner { margin-left: 6vw; margin-right: auto; }
    .about-intro__copy { margin-left: auto; margin-right: 5vw; }
    [dir="ltr"] .about-intro__copy { margin-left: 5vw; margin-right: auto; }
    .about-scope__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .about-row__visual { width: 42%; }
}

@media (max-width: 1180px) {
    .about-hero { min-height: 0; }
    .about-hero__inner { margin-inline: auto !important; padding-block: 120px 90px; }
    .about-hero__title { margin-top: 48px; margin-inline-end: 0; font-size: 52px; line-height: 1.25; }
    .about-intro { min-height: 0; background: #fff; }
    .about-intro__photo { position: relative; top: auto; left: auto; display: block; width: 100%; height: 360px; object-position: center 40%; }
    .about-intro__shape { display: none; }
    .about-intro__copy { width: min(760px, 100% - 32px); margin-inline: auto !important; padding-block: 48px 64px; border-top: 6px solid #039cd0; }
    .about-intro__title { margin-inline-end: 0; margin-top: 28px; }
    .about-scope__grid { grid-template-columns: 1fr 1fr; }
    .about-focus::before, .about-focus::after { display: none; }
    .about-row, .about-row--visual-start { flex-direction: column; }
    .about-row__visual { width: 100%; height: 300px; order: -1; }
    .about-row + .about-row { margin-top: 18px; }
    .about-commit__inner { flex-direction: column; gap: 40px; min-height: 0; }
    .about-commit__intro, .about-commit__list { flex-basis: auto; width: 100%; }
    .about-close__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 760px) {
    .about-hero__inner { padding-block: 72px 64px; }
    .about-hero__eyebrow { font-size: 20px; line-height: 1.4; }
    .about-hero__title { margin-top: 28px; font-size: 38px; letter-spacing: -1px; }
    .about-hero__lead { margin-top: 20px; font-size: 18px; line-height: 1.8; }
    .about-btn { width: 100% !important; height: 54px; font-size: 20px; }
    .about-intro__photo { height: 260px; }
    .about-intro__title, .about-scope__title, .about-focus__title, .about-commit__title, .about-team__head .sec-head__title { font-size: 32px; line-height: 1.4; }
    .about-intro__lead { font-size: 20px; line-height: 1.7; margin-top: 24px; }
    .about-intro__text { font-size: 18px; line-height: 1.85; margin-top: 20px; }
    .about-scope__intro, .about-focus__intro, .about-team__head .sec-head__intro { font-size: 18px; line-height: 1.8; }
    .about-scope__grid { grid-template-columns: 1fr; }
    .about-card { min-height: 0; }
    .about-card__title { font-size: 22px; }
    .about-card__text { font-size: 17px; line-height: 1.85; }
    .about-row__info { padding: 28px 22px; }
    .about-row__title { font-size: 24px; line-height: 1.5; }
    .about-row__text { font-size: 17px; line-height: 1.85; }
    .about-row__visual { height: 220px; min-height: 0; }
    .about-commit { padding-block: 64px; }
    .about-commit__line { gap: 20px; }
    .about-commit__item-title { font-size: 20px; line-height: 1.5; }
    .about-commit__item-text { font-size: 16px; }
    .about-close__title { font-size: 28px; line-height: 1.5; }
    .about-close__btn { width: 100%; }
}
