/* ============================================================
   ebabu2 — Why Choose Us Section
============================================================ */

/* 1. Variables & Colors */
.ebabu2 {
    --ebabu2-bg: #204A7B;
    --ebabu2-text: rgba(255, 255, 255, 0.92);
    --ebabu2-title: #ffffff;
    --ebabu2-border: rgba(255, 255, 255, 0.2);

    --ebabu2-card-bg: #ffffff;
    --ebabu2-card-title: #204A7B;
    --ebabu2-card-text: rgba(255, 255, 255, 0.9);
    --ebabu2-card-btn: #ffffff;

    --ebabu2-btn-bg: #ffffff;
    --ebabu2-btn-text: #204A7B;

    --ebabu2-input-bg: rgba(255, 255, 255, 0.08);
    --ebabu2-input-text: #ffffff;

    --ebabu2-padding-top: clamp(2.5rem, 7vw, 4.5rem);
    --ebabu2-padding-bottom: clamp(2.5rem, 7vw, 4.5rem);

    background: var(--ebabu2-bg);
    color: var(--ebabu2-text);
    font-family: "El Messiri", sans-serif;
    position: relative;
    overflow: hidden;
}

/* 2. Reset داخل الـ namespace */
*,
.ebabu2 *,
.ebabu2 *::before,
.ebabu2 *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* 3. Base Styles — Mobile */
.ebabu2 {
    padding-top: var(--ebabu2-padding-top);
    padding-bottom: var(--ebabu2-padding-bottom);
}

.ebabu2__overlay {
    position: absolute;
    inset: 0;
    background-image:
     linear-gradient(to right, #204A7B, #204A7B),
     url("img/why-bg.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    z-index: 0;
}

.ebabu2__container {
    width: min(92%, 75rem);
    margin-inline: auto;
    position: relative;
    z-index: 2;
}

.ebabu2__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.8rem, 6vw, 3rem);
    align-items: start;
}

.ebabu2__content {
    display: flex;
    flex-direction: column;
    gap: clamp(1.2rem, 4vw, 1.8rem);
}

.ebabu2__title {
    font-size: clamp(1.4rem, 5vw, 2.2rem);
    font-weight: 800;
    color: var(--ebabu2-title);
    line-height: 1.2;
}

.ebabu2__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: clamp(0.8rem, 3vw, 1.1rem);
    padding-left: 0;
}

.ebabu2__item {
    position: relative;
    padding-left: 1.7rem;
    font-size: clamp(0.95rem, 3.6vw, 1.05rem);
    line-height: 1.8;
    color: var(--ebabu2-text);
}

.ebabu2__item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72rem;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--ebabu2-title);
    opacity: 0.9;
}

.ebabu2__image-card {
    background: var(--ebabu2-card-bg);
    /* padding: 0.9rem; */
    border-radius: 1rem;
    box-shadow: 0 1rem 2.2rem rgba(0, 0, 0, 0.35);
    border: 0.08rem solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    width: 100%;
    max-width: 26rem;
    margin-inline: auto;
}

.ebabu2__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.8rem;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}


@media (min-width: 481px) {
    .ebabu2__container {
        width: min(90%, 78rem);
    }

    .ebabu2__image-card {
        max-width: 28rem;
    }
}

@media (min-width: 601px) {
    .ebabu2__title {
        font-size: clamp(2rem, 4.8vw, 2.8rem);
    }

    .ebabu2__item {
        padding-left: 1.9rem;
    }
}

@media (min-width: 769px) {
    .ebabu2__grid {
        grid-template-columns: 1.4fr 0.9fr;
        align-items: center;
    }

    .ebabu2__image-card {
        margin-inline: 0;
        justify-self: end;
    }
}

@media (min-width: 1025px) {
    .ebabu2__container {
        width: min(88%, 85rem);
    }

    .ebabu2__title {
        font-size: clamp(2.2rem, 2.6vw, 3rem);
    }

    .ebabu2__item {
        font-size: clamp(1rem, 1.1vw, 1.08rem);
    }

    .ebabu2__image-card {
        max-width: 30rem;
    }
}

@media (min-width: 1281px) {
    .ebabu2__grid {
        gap: 3.5rem;
    }
}

@media (min-width: 1441px) {
    .ebabu2__container {
        width: min(86%, 92rem);
    }
}

@media (min-width: 1921px) {
    .ebabu2__container {
        width: min(80%, 105rem);
    }
}