/* ====== About us ====== */
.about-page p {
    color: var(--text-muted);
}

.about-page h3 {
    margin: 0;
}

/* Intro */
.about-intro {
    background-color: var(--mint-bg);
    padding: 120px 0 80px;
    text-align: center;
}

.about-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--green-color);
    font-size: 16px;
    margin-bottom: 32px;
}

.about-eyebrow::before,
.about-eyebrow::after {
    content: "";
    width: 40px;
    height: 1px;
    background-color: currentColor;
}

.about-story {
    max-width: 700px;
    margin: 0 auto;
}

.about-page .about-story p {
    color: var(--text-dark);
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 28px;
}

.about-page h2.about-lines {
    color: #C5DCC9 !important;
    font-size: 40px;
    line-height: 1.4;
    margin: 16px 0 0;
}

/* Sections */
.about-section {
    padding: 96px 0 0;
}

.about-head {
    text-align: center;
    margin-bottom: 56px;
}

.about-page h2.about-title {
    color: #0E4A2B !important;
    font-size: 48px;
    line-height: 1.4;
    margin: 0;
}

.about-head p {
    max-width: 640px;
    margin: 4px auto 0;
    font-size: 16px;
    line-height: 1.6;
}

/* Vision / mission */
.vision-media {
    height: 100%;
    min-height: 320px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
}

.vision-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vision-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 56px;
    border: 1px solid var(--card-border);
    border-radius: 16px;
    background: linear-gradient(135deg, #fff, #F3F7F4);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .04);
}

.vision-card h3 {
    color: var(--green-color);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
}

.vision-card h3::after {
    content: "";
    display: block;
    width: 44px;
    height: 4px;
    margin: 6px 0 18px;
    border-radius: 2px;
    background-color: #D9A441;
}

.about-page .vision-card p {
    font-size: 17px;
    line-height: 1.6;
    margin: 0;
    max-width: 460px;
}

/* Team */
.team-list {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.team-row {
    --tone: #2A6F2B;
    --tone-bg: #EDF5F0;
    --tone-role: #4C6A85;
}

.team-row.team-red {
    --tone: #B5544A;
    --tone-bg: #FAF1EC;
    --tone-role: #4C6A85;
}

.team-row.team-blue {
    --tone: #5B7A99;
    --tone-bg: #F0F4FA;
    --tone-role: #4C6A85;
}

.team-info {
    height: 100%;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px 36px;
    border-radius: 16px;
    background-color: var(--tone-bg);
}

.team-info h3 {
    color: #0F2B46;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.4;
}

.team-role {
    color: var(--tone-role);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 14px;
}

.about-page .team-info p {
    color: #4B5563;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

.team-photo {
    height: 240px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    border: 1.5px solid var(--tone);
    border-radius: 12px;
    background-color: #fff;
}

/* الصور جاهزة ومعها إطارها الملون */
.team-photo:has(img) {
    height: auto;
    border: 0;
    border-radius: 0;
}

.team-photo img {
    display: block;
    width: 100%;
    height: auto;
}

.team-initials {
    align-self: center;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--tone-bg);
    color: var(--tone);
    font-size: 48px;
    font-weight: 700;
}

/* Principles */

.about-page h2.principles-title {
    color: #0F2B46 !important;
    text-align: start;
    font-size: 44px;
    line-height: 1.4;
    max-width: 360px;
    margin: 24px 0 20px;
}

.about-page .principles-text {
    color: #4B5563;
    font-size: 18px;
    line-height: 1.6;
    max-width: 440px;
}

.principle-card {
    height: 100%;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px 40px;
    border-radius: 20px;
    text-align: center;
    background-color: #E6F0EA;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .03);
}

.principle-card.shade-1 {
    background-color: #C7DFD1;
}

.principle-card.shade-3 {
    background-color: #DEEDE3;
}

.principle-card h3 {
    color: #0E3B22;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
}

.about-page .principle-card p {
    color: #4B5563;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 991.98px) {
    .about-intro {
        padding: 72px 0 56px;
    }

    .about-section {
        padding-top: 64px;
    }

    .about-why {
        padding-bottom: 72px;
    }

    .vision-media {
        height: 320px;
    }

    .team-list {
        gap: 32px;
    }

    .about-page h2.principles-title {
        text-align: center;
        margin: 0 auto 20px;
    }

    .about-page .principles-text {
        text-align: center;
        margin: 0 auto;
    }
}

@media (max-width: 575.98px) {
    .about-page .about-story p {
        font-size: 17px;
    }

    .about-page h2.about-lines {
        font-size: 30px;
    }

    .about-page h2.about-title,
    .about-page h2.principles-title {
        font-size: 34px;
    }

    .vision-card {
        padding: 28px 24px;
    }

    .vision-card h3 {
        font-size: 26px;
    }

    .team-info {
        min-height: 0;
        padding: 24px;
    }

    .team-info h3 {
        font-size: 24px;
    }

    .principle-card {
        min-height: 0;
        padding: 24px;
    }
}

/* العنوان الكبير أعلى الصفحة */
.about-page h1.about-hero-title {
    color: #0E4A2B;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.5;
    max-width: 820px;
    margin: 0 auto 32px;
}

.about-page .about-story p.about-story-strong {
    color: var(--green-color);
    font-weight: 700;
    margin-bottom: 0;
}

/* كيف بدأت الفكرة / ثم جاءت الحرب */
.story-card {
    padding: 32px 40px;
}

.story-card h3 {
    font-size: 26px;
}

.about-page .story-card p {
    max-width: none;
    font-size: 16px;
    line-height: 1.8;
}

.about-page .story-card p + p {
    margin-top: 12px;
}

/* اقتباس من القصة بالبطاقة */
.about-page .team-info p.team-quote {
    color: #0F2B46;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.7;
    padding-inline-start: 14px;
    border-inline-start: 3px solid var(--tone);
}

/* القصة الكاملة بتنفتح بنفس البطاقة */
.team-story {
    margin-top: 14px;
}

.team-story summary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--tone);
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.team-story summary::-webkit-details-marker {
    display: none;
}

.team-story summary .bi {
    transition: transform .2s;
}

.team-story[open] summary .bi {
    transform: rotate(180deg);
}

.team-story .when-open,
.team-story[open] .when-closed {
    display: none;
}

.team-story[open] .when-open {
    display: inline;
}

.about-page .team-story p {
    margin-top: 12px;
}

/* قصص مختلفة... وما جمعنا */
.together-band {
    max-width: 900px;
    margin: 0 auto;
    padding: 48px 56px;
    border-radius: 20px;
    text-align: center;
    background-color: #0E4A2B;
}

.about-page .together-band h2 {
    color: #fff !important;
    font-size: 34px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.about-page .together-band p {
    color: #D5E7DB;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 14px;
}

.about-page .together-band p.together-strong {
    color: #fff;
    font-weight: 700;
    margin: 0;
}

/* الخط الزمني */
.journey {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.journey::before {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    inset-inline-start: 27px;
    width: 2px;
    background-color: #C5DCC9;
}

.journey-step {
    position: relative;
    display: flex;
    gap: 24px;
    padding-bottom: 28px;
}

.journey-step:last-child {
    padding-bottom: 0;
}

.journey-dot {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid #C5DCC9;
    background-color: #fff;
    color: var(--green-color);
    font-size: 22px;
    z-index: 1;
}

.journey-step:last-child .journey-dot {
    border-color: var(--green-color);
    background-color: var(--green-color);
    color: #fff;
}

.journey-body {
    flex: 1;
    padding: 18px 24px;
    border: 1px solid var(--card-border);
    border-radius: 16px;
    background-color: #fff;
}

.journey-body h3 {
    color: #0E4A2B;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 6px !important;
}

.about-page .journey-body p {
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
}

/* لماذا نستمر */
.about-why {
    padding-bottom: 80px;
}

.why-text {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.about-page .why-text p {
    color: #4B5563;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 14px;
}

.about-page .why-text p.why-lead {
    color: #0E4A2B;
    font-size: 22px;
    font-weight: 700;
}

.why-cta {
    max-width: 900px;
    margin: 40px auto 0;
    padding: 40px 48px;
    border-radius: 20px;
    text-align: center;
    background: linear-gradient(135deg, #2A6F2B, #0E4A2B);
}

.about-page .why-cta p {
    color: #D5E7DB;
    font-size: 17px;
    margin-bottom: 24px;
}

.about-page .why-cta p.why-cta-title {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 10px;
}

@media (max-width: 575.98px) {
    .about-page h1.about-hero-title {
        font-size: 28px;
    }

    .story-card {
        padding: 24px;
    }

    .together-band,
    .why-cta {
        padding: 32px 22px;
    }

    .about-page .together-band h2 {
        font-size: 26px;
    }

    .journey-step {
        gap: 14px;
    }

    .journey::before {
        inset-inline-start: 22px;
    }

    .journey-dot {
        width: 46px;
        height: 46px;
        font-size: 18px;
    }

    .journey-body {
        padding: 14px 16px;
    }
}
