@import url('https://fonts.googleapis.com/css2?family=El+Messiri:wght@400..700&display=swap');

/* ============================================================
   SERVICES BENTO — THEME 5 (Mint Meadow)
   Identity: organic meadow / soft mint + botanical
     card:   leaf-rounded image card, green border, sepal accent
     number: leaf-badge chip
     hover:  zoom + glow + desc reveal
     fonts:  Fraunces + Amiri
   ============================================================ */

.ebsrv14-section {
  /* ---------- CORE ---------- */
  --ebsrv14-font-family: 'El Messiri', sans-serif;
  --ebsrv14-font-family-accent: 'El Messiri', sans-serif;

  --ebsrv14-animation-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ebsrv14-animation-infinite: infinite;
  --ebsrv14-animation-alternate: alternate;
  --ebsrv14-animation-alternate-reverse: alternate-reverse;

  --ebsrv14-blur-glass: 14px;
  --ebsrv14-blur-soft: 30px;
  --ebsrv14-radius-pill: 999px;
  --ebsrv14-radius-card: 24px;
  --ebsrv14-radius-leaf: 45% 55% 50% 50%;
  --ebsrv14-radius-circle: 50%;

  --ebsrv14-transition-duration: 0.5s;

  /* ---------- SECTION ---------- */
  --ebsrv14-section-background: linear-gradient(180deg, #e4f5ed 0%, #cbead0 40%, #b3e2cd 100%);
  --ebsrv14-section-padding-top: 6.5rem;
  --ebsrv14-section-padding-bottom: 6.5rem;
  --ebsrv14-section-padding-x: 1.5rem;
  --ebsrv14-section-max-width: 1240px;

  --ebsrv14-orb-1-bg: rgba(63, 174, 131, 0.2);
  --ebsrv14-orb-1-size: 460px;
  --ebsrv14-orb-2-bg: rgba(47, 138, 104, 0.16);
  --ebsrv14-orb-2-size: 380px;
  --ebsrv14-orb-3-bg: rgba(255, 253, 250, 0.6);
  --ebsrv14-orb-3-size: 300px;
  --ebsrv14-shape-ring-color: rgba(47, 138, 104, 0.28);
  --ebsrv14-shape-ring-size: 520px;
  --ebsrv14-shape-grid-color: rgba(47, 138, 104, 0.12);
  --ebsrv14-leaf-color: #3fae83;
  --ebsrv14-leaf-size: 14px;

  /* ---------- HEADER ---------- */
  --ebsrv14-badge-bg: rgba(255, 255, 255, 0.8);
  --ebsrv14-badge-border: 1px solid rgba(63, 174, 131, 0.45);
  --ebsrv14-badge-color: #2f7a5e;
  --ebsrv14-badge-ico-color: #2f8a68;
  --ebsrv14-title-color: #24563f;
  --ebsrv14-title-hl-color: #2e8a68;
  --ebsrv14-title-hl-bg: rgba(126, 208, 182, 0.5);
  --ebsrv14-sub-color: rgba(47, 122, 94, 0.8);

  /* ---------- CARD ---------- */
  --ebsrv14-card-radius: var(--ebsrv14-radius-card);
  --ebsrv14-card-border: 1px solid rgba(63, 174, 131, 0.45);
  --ebsrv14-card-shadow: 0 26px 50px -26px rgba(46, 138, 104, 0.45);
  --ebsrv14-card-shadow-hover: 0 40px 80px -30px rgba(46, 138, 104, 0.55), 0 0 0 1px rgba(63, 174, 131, 0.5) inset;
  --ebsrv14-card-min-h: 300px;
  --ebsrv14-card-lg-a-min-h: 340px;
  --ebsrv14-card-lg-b-min-h: 320px;
  --ebsrv14-card-media-zoom: 1.05;
  --ebsrv14-card-media-zoom-hover: 1.14;

  --ebsrv14-card-overlay-1: linear-gradient(180deg, rgba(36, 86, 63, 0) 34%, rgba(36, 86, 63, 0.35) 62%, rgba(36, 86, 63, 0.84) 100%);
  --ebsrv14-card-overlay-2: linear-gradient(135deg, rgba(63, 174, 131, 0.3), transparent 55%);
  --ebsrv14-card-sheen-bg: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.18) 48%, transparent 62%);
  --ebsrv14-card-sheen-bg-hover: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.32) 48%, transparent 62%);

  --ebsrv14-card-num-color: #ffffff;
  --ebsrv14-card-num-stroke: none;
  --ebsrv14-card-num-stroke-hover: none;
  --ebsrv14-card-num-size: 1.1rem;
  --ebsrv14-card-num-font: var(--ebsrv14-font-family);
  --ebsrv14-card-num-weight: 600;

  --ebsrv14-card-title-color: #ffffff;
  --ebsrv14-card-title-font-size: 1.6rem;
  --ebsrv14-card-desc-color: rgba(232, 250, 242, 0.95);
  --ebsrv14-card-desc-font-size: 0.94rem;
  --ebsrv14-card-body-padding: 1.9rem;

  --ebsrv14-card-link-color: #24563f;
  --ebsrv14-card-link-bg: rgba(255, 253, 250, 0.92);
  --ebsrv14-card-link-border: 1px solid rgba(47, 138, 104, 0.5);
  --ebsrv14-card-link-hover-bg: #3fae83;
  --ebsrv14-card-link-hover-color: #ffffff;
  --ebsrv14-card-link-radius: var(--ebsrv14-radius-pill);

  --ebsrv14-spotlight-color: rgba(178, 232, 205, 0.32);

  /* ---------- GRID ---------- */
  --ebsrv14-grid-gap: 1.5rem;

  /* ---------- REVEAL ---------- */
  --ebsrv14-reveal-duration: 0.7s;
  --ebsrv14-reveal-delay-step: 0.1s;
  --ebsrv14-reveal-distance: 36px;

  /* ---------- BASE ---------- */
  position: relative;
  display: block;
  font-family: "El Messiri", sans-serif;
  direction: rtl;
  background: var(--ebsrv14-section-background);
  padding: var(--ebsrv14-section-padding-top) var(--ebsrv14-section-padding-x) var(--ebsrv14-section-padding-bottom);
  overflow: hidden;
}

/* ============================ BG DECOR ============================ */
.ebsrv14-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.ebsrv14-orb {
  position: absolute;
  border-radius: var(--ebsrv14-radius-leaf);
  filter: blur(var(--ebsrv14-blur-soft));
  animation-duration: 14s;
  animation-timing-function: var(--ebsrv14-animation-ease);
  animation-iteration-count: var(--ebsrv14-animation-infinite);
  animation-direction: var(--ebsrv14-animation-alternate);
}
.ebsrv14-orb-1 {
  width: var(--ebsrv14-orb-1-size);
  height: var(--ebsrv14-orb-1-size);
  top: -16%;
  inset-inline-start: -12%;
  background: var(--ebsrv14-orb-1-bg);
  animation-name: ebsrv14-orb-a;
}
.ebsrv14-orb-2 {
  width: var(--ebsrv14-orb-2-size);
  height: var(--ebsrv14-orb-2-size);
  bottom: -14%;
  inset-inline-end: -10%;
  background: var(--ebsrv14-orb-2-bg);
  animation-duration: 18s;
  animation-direction: var(--ebsrv14-animation-alternate-reverse);
  animation-name: ebsrv14-orb-b;
}
.ebsrv14-orb-3 {
  width: var(--ebsrv14-orb-3-size);
  height: var(--ebsrv14-orb-3-size);
  top: 44%;
  inset-inline-start: 44%;
  background: var(--ebsrv14-orb-3-bg);
  animation-duration: 20s;
  animation-name: ebsrv14-orb-a;
}
.ebsrv14-shape-ring {
  position: absolute;
  width: var(--ebsrv14-shape-ring-size);
  height: var(--ebsrv14-shape-ring-size);
  top: 12%;
  inset-inline-end: -14%;
  border: 1px dashed var(--ebsrv14-shape-ring-color);
  border-radius: var(--ebsrv14-radius-leaf);
  animation: ebsrv14-ring-sway 8s var(--ebsrv14-animation-ease) var(--ebsrv14-animation-infinite) var(--ebsrv14-animation-alternate);
}
.ebsrv14-shape-ring::before {
  content: "";
  position: absolute;
  width: var(--ebsrv14-leaf-size);
  height: var(--ebsrv14-leaf-size);
  top: 24px;
  inset-inline-start: 30px;
  border-radius: var(--ebsrv14-radius-circle) 0 var(--ebsrv14-radius-circle) 0;
  background: var(--ebsrv14-leaf-color);
  animation: ebsrv14-leaf-sway 4.5s var(--ebsrv14-animation-ease) var(--ebsrv14-animation-infinite) var(--ebsrv14-animation-alternate-reverse);
}
.ebsrv14-shape-ring::after {
  content: "";
  position: absolute;
  width: calc(var(--ebsrv14-leaf-size) * 0.8);
  height: calc(var(--ebsrv14-leaf-size) * 0.8);
  bottom: 40px;
  inset-inline-end: 50px;
  border-radius: 0 var(--ebsrv14-radius-circle) 0 var(--ebsrv14-radius-circle);
  background: #7ed0b6;
  animation: ebsrv14-leaf-sway 5.5s var(--ebsrv14-animation-ease) var(--ebsrv14-animation-infinite) var(--ebsrv14-animation-alternate);
}
.ebsrv14-shape-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(47, 138, 104, 0.4) 1.5px, transparent 1.6px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse at 75% 25%, #000 0%, transparent 62%);
  -webkit-mask-image: radial-gradient(ellipse at 75% 25%, #000 0%, transparent 62%);
}

/* ============================ HEADER ============================ */
.ebsrv14-header {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.9rem;
  margin-bottom: 3.6rem;
}
.ebsrv14-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.3rem;
  background: var(--ebsrv14-badge-bg);
  border: var(--ebsrv14-badge-border);
  border-radius: var(--ebsrv14-radius-pill);
  color: var(--ebsrv14-badge-color);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 12px 24px -12px rgba(46, 138, 104, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.ebsrv14-badge-ico { color: var(--ebsrv14-badge-ico-color); }
.ebsrv14-title {
  margin: 0;
  color: var(--ebsrv14-title-color);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
}
.ebsrv14-title-hl {
  color: var(--ebsrv14-title-hl-color);
  background: var(--ebsrv14-title-hl-bg);
  -webkit-background-clip: text;
  background-clip: text;
}
.ebsrv14-sub {
  margin: 0;
  max-width: 620px;
  color: var(--ebsrv14-sub-color);
  font-size: 1.02rem;
  line-height: 1.9;
}

/* ============================ GRID (BENTO — Paired Rows) ============================ */
/*   a a a a     a=01 شريط علوي عريض، b/c و d/e زوجين متقابلين، f=06 شريط سفلي */
/*   b b c c                                                               */
/*   d d e e                                                               */
/*   f f f f                                                               */
.ebsrv14-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-areas:
    "a a a a"
    "b b c c"
    "d d e e"
    "f f f f";
  grid-auto-rows: auto;
  gap: var(--ebsrv14-grid-gap);
  max-width: var(--ebsrv14-section-max-width);
  margin-inline: auto;
}
.ebsrv14-card-lg-a { grid-area: a; min-height: var(--ebsrv14-card-lg-a-min-h); }
.ebsrv14-card-lg-b { grid-area: f; min-height: var(--ebsrv14-card-lg-b-min-h); }
.ebsrv14-grid > article:nth-of-type(2) { grid-area: b; }
.ebsrv14-grid > article:nth-of-type(3) { grid-area: c; }
.ebsrv14-grid > article:nth-of-type(4) { grid-area: d; }
.ebsrv14-grid > article:nth-of-type(5) { grid-area: e; }

/* ============================ CARD ============================ */
.ebsrv14-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: var(--ebsrv14-card-min-h);
  border-radius: var(--ebsrv14-card-radius);
  border: var(--ebsrv14-card-border);
  box-shadow: var(--ebsrv14-card-shadow);
  overflow: hidden;
  transform: translateZ(0);
  transition: box-shadow var(--ebsrv14-transition-duration) var(--ebsrv14-animation-ease),
    border-color var(--ebsrv14-transition-duration) var(--ebsrv14-animation-ease);
}
.ebsrv14-card:hover {
  box-shadow: var(--ebsrv14-card-shadow-hover);
  border-color: rgba(63, 174, 131, 0.8);
}

/* media */
.ebsrv14-card-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.ebsrv14-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  transform: scale(var(--ebsrv14-card-media-zoom))
    rotateX(var(--ebsrv14-rx, 0deg)) rotateY(var(--ebsrv14-ry, 0deg));
  transform-origin: 50% 50%;
  transition: transform 1s var(--ebsrv14-animation-ease), filter 0.6s var(--ebsrv14-animation-ease);
  will-change: transform;
}
.ebsrv14-card:hover .ebsrv14-card-media img {
  transform: scale(var(--ebsrv14-card-media-zoom-hover))
    rotateX(var(--ebsrv14-rx, 0deg)) rotateY(var(--ebsrv14-ry, 0deg));
}

/* overlays */
.ebsrv14-card::before,
.ebsrv14-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.5s var(--ebsrv14-animation-ease);
}
.ebsrv14-card::before { background: var(--ebsrv14-card-overlay-1); }
.ebsrv14-card::after {
  background: var(--ebsrv14-card-overlay-2);
  mix-blend-mode: screen;
}

/* sheen */
.ebsrv14-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--ebsrv14-card-sheen-bg);
  background-size: 220% 220%;
  background-position: 100% 50%;
  transition: background-position 1s var(--ebsrv14-animation-ease);
  pointer-events: none;
}
.ebsrv14-card:hover .ebsrv14-card-media::after {
  background: var(--ebsrv14-card-sheen-bg-hover);
  background-size: 220% 220%;
  background-position: 0% 50%;
}

/* spotlight */
.ebsrv14-card-spot {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(420px circle at var(--ebsrv14-mx, 50%) var(--ebsrv14-my, 50%), var(--ebsrv14-spotlight-color), transparent 60%);
  transition: opacity 0.45s var(--ebsrv14-animation-ease);
}
.ebsrv14-card:hover .ebsrv14-card-spot { opacity: 1; }

/* leaf number chip */
.ebsrv14-card-num {
  position: absolute;
  top: 1.2rem;
  inset-inline-end: 1.4rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.2rem;
  height: 3.2rem;
  padding: 0 0.6rem;
  font-family: "El Messiri", sans-serif;
  font-size: var(--ebsrv14-card-num-size);
  font-weight: var(--ebsrv14-card-num-weight);
  line-height: 1;
  color: var(--ebsrv14-card-num-color);
  background: linear-gradient(135deg, #3fae83, #2e8a68);
  border-radius: var(--ebsrv14-radius-leaf);
  box-shadow: 0 12px 22px -10px rgba(46, 138, 104, 0.7);
  transition: transform 0.5s var(--ebsrv14-animation-ease);
  user-select: none;
}
.ebsrv14-card:hover .ebsrv14-card-num {
  transform: translateY(-6px) rotate(8deg);
}

/* body */
.ebsrv14-card-body {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  padding: var(--ebsrv14-card-body-padding);
  width: 100%;
}
.ebsrv14-card-title {
  margin: 0;
  color: var(--ebsrv14-card-title-color);
  font-size: var(--ebsrv14-card-title-font-size);
  font-weight: 600;
  line-height: 1.35;
}
.ebsrv14-card-desc {
  margin: 0;
  max-width: 46ch;
  color: var(--ebsrv14-card-desc-color);
  font-size: var(--ebsrv14-card-desc-font-size);
  line-height: 1.9;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(10px);
  transition: max-height 0.65s var(--ebsrv14-animation-ease),
    opacity 0.55s var(--ebsrv14-animation-ease),
    transform 0.55s var(--ebsrv14-animation-ease);
}
.ebsrv14-card:hover .ebsrv14-card-desc {
  max-height: 170px;
  opacity: 1;
  transform: translateY(0);
}

.ebsrv14-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.6rem;
  padding: 0.65rem 1.4rem;
  background: var(--ebsrv14-card-link-bg);
  border: var(--ebsrv14-card-link-border);
  border-radius: var(--ebsrv14-card-link-radius);
  color: var(--ebsrv14-card-link-color);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 12px 24px -12px rgba(46, 138, 104, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.4s var(--ebsrv14-animation-ease),
    color 0.4s var(--ebsrv14-animation-ease),
    transform 0.4s var(--ebsrv14-animation-ease);
}
.ebsrv14-card-link i { transition: transform 0.4s var(--ebsrv14-animation-ease); }
.ebsrv14-card-link:hover {
  background: var(--ebsrv14-card-link-hover-bg);
  color: var(--ebsrv14-card-link-hover-color);
  transform: translateY(-2px);
}
.ebsrv14-card-link:hover i { transform: translate(-3px, -3px); }

/* lg-a و lg-b (شريطان عريضان): جسم أفقي */
.ebsrv14-card-lg-a .ebsrv14-card-body,
.ebsrv14-card-lg-b .ebsrv14-card-body {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.ebsrv14-card-lg-a .ebsrv14-card-text,
.ebsrv14-card-lg-b .ebsrv14-card-text {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-width: 60%;
}
.ebsrv14-card-lg-a .ebsrv14-card-desc,
.ebsrv14-card-lg-b .ebsrv14-card-desc {
  max-height: none;
  opacity: 1;
  transform: none;
}
.ebsrv14-card-lg-a .ebsrv14-card-num,
.ebsrv14-card-lg-b .ebsrv14-card-num { inset-inline-end: 45%; }

/* ============================ REVEAL ============================ */
.ebsrv14-reveal {
  opacity: 0;
  transform: translateY(var(--ebsrv14-reveal-distance));
  transition: opacity var(--ebsrv14-reveal-duration) var(--ebsrv14-animation-ease),
    transform var(--ebsrv14-reveal-duration) var(--ebsrv14-animation-ease);
  transition-delay: calc(var(--ebsrv14-card-order, 0) * var(--ebsrv14-reveal-delay-step));
}
.ebsrv14-in {
  opacity: 1;
  transform: none;
}

/* ============================ KEYFRAMES ============================ */
@keyframes ebsrv14-orb-a {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(30px, 34px) rotate(4deg); }
}
@keyframes ebsrv14-orb-b {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(-32px, -26px) rotate(-4deg); }
}
@keyframes ebsrv14-ring-sway {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(7deg); }
}
@keyframes ebsrv14-leaf-sway {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(8px, -4px) rotate(12deg); }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
/* Mini Screen */
@media (max-width: 320px) {
  .ebsrv14-section {
    --ebsrv14-grid-gap: 1.1rem;
    --ebsrv14-section-padding-x: 1rem;
    --ebsrv14-card-min-h: 250px;
    --ebsrv14-card-lg-a-min-h: 400px;
    --ebsrv14-card-body-padding: 1.4rem;
    --ebsrv14-card-title-font-size: 1.4rem;
  }
  .ebsrv14-grid { grid-template-columns: 1fr; grid-template-areas: "a" "b" "c" "d" "e" "f"; }
  .ebsrv14-card-lg-a .ebsrv14-card-body,
  .ebsrv14-card-lg-b .ebsrv14-card-body { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
  .ebsrv14-card-lg-a .ebsrv14-card-text,
  .ebsrv14-card-lg-b .ebsrv14-card-text { max-width: 100%; }
  .ebsrv14-card-lg-a .ebsrv14-card-num,
  .ebsrv14-card-lg-b .ebsrv14-card-num { inset-inline-end: 1rem; }
}
/* Small Phone */
@media (min-width: 321px) and (max-width: 375px) {
  .ebsrv14-section {
    --ebsrv14-grid-gap: 1.1rem;
    --ebsrv14-section-padding-x: 1rem;
    --ebsrv14-card-min-h: 260px;
    --ebsrv14-card-lg-a-min-h: 420px;
    --ebsrv14-card-body-padding: 1.5rem;
    --ebsrv14-card-title-font-size: 1.45rem;
  }
  .ebsrv14-grid { grid-template-columns: 1fr; grid-template-areas: "a" "b" "c" "d" "e" "f"; }
  .ebsrv14-card-lg-a .ebsrv14-card-body,
  .ebsrv14-card-lg-b .ebsrv14-card-body { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
  .ebsrv14-card-lg-a .ebsrv14-card-text,
  .ebsrv14-card-lg-b .ebsrv14-card-text { max-width: 100%; }
  .ebsrv14-card-lg-a .ebsrv14-card-num,
  .ebsrv14-card-lg-b .ebsrv14-card-num { inset-inline-end: 1rem; }
}
/* Medium Phone */
@media (min-width: 376px) and (max-width: 425px) {
  .ebsrv14-section {
    --ebsrv14-grid-gap: 1.2rem;
    --ebsrv14-section-padding-x: 1.1rem;
    --ebsrv14-card-min-h: 270px;
    --ebsrv14-card-lg-a-min-h: 440px;
    --ebsrv14-card-body-padding: 1.6rem;
  }
  .ebsrv14-grid { grid-template-columns: 1fr; grid-template-areas: "a" "b" "c" "d" "e" "f"; }
  .ebsrv14-card-lg-a .ebsrv14-card-body,
  .ebsrv14-card-lg-b .ebsrv14-card-body { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
  .ebsrv14-card-lg-a .ebsrv14-card-text,
  .ebsrv14-card-lg-b .ebsrv14-card-text { max-width: 100%; }
  .ebsrv14-card-lg-a .ebsrv14-card-num,
  .ebsrv14-card-lg-b .ebsrv14-card-num { inset-inline-end: 1rem; }
}
/* Large Phone */
@media (min-width: 426px) and (max-width: 480px) {
  .ebsrv14-section {
    --ebsrv14-grid-gap: 1.2rem;
    --ebsrv14-section-padding-x: 1.2rem;
    --ebsrv14-card-min-h: 280px;
    --ebsrv14-card-lg-a-min-h: 460px;
  }
  .ebsrv14-grid { grid-template-columns: 1fr; grid-template-areas: "a" "b" "c" "d" "e" "f"; }
  .ebsrv14-card-lg-a .ebsrv14-card-body,
  .ebsrv14-card-lg-b .ebsrv14-card-body { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
  .ebsrv14-card-lg-a .ebsrv14-card-text,
  .ebsrv14-card-lg-b .ebsrv14-card-text { max-width: 100%; }
  .ebsrv14-card-lg-a .ebsrv14-card-num,
  .ebsrv14-card-lg-b .ebsrv14-card-num { inset-inline-end: 1rem; }
}
/* Small Tablet */
@media (min-width: 481px) and (max-width: 600px) {
  .ebsrv14-section {
    --ebsrv14-grid-gap: 1.3rem;
    --ebsrv14-section-padding-x: 1.4rem;
    --ebsrv14-card-min-h: 290px;
    --ebsrv14-card-lg-a-min-h: 500px;
  }
  .ebsrv14-grid { grid-template-columns: 1fr; grid-template-areas: "a" "b" "c" "d" "e" "f"; }
  .ebsrv14-card-lg-a .ebsrv14-card-body,
  .ebsrv14-card-lg-b .ebsrv14-card-body { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
  .ebsrv14-card-lg-a .ebsrv14-card-text,
  .ebsrv14-card-lg-b .ebsrv14-card-text { max-width: 100%; }
  .ebsrv14-card-lg-a .ebsrv14-card-num,
  .ebsrv14-card-lg-b .ebsrv14-card-num { inset-inline-end: 1rem; }
}
/* Medium Tablet */
@media (min-width: 601px) and (max-width: 768px) {
  .ebsrv14-section {
    --ebsrv14-grid-gap: 1.3rem;
    --ebsrv14-section-padding-x: 1.5rem;
    --ebsrv14-card-min-h: 300px;
    --ebsrv14-card-lg-a-min-h: 540px;
  }
  .ebsrv14-grid { grid-template-columns: 1fr; grid-template-areas: "a" "b" "c" "d" "e" "f"; }
  .ebsrv14-card-lg-a .ebsrv14-card-body,
  .ebsrv14-card-lg-b .ebsrv14-card-body { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
  .ebsrv14-card-lg-a .ebsrv14-card-text,
  .ebsrv14-card-lg-b .ebsrv14-card-text { max-width: 100%; }
  .ebsrv14-card-lg-a .ebsrv14-card-num,
  .ebsrv14-card-lg-b .ebsrv14-card-num { inset-inline-end: 1rem; }
}
/* Large Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
  .ebsrv14-section {
    --ebsrv14-grid-gap: 1.3rem;
    --ebsrv14-section-padding-x: 1.6rem;
    --ebsrv14-card-lg-a-min-h: 560px;
  }
  .ebsrv14-grid { grid-template-columns: repeat(2, 1fr); grid-template-areas: "a a" "b c" "d e" "f f"; }
  .ebsrv14-card-lg-a .ebsrv14-card-body,
  .ebsrv14-card-lg-b .ebsrv14-card-body { flex-direction: row; }
}
/* Small Desktop */
@media (min-width: 1025px) and (max-width: 1280px) {
  .ebsrv14-grid { grid-template-columns: repeat(4, 1fr); }
}
/* Medium Desktop */
@media (min-width: 1281px) and (max-width: 1440px) {
  /* base */
}
/* Large Desktop */
@media (min-width: 1441px) and (max-width: 1920px) {
  /* base */
}
/* Extra Large Screens */
@media (min-width: 1921px) {
  /* base */
}

@media (prefers-reduced-motion: reduce) {
  .ebsrv14-orb,
  .ebsrv14-shape-ring,
  .ebsrv14-shape-ring::before,
  .ebsrv14-shape-ring::after {
    animation: none !important;
  }
  .ebsrv14-card,
  .ebsrv14-card::before,
  .ebsrv14-card::after,
  .ebsrv14-card-media img,
  .ebsrv14-card-media::after,
  .ebsrv14-card-spot,
  .ebsrv14-card-num,
  .ebsrv14-card-desc,
  .ebsrv14-card-link,
  .ebsrv14-card-link i {
    transition: none !important;
  }
  .ebsrv14-card-desc { max-height: none; opacity: 1; transform: none; }
  .ebsrv14-reveal { opacity: 1; transform: none; transition: none !important; }
}
