/* ============================================================================
   SERVICE HERO COMPONENT — THEME 1: TECH LIGHT & GLASSMORPHISM
   Prefix: ebhro-serv20
   ============================================================================ */

:root {
  --ebhro-serv20-bg: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
  --ebhro-serv20-container-width: 1280px;

  --ebhro-serv20-text-primary: #0f172a;
  --ebhro-serv20-text-secondary: #475569;
  --ebhro-serv20-text-muted: #64748b;

  --ebhro-serv20-primary: #0284c7;
  --ebhro-serv20-primary-hover: #0369a1;
  --ebhro-serv20-primary-light: rgba(2, 132, 199, 0.08);
  --ebhro-serv20-primary-border: rgba(2, 132, 199, 0.2);

  --ebhro-serv20-accent-gradient: linear-gradient(135deg, #0284c7 0%, #3b82f6 50%, #6366f1 100%);
  --ebhro-serv20-gold-accent: #f59e0b;

  --ebhro-serv20-card-bg: rgba(255, 255, 255, 0.85);
  --ebhro-serv20-card-border: rgba(226, 232, 240, 0.8);
  --ebhro-serv20-card-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.07), 0 0 1px rgba(15, 23, 42, 0.1);

  --ebhro-serv20-orb-1: rgba(2, 132, 199, 0.18);
  --ebhro-serv20-orb-2: rgba(99, 102, 241, 0.15);
  --ebhro-serv20-orb-3: rgba(14, 165, 233, 0.12);

  --ebhro-serv20-radius-sm: 8px;
  --ebhro-serv20-radius-md: 16px;
  --ebhro-serv20-radius-lg: 24px;
  --ebhro-serv20-radius-full: 9999px;

  --ebhro-serv20-font-family: 'Tajawal', 'Outfit', sans-serif;
  --ebhro-serv20-transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Component Reset */
.ebhro-serv20-hero {
  position: relative;
  width: 100%;
  padding: 36px 0 44px;
  background: var(--ebhro-serv20-bg);
  font-family: var(--ebhro-serv20-font-family);
  color: var(--ebhro-serv20-text-primary);
  overflow: hidden;
  direction: rtl;
  box-sizing: border-box;
}

.ebhro-serv20-hero * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.ebhro-serv20-container {
  width: 100%;
  max-width: var(--ebhro-serv20-container-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Background Effects */
.ebhro-serv20-bg-effects {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.ebhro-serv20-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  animation: ebhroServ20FloatOrb 12s infinite alternate ease-in-out;
}

.ebhro-serv20-orb-1 {
  top: -10%;
  right: -5%;
  width: 550px;
  height: 550px;
  background: var(--ebhro-serv20-orb-1);
}

.ebhro-serv20-orb-2 {
  bottom: 10%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: var(--ebhro-serv20-orb-2);
  animation-delay: -4s;
}

.ebhro-serv20-orb-3 {
  top: 40%;
  right: 40%;
  width: 400px;
  height: 400px;
  background: var(--ebhro-serv20-orb-3);
  animation-delay: -7s;
}

.ebhro-serv20-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(2, 132, 199, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.7;
}

@keyframes ebhroServ20FloatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -40px) scale(1.08); }
  100% { transform: translate(-20px, 30px) scale(0.95); }
}

.ebhro-serv20-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--ebhro-serv20-primary);
  border-radius: 50%;
  opacity: 0.3;
  animation: ebhroServ20Particle 8s infinite linear;
}

.ebhro-serv20-p1 { top: 20%; right: 15%; animation-duration: 6s; }
.ebhro-serv20-p2 { top: 60%; right: 35%; animation-duration: 9s; animation-delay: 2s; }
.ebhro-serv20-p3 { top: 30%; left: 20%; animation-duration: 7s; animation-delay: 1s; }
.ebhro-serv20-p4 { bottom: 15%; left: 40%; animation-duration: 10s; }

@keyframes ebhroServ20Particle {
  0% { transform: translateY(0) scale(1); opacity: 0.2; }
  50% { opacity: 0.6; }
  100% { transform: translateY(-80px) scale(1.5); opacity: 0; }
}

/* Grid Layout */
.ebhro-serv20-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 36px;
}

/* Text Side */
.ebhro-serv20-text-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Badge */
.ebhro-serv20-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  background: var(--ebhro-serv20-primary-light);
  border: 1px solid var(--ebhro-serv20-primary-border);
  border-radius: var(--ebhro-serv20-radius-full);
  margin-bottom: 14px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ebhro-serv20-primary);
}

.ebhro-serv20-badge-icon {
  font-size: 0.95rem;
}

.ebhro-serv20-badge-pulse {
  width: 8px;
  height: 8px;
  background: var(--ebhro-serv20-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.4);
  animation: ebhroServ20Pulse 2s infinite;
}

@keyframes ebhroServ20Pulse {
  0% { box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(2, 132, 199, 0); }
  100% { box-shadow: 0 0 0 0 rgba(2, 132, 199, 0); }
}

/* Title */
.ebhro-serv20-title {
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1.25;
  color: var(--ebhro-serv20-text-primary);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.ebhro-serv20-title-highlight {
  background: var(--ebhro-serv20-accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Description */
.ebhro-serv20-desc {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--ebhro-serv20-text-secondary);
  margin-bottom: 20px;
  max-width: 95%;
}

/* Highlights List */
.ebhro-serv20-highlights-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.ebhro-serv20-hl-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ebhro-serv20-text-primary);
}

.ebhro-serv20-hl-icon {
  color: var(--ebhro-serv20-primary);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
}

/* CTA Row */
.ebhro-serv20-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.ebhro-serv20-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 32px;
  border-radius: var(--ebhro-serv20-radius-md);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--ebhro-serv20-transition);
  cursor: pointer;
  overflow: hidden;
  border: none;
}

.ebhro-serv20-btn-primary {
  background: var(--ebhro-serv20-accent-gradient);
  color: #ffffff;
  box-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.4);
}

.ebhro-serv20-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -5px rgba(2, 132, 199, 0.5);
}

.ebhro-serv20-btn-shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: 0.6s;
}

.ebhro-serv20-btn-primary:hover .ebhro-serv20-btn-shimmer {
  left: 150%;
}

/* Visual Side */
.ebhro-serv20-visual-col {
  position: relative;
  display: flex;
  justify-content: center;
}

.ebhro-serv20-media-card {
  position: relative;
  width: 100%;
  max-width: 500px;
  border-radius: var(--ebhro-serv20-radius-lg);
  padding: 12px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--ebhro-serv20-card-border);
  box-shadow: 0 30px 60px -20px rgba(15, 23, 42, 0.15);
  transition: transform 0.15s ease-out;
  transform-style: preserve-3d;
}

.ebhro-serv20-media-glow {
  position: absolute;
  inset: -15px;
  background: var(--ebhro-serv20-accent-gradient);
  border-radius: calc(var(--ebhro-serv20-radius-lg) + 10px);
  opacity: 0.15;
  filter: blur(25px);
  z-index: -1;
}

.ebhro-serv20-media-img-wrapper {
  position: relative;
  width: 100%;
  height: 420px;
  border-radius: calc(var(--ebhro-serv20-radius-lg) - 4px);
  overflow: hidden;
}

.ebhro-serv20-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.ebhro-serv20-media-card:hover .ebhro-serv20-media-img {
  transform: scale(1.05);
}

.ebhro-serv20-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.3) 0%, transparent 60%);
}

/* Floating Cards */
.ebhro-serv20-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid var(--ebhro-serv20-card-border);
  border-radius: var(--ebhro-serv20-radius-md);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.1);
  z-index: 6;
  transition: var(--ebhro-serv20-transition);
}

.ebhro-serv20-fc-top-right {
  top: -20px;
  right: -20px;
}

.ebhro-serv20-fc-bottom-left {
  bottom: 20px;
  left: -20px;
}

.ebhro-serv20-fc-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--ebhro-serv20-radius-sm);
  background: var(--ebhro-serv20-primary-light);
  color: var(--ebhro-serv20-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.ebhro-serv20-fc-content {
  display: flex;
  flex-direction: column;
}

.ebhro-serv20-fc-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--ebhro-serv20-text-primary);
}

.ebhro-serv20-fc-subtitle {
  font-size: 0.78rem;
  color: var(--ebhro-serv20-text-muted);
}

.ebhro-serv20-float-pill {
  position: absolute;
  bottom: -18px;
  right: 25px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--ebhro-serv20-text-primary);
  color: #ffffff;
  border-radius: var(--ebhro-serv20-radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  z-index: 6;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.2);
}

.ebhro-serv20-float-pill i {
  color: var(--ebhro-serv20-gold-accent);
}

/* Features Section */
.ebhro-serv20-features-section {
  padding-top: 10px;
  margin-bottom: 0px;
}

.ebhro-serv20-sec-header {
  text-align: center;
  margin-bottom: 24px;
}

.ebhro-serv20-sec-sub {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--ebhro-serv20-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 6px;
}

.ebhro-serv20-sec-title {
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--ebhro-serv20-text-primary);
}

.ebhro-serv20-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ebhro-serv20-feat-card {
  position: relative;
  background: var(--ebhro-serv20-card-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--ebhro-serv20-card-border);
  border-radius: var(--ebhro-serv20-radius-lg);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  transition: var(--ebhro-serv20-transition);
  overflow: hidden;
}

.ebhro-serv20-feat-card:hover {
  transform: translateY(-6px);
  border-color: var(--ebhro-serv20-primary-border);
  box-shadow: 0 20px 40px -10px rgba(2, 132, 199, 0.15);
}

.ebhro-serv20-feat-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--ebhro-serv20-radius-md);
  background: var(--ebhro-serv20-primary-light);
  color: var(--ebhro-serv20-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
  position: relative;
  transition: var(--ebhro-serv20-transition);
}

.ebhro-serv20-feat-card:hover .ebhro-serv20-feat-icon-wrapper {
  background: var(--ebhro-serv20-accent-gradient);
  color: #ffffff;
}

.ebhro-serv20-feat-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--ebhro-serv20-text-primary);
  margin-bottom: 10px;
}

.ebhro-serv20-feat-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--ebhro-serv20-text-secondary);
  margin-bottom: 0;
  flex-grow: 1;
}

/* Animations */
.ebhro-serv20-anim-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.ebhro-serv20-anim-up.ebhro-serv20-appeared {
  opacity: 1;
  transform: translateY(0);
}

.ebhro-serv20-delay-1 { transition-delay: 0.1s; }
.ebhro-serv20-delay-2 { transition-delay: 0.2s; }
.ebhro-serv20-delay-3 { transition-delay: 0.3s; }
.ebhro-serv20-delay-4 { transition-delay: 0.4s; }
.ebhro-serv20-delay-5 { transition-delay: 0.5s; }

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .ebhro-serv20-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ebhro-serv20-text-col {
    align-items: center;
    text-align: center;
  }

  .ebhro-serv20-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .ebhro-serv20-hero {
    padding: 24px 0 32px;
  }

  .ebhro-serv20-title {
    font-size: 2rem;
  }

  .ebhro-serv20-features-grid {
    grid-template-columns: 1fr;
  }

  .ebhro-serv20-float-card {
    display: none;
  }
}
