@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/montserrat/Montserrat-Regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/montserrat/Montserrat-Medium.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/montserrat/Montserrat-SemiBold.woff2') format('woff2');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/montserrat/Montserrat-Bold.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/montserrat/Montserrat-ExtraBold.woff2') format('woff2');
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans Arabic';
  src: url('../assets/fonts/noto-sans-arabic/NotoSansArabic.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {

--bg-dark: #03081F;

--bg-surface: #0e121b;

--topbar-bg: #5374be;

--topbar-text: #ffffff;

--primary-blue: #0048E8;

--primary-blue-hover: #60a5fa;

--btn-blue-start: #4872c6;

--btn-blue-end: #34589f;

--nav-glass-bg: rgba(18, 22, 31, 0.82);

--nav-glass-border: rgba(255, 255, 255, 0.12);

--nav-glass-shadow: 0 10px 35px -5px rgba(0, 0, 0, 0.5), 0 0 1px 1px rgba(255, 255, 255, 0.05);

--text-primary: #ffffff;

--text-secondary: #94a3b8;

--text-muted: #64748b;

--font-heading: 'Montserrat', Arial, sans-serif;

--font-body: 'Montserrat', Arial, sans-serif;

--ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);

--ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

--transition-fast: 0.25s var(--ease-smooth);

--transition-normal: 0.4s var(--ease-smooth);

--page-gutter: clamp(16px, 3vw, 32px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scrollbar-gutter: stable;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-padding-top: 104px;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: clip;
  background-color: var(--bg-dark);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid var(--primary-blue-hover);
  outline-offset: 5px;
}

img,
video {
  max-width: 100%;
}

.skip-link {
  position: fixed;
  inset-block-start: 8px;
  inset-inline-start: 16px;
  padding: 12px 20px;
  background: var(--bg-surface);
  border-radius: 8px;
  transform: translateY(-150%);
  z-index: 1200;
}

.skip-link:focus {
  transform: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 var(--page-gutter);
}

.container>* {
  min-width: 0;
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, rgba(37, 99, 235, 0.04) 45%, transparent 70%);
  transform: translate3d(-1000px, -1000px, 0) translate(-50%, -50%);
  z-index: 999;
  mix-blend-mode: screen;
  transition: opacity 0.5s ease;
  will-change: transform;
}

.top-bar {
  width: 100%;
  background: #0048E8;
  color: var(--topbar-text);
  font-size: 0.8125rem;
  font-weight: 500;
  position: relative;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  min-width: 28px;
  min-height: 32px;
  color: rgba(255, 255, 255, 0.9);
  transition: transform 0.3s var(--ease-spring), color var(--transition-fast);
}

.social-icon:hover {
  color: #ffffff;
  transform: translateY(-2px) scale(1.15);
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.top-link {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8125rem;
  position: relative;
}

.top-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: #ffffff;
  transition: width var(--transition-fast);
}

.top-link:hover {
  color: #ffffff;
}

.top-link:hover::after {
  width: 100%;
}

.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 0.775rem;
  font-weight: 600;
  min-height: 32px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.lang-switch-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.6);
  transform: scale(1.04);
}

.lang-switch-btn i,
.lang-icon-img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  display: inline-block;
}

.main-header {
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: top 0.4s var(--ease-smooth);
  pointer-events: none;
}

.main-header.scrolled {
  top: 18px;
}

.nav-container {
  display: grid;
  grid-template-columns: minmax(108px, 1fr) auto minmax(108px, 1fr);
  gap: 20px;
  align-items: center;
  width: 100%;
  pointer-events: auto;
}

.brand-logo {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  z-index: 95;
  transition: transform var(--transition-fast);
}

.brand-logo:hover {
  transform: scale(1.04);
}

.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;

  display: block;
}

.glass-nav-pill {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 46px);
  padding: 8px 27px 8px 42px;
  padding-inline: 50px 38px;
  background: var(--nav-glass-bg);

  box-shadow: var(--nav-glass-shadow);
  border-radius: 9999px;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  transition: box-shadow var(--transition-normal), border-color var(--transition-normal), background var(--transition-normal);
  background: linear-gradient(90.32deg, rgba(0, 0, 0, 0.51) -48.65%, rgba(102, 102, 102, 0.51) 100%);
  backdrop-filter: blur(6.5px);
}

.main-header.scrolled .glass-nav-pill {
  background: rgba(14, 18, 27, 0.94);

  border-color: rgba(255, 255, 255, 0.18);
}

.glass-nav-pill:hover {
  border-color: rgba(255, 255, 255, 0.25);

}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.5vw, 42px);
}

.nav-link {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link.active {
  color: #96BFE6;
  font-weight: 700;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--primary-blue);
  border-radius: 2px;
}

.btn-profile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 34px;
  border-radius: 9999px;
  background: #0048E8;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}



.btn-profile:hover {
  transform: translateY(-2px) scale(1.03);
  background: linear-gradient(270.54deg, #96BFE6 -12.68%, #0048E8 99.53%);
}

.btn-profile:hover::before {
  left: 100%;
}

.nav-right-slot {
  justify-self: end;
  display: flex;
  align-items: center;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: rgba(18, 22, 31, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  backdrop-filter: blur(12px);
  z-index: 105;
}

.mobile-menu-toggle .bar {
  width: 100%;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu-toggle.is-active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.is-active .bar:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.is-active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1001;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open .main-header {
  z-index: 1003;
}

body.menu-open .page-floating-actions {
  visibility: hidden;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  inset-inline-end: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: rgba(10, 14, 23, 0.96);
  backdrop-filter: blur(30px);
  border-inline-start: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1002;
  display: flex;
  flex-direction: column;
  padding: max(124px, env(safe-area-inset-top)) 28px max(32px, env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  visibility: hidden;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-smooth), visibility 0.4s;
}

.mobile-drawer.open {
  visibility: visible;
  transform: none;
  transition: transform 0.4s var(--ease-smooth), visibility 0s;
}

[dir="rtl"] .mobile-drawer:not(.open) {
  transform: translateX(-100%);
}

.mobile-drawer-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;

  justify-content: flex-start;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav-link {
  display: block;
  padding-block: 10px;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.mobile-nav-link.active,
.mobile-nav-link:hover {
  color: #ffffff;
}

.mobile-profile-btn {
  text-align: center;
  width: 100%;
}

.mobile-socials {
  display: flex;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-section {
  position: relative;
  width: 100%;
  height: calc(100vh - 44px);
  height: calc(100svh - 44px);
  min-height: 360px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #03081F;
}

.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  position: absolute;
  top: 0;
  left: 0;
}

.hero-background-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: var(--bg-dark);
}

.video-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center,
      rgba(6, 11, 25, 0.15) 0%,
      rgba(4, 6, 12, 0.65) 75%,
      rgba(3, 4, 8, 0.9) 100%);
  pointer-events: none;
  z-index: 2;
}

.ambient-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 1;
  animation: orbPulse 8s ease-in-out infinite alternate;
  animation-play-state: paused;
}

.hero-section.is-active .ambient-glow-orb {
  animation-play-state: running;
}

.orb-1 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, #2563eb 0%, #1e40af 60%, transparent 80%);
  top: 30%;
  left: 15%;
}

.orb-2 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, #38bdf8 0%, #0369a1 60%, transparent 80%);
  bottom: 20%;
  right: 15%;
  animation-delay: -4s;
}

@keyframes orbPulse {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.25;
  }

  100% {
    transform: translate(30px, -40px) scale(1.15);
    opacity: 0.45;
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
}

.page-floating-actions {
  position: fixed;
  bottom: max(24px, env(safe-area-inset-bottom));
  left: 0;
  width: 100%;
  padding-inline: max(var(--page-gutter), env(safe-area-inset-left)) max(var(--page-gutter), env(safe-area-inset-right));
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
  pointer-events: none;
}

.floating-circle-btn {
  pointer-events: auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.05rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  cursor: pointer;
}

.scroll-top-btn {
  background: #0048E8;
  border: 1px solid #0048E8;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.scroll-top-btn:hover {
  transform: translateY(-4px) scale(1.1);
  background: linear-gradient(270.54deg, #96BFE6 -12.68%, #0048E8 99.53%);
}

.chat-trigger-btn {
  background: #0048E8;
  border: 1px solid #0048E8;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.chat-trigger-btn:hover {
  border-color: #0048E8;
  background: linear-gradient(270.54deg, #96BFE6 -12.68%, #0048E8 99.53%);
  transform: translateY(-4px) scale(1.1);
}

.chat-icon-img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

@keyframes chatPulse {

  0%,
  100% {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 10px rgba(59, 130, 246, 0.2);
  }

  50% {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 22px rgba(59, 130, 246, 0.55);
  }
}

.about-section,
.vision-mission-section,
.services-section,
.clients-section,
.inquiry-section,
.projects-section {
  background-image: url("../assets/images/background-blue-glow.png");
  background-position: center;
  background-size: min(100%, 1120px) auto;
  background-repeat: no-repeat;
}

.about-section {
  position: relative;
  width: 100%;
  padding: clamp(72px, 9vw, 140px) 0;
  background-color: #03081F;
  overflow: hidden;

}

.about-container {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 4vw, 60px);
  position: relative;
  z-index: 5;
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-title {
  font-family: var(--font-heading);
  font-size: 2.50rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  text-shadow: 0 0 25px rgba(59, 130, 246, 0.25);
}

.about-headline {
  font-family: var(--font-body);
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.5;
  color: #96BFE6;
  margin-bottom: 26px;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

.about-desc {
  font-size: 0.975rem;
  line-height: 1.75;
  color: #FFFFFF;
  max-width: 520px;
  margin-bottom: 38px;
}

.about-btn {
  padding: 17px 38px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--btn-blue-start) 0%, var(--btn-blue-end) 100%);
  background: #0048E8;
}

.about-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 0;
}

.about-3d-scene {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 590px;
  gap: clamp(6px, 1.5vw, 22px);
  padding: 48px 0;
  direction: ltr;
}

.isometric-card {
  position: relative;
}

@media (min-width: 992px) {
  .about-3d-scene.is-active .isometric-card {
    animation: aboutFloat 4s ease-in-out infinite;
  }

  .about-3d-scene.is-active .isometric-card:nth-child(2) {
    animation-delay: -1.3s;
  }

  .about-3d-scene.is-active .isometric-card:nth-child(3) {
    animation-delay: -2.6s;
  }
}

@keyframes aboutFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.card-img-wrapper {
  position: relative;
  display: block;
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 20px rgba(59, 130, 246, 0.3));
  transition: transform 0.4s var(--ease-spring), filter 0.4s ease;
}

.isometric-card:hover .card-img-wrapper {
  transform: scale(1.06);
  filter: drop-shadow(0 20px 36px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 17px rgba(96, 156, 250, 0.6)) brightness(1.1);
}

.card-3d-img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.card-3d-content {
  position: absolute;
  top: 35%;
  left: 23%;
  width: 68%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  transform: skewY(29.8deg);
  transform-origin: top left;
  pointer-events: none;
  user-select: none;
  z-index: 2;
}

.card-stat-number {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.4vw, 2.15rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.02em;
  display: block;
}

.card-stat-label {
  font-family: var(--font-body);
  font-size: clamp(0.625rem, 1.2vw, 1.1rem);
  font-weight: 500;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: 0.01em;
  display: block;
}

.vision-mission-section {
  position: relative;
  width: 100%;
  padding: 10rem 0;
  background-color: #03081F;
  overflow: hidden;
}

.vision-mission-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  position: relative;
  z-index: 2;
}

.vm-card {
  position: relative;
  background: linear-gradient(135deg, rgba(14, 20, 34, 0.82) 0%, rgba(9, 13, 23, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  transition: transform 0.4s var(--ease-spring), border-color 0.4s ease, box-shadow 0.4s ease;
  cursor: default;
}

.vm-card:hover {
  transform: translateY(-6px);
  border-color: rgba(96, 165, 250, 0.35);

}

.vm-accent-bar {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #60a5fa 0%, #3b82f6 50%, #1d4ed8 100%);
  border-radius: 14px 0 0 14px;
  background: linear-gradient(180deg, #0048E8 0%, #6784CB 100%);
}

.vm-card-inner {
  padding: 70px 55px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.vm-title {
  font-family: var(--font-heading);
  font-size: 2.55rem;
  font-weight: 600;
  color: #ffffff;

}

.vm-desc {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: #9DA5B5;
  max-width: 480px;
}

.vm-card-spotlight {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(59, 130, 246, 0.12) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.vm-card:hover .vm-card-spotlight {
  opacity: 1;
}

.profile-section {
  padding-block: 112px clamp(88px, 10vw, 144px);
  background: #03081F;
}

.profile-container {
  max-width: 1164px;
}

.profile-heading {
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
}

.profile-eyebrow {
  display: block;
  margin-bottom: 14px;
  color: #96BFE6;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.26em;
}

.profile-title {
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.4;
}

.profile-description {
  max-width: 760px;
  margin: 28px auto 0;
  color: #bdc9db;
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  line-height: 1.8;
  text-wrap: pretty;
}

.profile-download {
  gap: 10px;
  max-width: 100%;
  min-height: 48px;
  margin-top: 32px;
  padding: 14px 28px;
  font-size: 0.875rem;
  white-space: normal;
}

.profile-download svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-viewer {
  width: 100%;
  min-height: 360px;
  margin-top: clamp(56px, 8vw, 112px);
  aspect-ratio: 2.1;
  overflow: hidden;
  border: 1px solid #2b303e;
  border-radius: 16px;
  background: #25272a url('../assets/images/profile-cover.png') center / contain no-repeat;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.2);
  direction: ltr;
}

.profile-document {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.profile-document-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 100%;
  padding: 24px;
  background: #121621;
  color: #bdc9db;
  text-align: center;
}

.profile-document-fallback img {
  display: block;
  max-height: calc(100% - 140px);
  width: 100%;
  object-fit: contain;
}

html[lang="ar"] .profile-document-fallback {
  direction: rtl;
}

.profile-viewer-help {
  margin-top: 18px;
  color: #96bfe6;
  font-size: 0.8125rem;
  line-height: 1.7;
  text-align: center;
}

.profile-viewer-help a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 640px) {
  .profile-section {
    padding-top: 96px;
  }

  .profile-viewer {
    height: clamp(440px, 70svh, 640px);
    min-height: 0;
    aspect-ratio: auto;
    border-radius: 12px;
  }
}

.service-details-section {
  padding-block: clamp(104px, 9vw, 132px) clamp(54px, 6vw, 88px);
  background: #03081F;
}

.service-details-eyebrow {
  display: block;
  margin-bottom: 12px;
  color: #96BFE6;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
}

.service-details-title {
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.4;
}

.service-details-visual {
  position: relative;
  margin-top: clamp(28px, 3.3vw, 48px);
  aspect-ratio: 2.1;
  overflow: hidden;
  border-radius: clamp(12px, 1.2vw, 18px);
  background: #121c30;
}

.service-details-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 9, 20, 0.05), rgba(5, 9, 20, 0.35));
  pointer-events: none;
}

.service-details-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 56%;
}

.service-details-copy {
  max-width: 760px;
  margin-top: clamp(24px, 3vw, 40px);
}

.service-details-description {
  color: #BDC9DB;
  font-size: clamp(0.875rem, 1.2vw, 1.0625rem);
  line-height: 1.85;
  text-wrap: pretty;
}

.service-details-button {
  margin-top: 28px;
}

.services-all-action {
  margin-top: 28px;
  text-align: center;
}

.services-page .services-header-container {
  margin-bottom: clamp(20px, 3vw, 36px);
  text-align: start;
}

@media (max-width: 640px) {
  .service-details-visual {
    aspect-ratio: 1.6;
  }
}

.services-section {
  position: relative;
  width: 100%;
  padding: 100px 0 140px;
  background-color: #03081F;
  overflow: hidden;
}

.services-header-container {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 54px;
}

.services-subtitle {
  display: block;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: #96BFE6;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.services-title {
  font-family: var(--font-heading);
  font-size: 2.45rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.services-carousel-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  overflow: hidden;
}

.services-swiper {
  width: 100%;
  padding: 20px var(--page-gutter) 40px;
  overflow: visible;
}

.services-swiper>.swiper-wrapper {
  display: flex;
  flex-direction: row;
}

.services-nav-btn svg,
.projects-nav-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-slide {
  height: auto;
  display: flex;
  transition: transform 0.4s var(--ease-smooth);
}

.service-card {
  position: relative;
  width: 100%;
  background: #FFFFFF14;

  border-radius: 22px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 22px 18px 18px 18px;
  box-shadow: 0 14px 35px -8px rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: column;
  transition: transform 0.45s var(--ease-spring), border-color 0.4s ease, box-shadow 0.4s ease;
  cursor: grab;
  user-select: none;
}

.service-card:active {
  cursor: grabbing;
}

.service-card:hover {
  transform: translateY(-8px);


}

.service-card-header {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-number {
  font-family: var(--font-body);
  font-size: 2rem;
  font-weight: 500;
  color: #96BFE6;
  letter-spacing: 0.02em;
  display: block;
}

.service-name {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.35;
  min-height: 48px;
  display: flex;
  align-items: flex-start;
  transition: color var(--transition-fast);
}

.service-card:hover .service-name {
  color: #60a5fa;
}

.service-img-wrapper {
  position: relative;
  width: 100%;
  height: 250px;
  border-radius: 14px;
  overflow: hidden;
  background: #0a0e19;
  margin-top: auto;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.6);
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s var(--ease-smooth);
}

.service-card:hover .service-img {
  transform: scale(1.06);
}

.service-details-trigger {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: calc(100% - 24px);
  width: 130px;
  min-height: 40px;
  padding: 10px 6px;
  border-radius: 999px;
  background: #0048E8;
  color: #fff;
  font: 700 0.8125rem/1.5 var(--font-body);
  text-align: center;
  opacity: 0;
  transform: translate(-50%, calc(100% + 24px));
  pointer-events: none;
  transition: transform 0.3s var(--ease-smooth), opacity 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover .service-details-trigger,
.service-card:focus-within .service-details-trigger {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.service-details-trigger:hover {
  /* box-shadow: 0 4px 18px rgba(84, 127, 204, 0.4); */
  background: linear-gradient(270.54deg, #96BFE6 -12.68%, #0048E8 99.53%);
}

.service-details-trigger:focus-visible {
  outline: 2px solid #d1e8ff;
  outline-offset: 3px;
}

body.service-dialog-open {
  overflow: hidden;
}

.service-dialog {
  width: min(920px, calc(100% - 32px));
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid #2b3854;
  border-radius: 22px;
  background: #0d1427;
  color: #fff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.6);
}

.service-dialog[open] {
  animation: serviceDialogEnter 0.2s var(--ease-smooth);
}

.service-dialog::backdrop {
  background: rgba(3, 7, 18, 0.82);
  backdrop-filter: blur(6px);
}

.service-dialog-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.service-dialog-toolbar {
  position: sticky;
  top: 0;
  height: 0;
  z-index: 3;
}

.service-dialog-media {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 360px;
  background: #080d1a;
}

.service-dialog-image {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 560px;
  object-fit: contain;
}

.service-dialog-content {
  min-width: 0;
  padding: 64px clamp(24px, 4vw, 40px) 36px;
}

.service-dialog-title {
  margin-bottom: 20px;
  font-family: var(--font-heading);
  font-size: clamp(1.375rem, 2.5vw, 2rem);
  line-height: 1.4;
}

.service-dialog-description,
.service-dialog-highlights {
  color: #bdc9db;
  font-size: 0.9375rem;
  line-height: 1.8;
}

.service-dialog-highlights {
  display: grid;
  gap: 8px;
  margin-block: 20px 28px;
  padding-inline-start: 20px;
  list-style: disc;
}

.service-dialog-highlights li::marker {
  color: #96bfe6;
}

.service-dialog-close {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #3a4863;
  border-radius: 50%;
  background: #121c30;
  color: #fff;
}

.service-dialog-close:hover {
  background: #263954;
}

.service-dialog-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

@keyframes serviceDialogEnter {
  from { opacity: 0; transform: translateY(16px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 991px), (hover: none) {
  .service-details-trigger {
    opacity: 1;
    transform: translate(-50%, 0);
    pointer-events: auto;
  }
}

@media (max-width: 640px) {
  .service-dialog-panel {
    grid-template-columns: 1fr;
  }

  .service-dialog-media {
    min-height: 0;
    height: clamp(180px, 45vw, 260px);
  }

  .service-dialog-content {
    padding: 28px 24px;
  }
}

.services-controls-container {
  margin-top: 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 5;
  padding-inline: 0;
  gap: 16px;
  flex-wrap: wrap;
}

.services-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.services-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(18, 24, 38, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.services-nav-btn:hover {
  background: linear-gradient(270.54deg, #96BFE6 -12.68%, #0048E8 99.53%);
  border-color: #0D101E;
  transform: scale(1.08);
}

.services-nav-btn.swiper-button-disabled {
  opacity: 0.35;
  pointer-events: none;
  cursor: not-allowed;
}

.services-pagination {
  position: static !important;
  display: flex;
  align-items: center;
  gap: 8px;
  width: auto !important;
  flex-wrap: wrap;
  transform: none !important;
}

.services-pagination .swiper-pagination-bullet {
  width: 24px;
  height: 5px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.2);
  opacity: 1;
  transition: width 0.35s ease, background-color 0.35s ease;
  margin: 0 !important;
}

.services-pagination .swiper-pagination-bullet-active {
  width: 42px;
  background: #3b82f6;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.6);
}

.projects-section {
  --projects-top-space: 104px;
  --projects-bottom-space: clamp(72px, 9svh, 96px);
  --projects-stage-height: max(400px, calc(100svh - var(--projects-top-space) - var(--projects-bottom-space)));
  position: relative;
  width: 100%;
  min-height: 100svh;
  padding-block: var(--projects-top-space) var(--projects-bottom-space);
  background-color: #03081F;
  overflow: clip;
}

.projects-container {
  display: grid;
  width: 100%;
  max-width: none;
  min-height: var(--projects-stage-height);
  padding-inline: clamp(24px, 4vw, 80px);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
  gap: 0;
  align-items: center;
  position: relative;
  z-index: 2;
}

.projects-content-col {
  position: sticky;
  top: var(--projects-top-space);
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-inline-end: 20px;
}

.projects-subtitle {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: #96BFE6;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.projects-title {
  font-family: var(--font-heading);
  font-size: 2.9rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 30px;
}

.projects-desc {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
  max-width: 440px;
}

.projects-desc p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: #9DAEC8;
}

.btn-all-projects {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #4872c6 0%, #34589f 100%);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  cursor: pointer;
  background: #0048E8;
}

.btn-all-projects:hover {
  transform: translateY(-3px) scale(1.03);
  background: linear-gradient(270.54deg, #96BFE6 -12.68%, #0048E8 99.53%);
}

.projects-slider-col {
  position: relative;
  width: 100%;
}

.projects-swiper-wrapper {
  position: relative;
  width: 100%;
  border-radius: 24px;
}

.projects-vertical-swiper {
  --projects-slides-per-view: 2.5;
  width: 100%;
  height: var(--projects-stage-height);
  overflow: hidden;
  border-radius: 24px;
  padding: 0;
}

.projects-vertical-swiper>.swiper-wrapper {
  display: flex;
  flex-direction: column;
}

.project-slide {
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s var(--ease-smooth);
}

.project-card {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: #0d1222;
  border: 1px solid rgba(255, 255, 255, 0.08);

  transition: transform 0.4s var(--ease-spring), border-color 0.4s ease, box-shadow 0.4s ease;
  cursor: grab;
}

.project-card:active {
  cursor: grabbing;
}

.project-card:hover {}

.project-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 7, 17, 0.1) 0%, rgba(7, 9, 23, 0.35) 35%, rgba(7, 9, 23, 0.93) 100%);
  opacity: 0.85;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.project-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  transition: transform 0.8s var(--ease-smooth);
}

.project-card:hover .project-img,
.project-card:focus-within .project-img {
  transform: scale(1.055);
}

.project-card:hover::after,
.project-card:focus-within::after {
  opacity: 1;
}

.project-card:focus-visible {
  outline: 2px solid #a3caec;
  outline-offset: -3px;
}

.project-card-content {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 1;
  padding: clamp(16px, 1.4vw, 20px);
}

.project-category {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 5px 16px;
  border-radius: 999px;
  background: rgba(161, 165, 182, 0.22);
  color: #f6f7fc;
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.5;
  backdrop-filter: blur(8px);
}

.project-name {
  margin: 10px 0 0;
  font-family: var(--font-body);
  font-size: clamp(1.125rem, 1.7vw, 1.5rem);
  font-weight: 500;
  line-height: 1.3;
  color: #fff;
}

.project-name-link {
  color: inherit;
  text-decoration: none;
}

.project-name-link:hover,
.project-name-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.project-reveal {
  display: grid;
  grid-template-rows: 0fr;
  margin-top: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: grid-template-rows 0.5s var(--ease-smooth), margin-top 0.5s var(--ease-smooth), opacity 0.35s ease, transform 0.5s var(--ease-smooth), visibility 0.5s;
}

.project-reveal-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 16px;
  min-height: 0;
  overflow: hidden;
}

.project-description {
  margin: 0;
  color: #c0c8db;
  font-size: clamp(0.75rem, 0.95vw, 0.875rem);
  line-height: 1.55;
}

.project-details-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #0048E8;
  color: #fff;
  font: 700 0.75rem/1.5 var(--font-body);
  white-space: nowrap;
  cursor: pointer;
  transition: box-shadow 0.2s, background 0.2s;
}

.project-details-btn:hover {
  /* box-shadow: 0 4px 18px rgba(84, 127, 204, 0.4); */
  background: linear-gradient(270.54deg, #96BFE6 -12.68%, #0048E8 99.53%);
}

.project-details-btn:focus-visible {
  outline: 2px solid #d1e8ff;
  outline-offset: -4px;
}

.project-card:hover .project-reveal,
.project-card:focus-within .project-reveal {
  grid-template-rows: 1fr;
  margin-top: 12px;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 991px),
(hover: none) {
  .project-reveal {
    grid-template-rows: 1fr;
    margin-top: 12px;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .project-description {
    display: block;
  }

  .project-details-btn {
    min-height: 36px;
    padding: 8px 16px;
  }

  .project-name {
    font-size: 1.125rem;
    margin-top: 8px;
  }

  .project-category {
    font-size: 0.625rem;
    padding: 4px 12px;
  }
}

@media (max-width: 991px) {
  .project-reveal-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .project-card::after {
    opacity: 1;
  }
}

.projects-vertical-nav {
  position: absolute;
  inset-inline-end: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 10;
  pointer-events: auto;
}

.projects-nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(14, 20, 34, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: background var(--transition-fast), transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

.projects-nav-btn:hover {
  background: rgba(37, 99, 235, 0.95);
  border-color: #60a5fa;
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
}

.contact-section {
  position: relative;
  padding-block: clamp(72px, 9vw, 130px) clamp(80px, 10vw, 150px);
  background: #03081F;
  overflow: hidden;
}

.contact-container {
  width: 85%;
  max-width: 1200px;
  padding-inline: 0;
}

.contact-heading {
  margin-bottom: clamp(32px, 4.5vw, 64px);
  text-align: center;
}

.contact-eyebrow {
  display: block;
  margin-bottom: 12px;
  color: #96BFE6;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.24em;
}

.contact-title {
  max-width: 760px;
  margin-inline: auto;
  font-family: var(--font-body);
  font-size: clamp(1.5rem, 3.1vw, 2.75rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.contact-map {
  position: relative;
  width: 100%;
  aspect-ratio: 3.17;
  overflow: hidden;
  border-radius: 3px;
  background: #182733;
  isolation: isolate;
  direction: ltr;
}

.contact-map::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(7, 12, 25, 0.12);
  pointer-events: none;
}

.contact-map-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.contact-location {
  position: absolute;
  top: 50%;
  left: calc(42.8% - 22px);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 2px;
  min-height: 44px;
  max-width: calc(57.2% + 14px);
  transform: translateY(-50%);
}

.contact-location-pin {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
}

.contact-location-ring {
  position: absolute;
  width: clamp(26px, 3.4vw, 40px);
  aspect-ratio: 1;
  border: 1px solid #0048E8;
  border-radius: 50%;
  background: #0048e838;
  /* box-shadow: 0 0 22px rgba(24, 213, 246, 0.45); */
}

.contact-location-ring::after {
  content: '';
  position: absolute;
  inset: -1px;
  border: 1px solid #0048e88c;
  border-radius: inherit;
  animation: locationPulse 3s ease-out infinite;
}

.contact-location-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0048E8;
  /* box-shadow: 0 0 12px #22cfee; */
}

.contact-location-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 5px;
  padding: clamp(10px, 1vw, 15px) clamp(10px, 1.2vw, 18px);
  border-left: 1px solid #0048E8;
  background: rgba(13, 17, 34, 0.9);
  transition: background var(--transition-fast), box-shadow var(--transition-fast);
}

.contact-location-name {
  color: #ffffff;
  font-size: clamp(0.625rem, 0.95vw, 0.875rem);
  font-weight: 500;
  line-height: 1.4;
}

.contact-location-city {
  color: #a4abba;
  font-size: clamp(0.5625rem, 0.8vw, 0.75rem);
  line-height: 1.4;
}

.contact-location:hover .contact-location-copy,
.contact-location:focus-visible .contact-location-copy {
  background: #151c33;
  /* box-shadow: 0 0 20px rgba(40, 217, 251, 0.15); */
}

@keyframes locationPulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }

  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

.clients-section {
  --client-item-width: clamp(112px, 14vw, 220px);
  padding-block: clamp(80px, 10vw, 130px) clamp(72px, 9vw, 112px);
  overflow: hidden;

  position: relative;
  width: 100%;
  background-color: #03081F;
  overflow: hidden;
}

.clients-heading {
  margin-bottom: clamp(36px, 6vw, 96px);
  text-align: center;
}

.clients-eyebrow {
  display: block;
  margin-bottom: 10px;
  color: #96BFE6;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.24em;
}

.clients-title {
  font-family: var(--font-body);
  font-size: clamp(1.5rem, 2.8vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.clients-marquee {
  width: 100%;
  overflow: hidden;
  direction: ltr;
}

.clients-track {
  display: flex;
  width: max-content;
}

.clients-track.is-ready {
  animation: clientsMarquee var(--clients-duration) linear infinite;
  will-change: transform;
}

.clients-group {
  display: flex;
  flex: 0 0 auto;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 var(--client-item-width);
  width: var(--client-item-width);
  height: 56px;
}

.client-logo img {
  display: block;
  width: auto;
  height: clamp(22px, 2.1vw, 30px);
  max-width: calc(100% - 32px);
  object-fit: contain;
  user-select: none;
}

@keyframes clientsMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-1 * var(--clients-distance)));
  }
}

.site-footer {
  background: #03081F;
  color: #c6c9d4;
}

.footer-container {
  width: 74%;
  max-width: 1200px;
  padding-inline: 0;
}

.footer-main {
  display: grid;
  grid-template-columns: 0.7fr 1fr 1fr 1.15fr;
  align-items: start;
  gap: clamp(32px, 5vw, 72px);
  padding-block: clamp(64px, 8vw, 112px) clamp(72px, 8vw, 112px);
  background: radial-gradient(51.82% 380.65% at 50% 0%, rgba(8, 26, 60, 0.2) 0%, rgba(8, 26, 60, 0) 50%);
}

.footer-brand {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-top: 6px;
}

.footer-brand img {
  display: block;
  width: clamp(76px, 8.5vw, 122px);
  max-width: 100%;
  height: auto;
}

.footer-heading {
  margin-bottom: 18px;
  color: #96BFE6;
  font-family: var(--font-body);
  font-size: clamp(0.625rem, 0.8vw, 0.75rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.18em;
}

.footer-about-copy,
.footer-address,
.footer-contact-list {
  margin: 0;
  font-size: clamp(0.625rem, 0.9vw, 0.8125rem);
  font-weight: 400;
  line-height: 1.8;
  color: #C7CAD3;
}

.footer-address {
  font-style: normal;
}

.footer-address span,
.footer-country {
  display: block;
}

.footer-country {
  color: #a3caec;
  font-weight: 600;
}

.footer-contact-list {
  display: grid;
  gap: 7px;
  list-style: none;
}

.footer-contact-list a {
  overflow-wrap: anywhere;
}

.footer-contact-label {
  color: #a3caec;
  font-weight: 600;
}

.site-footer a:hover {
  color: #a3caec;
}

.site-footer a:focus-visible {
  outline: 2px solid #a3caec;
  outline-offset: 5px;
  border-radius: 2px;
}

.footer-bottom {
  border-top: 1px solid #1c1f2c;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 20px;
}

.footer-credit,
.footer-legal {
  margin: 0;
  font-size: clamp(0.625rem, 0.75vw, 0.6875rem);
  line-height: 1.7;
}

.footer-legal {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 24px;
}

@media (min-width: 768px) and (max-width: 991px) {
  .footer-main {
    gap: 28px;
  }
}

@media (max-width: 767px) {
  .footer-container {
    width: calc(100% - 2 * var(--page-gutter));
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 32px;
    padding-block: 64px;
  }

  .footer-heading {
    font-size: 0.75rem;
  }

  .footer-about-copy,
  .footer-address,
  .footer-contact-list {
    font-size: 0.8125rem;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-block: 22px 80px;
  }
}

@media (max-width: 480px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 52px;
  }

  .footer-brand {
    margin-block: 0 8px;
  }

  .footer-brand img {
    width: 130px;
  }

  .footer-heading {
    margin-bottom: 12px;
  }

  .footer-legal {
    gap: 20px;
  }
}

.inquiry-section {
  padding-block: clamp(72px, 8vw, 100px) clamp(88px, 10vw, 140px);

  position: relative;
  width: 100%;
  background-color: #03081F;
  overflow: hidden;
}

.inquiry-container {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
  gap: clamp(40px, 6.7vw, 96px);
  width: 87.5%;
  max-width: 1200px;
  padding-inline: 0;
}

.inquiry-content {
  padding-top: 16px;
}

.inquiry-title {
  margin-bottom: clamp(28px, 3.5vw, 46px);
  font-family: var(--font-body);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.04em;
}

.inquiry-title span {
  display: block;
}

.inquiry-title-accent {
  color: #0048E8;
}

.inquiry-description {
  max-width: 450px;
  margin-bottom: clamp(28px, 3vw, 38px);
  color: #BDC9DB;
  font-size: clamp(0.8125rem, 1.1vw, 1rem);
  line-height: 1.6;
}

.inquiry-details {
  display: grid;
  gap: 20px;
  font-style: normal;
}

.inquiry-detail {
  display: flex;
  align-items: center;
  gap: 18px;
  width: fit-content;
  max-width: 100%;
}

.inquiry-detail>span:last-child {
  min-width: 0;
}

.inquiry-icon,
.inquiry-social-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid #96BFE6;
  border-radius: 50%;
}

.inquiry-icon {
  width: 42px;
  height: 42px;
}

.inquiry-icon img {
  display: block;
  object-fit: contain;
}

.inquiry-detail-label {
  display: block;
  margin-bottom: 7px;
  color: #96BFE6;
  font-size: 0.625rem;
  line-height: 1.4;
  letter-spacing: 0.17em;
}

.inquiry-detail-value {
  display: block;
  color: #f0f1f6;
  font-size: clamp(0.7rem, 0.9vw, 0.8125rem);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.inquiry-detail:hover .inquiry-detail-value {
  color: #9fc6e8;
}

.inquiry-detail:focus-visible {
  outline: 2px solid #9fc6e8;
  outline-offset: 7px;
  border-radius: 4px;
}

.inquiry-socials {
  display: flex;
  gap: 22px;
  margin-top: 34px;
}

.inquiry-social-icon {
  width: 36px;
  height: 36px;
}

.inquiry-social-icon img {
  display: block;
  object-fit: contain;
}

.inquiry-form {
  display: grid;
  gap: 24px;
  padding: clamp(24px, 3.1vw, 42px);
  border: 1px solid #1b263b;
  border-radius: 5px;
  background: linear-gradient(135deg, rgba(10, 22, 43, 0.88), rgba(5, 11, 25, 0.92));
  box-shadow: 0 0 70px rgba(54, 83, 147, 0.05);
  background: linear-gradient(145deg, rgba(10, 22, 47, 0.75) 6.17%, rgba(5, 11, 29, 0.9) 93.83%);
  border: 1px solid #FFFFFF17;
  box-shadow: 0px 0px 80px 0px #04B3DB0D;
}

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

.inquiry-field {
  min-width: 0;
}

.inquiry-field label {
  display: block;
  color: #8790A2;
  font-size: 0.75rem;
  line-height: 1.5;
  cursor: text;
}

.inquiry-required {
  margin-inline-start: 3px;
  color: #33bde7;
}

.inquiry-field input,
.inquiry-field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid #344054;
  border-radius: 0;
  outline: none;
  background: transparent;
  color: #f0f1f6;
  font: 1rem/1.6 var(--font-body);
  caret-color: #9fc6e8;
  transition: border-color 0.2s, box-shadow 0.2s;
  border-bottom: 1px solid #344055;
}

.inquiry-field input {
  min-height: 44px;
}

.inquiry-field textarea {
  min-height: 124px;
  resize: vertical;
}

.inquiry-field input:focus,
.inquiry-field textarea:focus {
  border-bottom-color: #8eb9ec;
  box-shadow: 0 1px 0 #8eb9ec;
}

.inquiry-field input[aria-invalid="true"] {
  border-bottom-color: #f4a2ad;
}

.inquiry-field input:autofill {
  box-shadow: 0 0 0 1000px #0a152b inset;
  -webkit-text-fill-color: #f0f1f6;
}

.inquiry-field input[type="email"],
.inquiry-field input[type="tel"] {
  direction: ltr;
  text-align: start;
}

.inquiry-field-error {
  display: block;
  margin-top: 7px;
  color: #f4a2ad;
  font-size: 0.75rem;
  line-height: 1.5;
}

.inquiry-field-error[hidden],
.inquiry-form-status[hidden] {
  display: none;
}

.inquiry-submit {
  justify-self: start;
  min-height: 48px;
  padding: 13px 32px;
  border-radius: 999px;
  background: #0048E8;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.5;
  transition: box-shadow 0.2s, transform 0.2s;
}

.inquiry-submit:hover {
  transform: translateY(-2px);
  /* box-shadow: 0 6px 24px rgba(84, 127, 204, 0.28); */
  background: linear-gradient(270.54deg, #96BFE6 -12.68%, #0048E8 99.53%);
}

.inquiry-submit:focus-visible {
  outline: 2px solid #9fc6e8;
  outline-offset: 5px;
}

.inquiry-form-status {
  margin: 0;
  color: #a5c7e8;
  font-size: 0.8125rem;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .inquiry-container {
    grid-template-columns: 1fr;
    width: calc(100% - 2 * var(--page-gutter));
    gap: 40px;
  }

  .inquiry-content {
    padding-top: 0;
  }

  .inquiry-title {
    margin-bottom: 24px;
  }

  .inquiry-description {
    max-width: 560px;
    font-size: 0.875rem;
  }

  .inquiry-form {
    padding: 24px;
  }

  .inquiry-field input,
  .inquiry-field textarea {
    font-size: 1rem;
  }
}

@media (max-width: 380px) {
  .inquiry-name-row {
    grid-template-columns: 1fr;
  }

  .inquiry-form {
    padding: 22px 20px;
  }
}

.testimonials-section {
  padding-block: clamp(64px, 7vw, 100px) clamp(72px, 8vw, 112px);
  background: #03081F;
}

.testimonials-container {
  width: 85%;
  max-width: 1200px;
  padding-inline: 0;
}

.testimonials-heading {
  margin-bottom: clamp(32px, 4.5vw, 58px);
  text-align: center;
}

.testimonials-eyebrow {
  display: block;
  margin-bottom: 12px;
  color: #96BFE6;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.24em;
}

.testimonials-title {
  font-family: var(--font-body);
  font-size: clamp(1.5rem, 2.8vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.testimonials-shell {
  position: relative;
}

.testimonials-swiper {
  overflow: hidden;
}

.testimonials-swiper>.swiper-wrapper {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

.testimonial-slide {
  display: flex;
  height: auto;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: clamp(240px, 21vw, 300px);
  margin: 0;
  padding: clamp(20px, 2.5vw, 34px);
  border: 1px solid #1b2133;
  background: #081027B2;
  border: 1px solid #FFFFFF17;
}

.testimonial-quote-icon {
  display: block;
  width: 24px;
  height: 20px;
  margin-bottom: 24px;
  object-fit: contain;
  object-position: left center;
}

.testimonial-quote {
  flex: 1;
  margin: 0 0 28px;
  color: #A4AAB8;
  font-size: clamp(0.75rem, 1vw, 0.875rem);
  line-height: 1.8;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid #181e30;
}

.testimonial-avatar {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-name {
  margin: 0 0 5px;
  color: #f0f1f6;
  font-size: clamp(0.7rem, 0.9vw, 0.8125rem);
  line-height: 1.5;
}

.testimonial-role {
  margin: 0;
  color: #6F788C;
  font-size: clamp(0.625rem, 0.75vw, 0.6875rem);
  line-height: 1.5;
}

.testimonials-nav-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid #303442;
  border-radius: 50%;
  background: #1a1d2a;
  color: #e5e8f3;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s, border-color 0.2s;
}

.testimonials-prev-btn {
  inset-inline-start: -48px;
}

.testimonials-next-btn {
  inset-inline-end: -48px;
}

.testimonials-nav-btn:hover {
  background: #27354f;
  border-color: #9fc6e8;
}

.testimonials-nav-btn:focus-visible {
  outline: 2px solid #9fc6e8;
  outline-offset: 4px;
}

.testimonials-nav-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

[dir="rtl"] .testimonials-nav-btn svg {
  transform: rotate(180deg);
}

.testimonials-swiper:not(.swiper-initialized) .swiper-wrapper {
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.testimonials-swiper:not(.swiper-initialized) .testimonial-slide {
  flex: 0 0 clamp(260px, 35vw, 390px);
  scroll-snap-align: start;
}

html[lang="ar"] {
  --font-heading: 'Noto Sans Arabic', Arial, sans-serif;
  --font-body: 'Noto Sans Arabic', Arial, sans-serif;
}

html[lang="ar"] :is(h1, h2, h3, p, a, button, span, label, input, textarea) {
  letter-spacing: normal;
}

html[lang="ar"] .about-headline,
html[lang="ar"] .about-desc,
html[lang="ar"] .vm-desc,
html[lang="ar"] .projects-desc p,
html[lang="ar"] .testimonial-quote,
html[lang="ar"] .inquiry-description {
  line-height: 1.85;
}

html[lang="ar"] .services-title,
html[lang="ar"] .projects-title,
html[lang="ar"] .contact-title,
html[lang="ar"] .clients-title,
html[lang="ar"] .testimonials-title,
html[lang="ar"] .project-name {
  line-height: 1.4;
}

html[lang="ar"] .project-description {
  font-size: clamp(0.8125rem, 1vw, 0.9375rem);
  line-height: 1.7;
}

html[lang="ar"] .card-stat-label {
  direction: rtl;
}

html[lang="ar"] .vm-accent-bar {
  border-radius: 0 14px 14px 0;
}

html[lang="ar"] .services-nav-btn svg {
  transform: rotate(180deg);
}

html[lang="ar"] .contact-location-copy {
  direction: rtl;
  text-align: start;
}

html[lang="ar"] .clients-track {
  animation-direction: reverse;
}

html[lang="ar"] .inquiry-field input[type="email"],
html[lang="ar"] .inquiry-field input[type="tel"],
html[lang="ar"] .inquiry-detail-value[dir="ltr"] {
  text-align: right;
  unicode-bidi: isolate;
}

html[lang="ar"] .footer-contact-list a {
  display: inline-flex;
  flex-wrap: wrap;
  column-gap: 0.3em;
}

html[lang="ar"] .footer-contact-list [dir="ltr"] {
  unicode-bidi: isolate;
}

@media (max-width: 767px) {
  .testimonials-container {
    width: calc(100% - 2 * var(--page-gutter));
  }

  .testimonials-navigation {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 24px;
  }

  .testimonials-nav-btn {
    position: static;
    width: 40px;
    height: 40px;
    transform: none;
  }

  .testimonial-card {
    min-height: 270px;
  }
}

@media (min-width: 768px) and (max-width: 1100px) {
  .testimonials-nav-btn {
    width: 44px;
    height: 44px;
  }

  .testimonials-prev-btn {
    inset-inline-start: -52px;
  }

  .testimonials-next-btn {
    inset-inline-end: -52px;
  }

  .testimonial-person {
    gap: 8px;
  }

  .testimonial-avatar {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }
}

@media (max-width: 991px) {
  .hero-section {
    height: auto;
    min-height: 0;
    padding-top: 80px;
    display: block;
  }

  .hero-video-wrapper {
    position: relative;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

  .about-content {
    align-items: center;
  }

  .about-desc {
    max-width: 620px;
  }

  .about-visual {
    min-height: auto;
  }

  .about-3d-scene {
    max-width: 460px;
    padding: 40px 0;
  }

  .card-stat-number {
    font-size: clamp(1rem, 4vw, 1.7rem);
  }

  .card-stat-label {
    font-size: clamp(0.625rem, 2vw, 0.9rem);
  }

  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .main-header.scrolled .nav-container {
    padding-block: 8px;
    background: rgba(14, 18, 27, 0.94);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    margin: auto;
    width: 97%;
  }

  .glass-nav-pill {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .vision-mission-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .vm-card-inner {
    padding: 38px 30px;
  }

  .vm-title {
    font-size: 1.75rem;
  }

  .services-section {
    padding: 80px 0 110px;
  }

  .services-title {
    font-size: 2.3rem;
  }

  .service-img-wrapper {
    height: 220px;
  }

  .projects-container {
    grid-template-columns: 1fr;
    gap: 50px;
    min-height: 0;
    padding-inline: var(--page-gutter);
  }

  .projects-section {
    min-height: 0;
    padding-block: 80px 90px;
  }

  .projects-content-col {
    position: static;
    align-items: center;
    text-align: center;
    padding-inline-end: 0;
  }

  .projects-title {
    font-size: 2.85rem;
  }

  .projects-desc {
    max-width: 620px;
  }

  .projects-vertical-swiper {
    --projects-slides-per-view: 1.5;
    height: clamp(520px, 90vw, 720px);
  }

  .page-floating-actions {
    bottom: max(16px, env(safe-area-inset-bottom));
  }
}

@media (max-width: 640px) {
  .hero-section {
    padding-top: 64px;
  }

  .contact-container {
    width: calc(100% - 2 * var(--page-gutter));
  }

  .contact-title {
    font-size: clamp(1.375rem, 5.4vw, 1.875rem);
  }

  .contact-title br {
    display: none;
  }

  .contact-map {
    aspect-ratio: 1.9;
  }

  .top-bar-container {
    min-height: 44px;
  }

  .top-link {
    display: none;
  }

  .social-links {
    gap: 8px;
  }

  .main-header {
    top: 54px;
  }

  .main-header.scrolled {
    top: 10px;
  }

  .brand-logo-img {
    height: 38px;
  }

  .about-section {
    padding: 72px 0;
  }

  .about-title {
    font-size: 2.2rem;
  }

  .about-headline {
    font-size: 1.15rem;
  }

  .about-3d-scene {
    gap: 8px;
    padding: 32px 0;
  }

  .card-3d-content {
    gap: 2px;
  }

  .vision-mission-section {
    padding: 60px 0 100px;
  }

  .vm-card-inner {
    padding: 34px 24px;
  }

  .vm-title {
    font-size: 1.6rem;
  }

  .vm-desc {
    font-size: 0.925rem;
  }

  .services-section {
    padding: 60px 0 90px;
  }

  .services-title {
    font-size: 1.85rem;
  }

  .services-header-container {
    margin-bottom: 34px;
  }

  .services-swiper {
    padding: 10px var(--page-gutter) 30px;
  }

  .service-card {
    padding: 18px 14px 14px 14px;
    border-radius: 18px;
  }

  .service-img-wrapper {
    height: 200px;
    border-radius: 12px;
  }

  .service-name {
    font-size: 1rem;
    min-height: 42px;
  }

  .services-controls-container {
    margin-top: 24px;
  }

  .projects-section {
    padding: 70px 0 90px;
  }

  .projects-title {
    font-size: 2.2rem;
  }

  .projects-vertical-nav {
    inset-inline-end: 0;
  }

  .projects-nav-btn {
    width: 44px;
    height: 44px;
    font-size: 0.85rem;
  }

  .floating-circle-btn {
    width: 44px;
    height: 44px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .about-headline br {
    display: none;
  }

  .services-pagination {
    gap: 5px;
  }

  .services-pagination .swiper-pagination-bullet {
    width: 12px;
  }

  .services-pagination .swiper-pagination-bullet-active {
    width: 24px;
  }
}

.services-swiper:not(.swiper-initialized) .swiper-wrapper {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.services-swiper:not(.swiper-initialized) .service-slide {
  flex: 0 0 clamp(240px, 70vw, 320px);
  scroll-snap-align: start;
}

.services-swiper:not(.swiper-initialized) .services-controls-container,
.projects-vertical-swiper:not(.swiper-initialized) .projects-vertical-nav {
  display: none;
}

.projects-vertical-swiper:not(.swiper-initialized) {
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  overscroll-behavior-y: auto;
}

.projects-vertical-swiper:not(.swiper-initialized) .swiper-wrapper {
  height: 100%;
  gap: 20px;
}

.projects-vertical-swiper:not(.swiper-initialized) .project-slide {
  flex: 0 0 calc((100% + 20px) / var(--projects-slides-per-view) - 20px);
  scroll-snap-align: start;
}

@media (min-width: 992px) and (max-height: 760px) {
  .projects-title {
    font-size: 2.25rem;
    margin-bottom: 20px;
  }

  .projects-subtitle {
    margin-bottom: 12px;
  }

  .projects-desc {
    gap: 12px;
    margin-bottom: 24px;
  }

  .projects-desc p {
    font-size: 0.875rem;
    line-height: 1.55;
  }

  .btn-all-projects {
    padding: 12px 28px;
  }

  .project-card-content {
    padding: 12px;
  }

  .project-category {
    padding: 4px 12px;
    font-size: 0.625rem;
  }

  .project-name {
    margin-top: 8px;
    font-size: 1.25rem;
  }

  .project-card:hover .project-reveal,
  .project-card:focus-within .project-reveal {
    margin-top: 8px;
  }

  .project-card .project-description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
  }

  .project-details-btn {
    min-height: 36px;
    padding: 8px 14px;
  }
}

/* ==========================================================================
   About Page & Hero Section
   ========================================================================== */

.about-hero-section,
.projects-hero-section {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 44px);
  min-height: calc(100svh - 44px);
  display: flex;
  align-items: center;
  background-color: var(--bg-dark);
  overflow: hidden;
  padding-top: clamp(130px, 16vh, 180px);
  padding-bottom: clamp(60px, 10vh, 110px);
}

.about-hero-bg,
.projects-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.about-hero-bg-img,
.projects-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  filter: brightness(0.85) contrast(1.08);
  transform: scale(1.02);
  transition: transform 1.2s var(--ease-smooth);
}

.about-hero-overlay,
.projects-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    /* Deep side vignette to guarantee high text contrast */
    linear-gradient(90deg, 
      rgba(7, 9, 14, 0.98) 0%, 
      rgba(7, 9, 14, 0.92) 36%, 
      rgba(7, 9, 14, 0.62) 65%, 
      rgba(7, 9, 14, 0.35) 100%
    ),
    /* Vertical gradients for top header blend and bottom section transition */
    linear-gradient(180deg, 
      rgba(7, 9, 14, 0.88) 0%, 
      rgba(7, 9, 14, 0.2) 22%, 
      rgba(7, 9, 14, 0.2) 75%, 
      rgba(7, 9, 14, 0.98) 100%
    );
}

html[lang="ar"] .about-hero-bg-img,
[dir="rtl"] .about-hero-bg-img,
html[lang="ar"] .projects-hero-bg-img,
[dir="rtl"] .projects-hero-bg-img {
  object-position: center left;
}

html[lang="ar"] .about-hero-overlay,
[dir="rtl"] .about-hero-overlay,
html[lang="ar"] .projects-hero-overlay,
[dir="rtl"] .projects-hero-overlay {
  background:
    linear-gradient(270deg, 
      rgba(7, 9, 14, 0.98) 0%, 
      rgba(7, 9, 14, 0.92) 36%, 
      rgba(7, 9, 14, 0.62) 65%, 
      rgba(7, 9, 14, 0.35) 100%
    ),
    linear-gradient(180deg, 
      rgba(7, 9, 14, 0.88) 0%, 
      rgba(7, 9, 14, 0.2) 22%, 
      rgba(7, 9, 14, 0.2) 75%, 
      rgba(7, 9, 14, 0.98) 100%
    );
}

.about-hero-container,
.projects-hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.about-hero-content,
.projects-hero-content {
  max-width: 775px;
}

.about-hero-tag,
.projects-hero-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: clamp(0.75rem, 0.9vw, 0.875rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #8DB4D9;
  margin-bottom: clamp(14px, 2vw, 22px);
}

html[lang="ar"] .about-hero-tag,
[dir="rtl"] .about-hero-tag,
html[lang="ar"] .projects-hero-tag,
[dir="rtl"] .projects-hero-tag {
  letter-spacing: 0.04em;
  font-weight: 700;
}

.about-hero-title,
.projects-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.35rem, 5.2vw, 4.25rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: clamp(18px, 2.5vw, 26px);
}

html[lang="ar"] .about-hero-title,
[dir="rtl"] .about-hero-title,
html[lang="ar"] .projects-hero-title,
[dir="rtl"] .projects-hero-title {
  letter-spacing: 0;
  line-height: 1.25;
}

.about-hero-title-accent,
.projects-hero-title-accent {
  display: inline;
  color: #0048E8;
  font-weight: 700;
}

.about-hero-desc,
.projects-hero-desc {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.15vw, 1.0625rem);
  font-weight: 400;
  line-height: 1.7;
  color: #C9D4E5;
  max-width: 530px;
}

html[lang="ar"] .about-hero-desc,
[dir="rtl"] .about-hero-desc,
html[lang="ar"] .projects-hero-desc,
[dir="rtl"] .projects-hero-desc {
  max-width: 560px;
  line-height: 1.8;
}

@media (max-width: 991px) {
  .about-hero-section,
  .projects-hero-section {
    padding-top: 130px;
    padding-bottom: 60px;
  }

  .about-hero-content,
  .projects-hero-content {
    max-width: 540px;
  }
}

@media (max-width: 640px) {
  .about-hero-section,
  .projects-hero-section {
    padding-top: 115px;
    padding-bottom: 50px;
  }

  .about-hero-overlay,
  html[lang="ar"] .about-hero-overlay,
  [dir="rtl"] .about-hero-overlay,
  .projects-hero-overlay,
  html[lang="ar"] .projects-hero-overlay,
  [dir="rtl"] .projects-hero-overlay {
    background:
      linear-gradient(180deg, 
        rgba(7, 9, 14, 0.55) 0%, 
        rgba(7, 9, 14, 0.58) 40%, 
        rgba(7, 9, 14, 0.86) 100%
      );
  }

  .about-hero-title,
  .projects-hero-title {
    font-size: clamp(1.85rem, 7vw, 2.45rem);
  }
}

/* ==========================================================================
   About Page: Second Section â€” Our Story
   ========================================================================== */

.about-story-section {
  position: relative;
  width: 100%;
  padding: clamp(70px, 9vw, 130px) 0 0;
  background-color: #03081F;
  overflow: hidden;
}

.about-story-section::before {
  content: '';
  position: absolute;
  top: 20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.about-story-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, 480px) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.about-story-visuals {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding-bottom: 40px;
}

.about-story-img-main-wrap {
  position: relative;
  width: 82%;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  background: #0E1222;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-story-img-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.8s var(--ease-smooth);
}

.about-story-visuals:hover .about-story-img-main {
  transform: scale(1.04);
}

.about-story-badge {
  position: absolute;
  top: 12%;
  right: 6%;
  width: clamp(92px, 11vw, 115px);
  height: clamp(92px, 11vw, 115px);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #1e253d 0%, #03081F 100%);
  border: 1px solid rgba(83, 116, 190, 0.45);
  box-shadow: 0 0 3px rgba(59, 130, 246, 0.25),
    0 15px 30px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 3;
  padding: 8px;
  transition: transform 0.4s var(--ease-spring);
}

.about-story-badge:hover {
  transform: scale(1.08) rotate(-2deg);
}

.badge-year {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 1.8vw, 1.75rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.badge-text {
  font-family: var(--font-heading);
  font-size: clamp(0.5rem, 0.65vw, 0.625rem);
  font-weight: 600;
  color: #8DB4D9;
  letter-spacing: 0.12em;
  line-height: 1.25;
  text-transform: uppercase;
}

.about-story-img-sub-wrap {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 52%;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid #03081F;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75);
  z-index: 2;
  background: #0E1222;
}

.about-story-img-sub {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.8s var(--ease-smooth);
}

.about-story-visuals:hover .about-story-img-sub {
  transform: scale(1.06);
}

.about-story-content {
  max-width: 680px;
}

.about-story-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: clamp(0.75rem, 0.85vw, 0.875rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #8DB4D9;
  margin-bottom: clamp(12px, 1.5vw, 16px);
}

.about-story-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: clamp(20px, 2.5vw, 28px);
}

.about-story-lead {
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  font-weight: 600;
  line-height: 1.55;
  color: #96BFE6;
  margin-bottom: clamp(18px, 2.2vw, 26px);
}

.about-story-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: var(--font-body);
  font-size: clamp(0.925rem, 1.05vw, 1rem);
  line-height: 1.7;
  color: #AAB8CC;
  margin-bottom: 0;
}

.about-stats-section {
  padding-block: clamp(48px, 6vw, 88px) clamp(72px, 9vw, 128px);
  background: var(--bg-dark);
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 24px;
  margin: 0;
}

.about-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  gap: 16px;
}

.about-stat dd {
  order: -1;
  margin: 0;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.8vw, 2.25rem);
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  unicode-bidi: isolate;
}

.about-stat dt {
  color: #bdc1cc;
  font-size: clamp(0.75rem, 0.9vw, 0.875rem);
  line-height: 1.6;
}

@media (max-width: 640px) {
  .about-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 40px;
  }
}

html[lang="ar"] .about-story-tag,
[dir="rtl"] .about-story-tag {
  letter-spacing: 0.04em;
  font-weight: 700;
}

html[lang="ar"] .about-story-title,
[dir="rtl"] .about-story-title {
  letter-spacing: 0;
  line-height: 1.25;
}

html[lang="ar"] .about-story-lead,
[dir="rtl"] .about-story-lead {
  line-height: 1.7;
}

html[lang="ar"] .about-story-badge,
[dir="rtl"] .about-story-badge {
  right: auto;
  left: 6%;
}

html[lang="ar"] .about-story-badge .badge-text,
[dir="rtl"] .about-story-badge .badge-text {
  letter-spacing: 0;
}

html[lang="ar"] .about-story-img-sub-wrap,
[dir="rtl"] .about-story-img-sub-wrap {
  right: auto;
  left: 0;
}

@media (max-width: 991px) {
  .about-story-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-story-visuals {
    max-width: 440px;
  }

  .about-story-content {
    max-width: 100%;
  }
}

@media (max-width: 580px) {
  .about-story-visuals {
    max-width: 340px;
    padding-bottom: 30px;
  }

  .about-story-img-main-wrap {
    width: 85%;
    border-radius: 18px;
  }

  .about-story-img-sub-wrap {
    width: 55%;
    border-radius: 16px;
  }
}


.about-process-section {
  position: relative;
  width: 100%;
  padding: clamp(80px, 10vw, 140px) 0;
  overflow: hidden;
}

.about-process-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 700px;
  height: 700px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.process-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(50px, 7vw, 90px);
  position: relative;
  z-index: 1;
}

.process-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: clamp(0.75rem, 0.85vw, 0.875rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #8DB4D9;
  margin-bottom: clamp(10px, 1.5vw, 16px);
}

.process-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.process-timeline {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 0;
  z-index: 1;
}

.process-line {
  position: absolute;
  top: 25px;
  bottom: 25px;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, 
    rgba(96, 165, 250, 0.15) 0%, 
    rgba(96, 165, 250, 0.5) 15%, 
    rgba(96, 165, 250, 0.5) 85%, 
    rgba(96, 165, 250, 0.15) 100%
  );
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.35);
  pointer-events: none;
}

.process-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  position: relative;
  margin-bottom: clamp(45px, 6vw, 75px);
}

.process-item:last-child {
  margin-bottom: 0;
}

.process-node {
  position: relative;
  z-index: 2;
  width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transform: none;
}

.process-item.is-visible .process-node {
  opacity: 1;
  transform: scale(1);
}

.process-node-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #60a5fa;
  box-shadow: 0 0 8px #3b82f6, inset 0 0 3px #60a5fa;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-smooth);
}

.process-item:hover .process-node-dot {
  transform: scale(1.35);
  box-shadow: 0 0 12px #60a5fa, inset 0 0 4px #93c5fd;
}

.process-item-left .process-item-content {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 2.5vw, 36px);
  padding-right: clamp(24px, 3.5vw, 44px);
  text-align: right;
  min-width: 0;
  opacity: 1;
  transform: none;
}

.process-item-left .process-text-group {
  max-width: 380px;
}

.process-item-right .process-item-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(18px, 2.5vw, 36px);
  padding-left: clamp(24px, 3.5vw, 44px);
  text-align: left;
  min-width: 0;
  opacity: 1;
  transform: none;
}

.process-item-right .process-text-group {
  max-width: 380px;
}

.process-item.is-visible .process-item-content {
  opacity: 1;
  transform: translateX(0);
  animation: processReveal 280ms var(--ease-smooth);
}

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

.process-number {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 4.5vw, 4.2rem);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.08);
  letter-spacing: -0.04em;
  line-height: 1;
  user-select: none;
  flex-shrink: 0;
  transition: color 0.4s var(--ease-smooth), transform 0.4s var(--ease-smooth);
}

.process-item:hover .process-number {
  color: rgba(96, 165, 250, 0.24);
  transform: scale(1.06);
}

.process-step-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 1.8vw, 1.75rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.process-step-desc {
  font-family: var(--font-body);
  font-size: clamp(0.9125rem, 1vw, 1rem);
  line-height: 1.6;
  color: #9DAEC8;
}

html[lang="ar"] .process-tag,
[dir="rtl"] .process-tag {
  letter-spacing: 0.05em;
  font-weight: 700;
}

html[lang="ar"] .process-title,
[dir="rtl"] .process-title {
  letter-spacing: 0;
}

html[lang="ar"] .process-item-left .process-item-content,
[dir="rtl"] .process-item-left .process-item-content {
  padding-right: 0;
  padding-left: clamp(24px, 3.5vw, 44px);
  text-align: left;
  transform: none;
}

html[lang="ar"] .process-item-right .process-item-content,
[dir="rtl"] .process-item-right .process-item-content {
  padding-left: 0;
  padding-right: clamp(24px, 3.5vw, 44px);
  text-align: right;
  transform: none;
}

html[lang="ar"] .process-item.is-visible .process-item-content,
[dir="rtl"] .process-item.is-visible .process-item-content {
  transform: translateX(0);
}

@media (max-width: 768px) {
  .process-line {
    left: 10px;
  }

  html[lang="ar"] .process-line,
  [dir="rtl"] .process-line {
    left: auto;
    right: 10px;
  }

  .process-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 40px;
  }

  .process-item-spacer {
    display: none;
  }

  .process-node {
    width: 20px;
    flex-shrink: 0;
    margin-top: 10px;
    order: -1;
  }

  .process-item-left .process-item-content,
  .process-item-right .process-item-content,
  html[lang="ar"] .process-item-left .process-item-content,
  html[lang="ar"] .process-item-right .process-item-content,
  [dir="rtl"] .process-item-left .process-item-content,
  [dir="rtl"] .process-item-right .process-item-content {
    flex: 1;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    padding: 0 !important;
    gap: 6px !important;
    transform: none !important;
  }

  html[lang="ar"] .process-item-left .process-item-content,
  html[lang="ar"] .process-item-right .process-item-content,
  [dir="rtl"] .process-item-left .process-item-content,
  [dir="rtl"] .process-item-right .process-item-content {
    align-items: flex-start !important;
    text-align: right !important;
  }

  .process-item.is-visible .process-item-content {
    transform: translateY(0) !important;
  }

  .process-number {
    font-size: 2.2rem;
    order: -1;
  }

  .process-text-group {
    max-width: 100% !important;
  }
}


.event-method-section {
  position: relative;
  isolation: isolate;
  padding-block: clamp(88px, 10vw, 150px) clamp(80px, 9vw, 130px);
  background: #03081F;
  scroll-margin-top: 110px;
}

.event-method-background {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.event-method-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 9, 19, 0.88), rgba(8, 11, 24, 0.72) 55%, rgba(8, 11, 24, 0.92));
  pointer-events: none;
}

.event-method-heading {
  margin-bottom: clamp(36px, 5vw, 64px);
  text-align: center;
}

.event-method-eyebrow {
  display: block;
  margin-bottom: 14px;
  color: #96bfe6;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.24em;
}

.event-method-heading h2 {
  margin: 0;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.8vw, 2.5rem);
  font-weight: 600;
  line-height: 1.4;
  text-wrap: balance;
}

.event-method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-block-start: 1px solid rgba(150, 191, 230, 0.12);
  border-inline-start: 1px solid rgba(150, 191, 230, 0.12);
}

.event-method-card {
  min-width: 0;
  padding: 24px clamp(16px, 2vw, 32px) 32px;
  border-block-end: 1px solid rgba(150, 191, 230, 0.12);
  border-inline-end: 1px solid rgba(150, 191, 230, 0.12);
  background: rgba(10, 15, 39, 0.86);
  text-align: center;
}

.event-method-card img {
  display: block;
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  object-fit: contain;
}

.event-method-card h3 {
  margin: 0 0 14px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}

.event-method-card p {
  max-width: 32ch;
  margin: 0 auto;
  color: #a6acc0;
  font-size: 0.8125rem;
  line-height: 1.8;
}

[dir="rtl"] .event-method-eyebrow {
  letter-spacing: 0;
}

@media (max-width: 991px) {
  .event-method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .event-method-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .event-method-card {
    padding-block: 24px;
  }
}

.about-cta-section {
  position: relative;
  width: 100%;
  padding: clamp(75px, 9vw, 120px) 0;
  text-align: center;
  color: #ffffff;
  background: linear-gradient(270.54deg, #96BFE6 -12.68%, #0048E8 99.53%);
  overflow: hidden;
}

.about-cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 65%);
  pointer-events: none;
}

.about-cta-container {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}

.about-cta-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: clamp(0.75rem, 0.85vw, 0.875rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: clamp(12px, 1.8vw, 20px);
}

html[lang="ar"] .about-cta-tag,
[dir="rtl"] .about-cta-tag {
  letter-spacing: 0.05em;
  font-weight: 700;
}

.about-cta-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.4vw, 3.75rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: clamp(16px, 2.2vw, 24px);
}

html[lang="ar"] .about-cta-title,
[dir="rtl"] .about-cta-title {
  letter-spacing: 0;
  line-height: 1.3;
}

.about-cta-desc {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.15vw, 1.1rem);
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  max-width: 580px;
  margin: 0 auto clamp(26px, 3.5vw, 38px);
}

.about-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 42px;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  background: #0048E8;
  border: 1px solid rgba(255, 255, 255, 0.2);
  /* box-shadow: 0 10px 25px rgba(20, 45, 95, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.2); */
  backdrop-filter: blur(8px);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.about-cta-btn:hover {
  transform: translateY(-3px) scale(1.02);
  background: linear-gradient(270.54deg, #96BFE6 -12.68%, #0048E8 99.53%);
  /* box-shadow: 0 15px 35px rgba(20, 45, 95, 0.45), 0 0 20px rgba(255, 255, 255, 0.3); */
  color: #ffffff;
}

html[lang="ar"] .about-cta-btn,
[dir="rtl"] .about-cta-btn {
  font-weight: 700;
}

/* ==========================================================================
   Projects Page: Grid Section & Hover Reveals
   ========================================================================== */

.blog-section {
  padding: clamp(150px, 15vw, 210px) 0 clamp(72px, 8vw, 112px);
  background-color: var(--bg-dark);
}

.blog-header {
  max-width: 780px;
  margin: 0 auto clamp(40px, 4.5vw, 64px);
  text-align: center;
}

.blog-eyebrow {
  display: block;
  margin-bottom: 14px;
  color: #96bfe6;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.28em;
}

.blog-title {
  margin-bottom: 38px;
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
}

.blog-intro {
  color: #b3b6c6;
  font-size: 1.125rem;
  line-height: 1.6;
  text-wrap: pretty;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #FFFFFF14;
}

.blog-card-image-wrap {
  overflow: hidden;
  flex-shrink: 0;
}

.blog-card-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}

.blog-card:hover .blog-card-image,
.blog-card:focus-within .blog-card-image {
  transform: scale(1.06);
}

.blog-card-content {
  position: relative;
  flex: 1;
  min-height: 328px;
  padding: 48px 28px 88px;
}

.blog-card-title {
  margin-bottom: 18px;
  color: #ffffff;
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1.65;
}

.blog-card-desc {
  color: #b3b6c6;
  font-size: 1rem;
  line-height: 1.3;
}

.blog-details-btn {
  position: absolute;
  inset-inline-start: 28px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 9999px;
  background: var(--primary-blue);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s var(--ease-smooth), background-color 0.25s ease;
}

.blog-card:hover .blog-details-btn,
.blog-card:focus-within .blog-details-btn {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.blog-details-btn:hover {
  background-color: #2563eb;
}

.blog-details-btn:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

@media (hover: none), (pointer: coarse) {
  .blog-details-btn {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
}

html[lang="ar"] .blog-eyebrow {
  letter-spacing: 0;
}

@media (max-width: 991px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .blog-card-content {
    min-height: 280px;
    padding: 32px 24px 88px;
  }

  .blog-details-btn {
    inset-inline-start: 24px;
  }
}

@media (max-width: 575px) {
  .blog-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .blog-eyebrow {
    font-size: 0.75rem;
  }

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

  .blog-intro {
    font-size: 0.9375rem;
  }

  .blog-card-content {
    min-height: 240px;
    padding: 28px 24px 88px;
  }

  .blog-card-title {
    font-size: 1.25rem;
  }
}

.blog-detail-section {
  padding: clamp(150px, 14vw, 200px) 0 0;
}

.blog-detail-hero {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2.06 / 1;
  object-fit: cover;
}

.blog-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 416px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(48px, 8vw, 128px);
  margin-top: clamp(48px, 7vw, 112px);
}

.blog-detail-sidebar {
  position: sticky;
  top: 120px;
}

.blog-detail-title {
  font-size: clamp(2rem, 3.3vw, 3rem);
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 40px;
  text-wrap: pretty;
}

.blog-detail-date {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #d2d4df;
  margin-bottom: 32px;
}

.blog-detail-toc {
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.9;
  margin-bottom: 40px;
}

.blog-detail-toc a:hover,
.blog-detail-toc a:focus-visible {
  color: #96bfe6;
}

.blog-share-box {
  padding: 24px 20px;
  border: 1px solid rgba(150, 191, 230, 0.1);
  border-radius: 16px;
  background: linear-gradient(135deg, #111a3c, #080c22);
  background: linear-gradient(135deg, rgba(58, 90, 168, 0.12) 0%, rgba(58, 90, 168, 0.15) 12.5%, rgba(52, 81, 152, 0.2) 25%, rgba(39, 61, 114, 0.3) 50%, rgba(13, 16, 30, 0.29) 75%, rgba(13, 16, 30, 0.5) 100%);
  border: 1px solid var(--CARD-BG, #FFFFFF14);
}

.blog-share-eyebrow {
  display: block;
  margin-bottom: 8px;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: #96bfe6;
}

.blog-share-title {
  margin-bottom: 18px;
  font-size: 1.125rem;
  font-weight: 700;
}

.blog-share-actions {
  display: flex;
  gap: 10px;
}

.blog-share-link {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  /* min-height: 58px; */
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #ffffff;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.blog-share-link img {
  display: block;
  width: 100%;
  max-width: 63px;
  height: auto;
  object-fit: contain;
}

.blog-share-link span {
  display: none;
}

.blog-share-link:hover {
  background: rgba(150, 191, 230, 0.15);
  transform: translateY(-2px);
}

.blog-share-link:focus-visible {
  outline: 2px solid #96bfe6;
  outline-offset: 3px;
}

.blog-share-status {
  font-size: 0.8125rem;
  color: #b4d5ff;
  line-height: 1.5;
}

.blog-share-status:not(:empty) {
  margin-top: 14px;
}

.blog-share-fallback {
  width: 100%;
  margin-top: 12px;
  padding: 10px;
  background: #080c22;
  border: 1px solid #96bfe6;
  border-radius: 6px;
  color: #ffffff;
  direction: ltr;
}

.blog-detail-body {
  min-width: 0;
  color: #c8cad6;
  font-size: 1rem;
  line-height: 1.75;
}

.blog-article-section + .blog-article-section {
  margin-top: 32px;
}

.blog-article-section h2 {
  scroll-margin-top: 120px;
  margin-bottom: 16px;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.4;
  color: #ffffff;
}

.related-blogs-section {
  padding: clamp(72px, 8vw, 120px) 0;
  overflow: hidden;
}

.related-blogs-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}

.related-blogs-title {
  font-size: clamp(1.75rem, 2.6vw, 2.75rem);
  font-weight: 700;
}

.related-blogs-controls {
  display: flex;
  gap: 12px;
}

.related-blogs-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: #ffffff;
  background: #151b35;
  cursor: pointer;
}

.related-blogs-controls button:hover {
  background: var(--primary-blue);
}

.related-blogs-controls .swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
}

.related-blogs-controls svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.related-blogs-swiper .swiper-wrapper {
  align-items: stretch;
}

.related-blog-slide {
  height: auto;
}

.related-blog-slide .blog-card {
  height: 100%;
}

.related-blogs-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.related-blogs-pagination .swiper-pagination-bullet {
  background: #96bfe6;
}

.related-blogs-pagination .swiper-pagination-bullet-active {
  background: var(--primary-blue);
}

.related-blogs-swiper:not(.swiper-initialized) .swiper-wrapper {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 64px) / 3);
  gap: 32px;
  overflow-x: auto;
}

html[lang="ar"] .blog-share-eyebrow {
  letter-spacing: 0;
}

html[lang="ar"] .related-blogs-controls svg {
  transform: scaleX(-1);
}

@media (max-width: 991px) {
  .blog-detail-layout {
    grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
    gap: 32px;
  }

  .blog-detail-title {
    font-size: 2rem;
  }

  .blog-share-box {
    padding: 20px 12px;
  }

  .blog-share-actions {
    gap: 6px;
  }

  .blog-article-section h2 {
    font-size: 1.25rem;
  }
}

@media (max-width: 767px) {
  .blog-detail-layout {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 36px;
    gap: 40px;
  }

  .blog-detail-sidebar {
    position: static;
  }

  .blog-detail-title {
    margin-bottom: 24px;
    text-wrap: pretty;
  }

  .blog-detail-date,
  .blog-detail-toc {
    margin-bottom: 24px;
  }

  .blog-share-box {
    max-width: 416px;
    padding: 24px 20px;
  }

  .blog-share-link span {
    font-size: 0.5625rem;
  }

  .related-blogs-header {
    gap: 16px;
    margin-bottom: 32px;
  }

  .related-blogs-controls {
    gap: 8px;
  }

  .related-blogs-title {
    font-size: 1.5rem;
  }

  .related-blogs-swiper:not(.swiper-initialized) .swiper-wrapper {
    grid-auto-columns: 90%;
    gap: 16px;
  }
}

.projects-grid-section {
  position: relative;
  width: 100%;
  padding: clamp(60px, 8vw, 110px) 0 clamp(80px, 10vw, 140px);
  background-color: var(--bg-dark);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 2.5vw, 36px);
}

:is(.projects-grid, .related-projects-swiper) .project-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 360px;
  border-radius: 22px;
  overflow: hidden;
  background: #0d1222;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.5);
  transition: transform 0.5s var(--ease-spring), border-color 0.4s ease, box-shadow 0.4s ease;
}

:is(.projects-grid, .related-projects-swiper) .project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(96, 165, 250, 0.35);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.7), 0 0 25px rgba(59, 130, 246, 0.12);
}

:is(.projects-grid, .related-projects-swiper) .project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
  transition: transform 0.8s var(--ease-smooth);
}

:is(.projects-grid, .related-projects-swiper) .project-card:hover .project-img {
  transform: scale(1.06);
}

:is(.projects-grid, .related-projects-swiper) .project-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 10, 20, 0.1) 0%, rgba(7, 10, 20, 0.45) 45%, rgba(7, 10, 20, 0.96) 100%);
  opacity: 0.88;
  pointer-events: none;
  transition: opacity 0.4s ease, background 0.4s ease;
}

:is(.projects-grid, .related-projects-swiper) .project-card:hover::after,
:is(.projects-grid, .related-projects-swiper) .project-card:focus-within::after,
:is(.projects-grid, .related-projects-swiper) .project-card.is-active::after {
  opacity: 1;
  background: linear-gradient(180deg, rgba(7, 10, 20, 0.25) 0%, rgba(7, 10, 20, 0.65) 40%, rgba(7, 10, 20, 0.98) 100%);
}

:is(.projects-grid, .related-projects-swiper) .project-card-content {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 2;
  padding: clamp(22px, 2.8vw, 36px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

:is(.projects-grid, .related-projects-swiper) .project-category {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 18px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f6f7fc;
  font-size: 0.8125rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  letter-spacing: 0.02em;
}

:is(.projects-grid, .related-projects-swiper) .project-name {
  margin: 10px 0 0;
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
}

:is(.projects-grid, .related-projects-swiper) .project-reveal {
  display: grid;
  grid-template-rows: 0fr;
  margin-top: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transform: translateY(16px);
  transition: grid-template-rows 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              margin-top 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.35s ease,
              transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.45s;
}

:is(.projects-grid, .related-projects-swiper) .project-card:hover .project-reveal,
:is(.projects-grid, .related-projects-swiper) .project-card:focus-within .project-reveal,
:is(.projects-grid, .related-projects-swiper) .project-card.is-active .project-reveal {
  grid-template-rows: 1fr;
  margin-top: 16px;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

:is(.projects-grid, .related-projects-swiper) .project-reveal-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  min-height: 0;
  overflow: hidden;
}

:is(.projects-grid, .related-projects-swiper) .project-description {
  margin: 0;
  flex: 1;
  color: rgba(240, 243, 250, 0.88);
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 1vw, 0.9375rem);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

:is(.projects-grid, .related-projects-swiper) .project-details-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 26px;
  border-radius: 9999px;
  background: #0048E8;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  border: none;
  /* box-shadow: 0 4px 16px rgba(57, 98, 174, 0.35); */
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease, background 0.3s ease;
}

:is(.projects-grid, .related-projects-swiper) .project-details-btn:hover {
  /* transform: translateY(-2px) scale(1.03); */
  /* box-shadow: 0 8px 24px rgba(72, 126, 203, 0.5); */
  background: linear-gradient(270.54deg, #96BFE6 -12.68%, #0048E8 99.53%);
}

:is(.projects-grid, .related-projects-swiper) .project-details-btn:focus-visible {
  outline: 2px solid #a3caec;
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  :is(.projects-grid, .related-projects-swiper) .project-card {
    aspect-ratio: 16 / 9;
    min-height: 320px;
  }
}

@media (max-width: 600px) {
  :is(.projects-grid, .related-projects-swiper) .project-reveal-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  :is(.projects-grid, .related-projects-swiper) .project-details-btn {
    align-self: flex-start;
  }
}

@media (max-width: 991px), (hover: none), (pointer: coarse) {
  :is(.projects-grid, .related-projects-swiper) .project-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: auto;
    min-height: 360px;
    aspect-ratio: auto;
  }

  :is(.projects-grid, .related-projects-swiper) .project-img {
    position: absolute;
    inset: 0;
  }

  :is(.projects-grid, .related-projects-swiper) .project-card-content {
    position: relative;
    margin-top: auto;
    padding-top: 80px;
  }

  :is(.projects-grid, .related-projects-swiper) .project-reveal {
    grid-template-rows: 1fr;
    margin-top: 16px;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  :is(.projects-grid, .related-projects-swiper) .project-reveal-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  :is(.projects-grid, .related-projects-swiper) .project-description {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
    line-clamp: unset;
  }
}

html[lang="ar"] :is(.projects-grid, .related-projects-swiper) .project-name {
  line-height: 1.35;
}

html[lang="ar"] :is(.projects-grid, .related-projects-swiper) .project-description {
  line-height: 1.7;
}

html[lang="ar"] :is(.projects-grid, .related-projects-swiper) .project-details-btn {
  font-family: var(--font-heading);
  font-weight: 700;
}

/* --- Related Projects Section --- */

.related-projects-section {
  position: relative;
  width: 100%;
  padding: clamp(50px, 7vw, 90px) 0 clamp(70px, 9vw, 110px);
  background-color: var(--bg-dark);
  overflow: hidden;
}

.related-projects-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(26px, 3.5vw, 42px);
}

.related-projects-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
}

.related-all-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 26px;
  border-radius: 9999px;
  background: linear-gradient(110deg, #4274c4 0%, #689fe7 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  /* box-shadow: 0 4px 15px rgba(57, 98, 174, 0.35); */
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease, background 0.3s ease;
}

.related-all-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 24px rgba(96, 165, 250, 0.5);
  background: linear-gradient(110deg, #325ea8 0%, #538ee0 100%);
  color: #ffffff;
}

.related-all-btn:focus-visible {
  outline: 2px solid #a3caec;
  outline-offset: 3px;
}

.related-projects-swiper {
  width: 100%;
  overflow: visible;
}

.related-project-slide {
  height: auto;
  display: flex;
  box-sizing: border-box;
}

.related-project-slide .project-card {
  width: 100%;
}

html[lang="ar"] .related-projects-title {
  line-height: 1.35;
}

html[lang="ar"] .related-all-btn {
  font-family: var(--font-heading);
  font-weight: 700;
}

/* ==========================================================================
   Project Details Page: Hero & Content Layout
   ========================================================================== */

.project-details-hero-section {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 44px);
  min-height: calc(100svh - 44px);
  display: flex;
  align-items: flex-end;
  padding: clamp(140px, 18vh, 200px) 0 clamp(60px, 8vh, 90px);
  overflow: hidden;
  background-color: var(--bg-dark);
  background: linear-gradient(180deg, rgba(13, 16, 30, 0) 0%, #03081F 100%);
}

.project-details-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.project-details-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  transition: transform 1.2s var(--ease-smooth);
}

.project-details-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 9, 14, 0.45) 0%, rgba(7, 9, 14, 0.75) 45%, rgba(7, 9, 14, 0.98) 100%);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.project-details-hero-container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.project-details-hero-content {
  max-width: 750px;
}

.project-details-hero-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: clamp(0.75rem, 0.85vw, 0.875rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #96BFE6;
  margin-bottom: 12px;
}

.project-details-hero-category {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 10px 18px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.12);
  /* border: 1px solid rgba(255, 255, 255, 0.15); */
  color: #f6f7fc;
  font-size: 0.8125rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

.project-details-hero-title {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
}

.project-details-hero-desc {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  font-weight: 400;
  line-height: 1.65;
  color: rgba(240, 243, 250, 0.86);
  max-width: 620px;
}

/* --- Project Details Body Section --- */

.project-details-body-section {
  position: relative;
  width: 100%;
  padding: clamp(60px, 8vw, 100px) 0 clamp(80px, 10vw, 120px);
  background-color: var(--bg-dark);
}

.pd-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin-bottom: clamp(40px, 5vw, 60px);
}

.pd-meta-card {
  background: rgba(14, 21, 38, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: clamp(18px, 2vw, 24px) clamp(20px, 2.4vw, 30px);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, border-color 0.3s ease;
  background: linear-gradient(135deg, rgba(58, 90, 168, 0.12) 0%, rgba(58, 90, 168, 0.15) 12.5%, rgba(52, 81, 152, 0.2) 25%, rgba(39, 61, 114, 0.3) 50%, rgba(13, 16, 30, 0.29) 75%, rgba(13, 16, 30, 0.5) 100%);
}

.pd-meta-card:hover {
  transform: translateY(-2px);
  border-color: rgba(96, 165, 250, 0.3);
}

.pd-meta-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #96BFE6;
  margin-bottom: 8px;
}

.pd-meta-value {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.pd-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  gap: clamp(36px, 4.5vw, 64px);
  align-items: start;
}

.pd-main-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pd-block {
  margin-bottom: clamp(28px, 3.5vw, 42px);
}

.pd-block:last-child {
  margin-bottom: 0;
}

.pd-client-logo {
  display: block;
  width: 203px;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: contain;
}

.pd-block-title {
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 1.8vw, 1.65rem);
  font-weight: 700;
  line-height: 1.25;
  color: #96BFE6;
}

.pd-block-desc {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1vw, 0.98rem);
  line-height: 1.75;
  color: #FFFFFFCC;
}

.pd-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.pd-stat-card {
  background: rgba(14, 21, 38, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 24px 16px;
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, border-color 0.3s ease;
  background: linear-gradient(135deg, rgba(58, 90, 168, 0.12) 0%, rgba(56, 87, 163, 0.18) 12.5%, rgba(26, 41, 76, 0.3) 37.5%, rgba(26, 41, 76, 0.36) 50%, rgba(16, 25, 46, 0.48) 75%, rgba(5, 8, 15, 0.6) 100%);
}

.pd-stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(96, 165, 250, 0.3);
}

.pd-stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 2.3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 8px;
}

.pd-stat-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  line-height: 1.4;
  color: #7e8da8;
}

/* --- Right Sidebar Column --- */

.pd-sidebar-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 18px;
}

.pd-side-card {
  background: rgba(14, 21, 38, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 24px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
  background: linear-gradient(135deg, rgba(58, 90, 168, 0.12) 0%, rgba(58, 90, 168, 0.15) 12.5%, rgba(52, 81, 152, 0.2) 25%, rgba(39, 61, 114, 0.3) 50%, rgba(13, 16, 30, 0.29) 75%, rgba(13, 16, 30, 0.5) 100%);
}

.pd-side-card-title {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #7e8da8;
  margin-bottom: 16px;
}

.pd-services-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.pd-services-list li {
  position: relative;
  padding-inline-start: 18px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.5;
  color: #cbd5e1;
}

.pd-services-list li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #60a5fa;
  /* box-shadow: 0 0 8px rgba(96, 165, 250, 0.7); */
}

.pd-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pd-tag-item {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: 9999px;
  background: rgba(27, 36, 56, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.pd-tag-item:hover {
  background: rgba(45, 60, 95, 0.85);
  border-color: rgba(96, 165, 250, 0.35);
  color: #ffffff;
}

.pd-duration-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
}

.pd-duration-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(27, 36, 56, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: #96BFE6;
  font-size: 1.1rem;
}

.pd-duration-text {
  display: flex;
  flex-direction: column;
}

.pd-duration-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #7e8da8;
  margin-bottom: 2px;
}

.pd-duration-val {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.pd-start-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 28px;
  border-radius: 9999px;
  background: linear-gradient(110deg, #3962AE 0%, #689fe7 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  /* box-shadow: 0 4px 18px rgba(57, 98, 174, 0.4); */
  cursor: pointer;
  margin-top: 4px;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease, background 0.3s ease;
}

.pd-start-btn:hover {
  transform: translateY(-2px) scale(1.02);
  /* box-shadow: 0 8px 25px rgba(96, 165, 250, 0.5); */
  background: linear-gradient(110deg, #2d5094 0%, #4f8ce3 100%);
  color: #ffffff;
}

.pd-start-btn:focus-visible {
  outline: 2px solid #a3caec;
  outline-offset: 3px;
}

/* --- Responsive Adjustments for Project Details --- */

@media (max-width: 992px) {
  .pd-content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pd-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .pd-meta-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .pd-stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

html[lang="ar"] .pd-meta-label,
html[lang="ar"] .pd-side-card-title,
html[lang="ar"] .pd-duration-label {
  letter-spacing: 0.04em;
  font-family: var(--font-heading);
}

html[lang="ar"] .pd-block-desc {
  line-height: 1.85;
}

html[lang="ar"] .pd-start-btn {
  font-family: var(--font-heading);
  font-weight: 700;
}

/* ==========================================================================
   Project Details: Gallery & Lightbox Popup
   ========================================================================== */

.project-details-gallery-section {
  position: relative;
  width: 100%;
  padding: clamp(30px, 4vw, 60px) 0 clamp(70px, 9vw, 110px);
  background-color: var(--bg-dark);
}

.pd-gallery-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 clamp(20px, 2.5vw, 32px);
}

.pd-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 26px);
    max-width: 900px;
}

.pd-gallery-item {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #0d1222;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s var(--ease-spring), border-color 0.3s ease, box-shadow 0.3s ease;
}

.pd-gallery-item:hover,
.pd-gallery-item:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(96, 165, 250, 0.45);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7), 0 0 25px rgba(59, 130, 246, 0.15);
  outline: none;
}

.pd-gallery-item.is-wide {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 7.8;
  min-height: 280px;
}

.pd-gallery-item.is-half {
  aspect-ratio: 16 / 10;
  min-height: 220px;
}

.pd-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 18px;
  transition: transform 0.7s var(--ease-smooth);
}

.pd-gallery-item:hover .pd-gallery-img {
  transform: scale(1.04);
}

.pd-gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 18, 0.45);
  display: grid;
  place-items: center;
  opacity: 0;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.pd-gallery-item:hover .pd-gallery-overlay,
.pd-gallery-item:focus-visible .pd-gallery-overlay {
  opacity: 1;
}

.pd-gallery-zoom-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(14, 21, 38, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  transform: scale(0.85);
  transition: transform 0.35s var(--ease-spring), background 0.3s;
}

.pd-gallery-item:hover .pd-gallery-zoom-icon {
  transform: scale(1);
  background: linear-gradient(135deg, rgba(57, 98, 174, 0.95), rgba(96, 165, 250, 0.95));
}

/* --- Lightbox Popup Modal --- */

.pd-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.pd-lightbox[hidden] {
  display: none;
}

.pd-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.pd-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 6, 14, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  cursor: pointer;
}

.pd-lightbox-inner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 144px), 1200px);
  max-height: calc(100dvh - 112px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  outline: none;
}

.pd-lightbox-img-wrap {
  position: relative;
  max-width: 100%;
  max-height: calc(100dvh - 160px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.pd-lightbox-img {
  max-width: 100%;
  max-height: calc(100dvh - 160px);
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(59, 130, 246, 0.15);
  transform: scale(0.96);
  opacity: 0;
  transition: transform 0.35s var(--ease-smooth), opacity 0.35s ease;
}

.pd-lightbox.is-open .pd-lightbox-img {
  transform: scale(1);
  opacity: 1;
}

.pd-lightbox-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 14px;
  padding: 0 6px;
  color: #cbd5e1;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  gap: 16px;
}

.pd-lightbox-caption {
  min-width: 0;
  overflow-wrap: anywhere;
}

.pd-lightbox-counter {
  flex-shrink: 0;
}

.pd-lightbox-caption {
  font-weight: 500;
}

.pd-lightbox-counter {
  font-weight: 600;
  color: #96BFE6;
}

.pd-lightbox-btn {
  position: absolute;
  z-index: 10;
  background: rgba(20, 28, 48, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: grid;
  place-items: center;
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.25s, transform 0.25s, border-color 0.25s;
}

.pd-lightbox-btn:hover {
  background: linear-gradient(135deg, #3962AE, #60a5fa);
  border-color: rgba(255, 255, 255, 0.3);
}

.pd-lightbox-btn:focus-visible {
  outline: 2px solid #96BFE6;
  outline-offset: 3px;
}

.pd-lightbox-close {
  top: 24px;
  right: 28px;
  width: 46px;
  height: 46px;
  font-size: 1.25rem;
}

[dir="rtl"] .pd-lightbox-close {
  right: auto;
  left: 28px;
}

.pd-lightbox-nav {
  top: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.2rem;
  transform: translateY(-50%);
}

.pd-lightbox-prev {
  left: clamp(16px, 3vw, 40px);
}

.pd-lightbox-next {
  right: clamp(16px, 3vw, 40px);
}

[dir="rtl"] .pd-lightbox-prev {
  left: auto;
  right: clamp(16px, 3vw, 40px);
  transform: translateY(-50%) rotate(180deg);
}

[dir="rtl"] .pd-lightbox-next {
  right: auto;
  left: clamp(16px, 3vw, 40px);
  transform: translateY(-50%) rotate(180deg);
}

@media (max-width: 768px) {
  .pd-gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pd-gallery-item.is-wide,
  .pd-gallery-item.is-half {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 10;
    min-height: 200px;
  }

  .pd-lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .pd-lightbox-prev {
    left: 10px;
  }

  .pd-lightbox-next {
    right: 10px;
  }

  .pd-lightbox-close {
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
  }

  .pd-lightbox-inner {
    width: calc(100% - 32px);
    max-height: calc(100dvh - 176px);
  }

  .pd-lightbox-img-wrap,
  .pd-lightbox-img {
    max-height: calc(100dvh - 224px);
  }

  .pd-lightbox-nav {
    top: auto;
    bottom: max(20px, env(safe-area-inset-bottom));
    transform: none;
  }

  [dir="rtl"] .pd-lightbox-prev,
  [dir="rtl"] .pd-lightbox-next {
    transform: rotate(180deg);
  }

  [dir="rtl"] .pd-lightbox-close {
    left: 16px;
    right: auto;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .glass-nav-pill {
    gap: 20px;
    padding-inline: 24px;
  }

  .nav-links {
    gap: 20px;
  }

  .nav-link {
    font-size: 0.9375rem;
  }

  .glass-nav-pill .btn-profile {
    padding-inline: 24px;
  }
}

@media (max-width: 991px) and (max-height: 500px) {
  .mobile-drawer {
    padding-top: 100px;
    padding-bottom: max(24px, env(safe-area-inset-bottom));
  }

  .mobile-drawer-inner {
    gap: 20px;
  }

  .mobile-nav-links {
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .cursor-glow {
    display: none;
  }

  .clients-marquee {
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #5374be transparent;
  }

  .clients-track {
    will-change: auto;
  }
}
/* Contact form result dialog (Views/Shared/_InquiryForm.cshtml) */
body.inquiry-modal-open {
  overflow: hidden;
}

.inquiry-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 16px;
  animation: inquiry-modal-fade 0.25s ease-out;
}

.inquiry-modal[hidden] {
  display: none;
}

.inquiry-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 18, 0.72);
  backdrop-filter: blur(6px);
}

.inquiry-modal-card {
  position: relative;
  width: min(100%, 440px);
  padding: 44px 32px 32px;
  border: 1px solid #FFFFFF17;
  border-radius: 16px;
  background: linear-gradient(145deg, #0d1a38 6%, #060d22 94%);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55), 0 0 80px #04B3DB14;
  color: #fff;
  text-align: center;
  animation: inquiry-modal-pop 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}

.inquiry-modal-x {
  position: absolute;
  top: 12px;
  inset-inline-end: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #8790A2;
  font-size: 1.5rem;
  line-height: 1;
  transition: color 0.2s, background 0.2s;
}

.inquiry-modal-x:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.inquiry-modal-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 22px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(105deg, #315cab, #87b6e0);
  box-shadow: 0 0 0 10px rgba(84, 127, 204, 0.14), 0 10px 30px rgba(49, 92, 171, 0.45);
}

.inquiry-modal.is-error .inquiry-modal-icon {
  background: linear-gradient(105deg, #b3384d, #f4a2ad);
  box-shadow: 0 0 0 10px rgba(244, 162, 173, 0.12), 0 10px 30px rgba(179, 56, 77, 0.4);
}

.inquiry-modal-icon svg {
  width: 36px;
  height: 36px;
}

.inquiry-modal-title {
  margin: 0 0 10px;
  color: #f0f1f6;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
}

.inquiry-modal-text {
  margin: 0 0 28px;
  color: #a5b1c6;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.inquiry-modal .inquiry-modal-close {
  justify-self: center;
  min-width: 140px;
}

@keyframes inquiry-modal-fade {
  from { opacity: 0; }
}

@keyframes inquiry-modal-pop {
  from { opacity: 0; transform: translateY(16px) scale(0.94); }
}
