/* Homepage-only motion direction: the brand's blue light, kept behind real content. */
.cf-hero-section-3 .cf-1140px-wrapper---home-vertical {
  isolation: isolate;
  overflow: hidden;
  min-height: min(860px, calc(100svh - 100px));
  height: auto !important;
  margin-bottom: clamp(60px, 8vw, 100px) !important;
  padding: clamp(72px, 7vw, 105px) clamp(24px, 8vw, 120px) clamp(45px, 5vw, 70px) !important;
  align-items: flex-start !important;
  direction: rtl !important;
  background: #070e1c;
}

.ac-hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: #070e1c url('/assets/home-motion/hero-brand-poster.webp') left 5% center / cover no-repeat;
}

.ac-hero-media video {
  position: absolute;
  top: -8%;
  bottom: 0;
  left: -22%;
  width: 110%;
  height: 112%;
  object-fit: cover;
  object-position: left 42%;
  pointer-events: none;
}

.ac-hero-atmosphere {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.ac-hero-atmosphere::before {
  content: '';
  position: absolute;
  inset: 3% 55% 0 -8%;
  background: radial-gradient(ellipse at center, rgba(28, 119, 245, .32), transparent 66%);
  filter: blur(28px);
  animation: ac-hero-breathe 4.8s ease-in-out infinite;
}

.ac-hero-grid {
  position: absolute;
  left: -20%;
  top: 42%;
  width: 90%;
  height: 75%;
  transform-origin: center top;
  transform: perspective(500px) rotateX(66deg);
  background-image: linear-gradient(rgba(77, 155, 255, .24) 1px, transparent 1px), linear-gradient(90deg, rgba(77, 155, 255, .24) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(ellipse 55% 68% at 36% 28%, #000 5%, transparent 80%);
  animation: ac-grid-drift 16s linear infinite;
}

@keyframes ac-hero-breathe {
  0%, 100% { opacity: .48; transform: scale(.88); }
  50% { opacity: 1; transform: scale(1.12); }
}

@keyframes ac-grid-drift {
  to { background-position: 0 76px, 0 76px; }
}

.ac-hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(270deg, rgba(7, 14, 28, .96) 0%, rgba(7, 14, 28, .88) 46%, rgba(7, 14, 28, .35) 75%, transparent 100%),
    linear-gradient(0deg, #070e1c 0%, transparent 28%);
}

.cf-hero-section-3 .cf-82px-heading {
  width: min(730px, 100%);
  max-width: 730px !important;
  margin: 0 0 24px !important;
  color: #f8fbff;
  font-size: clamp(2.5rem, 4.2vw, 4.2rem) !important;
  line-height: 1.25 !important;
  text-align: right !important;
  text-wrap: balance;
}

.cf-hero-section-3 .cf-gradient-span {
  font-size: .58em;
  line-height: 1.5;
  color: #6cb2ff;
}

.cf-hero-section-3 .cf-22px-paragraph---white {
  width: min(610px, 100%);
  max-width: 610px !important;
  margin: 0 0 32px !important;
  color: #d6e4f3 !important;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem) !important;
  text-align: right !important;
  line-height: 1.9 !important;
}

.cf-hero-section-3 .div-block-151 {
  justify-content: flex-start !important;
  gap: 14px;
  direction: rtl;
}

.cf-hero-section-3 .div-block-151 .ac-hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 188px;
  min-height: 56px;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: 12px;
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .25s ease, background-color .25s ease, border-color .25s ease;
}

.cf-hero-section-3 .div-block-151 .ac-hero-button--primary,
.cf-hero-section-3 .div-block-151 .ac-hero-button--primary:visited {
  background: #1667e8;
  color: #fff;
  box-shadow: 0 8px 28px rgba(13, 93, 214, .24);
}

.cf-hero-section-3 .div-block-151 .ac-hero-button--secondary,
.cf-hero-section-3 .div-block-151 .ac-hero-button--secondary:visited {
  border-color: rgba(198, 220, 250, .48);
  background: rgba(8, 19, 35, .74);
  color: #fff;
}

.cf-hero-section-3 .div-block-151 .ac-hero-button:hover {
  transform: translateY(-2px);
  border-color: #a9d1ff;
}

.cf-hero-section-3 .div-block-151 .ac-hero-button:focus-visible {
  outline: 3px solid #a9d1ff;
  outline-offset: 4px;
}

.cf-hero-section-3 .lottie-animation-9 {
  display: block !important;
  height: 140px !important;
  width: 55px !important;
  margin: 25px auto 0 !important;
  pointer-events: none;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.cf-hero-section-3 .logos-caption {
  width: 100% !important;
  text-align: center !important;
  margin: 55px auto 20px !important;
  padding: 0 !important;
  color: #94a3b8 !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  letter-spacing: 0.2px !important;
  font-family: 'Tajawal', sans-serif !important;
}

.cf-hero-section-3 .logos-container2 {
  width: 100% !important;
  margin: 0 auto !important;
  overflow: hidden !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  direction: ltr !important;
  padding: 12px 0 !important;
}

.cf-hero-section-3 .logos-row2 {
  display: flex !important;
  align-items: center !important;
  flex: none !important;
  grid-column-gap: 3.5rem !important;
  column-gap: 3.5rem !important;
  padding-left: 3.5rem !important;
  animation: scroll 22s linear infinite !important;
  will-change: transform;
}

.cf-hero-section-3 .logos-container2:hover .logos-row2 {
  animation-play-state: paused !important;
}

.cf-hero-section-3 .logos-row2 .logo-10 {
  width: 144px !important;
  height: auto !important;
  max-height: 48px !important;
  object-fit: contain !important;
  opacity: 0.85 !important;
  transition: opacity 0.25s ease, transform 0.25s ease !important;
}

.cf-hero-section-3 .logos-row2 .logo-10:hover {
  opacity: 1 !important;
  transform: scale(1.06) !important;
}

.cf-hero-section-3 .logos-row2 .logo-10.whatsapp {
  width: 140px !important;
  height: 140px !important;
  max-width: 140px !important;
  max-height: 140px !important;
  margin: -46px 0 !important;
  object-fit: contain !important;
}

.cf-hero-section-3 .logos-gradient {
  background-image: linear-gradient(90deg, #070e1c 0%, rgba(7, 14, 28, 0) 100%) !important;
  width: 6rem !important;
  position: absolute !important;
  inset: 0 auto 0 0 !important;
  pointer-events: none !important;
  z-index: 2 !important;
}

.cf-hero-section-3 .logos-gradient.is-inverted {
  inset: 0 0 0 auto !important;
  background-image: linear-gradient(270deg, #070e1c 0%, rgba(7, 14, 28, 0) 100%) !important;
  transform: none !important;
}

@media (max-width: 767px) {
  .cf-hero-section-3 .cf-1140px-wrapper---home-vertical {
    min-height: auto;
    padding: 80px 24px 45px !important;
  }
  .ac-hero-media video { display: none !important; }
  .ac-hero-media { background-position: 20% center; }
  .ac-hero-atmosphere::before { inset: 5% -10% 15%; }
  .ac-hero-grid { left: -60%; width: 180%; top: 54%; }
  .ac-hero-media::after {
    background: linear-gradient(270deg, rgba(5, 11, 24, .84), rgba(5, 11, 24, .57)),
      linear-gradient(0deg, #111726, transparent 45%);
  }
  .cf-hero-section-3 .cf-82px-heading { font-size: clamp(2.25rem, 9vw, 3.4rem) !important; }
  .cf-hero-section-3 .cf-22px-paragraph---white { font-size: 1.1rem !important; }
  .cf-hero-section-3 .div-block-151 { flex-wrap: wrap; }
  .cf-hero-section-3 .div-block-151 .ac-hero-button { flex: 1 1 145px; min-width: 0; padding-inline: 18px; }
  .cf-hero-section-3 .logos-caption { margin: 20px auto 10px !important; padding: 0 !important; }
}

@media (prefers-reduced-motion: reduce) {
  .ac-hero-media video { display: none; }
  .ac-hero-atmosphere::before, .ac-hero-grid { animation: none; }
  .cf-hero-section-3 .div-block-151 a { transition: none; }
  .cf-hero-section-3 .div-block-151 a:hover { transform: none; }
}
