/* =========================================================
   ABOUT PAGE — SAME VISUAL SYSTEM AS TECHNOLOGY PAGE
   HTML CONTENT & STRUCTURE ARE UNCHANGED
   ========================================================= */

/* ---------- WHY MISR / HERO ---------- */

.about-why {
    position: relative;
    padding: 92px 0 100px;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 18%, rgba(0,107,82,.08), transparent 28%),
        radial-gradient(circle at 88% 72%, rgba(143,209,189,.11), transparent 30%);
}



.about-why::after {
    content: "";
    position: absolute;
    width: 330px;
    height: 330px;
    left: -210px;
    bottom: -190px;
    border: 1px solid rgba(0,107,82,.07);
    border-radius: 50%;
    pointer-events: none;
}

.about-section-head {
    position: relative;
    z-index: 1;
    max-width: 850px;
    margin: 0 auto 58px;
    text-align: center;
}

.about-eyebrow,
.strength-eyebrow {

    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;

    color: #006b52;
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .13em;
    text-transform: uppercase;
}


/* Arabic */
html[dir="rtl"] .about-eyebrow,
html[dir="rtl"] .strength-eyebrow {
    font-size: 2rem;
    letter-spacing: 0;
}

.about-eyebrow::before,
.strength-eyebrow::before,
.about-company .about-label span::before,
.mission-label span::before {
    content: "";
    width: 26px;
    height: 2px;
    flex: 0 0 26px;
    background: #8fd1bd;
}

.about-section-head h1 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 800;
    line-height: 1.03;
    letter-spacing: -.045em;
    text-wrap: balance;
}




/* ---------- ABOUT COMPANY ---------- */

.about-company {
    position: relative;
    padding: 92px 0;
    background: #fff;
}

.about-company .about-company-content {
    position: relative;
    max-width: none;

    padding: clamp(44px, 5vw, 64px);

    overflow: hidden;

    border: 1px solid rgba(143,209,189,.15);
    border-radius: 32px;

    background:
        radial-gradient(
            circle at 8% 14%,
            rgba(143,209,189,.15),
            transparent 27%
        ),
        radial-gradient(
            circle at 94% 88%,
            rgba(0,107,82,.24),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #09271f 0%,
            #103d31 60%,
            #0a3027 100%
        );

    box-shadow: 0 30px 80px rgba(8,38,31,.16);

    isolation: isolate;

    transition:
        transform .28s ease,
        box-shadow .28s ease;
}





.about-company .about-company-content::after {
    content: "MISR";
    position: absolute;
    right: 25px;
    bottom: -55px;
    font-size: 9rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.08em;
    color: rgba(255,255,255,.035);
    pointer-events: none;
}

.about-company .about-company-content > * {
    position: relative;
    z-index: 1;
}

.about-company .about-company-content:hover {
    transform: translateY(-4px);
    box-shadow: 0 36px 88px rgba(8,38,31,.20);
}

.about-company .about-label span,
.mission-label span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: #8fd1bd;
    font-size: .72rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.about-company .about-company-content h2 {
    max-width: 850px;
    margin: 0 0 23px;
    color: #fff;
    font-size: clamp(2.3rem, 4vw, 3.5rem);
     font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.04em;
    text-wrap: balance;
}

.about-company .about-company-content p {
    max-width: 1150px;
    margin: 0 0 18px;
    color: rgba(255,255,255,.84);
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.85;
}

.about-company .about-company-content p:last-child {
    margin-bottom: 0;
}


/* ---------- FEATURE GRID ---------- */

.about-features {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

/* ---------- FEATURE CARD ---------- */

.about-feature {
    position: relative;
    min-width: 0;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    padding: 28px;
    overflow: hidden;
    border: 1px solid #dfe9e4;
    border-radius: 24px;
    background: linear-gradient(145deg, #fff 0%, #f8fbf9 100%);
    box-shadow: 0 12px 32px rgba(10,30,24,.05);
    transition:
        transform .28s ease,
        border-color .28s ease,
        box-shadow .28s ease,
        background .28s ease;
}

.about-feature::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    height: 0;
    background: #006b52;
    transition: height .28s ease;
}

.about-feature::after {
    content: "";
    position: absolute;
    width: 145px;
    height: 145px;
    right: -72px;
    bottom: -72px;
    border: 1px solid rgba(0,107,82,.07);
    border-radius: 50%;
    pointer-events: none;
    transition: transform .35s ease, border-color .35s ease;
}

.about-feature:hover {
    transform: translateY(-7px);
    border-color: #bfd9cf;
    background: #fff;
    box-shadow: 0 20px 44px rgba(10,30,24,.10);
}

.about-feature:hover::before {
    height: 100%;
}

.about-feature:hover::after {
    transform: scale(1.35);
    border-color: rgba(143,209,189,.18);
}

/* subtle alternating treatment */
.about-feature:nth-child(3n + 2) {
    background:
        radial-gradient(circle at 92% 8%, rgba(143,209,189,.09), transparent 30%),
        #fff;
}

.about-feature:nth-child(3n) {
    background:
        radial-gradient(circle at 92% 8%, rgba(0,107,82,.055), transparent 30%),
        #fff;
}

/* ---------- ICON ---------- */

.about-icon {
    position: relative;
    z-index: 1;
    width: 76px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 76px;
    margin-bottom: 22px;
    padding: 11px;
    border: 1px solid rgba(0,107,82,.08);
    border-radius: 19px;
    background: #edf7f3;
    box-sizing: border-box;
    box-shadow: 0 8px 22px rgba(10,30,24,.045);
    overflow: hidden;
    transition:
        transform .28s ease,
        background .28s ease,
        box-shadow .28s ease;
}

.about-icon-svg {
    display: block;
    width: 52px;
    height: 52px;
    object-fit: contain;
    transition: filter .28s ease;
}

.about-feature:hover .about-icon {
    transform: translateY(-4px);
    background: #006b52;
    box-shadow: 0 12px 28px rgba(0,107,82,.18);
}

.about-feature:hover .about-icon img {
    filter: brightness(0) invert(1);
}

/* ---------- NUMBER ---------- */

.about-number,
.strength-number {
    position: relative;
    z-index: 1;
    width: fit-content;
    min-width: 38px;
    height: 27px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 9px;
    margin-bottom: 11px;
    border-radius: 999px;
    background: #edf7f3;
    color: #006b52;
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .06em;
    transition: background .25s ease, color .25s ease;
}

.about-feature:hover .about-number,
.strength-card:hover .strength-number {
    background: #006b52;
    color: #fff;
}

/* ---------- FEATURE TEXT ---------- */

.about-feature h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 10px;
    color: var(--ink);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -.02em;
}

.about-feature p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #596861;
    font-size: .9rem;
    font-weight: 400;
    line-height: 1.75;
}


/* ---------- MISSION ---------- */

.about-mission {
    position: relative;
    padding: 0 0 92px;
    background: #fff;
}

.mission-box {
    position: relative;
    max-width: none;
    padding: clamp(44px, 5vw, 64px);
    overflow: hidden;
    border: 1px solid rgba(143,209,189,.15);
    border-radius: 32px;
    background:
        radial-gradient(circle at 8% 16%, rgba(143,209,189,.15), transparent 28%),
        radial-gradient(circle at 94% 88%, rgba(0,107,82,.24), transparent 34%),
        linear-gradient(135deg, #09271f 0%, #103d31 60%, #0a3027 100%);
    color: #fff;
    box-shadow: 0 30px 80px rgba(8,38,31,.15);
    isolation: isolate;
    transition: transform .28s ease, box-shadow .28s ease;
}

.mission-box::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    right: -210px;
    top: -220px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
    box-shadow:
        0 0 0 38px rgba(255,255,255,.018),
        0 0 0 76px rgba(255,255,255,.012);
    pointer-events: none;
}

.mission-box::after {
    content: "MISSION";
    position: absolute;
    right: 25px;
    bottom: -52px;
    font-size: 7.5rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.08em;
    color: rgba(255,255,255,.035);
    pointer-events: none;
}

.mission-box > * {
    position: relative;
    z-index: 1;
}

.mission-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 36px 88px rgba(8,38,31,.19);
}

.mission-content h2 {
    max-width: 880px;
    margin: 0 0 22px;
    color: #fff;
    font-size: clamp(2rem, 3.6vw, 3.2rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -.04em;
    text-wrap: balance;
}

.mission-content p {
    max-width: 950px;
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: .96rem;
    line-height: 1.85;
}

/* ---------- STRENGTH ---------- */

.about-strength {
    position: relative;
    padding: 0 0 100px;
    overflow: hidden;
    background: #f5f9f7;
}

.strength-head {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 44px;
}

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

.strength-card {
    position: relative;
    min-width: 0;
    min-height: 175px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px;
    overflow: hidden;
    border: 1px solid #dfe8e3;
    border-radius: 23px;
    background:
        radial-gradient(circle at 92% 8%, rgba(143,209,189,.09), transparent 32%),
        #fff;
    box-shadow: 0 12px 32px rgba(10,30,24,.05);
    transition:
        transform .28s ease,
        border-color .28s ease,
        box-shadow .28s ease;
}

.strength-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    height: 0;
    background: #006b52;
    transition: height .28s ease;
}

.strength-card::after {
    content: "";
    position: absolute;
    width: 145px;
    height: 145px;
    right: -72px;
    bottom: -72px;
    border: 1px solid rgba(0,107,82,.07);
    border-radius: 50%;
    pointer-events: none;
    transition: transform .35s ease, border-color .35s ease;
}

.strength-card:hover {
    transform: translateY(-6px);
    border-color: #bfd9cf;
    box-shadow: 0 20px 44px rgba(10,30,24,.09);
}

.strength-card:hover::before {
    height: 100%;
}

.strength-card:hover::after {
    transform: scale(1.35);
    border-color: rgba(143,209,189,.18);
}

.strength-card h3 {
    position: relative;
    z-index: 1;
    max-width: 390px;
    margin: 0;
    color: var(--ink);
    font-size: 1.06rem;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -.02em;
}

/* ---------- RTL ---------- */

html[dir="rtl"] .about-section-head,
html[dir="rtl"] .about-feature,
html[dir="rtl"] .about-company-content,
html[dir="rtl"] .mission-box,
html[dir="rtl"] .strength-card {
    direction: rtl;
}

html[dir="rtl"] .about-section-head {
    text-align: center;
}

html[dir="rtl"] .about-feature,
html[dir="rtl"] .about-company-content,
html[dir="rtl"] .mission-box,
html[dir="rtl"] .strength-card {
    text-align: right;
}
html[dir="rtl"] .about-company .about-company-content h2 {
    line-height: 1.5;
    letter-spacing: 0;
}

html[dir="rtl"] .about-company .about-company-content p {
    max-width: 1150px;
    font-size: 1.08rem;
    line-height: 2;
}

html[dir="rtl"] .about-feature::before,
html[dir="rtl"] .strength-card::before {
    left: auto;
    right: 0;
}

html[dir="rtl"] .about-company .about-company-content::before,
html[dir="rtl"] .mission-box::before {
    right: auto;
    left: -210px;
}

html[dir="rtl"] .about-company .about-company-content::after,
html[dir="rtl"] .mission-box::after {
    right: auto;
    left: 25px;
}

html[dir="rtl"] .about-eyebrow::before,
html[dir="rtl"] .strength-eyebrow::before,
html[dir="rtl"] .about-company .about-label span::before,
html[dir="rtl"] .mission-label span::before {
    order: 2;
}

/* ---------- TABLET ---------- */

@media (max-width: 1050px) {
    .about-why {
        padding: 78px 0 85px;
    }

    .about-section-head {
        margin-bottom: 44px;
    }

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

    .about-feature {
        min-height: 285px;
        padding: 26px;
    }

    .about-company {
        padding: 75px 0;
    }

    .about-company .about-company-content,
    .mission-box {
        padding: 48px;
        border-radius: 28px;
    }

    .about-mission {
        padding-bottom: 75px;
    }

    .about-strength {
        padding-bottom: 85px;
    }

    .strength-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ---------- MOBILE ---------- */

@media (max-width: 700px) {
    .about-why {
        padding: 58px 0 64px;
    }

    .about-section-head {
        margin-bottom: 34px;
        padding: 0 16px;
    }

    .about-eyebrow,
    .strength-eyebrow,
    .about-company .about-label span,
    .mission-label span {
        font-size: .65rem;
    }

    .about-section-head h1 {
        font-size: 2.1rem;
        line-height: 1.08;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .about-feature {
        min-height: auto;
        padding: 23px 20px;
        border-radius: 20px;
    }

    .about-icon {
        width: 66px;
        height: 66px;
        flex-basis: 66px;
        margin-bottom: 18px;
        padding: 9px;
        border-radius: 17px;
    }

    .about-icon-svg {
        width: 47px;
        height: 47px;
    }

    .about-feature h3 {
        font-size: 1rem;
    }

    .about-feature p {
        font-size: .86rem;
        line-height: 1.7;
    }

    .about-company {
        padding: 58px 0 64px;
    }

    .about-company .about-company-content,
    .mission-box {
        margin: 0;
        padding: 34px 22px;
        border-radius: 23px;
    }

    .about-company .about-company-content h2,
    .mission-content h2 {
        margin-bottom: 19px;
        font-size: 1.9rem;
        line-height: 1.12;
    }

    .about-company .about-company-content p,
    .mission-content p {
        font-size: .96rem;
        line-height: 1.9;
    }

    html[dir="rtl"] .about-company .about-company-content h2 {
        font-size: 1.85rem;
        line-height: 1.65;
    }

    html[dir="rtl"] .about-company .about-company-content p {
        font-size: 1rem;
        line-height: 2;
    }

    .about-company .about-company-content::before,
    .mission-box::before {
        width: 300px;
        height: 300px;
        right: -170px;
        top: -165px;
    }

    .about-company .about-company-content::after,
    .mission-box::after {
        font-size: 6rem;
        right: 15px;
        bottom: -34px;
    }

    .about-mission {
        padding-bottom: 64px;
    }

    .about-strength {
        padding-bottom: 66px;
    }

    .strength-head {
        margin-bottom: 30px;
    }

    .strength-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .strength-card {
        min-height: auto;
        padding: 22px 20px;
        border-radius: 20px;
    }

    .strength-card h3 {
        max-width: 100%;
        font-size: 1rem;
        line-height: 1.38;
    }
}

/* ---------- SMALL MOBILE ---------- */

@media (max-width: 420px) {
    .about-section-head h1 {
        font-size: 1.82rem;
    }

    .about-feature {
        padding: 22px 18px;
        border-radius: 19px;
    }

    .about-icon {
        width: 62px;
        height: 62px;
        flex-basis: 62px;
    }

    .about-icon-svg {
        width: 44px;
        height: 44px;
    }

    .about-feature h3 {
        font-size: .97rem;
    }

    .about-feature p {
        font-size: .84rem;
    }

    .about-company .about-company-content,
    .mission-box {
        padding: 31px 19px;
        border-radius: 21px;
    }

    .about-company .about-company-content h2,
    .mission-content h2 {
        font-size: 1.7rem;
    }

    .about-company .about-company-content p,
    .mission-content p {
        font-size: .92rem;
        line-height: 1.9;
    }

    html[dir="rtl"] .about-company .about-company-content h2 {
        font-size: 1.7rem;
        line-height: 1.65;
    }

    html[dir="rtl"] .about-company .about-company-content p {
        font-size: .96rem;
        line-height: 2;
    }

    .strength-card {
        padding: 21px 18px;
        border-radius: 19px;
    }
}

/* ---------- REDUCED MOTION ---------- */

@media (prefers-reduced-motion: reduce) {
    .about-feature,
    .about-icon,
    .about-company-content,
    .mission-box,
    .strength-card {
        transition: none;
    }

    .about-feature:hover,
    .about-company-content:hover,
    .mission-box:hover,
    .strength-card:hover {
        transform: none;
    }
}

/* =========================================================
   ABOUT COMPANY + MISSION — SHARED BOX GEOMETRY
========================================================= */

.about-company .about-company-content,
.mission-box {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}


/* =========================================================
   DESKTOP
========================================================= */

@media (min-width: 1051px) {

    .about-company {
        width: 100%;
        padding: 5px 0 72px;
        box-sizing: border-box;
    }

    .about-company > .container {
        width: 100%;
        max-width: var(--container-width, 1280px);
        margin-inline: auto;
        padding-inline: 0;
        position: static;
        transform: none;
        box-sizing: border-box;
    }

    .about-company .about-company-content,
    .mission-box {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: clamp(44px, 5vw, 64px);
        border-radius: 32px;
    }

    .about-company .about-company-content h2 {
        max-width: 880px;
        margin: 0 0 22px;
        font-size: clamp(2rem, 3.6vw, 3.2rem);
        font-weight: 800;
        line-height: 1.06;
        letter-spacing: -.04em;
    }

    .about-company .about-company-content p {
        max-width: 950px;
        margin: 0 0 18px;
        font-size: .96rem;
        font-weight: 400;
        line-height: 1.85;
    }

    .about-company .about-company-content p:last-child {
        margin-bottom: 0;
    }

    /* Arabic */
    html[dir="rtl"] .about-company .about-company-content {
        text-align: right;
    }

    html[dir="rtl"] .about-company .about-company-content h2 {
        max-width: 880px;
        font-size: clamp(2rem, 3.6vw, 3.2rem);
        line-height: 1.45;
        letter-spacing: 0;
        text-align: right;
    }

    html[dir="rtl"] .about-company .about-company-content p {
        max-width: 950px;
        font-size: 1.08rem;
        line-height: 2;
        text-align: right;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (min-width: 701px) and (max-width: 1050px) {

    .about-company > .container {
        width: calc(100% - 36px);
        max-width: none;
        margin-inline: auto;
        padding-inline: 0;
        position: static;
        transform: none;
    }

    .about-company .about-company-content,
    .mission-box {
        width: 100%;
        max-width: none;
        padding: 48px;
        border-radius: 28px;
        box-sizing: border-box;
    }

    html[dir="rtl"] .about-company .about-company-content {
        text-align: right;
    }

    html[dir="rtl"] .about-company .about-company-content h2 {
        font-size: 2.35rem;
        line-height: 1.5;
    }

    html[dir="rtl"] .about-company .about-company-content p {
        font-size: 1.06rem;
        line-height: 2;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .about-company > .container {
        width: calc(100% - 28px);
        max-width: none;
        margin-inline: auto;
        padding-inline: 0;
        position: static;
        transform: none;
    }

    .about-company .about-company-content,
    .mission-box {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 34px 22px;
        border-radius: 23px;
        box-sizing: border-box;
    }

    .about-company .about-company-content h2 {
        font-size: 1.9rem;
        line-height: 1.15;
    }

    .about-company .about-company-content p {
        font-size: .96rem;
        line-height: 1.9;
    }

    html[dir="rtl"] .about-company .about-company-content {
        text-align: right;
    }

    html[dir="rtl"] .about-company .about-company-content h2 {
        font-size: 2rem;
        line-height: 1.55;
        letter-spacing: 0;
    }

    html[dir="rtl"] .about-company .about-company-content p {
        font-size: 1.04rem;
        line-height: 2;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .about-company > .container {
        width: calc(100% - 24px);
    }

    .about-company .about-company-content,
    .mission-box {
        padding: 31px 19px;
        border-radius: 21px;
    }

    .about-company .about-company-content h2 {
        font-size: 1.72rem;
    }

    .about-company .about-company-content p {
        font-size: .92rem;
        line-height: 1.9;
    }

    html[dir="rtl"] .about-company .about-company-content h2 {
        font-size: 1.82rem;
        line-height: 1.55;
    }

    html[dir="rtl"] .about-company .about-company-content p {
        font-size: 1rem;
        line-height: 2;
    }
}


/* =========================================================
   SECTION HEAD — CENTERED ARABIC & ENGLISH
========================================================= */

.about-section-head {
    width: 100%;
    max-width: 1000px;
    margin-inline: auto;
    text-align: center;
    transform: none !important;
}

.about-section-head h1 {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    text-align: center;
    white-space: normal;
    transform: none !important;
    transition: font-size .3s ease;
}

.about-section-head p,
.about-section-head .lead {
    width: 100%;
    max-width: 850px;
    margin-inline: auto;
    text-align: center;
    line-height: 1.9;
    transform: none !important;
    transition:
        font-size .3s ease,
        opacity .3s ease;
}

html[dir="rtl"] .about-section-head {
    direction: rtl;
    text-align: center;
    transform: none !important;
}

html[dir="rtl"] .about-section-head h1,
html[dir="rtl"] .about-section-head p,
html[dir="rtl"] .about-section-head .lead {
    text-align: center;
    transform: none !important;
}


/* =========================================================
   ARABIC COMPANY LABEL
   Font size + line position only
========================================================= */

html[dir="rtl"] .about-company .about-label span {
    font-size: 1.15rem !important;
}

html[dir="rtl"] .about-company .about-label span::before {
    transform: translateX(12px);
}


/* =========================================================
   DESKTOP — SECTION HEAD
========================================================= */

@media (min-width: 1051px) {

    .about-section-head {
        max-width: 1100px;
        margin: 0 auto 58px;
    }

    .about-section-head h1 {
        font-size: clamp(2.8rem, 3.5vw, 3.7rem);
        line-height: 1.15;
    }

    .about-section-head p,
    .about-section-head .lead {
        max-width: 850px;
        margin-inline: auto;
        font-size: 1.05rem;
        line-height: 1.9;
    }
}


/* =========================================================
   MOBILE — SECTION HEAD
========================================================= */

@media (max-width: 700px) {

    .about-section-head {
        width: 100%;
        max-width: 100%;
        margin-inline: auto;
        padding: 0 16px;
        text-align: center;
        transform: none !important;
    }

    .about-section-head h1 {
        white-space: normal;
        font-size: 2.1rem;
        line-height: 1.25;
        text-align: center;
        transform: none !important;
    }

    .about-section-head p,
    .about-section-head .lead {
        max-width: 100%;
        font-size: 1rem;
        line-height: 1.9;
        text-align: center;
        transform: none !important;
    }

    /* Keep the Arabic label readable on mobile. */
    html[dir="rtl"] .about-company .about-label span {
        font-size: 1.15rem !important;
    }

    html[dir="rtl"] .about-company .about-label span::before {
        transform: translateX(12px);
    }
}


/* =========================================================
   SMALL MOBILE — SECTION HEAD
========================================================= */

@media (max-width: 420px) {

    .about-section-head h1 {
        font-size: 1.85rem;
        line-height: 1.3;
    }

    .about-section-head p,
    .about-section-head .lead {
        font-size: .95rem;
        line-height: 1.9;
    }
}

/* =========================================================
   UNIFIED SECTION EYEBROWS — ALL ABOUT PAGE
   Same visual treatment across every section/box
========================================================= */

.about-eyebrow,
.strength-eyebrow,
.about-company .about-label span,
.mission-label span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
}

/* Shared divider */
.about-eyebrow::before,
.strength-eyebrow::before,
.about-company .about-label span::before,
.mission-label span::before {
    content: "";
    width: 26px;
    height: 2px;
    flex: 0 0 26px;
    background: #8fd1bd;
}

/* Arabic labels */
html[dir="rtl"] .about-eyebrow,
html[dir="rtl"] .strength-eyebrow,
html[dir="rtl"] .about-company .about-label span,
html[dir="rtl"] .mission-label span {
    direction: rtl;
    letter-spacing: 0;
    font-size: 2rem;
}

/* Put the divider on the visual right, matching the other page labels */
html[dir="rtl"] .about-eyebrow::before,
html[dir="rtl"] .strength-eyebrow::before,
html[dir="rtl"] .about-company .about-label span::before,
html[dir="rtl"] .mission-label span::before {
    order: 0;
    transform: none;
}

/* Keep all section labels consistent on mobile */
@media (max-width: 700px) {
    .about-eyebrow,
    .strength-eyebrow,
    .about-company .about-label span,
    .mission-label span {
        margin-bottom: 14px;
    }

    html[dir="rtl"] .about-eyebrow,
    html[dir="rtl"] .strength-eyebrow,
    html[dir="rtl"] .about-company .about-label span,
    html[dir="rtl"] .mission-label span {
        font-size: .9rem;
    }
}

@media (max-width: 420px) {
    html[dir="rtl"] .about-eyebrow,
    html[dir="rtl"] .strength-eyebrow,
    html[dir="rtl"] .about-company .about-label span,
    html[dir="rtl"] .mission-label span {
        font-size: 2rem;
    }
}



/* =========================================================
   ABOUT PAGE — READABILITY FIX
   FONT SIZE ONLY
   Card / box dimensions are NOT changed
========================================================= */

/* Feature cards */
.about-feature h3 {
    font-size: 1.25rem !important;
    line-height: 1.45 !important;
}

.about-feature p {
    font-size: 1.08rem !important;
    line-height: 1.85 !important;
}

/* Strength cards */
.strength-card h3 {
    font-size: 1.22rem !important;
    line-height: 1.5 !important;
}

/* Main company text */
.about-company .about-company-content p {
    font-size: 1.15rem !important;
    line-height: 1.9 !important;
}

/* Mission text */
.mission-content p {
    font-size: 1.12rem !important;
    line-height: 1.9 !important;
}

/* Section intro text */
.about-section-head p,
.about-section-head .lead {
    font-size: 1.12rem !important;
    line-height: 1.9 !important;
}

/* Arabic readability */
html[dir="rtl"] .about-feature p {
    font-size: 1.15rem !important;
    line-height: 1.95 !important;
}

html[dir="rtl"] .about-feature h3 {
    font-size: 1.3rem !important;
}

html[dir="rtl"] .about-company .about-company-content p {
    font-size: 1.18rem !important;
    line-height: 2 !important;
}

html[dir="rtl"] .mission-content p {
    font-size: 1.15rem !important;
    line-height: 2 !important;
}


/* =========================================================
   MOBILE — STILL FONT ONLY
========================================================= */

@media (max-width: 700px) {

    .about-feature h3 {
        font-size: 1.15rem !important;
    }

    .about-feature p {
        font-size: 1rem !important;
        line-height: 1.85 !important;
    }

    .strength-card h3 {
        font-size: 1.12rem !important;
    }

    .about-company .about-company-content p,
    .mission-content p {
        font-size: 1.05rem !important;
        line-height: 1.9 !important;
    }

    .about-section-head p,
    .about-section-head .lead {
        font-size: 1.05rem !important;
        line-height: 1.9 !important;
    }

    html[dir="rtl"] .about-feature h3 {
        font-size: 1.18rem !important;
    }

    html[dir="rtl"] .about-feature p {
        font-size: 1.04rem !important;
        line-height: 1.9 !important;
    }

    html[dir="rtl"] .about-company .about-company-content p,
    html[dir="rtl"] .mission-content p {
        font-size: 1.08rem !important;
        line-height: 2 !important;
    }
}

@media (max-width: 420px) {

    .about-feature h3 {
        font-size: 1.08rem !important;
    }

    .about-feature p {
        font-size: .98rem !important;
    }

    .strength-card h3 {
        font-size: 1.06rem !important;
    }

    .about-company .about-company-content p,
    .mission-content p {
        font-size: 1rem !important;
    }

    html[dir="rtl"] .about-feature h3 {
        font-size: 1.1rem !important;
    }

    html[dir="rtl"] .about-feature p {
        font-size: 1rem !important;
    }

    html[dir="rtl"] .about-company .about-company-content p,
    html[dir="rtl"] .mission-content p {
        font-size: 1.04rem !important;
    }
}
