/* ============================================================
   EBHRO11 — Living ECG Network Hero
   Namespace  : ebhro11
============================================================ */

@import url('https://fonts.googleapis.com/css2?family=El+Messiri:wght@400..700&display=swap');

/* ------------------------------------------------------------
   1. Variables & Colors
------------------------------------------------------------ */
.ebhro11 {


  --ebhro11-bg:            #04254D;
  --ebhro11-bg-deep:       #02152F;
  --ebhro11-text:          #BFD6EA;
  --ebhro11-title:         #F2F8FC;
  --ebhro11-border:        rgba(45, 165, 218, .22);

  
  --ebhro11-pulse-line:    #2DA5DA;
  --ebhro11-pulse-glow:    rgba(45, 165, 218, .35);
  --ebhro11-pulse-dot:     #F2F8FC;
  --ebhro11-pulse-dot-ring:#2DA5DA;
  --ebhro11-counter-text:  #2DA5DA;

 
  --ebhro11-grid-line:     rgba(45, 165, 218, .09);


  --ebhro11-particle:      #2DA5DA;
  --ebhro11-radar-ring:    rgba(45, 165, 218, .35);

  
  --ebhro11-card-bg:       #0A3D6E;
  --ebhro11-card-bg-deep:  #062B50;
  --ebhro11-card-title:    #F2F8FC;
  --ebhro11-card-text:     #F2F8FC;
  --ebhro11-card-btn:      #2DA5DA;
  --ebhro11-card-border:   rgba(45, 165, 218, .5);
  --ebhro11-card-dot:      #2DA5DA;


  --ebhro11-btn-bg:        #F2F8FC;
  --ebhro11-btn-bg-light:  #F2F8FC;
  --ebhro11-btn-bg-hover:  #F2F8FC;
  --ebhro11-btn-text:      #04254D;
  --ebhro11-btn-ring:      rgba(45, 165, 218, .4);
  --ebhro11-btn-glow:      rgba(248, 255, 252, 0.55);


  --ebhro11-padding-top:    3rem;
  --ebhro11-padding-bottom: 2rem;
}
/* ------------------------------------------------------------
   2. Reset داخل الـ namespace
------------------------------------------------------------ */
.ebhro11,
.ebhro11 *,
.ebhro11 *::before,
.ebhro11 *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ------------------------------------------------------------
   3. Base Styles — Mobile (0 → 480px)
------------------------------------------------------------ */
.ebhro11 {
  position: relative;
  direction: rtl;
  overflow: hidden;
  width: 100%;
  background-color: var(--ebhro11-bg);
  background-image: radial-gradient(120% 100% at 80% 0%, var(--ebhro11-bg) 0%, var(--ebhro11-bg-deep) 70%);
  font-family: "El Messiri", sans-serif;
  padding-top: var(--ebhro11-padding-top);
  padding-bottom: var(--ebhro11-padding-bottom);
}

.ebhro11 a { text-decoration: none; color: inherit; }

/* الشبكة المخططة الخلفية */
.ebhro11__grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* الجزيئات */
.ebhro11__particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.ebhro11__particle {
  position: absolute;
  width: 0.2rem;
  height: 0.2rem;
  border-radius: 50%;
  background-color: var(--ebhro11-particle);
  opacity: 0.35;
}

/* طبقة الرادار العشوائية */
.ebhro11__radar-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.ebhro11__radar-ping {
  position: absolute;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 0.05rem solid var(--ebhro11-radar-ring);
  opacity: 0;
}

/* الكونتينر */
.ebhro11__container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 90rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

/* المحتوى النصى */
.ebhro11__content {
  position: relative;
  z-index: 3;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.ebhro11__badge {
  display: inline-block;
  font-size: clamp(0.75rem, 3vw, 0.85rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--ebhro11-pulse-line);
  background-color: rgba(45, 165, 218, .12);
  border: 0.05rem solid var(--ebhro11-border);
  border-radius: 3rem;
  padding: 0.4rem 1.2rem;
}

.ebhro11__title {
  font-size: clamp(1.7rem, 6vw, 2.2rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ebhro11-title);
  max-width: 22ch;
}

.ebhro11__desc {
  font-size: clamp(0.95rem, 3.5vw, 1.1rem);
  font-weight: 400;
  line-height: 1.7;
  color: var(--ebhro11-text);
  max-width: 38ch;
}

.ebhro11__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
  background-image: linear-gradient(135deg, var(--ebhro11-btn-bg-light) 0%, var(--ebhro11-btn-bg) 100%);
  color: var(--ebhro11-btn-text);
  font-size: clamp(0.95rem, 3.5vw, 1.05rem);
  font-weight: 700;
  border-radius: 3rem;
  padding: 0.95rem 2rem;
  border: 0.09rem solid rgba(255, 255, 255, .35);
  box-shadow:
    0 0.5rem 1.6rem var(--ebhro11-btn-glow),
    0 0 0 0.2rem rgba(255, 255, 255, .06) inset;
  transition: transform .25s ease, box-shadow .25s ease, background-image .25s ease;
  animation: ebhro11CtaPulse 2.6s ease-in-out infinite;
}

.ebhro11__cta::after {
  content: "";
  position: absolute;
  inset: -0.3rem;
  border-radius: 3.5rem;
  border: 0.06rem solid var(--ebhro11-btn-ring);
  opacity: .7;
  pointer-events: none;
}

.ebhro11__cta:hover,
.ebhro11__cta:focus-visible {
  background-image: linear-gradient(135deg, var(--ebhro11-btn-bg-hover) 0%, var(--ebhro11-btn-bg-light) 100%);
  transform: translateY(-0.2rem) scale(1.03);
  box-shadow:
    0 0.9rem 2.2rem var(--ebhro11-btn-glow),
    0 0 0 0.2rem rgba(255, 255, 255, .1) inset;
  animation-play-state: paused;
}

.ebhro11__cta:focus-visible {
  outline: 0.15rem solid var(--ebhro11-pulse-line);
  outline-offset: 0.25rem;
}

.ebhro11__cta-icon {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
}

@keyframes ebhro11CtaPulse {
  0%, 100% {
    box-shadow:
      0 0.5rem 1.6rem var(--ebhro11-btn-glow),
      0 0 0 0.2rem rgba(255, 255, 255, .06) inset;
  }
  50% {
    box-shadow:
      0 0.5rem 2.4rem var(--ebhro11-btn-glow),
      0 0 0 0.35rem rgba(255, 255, 255, .1) inset;
  }
}

/* بطاقات الخدمة العائمة */
.ebhro11__floatcards {
  position: relative;
  width: 100%;
  height: 2.6rem;
}

.ebhro11__floatcard {
  position: absolute;
  top: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  background-image: linear-gradient(160deg, var(--ebhro11-card-bg) 0%, var(--ebhro11-card-bg-deep) 100%);
  color: var(--ebhro11-card-text);
  font-size: clamp(0.8rem, 3vw, 0.9rem);
  font-weight: 600;
  border: 0.07rem solid var(--ebhro11-card-border);
  border-radius: 1.4rem;
  padding: 0.55rem 1.2rem 0.55rem 1rem;
  box-shadow:
    0 0.7rem 1.8rem rgba(2, 21, 47, .55),
    0 0 0 0.12rem rgba(45, 165, 218, .12);
  opacity: 0;
}

.ebhro11__floatcard::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: var(--ebhro11-card-dot);
  box-shadow: 0 0 0.5rem var(--ebhro11-card-dot);
}

/* خط النبض */
.ebhro11__pulse {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 11rem;
}

.ebhro11__pulse-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.ebhro11__pulse-main {
  stroke: var(--ebhro11-pulse-line);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ebhro11__pulse-glow {
  stroke: var(--ebhro11-pulse-glow);
  stroke-width: 9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ebhro11__pulse-blur {
  stroke: var(--ebhro11-pulse-glow);
  stroke-width: 14;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: blur(20px);
}

.ebhro11__pulse-dot {
  fill: var(--ebhro11-pulse-dot);
  stroke: var(--ebhro11-pulse-dot-ring);
  stroke-width: 3;
  filter: drop-shadow(0 0 6px var(--ebhro11-pulse-line));
}

.ebhro11__pulse-counter {
  font-family: "El Messiri", sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  fill: var(--ebhro11-counter-text);
  opacity: 0;
}

.ebhro11__burst circle {
  fill: var(--ebhro11-pulse-line);
  opacity: 0;
}

/* احترام تفضيل تقليل الحركة */
@media (prefers-reduced-motion: reduce) {
  .ebhro11 * {
    animation: none !important;
    transition: none !important;
  }
}

/* ------------------------------------------------------------
   4. Breakpoints
------------------------------------------------------------ */

/* Small Tablet 481 → 600 */
@media (min-width: 481px) {
  .ebhro11__container { gap: 3rem; }
  .ebhro11__pulse { height: 13rem; }
}

/* Medium Tablet 601 → 768 */
@media (min-width: 601px) {
  .ebhro11 {
    --ebhro11-padding-top: 8rem;
  }
  .ebhro11__title { max-width: 28ch; }
  .ebhro11__pulse { height: 15rem; }
}

/* Large Tablet 769 → 1024 */
@media (min-width: 769px) {
  .ebhro11__container {
    flex-direction: row;
    align-items: center;
    text-align: right;
    gap: 2rem;
  }
  .ebhro11__content {
    text-align: right;
    align-items: flex-start;
    width: 42%;
    flex-shrink: 0;
  }
    .ebhro11__pulse { height: 16rem; flex: 1 1 auto; }
}

/* Small Desktop 1025 → 1280 */
@media (min-width: 1025px) {
  .ebhro11 { --ebhro11-padding-top: 9rem; --ebhro11-padding-bottom: 5rem; }
  .ebhro11__pulse { height: 18rem; }
}

/* Medium Desktop 1281 → 1440 */
@media (min-width: 1281px) {
  .ebhro11__content { width: 38%; }
  .ebhro11__pulse { height: 20rem; }
}

/* Large Desktop 1441 → 1920 */
@media (min-width: 1441px) {
  .ebhro11__container { max-width: 100rem; }
  .ebhro11__pulse { height: 22rem; }
}

/* Extra Large 1921+ */
@media (min-width: 1921px) {
  .ebhro11__container { max-width: 116rem; }
  .ebhro11__pulse { height: 24rem; }
}