/* ============================================================
   ebsrv10 — Services List Icons
   Namespace  : ebsrv10
============================================================ */

@import url('https://fonts.googleapis.com/css2?family=El+Messiri:wght@400..700&display=swap');

/* 1. Variables & Colors */
.ebsrv10 {

    --ebsrv10-bg: #f5f7fb;
    --ebsrv10-text: #1e293b;
    --ebsrv10-title: #1e3a8a;
    --ebsrv10-border: #cbd5f5;

    --ebsrv10-card-bg: transparent;
    --ebsrv10-card-title: #1e3a8a;
    --ebsrv10-card-text: #475569;
    --ebsrv10-card-btn: #1e3a8a;

    --ebsrv10-btn-bg: #1e3a8a;
    --ebsrv10-btn-text: #ffffff;

    --ebsrv10-input-bg: #ffffff;
    --ebsrv10-input-text: #111827;

    --ebsrv10-icon-bg: #2f5be7;
    --ebsrv10-icon-color: #ffffff;

    --ebsrv10-padding-top: 1rem;
    --ebsrv10-padding-bottom: 1rem;
}

/* 2. Reset داخل الـ namespace */
*,
.ebsrv10 *,
.ebsrv10 *::before,
.ebsrv10 *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* 3. Base Styles — Mobile */
.ebsrv10 {
    font-family: "El Messiri", sans-serif;
    background: var(--ebsrv10-bg);
    padding-top: var(--ebsrv10-padding-top);
    padding-bottom: var(--ebsrv10-padding-bottom);
}

.ebsrv10__container {
    width: 90%;
    margin: 0 auto;
}

.ebsrv10__list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.ebsrv10__item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

/* Icon Circle */
.ebsrv10__icon-wrapper {
    width: 3.5rem;
    height: 3.5rem;
    background: var(--ebsrv10-icon-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Image inside circle */
.ebsrv10__icon {
    width: 60%;
    height: 60%;
    object-fit: contain;
    aspect-ratio: 1 / 1;
    filter: brightness(0) invert(1);
}

/* Title */
.ebsrv10__title {
    color: var(--ebsrv10-title);
    font-size: clamp(1rem, 3vw, 1.3rem);
    font-weight: 700;
    position: relative;
    display: inline-block;
}

/* Underline */
.ebsrv10__title::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -0.4rem;
    width: 100%;
    height: 0.15rem;
    background: var(--ebsrv10-icon-bg);
}

/* Hover */
.ebsrv10__item:hover .ebsrv10__title {
    opacity: 0.85;
}

/* 4. Breakpoints */

@media (min-width: 481px) {
    .ebsrv10__icon-wrapper {
        width: 4rem;
        height: 4rem;
    }
}

@media (min-width: 601px) {

    .ebsrv10__list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

}
@media (min-width: 769px) {
    .ebsrv10__item {
        gap: 1.5rem;
    }
}

@media (min-width: 1025px) {

    .ebsrv10__list {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }

}

@media (min-width: 1281px) {
    .ebsrv10__container {
        width: 70%;
    }
}

@media (min-width: 1441px) {
    .ebsrv10__container {
        width: 60%;
    }
}

@media (min-width: 1921px) {
    .ebsrv10__title {
        font-size: 1.6rem;
    }
}