:root{
  --hero-bg:#07111f;
  --hero-bg-2:#0b1630;
  --hero-panel:rgba(255,255,255,.06);
  --hero-panel-2:rgba(255,255,255,.04);
  --hero-stroke:rgba(255,255,255,.10);
  --hero-stroke-soft:rgba(255,255,255,.06);
  --hero-text:#f4f7fb;
  --hero-muted:rgba(244,247,251,.74);
  --hero-muted-2:rgba(244,247,251,.58);
  --hero-accent:#ff6a2b;
  --hero-accent-2:#6ea8ff;
  --hero-shadow:0 30px 90px rgba(0,0,0,.34);
}

/* HERO */
.bsHero{
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(135deg, #050c18 0%, #091426 38%, #0a1730 100%);
}

.bsHero__bg{
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.bsHero__shade{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4,10,20,.24) 0%, rgba(4,10,20,.34) 36%, rgba(4,10,20,.56) 100%),
    linear-gradient(180deg, rgba(4,10,20,.14) 0%, rgba(4,10,20,.34) 100%);
}

.bsHero__grid{
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: .24;
  mask-image: radial-gradient(circle at center, #000 35%, transparent 88%);
}

.bsHero__noise{
  position: absolute;
  inset: 0;
  opacity: .08;
  background-image:
    radial-gradient(rgba(255,255,255,.8) .55px, transparent .7px);
  background-size: 8px 8px;
  mix-blend-mode: soft-light;
}

.bsHero__orb{
  position: absolute;
  border-radius: 999px;
  filter: blur(80px);
}

.bsHero__orb--1{
  width: 420px;
  height: 420px;
  top: 8%;
  inset-inline-start: -90px;
  background: rgba(59,130,246,.18);
}

.bsHero__orb--2{
  width: 360px;
  height: 360px;
  bottom: -120px;
  inset-inline-end: -40px;
  background: rgba(255,106,43,.12);
}

.bsHero__container{
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .72fr);
  gap: clamp(26px, 5vw, 80px);
  align-items: center;
  padding-top: clamp(88px, 9vh, 120px);
  padding-bottom: clamp(40px, 6vh, 64px);
    padding-inline: clamp(20px, 4vw, 48px);

}

.bsHero__content{
  max-width: 760px;
}

.bsHero__eyebrow{
  margin: 0 0 18px;
  color: rgba(255,255,255,.58);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.bsHero__title{
  margin: 0;
  color: var(--hero-text);
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: -0.04em;
  max-width: 10.5ch;
  text-wrap: balance;
}

.bsHero__title span{
  display: block;
  color: transparent;
  background: linear-gradient(90deg, #ffffff 0%, #dce8ff 40%, #ffb08b 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.bsHero__desc{
  margin: 24px 0 0;
  max-width: 60ch;
  color: var(--hero-muted);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.95;
}

.bsHero__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.bsHero__ghost{
  color: #fff;
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.04);
}

.bsHero__ghost:hover{
  background: rgba(255,255,255,.08);
}

.bsHero__searchWrap{
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  max-width: 660px;
  padding: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 18px 50px rgba(0,0,0,.18);
  backdrop-filter: blur(12px);
}

.bsHero__search{
  flex: 1;
  min-width: 0;
  min-height: 52px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  padding: 0 16px;
  font-size: 1rem;
}

.bsHero__search::placeholder{
  color: rgba(255,255,255,.52);
}

.bsHero__searchBtn{
  border: 0;
  min-width: 110px;
  min-height: 52px;
  border-radius: 999px;
  padding: 0 18px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, var(--hero-accent), #ff824f);
  box-shadow: 0 14px 34px rgba(255,106,43,.26);
}

.bsHero__highlights{
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 22px 0 0;
  padding: 0;
}

.bsHero__highlights li{
  min-width: 150px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
}

.bsHero__highlights strong{
  display: block;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  margin-bottom: 4px;
}

.bsHero__highlights span{
  color: var(--hero-muted-2);
  font-size: .92rem;
}

/* Aside card */
.bsHero__aside{
  display: flex;
  justify-content: flex-end;
}

.bsHeroCard{
  width: min(100%, 430px);
  padding: 28px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: var(--hero-shadow);
  backdrop-filter: blur(16px);
}

.bsHeroCard__top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.bsHeroCard__label{
  color: rgba(255,255,255,.60);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bsHeroCard__pill{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.08);
  color: #fff;
  font-size: .82rem;
  font-weight: 800;
}

.bsHeroCard__title{
  margin: 0;
  color: #fff;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.25;
  font-weight: 900;
}

.bsHeroCard__text{
  margin: 14px 0 0;
  color: rgba(255,255,255,.72);
  line-height: 1.9;
  font-size: .98rem;
}

.bsHeroCard__list{
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.bsMiniStat{
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
}

.bsMiniStat small{
  display: block;
  margin-bottom: 6px;
  color: rgba(255,255,255,.52);
  font-size: .8rem;
}

.bsMiniStat strong{
  color: #fff;
  font-size: .98rem;
  font-weight: 900;
}

.bsHeroCard__link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.bsHeroCard__link::after{
  content: "←";
  font-size: 1rem;
}

.bsHeroCard__link:hover{
  opacity: .88;
}

/* screen reader */
.bsSrOnly{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* responsive */
@media (max-width: 1100px){
  .bsHero__container{
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .bsHero__content{
    max-width: 100%;
    text-align: center;
  }

  .bsHero__title{
    max-width: 100%;
    margin-inline: auto;
  }

  .bsHero__desc{
    margin-inline: auto;
  }

  .bsHero__actions,
  .bsHero__highlights{
    justify-content: center;
  }

  .bsHero__searchWrap{
    margin-inline: auto;
  }

  .bsHero__aside{
    justify-content: center;
  }
}

@media (max-width: 640px){
  .bsHero{
    min-height: auto;
  }

  .bsHero__container{
    padding-top: 108px;
    padding-bottom: 52px;
  }

  .bsHero__title{
    font-size: clamp(2rem, 10vw, 3.3rem);
    line-height: 1.02;
  }

  .bsHero__desc{
    font-size: .98rem;
  }

  .bsHero__searchWrap{
    flex-direction: column;
    border-radius: 22px;
    padding: 10px;
  }

  .bsHero__search{
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
  }

  .bsHero__searchBtn{
    width: 100%;
    min-height: 48px;
  }

  .bsHero__highlights li{
    min-width: calc(50% - 7px);
  }

  .bsHeroCard{
    padding: 22px;
    border-radius: 22px;
  }
}
/* ========= Hero Reveal Animation ========= */
[data-reveal]{
  opacity: 0;
  transform: translateY(28px);
  filter: blur(8px);
  transition:
    opacity .8s ease,
    transform .8s cubic-bezier(.22,1,.36,1),
    filter .8s ease;
  will-change: opacity, transform, filter;
}

[data-reveal].is-visible{
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Stagger delays */
.bsHero__eyebrow[data-reveal]{ transition-delay: .08s; }
.bsHero__title[data-reveal]{ transition-delay: .16s; }
.bsHero__desc[data-reveal]{ transition-delay: .28s; }
.bsHero__actions[data-reveal]{ transition-delay: .40s; }
.bsHero__searchWrap[data-reveal]{ transition-delay: .52s; }
.bsHero__highlights[data-reveal]{ transition-delay: .64s; }
.bsHero__aside[data-reveal]{ transition-delay: .30s; }

/* Accent line inside title */
.bsHero__title span{
  transform: translateY(12px);
  opacity: 0;
  transition:
    transform .9s cubic-bezier(.22,1,.36,1) .3s,
    opacity .9s ease .3s;
}

.bsHero__title.is-visible span{
  transform: translateY(0);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce){
  [data-reveal]{
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .bsHero__title span{
    opacity: 1;
    transform: none;
    transition: none;
  }
}
/* ===== Hero Background Slider ===== */
.bsHero__bg{
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bsHero__slider{
  position: absolute;
  inset: 0;
  z-index: 0;
}

.bsHero__slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
}

.bsHero__slide.is-active{
  opacity: 1;
}

.bsHero__slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.08); /* مهم مع البلور */
  filter: blur(2px) saturate(.9) contrast(1.02) brightness(.38);
}

/* خلي عناصر التأثير فوق الصور */
.bsHero__noise,
.bsHero__grid,
.bsHero__orb,
.bsHero__shade{
  position: absolute;
}

/* مهم: النص فوق الخلفية */
.bsHero__container{
  position: relative;
  z-index: 2;
}

/* =========================
   Popular slider section
   ========================= */
.bsPopular{
  padding: 14px 0 42px;
}

.bsPopHead{
  text-align: center;
  max-width: 52rem;
  margin: 0 auto 14px;
}

.bsSlider{
  position: relative;
  border-radius: 22px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.72);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 14px 0;
}

/* Track uses scroll-snap for smooth swipe */
.bsTrack{
  display: flex;
  gap: 12px;
  padding: 0 14px;

  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;

  scroll-behavior: smooth;
  outline: none;
}

/* Hide scrollbar (optional) */
.bsTrack::-webkit-scrollbar{ height: 8px; }
.bsTrack::-webkit-scrollbar-thumb{
  background: rgba(11,18,32,.12);
  border-radius: 999px;
}

/* Each slide card */
.bsSlide{
  flex: 0 0 auto;
  width: min(360px, 86vw);
  scroll-snap-align: start;
}

/* Reuse minimal card style but a bit tighter */
.bsSlide .bsCard{
  box-shadow: 0 14px 46px rgba(11,18,32,.08);
}
.bsSlide .bsBody{
  padding: 12px 12px 14px;
}

/* Nav arrows */
.bsNav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;

  width: 42px;
  height: 42px;
  border-radius: 999px;

  border: 1px solid rgba(11,18,32,.12);
  background: rgba(255,255,255,.82);
  box-shadow: 0 18px 44px rgba(11,18,32,.10);

  cursor: pointer;
  font: inherit;
  font-weight: 900;
  opacity: .92;
}

.bsNav:hover{ opacity: 1; }

.bsNav--prev{ inset-inline-start: 10px; }
.bsNav--next{ inset-inline-end: 10px; }

/* Dots */
.bsDots{
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.bsDot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(11,18,32,.18);
  background: rgba(11,18,32,.08);
  cursor: pointer;
  opacity: .85;
}

.bsDot.is-on{
  width: 18px;
  background: rgba(59,130,246,.30);
  border-color: rgba(59,130,246,.45);
  opacity: 1;
}

/* Mobile: arrows become smaller */
@media (max-width: 560px){
  .bsNav{ width: 38px; height: 38px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .bsTrack{ scroll-behavior: auto; }
}
/* =========================================================
   WOW THEME — Popular Slider Section ONLY
   Paste at END of css/blog-seo.css
   ========================================================= */

.bsPopular{
  position: relative;
  padding: 34px 0 56px;
  margin-top: 10px;
  overflow: hidden;

  /* section becomes a distinct dark “strip” */
  background:
    radial-gradient(1200px 700px at 12% 20%, rgba(59,130,246,.30), transparent 60%),
    radial-gradient(1200px 700px at 88% 30%, rgba(168,85,247,.26), transparent 62%),
    radial-gradient(900px 620px at 50% 110%, rgba(34,211,238,.16), transparent 70%),
    linear-gradient(180deg, rgba(10,14,24,.96), rgba(10,14,24,.88));
}

.bsPopular::before{
  /* Stars + subtle noise */
  content:"";
  position:absolute;
  inset:-30%;
  pointer-events:none;
  background:
    radial-gradient(rgba(255,255,255,.18) 1px, transparent 1.6px),
    radial-gradient(rgba(255,255,255,.10) 1px, transparent 2px);
  background-size: 140px 140px, 220px 220px;
  background-position: 0 0, 60px 40px;
  opacity: .35;
  filter: blur(.2px);
  animation: bsStarsDrift 34s linear infinite;
}

@keyframes bsStarsDrift{
  to{ background-position: -280px 180px, 260px -160px; }
}

.bsPopHead{
  text-align: center;
  max-width: 56rem;
  margin: 0 auto 18px;
  position: relative;
  z-index: 2;
}

.bsPopHead .bsH2{
  /* glow title */
  color: #fff;
  margin-bottom: 8px;
  text-shadow: 0 18px 60px rgba(59,130,246,.18);
  letter-spacing: -0.01em;
}

.bsPopHead .bsSub{
  color: rgba(255,255,255,.78);
}

/* Slider shell becomes “neon glass” */
.bsSlider{
  position: relative;
  z-index: 2;

  border-radius: 26px;
  border: 1px solid transparent;

  background:
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.06)) padding-box,
    linear-gradient(135deg, rgba(59,130,246,.55), rgba(168,85,247,.40), rgba(34,211,238,.26)) border-box;

  box-shadow:
    0 38px 140px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.14);

  overflow: hidden;
  padding: 16px 0;
  backdrop-filter: blur(14px);
}

/* Inner glow sweep */
.bsSlider::after{
  content:"";
  position:absolute;
  inset:-40%;
  pointer-events:none;
  background:
    radial-gradient(circle at 25% 25%, rgba(59,130,246,.22), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(168,85,247,.18), transparent 60%);
  filter: blur(28px);
  opacity:.85;
  animation: bsGlowBreath 8s ease-in-out infinite;
}

@keyframes bsGlowBreath{
  0%,100%{ transform: translate3d(0,0,0) scale(1); opacity:.72; }
  50%{ transform: translate3d(14px,-10px,0) scale(1.06); opacity:.95; }
}

/* Track */
.bsTrack{
  position: relative;
  z-index: 3;
  padding: 0 16px;
}

/* Cards in slider: keep minimal, but premium */
.bsSlide .bsCard{
  border-radius: 18px;
  border: 1px solid rgba(11,18,32,.10);
  background: rgba(255,255,255,.94);
  box-shadow: 0 18px 60px rgba(0,0,0,.18);
  transition: transform 220ms ease, box-shadow 220ms ease;
  overflow: hidden;
}

/* subtle shine on hover */
.bsSlide .bsCard::before{
  content:"";
  position:absolute;
  inset:-60%;
  background: linear-gradient(120deg, transparent 35%, rgba(255,255,255,.45) 50%, transparent 65%);
  transform: translateX(-40%);
  opacity: 0;
  pointer-events:none;
}

.bsSlide .bsCard:hover{
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 32px 110px rgba(0,0,0,.22);
}

.bsSlide .bsCard:hover::before{
  opacity: .9;
  animation: bsShine 780ms ease-out 1;
}

@keyframes bsShine{
  to{ transform: translateX(40%); opacity: 0; }
}

/* Nav arrows become neon */
.bsNav{
  width: 44px;
  height: 44px;
  border-radius: 999px;

  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
  color: #fff;

  box-shadow:
    0 20px 60px rgba(0,0,0,.30),
    inset 0 1px 0 rgba(255,255,255,.12);

  backdrop-filter: blur(14px);
  opacity: .92;
}

.bsNav:hover{
  opacity: 1;
  box-shadow:
    0 26px 90px rgba(0,0,0,.34),
    0 0 0 4px rgba(59,130,246,.18),
    inset 0 1px 0 rgba(255,255,255,.12);
}

/* Dots become glowing */
.bsDots{ position: relative; z-index: 3; }

.bsDot{
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.12);
  opacity: .85;
}

.bsDot.is-on{
  width: 20px;
  background: rgba(59,130,246,.40);
  border-color: rgba(59,130,246,.60);
  box-shadow: 0 0 0 4px rgba(59,130,246,.18);
  opacity: 1;
}

/* Mobile tweak */
@media (max-width: 560px){
  .bsPopular{ padding: 28px 0 46px; }
  .bsNav{ width: 40px; height: 40px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .bsPopular::before,
  .bsSlider::after{ animation: none; }
}

/* SECTION */
.bsSection{ padding: 26px 0 70px; }

/* GRID */
.bsGrid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

/* CARD (Minimal) */
.bsCard{
  border-radius: var(--r);
  overflow:hidden;
  border: 1px solid var(--stroke);
  background: #fff;
  box-shadow: var(--shadow);
  transform: translateZ(0);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.bsCard:hover{
  transform: translateY(-4px);
  box-shadow: 0 28px 90px rgba(11,18,32,.14);
}

.bsImg{
  aspect-ratio: 16/9;
  background: rgba(11,18,32,.04);
}

.bsImg img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}

/* Body */
.bsBody{
  padding: 14px 14px 16px;
  display:flex;
  flex-direction: column;
  gap: 10px;
}

.bsTitle{
  margin:0;
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 950;
}

.bsText{
  margin:0;
  opacity:.76;
  line-height: 1.7;

  display:-webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;  /* سطرين فقط */
  overflow:hidden;
}

.bsFoot{
  margin-top:auto;
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap: 10px;
}

.bsLink{
  text-decoration:none;
  font-weight: 950;
  color: rgba(11,18,32,.92);
}
.bsLink:hover{ text-decoration: underline; }

.bsMore{
  display:flex;
  justify-content:center;
  margin-top: 16px;
}

/* CTA */
.bsCTA{ padding: 18px 0 92px; }
.bsCTA__box{
  border-radius: 22px;
  padding: clamp(18px, 3vw, 26px);
  text-align:center;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow);
}

.bsH2{
  margin:0 0 10px;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.12;
}
.bsSub{ margin:0; opacity:.78; line-height: 1.75; }
.bsCTA__actions{
  display:flex;
  justify-content:center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

/* Responsive */
@media (max-width: 1100px){
  .bsGrid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px){
  .bsGrid{ grid-template-columns: 1fr; }
}