/* value.css — تصميم احترافي لجزء "لماذا تختارنا" */

:root {
    --bg: #ffffff;
    --muted: #020306;
    --accent: #0ea5a4;
    --accent-600: #059e9d;
    --title: #0f172a;
    --card: #f8fafc;
    --shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
    --radius-lg: 18px;
    --radius: 10px;
    --gap: 28px;
    --transition: 450ms cubic-bezier(.2, .9, .3, 1);
    --container-max: 1200px;
}

.split-hero {
    background: linear-gradient(180deg, rgba(14, 165, 164, 0.03), transparent 60%);
    padding: 48px 20px;
}

.split-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    gap: var(--gap);
    align-items: center;
    justify-content: space-between;
    padding: 12px;
}

[dir="rtl"] .split-container {
    direction: rtl;
}

.split-col {
    flex: 1 1 50%;
    min-width: 280px;
    box-sizing: border-box;
}

.split-text {
    padding: 8px 6px;
}

.split-kicker {
    display: inline-block;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: .4px;
    color: var(--accent-600);
    background: rgba(14, 165, 164, 0.06);
    padding: 6px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.split-title {
    font-size: clamp(20px, 3.4vw, 25px);
    line-height: 1.08;
    margin: 6px 0 18px;
    color: var(--title);
    font-weight: 700;
}


/* تنسيق جديد للقائمة */

.why-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px;
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow);
    transition: transform .45s ease, box-shadow .45s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp .8s forwards;
}

.why-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.why-icon {
    flex: 0 0 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #0ea5a4, #14b8a6);
    color: #fff;
    font-size: 18px;
}

.why-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideIn .6s forwards .2s;
}

.why-text {
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 1.6;
    color: #4b5563;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideIn .6s forwards .4s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* الصورة */

.split-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
}

.split-image img {
    width: 100%;
    max-width: 720px;
    height: 400px;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: var(--shadow);
    transition: transform var(--transition), filter var(--transition);
}

.split-image img:hover {
    transform: translateY(-6px) scale(1.02);
    filter: saturate(1.03) contrast(1.02);
}

.reveal-left,
.reveal-right {
    opacity: 0;
    transform: translateY(18px);
    will-change: transform, opacity;
    transition: opacity 560ms cubic-bezier(.2, .9, .3, 1), transform 560ms cubic-bezier(.2, .9, .3, 1);
}

.reveal-left {
    transform: translateX(-30px) translateY(10px);
}

.reveal-right {
    transform: translateX(30px) translateY(10px);
}

.reveal-in {
    opacity: 1;
    transform: none;
}

@media (max-width: 900px) {
    .split-container {
        flex-direction: column;
        gap: 18px;
        padding: 6px;
    }
    .split-image {
        order: -1;
        width: 100%;
    }
    .split-image img {
        max-width: 420px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal-left,
    .reveal-right,
    .reveal-in,
    .why-item,
    .split-image img {
        transition: none !important;
        animation: none !important;
    }
}