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

/* ============================================================
   SERVICES — THEME 5 (Velvet Rose Satin Aurora Waves)
   Tokens Architecture: 100% Pure CSS Tokens (--ebsrv15-*)
   Identity: Ultra-Soft Velvet Dark Mode, Satin Shifting Aurora
   Layout:   RADICAL ARCHITECTURE: Horizontal Strip Rows (Row Layout)
   Fonts:    El Messiri
   ============================================================ */

.ebsrv15-section {
  direction: rtl;
  font-family: var(--ebsrv15-font);
  position: relative;
  overflow: hidden;

  /* ============================================================
     CSS VARIABLES / DESIGN TOKENS
     ============================================================ */
  --ebsrv15-font: 'El Messiri', sans-serif;
  --ebsrv15-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ebsrv15-duration: 0.35s;

  /* BACKGROUND TOKENS */
  --ebsrv15-bg: #0d0d12;
  --ebsrv15-bg-radial: radial-gradient(circle at 50% 100%, rgba(225, 29, 72, 0.08) 0%, transparent 60%);
  --ebsrv15-bg-aurora: radial-gradient(
    ellipse at center,
    rgba(251, 113, 133, 0.06) 0%,
    rgba(225, 29, 72, 0.04) 40%,
    transparent 70%
  );

  --ebsrv15-orb-1-bg: rgba(225, 29, 72, 0.08);
  --ebsrv15-orb-2-bg: rgba(251, 113, 133, 0.06);

  /* TYPOGRAPHY TOKENS */
  --ebsrv15-text-main: #fdf2f4;
  --ebsrv15-text-sub: #9ca3af;
  --ebsrv15-title-hl-color: #fb7185;
  --ebsrv15-title-hl-bg: linear-gradient(135deg, #fb7185 0%, #e11d48 100%);

  /* ACCENT TOKENS */
  --ebsrv15-accent: #e11d48;
  --ebsrv15-accent-rose: #fb7185;

  /* BADGE TOKENS */
  --ebsrv15-badge-bg: rgba(244, 63, 94, 0.1);
  --ebsrv15-badge-border: 1px solid rgba(244, 63, 94, 0.3);
  --ebsrv15-badge-color: #fb7185;

  /* CARD TOKENS */
  --ebsrv15-card-bg: #14141a;
  --ebsrv15-card-border: 1px solid rgba(244, 63, 94, 0.25);
  --ebsrv15-card-hover-border: 1px solid #fb7185;
  --ebsrv15-card-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
  --ebsrv15-card-hover-shadow: 0 0 35px rgba(225, 29, 72, 0.3);

  /* MEDIA TOKENS */
  --ebsrv15-media-bg: #07070a;

  /* ICON TOKENS */
  --ebsrv15-icon-bg: rgba(225, 29, 72, 0.1);
  --ebsrv15-icon-border: 1px solid rgba(251, 113, 133, 0.25);
  --ebsrv15-icon-color: #fb7185;
  --ebsrv15-icon-hover-bg: #e11d48;
  --ebsrv15-icon-hover-color: #ffffff;
  --ebsrv15-icon-hover-shadow: 0 0 20px rgba(225, 29, 72, 0.4);

  /* BUTTON TOKENS */
  --ebsrv15-btn-bg: rgba(244, 63, 94, 0.08);
  --ebsrv15-btn-border: 1px solid rgba(244, 63, 94, 0.25);
  --ebsrv15-btn-color: #fb7185;
  --ebsrv15-btn-hover-bg: #e11d48;
  --ebsrv15-btn-hover-color: #ffffff;
  --ebsrv15-btn-hover-border: #e11d48;

  /* UTILITY TOKENS */
  --ebsrv15-glass-blur: blur(10px);
  --ebsrv15-radius-card: 18px;
  --ebsrv15-radius-btn: 999px;

  padding-block: 5.5rem;
  padding-inline: 1.5rem;
  background: var(--ebsrv15-bg);
  color: var(--ebsrv15-text-main);
}

/* BACKGROUND DECOR */
.ebsrv15-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: var(--ebsrv15-bg-radial);
}

.ebsrv15-bg::before {
  content: '';
  position: absolute;
  top: -40%;
  inset-inline-start: -40%;
  width: 180%;
  height: 180%;
  background: var(--ebsrv15-bg-aurora);
  animation: ebsrv15-satin-aurora 16s infinite alternate ease-in-out;
}

.ebsrv15-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.ebsrv15-orb-1 {
  width: 500px;
  height: 500px;
  background: var(--ebsrv15-orb-1-bg);
  top: -10%;
  inset-inline-start: -10%;
}

.ebsrv15-orb-2 {
  width: 400px;
  height: 400px;
  background: var(--ebsrv15-orb-2-bg);
  bottom: -10%;
  inset-inline-end: -5%;
}

/* CONTAINER */
.ebsrv15-container {
  max-width: 1240px;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

/* HEADER */
.ebsrv15-header {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

.ebsrv15-badge {
  display: inline-block;
  padding: 0.35rem 1.1rem;
  background: var(--ebsrv15-badge-bg);
  border: var(--ebsrv15-badge-border);
  border-radius: var(--ebsrv15-radius-btn);
  color: var(--ebsrv15-badge-color);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.ebsrv15-title {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.85rem;
  color: var(--ebsrv15-text-main);
}

.ebsrv15-title-hl {
  color: var(--ebsrv15-title-hl-color);
  background: var(--ebsrv15-title-hl-bg);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ebsrv15-sub {
  font-size: 1.05rem;
  color: var(--ebsrv15-text-sub);
  line-height: 1.65;
}

/* GRID LAYOUT — RADICAL HORIZONTAL STRIP ROW ARCHITECTURE */
.ebsrv15-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ebsrv15-card {
  background: var(--ebsrv15-card-bg);
  border: var(--ebsrv15-card-border);
  border-radius: var(--ebsrv15-radius-card);
  overflow: hidden;
  box-shadow: var(--ebsrv15-card-shadow);
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0.75rem;
  transition: all var(--ebsrv15-duration) var(--ebsrv15-ease);
}

.ebsrv15-card:hover {
  transform: translateX(-6px);
  border: var(--ebsrv15-card-hover-border);
  box-shadow: var(--ebsrv15-card-hover-shadow);
}

/* MEDIA */
.ebsrv15-card-media {
  position: relative;
  width: 320px;
  flex-shrink: 0;
  aspect-ratio: 16 / 9.5;
  border-radius: 12px;
  overflow: hidden;
  background: var(--ebsrv15-media-bg);
}

.ebsrv15-card-img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9.5;
  object-fit: cover;
  transition: transform 0.5s var(--ebsrv15-ease);
}

.ebsrv15-card:hover .ebsrv15-card-img {
  transform: scale(1.06);
}

/* CONTENT */
.ebsrv15-card-content {
  padding: 1rem 1.75rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex: 1;
}

.ebsrv15-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--ebsrv15-icon-bg);
  border: var(--ebsrv15-icon-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ebsrv15-icon-color);
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.ebsrv15-card:hover .ebsrv15-card-icon {
  background: var(--ebsrv15-icon-hover-bg);
  color: var(--ebsrv15-icon-hover-color);
  box-shadow: var(--ebsrv15-icon-hover-shadow);
}

.ebsrv15-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ebsrv15-text-main);
  margin-bottom: 0.35rem;
  line-height: 1.4;
}

.ebsrv15-card-desc {
  font-size: 0.92rem;
  color: var(--ebsrv15-text-sub);
  line-height: 1.55;
  margin: 0;
  max-width: 480px;
}

.ebsrv15-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ebsrv15-btn-color);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.6rem 1.2rem;
  background: var(--ebsrv15-btn-bg);
  border: var(--ebsrv15-btn-border);
  border-radius: var(--ebsrv15-radius-btn);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.ebsrv15-card-btn i {
  font-size: 0.82rem;
  transition: transform 0.3s ease;
}

.ebsrv15-card-btn:hover {
  background: var(--ebsrv15-btn-hover-bg);
  color: var(--ebsrv15-btn-hover-color);
  border-color: var(--ebsrv15-btn-hover-border);
}

.ebsrv15-card-btn:hover i {
  transform: translateX(-4px);
}

/* REVEAL ANIMATION */
.ebsrv15-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ebsrv15-ease), transform 0.7s var(--ebsrv15-ease);
}

.ebsrv15-reveal.ebsrv15-in {
  opacity: 1;
  transform: translateY(0);
}

/* KEYFRAMES */
@keyframes ebsrv15-satin-aurora {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.1) translate(30px, -20px); }
}

/* ============================================================
   12 MEDIA QUERIES (EXACT STANDARD BLOCK)
   ============================================================ */

/* 1. max-width: 320px */
@media (max-width: 320px) {
  .ebsrv15-section { padding-block: 3.5rem; padding-inline: 0.75rem; }
  .ebsrv15-title { font-size: 1.7rem; }
  .ebsrv15-card { flex-direction: column; align-items: stretch; padding: 0.5rem; }
  .ebsrv15-card-media { width: 100%; }
  .ebsrv15-card-content { flex-direction: column; align-items: flex-start; padding: 1.25rem 0.75rem; gap: 1rem; }
  .ebsrv15-card-btn { width: 100%; justify-content: center; }
}

/* 2. min-width: 321px and max-width: 375px */
@media (min-width: 321px) and (max-width: 375px) {
  .ebsrv15-section { padding-block: 3.75rem; padding-inline: 1rem; }
  .ebsrv15-title { font-size: 1.85rem; }
  .ebsrv15-card { flex-direction: column; align-items: stretch; padding: 0.5rem; }
  .ebsrv15-card-media { width: 100%; }
  .ebsrv15-card-content { flex-direction: column; align-items: flex-start; padding: 1.25rem 0.75rem; gap: 1rem; }
  .ebsrv15-card-btn { width: 100%; justify-content: center; }
}

/* 3. min-width: 376px and max-width: 425px */
@media (min-width: 376px) and (max-width: 425px) {
  .ebsrv15-section { padding-block: 4rem; padding-inline: 1rem; }
  .ebsrv15-title { font-size: 2rem; }
  .ebsrv15-card { flex-direction: column; align-items: stretch; padding: 0.5rem; }
  .ebsrv15-card-media { width: 100%; }
  .ebsrv15-card-content { flex-direction: column; align-items: flex-start; padding: 1.25rem 0.75rem; gap: 1rem; }
  .ebsrv15-card-btn { width: 100%; justify-content: center; }
}

/* 4. min-width: 426px and max-width: 480px */
@media (min-width: 426px) and (max-width: 480px) {
  .ebsrv15-title { font-size: 2.15rem; }
  .ebsrv15-card { flex-direction: column; align-items: stretch; padding: 0.5rem; }
  .ebsrv15-card-media { width: 100%; }
  .ebsrv15-card-content { flex-direction: column; align-items: flex-start; padding: 1.25rem 0.75rem; gap: 1rem; }
  .ebsrv15-card-btn { width: 100%; justify-content: center; }
}

/* 5. min-width: 481px and max-width: 600px */
@media (min-width: 481px) and (max-width: 600px) {
  .ebsrv15-card { flex-direction: column; align-items: stretch; padding: 0.5rem; }
  .ebsrv15-card-media { width: 100%; }
  .ebsrv15-card-content { flex-direction: column; align-items: flex-start; padding: 1.25rem 0.75rem; gap: 1rem; }
  .ebsrv15-card-btn { width: 100%; justify-content: center; }
}

/* 6. min-width: 601px and max-width: 768px */
@media (min-width: 601px) and (max-width: 768px) {
  .ebsrv15-card { flex-direction: column; align-items: stretch; padding: 0.5rem; }
  .ebsrv15-card-media { width: 100%; }
  .ebsrv15-card-content { flex-direction: column; align-items: flex-start; padding: 1.25rem 0.75rem; gap: 1rem; }
}

/* 7. min-width: 769px and max-width: 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
  .ebsrv15-card-media { width: 260px; }
  .ebsrv15-card-content { flex-wrap: wrap; }
}

/* 8. min-width: 1025px and max-width: 1280px */
@media (min-width: 1025px) and (max-width: 1280px) {
  .ebsrv15-container { max-width: 1140px; }
  .ebsrv15-card-media { width: 280px; }
}

/* 9. min-width: 1281px and max-width: 1440px */
@media (min-width: 1281px) and (max-width: 1440px) {
  .ebsrv15-container { max-width: 1240px; }
}

/* 10. min-width: 1441px and max-width: 1920px */
@media (min-width: 1441px) and (max-width: 1920px) {
  .ebsrv15-container { max-width: 1350px; }
  .ebsrv15-title { font-size: 3rem; }
}

/* 11. min-width: 1921px */
@media (min-width: 1921px) {
  .ebsrv15-container { max-width: 1550px; }
  .ebsrv15-title { font-size: 3.5rem; }
  .ebsrv15-section { padding-block: 7rem; }
}

/* 12. prefers-reduced-motion: reduce */
@media (prefers-reduced-motion: reduce) {
  .ebsrv15-bg::before,
  .ebsrv15-orb,
  .ebsrv15-card-img,
  .ebsrv15-reveal {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
