/* ============================================================
   WHYUS SECTION — Mobile-First Responsive CSS
   Breakpoints:
     Mobile      : 0 → 480px      (base styles, no query)
     Small Tab   : 481px → 600px
     Medium Tab  : 601px → 768px
     Large Tab   : 769px → 1024px
     Small Desk  : 1025px → 1280px
     Medium Desk : 1281px → 1440px
     Large Desk  : 1441px → 1920px
     XL Screens  : 1921px+
   Units : clamp() + vw — zero px in property values
   Colors: ONLY from .white-whyus / .blue-whyus theme classes
============================================================ */


/* =============================== */
/* WhyUs Section — Mobile Base     */
/* =============================== */
.whyus-section {
    position: relative;
}

.whyus-section a {
    color: currentColor;
    text-decoration: underline currentColor;
}

.whyus-section svg {
    position: absolute;
    right: 0;
    left: 0;
    height: clamp(0.8rem, 2vw, 1.3rem);
    width: 100%;
}

.whyus-container {
    margin: 0 auto;
    padding: 1rem clamp(0.8em, 4vw, 1.2em);
    position: relative;
    z-index: 22;
}


/* =============================== */
/* Section Title                   */
/* =============================== */
.whyus-section-title {
    font-size: clamp(1.1rem, 4.5vw, 1.6rem);
    font-weight: 700;
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
    position: relative;
    text-align: center;
}


/* =============================== */
/* WhyUs Content & Features        */
/* =============================== */
.whyus-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(1.5rem, 5vw, 2.5rem);
}

.whyus-image {
    width: 100%;
    z-index: 2;
}

.whyus-image img {
    width: 100%;
}

.whyus-features {
    width: 100%;
}


/* =============================== */
/* Service List & Grid             */
/* =============================== */
.whyUS__service-list .row {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(0.6rem, 2.5vw, 1.2rem);
    align-items: stretch;
}

.whyUS__service-list .row .col {
    width: 100%;
    display: flex;
}


/* =============================== */
/* Service Item — Shared Styles    */
/* =============================== */
.whyUS__service-item,
.whyUS__service-item__en {
    flex: 1;
    padding: 0.5rem 1.2rem;
    border-width: clamp(0.07rem, 0.2vw, 0.12rem);
    border-style: solid;
    border-radius: clamp(0.8rem, 2.5vw, 1.3rem);
    position: relative;
    transition: 0.3s;
    text-align: start;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: inset 0 0 clamp(0.5em, 2vw, 1em) rgba(0, 0, 0, 0.18);
}

.whyUS__service-item ul li,
.whyUS__service-item__en ul li {
    margin-bottom: clamp(0.1em, 0.3vw, 0.2em);
}

/* ===== z-index — text فوق الـ ::after ===== */
.whyUS__service-item .ps-title,
.whyUS__service-item p,
.whyUS__service-item .services-list,
.whyUS__service-item .read-more-div,
.whyUS__service-item__en .ps-title,
.whyUS__service-item__en p,
.whyUS__service-item__en .services-list,
.whyUS__service-item__en .read-more-div {
    position: relative;
    z-index: 2;
}


/* =============================== */
/* Arabic Version — ::after        */
/* =============================== */
.whyUS__service-item::after {
    position: absolute;
    content: "";
    width: clamp(0.9rem, 2vw, 1.5rem);
    height: clamp(4rem, 12vw, 6rem);
    right: 0;
    left: auto;
    top: 50%;
    transform: translateY(-50%);
    transition:
        width 0.3s ease,
        height 0.3s ease,
        border-radius 0.3s ease,
        top 0.3s ease,
        transform 0.3s ease;
    border-radius:
        clamp(0.6rem, 1.5vw, 1rem)
        0
        0
        clamp(0.6rem, 1.5vw, 1rem);
    background-color: currentColor;
    z-index: 1;
}

.whyUS__service-item:hover::after {
    width: 100%;
    height: 100%;
    right: 0;
    top: 0;
    transform: none;
    border-radius: calc(
        clamp(0.8rem, 2.5vw, 1.3rem) -
        clamp(0.07rem, 0.2vw, 0.12rem)
    );
}


/* =============================== */
/* English Version — ::after       */
/* =============================== */
.whyUS__service-item__en::after {
    position: absolute;
    content: "";
    width: clamp(0.9rem, 2vw, 1.5rem);
    height: clamp(4rem, 12vw, 6rem);
    left: 0;
    right: auto;
    top: 50%;
    transform: translateY(-50%);
    transition:
        width 0.3s ease,
        height 0.3s ease,
        border-radius 0.3s ease,
        top 0.3s ease,
        transform 0.3s ease;
    border-radius:
        0
        clamp(0.6rem, 1.5vw, 1rem)
        clamp(0.6rem, 1.5vw, 1rem)
        0;
    background-color: currentColor;
    z-index: 1;
}

.whyUS__service-item__en:hover::after {
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    transform: none;
    border-radius: calc(
        clamp(0.8rem, 2.5vw, 1.3rem) -
        clamp(0.07rem, 0.2vw, 0.12rem)
    );
}


/* =============================== */
/* Typography — Shared             */
/* =============================== */
.whyUS__service-item .ps-title,
.whyUS__service-item__en .ps-title {
    font-weight: 500;
    font-size: clamp(0.9rem, 3vw, 1rem);
    line-height: 1.3;
    margin-bottom: clamp(0.4em, 1.5vw, 0.7em);
    text-align: center;
    border-bottom-width: clamp(0.05rem, 0.15vw, 0.08rem);
    border-bottom-style: solid;
    padding-bottom: 0.25em;
}

.whyUS__service-item p,
.whyUS__service-item__en p {
    font-size: clamp(0.9rem, 3.2vw, 1rem);
    line-height: 1.7;
    margin: 0;
    padding-right: 0.5rem;
}


/* =============================== */
/* Small Tablet  481px → 600px     */
/* =============================== */
@media (min-width: 481px) {
    .whyus-container {
        flex-direction: row;
        align-items: center;
        padding: clamp(2.5rem, 6vw, 4rem) clamp(1em, 3vw, 1.8em);
    }
}


/* =============================== */
/* Medium Tablet  601px → 768px    */
/* =============================== */
@media (min-width: 601px) {
    .whyus-container {
        flex-direction: row;
        align-items: center;
        gap: clamp(2rem, 4vw, 3.5rem);
        padding: 0 clamp(1em, 3vw, 1.8em) clamp(1.2rem, 3.5vw, 2.2rem);
    }

    .whyUS__service-item .ps-title,
    .whyUS__service-item__en .ps-title {
        font-size: clamp(0.95rem, 2.5vw, 1.15rem);
    }

    .whyUS__service-item p,
    .whyUS__service-item__en p {
        font-size: clamp(0.82rem, 2vw, 0.95rem);
    }
}


/* =============================== */
/* Small Desktop  1025px → 1280px  */
/* =============================== */
@media (min-width: 1025px) {
    .whyus-content {
        flex-direction: row;
        align-items: center;
        gap: clamp(2rem, 4vw, 3.5rem);
    }

    .whyus-image {
        flex: 1;
    }

    .whyus-features {
        flex: 1;
    }

    .whyus-container {
        padding: 1rem clamp(1.5em, 3vw, 2.5em);
    }

    .whyUS__service-item::after,
    .whyUS__service-item__en::after {
        width: clamp(1rem, 1vw, 1.5rem);
        height: clamp(4.5rem, 10vw, 6.5rem);
    }

    .whyUS__service-item .ps-title,
    .whyUS__service-item__en .ps-title {
        font-size: clamp(1rem, 1.3vw, 1.2rem);
    }

    .whyUS__service-item p,
    .whyUS__service-item__en p {
        font-size: clamp(0.85rem, 1.1vw, 0.98rem);
    }
}


/* =============================== */
/* Medium Desktop  1281px → 1440px */
/* =============================== */
@media (min-width: 1281px) {
    .whyUS__service-item .ps-title,
    .whyUS__service-item__en .ps-title {
        font-size: clamp(1.05rem, 1.2vw, 1.25rem);
    }

    .whyUS__service-item p,
    .whyUS__service-item__en p {
        font-size: clamp(0.88rem, 1vw, 1.02rem);
    }
}


/* =============================== */
/* Large Desktop  1441px → 1920px  */
/* =============================== */
@media (min-width: 1441px) {
    .whyus-container {
        padding: 1rem clamp(2em, 3vw, 3em);
    }
}


/* =============================== */
/* Extra Large  1921px+            */
/* =============================== */
@media (min-width: 1921px) {
    .whyUS__service-item p,
    .whyUS__service-item__en p {
        font-size: clamp(1rem, 0.9vw, 1.2rem);
    }
}


/* =============================== */
/* .white-whyus                    */
/* =============================== */
.white-whyus {
    background-color: var(--white);
    color: var(--helperColor);
}

.white-whyus .whyus-section-title {
    color: var(--lightHelper);
}

/* Arabic */
.white-whyus .whyUS__service-item {
    color: var(--helperColor);
    border-color: var(--lightHelper);
    box-shadow: inset 0 0 clamp(0.5em, 2vw, 1em) rgba(25, 30, 36, 0.18);
}

.white-whyus .whyUS__service-item::after {
    background-color: var(--lightHelper);
}

.white-whyus .whyUS__service-item .ps-title {
    color: var(--lightHelper);
    border-bottom-color: var(--lightHelper);
}

.white-whyus .whyUS__service-item p {
    color: var(--helperColor);
}

.white-whyus .whyUS__service-item:hover .ps-title,
.white-whyus .whyUS__service-item:hover p,
.white-whyus .whyUS__service-item:hover ul {
    color: var(--white);
    border-bottom-color: var(--white);
}

/* English */
.white-whyus .whyUS__service-item__en {
    color: var(--helperColor);
    border-color: var(--lightHelper);
    box-shadow: inset 0 0 clamp(0.5em, 2vw, 1em) rgba(25, 30, 36, 0.18);
}

.white-whyus .whyUS__service-item__en::after {
    background-color: var(--lightHelper);
}

.white-whyus .whyUS__service-item__en .ps-title {
    color: var(--lightHelper);
    border-bottom-color: var(--lightHelper);
}

.white-whyus .whyUS__service-item__en p {
    color: var(--helperColor);
}

.white-whyus .whyUS__service-item__en:hover .ps-title,
.white-whyus .whyUS__service-item__en:hover p,
.white-whyus .whyUS__service-item__en:hover ul {
    color: var(--white);
    border-bottom-color: var(--white);
}


/* =============================== */
/* .blue-whyus                     */
/* =============================== */
.blue-whyus {
    background-color: var(--lightHelper);
    color: var(--white);
}

.blue-whyus .whyus-section-title {
    color: var(--white);
}

/* Arabic */
.blue-whyus .whyUS__service-item {
    color: var(--white);
    border-color: var(--white);
    box-shadow: inset 0 0 clamp(0.5em, 2vw, 1em) rgba(0, 0, 0, 0.18);
}

.blue-whyus .whyUS__service-item::after {
    background-color: var(--white);
}

.blue-whyus .whyUS__service-item .ps-title {
    color: var(--white);
    border-bottom-color: var(--white);
}

.blue-whyus .whyUS__service-item p {
    color: var(--white);
}

.blue-whyus .whyUS__service-item:hover .ps-title,
.blue-whyus .whyUS__service-item:hover p,
.blue-whyus .whyUS__service-item:hover ul {
    color: var(--lightHelper);
    border-bottom-color: var(--lightHelper);
}

/* English */
.blue-whyus .whyUS__service-item__en {
    color: var(--white);
    border-color: var(--white);
    box-shadow: inset 0 0 clamp(0.5em, 2vw, 1em) rgba(0, 0, 0, 0.18);
}

.blue-whyus .whyUS__service-item__en::after {
    background-color: var(--white);
}

.blue-whyus .whyUS__service-item__en .ps-title {
    color: var(--white);
    border-bottom-color: var(--white);
}

.blue-whyus .whyUS__service-item__en p {
    color: var(--white);
}

.blue-whyus .whyUS__service-item__en:hover .ps-title,
.blue-whyus .whyUS__service-item__en:hover p,
.blue-whyus .whyUS__service-item__en:hover ul {
    color: var(--lightHelper);
    border-bottom-color: var(--lightHelper);
}