/* =========================================================
   AL FIRDAWS MEDIA - ABOUT PAGE
   Page-specific styles
========================================================= */

.about-page {
    --about-red: #ff4b2b;
    --about-blue: #1769ff;
    --about-bg: #080d14;
    --about-bg-soft: #0b121c;
    --about-card: rgba(255, 255, 255, 0.04);
    --about-border: rgba(255, 255, 255, 0.09);
    --about-text: #ffffff;
    --about-muted: rgba(255, 255, 255, 0.68);

    background: var(--about-bg);
    color: var(--about-text);
}


/* =========================================================
   SHARED
========================================================= */

.about-page .section-label,
.about-page .about-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 18px;

    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.10em;

    color: var(--about-red);
}

.about-page .section-label::after,
.about-page .about-label::after {
    content: "";

    width: 28px;
    height: 2px;

    border-radius: 999px;

    background: linear-gradient(
        90deg,
        var(--about-red),
        var(--about-blue)
    );

    box-shadow:
        0 0 12px rgba(255, 75, 43, 0.28);
}

.about-page .section-intro {
    max-width: 820px;
    margin-bottom: 58px;
}

.about-page .section-intro h2 {
    margin: 0 0 18px;

    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.35;

    color: #fff;
}

.about-page .section-intro p {
    max-width: 760px;
    margin: 0;

    font-size: 1.02rem;
    line-height: 1.9;

    color: var(--about-muted);
}


/* =========================================================
   1. HERO
========================================================= */

.about-hero {
    position: relative;
    overflow: hidden;

    padding: 120px 0 110px;

    background:
        radial-gradient(
            circle at 15% 35%,
            rgba(23, 105, 255, 0.16),
            transparent 34%
        ),
        radial-gradient(
            circle at 82% 50%,
            rgba(255, 75, 43, 0.16),
            transparent 32%
        ),
        #080d14;
}

.about-hero::before {
    content: "";

    position: absolute;
    width: 480px;
    height: 480px;

    top: -210px;
    right: -160px;

    border-radius: 50%;

    background:
        rgba(255, 75, 43, 0.20);

    filter: blur(105px);

    animation:
        aboutRedGlow 7s ease-in-out infinite;

    pointer-events: none;
}

.about-hero::after {
    content: "";

    position: absolute;
    width: 470px;
    height: 470px;

    bottom: -230px;
    left: -150px;

    border-radius: 50%;

    background:
        rgba(23, 105, 255, 0.18);

    filter: blur(110px);

    animation:
        aboutBlueGlow 8s ease-in-out infinite;

    pointer-events: none;
}

.about-hero-grid {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(300px, 0.85fr);

    align-items: center;

    gap: 70px;
}

.about-hero-content h1 {
    max-width: 820px;

    margin: 0 0 26px;

    font-size:
        clamp(2.5rem, 5vw, 4.8rem);

    line-height: 1.18;

    color: #fff;
}

.about-hero-content > p {
    max-width: 760px;

    margin: 0;

    font-size: 1.08rem;
    line-height: 1.9;

    color: var(--about-muted);
}


/* Hero visual */

.about-hero-visual {
    position: relative;

    min-height: 400px;
}

.about-visual-core {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 145px;
    height: 145px;

    transform:
        translate(-50%, -50%);

    border-radius: 50%;

    border:
        1px solid rgba(255,255,255,0.10);

    background:
        radial-gradient(
            circle at 35% 35%,
            rgba(255,255,255,0.18),
            rgba(255,75,43,0.30) 30%,
            rgba(23,105,255,0.17) 67%,
            rgba(255,255,255,0.02) 100%
        );

    box-shadow:
        0 0 70px rgba(255,75,43,0.19),
        0 0 120px rgba(23,105,255,0.12);

    animation:
        aboutCorePulse 4.5s ease-in-out infinite;
}

.about-visual-core::before,
.about-visual-core::after {
    content: "";

    position: absolute;

    border-radius: 50%;

    border:
        1px solid rgba(255,255,255,0.08);
}

.about-visual-core::before {
    inset: -65px;
}

.about-visual-core::after {
    inset: -130px;

    border-color:
        rgba(23,105,255,0.12);
}

.about-visual-line {
    position: absolute;

    left: 50%;
    top: 50%;

    height: 1px;

    transform-origin: left center;
}

.about-visual-line-one {
    width: 310px;

    transform: rotate(-38deg);

    background:
        linear-gradient(
            90deg,
            rgba(255,75,43,0.90),
            rgba(255,75,43,0)
        );
}

.about-visual-line-two {
    width: 285px;

    transform: rotate(142deg);

    background:
        linear-gradient(
            90deg,
            rgba(23,105,255,0.90),
            rgba(23,105,255,0)
        );
}


/* =========================================================
   2. OUR ECOSYSTEM
========================================================= */

.about-ecosystem {
    position: relative;

    padding: 110px 0;

    background: #0a1018;
}

.ecosystem-flow {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 16px;

    width: 100%;
}

.ecosystem-step {
    position: relative;

    min-width: 0;
    min-height: 175px;

    overflow: hidden;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 28px 24px;

    border:
        1px solid var(--about-border);

    border-radius: 22px;

    background:
        var(--about-card);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.ecosystem-step::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            var(--about-red),
            var(--about-blue)
        );
}

.ecosystem-step:hover {
    transform:
        translateY(-8px);

    border-color:
        rgba(255,75,43,0.45);

    background:
        rgba(255,75,43,0.055);

    box-shadow:
        0 18px 45px rgba(0,0,0,0.26),
        0 0 28px rgba(255,75,43,0.10);
}

.ecosystem-step span {
    display: block;

    margin-bottom: 28px;

    font-size: 0.78rem;
    font-weight: 700;

    color: var(--about-red);
}

.ecosystem-step h3 {
    margin: 0;

    font-size: 1.08rem;

    color: #fff;
}

.ecosystem-connector {
    display: none;
}


/* =========================================================
   3. VISION / MISSION
========================================================= */

.about-direction {
    padding: 110px 0;

    background: #080d14;
}

.about-direction-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 24px;
}

.direction-panel {
    position: relative;

    min-height: 420px;

    overflow: hidden;

    padding: 52px;

    border:
        1px solid var(--about-border);

    border-radius: 28px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.045),
            rgba(255,255,255,0.015)
        );

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.direction-panel:hover {
    transform:
        translateY(-7px);
}

.direction-vision:hover {
    border-color:
        rgba(23,105,255,0.42);

    box-shadow:
        0 22px 55px rgba(0,0,0,0.28),
        0 0 38px rgba(23,105,255,0.10);
}

.direction-mission:hover {
    border-color:
        rgba(255,75,43,0.42);

    box-shadow:
        0 22px 55px rgba(0,0,0,0.28),
        0 0 38px rgba(255,75,43,0.10);
}

.direction-panel::after {
    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    border-radius: 50%;

    filter: blur(40px);

    pointer-events: none;
}

.direction-vision::after {
    left: -130px;
    bottom: -130px;

    background:
        rgba(23,105,255,0.13);
}

.direction-mission::after {
    right: -130px;
    top: -130px;

    background:
        rgba(255,75,43,0.13);
}

.direction-number {
    position: absolute;

    top: 32px;
    inset-inline-end: 36px;

    font-size: 4.4rem;
    font-weight: 700;
    line-height: 1;

    color:
        rgba(255,255,255,0.04);
}

.direction-panel h2 {
    position: relative;
    z-index: 2;

    max-width: 520px;

    margin: 0 0 24px;

    font-size:
        clamp(1.8rem, 3vw, 2.7rem);

    line-height: 1.4;

    color: #fff;
}

.direction-panel p {
    position: relative;
    z-index: 2;

    max-width: 560px;

    margin: 0;

    line-height: 1.9;

    color: var(--about-muted);
}


/* =========================================================
   4. WHAT SETS US APART
========================================================= */

.about-strengths {
    padding: 110px 0;

    background:
        radial-gradient(
            circle at 50% 100%,
            rgba(23,105,255,0.10),
            transparent 40%
        ),
        #0a1018;
}

.strengths-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;
}

.strength-item {
    position: relative;

    min-height: 270px;

    overflow: hidden;

    padding: 34px 28px;

    border-top:
        2px solid var(--about-red);

    border-radius:
        4px 4px 22px 22px;

    background:
        rgba(255,255,255,0.035);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.strength-item:hover {
    transform:
        translateY(-8px);

    border-top-color:
        var(--about-blue);

    background:
        rgba(23,105,255,0.05);

    box-shadow:
        0 18px 45px rgba(0,0,0,0.25),
        0 0 26px rgba(23,105,255,0.10);
}

.strength-index {
    display: inline-block;

    margin-bottom: 40px;

    font-size: 0.78rem;
    font-weight: 700;

    color: var(--about-red);
}

.strength-item h3 {
    margin: 0 0 16px;

    font-size: 1.22rem;

    color: #fff;
}

.strength-item p {
    margin: 0;

    line-height: 1.8;

    color: var(--about-muted);
}


/* =========================================================
   5. HOW WE WORK
========================================================= */

.about-process {
    padding: 110px 0;

    background: #080d14;
}

.process-track {
    position: relative;

    display: grid;

    grid-template-columns:
        repeat(6, minmax(0, 1fr));

    gap: 18px;
}

.process-track::before {
    content: "";

    position: absolute;

    top: 29px;
    left: 4%;
    right: 4%;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            var(--about-red),
            var(--about-blue)
        );

    box-shadow:
        0 0 12px rgba(255,75,43,0.12);
}

.process-step {
    position: relative;
    z-index: 2;

    min-width: 0;

    padding:
        72px 10px 0;
}

.process-step span {
    position: absolute;

    top: 8px;
    inset-inline-start: 0;

    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    border:
        1px solid rgba(255,75,43,0.45);

    background: #0a1018;

    color: var(--about-red);

    font-size: 0.72rem;
    font-weight: 700;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.process-step h3 {
    margin: 0;

    font-size: 1.05rem;

    color: #fff;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.process-step:hover span {
    transform:
        scale(1.14);

    background:
        rgba(255,75,43,0.12);

    box-shadow:
        0 0 0 4px rgba(255,75,43,0.05),
        0 0 24px rgba(255,75,43,0.28);
}

.process-step:hover h3 {
    color: var(--about-red);

    transform:
        translateY(-2px);
}


/* =========================================================
   TYPOGRAPHY
========================================================= */

html[dir="rtl"] .about-page h1,
html[dir="rtl"] .about-page h2 {
    font-family:
        "Noto Kufi Arabic",
        sans-serif;

    letter-spacing: 0;
}

html[dir="rtl"] .about-page h3,
html[dir="rtl"] .about-page p,
html[dir="rtl"] .about-page span {
    font-family:
        "IBM Plex Sans Arabic",
        sans-serif;
}

html[dir="ltr"] .about-page {
    font-family:
        "IBM Plex Sans",
        sans-serif;
}


/* =========================================================
   ANIMATION
========================================================= */

@keyframes aboutRedGlow {
    0%,
    100% {
        opacity: 0.55;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.13);
    }
}

@keyframes aboutBlueGlow {
    0%,
    100% {
        opacity: 0.45;
        transform: scale(1);
    }

    50% {
        opacity: 0.90;
        transform: scale(1.15);
    }
}

@keyframes aboutCorePulse {
    0%,
    100% {
        transform:
            translate(-50%, -50%)
            scale(1);
    }

    50% {
        transform:
            translate(-50%, -50%)
            scale(1.07);
    }
}


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

@media (max-width: 950px) {

    .about-hero {
        padding:
            85px 0 80px;
    }

    .about-hero-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .about-hero-visual {
        min-height: 260px;
    }

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

    .about-direction-grid {
        grid-template-columns: 1fr;
    }

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

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

        gap: 20px;
    }

    .process-track::before {
        display: none;
    }

    .process-step {
        min-height: 110px;

        padding:
            62px 20px 20px;

        border:
            1px solid var(--about-border);

        border-radius: 18px;

        background:
            var(--about-card);
    }

    .process-step span {
        top: 14px;
        inset-inline-start: 18px;
    }
}


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

@media (max-width: 600px) {

    .about-hero,
    .about-ecosystem,
    .about-direction,
    .about-strengths,
    .about-process {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .about-hero h1 {
        font-size: 2.15rem;
    }

    .about-hero-visual {
        min-height: 220px;
    }

    .about-visual-core {
        width: 110px;
        height: 110px;
    }

    .about-visual-core::before {
        inset: -45px;
    }

    .about-visual-core::after {
        inset: -90px;
    }

    .about-visual-line-one {
        width: 190px;
    }

    .about-visual-line-two {
        width: 180px;
    }

    .ecosystem-flow {
        grid-template-columns: 1fr;
    }

    .ecosystem-step {
        min-height: 120px;
    }

    .direction-panel {
        min-height: auto;

        padding: 36px 26px;
    }

    .direction-number {
        top: 24px;
        inset-inline-end: 24px;

        font-size: 3.4rem;
    }

    .strengths-grid {
        grid-template-columns: 1fr;
    }

    .strength-item {
        min-height: auto;
    }

    .process-track {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .about-hero::before,
    .about-hero::after,
    .about-visual-core {
        animation: none;
    }
}
/* Section titles */
.about-page .about-label,
.about-page .section-label {
    display: block;
    margin-bottom: 18px;

    font-family: "IBM Plex Sans Arabic", sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0;

    color: var(--about-red);
}

/* Remove decorative line */
.about-page .about-label::after,
.about-page .section-label::after {
    display: none;
}
/* تحريك كلمة "للنمو" مع الحفاظ على اللون */
.about-growth-word {
    display: inline-block !important;

    color: #ff302f !important;

    position: relative;
    left: -42px;

    margin: 0 !important;

    font-family: "Almarai", "IBM Plex Sans Arabic", sans-serif !important;
    font-weight: 800 !important;
}
/* كلمة للنمو في عنوان About */
.about-hero .about-growth-word,
.about-growth-word {
    display: inline-block !important;
    position: relative !important;

    color: #ff3b30 !important;

    transform: translateX(-55px) !important;

    font-family: "Almarai", "IBM Plex Sans Arabic", sans-serif !important;
    font-weight: 800 !important;
}