/* ============================================================
   ebpt5 — Features / Services Section
   Namespace  : ebpt5
============================================================ */

@import url('https://fonts.googleapis.com/css2?family=El+Messiri:wght@400;500;600;700&display=swap');

/* ─── 1. Variables & Colors ─────────────────────────────── */
.ebpt5 {


  --ebpt5-bg:              linear-gradient(160deg, #2ec99d 0%, #1a8fc7 55%, #1566a8 100%);

  /* النصوص */
  --ebpt5-text:            #ffffff;
  --ebpt5-title:           #ffffff;
  --ebpt5-border:          rgba(255, 255, 255, 0.22);

  /* الكارت */
  --ebpt5-card-bg:         rgba(255, 255, 255, 0.15);
  --ebpt5-card-border:     rgba(255, 255, 255, 0.22);
  --ebpt5-card-title:      #ffffff;
  --ebpt5-card-radius:     0.85rem;
  --ebpt5-card-shadow:     0 0.15rem 0.8rem rgba(0, 0, 0, 0.12);
  --ebpt5-card-shadow-hover: 0 0.3rem 1.2rem rgba(0, 0, 0, 0.22);

  /* صورة الكارت */
  --ebpt5-img-size:        4.5rem;
  --ebpt5-img-radius:      0.6rem;
  --ebpt5-img-bg:          rgba(255, 255, 255, 0.18);

  /* Buttons */
  --ebpt5-btn-bg:          rgba(255, 255, 255, 0.25);
  --ebpt5-btn-text:        #ffffff;

  /* Input */
  --ebpt5-input-bg:        rgba(255, 255, 255, 0.15);
  --ebpt5-input-text:      #ffffff;

  /* Spacing */
  --ebpt5-padding-top:    2.5rem;
  --ebpt5-padding-bottom: 2.5rem;
  --ebpt5-gap:            0.75rem;
  --ebpt5-card-pad:       0.65rem;
}

/* ─── 2. Reset inside namespace ─────────────────────────── */
*,
.ebpt5 *,
.ebpt5 *::before,
.ebpt5 *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ─── 3. Base Styles — Mobile ───────────────────────────── */
.ebpt5 {
  font-family: "El Messiri", sans-serif;
  direction: rtl;
  background: var(--ebpt5-bg);
  padding-top: var(--ebpt5-padding-top);
  padding-bottom: var(--ebpt5-padding-bottom);
  width: 100%;

}

.ebpt5__container {
  width: 100%;
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 1rem;
}


.ebpt5__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ebpt5-gap);
}

/* ─── الكارت ─────────────────────────────────────────────── */
.ebpt5__card {
  display: flex;
  flex-direction: row;         
  align-items: center;
  gap: 0.85rem;
  background: var(--ebpt5-card-bg);
  border: 0.06rem solid var(--ebpt5-card-border);
  border-radius: var(--ebpt5-card-radius);
  padding: var(--ebpt5-card-pad);
  backdrop-filter: blur(0.5rem);
  -webkit-backdrop-filter: blur(0.5rem);
  box-shadow: var(--ebpt5-card-shadow);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.ebpt5__card:hover {
  box-shadow: var(--ebpt5-card-shadow-hover);
  background: rgba(255, 255, 255, 0.22);
}


.ebpt5__card-img-wrap {
  flex-shrink: 0;
  width: var(--ebpt5-img-size);
  height: var(--ebpt5-img-size);
  border-radius: var(--ebpt5-img-radius);
  overflow: hidden;
  background: var(--ebpt5-img-bg);

  aspect-ratio: 1 / 1;
}

.ebpt5__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 1 / 1;
}

/* ─── عنوان الكارت ──────────────────────────────────────── */
.ebpt5__card-title {
  color: var(--ebpt5-card-title);
  font-size: clamp(0.95rem, 4vw, 1.15rem);
  font-weight: 600;
  text-align: right;
  line-height: 1.35;
  flex: 1;
}

/* ─── 4. Breakpoints (min-width فقط) ───────────────────── */

/* Small Tablet — 481 → 600 */
@media (min-width: 481px) {
  .ebpt5__container {
    padding: 0 1.25rem;
  }
}


@media (min-width: 601px) {
  .ebpt5 {
    --ebpt5-padding-top:    3rem;
    --ebpt5-padding-bottom: 3rem;
    --ebpt5-gap:            1rem;
  }

  .ebpt5__grid {
    grid-template-columns: 1fr 1fr;
  }

  .ebpt5__container {
    padding: 0 1.5rem;
  }
}

/* Large Tablet — 769 → 1024 */
@media (min-width: 769px) {
  .ebpt5 {
    --ebpt5-padding-top:    3.5rem;
    --ebpt5-padding-bottom: 3.5rem;
    --ebpt5-img-size:       5rem;
  }

  .ebpt5__container {
    padding: 0 2rem;
  }
}


@media (min-width: 1025px) {
  .ebpt5 {
    --ebpt5-padding-top:    4.5rem;
    --ebpt5-padding-bottom: 4.5rem;
    --ebpt5-gap:            1.25rem;
    --ebpt5-img-size:       5rem;
  }

  .ebpt5__grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .ebpt5__container {
    padding: 0 2.5rem;
  }
}

/* Medium Desktop — 1281 → 1440 */
@media (min-width: 1281px) {
  .ebpt5 {
    --ebpt5-gap: 1.4rem;
  }

  .ebpt5__card-title {
    font-size: 1.2rem;
  }
}

/* Large Desktop — 1441 → 1920 */
@media (min-width: 1441px) {
  .ebpt5 {
    --ebpt5-padding-top:    5.5rem;
    --ebpt5-padding-bottom: 5.5rem;
    --ebpt5-gap:            1.6rem;
  }

  .ebpt5__card-title {
    font-size: 1.3rem;
  }
}

/* Extra Large — 1921+ */
@media (min-width: 1921px) {
  .ebpt5 {
    --ebpt5-gap: 2rem;
  }

  .ebpt5__card-title {
    font-size: 1.4rem;
  }
}