/* Add custom CSS styles below */ 
/* =========================================
   SAFWAT AL SHAMAL — VIDEO HERO
   ========================================= */

#safwat-video-hero {
  position: relative;
  width: 100%;
  height: min(82vh, 780px);
  min-height: 580px;
  overflow: hidden;
  background: #0b2917;
  isolation: isolate;
}

#safwat-video-hero .safwat-hero-video,
#safwat-video-hero .safwat-hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#safwat-video-hero .safwat-hero-video {
  z-index: 0;
}

#safwat-video-hero .safwat-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(0, 20, 9, 0.08) 0%,
      rgba(0, 20, 9, 0.16) 42%,
      rgba(0, 25, 12, 0.76) 100%
    );
}

#safwat-video-hero .safwat-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1280px, calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  direction: rtl;
}

#safwat-video-hero .safwat-hero-copy {
  width: min(560px, 48vw);
  color: #fff;
  text-align: right;
}

#safwat-video-hero .safwat-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 999px;
  background: rgba(0,0,0,.16);
  backdrop-filter: blur(6px);
  font-size: 14px;
  font-weight: 600;
}

#safwat-video-hero h1 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(36px, 4.2vw, 64px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.8px;
  text-shadow: 0 2px 18px rgba(0,0,0,.22);
}

#safwat-video-hero .safwat-description {
  margin: 0;
  max-width: 540px;
  color: rgba(255,255,255,.94);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.7;
}

#safwat-video-hero .safwat-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

#safwat-video-hero .safwat-btn {
  min-height: 50px;
  padding: 13px 22px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 16px;
  transition: transform .2s ease, opacity .2s ease, background .2s ease;
}

#safwat-video-hero .safwat-btn:hover {
  transform: translateY(-2px);
}

#safwat-video-hero .safwat-btn-primary {
  background: #F6F1E6;
  color: #003818 !important;
}

#safwat-video-hero .safwat-btn-secondary {
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
}

#safwat-video-hero .safwat-proof {
  margin-top: 18px;
  color: rgba(255,255,255,.84);
  font-size: 13px;
  line-height: 1.7;
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 767px) {

  #safwat-video-hero {
    height: 72svh;
    min-height: 570px;
    max-height: 700px;
  }

  #safwat-video-hero .safwat-hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(0, 20, 9, 0.08) 18%,
        rgba(0, 20, 9, 0.24) 47%,
        rgba(0, 25, 12, 0.88) 100%
      );
  }

  #safwat-video-hero .safwat-hero-inner {
    width: calc(100% - 32px);
    align-items: flex-end;
    padding-bottom: 42px;
  }

  #safwat-video-hero .safwat-hero-copy {
    width: 100%;
    text-align: center;
  }

  #safwat-video-hero .safwat-eyebrow {
    margin-bottom: 9px;
    font-size: 12px;
  }

  #safwat-video-hero h1 {
    font-size: clamp(30px, 9vw, 42px);
    line-height: 1.16;
    margin-bottom: 10px;
  }

  #safwat-video-hero .safwat-description {
    margin-inline: auto;
    max-width: 390px;
    font-size: 15px;
    line-height: 1.6;
  }

  #safwat-video-hero .safwat-actions {
    justify-content: center;
    margin-top: 18px;
  }

  #safwat-video-hero .safwat-btn {
    min-height: 48px;
    padding: 12px 17px;
    font-size: 14px;
  }

  #safwat-video-hero .safwat-proof {
    margin-top: 13px;
    font-size: 12px;
  }
}


/* Respect accessibility settings */
@media (prefers-reduced-motion: reduce) {
  #safwat-video-hero .safwat-hero-video {
    display: none;
  }

  #safwat-video-hero .safwat-hero-poster {
    display: block !important;
  }
}