﻿.hero-section {
  position: relative;
  margin-top: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
  transition: transform 0.35s ease-out;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0, 20, 50, 0.9) 0%, rgba(0, 60, 120, 0.85) 100%),
    linear-gradient(180deg, rgba(2, 8, 20, 0.62) 0%, rgba(2, 8, 20, 0.72) 100%);
  z-index: 1;
}

.hero-noise {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 16% 20%, rgba(255, 255, 255, 0.18) 0%, transparent 28%),
    radial-gradient(circle at 88% 78%, rgba(255, 255, 255, 0.14) 0%, transparent 34%);
  opacity: 0.32;
  z-index: 2;
  pointer-events: none;
}

.hero-shell {
  position: relative;
  z-index: 4;
  width: 100%;
  padding-top: clamp(7.2rem, 10.5vw, 9.8rem);
  padding-bottom: clamp(3rem, 8vw, 5rem);
}

.hero-card {
  max-width: min(820px, 100%);
  margin-inline: auto;
  padding: clamp(1.4rem, 2.4vw, 2.15rem);
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6);
  text-align: center;
  color: #ffffff;
  position: relative;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: auto 14% -26px;
  height: 66px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(0, 194, 168, 0.38) 0%, rgba(0, 194, 168, 0) 74%);
  filter: blur(16px);
  z-index: -1;
  pointer-events: none;
}

.hero-kicker {
  margin: 0 0 1rem;
}

.hero-kicker span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.52rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.16);
  font-family: "Cairo", sans-serif;
  font-size: 0.93rem;
  font-weight: 700;
  color: #ffffff;
}

.hero-title {
  margin: 0;
  font-family: "Cairo", sans-serif;
  font-size: clamp(2.15rem, 5.1vw, 3.6rem);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 0;
  color: #ffffff;
  text-shadow: 0 5px 25px rgba(0, 194, 168, 0.5);
}

.hero-subtitle {
  margin: 1.05rem auto 0;
  max-width: 680px;
  font-family: "Tajawal", sans-serif;
  font-size: clamp(1.05rem, 2.3vw, 1.32rem);
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.hero-actions {
  margin-top: 1.55rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.82rem;
  flex-wrap: wrap;
}

.hero-btn {
  border-radius: 999px;
  min-width: 190px;
  min-height: 50px;
  padding: 0.72rem 1.45rem;
  font-family: "Cairo", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease, background-color 0.22s ease;
}

.hero-btn:hover,
.hero-btn:focus {
  transform: translateY(-3px);
}

.hero-btn-primary {
  background: linear-gradient(135deg, #1F2F3F 0%, #C8A45A 100%);
  color: #ffffff;
  box-shadow: 0 12px 30px -14px rgba(0, 194, 168, 0.55);
}

.hero-btn-primary:hover,
.hero-btn-primary:focus {
  color: #ffffff;
  filter: brightness(1.06);
  box-shadow: 0 10px 25px rgba(0, 194, 168, 0.4);
}

.hero-btn-secondary {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero-btn-secondary:hover,
.hero-btn-secondary:focus {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: 0 15px 32px -22px rgba(255, 255, 255, 0.85);
}

.hero-trust-row {
  margin-top: 1.45rem;
  padding-top: 1.05rem;
  border-top: 1px solid rgba(255, 255, 255, 0.26);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.hero-trust-item strong {
  display: block;
  font-family: "Cairo", sans-serif;
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  line-height: 1.3;
  font-weight: 900;
  color: #ffffff;
}

.hero-trust-item span {
  display: block;
  margin-top: 0.22rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.93rem;
  font-weight: 600;
}

.hero-glow {
  position: absolute;
  width: clamp(220px, 34vw, 420px);
  height: clamp(220px, 34vw, 420px);
  border-radius: 50%;
  filter: blur(58px);
  opacity: 0.36;
  z-index: 3;
  pointer-events: none;
}

.hero-glow-one {
  top: -78px;
  right: -110px;
  background: rgba(0, 194, 168, 0.7);
}

.hero-glow-two {
  bottom: -88px;
  left: -120px;
  background: rgba(0, 56, 168, 0.72);
}

.hero-floating-mark {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(5px);
  z-index: 3;
  animation: heroFloat 9s ease-in-out infinite;
}

.hero-floating-mark-one {
  width: 66px;
  height: 66px;
  top: 30%;
  right: 9%;
}

.hero-floating-mark-two {
  width: 38px;
  height: 38px;
  top: 24%;
  left: 11%;
  animation-delay: -3s;
}

.hero-floating-mark-three {
  width: 18px;
  height: 18px;
  bottom: 28%;
  left: 15%;
  animation-delay: -5s;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  z-index: 5;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.86rem;
  animation: heroPulse 1.8s ease-in-out infinite;
}

.hero-scroll-indicator i {
  font-size: 0.8rem;
}

@keyframes heroFloat {
  0%,
  100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes heroPulse {
  0%,
  100% { opacity: 0.66; transform: translateX(-50%) translateY(0); }
  50% { opacity: 1; transform: translateX(-50%) translateY(-4px); }
}

@media (max-width: 991.98px) {
  .hero-shell {
    padding-top: 6.2rem;
    padding-bottom: 3.6rem;
  }

  .hero-card {
    border-radius: 18px;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    min-height: 94vh;
  }

  .hero-card {
    text-align: start;
    padding: 1.15rem 1rem 1.05rem;
  }

  .hero-actions {
    justify-content: stretch;
  }

  .hero-btn {
    width: 100%;
    min-width: 0;
  }

  .hero-trust-row {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .hero-scroll-indicator {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-image,
  .hero-floating-mark,
  .hero-scroll-indicator {
    transition: none !important;
    animation: none !important;
  }
}

