:root {
  --bg: #070b1a;
  --bg-soft: #0f1630;
  --surface: rgba(18, 27, 56, 0.7);
  --surface-strong: rgba(26, 37, 76, 0.9);
  --text: #f5f8ff;
  --text-soft: #adc0ef;
  --primary: #5f7bff;
  --secondary: #8a5bff;
  --accent: #20d8ff;
  --border: rgba(148, 178, 255, 0.25);
  --success: #35d08f;
  --danger: #ff5f8a;
  --shadow: 0 20px 50px rgba(6, 10, 24, 0.45);
  --radius: 18px;
  --radius-lg: 24px;
  --radius-sm: 14px;
  --glow-blue: 0 0 0 1px rgba(95, 123, 255, 0.28), 0 24px 70px rgba(44, 79, 201, 0.25);
  --glow-violet: 0 0 0 1px rgba(138, 91, 255, 0.22), 0 24px 70px rgba(122, 58, 255, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 17px;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  background: radial-gradient(circle at top right, rgba(95, 123, 255, 0.24), transparent 32%),
    radial-gradient(circle at top left, rgba(138, 91, 255, 0.28), transparent 36%), var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
  text-rendering: geometricPrecision;
}

body {
  position: relative;
  overflow-x: clip;
}

h1 {
  font-size: clamp(32px, 4vw, 52px);
}

h2 {
  font-size: clamp(26px, 3vw, 40px);
}

h3 {
  font-size: clamp(20px, 2.2vw, 28px);
}

p {
  font-size: 19px;
  line-height: 1.8;
}

body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(70px);
  z-index: -1;
  animation: ambientDrift 22s ease-in-out infinite alternate;
}

body::before {
  width: 340px;
  height: 340px;
  top: 8%;
  right: -120px;
  background: rgba(95, 123, 255, 0.2);
}

body::after {
  width: 280px;
  height: 280px;
  bottom: 8%;
  left: -100px;
  background: rgba(138, 91, 255, 0.2);
  animation-duration: 30s;
}

body::selection {
  background: rgba(95, 123, 255, 0.35);
}

.animated-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background: radial-gradient(circle at 20% 20%, rgba(32, 216, 255, 0.08), transparent 33%),
    radial-gradient(circle at 80% 28%, rgba(138, 91, 255, 0.1), transparent 36%),
    radial-gradient(circle at 30% 80%, rgba(95, 123, 255, 0.12), transparent 38%);
  background-size: 120% 120%;
  animation: bgShift 26s ease-in-out infinite alternate;
}

.bottom-glow {
  position: fixed;
  right: 0;
  bottom: 0;
  width: 620px;
  height: 620px;
  pointer-events: none;
  z-index: -1;
  opacity: 0.72;
  background: radial-gradient(circle, rgba(88, 101, 242, 0.24) 0%, rgba(138, 91, 255, 0.2) 34%, rgba(0, 0, 0, 0) 70%);
  filter: blur(100px);
}

.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  z-index: 5;
  transform: translate3d(-50%, -50%, 0);
  background: radial-gradient(circle, rgba(32, 216, 255, 0.2), rgba(95, 123, 255, 0.12) 42%, rgba(95, 123, 255, 0) 70%);
  filter: blur(24px);
  transition: opacity 0.35s ease;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  padding-left: 20px;
}

ul li {
  font-size: 20px;
  line-height: 1.8;
  margin-bottom: 8px;
}

nav ul li,
.top-nav ul li,
.header ul li,
.footer ul li,
.footer-top li {
  font-size: inherit;
  line-height: inherit;
  margin-bottom: 0;
}

nav ul,
.top-nav ul,
.header ul,
.footer ul,
.footer-top {
  padding-left: 0;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 104px 0;
}

.dark-section {
  background: linear-gradient(180deg, #0b0f1a 0%, #0a0d17 100%);
}

.light-section {
  background: radial-gradient(circle at 20% 30%, rgba(41, 199, 255, 0.08), transparent 60%),
    linear-gradient(180deg, #12182a 0%, #0d1322 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.section-title {
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  margin: 0 0 16px;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section-copy {
  color: var(--text-soft);
  line-height: 1.75;
  max-width: 700px;
  font-size: clamp(1rem, 1.5vw, 1.07rem);
}

.glass {
  background: linear-gradient(145deg, rgba(25, 36, 73, 0.7), rgba(13, 20, 43, 0.65));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 11, 26, 0.78);
  border-bottom: 1px solid rgba(148, 178, 255, 0.17);
  backdrop-filter: blur(14px);
  overflow: visible;
}

.top-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  padding: 8px 0;
  gap: 24px;
  overflow: visible;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  margin-right: 64px;
  max-width: none;
  max-height: none;
  overflow: visible;
}

.logo-img {
  height: 100px;
  width: auto;
  object-fit: cover;
  display: block;
  max-width: none;
  max-height: none;
  overflow: visible;
  transform: translateY(1px) scale(2.45);
  transform-origin: left center;
  filter: drop-shadow(0 0 14px rgba(41, 199, 255, 0.4));
}

.brand span {
  background: linear-gradient(120deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  padding: 7px 11px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  gap: 26px;
  align-items: center;
}

.nav-link {
  color: var(--text-soft);
  font-weight: 550;
  font-size: 0.95rem;
  transition: color 0.25s ease, transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  transform: translateY(-1px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 650;
  transition: transform 0.35s ease, box-shadow 0.35s ease, opacity 0.3s ease, border-color 0.3s ease;
  position: relative;
  isolation: isolate;
  font-size: 1rem;
}

button {
  font-size: 1rem;
}

.small-text,
span {
  font-size: 17px;
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--primary), var(--secondary) 58%, #5f8dff);
  box-shadow: 0 14px 32px rgba(95, 123, 255, 0.36), 0 0 24px rgba(95, 123, 255, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 16px 36px rgba(95, 123, 255, 0.38), 0 0 24px rgba(95, 123, 255, 0.3);
}

.btn-secondary {
  color: var(--text);
  border: 1px solid var(--border);
  background: rgba(17, 25, 48, 0.55);
}

.btn-secondary:hover {
  border-color: rgba(95, 123, 255, 0.65);
  box-shadow: 0 10px 26px rgba(95, 123, 255, 0.22), 0 0 18px rgba(95, 123, 255, 0.18);
}

.hero {
  padding: 84px 0 58px;
  min-height: min(88vh, 860px);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: url("./assets/images/hero-tech-wave.png") center/cover no-repeat;
  background-attachment: fixed;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(5, 10, 30, 0.85) 0%,
    rgba(5, 10, 30, 0.7) 40%,
    rgba(5, 10, 30, 0.4) 70%,
    rgba(5, 10, 30, 0.2) 100%
  );
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(0, 140, 255, 0.15), transparent 60%);
  z-index: 1;
}

.hero > * {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.eyebrow {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-size: 17px;
}

.hero h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.95rem);
  line-height: 1.16;
  margin: 0;
  letter-spacing: -0.04em;
  text-wrap: balance;
  max-width: 13ch;
}

.hero p {
  color: var(--text-soft);
  line-height: 1.9;
  max-width: 52ch;
  margin: 0;
}

.hero-content {
  display: grid;
  gap: 12px;
  max-width: 1200px;
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
  max-width: 100%;
  overflow: visible;
}

.hero-content h1,
.hero-content p {
  word-break: break-word;
  overflow-wrap: break-word;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-content .eyebrow {
  margin: 0;
}

.mena-hero .mena-hero-grid {
  grid-template-columns: 1fr;
  justify-content: flex-start;
  width: 100%;
}

.mena-hero .mena-hero-content {
  max-width: 720px;
  margin: 0;
  margin-left: 40px;
  text-align: left;
  align-items: flex-start;
  text-align: left !important;
  align-items: flex-start !important;
}

.mena-hero {
  display: flex;
  justify-content: flex-start !important;
  align-items: center;
}

.mena-hero::before {
  background: url("./assets/images/mena-hero-bg.png") center/cover no-repeat;
}

.mena-hero .hero-actions {
  justify-content: flex-start;
  margin-top: 24px;
}

.mena-hero h1 {
  margin-bottom: 16px;
  font-size: 64px;
  line-height: 1.15;
  font-weight: 700;
}

.mena-hero p {
  margin-bottom: 20px;
  font-size: 21px;
  line-height: 1.8;
  max-width: 620px;
}

.mena-hero .subtext,
.mena-hero .hero-subtext {
  font-size: 18px;
  opacity: 0.9;
}

.mena-hero .arabic-title,
.mena-hero .hero-title .ar {
  font-size: 48px;
  line-height: 1.3;
  font-weight: 600;
}

.mena-hero .hero-title-en {
  font-size: 64px;
  line-height: 1.15;
  font-weight: 700;
}

.mena-hero .hero-title-ar {
  font-size: 28px;
  line-height: 1.4;
  font-weight: 500;
  opacity: 0.85;
  margin-top: 0;
  letter-spacing: 0.3px;
}

.mena-hero .eyebrow {
  font-size: 14px;
  letter-spacing: 1px;
}

.mena-hero .hero-title {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  text-align: left;
  justify-content: flex-start;
  max-width: none !important;
}

.mena-hero .hero-subtext,
.mena-hero .hero-trust-lines {
  max-width: 600px;
}

.mena-hero .hero-title .en,
.mena-hero .hero-title .ar,
.mena-hero .hero-title-en,
.mena-hero .hero-title-ar {
  display: inline !important;
  width: auto !important;
  white-space: normal;
}

.mena-hero-content * {
  text-align: left !important;
}

.mena-hero .hero-title .ar,
.mena-hero .hero-title-ar {
  direction: rtl;
  text-align: left;
}

.mena-hero .buttons,
.mena-hero .hero-actions {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.mena-hero .buttons a,
.mena-hero .hero-actions a {
  white-space: nowrap;
  font-size: 16px;
  padding: 14px 26px;
}

.mena-hero-content > * {
  margin-bottom: 18px;
}

.mena-hero-content > *:last-child {
  margin-bottom: 0;
}

#mena-services {
  scroll-margin-top: 100px;
}

.hero-seq {
  opacity: 0;
  transform: translate3d(-14px, 10px, 0);
  animation: riseInLeft 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-seq-1 {
  animation-delay: 0.08s;
}

.hero-seq-2 {
  animation-delay: 0.2s;
}

.hero-seq-3 {
  animation-delay: 0.34s;
}

.hero-seq-4 {
  animation-delay: 0.45s;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  padding: 18px;
  opacity: 0;
  transform: scale(0.97);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 10% -10% -12%;
  background: radial-gradient(circle at center, rgba(95, 123, 255, 0.45), rgba(138, 91, 255, 0.15) 45%, transparent 72%);
  filter: blur(30px);
  z-index: 0;
}

.hero-visual > * {
  position: relative;
  z-index: 1;
}

.card-media {
  width: 100%;
  max-width: 420px;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  margin: 0 auto 18px auto;
}

.card-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
  filter: brightness(1.20) contrast(1.15) saturate(1.1);
}

.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 15, 30, 0.2), rgba(10, 15, 30, 0.4));
  pointer-events: none;
}

.card-media:hover video {
  transform: scale(1.05);
}

.what-we-solve {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: left;
  gap: 10px;
}

.what-we-solve + .hero-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.what-we-solve + .hero-card-content > * {
  max-width: 500px;
  text-align: left;
}

.what-we-solve + .hero-card-content h3,
.what-we-solve + .hero-card-content p,
.what-we-solve + .hero-card-content ul {
  text-align: left;
}

.what-we-solve + .hero-card-content h3 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 12px;
}

.what-we-solve + .hero-card-content p {
  font-size: 19px;
  line-height: 1.8;
  opacity: 0.9;
  margin-bottom: 16px;
}

.what-we-solve + .hero-card-content ul {
  text-align: left;
  margin: 0 auto;
  padding-left: 19px;
  max-width: 280px;
}

.what-we-solve + .hero-card-content li {
  font-size: 19px;
  margin-bottom: 8px;
  line-height: 1.7;
  text-align: left;
}

.what-we-solve-card .hero-card-content p {
  text-align: center;
}

.what-we-solve-card .hero-card-content ul {
  text-align: left !important;
  padding-left: 20px;
  max-width: 80%;
  margin: 0 auto;
}

.what-we-solve-card .hero-card-content ul li {
  text-align: left;
}

.hero-card-content {
  position: relative;
  z-index: 2;
}

.hero-card {
  padding: 22px 24px;
  max-width: 500px;
  width: fit-content;
  margin: 0 auto;
  height: auto;
  min-height: unset;
}

.video-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 500px;
}

.video-wrapper video {
  width: 500px;
  height: 300px;
  object-fit: cover;
  display: block;
  max-width: 500px;
  border-radius: 12px;
  position: static;
}

.hero-visual img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  min-height: 248px;
  box-shadow: var(--glow-violet);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.hero-visual:hover img {
  transform: scale(1.03);
  filter: saturate(1.06);
}

.hero-actions {
  margin-top: 4px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-trust-text {
  margin-top: 18px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.hero-trust-text::before {
  content: "\2022 ";
  color: #6c8cff;
}

.hero-trust-text strong {
  color: #ffffff;
  font-weight: 600;
}

.stats {
  margin-top: 30px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.problem-cards {
  margin-top: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.problem-section {
  padding-top: 16px;
  padding-bottom: 72px;
}

.problem-card {
  padding: 16px 16px 14px;
  border-radius: var(--radius-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.problem-card strong {
  display: block;
  font-size: 18px;
  line-height: 1.35;
}

.problem-card p {
  margin: 8px 0 0;
  font-size: 16px;
  color: var(--text-soft);
}

.problem-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--glow-blue);
  border-color: rgba(95, 123, 255, 0.68);
}

.problem-icon {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  margin-bottom: 10px;
  color: #b9c8ff;
  background: linear-gradient(145deg, rgba(95, 123, 255, 0.28), rgba(138, 91, 255, 0.12));
  border: 1px solid rgba(148, 178, 255, 0.35);
}

.problem-icon svg {
  width: 25px;
  height: 25px;
}

.stat {
  padding: 15px 17px;
  min-width: 130px;
}

.stat strong {
  display: block;
  font-size: 1.25rem;
}

.grid {
  display: grid;
  gap: 22px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-cards {
  gap: 30px;
}

.card {
  padding: 28px;
  height: 100%;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, background-color 0.35s ease;
}

.card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(95, 123, 255, 0.7);
  box-shadow: var(--glow-blue);
}

.grid-4 .card:hover {
  border-color: rgba(138, 91, 255, 0.62);
  box-shadow: 0 18px 42px rgba(95, 123, 255, 0.24), 0 0 22px rgba(138, 91, 255, 0.22);
}

.card h3 {
  margin-top: 0;
}

.card p {
  color: var(--text-soft);
  line-height: 1.75;
}

.service-card-btn {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6c63ff, #4da6ff);
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.service-card-btn i {
  font-size: 0.82rem;
  transition: transform 0.3s ease;
  
}

.service-card-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(77, 166, 255, 0.3), 0 0 18px rgba(108, 99, 255, 0.28);
  filter: brightness(1.03);
}

.service-card-btn:hover i {
  transform: translateX(2px);
}

.blog-card .service-card-btn {
  align-self: center;
  justify-content: center;
  min-width: 158px;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  gap: 12px;
}

.service-card p {
  margin: 0;
}

.service-image {
  width: 100%;
  height: 188px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  border: 1px solid rgba(148, 178, 255, 0.28);
  box-shadow: 0 12px 24px rgba(4, 8, 22, 0.45);
  transition: transform 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease;
}

.card:hover .service-image {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--glow-violet);
  filter: saturate(1.06);
}

.services-card-section .grid-4 {
  align-items: stretch;
}

.services-card-section .grid-4 > .card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  gap: 12px;
}

.services-card-section .grid-4 > .card .btn {
  margin-top: auto;
}

.services-card-section .grid-4 > .card .btn-primary {
  background: linear-gradient(135deg, #6c63ff, #4da3ff);
  color: #ffffff;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  padding: 10px 22px;
  transition: all 0.3s ease;
}

.services-card-section .grid-4 > .card .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(108, 99, 255, 0.4);
}

.service-detail-image {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(148, 178, 255, 0.3);
  box-shadow: var(--glow-blue);
}

.service-hero {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 50px;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.service-hero img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.service-hero:hover img {
  transform: scale(1.03);
}

.service-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 15, 30, 0.2), rgba(10, 15, 30, 0.5));
  border-radius: 20px;
  pointer-events: none;
}

.service-detail-wrap {
  display: grid;
  gap: 24px;
}

.benefit-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.benefit-item {
  padding: 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(148, 178, 255, 0.24);
  background: rgba(13, 22, 47, 0.68);
}

.list {
  padding-left: 20px;
  color: var(--text-soft);
  line-height: 1.9;
}

.contact-image-wrapper {
  position: relative;
  margin-top: 28px;
  border-radius: 16px;
  overflow: hidden;
  background: transparent;
  border: none;
  box-shadow: 0 0 40px rgba(0, 140, 255, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.contact-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  background: transparent;
  mix-blend-mode: screen;
  opacity: 0.9;
  filter: brightness(1.1) contrast(1.15) saturate(1.2);
}

.contact-image-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0, 140, 255, 0.25), transparent 70%);
  pointer-events: none;
}

.contact-image-wrapper:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 0 60px rgba(0, 140, 255, 0.35);
}

.process-step {
  position: relative;
  padding-left: 54px;
  margin-bottom: 10px;
}

.process-step::before {
  content: attr(data-step);
  position: absolute;
  left: 16px;
  top: 18px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  color: white;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.quote {
  font-style: italic;
  font-size: 1.05rem;
}

.testimonials-wrapper {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  position: relative;
}

.testimonials-wrapper::before,
.testimonials-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.testimonials-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #12182a, transparent);
}

.testimonials-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #12182a, transparent);
}

.testimonials-track {
  display: flex;
  gap: 120px;
  align-items: stretch;
  width: max-content;
  animation: scrollTestimonials 20s linear infinite;
}

.testimonials-wrapper:hover .testimonials-track {
  animation-play-state: paused;
}

.testimonial-card {
  min-width: 320px;
  max-width: 320px;
  width: 320px;
  flex: 0 0 auto;
  height: 100%;
  min-height: 300px;
  display: flex;
  flex-direction: column;
}

.testimonial-card .testimonial-content {
  max-width: 100%;
}

.testimonial-card .testimonial-footer {
  margin-top: auto;
}

.cta-band {
  padding: 40px;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cta-band h3 {
  margin: 0 0 8px;
}

.blog-subtitle {
  margin-bottom: 28px;
}

.blog-grid {
  align-items: stretch;
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.blog-image {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(148, 178, 255, 0.28);
  box-shadow: 0 12px 26px rgba(4, 8, 22, 0.45);
  transition: transform 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease;
}

.blog-card:hover .blog-image {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--glow-violet);
  filter: saturate(1.06);
}

.blog-date {
  margin: 4px 0 0;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(173, 192, 239, 0.86);
}

.blog-card h3 {
  margin: 0;
  line-height: 1.35;
}

.blog-excerpt {
  margin: 0;
  color: var(--text-soft);
}

.blog-hero {
  position: relative;
  padding: 86px 0 70px;
}

.blog-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 20% 10%, rgba(95, 123, 255, 0.16), transparent 42%),
    radial-gradient(circle at 80% 0%, rgba(138, 91, 255, 0.14), transparent 44%);
}

.blog-title {
  position: relative;
  z-index: 1;
  width: min(820px, 92vw);
  margin: 0 auto 34px;
  color: #ffffff;
  text-align: center;
  font-size: clamp(2.2rem, 4.9vw, 3.55rem);
  line-height: 1.13;
}

.blog-hero .blog-card {
  position: relative;
  z-index: 1;
  width: min(800px, 92vw);
  margin: 0 auto;
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #f5f7fc;
  border: 1px solid rgba(220, 228, 247, 0.9);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.blog-hero .blog-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: initial;
  border-radius: 18px 18px 0 0;
  margin: 0;
  border: 0;
  box-shadow: none;
}

.blog-card-content {
  padding: 24px 28px 28px;
  color: #1c2438;
}

.blog-tag {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #6e7f9c;
}

.blog-card-title {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
  color: #111827;
}

.blog-card-text {
  margin: 0;
  color: #4b5568;
  font-size: 1.03rem;
  line-height: 1.75;
}

.blog2-hero {
  padding: 92px 0 34px;
  background: linear-gradient(135deg, #0b1220, #0f1b2e);
}

.blog2-hero-inner {
  text-align: center;
}

.blog2-label {
  margin: 0 0 10px;
  color: #9cb4d9;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.blog2-title {
  width: min(850px, 92vw);
  margin: 0 auto 26px;
  color: #ffffff;
  font-size: clamp(2.2rem, 4.9vw, 3.5rem);
  line-height: 1.14;
}

.blog2-image {
  width: min(800px, 100%);
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid rgba(148, 178, 255, 0.28);
  box-shadow: 0 12px 30px rgba(5, 10, 26, 0.45);
}

.blog2-article {
  width: min(750px, 92vw);
  margin: 0 auto;
  color: #ffffff;
}

.blog2-article h2 {
  margin: 30px 0 12px;
  color: #ffffff;
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
  line-height: 1.25;
}

.blog2-article h3 {
  margin: 0 0 14px;
  color: #d6e3ff;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.blog2-article p {
  margin: 0 0 16px;
  color: #b0c4de;
  font-size: 19px;
  line-height: 1.86;
}

.blog2-list {
  margin: 0 0 16px;
  color: #b0c4de;
}

.blog1-hero {
  padding: 92px 0 34px;
  background: linear-gradient(135deg, #0b1220, #0f1b2e);
}

.blog1-hero-inner {
  text-align: center;
}

.blog1-label {
  margin: 0 0 10px;
  color: #9cb4d9;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.blog1-title {
  width: min(880px, 92vw);
  margin: 0 auto 26px;
  color: #ffffff;
  font-size: clamp(2.2rem, 4.9vw, 3.5rem);
  line-height: 1.14;
}

.blog1-image {
  width: min(800px, 100%);
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid rgba(148, 178, 255, 0.28);
  box-shadow: 0 12px 30px rgba(5, 10, 26, 0.45);
}

.blog1-article {
  width: min(750px, 92vw);
  margin: 0 auto;
  color: #ffffff;
}

.blog1-article h2 {
  margin: 30px 0 12px;
  color: #ffffff;
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
  line-height: 1.25;
}

.blog1-article h3 {
  margin: 0 0 14px;
  color: #d6e3ff;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.blog1-article p {
  margin: 0 0 16px;
  color: #b0c4de;
  font-size: 19px;
  line-height: 1.86;
}

.blog3-hero {
  padding: 92px 0 34px;
  background: linear-gradient(135deg, #0b1220, #0f1b2e);
}

.blog3-hero-inner {
  text-align: center;
}

.blog3-label {
  margin: 0 0 10px;
  color: #9cb4d9;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.blog3-title {
  width: min(1200px, 92vw);
  margin: 0 auto 26px;
  color: #ffffff;
  font-size: clamp(2.15rem, 4.8vw, 3.4rem);
  line-height: 1.14;
}

.blog3-image {
  width: min(800px, 100%);
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid rgba(148, 178, 255, 0.28);
  box-shadow: 0 12px 30px rgba(5, 10, 26, 0.45);
}

.blog3-article {
  width: min(750px, 92vw);
  margin: 0 auto;
  color: #ffffff;
}

.blog3-article h2 {
  margin: 30px 0 12px;
  color: #ffffff;
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
  line-height: 1.25;
}

.blog3-article h3 {
  margin: 0 0 14px;
  color: #d6e3ff;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.blog3-article p {
  margin: 0 0 16px;
  color: #b0c4de;
  font-size: 19px;
  line-height: 1.86;
}

.blog3-list {
  margin: 0 0 16px;
  color: #b0c4de;
}

.blog-single {
  width: min(800px, 92vw);
  margin: 0 auto;
  color: #ffffff;
  opacity: 0;
  transform: translateY(12px);
  animation: blogFadeUp 0.7s ease forwards;
}

.blog-single h1 {
  margin: 8px 0 20px;
  font-size: clamp(2.1rem, 4.8vw, 3.3rem);
  line-height: 1.16;
  color: #ffffff;
}

.blog-single-image {
  width: 100%;
  display: block;
  border-radius: var(--radius);
  margin: 0 0 28px;
  border: 1px solid rgba(148, 178, 255, 0.3);
  box-shadow: 0 16px 30px rgba(5, 10, 26, 0.52);
  object-fit: cover;
}

.blog-single p {
  margin: 0 0 16px;
  color: #b0c4de;
  line-height: 1.88;
  font-size: 1.02rem;
}

.blog-single h2 {
  margin: 30px 0 12px;
  color: #ffffff;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
}

.blog-single-list {
  margin: 0 0 16px;
  color: #b0c4de;
}

.blog-feature-hero {
  position: relative;
  margin-top: 22px;
}

.blog-feature-hero-media {
  position: relative;
  width: 100%;
  height: clamp(350px, 52vw, 450px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(5, 10, 26, 0.52), 0 0 18px rgba(95, 123, 255, 0.2);
}

.blog-feature-hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.blog-feature-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
  z-index: 1;
  pointer-events: none;
}

.blog-feature-hero-content {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: min(800px, 92vw);
  margin: 0 auto;
  padding: 0;
  animation: blogFadeUp 0.7s ease forwards;
  text-align: center;
}

.blog-feature-hero-content h1 {
  margin: 10px 0 0;
  color: #ffffff;
  font-size: clamp(2.2rem, 5vw, 3.45rem);
  line-height: 1.14;
  max-width: 18ch;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
  margin-left: auto;
  margin-right: auto;
}

.blog-card .btn {
  margin-top: auto;
}

.blog-content-wrap {
  display: grid;
  gap: 24px;
  width: min(800px, 92vw);
  margin: 0 auto;
}

.blog-article {
  padding: 34px;
  opacity: 0;
  transform: translateY(12px);
  animation: blogFadeUp 0.65s ease forwards;
}

.blog-content-wrap .blog-article:nth-child(1) {
  animation-delay: 0.08s;
}

.blog-content-wrap .blog-article:nth-child(2) {
  animation-delay: 0.14s;
}

.blog-content-wrap .blog-article:nth-child(3) {
  animation-delay: 0.2s;
}

.blog-content-wrap .blog-article:nth-child(4) {
  animation-delay: 0.26s;
}

.blog-content-wrap .blog-article:nth-child(5) {
  animation-delay: 0.32s;
}

.blog-content-wrap .blog-article:nth-child(6) {
  animation-delay: 0.38s;
}

.blog-content-wrap .blog-article:nth-child(7) {
  animation-delay: 0.44s;
}

.blog-content-wrap .blog-article:nth-child(8) {
  animation-delay: 0.5s;
}

.blog-article h2 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  color: #f8fbff;
}

.blog-article p {
  margin: 0 0 16px;
  color: rgba(243, 248, 255, 0.9);
  line-height: 1.85;
}

.blog-article p:last-child {
  margin-bottom: 0;
}

.blog-list {
  margin: 0 0 16px;
  color: rgba(243, 248, 255, 0.9);
}

.page-hero {
  padding: 88px 0 42px;
}

.page-hero h1 {
  margin: 10px 0 12px;
  font-size: clamp(2rem, 4.8vw, 3.2rem);
}

.services-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(5, 10, 25, 0.65), rgba(5, 10, 25, 0.85)),
    url("./assets/images/services-hero-bg.png") center/cover no-repeat;
  backdrop-filter: blur(2px);
}

.services-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at left, rgba(0, 150, 255, 0.15), transparent 60%);
  pointer-events: none;
}

.services-hero-content {
  position: relative;
  z-index: 2;
}

.about-hero {
  position: relative;
  overflow: hidden;
}

.about-hero::before,
.about-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(34px);
  z-index: -1;
}

.about-hero::before {
  width: 260px;
  height: 260px;
  top: 16%;
  right: 8%;
  background: rgba(95, 123, 255, 0.19);
}

.about-hero::after {
  width: 220px;
  height: 220px;
  bottom: -20px;
  left: 8%;
  background: rgba(138, 91, 255, 0.17);
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}

.about-hero-media {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 16 / 9;
  padding: 16px;
  overflow: hidden;
  border-radius: 16px;
  margin-left: auto;
}

.about-hero-media::after {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: var(--radius);
  background: linear-gradient(140deg, rgba(95, 123, 255, 0.2), rgba(32, 216, 255, 0.06), rgba(138, 91, 255, 0.14));
  pointer-events: none;
}

.about-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: var(--radius);
  border: 1px solid rgba(148, 178, 255, 0.34);
  box-shadow: 0 16px 34px rgba(5, 10, 26, 0.52), 0 0 16px rgba(95, 123, 255, 0.25);
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.page-hero.is-visible .about-hero-image {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 16px;
  border: 1px solid rgba(148, 178, 255, 0.3);
  box-shadow: 0 10px 22px rgba(5, 9, 24, 0.45);
  opacity: 0;
  transform: translateY(10px) scale(0.97);
  transition: opacity 0.6s ease, transform 0.6s ease, filter 0.35s ease;
}

.card.is-visible .card-image {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.about-card:hover {
  border-color: rgba(138, 91, 255, 0.62);
  box-shadow: 0 18px 40px rgba(95, 123, 255, 0.25), 0 0 20px rgba(138, 91, 255, 0.25);
}

.about-card:hover .card-image {
  filter: saturate(1.06);
}

.card-image.image-fallback,
.about-hero-image.image-fallback {
  background: linear-gradient(140deg, rgba(14, 23, 48, 0.95), rgba(37, 51, 97, 0.72), rgba(78, 52, 143, 0.68));
  border: 1px solid rgba(148, 178, 255, 0.3);
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.benefits-section {
  margin-bottom: 40px;
}

.split-card {
  position: relative;
  border-radius: 20px;
}

.split-card-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.split-card .card {
  min-height: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
  border-radius: 20px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
  overflow: hidden;
}

.split-card .card h2,
.split-card .card h3,
.split-card .card h4 {
  color: #ffffff;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.7);
}

.split-card .card p,
.split-card .card li {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.split-card .card p {
  font-size: 19px;
  line-height: 1.7;
}

.split-card .left-card ul {
  padding-left: 20px;
}

.split-card .left-card ul li {
  font-size: 20px;
  line-height: 1.8;
  margin-bottom: 8px;
}

.split-card .card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: radial-gradient(circle at top left, rgba(0, 150, 255, 0.15), transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.card-video-wrapper {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 16px;
  z-index: 0;
}

.card-video-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 25, 0.5);
  z-index: 1;
  backdrop-filter: blur(2px);
}

.card-video,
.section-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.65) contrast(1.1);
}

.card-content,
.section-content {
  position: relative;
  z-index: 2;
}

.split-card .card:hover {
  transform: none;
  box-shadow: none;
}

.team-section {
  text-align: center;
}

.team-eyebrow {
  margin-bottom: 8px;
}

.team-title {
  margin-bottom: 28px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  text-align: left;
}

.team-card,
.people-card {
  border-radius: 20px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(145deg, rgba(24, 35, 70, 0.68), rgba(15, 22, 42, 0.72));
}

.team-image,
.people-card img {
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: contain;
  object-position: center;
  border-radius: 15px;
  margin-bottom: 16px;
  background: #0b1220;
}

.people-image {
  width: 100%;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  margin-bottom: 16px;
}

.people-image img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 0;
  transition: transform 0.35s ease;
}

.people-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top, rgba(10, 15, 30, 0.8), transparent);
  pointer-events: none;
}

.team-card h3,
.people-card h3 {
  margin-bottom: 8px;
  font-size: 1.4rem;
}

.team-role {
  color: #7fa0ff;
  font-weight: 600;
  margin: 0 0 14px;
}

.team-card p,
.people-card p {
  color: var(--text-soft);
}

.team-card:hover,
.people-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 44px rgba(71, 94, 201, 0.26), 0 0 22px rgba(132, 101, 255, 0.2);
}

.team-card:hover .team-image,
.people-card:hover .people-image img {
  transform: scale(1.03);
}

form {
  display: grid;
  gap: 14px;
}

label {
  font-size: 0.9rem;
  color: var(--text-soft);
}

input,
select,
textarea {
  width: 100%;
  background: rgba(12, 20, 42, 0.9);
  color: var(--text);
  border: 1px solid rgba(148, 178, 255, 0.3);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(95, 123, 255, 0.8);
  border-color: transparent;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.form-status {
  min-height: 22px;
  font-weight: 600;
}

.form-status.success {
  color: var(--success);
}

.form-status.error {
  color: var(--danger);
}

.footer {
  margin-top: 80px;
  padding: 0;
  color: #eaf0ff;
  background: linear-gradient(90deg, #040a1d 0%, #0d214f 100%);
}

.footer .container {
  padding: 26px 0 22px;
  text-align: center;
}

.footer-top {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px 44px;
  flex-wrap: wrap;
}

.footer-top li {
  color: rgba(234, 240, 255, 0.95);
  font-size: 0.95rem;
  line-height: 1.45;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-top a {
  color: inherit;
}

.footer-top i {
  font-size: 0.88rem;
  color: rgba(206, 222, 255, 0.95);
  flex: 0 0 auto;
}

.footer-divider {
  height: 1px;
  width: 100%;
  margin: 18px 0 16px;
  border: 0;
  background: rgba(234, 240, 255, 0.2);
}

.footer-bottom {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(234, 240, 255, 0.82);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 {
  transition-delay: 0.08s;
}

.stagger-2 {
  transition-delay: 0.16s;
}

.stagger-3 {
  transition-delay: 0.24s;
}

.stagger-4 {
  transition-delay: 0.32s;
}

/* MENA split-card animation enhancements */
.mena-focus-card {
  position: relative;
}

.opacity-animate {
  opacity: 0 !important;
  transform: translateY(40px) !important;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.opacity-animate.animate-left {
  transform: translateX(-28px) !important;
}

.opacity-animate.animate-right {
  transform: translateX(28px) !important;
}

.opacity-animate.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.mena-focus-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.mena-focus-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(100, 150, 255, 0.15), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.mena-focus-card:hover::before {
  opacity: 1;
}

.mena-focus-card ul li {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.mena-focus-card.visible ul li {
  opacity: 1;
  transform: translateY(0);
}

.mena-focus-card.visible ul li:nth-child(1) {
  transition-delay: 0.1s;
}

.mena-focus-card.visible ul li:nth-child(2) {
  transition-delay: 0.2s;
}

.mena-focus-card.visible ul li:nth-child(3) {
  transition-delay: 0.3s;
}

.mena-focus-card.visible ul li:nth-child(4) {
  transition-delay: 0.4s;
}

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

@keyframes riseInLeft {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes heroVisualIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes ambientDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(16px, -18px, 0) scale(1.08);
  }
}

@keyframes bgShift {
  0% {
    background-position: 0% 0%, 100% 0%, 0% 100%;
  }
  100% {
    background-position: 18% 12%, 82% 20%, 12% 82%;
  }
}

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

@keyframes blogFadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 1440px) {
  .container {
    max-width: 1600px;
  }
}

@media (max-width: 980px) {
  .section {
    padding: 88px 0;
  }

  .top-nav__inner {
    min-height: 92px;
    padding: 14px 0;
  }

  .bottom-glow {
    width: 460px;
    height: 460px;
    opacity: 0.66;
    filter: blur(92px);
  }

  .logo-img {
    height: 54px;
    transform: translateY(1px) scale(1.9);
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .split-card-inner {
    grid-template-columns: 1fr;
  }

  .left-card {
    border-bottom: 0;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .about-hero-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 74px;
    padding-bottom: 44px;
  }

  .problem-cards {
    grid-template-columns: 1fr 1fr;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-content {
    padding-left: 16px;
    padding-right: 16px;
  }

  .mena-hero .hero-title {
    display: block !important; /* This removes the flexbox constraint causing the overflow */
    width: 100% !important;
  }
  .mena-hero-content .ar,
  .mena-hero-content .hero-title-ar,
  .mena-hero-content .hero-subtext .ar {
    direction: rtl !important;
    text-align: right !important;
    display: block !important;
    width: auto !important; /* Changed from 100% to auto to prevent Safari overflow */
    max-width: 100% !important;
    margin-top: 12px;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }

  .hero-content h1 {
    font-size: 32px;
    line-height: 1.2;
  }

  .mena-hero {
    justify-content: center !important;
  }

  .mena-hero .mena-hero-content {
    margin-left: 0;
    padding: 0 20px;
  }

  .mena-hero h1 {
    font-size: 36px;
  }

  .mena-hero .arabic-title {
    font-size: 28px;
  }

  .mena-hero .hero-title-en {
    font-size: 36px;
  }

  .mena-hero p {
    font-size: 16px;
  }

  .mena-hero p,
  .mena-hero .hero-subtext,
  .mena-hero .hero-trust-lines {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
  }

  .mena-hero .buttons,
  .mena-hero .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .mena-hero .hero-actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important; /* Centers the buttons horizontally */
    justify-content: center !important;
    width: 100% !important;
    margin-top: 32px !important;
  }

  .mena-hero .hero-actions .btn {
    width: 85% !important; /* Prevents buttons from touching the screen edges */
    max-width: 350px !important; /* Keeps a nice maximum width */
    justify-content: center !important;
    text-align: center !important;
    margin-bottom: 16px !important; /* Adds breathing room between buttons */
  }
}

@media (max-width: 720px) {
  .section {
    padding: 74px 0;
  }

  .top-nav__inner {
    min-height: 82px;
    padding: 12px 0;
  }

  .bottom-glow {
    width: 360px;
    height: 360px;
    opacity: 0.62;
    filter: blur(86px);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(7, 11, 26, 0.96);
    border-bottom: 1px solid rgba(148, 178, 255, 0.18);
    padding: 16px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .nav-links.open {
    display: flex;
  }

  .logo-img {
    transform: translateY(1px) scale(2.2) !important;
    transform-origin: left center !important;
  }

  .grid-4,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 72px;
    padding-bottom: 40px;
  }

  .hero h1 {
    font-size: clamp(1.95rem, 9vw, 2.55rem);
    max-width: 14ch;
  }

  .problem-cards {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-visual {
    padding: 14px;
  }

  .hero-visual img {
    min-height: 220px;
  }

  .about-hero .image-wrapper {
    max-width: 100%;
    margin: 0 auto;
  }

  .about-hero-image {
    height: 100%;
  }

  .card-image {
    height: 180px;
  }

  .cta-band {
    padding: 30px;
  }

  .service-image {
    height: 200px;
  }

  .service-detail-image {
    height: 240px;
  }

  .blog-image {
    height: 210px;
  }

  .blog-article {
    padding: 28px;
  }

  .blog-hero {
    padding: 74px 0 62px;
  }

  .blog-title {
    margin-bottom: 26px;
  }

  .blog-card-content {
    padding: 22px 22px 24px;
  }

  .blog2-hero {
    padding: 78px 0 28px;
  }

  .blog2-title {
    margin-bottom: 20px;
  }

  .blog1-hero {
    padding: 78px 0 28px;
  }

  .blog1-title {
    margin-bottom: 20px;
  }

  .blog3-hero {
    padding: 78px 0 28px;
  }

  .blog3-title {
    margin-bottom: 20px;
  }

  .blog-feature-hero {
    margin-top: 16px;
  }

  .blog-feature-hero-media {
    height: clamp(300px, 60vw, 380px);
  }

  .blog-feature-hero-content {
    bottom: 24px;
  }

  .footer .container {
    padding: 22px 0 18px;
  }

  .footer-top {
    gap: 10px 28px;
  }

  .footer-divider {
    margin: 14px 0 14px;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .cursor-glow {
    display: none !important;
  }
}
