:root {
  --motion-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --motion-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --motion-fast: 180ms;
  --motion-base: 420ms;
  --motion-slow: 760ms;
}
.page-transition-shell {
  min-height: 100%;
  animation: dnc-page-enter 0.56s var(--motion-spring) both;
}
@keyframes dnc-page-enter {
  0% {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.motion-ready .motion-reveal {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition:
    opacity var(--motion-slow) var(--motion-smooth),
    transform var(--motion-slow) var(--motion-spring);
}
.motion-ready .motion-reveal.motion-visible {
  opacity: 1;
  transform: translateZ(0);
}
.motion-ready .motion-stagger > * {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition:
    opacity 0.62s var(--motion-smooth),
    transform 0.68s var(--motion-spring);
  transition-delay: calc(var(--motion-order, 0) * 65ms);
}
.motion-ready .motion-stagger.motion-visible > * {
  opacity: 1;
  transform: translateZ(0);
}
.motion-ready .hero .hero-content > * {
  animation: dnc-hero-rise 0.72s var(--motion-spring) 0.65s both;
}
.motion-ready .detail-hero > * {
  animation: dnc-hero-rise 0.72s var(--motion-spring) both;
}
.motion-ready .hero .hero-content > :nth-child(2) {
  animation-delay: 0.73s;
}
.motion-ready .hero .hero-content > :nth-child(3) {
  animation-delay: 0.8s;
}
.motion-ready .hero .hero-content > :nth-child(4) {
  animation-delay: 0.87s;
}
.motion-ready .hero .hero-content > :nth-child(5) {
  animation-delay: 0.94s;
}
.motion-ready .detail-hero > :nth-child(2) {
  animation-delay: 80ms;
}
.motion-ready .detail-hero > :nth-child(3) {
  animation-delay: 0.15s;
}
.motion-ready .detail-hero > :nth-child(4) {
  animation-delay: 0.22s;
}
@keyframes dnc-hero-rise {
  0% {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
  }
  to {
    opacity: 1;
    transform: translateZ(0);
  }
}
.hero-image,
.media-image {
  transform: scale(1.025);
  transition:
    transform 1.4s var(--motion-spring),
    filter 0.5s var(--motion-smooth);
}
.motion-ready .hero-image {
  animation: dnc-hero-image 1.6s var(--motion-spring) both;
}
@keyframes dnc-hero-image {
  0% {
    transform: scale(1.075);
  }
  to {
    transform: scale(1.025);
  }
}
.header {
  transition:
    background-color var(--motion-base) ease,
    border-color var(--motion-base) ease,
    box-shadow var(--motion-base) ease,
    transform var(--motion-base) var(--motion-spring);
}
.is-scrolled .header {
  box-shadow:
    0 16px 42px rgba(16, 37, 82, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
}
.desktop-nav .nav-group > button,
.desktop-nav > a {
  position: relative;
}
.desktop-nav .nav-group > button:after,
.desktop-nav > a:after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.28s var(--motion-spring);
}
.desktop-nav .nav-group > button:focus-visible:after,
.desktop-nav .nav-group > button:hover:after,
.desktop-nav > a:focus-visible:after,
.desktop-nav > a:hover:after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-dropdown {
  animation: dnc-menu-in 0.24s var(--motion-spring) both;
}
@keyframes dnc-menu-in {
  0% {
    opacity: 0;
    transform: translate3d(0, -8px, 0) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateZ(0) scale(1);
  }
}
.button svg,
.nav-dropdown a svg,
.profile-contact-cta svg,
.profile-inline-link svg,
.text-link svg {
  transition: transform var(--motion-fast) var(--motion-spring);
}
.button:hover svg,
.nav-dropdown a:hover svg,
.profile-contact-cta:hover svg,
.profile-inline-link:hover svg,
.text-link:hover svg {
  transform: translate3d(3px, -3px, 0);
}
.arabic
  :is(
    .nav-dropdown a,
    .text-link,
    .button,
    .profile-inline-link,
    .profile-contact-cta
  ):hover
  svg {
  transform: translate3d(-3px, -3px, 0);
}
.button,
.panorama-btn,
.profile-contact-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition:
    transform var(--motion-base) var(--motion-spring),
    box-shadow var(--motion-base) ease,
    background-color var(--motion-fast) ease,
    border-color var(--motion-fast) ease;
}
.button:before,
.panorama-btn:before,
.profile-contact-cta:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -80%;
  bottom: -80%;
  left: -55%;
  width: 36%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.32),
    transparent
  );
  transform: translateX(-180%) rotate(16deg);
  transition: transform 0.62s var(--motion-spring);
}
.button:focus-visible:before,
.button:hover:before,
.panorama-btn:focus-visible:before,
.panorama-btn:hover:before,
.profile-contact-cta:focus-visible:before,
.profile-contact-cta:hover:before {
  transform: translateX(620%) rotate(16deg);
}
.button:hover,
.panorama-btn:hover,
.profile-contact-cta:hover {
  box-shadow: 0 13px 30px rgba(16, 37, 82, 0.2);
}
.button:active,
.panorama-btn:active,
.profile-contact-cta:active {
  transform: translateY(0) scale(0.975);
}
.scroll-cue svg {
  animation: dnc-scroll-cue 1.9s ease-in-out infinite;
}
@keyframes dnc-scroll-cue {
  0%,
  to {
    transform: translateZ(0);
  }
  50% {
    transform: translate3d(3px, 5px, 0);
  }
}
.play-large {
  position: relative;
}
.play-large:after {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid;
  border-radius: inherit;
  opacity: 0.45;
  animation: dnc-play-pulse 2.4s ease-out infinite;
}
@keyframes dnc-play-pulse {
  0% {
    opacity: 0.45;
    transform: scale(1);
  }
  70%,
  to {
    opacity: 0;
    transform: scale(1.35);
  }
}
@media (hover: hover) and (pointer: fine) {
  :is(
    .value-card,
    .vision-card,
    .company-card,
    .why-grid article,
    .partner-group,
    .certificate-showcase-card,
    .profile-link-card,
    .profile-certificate-grid a
  ) {
    transition:
      transform var(--motion-base) var(--motion-spring),
      box-shadow var(--motion-base) ease,
      border-color var(--motion-base) ease,
      background-color var(--motion-base) ease;
  }
  :is(
    .value-card,
    .vision-card,
    .company-card,
    .why-grid article,
    .partner-group,
    .certificate-showcase-card,
    .profile-link-card,
    .profile-certificate-grid a
  ):hover {
    transform: translate3d(0, -6px, 0);
    box-shadow: 0 22px 46px rgba(16, 37, 82, 0.16);
  }
  .career-image,
  .ceo-portrait,
  .profile-project-grid article,
  .project-card,
  .service-card {
    transform: translateZ(0);
  }
  :is(.service-card, .project-card, .profile-project-grid article):hover {
    box-shadow: 0 24px 52px rgba(4, 18, 49, 0.26);
  }
  .career-image:hover img,
  .ceo-portrait:hover img,
  .profile-project-grid article:hover img,
  .service-card:hover .service-photo {
    transform: scale(1.055);
  }
  .project-card:hover {
    transform: translate3d(0, -5px, 0);
  }
  .certificate-arrow:hover svg,
  .service-card:hover .service-info span,
  .value-card:hover svg {
    transform: rotate(8deg) scale(1.06);
  }
}
.certificate-arrow svg,
.service-info span,
.theme-toggle svg,
.value-card svg {
  transition: transform 0.3s var(--motion-spring);
}
.theme-toggle:hover svg {
  transform: rotate(18deg) scale(1.08);
}
.theme-toggle:active svg {
  transform: rotate(-8deg) scale(0.9);
}
.modal {
  animation: dnc-modal-backdrop 0.24s ease both;
}
.modal-video {
  animation: dnc-modal-content 0.42s var(--motion-spring) both;
}
@keyframes dnc-modal-backdrop {
  0% {
    opacity: 0;
  }
}
@keyframes dnc-modal-content {
  0% {
    opacity: 0;
    transform: translate3d(0, 22px, 0) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateZ(0) scale(1);
  }
}
:is(input, textarea, select):not([type="hidden"]) {
  transition:
    border-color var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease,
    background-color var(--motion-fast) ease;
}
:is(input, textarea, select):not([type="hidden"]):focus {
  box-shadow: 0 0 0 4px rgba(80, 124, 137, 0.15);
}
@media (max-width: 780px) {
  .motion-ready .motion-reveal {
    transform: translate3d(0, 22px, 0);
  }
  .motion-ready .motion-stagger > * {
    transform: translate3d(0, 16px, 0);
  }
  .motion-ready .motion-reveal.motion-visible,
  .motion-ready .motion-stagger.motion-visible > * {
    transform: none;
  }
  .page-transition-shell {
    animation-duration: 0.42s;
  }
}
.header {
  width: min(980px, calc(100% - 44px));
  height: 68px;
  padding-inline: 18px;
}
.header-logo {
  width: 82px;
  height: 52px;
}
.desktop-nav {
  gap: clamp(10px, 1.15vw, 15px);
}
.header-controls {
  gap: 5px;
}
.nav-hidden .header {
  transform: translate3d(-50%, calc(-100% - 28px), 0);
}
@media (max-width: 780px) {
  .header {
    top: 10px;
    width: calc(100% - 24px);
    min-height: 62px;
    height: 62px;
    padding-inline: 13px;
  }
  .header-logo {
    width: 70px;
    height: 46px;
  }
  .mobile-menu {
    top: 70px;
  }
}
.gallery .tile-reveal {
  content-visibility: visible;
  contain-intrinsic-size: auto;
  opacity: 1;
  transform: none;
}
.gallery .gallery-media img {
  opacity: 1;
  transform: scale(1);
}
.gallery .gallery-media:after {
  pointer-events: none;
}
.lightbox {
  display: grid;
  grid-template-rows: 56px minmax(0, 1fr) auto;
  background:
    radial-gradient(
      circle at 50% 42%,
      rgba(80, 124, 137, 0.18),
      transparent 42%
    ),
    rgba(5, 16, 40, 0.98) !important;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.lightbox-top {
  width: min(1280px, 100%);
  margin-inline: auto;
  padding: 8px clamp(14px, 2.25vw, 28px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
}
.lightbox-index {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.lightbox-close {
  width: 36px;
  height: 36px;
}
.lightbox-stage {
  width: min(1280px, 100%);
  margin-inline: auto;
  padding: 10px clamp(60px, 5vw, 88px);
  touch-action: pan-y;
  user-select: none;
}
.lightbox-stage img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100dvh - 196px);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.48);
}
.lightbox-nav {
  width: 46px;
  height: 46px;
  border-color: rgba(255, 255, 255, 0.42) !important;
  background: rgba(16, 37, 82, 0.64) !important;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.lightbox-nav:hover {
  color: #102552 !important;
  background: #fff !important;
  transform: translateY(-50%) scale(1.07);
}
.lightbox-prev {
  inset-inline-start: clamp(14px, 2.5vw, 38px);
}
.lightbox-next {
  inset-inline-end: clamp(14px, 2.5vw, 38px);
}
.lightbox-caption {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 8px 16px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(5, 16, 40, 0.72);
}
.lightbox-caption p {
  max-width: 72ch;
  margin: 0;
  color: #fff;
  font-size: clamp(12px, 1vw, 14px);
  line-height: 1.45;
  text-wrap: balance;
}
.lightbox-thumbnails {
  display: flex;
  max-width: min(100%, 760px);
  gap: 6px;
  margin-top: 2px;
  padding: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}
.lightbox-thumbnails::-webkit-scrollbar {
  display: none;
}
.lightbox-thumbnails button {
  position: relative;
  flex: 0 0 66px;
  width: 66px;
  height: 44px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  opacity: 0.48;
  cursor: pointer;
  transform: scale(0.96);
  transition:
    opacity 0.2s ease,
    transform 0.25s var(--motion-spring),
    border-color 0.2s ease;
}
.lightbox-thumbnails button:focus-visible,
.lightbox-thumbnails button:hover {
  opacity: 0.82;
  transform: scale(1);
}
.lightbox-thumbnails button.active {
  border-color: #9cccd2;
  opacity: 1;
  transform: translateY(-2px) scale(1);
}
.lightbox-thumbnails img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 640px) {
  .lightbox {
    grid-template-rows: 48px minmax(0, 1fr) auto;
  }
  .lightbox-top {
    padding: 8px 12px;
  }
  .lightbox-stage {
    padding: 8px 10px;
  }
  .lightbox-stage img {
    max-height: calc(100dvh - 178px);
    border-radius: 6px;
  }
  .lightbox-nav {
    top: auto;
    bottom: 14px;
    width: 40px;
    height: 40px;
    transform: none;
  }
  .lightbox-nav:hover {
    transform: scale(1.05);
  }
  .lightbox-prev {
    inset-inline-start: 14px;
  }
  .lightbox-next {
    inset-inline-end: 14px;
  }
  .lightbox-caption {
    gap: 3px;
    padding: 6px 10px max(8px, env(safe-area-inset-bottom));
  }
  .lightbox-caption p {
    max-width: 34ch;
    font-size: 12px;
  }
  .lightbox-thumbnails {
    max-width: 100%;
    gap: 6px;
  }
  .lightbox-thumbnails button {
    flex-basis: 54px;
    width: 54px;
    height: 38px;
  }
}
.lightbox {
  display: flex;
  flex-direction: column;
  background: rgba(16, 37, 82, 0.95) !important;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.lightbox-top {
  width: 100%;
  margin: 0;
  padding: 18px 22px;
  border-bottom: 0;
}
.lightbox-close {
  width: 40px;
  height: 40px;
}
.lightbox-stage {
  width: 100%;
  flex: 1;
  min-height: 0;
  margin: 0;
  padding: 0 72px;
}
.lightbox-stage img {
  max-height: 100%;
  border-radius: 12px;
}
.lightbox-nav {
  width: 44px;
  height: 44px;
}
.lightbox-prev {
  inset-inline-start: 16px;
}
.lightbox-next {
  inset-inline-end: 16px;
}
.lightbox-caption {
  display: block;
  padding: 18px 24px 26px;
  border-top: 0;
  background: transparent;
  text-align: center;
}
.lightbox-caption p {
  margin: 0 0 6px;
  font-size: 15px;
}
.lightbox-thumbnails {
  display: none;
}
@media (max-width: 640px) {
  .lightbox {
    grid-template-rows: none;
  }
  .lightbox-stage {
    padding: 0 56px;
  }
  .lightbox-stage img {
    max-height: 100%;
  }
  .lightbox-nav {
    top: 50%;
    bottom: auto;
    width: 44px;
    height: 44px;
    transform: translateY(-50%);
  }
  .lightbox-nav:hover {
    transform: translateY(-50%) scale(1.08);
  }
  .lightbox-caption {
    padding: 18px 24px 26px;
  }
  .lightbox-caption p {
    max-width: none;
    font-size: 15px;
  }
}
