@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600;700&family=DM+Sans:wght@300;400;500;600;700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition:
    background-color 0.3s,
    color 0.3s;
  user-select: none; /* Chrome, Safari, Opera */
  -webkit-user-select: none; /* Chrome/Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE/Edge */
}
img,
a,
* {
  -webkit-user-drag: none;
  user-drag: none;
}

html {
  scroll-behavior: smooth;
}
button {
  cursor: pointer;
  animation: 300ms;
}
button:hover {
  cursor: pointer;
  animation: 500ms;
  background-color: #b6b3b3;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Oswald", sans-serif;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
[dir="rtl"] body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    "Noto Sans Arabic", "Helvetica Neue", sans-serif !important;

  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1;
  font-kerning: normal;
}
.apple-glass,
.project-card,
.card {
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);

  will-change: transform;
}

h1,
h2,
h3,
h4,
h5,
h6 p {
  text-shadow: none !important;

  -webkit-font-smoothing: antialiased;
}
:root {
  --primary: #ffffff;
  --border-color-nav: #000000;
  --secondary: #2586c7;
  --bg: #ffffff;
  --bg-0: #ffffff;

  --bg-2: #f4f4f4;
  --bg-3: #ffffff;
  --bg-4: #f0f0f0;
  --bg-5: #d4d4d4;
  --bg-6: #d4d4d4;
  --bg-info: #d4d4d4;
  --bg-footer: #d4d4d4;
  --bg-info-icon: #fff;

  --text-low: #080808c3;
  --black: #ffffff;
  --white: #000000;
  --btn-bg: transparent;
  --btn-bg-border: #000;
  --primary-blue: #2586c7;
  --glass-bg: rgba(15, 15, 15, 0.7);
  --bg-image: url("../img/1-2.jpg.jpeg");
  --blue-blur: #0091ff51;
  --ios-blur: blur(20px);
  --ios-bg: rgba(255, 255, 255, 0.7);
  --ios-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  --primary-color: #2586c7;
  --theem-logo: grayscale(100%) invert(0%);
  --ak-border: #333333;

  --step-h2: clamp(1.75rem, 1.2rem + 2.5vw, 3rem);

  --step-eyebrow: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);

  --step-gap: clamp(0.5rem, 0.3rem + 1vw, 1rem);
}
[data-theme="dark"] {
  --primary: #232222;
  --border-color-nav: #302f37;
  --low: #ddddddd4;
  --secondary: #2586c7;
  --bg-0: #0f0f0f;
  --bg: #1a1a1a;
  --bg-2: #161616;
  --bg-3: #1d1d1d;
  --bg-4: #1a1a1a;
  --bg-5: ##212121;
  --bg-6: #232323;
  --btn-bg: #1f1f1f;
  --bg-info: #232323;
  --bg-info-icon: #0a0a0a;
  --bg-footer: #0a0a0a;

  --btn-bg-border: #ffffff;
  --black: #1f1f1f;
  --white: #ffffff;
  --bg-image: url("../img/1-2.jpg.jpeg");
  --primary-blue: #2586c7;
  --glass-bg: rgba(15, 15, 15, 0.7);
  --blue-blur: #0091ff14;
  --theem-logo: grayscale(0%) invert(100%);
  --ak-border: #333333;

  --step-h2: clamp(1.75rem, 1.2rem + 2.5vw, 3rem);

  --step-eyebrow: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);

  --step-gap: clamp(0.5rem, 0.3rem + 1vw, 1rem);
}

body {
  font-family: "DM Sans", sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;

  background: var(--bg);
  color: var(--black);
  -webkit-touch-callout: none;
  overflow-x: hidden;
}
body.no-scroll {
  overflow: hidden;
}

[dir="rtl"] {
  text-align: right;
}

[dir="ltr"] {
  text-align: left;
}
a {
  text-decoration: none;
  color: var(--white);
}
html,
body {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

[data-aos] {
  pointer-events: none;
}

[data-aos].aos-animate {
  pointer-events: auto;
}

.loader-overlay {
  position: fixed;
  inset: 0;
  background: #000000;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.loader-overlay.show {
  opacity: 1;
  pointer-events: all;
}

.loader-content {
  text-align: center;
  color: #e5e7eb;
  font-family: monospace;
  letter-spacing: 2px;
}

.loader {
  width: 80px;
  height: 50px;
  background:
    radial-gradient(
        farthest-side,
        #0000 calc(100% - 15px),
        #ccc calc(100% - 14px) 99%,
        #0000
      )
      center/50px 100%,
    linear-gradient(#ccc 0 0) bottom/100% 14px;
  background-repeat: no-repeat;
  position: relative;
  animation: l16-0 2s -0.5s infinite linear;
}
.loader:before {
  content: "";
  position: absolute;
  inset: auto auto 2px 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0026ff;
  transform-origin: 50% -14px;
  animation: l16-1 0.5s infinite linear alternate;
}
@keyframes l16-0 {
  0%,
  49.99% {
    transform: scaleX(1);
  }
  50%,
  100% {
    transform: scaleX(-1);
  }
}
@keyframes l16-1 {
  0% {
    transform: translate(0) rotate(0);
  }
  50% {
    transform: translate(34px) rotate(0);
  }
  100% {
    transform: translate(34px) rotate(-180deg);
  }
}
/* Header */
.header {
  width: 100%;
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 40px;
  background-color: #9d9ea5;
  transition: all 0.4s ease-in-out;
  display: flex;
  align-items: center;
  z-index: 99999999999;
}

.logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo img {
  width: clamp(230px, 10vw, 180px);
  /* filter: grayscale(0%) invert(100%); */
  height: auto;
}

nav {
  padding: 0.4rem 0.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
}
nav .link-nav {
  padding: 0px 1rem;
}
nav a {
  color: #fff;
  padding: 0px 10px;
  font-weight: 600;
  font-size: 16px;

  text-transform: uppercase;
}
.close-card-btn {
  display: none;
}
.btn_header {
  display: flex;
  align-items: center;
  gap: 5px;
}
.btn_header button {
  background-color: transparent;
  color: #fff;
  padding: 5px;
  border: none;
  font-family: 0.9rem;
  border-radius: 50%;
  font-size: 20px;
}
.btn_header button:hover {
  background-color: #444;
}
.btn-nav a {
  background: linear-gradient(180deg, var(--bg-4), var(--primary));
  padding: 8px 10px 8px 10px;
  border-radius: 1rem;
  font-size: 1.9rem;
  border: 1px solid #555;
  margin: 0.3rem;
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-nav a i {
  transform: rotate(40deg);
  /* margin: 0px 7px; */
  font-size: 1rem;
  transition: 300ms;
  color: #fff;
}
.btn-nav a:hover i {
  transform: rotate(180deg);
}
.btn-nav button {
  padding: 8px;
  border-radius: 50%;
  font-weight: bolder;
  border: 1px solid var(--btn-bg-border);
  color: #fff;
}

.btn-download {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.5rem;
  color: #fff;
  border: 1px solid #fff;
  background-color: transparent;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  transform: scale(1);
  font-size: 12px;
  z-index: 2;
  overflow: hidden;
}
.btn-download::after {
  position: absolute;
  content: "";
  left: -50px;
  bottom: -50px;
  width: 0%;
  height: 0;
  background-color: var(--primary-blue);
  z-index: -1;
  transition: all 2s ease;
}
.btn-download:hover::after {
  height: 300%;
  width: 300%;
  top: -50px;
  right: -50px;
  background-color: #000000;
}
.btn-download:hover {
  background-color: var(--primary-blue);
}
.btn-download:hover i {
  color: var(--primary-blue);
}

.btn-download i {
  transition: transform 0.3s ease;
  font-size: 12px;
}

.btn-download:hover {
  transform: scale(1.05);
}

.btn-download:hover i {
  transform: translateY(-3px);
}

.btn-download:active {
  transform: scale(0.95);
}

.btn-download:active i {
  transform: translateY(1px);
}
.btn-download.clicked {
  animation: bounce 0.2s ease;
}
#theme-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  outline: none;
}

#theme-toggle:active {
  transform: scale(0.9);
}

.fa-sun {
  color: #ffbd00;
}

.fa-moon {
  color: #ffffff;
}

.ak-eyebrow {
  display: block;
  font-size: var(--step-eyebrow);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-blue);
  margin-bottom: 0px;
  opacity: 0.8;
  margin-bottom: 6px;
}
#closeMenu {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 9999;
  cursor: pointer;
  padding: 10px;
}

[lang="ar"] .ak-eyebrow {
  letter-spacing: 0;
  font-weight: 700;
}

.hero {
  width: 100%;
  /* margin: 0px auto; */
  height: 100vh;
  background: var(--bg-image) center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-hero {
  width: 80%;
  margin-top: 100px;
}
.text-hero h1 span:nth-child(2) {
  color: var(--primary-blue);
  display: block;
}
.text-hero .btn-hero a {
  /* margin: 0 auto; */
  background-color: transparent;
  color: #fff;
  border: 1px solid #fff;

  font-weight: bold;
  padding: 10px 30px 10px 30px;
  display: block;
  margin-top: 20px;
  width: fit-content;
  transition: 200ms;
}
.text-hero p {
  width: 60%;
}

.btn-hero a:hover {
  background-color: #9d9ea5;
  color: black;
}

.text-hero .titel-hero {
  color: white;
  font-size: var(--step-h2);
  font-weight: bold;
}
[lang="ar"] .titel-hero span {
  text-align: right;
}

.text-hero .des-hero {
  color: white;
  mix-blend-mode:;
  font-size: 20px;
  font-weight: 600;
  padding: 20px 0px;
}
.text-hero .btn-nav {
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.text-hero .btn-nav button {
  font-size: 0.9rem;
  border-radius: 1rem !important;
  font-weight: 500;
  color: black;
}
.text-hero .btn-nav a {
  font-size: 0.4rem;
  font-weight: 500;
}
nav a:hover {
  color: #c9d3ff;
}
.text-hero .btn-nav * {
  color: var(--white);
}
.hero .hero.btn {
  font-size: 0.3rem !important;
}

.counters-hero {
  display: flex;
  justify-content: space-around;
  align-items: center;

  background: var(--bg-0);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid #999;
  gap: 1rem;
}

.counter {
  width: 30%;
  height: 200px;
  background-color: transparent;
  color: var(--black);
  border-radius: 2pc;
  padding: 1rem;
  text-align: center;
  position: relative;
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.counter + .counter::after {
  position: absolute;
  content: "";
  width: 1px;
  height: 20%;
  left: 0;
  top: 50%;
  transform: translate(0, -50%);
  background-color: var(--white);
}
.counter h5 {
  color: var(--white);
  font-size: 14px;
  font-weight: normal;
  text-transform: lowercase;
  position: relative;
  padding-left: 10px;
}

.counter p {
  text-align: center;
  color: var(--primary-blue);
  font-size: 60px;
  font-weight: lighter;
}

/* About Section */
.deep-about {
  position: relative;
  min-height: 100vh;
  background: var(--bg-0);
  color: var(--white);
  padding: 100px 0;
  overflow: hidden;
}

.scroll-bg-text {
  position: absolute;
  top: 10%;
  left: 5%;
  font-size: 15vw;
  font-weight: 900;
  color: #88888821;
  white-space: nowrap;
  z-index: 0;
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 100px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2%;
  align-items: stretch;
}

.visual-engine {
  position: relative;
}

.sticky-frame {
  position: sticky;
  top: 120px;
  height: auto;
}

.image-mask {
  width: 100%;
  height: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
}

.reveal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.2);
  transition: transform 1.5s ease;
}

.aos-animate .reveal-img {
  transform: scale(1);
}

.experience-glass {
  position: absolute;
  bottom: 0px;
  right: 0px;
  background: var(--bg-2);
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.big-num {
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  background: var(--primary-color);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.content-engine {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 5px 0;
}
.text-segment {
  margin-top: 0;
  line-height: 1.1;
}
.impact-title {
  line-height: 1.1;
  margin: 20px 0;
}
.overline {
  font-size: 48px;
  width: 100%;
}
.overline span:nth-child(1) {
  color: var(--white);
  font-weight: lighter;
  width: 40%;
}
.overline span:nth-child(2) {
  color: var(--primary-blue);
  font-weight: lighter;
  width: 40%;
}
.deep-desc {
  font-size: 18px;
  line-height: 1.5;
}
.impact-title .light {
  font-weight: 200;
  color: #aaa;
  width: fit-content;
  font-size: 48px;
}
.impact-title .bold {
  font-weight: 800;
  display: block;
  color: var(--white);
  font-size: 48px;
}

.philosophy-stack {
  margin-top: 0;
  margin-bottom: 0;
}

.phi-item {
  margin-bottom: 40px;
  padding-left: 0px;
  position: relative;
}

.phi-line {
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 0;
  background: var(--accent);
  transition: height 1s ease;
}
.phi-item:last-child {
  margin-bottom: 0;
}
.years-label {
  color: var(--white);
  width: 100%;
}

.aos-animate .phi-line {
  height: 100%;
}
.phi-item span:nth-child(1) {
  color: var(--white);
  font-weight: bolder;
}

.phi-item span:nth-child(2) {
  color: var(--primary-blue);
}

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .sticky-frame {
    height: 50vh;
    position: relative;
    top: 0;
  }
  .scroll-bg-text {
    display: none;
  }
  .hero .hero.btn {
    font-size: 0.3rem !important;
  }
  .image-mask {
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  .big-num {
    font-size: 40px;
  }
}
/* Why Choose Section Base */
.why-choose-section {
  background-color: var(--bg);
  padding: 100px 0;
  color: var(--white);
}

.why-title {
  font-size: 48px;
  text-transform: uppercase;
  margin-bottom: 60px;
  letter-spacing: -1px;
  line-height: 1.2;
}

.why-title span:nth-child(1) {
  color: var(--white);
  font-weight: lighter;
  display: block;
}

.why-title span:nth-child(2) {
  color: var(--primary-blue);
  font-weight: lighter;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-item {
  background-color: var(--bg-2);
  border: 1px solid #999;
  padding: 50px 30px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.why-item:hover {
  border-color: #4fb3df;
  transform: translateY(-10px);
  background-color: var(--bg-3);
}
.why-item:hover h3 {
  color: var(--primary-blue);
}
.why-item:hover p {
  color: var(--white);
}

.why-item h3 {
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 15px;
  color: var(--white);
  letter-spacing: 0.5px;
}

.why-item p {
  color: #999;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 300;
}

.full-width-card {
  grid-column: span 1;
}

@media (max-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0px 20px;
  }
  .why-title {
    font-size: 36px;
    padding: 0px 20px;
  }
  .ak-eyebrow {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .why-choose-section {
    padding: 60px 20px;
  }
  .why-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .why-title {
    font-size: 28px;
    text-align: center;
    margin-bottom: 40px;
  }
  .why-item {
    padding: 30px 20px;
    text-align: center;
  }
}
.ak-ov-section {
  padding: 80px 5%;
  background-color: #0a0a0a;
}

.ak-ov-container {
  max-width: 1200px;
  margin: 0 auto;
}

.ak-ov-grid-main {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}

.ak-ov-title {
  font-size: 2.2rem;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #fff, #888);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ak-ov-desc {
  color: #b0b0b0;
  line-height: 1.8;
  margin-bottom: 40px;
  font-size: 1.05rem;
}

.ak-ov-philosophy {
  display: flex;
  gap: 30px;
  border-top: 1px solid #333;
  padding-top: 30px;
}

.ak-ov-phi-item h4 {
  color: #6e8efb;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.ak-ov-phi-item p {
  font-size: 0.9rem;
  color: #999;
}

.ak-ov-sub-title {
  font-size: 1.5rem;
  margin-bottom: 30px;
}

.ak-ov-feat-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ak-ov-feat-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 15px;
  border-left: 3px solid #6e8efb;
  transition: 0.3s;
}

.ak-ov-feat-card:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(10px);
}

.ak-ov-feat-icon {
  font-size: 24px;
  color: #a777e3;
}

.ak-ov-feat-card h5 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.ak-ov-feat-card p {
  font-size: 0.85rem;
  color: #777;
}

@media (max-width: 992px) {
  .ak-ov-grid-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .ak-ov-philosophy {
    flex-direction: column;
  }
}

/* --- AK Services Section Style --- */
.ak-srv-section {
  padding: 100px 5%;
  background-color: var(--bg-0);
  overflow: hidden;
}

.ak-srv-container {
  max-width: 1200px;
  margin: 0 auto;
}

.ak-srv-header h2 {
  font-size: 48px;
  color: var(--white);
  margin-bottom: 60px;
  display: inline-block;
  padding: 0px 0px;
  position: relative;
  font-weight: lighter;
  line-height: 0.8;
}
.ak-srv-header h2 span:nth-child(1) {
  font-weight: lighter;
}
.ak-srv-header h2 span:nth-child(2) {
  font-weight: lighter;
  color: var(--primary-blue);
}
.ak-srv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.ak-srv-card {
  background-color: var(--bg-2);
  padding: 60px 40px;
  position: relative;
  border: 1px solid var(--bg-4);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  min-height: 300px;
  cursor: default;
}

.srv-number {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 4rem;
  font-weight: 500;
  color: var(--bg-5);
  transition: 0.4s ease;
}

.ak-srv-icon {
  font-size: 2.4rem;
  color: var(--primary-color);
  margin-bottom: 25px;
  transition: transform 0.3s ease;
}

.ak-srv-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}

.ak-srv-card h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 20%;
  height: 2px;
  background-color: var(--primary-blue);
  transition:
    width 0.5s ease,
    background-color 0.5s ease;
}

.ak-srv-card p {
  font-size: 0.95rem;
  color: var(--white);
  line-height: 1.7;
  margin: 0;
}
.more-ds {
  font-size: 0.95rem;
  color: var(--primary-blue);
  line-height: 1.7;
  padding-top: 20px;
}
.more-ds:hover {
  color: #eee;
}
#service-content {
  animation: fadeIn 0.8s ease-out;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ak-srv-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  border-color: var(--primary-blue);
}

.ak-srv-card:hover h3::after {
  width: 100%;
  background-color: var(--primary-blue);
}

.ak-srv-card:hover .srv-number {
  color: var(--white);
  transform: scale(1.1);
}

.ak-srv-card:hover .ak-srv-icon {
  transform: scale(1.1);
}

@media (max-width: 992px) {
  .ak-srv-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .project-card {
    flex: 0 0 90%;
  }
}

@media (max-width: 650px) {
  .ak-srv-grid {
    grid-template-columns: 1fr;
  }
  .ak-srv-header h2 {
    font-size: 1.7rem;
    padding: 10px 20px;
  }
  .ak-srv-card {
    padding: 40px 30px;
  }
}

/* pro */
.projects-section {
  margin-top: 65px;
  padding: 40px;
  background-color: var(--bg-0);
}
.titel-projects-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.titel-projects-section h5 {
  color: var(--white);
  padding-bottom: 15px;
}
.titel-projects-section a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: transparent;
  color: var(--white);
  border: 1px solid var(--white);
  padding: 10px;
  font-weight: 600;
  width: 20%;
}
.titel-projects-section a i {
  transform: rotate(40deg);
}
.titel-projects-section p {
  color: var(--white);
  width: 70%;
  font-size: 2rem;
}

.text-titel-projects-section p {
  width: 100%;
}
.text-titel-projects-section {
  line-height: 1.1;
}

.text-titel-projects-section h2 span:nth-child(1) {
  color: var(--white);
  font-weight: lighter;
  font-size: 48px;
}
.text-titel-projects-section h2 span:nth-child(2) {
  color: var(--primary-blue);
  font-weight: lighter;
  font-size: 48px;
}

.titel-projects-section a:hover {
  background-color: var(--primary-blue);
  color: var(--white);
}

.projects-filter-bar {
  display: flex;
  align-items: start;
  justify-content: start;
  gap: 15px;
  margin: 30px 0px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 25px;
  border: 1px solid #333; /* لون الحدود داكن */
  background: transparent;
  color: var(--white);
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 1px;
}

.filter-btn.active,
.filter-btn:hover {
  background-color: var(--primary-blue);
  color: #000;
}
.projects-container {
  display: flex;
  overflow-x: auto;
  gap: 0px;
  padding-bottom: 20px;
  cursor: grab;
  scroll-behavior: auto;
  scrollbar-width: none;
  margin-top: 1.5rem;
  -ms-overflow-style: none;
  color: var(--white);
  touch-action: pan-x pan-y;
  -webkit-overflow-scrolling: touch;
}

.projects-container:active {
  cursor: grabbing;
}

.project-card {
  flex: 0 0 calc(33% + 1%);
  height: 60vh;
  background-color: var(--primary);
  transition: all 400ms ease-in-out;
  position: relative;
  overflow: hidden;
}
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 600ms ease-in-out;
}
.project-card .cadr-content {
  width: 100%;
  height: fit-content;
  position: absolute;
  bottom: -60px;
  left: 0px;
  left: 1%;
  font-size: 1.2rem;
  /* transform: translate(-50%); */
  padding: 5px 10px;
  display: flex;
  align-items: start;
  justify-content: space-between;
  flex-direction: column;
  gap: 8px;
  border-radius: 0.3rem;
  transition: all 400ms;
}
.project-card .cadr-content .icon-card {
  padding: 10px;
  height: 50px;
  font-size: 0.9rem;
  color: var(--primary-blue);
  width: 50px;
  background-color: black;
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-card:hover img {
  transform: scale(1.1);
}
.project-card:hover .cadr-content {
  bottom: -0px;
}

.project-card div h5 {
  font-size: 1.2rem;
  padding-bottom: 0.3rem;
  color: #fff;
}
.project-card div p {
  font-size: 0.8rem;
  color: var(--primary-blue);
}
.project-card .cadr-content i {
  font-size: 1.6rem;
  transform: rotate(40deg);
}
.btn-mobile-projects {
  display: none;
  text-align: center;
  background-color: transparent;
  border: 1px solid var(--white);
  color: var(--white);
  transition: all 300ms ease-in-out;
}
.btn-mobile-projects i {
  transform: rotate(90deg);
  transition: all 300ms ease-in-out;
}
.btn-mobile-projects:hover {
  background-color: var(--primary-blue);
  color: var(--white);
  transition: all 300ms ease-in-out;
}
.btn-mobile-projects:hover i {
  margin-left: 10px;
}
@media (max-width: 768px) {
  .projects-section {
    padding: 100px 0px;
  }
  .titel-projects-section {
    padding: 0px 10px;
  }

  .project-card {
    flex: 0 0 95%;
  }
  .titel-projects-section {
    flex-direction: column;
    align-items: start;
    gap: 15px;
    padding: 0;
  }
  .titel-projects-section a {
    display: none;
  }
  .btn-mobile-projects {
    display: block;
  }
}

.btn-project {
  display: inline-block;
  margin-top: 1.5rem;
  border: 1px solid var(--white);
  padding: 0.5rem 1.5rem;
  color: var(--white);
  transition: 0.3s;
}

.btn-project:hover {
  background: var(--white);
  color: var(--black);
  padding-left: 20px;
}

/* --- Process Section --- */
.process-architecture-section {
  padding: 60px 0;
  background-color: var(--bg);
  color: var(--white);
}

.process-main-header {
  padding: 20px;
  margin-bottom: 70px;
}

.process-subtitle {
  color: var(--primary-color);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 3px;
  display: block;
  margin-bottom: 10px;
}

.process-title {
  font-size: 48px;
  font-weight: lighter;
  line-height: 1.1;
  color: var(--white);
}

.highlight-blue {
  color: var(--primary-color);
  font-weight: lighter;
}

.process-dynamic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.process-block {
  background: var(--bg-2);
  padding: 60px 45px;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  cursor: pointer;
}

.block-number {
  font-size: 4rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px var(--primary-blue);
  margin-bottom: 25px;
  transition: 0.4s;
}

.block-title {
  font-size: 1.6rem;
  margin-bottom: 15px;
  font-weight: 700;
  color: var(--white);
}

.block-preview {
  color: var(--white);
  line-height: 1.6;
  font-size: 1rem;
  transition: 0.4s;
}

.block-details-hidden {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.5s ease;
}

.process-block:hover {
  background: #0c0c0c;
  color: #fff !important;
}
.process-block:hover .block-title,
.process-block:hover .block-preview {
  color: #fff !important;
}

.process-block:hover .block-number {
  -webkit-text-stroke: 1px var(--primary-color);
  transform: translateX(10px);
}

.process-block:hover .block-details-hidden {
  max-height: 250px;
  opacity: 1;
  margin-top: 25px;
}

.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  color: var(--white);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
}
.process-block:hover li {
  color: white;
}

/* رسم النقطة الزرقاء يدوياً بدلاً من الأيقونة */
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  width: 7px;
  height: 7px;
  background-color: #2586c7; /* لونك الأزرق */
  border-radius: 50%;
}
@media (max-width: 1024px) {
  .process-dynamic-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .process-dynamic-grid {
    grid-template-columns: 1fr;
  }
  .process-block {
    padding: 40px 30px;
  }
  .block-details-hidden {
    max-height: none;
    opacity: 1;
    margin-top: 20px;
  }
  .block-number {
    font-size: 3rem;
    -webkit-text-stroke: 1px var(--primary-color);
  }
}
/* ---------- Section Container ---------- */
.contact-us {
  padding: 100px 5%;
  background-color: var(--bg);
}

.contact-wrapper {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

.contact-header-style h1 {
  font-size: 48px;
  font-weight: lighter;
  color: var(--white);
  margin-bottom: 40px;
  display: inline-block;
  padding: 0px 0px;
  text-align: left;
  line-height: 1.1;
}
.contact-header-style {
  display: flex;
  align-items: start;
  flex-direction: column;
}

.contact-header-style .ak-eyebrow {
  margin: 0;
}
.contact-header-style h1 span:nth-child(1) {
  color: var(--white);
  font-weight: lighter;
}
.contact-header-style h1 span:nth-child(2) {
  color: var(--primary-blue);
  font-weight: lighter;
}

.contact-container {
  flex: 2;
  background: var(--bg);
  color: var(--white);
  padding: 45px;
  border: 1px solid var(--bg-5);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 10px;
  color: var(--white);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 0;
  border: none;
  border-bottom: 2px solid var(--ak-border);
  background: transparent;
  outline: none;
  transition: 0.3s;
  color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: var(--white);
  color: var(--white);
}
.form-group select:focus {
  color: var(--primary-blue);
  outline: none;
}
.form-group select:blur {
  color: var(--white);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.phone-group {
  display: flex;
  gap: 10px;
}

#countryCode {
  width: 90px;
  border-bottom: 2px solid #eee;
}

.btn-submit {
  background-color: transparent;
  color: var(--white);
  border: 1px solid var(--white);

  padding: 16px 45px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.4s;
  float: left;
  margin-top: 20px;
}

.btn-submit:hover {
  background: var(--primary-blue);
  color: #000;
}

.contact-info-card {
  flex: 1;
  background: var(--bg-info);
  padding: 50px 40px;
  box-shadow: 15px 15px 50px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--bg-5);
  position: relative;
  height: fit-content;
  align-self: flex-start;
}

.info-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 40px;
  display: inline-block;
  padding: 15px 0px;
}

.info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 35px;
  align-items: center;
}

.info-item i {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px !important;
  width: 40px !important;
  border-radius: 50%;
  flex-shrink: 0;
  background-color: var(--bg-info-icon);
  color: var(--primary-blue);
}

.info-item strong {
  color: var(--primary-blue);
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.info-item p {
  color: var(--white);
  font-size: 0.9rem;
  line-height: 1.1;
}

.info-bg-number {
  position: absolute;
  bottom: 0px;
  right: 15px;
  font-size: 6rem;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.02);
  pointer-events: none;
}

@media (max-width: 992px) {
  .contact-wrapper {
    flex-direction: column;
  }
  .contact-info-card {
    width: 100%;
    order: -1;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .testimonials-wrapper {
    min-height: 700px;
  }

  .testimonial-card {
    width: 280px;
    padding: 20px;
  }

  .testimonial-card .testimonial-text {
    font-size: 0.95rem;
  }

  .float-item {
    width: 50px;
    height: 50px;
    border-width: 2px;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .contact-container {
    padding: 40px 25px;
  }

  .phone-group {
    flex-direction: column;
  }

  .phone-group select {
    width: 100%;
  }
}

/* --- Client Feedback Styles --- */
.feedback-section {
  padding: 100px 0;
  background-color: var(--bg-0);
}

.feedback-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.feedback-main-title {
  font-size: 48px;
  font-weight: lighter;
  color: var(--white);
  margin-bottom: 50px;
}
.feedback-header {
  line-height: 1.1;
}
.feedback-header h2 span:nth-child(1) {
  color: var(--white);
  font-weight: lighter;
}
.feedback-header h2 span:nth-child(2) {
  color: var(--primary-blue);
  font-weight: lighter;
}
.section-title {
  line-height: 1.1;
}
.section-title h2 span:nth-child(1) {
  color: var(--white);
  font-weight: lighter;
}
.section-title h2 span:nth-child(2) {
  color: var(--primary-blue);
  font-weight: lighter;
}

.feedback-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feedback-card {
  background: var(--bg-2);
  border: 1px solid var(--primary);
  padding: 40px;
  transition: 0.4s ease;
  display: flex;
  flex-direction: column;
}

.feedback-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  border-color: var(--primary-color);
}

.feedback-rating {
  color: var(--primary-blue);
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.feedback-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--white);
  margin-bottom: 30px;
  font-style: italic;
}

.feedback-client {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: auto;
}

.client-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.client-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  color: var(--white);
}

.client-role {
  font-size: 0.85rem;
  color: #888;
  margin: 0;
}

@media (max-width: 1024px) {
  .feedback-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .feedback-grid {
    grid-template-columns: 1fr;
  }
  .feedback-main-title {
    font-size: 2.2rem;
    text-align: center;
  }
}

/*map  */
.map-experience-section {
  padding: 80px 0;
  background-color: var(--bg-0);
  display: flex;
  justify-content: center;
}

.map-container-box {
  position: relative;
  width: 95%;
  max-width: 1300px;
  height: 550px;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid var(--ak-border);
  box-shadow: var(--ios-shadow);
}

#main-leaflet-map {
  width: 100%;
  height: 100%;
  z-index: 1;
  background: var(--bg-2);
}

/* --- حل مشكلة الدارك مود (استهداف مباشر للصور) --- */
[data-theme="dark"] .leaflet-tile-container img {
  filter: brightness(0.6) invert(1) contrast(3) hue-rotate(200deg) saturate(0.3) !important;
}

/* منع تأثر الماركر (اللوجو) بالفلتر */
[data-theme="dark"] .custom-map-marker {
  /* filter: invert(1) hue-rotate(-200deg); */
}

/* تنسيق الكارت العائم */
.map-glass-card {
  position: absolute;
  top: 30px;
  left: 30px;
  z-index: 1000;
  background: var(--ios-bg);
  backdrop-filter: var(--ios-blur);
  -webkit-backdrop-filter: var(--ios-blur);
  padding: 25px;
  border-radius: 5px;
  border: 1px solid var(--ak-border);
  color: #000;
  width: 280px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.location-badge {
  background: var(--primary-blue);
  color: #111;
  font-size: 10px;
  padding: 4px 12px;
  border-radius: 50px;
  font-weight: 800;
  letter-spacing: 1px;
}

.directions-link {
  display: inline-block;
  margin-top: 15px;
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

/* حركة النبض للماركر */
@keyframes map-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 134, 199, 0.7);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 15px rgba(37, 134, 199, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 134, 199, 0);
  }
}
.leaflet-marker-icon img {
  background-color: #000000;
  width: 12px;
  height: 12px;
  height: 100%;
  border-radius: 50%;
}

.ak-ft-main {
  position: relative;
  padding: 80px 5% 30px;
  margin-top: 100px;
  color: var(--white);
  overflow: hidden;
  background: var(--bg-footer);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid #9999997e;
}

.ak-ft-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.ak-ft-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 50px;
}

.ak-ft-logo {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.ak-ft-logo span {
  color: var(--primary-blue);
}

.ak-ft-info p {
  color: var(--white);
  line-height: 1.6;
  margin-bottom: 25px;
}

.ak-ft-social {
  display: flex;
  gap: 15px;
}

.ak-ft-social-link {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--primary-blue);
  transition: all 0.3s ease;
  text-decoration: none;
}

.ak-ft-social-link:hover {
  background: rgba(110, 142, 251, 0.2);
  border-color: var(--primary-blue);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.ak-ft-links h4,
.ak-ft-contact h4 {
  margin-bottom: 25px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-blue);
}

.ak-ft-links ul {
  list-style: none;
}
.ak-ft-links ul li {
  margin-bottom: 12px;
}
.ak-ft-links ul li a {
  color: var(--white);
  text-decoration: none;
  transition: 0.3s;
}

.ak-ft-links ul li a:hover {
  color: var(--white);
  padding-left: 5px;
}

.ak-ft-contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  color: var(--white);
}

.ak-ft-contact-item i {
  color: var(--primary-blue);
}

.ak-ft-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}
.ak-ft-links ul li a:hover {
  color: var(--primary-blue); /* Better visual feedback than just white */
  padding-left: 8px;
  text-shadow: 0 0 10px rgba(110, 142, 251, 0.3);
}
@media (max-width: 992px) {
  .ak-ft-grid {
    grid-template-columns: 1fr 1fr; /* 2 columns for tablets */
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .ak-ft-grid {
    grid-template-columns: 1fr; /* 1 column for mobile */
    text-align: center;
  }

  .ak-ft-social {
    justify-content: center; /* Center icons on mobile */
  }

  .ak-ft-contact-item {
    justify-content: center;
  }
}

/* ======== clients  section */
.clients-section {
  padding: 80px 5%;
  background-color: var(--bg);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title h2 {
  font-size: 48px;
  font-weight: lighter;
  color: var(--white);
  margin-bottom: 60px;
  display: inline-block;
  position: relative;
  font-weight: lighter;
  line-height: 1.1;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.client-card {
  background: var(--bg-2);
  border: 1px solid var(--bg-4);
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.client-card img {
  max-width: 80%;
  max-height: 80%;
  /* filter: var(--theem-logo); */
  opacity: 0.7;
  transition: all 0.3s ease;
}

.client-card:hover {
  border-color: var(--white);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transform: translateY(-5px);
}

.client-card:hover img {
  opacity: 1;
}

@media (max-width: 992px) {
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .clients-grid {
    grid-template-columns: 1fr;
  }
  .section-title h2 {
    font-size: 1.8rem;
  }
}
