﻿
:root {
    --brand: #5FB4FD; /* الأزرق */
    --brand-dk: #3A8EDB;
    --brand-lt: #EEF6FF;
    --dark: #4D4D4D;
    --mid: #6b7280;
    --border: #e5e7eb;
    --bg: #f8fafc;
    --white: #ffffff;
    --radius: 14px;
}

/* ── SHARED ── */
.aw-eyebrow {
    display: inline-block;
    background: var(--brand-lt);
    color: var(--brand);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.af-header {
    text-align: center;
    margin-bottom: 48px;
}

    .af-header h2 {
        font-size: 30px;
        font-weight: 700;
        color: var(--dark);
        margin: 6px 0 0;
    }

/* ── WELCOME ── */
.about-welcome {
    background: var(--white);
    padding: 70px 0 60px;
}

.aw-grid {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

/* Image col */
.aw-image-col {
    flex: 0 0 44%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.aw-img-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(23,141,179,0.12);
    opacity: 0;
    transform: translateX(-30px);
    animation: slideRight 0.6s ease forwards;
}

.aw-img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.aw-img-wrap:hover .aw-img {
    transform: scale(1.03);
}

.aw-highlight {
    background: var(--brand-lt);
    border-left: 4px solid var(--brand);
    border-radius: 0 10px 10px 0;
    padding: 16px 20px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    opacity: 0;
    animation: slideRight 0.6s ease 0.15s forwards;
}

    .aw-highlight i {
        color: var(--brand);
        font-size: 18px;
        margin-top: 2px;
        flex-shrink: 0;
    }

    .aw-highlight p {
        margin: 0;
        font-size: 14px;
        color: var(--brand-dk);
        font-style: italic;
        line-height: 1.6;
    }

/* Info col */
.aw-info-col {
    flex: 1;
    opacity: 0;
    transform: translateX(30px);
    animation: slideLeft 0.6s ease 0.1s forwards;
}

.aw-title {
    font-size: 30px;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 14px;
    line-height: 1.3;
}

.aw-divider {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #5FB4FD, #7C58FA);
    border-radius: 2px;
    margin-bottom: 18px;
}

.aw-desc {
    font-size: 14px;
    color: var(--mid);
    line-height: 1.85;
    margin-bottom: 28px;
}

/* Pillars */
.aw-pillars {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.aw-pillar {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px;
    background: var(--bg);
    border-radius: 10px;
    border: 1px solid var(--border);
    transition: border-color 0.2s, box-shadow 0.2s;
}

    .aw-pillar:hover {
        border-color: var(--brand);
        box-shadow: 0 4px 16px rgba(23,141,179,0.08);
    }

.aw-pillar-icon {
    width: 44px;
    height: 44px;
    background: var(--brand);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .aw-pillar-icon i {
        color: #fff;
        font-size: 18px;
    }

.aw-pillar-text h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 4px;
}

.aw-pillar-text p {
    font-size: 13px;
    color: var(--mid);
    margin: 0;
    line-height: 1.6;
}

/* ── FEATURES ── */
.about-features {
    background: var(--bg);
    padding: 65px 0;
}

.af-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.af-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.5s ease forwards;
}

    .af-card:nth-child(1) {
        animation-delay: 0.05s;
    }

    .af-card:nth-child(2) {
        animation-delay: 0.12s;
    }

    .af-card:nth-child(3) {
        animation-delay: 0.19s;
    }

    .af-card:nth-child(4) {
        animation-delay: 0.26s;
    }

    .af-card:nth-child(5) {
        animation-delay: 0.33s;
    }

    .af-card:nth-child(6) {
        animation-delay: 0.40s;
    }

    .af-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 16px 40px rgba(23,141,179,0.10);
        border-color: #cde6f0;
    }

.af-icon {
    width: 70px;
    height: 70px;
    background: var(--brand-lt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    transition: background 0.2s;
}

.af-card:hover .af-icon {
    background: var(--brand);
}

.af-icon span {
    font-size: 28px;
    color: var(--brand);
    transition: color 0.2s;
}

.af-card:hover .af-icon span {
    color: #fff;
}

.af-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 10px;
}

.af-card p {
    font-size: 13px;
    color: var(--mid);
    line-height: 1.7;
    margin: 0;
}

/* ── FAQ ── */
.about-faq {
    background: var(--white);
    padding: 65px 0;
}

.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s;
}

    .faq-item.open {
        border-color: var(--brand);
    }

.faq-q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    background: var(--white);
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    gap: 12px;
    transition: background 0.2s;
}

.faq-item.open .faq-q {
    background: var(--brand-lt);
    color: var(--brand);
}

.faq-icon {
    flex-shrink: 0;
    font-size: 13px;
    color: var(--brand);
    transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-a-inner {
    padding: 16px 22px;
    font-size: 13px;
    color: var(--mid);
    line-height: 1.8;
    border-top: 1px solid var(--border);
}

/* ── CTA ── */
.about-cta {
    background: linear-gradient(135deg, #5FB4FD, #7C58FA);
    padding: 50px 0;
}

.acta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.acta-text h3 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
}

.acta-text p {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    margin: 0;
}

.acta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 30px;
    background: #fff;
    color: var(--brand-dk);
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s;
}

    .acta-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(0,0,0,0.15);
        color: var(--brand-dk);
    }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
    .aw-grid {
        flex-direction: column;
        gap: 30px;
    }

    .aw-image-col {
        flex: none;
    }

    .af-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .acta-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .af-grid {
        grid-template-columns: 1fr;
    }

    .aw-title {
        font-size: 22px;
    }
}


