/* Removed @import to optimize performance - moved to index.html */
/* * {
  outline: 1px solid red;
} */
a {
  text-decoration: none;
}
.lang-ar .tel {
  direction: ltr;
}
/* ═══════════════════════════════════════════════=
   RESET & BASE
═══════════════════════════════════════════════ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  font-family: "Inter", sans-serif;
  box-sizing: border-box;
}

body {
  background: #041319;
}

/* ─── Keyboard Focus ─── */
:focus-visible {
  outline: 2px solid #50f995;
  outline-offset: 4px;
}
/* ═══════════════════════════════════════════════
   BUTTONS — SHARED HOVER (fill animation)
═══════════════════════════════════════════════ */

.why-btn,
.btn,
.what-btn,
.represent-btn,
.about-btn,
.ibs-advantage-btn,
.insights-button,
.cta-button {
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.4s ease;
}

.why-btn::before,
.btn::before,
.what-btn::before,
.represent-btn::before,
.about-btn::before,
.ibs-advantage-btn::before,
.insights-button::before,
.cta-button::before {
  content: "";
  position: absolute;
  width: 700%;
  height: 400%;
  background: #041319;
  border-radius: 50%;
  left: 50%;
  bottom: -200%;
  transform: translateX(-50%) scale(0);
  transition: transform 0.9s ease;
  z-index: -1;
}

.why-btn:hover::before,
.btn:hover::before,
.what-btn:hover::before,
.represent-btn:hover::before,
.about-btn:hover::before,
.ibs-advantage-btn:hover::before,
.insights-button:hover::before,
.cta-button:hover::before {
  transform: translateX(-50%) scale(1);
}

.why-btn:hover,
.btn:hover,
.what-btn:hover,
.represent-btn:hover,
.about-btn:hover,
.ibs-advantage-btn:hover,
.insights-button:hover,
.cta-button:hover {
  color: #50f995;
}

/* ═══════════════════════════════════════════════
   ARABIC LANGUAGE
═══════════════════════════════════════════════ */
.lang-ar {
  --font-main: "Tajawal", sans-serif;
}

.lang-ar h1,
.lang-ar h2 {
  font-family: "Tajawal", sans-serif;
}

.lang-ar .represent-cores ol {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: disc;
  padding-left: 22px;
  padding-right: 20px;
}

.lang-ar .cores ol {
  padding-right: 20px;
}

/* ═══════════════════════════════════════════════
   NAVBAR — SHARED
═══════════════════════════════════════════════ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  padding: 20px 16px;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition:
    background-color 0.3s ease,
    backdrop-filter 0.3s ease;
}

.navbar.scrolled {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.container-nav {
  width: 100%;
  max-width: 375px;
  padding: 0 16px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}

.logo img {
  height: 32px;
}

.hamburger {
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger img {
  width: 32px;
  height: 32px;
}

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

.mobile-nav-actions #ar-lang {
  display: block;
  background: transparent;
  border: 1px solid #ffffff55;
  border-radius: 12px;
  padding: 6px 12px;
  font-family: "Tajawal";
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  cursor: pointer;
}

.nav-button {
  display: none;
}

.nav-links {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  backdrop-filter: blur(20px);
  background-color: #122b27;
  border-radius: 15px;
  list-style: none;
  display: none;
  flex-direction: column;
  z-index: 1;
}

.nav-links li {
  padding: 0;
  border-bottom: 1px solid #ecfdcd50;
}

.last-li {
  border-bottom: none !important;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
}

.nav-links li a {
  display: block;
  width: 100%;
  height: 100%;
  padding: 16px;
}

[data-page].nav-active {
  padding: 12px 24px;
  color: #50f995 !important;
  font-weight: 600;
  cursor: pointer;
  height: 44px;
}

#logo-home {
  cursor: pointer;
}

/* ═══════════════════════════════════════════════
   HERO — SHARED (background + hero layout)
═══════════════════════════════════════════════ */
.background {
  background-image: url("https://res.cloudinary.com/dbrr1jmwx/image/upload/f_auto,q_auto/background_do09cz.svg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  min-height: 80vh;
  padding-top: 80px;
}

.hero {
  height: 370px;
  max-width: 375px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pop-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  height: 40px;
  max-width: 90%;
  color: #fff;
  text-align: center;
  padding: 6px 12px 6px 6px;
  gap: 12px;
  border-radius: 16px;
  margin: 60px auto 0 auto;
  background: #00000033;
}

.pop-message h1 {
  font-size: 12px;
  font-weight: 500;
  color: #e3e8ef;
  text-align: center;
  line-height: 20px;
  height: 20px;
}
.pop-heading {
  font-size: 2.94vw;
  font-weight: 500;
  color: #e3e8ef;
  text-align: center;
  line-height: 20px;
  height: 20px;
}

.pop-message {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  height: 28px;
  width: 96px;
  text-align: center;
  padding: 6px 8px 4px 6px;
  gap: 4px;
  border-radius: 12px;
  background: #00000066;
}

.circle {
  width: 8px;
  height: 8px;
  background-color: #122b27;
  border: 2px solid #ecfdcd;
  border-radius: 50%;
  opacity: 1;
}

.main-heading {
  font-weight: 600;
  width: 343px;
  height: 84px;
  font-size: 36px;
  margin: 0 auto;
  color: #fff;
  line-height: 42px;
  letter-spacing: -1px;
  text-align: center;
  text-transform: capitalize;
}

.sub-heading {
  font-weight: 300;
  color: #e3e8ef;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
}
.lang-ar .btn {
  width: 153px;
  height: 54px;
  padding: 12px 24px;
}

.btn {
  width: 204px;
  height: 44px;
  gap: 10px;
  margin: 0 auto;
  padding: 12px 24px;
  border-radius: 16px;
  background: #50f995;
  font-weight: 600;
  cursor: pointer;
  border: none;
}

/* ═══════════════════════════════════════════════
   LOGOS TICKER — SHARED
═══════════════════════════════════════════════ */
.logos {
  direction: ltr;
  width: 100%;
  overflow: hidden;
  padding: 40px 0;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}

.logos-track {
  display: flex;
  width: max-content;
  animation: infiniteScroll 25s linear infinite;
  gap: 40px;
}

.logos-group {
  display: flex;
  align-items: center;
  gap: 40px;
}

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

  to {
    transform: translateX(-50%);
  }
}

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

/* ═══════════════════════════════════════════════
   HOW SECTION — SHARED (used in Home & About)
═══════════════════════════════════════════════ */
.how-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 32px 16px;
}

.how-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.how-pop-container {
  gap: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.how-pop {
  width: 126px;
  height: 32px;
  border: 1px solid #e3e8ef;
  padding: 4px 8px;
  border-radius: 16px;
  font-weight: 500;
  color: #e3e8ef;
  font-size: 14px;
  text-align: center;
  line-height: 24px;
}

.how-title {
  font-weight: 600;
  font-size: 24px;
  line-height: 30px;
  letter-spacing: -1px;
  text-align: center;
  text-transform: capitalize;
  color: #fff;
}

.how-cards {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.how-card1,
.how-card2,
.how-card3,
.how-card4 {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  border: 1px solid #f0fef633;
  padding: 40px 32px;
  border-radius: 20px;
}

.how-card1 {
  min-height: 230px;
}

.how-card2 {
  min-height: 245px;
}

.how-card3 {
  min-height: 230px;
}

.how-card4 {
  min-height: 230px;
}

.how-card-img {
  width: 48px;
  min-height: 48px;
  background-color: #ffffff;
  border-radius: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.how-card1-title {
  font-weight: 500;
  color: #e3e8ef;
  font-size: 18px;
  line-height: 30px;
}

/* ═══════════════════════════════════════════════
   CONTACT FORM — SHARED (used in all 4 pages)
═══════════════════════════════════════════════ */
.background-contact {
  background-image: url("https://res.cloudinary.com/dbrr1jmwx/image/upload/f_auto,q_auto/footerbg_eaynkn.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.bg-c {
  padding: 40px 16px;
}

.contact-section {
  width: 100%;
  max-width: 375px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-container {
  width: 100%;
}

form {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  padding: 40px 32px;
  gap: 24px;
  border: 1px solid rgb(240, 254, 246, 20%);
  border-radius: 20px;
  background-color: rgb(240, 254, 246, 3%);
}

.labels {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.labels label {
  font-weight: 500;
  font-size: 16px;
  color: #ffffff;
  line-height: 20px;
}

.labels input {
  box-sizing: border-box;
  width: 100%;
  height: 48px;
  border: 0.5px solid rgba(240, 254, 246, 0.3);
  color: #e3e8ef;
  font-size: 16px;
  line-height: 26px;
  background-color: transparent;
  padding: 8px 16px;
  border-radius: 8px;
}

.labels textarea {
  box-sizing: border-box;
  width: 100%;
  height: 120px;
  border: 0.5px solid rgba(240, 254, 246, 0.3);
  background-color: transparent;
  color: #e3e8ef;
  font-size: 16px;
  line-height: 26px;
  padding: 8px 16px;
  border-radius: 8px;
  resize: none;
}

input:focus,
textarea:focus {
  background-color: transparent;
  outline: none;
  border-color: rgba(80, 249, 149, 1);
  box-shadow: 0 0 8px rgba(80, 249, 149, 1);
}

input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #0f1c20 inset !important;
  box-shadow: 0 0 0 1000px #0f1c20 inset !important;
  -webkit-text-fill-color: #ffffff !important;
  caret-color: #ffffff !important;
  transition: background-color 9999s ease-in-out 0s;
}

form button {
  width: 100%;
  height: 54px;
  background-color: #50f995;
  color: #0e1109;
  font-weight: 600;
  font-size: 18px;
  line-height: 30px;
  padding: 12px 24px;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  margin-top: 32px;
}

#form-btn:hover {
  background: #041319;
  color: #50f995;
  padding: 8px 18px;
  outline: 1px solid #50f995;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.calltime-input {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  height: 48px;
  gap: 8px;
}

#calltime-date {
  width: 50%;
  min-height: 48px;
  padding: 4px 8px;
  border-radius: 8px;
  border: 0.5px solid rgba(240, 254, 246, 0.2);
  background: transparent;
  color: #ffffff;
  font-size: 14px;
}

select {
  width: 50%;
  min-height: 48px;
  padding: 4px 8px;
  border-radius: 8px;
  border: 0.5px solid rgba(240, 254, 246, 0.2);
  background: transparent;
  color: #ffffff;
  font-size: 14px;
  cursor: pointer;
}

select option {
  background-color: #041319;
  color: #ffffff;
}

select:focus {
  outline: none;
  box-shadow: 0 0 8px rgba(80, 249, 149, 1);
}

#calltime-date::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
}

/* ─── Validation States ─── */
.contact-form .labels input.input-error,
.contact-form .labels textarea.input-error,
.contact-form .labels select.input-error {
  border-color: #ef4444;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.15);
}

.contact-form .labels input.input-success,
.contact-form .labels textarea.input-success,
.contact-form .labels select.input-success {
  border-color: rgba(80, 249, 149, 0.5);
}

.contact-form .labels input:focus,
.contact-form .labels textarea:focus {
  outline: none;
  box-shadow: 0 0 8px rgba(80, 249, 149, 0.6);
  border-color: rgba(80, 249, 149, 0.6);
}

.contact-form .labels input.input-error:focus,
.contact-form .labels textarea.input-error:focus {
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.25);
  border-color: #ef4444;
}

.field-hint {
  font-size: 12px;
  line-height: 1.4;
  min-height: 16px;
  transition: opacity 0.2s ease;
}

.field-hint.hint-error {
  text-align: end;
  color: #ef4444;
}

/* ─── Location / Address ─── */
.location {
  width: 100%;
  gap: 32px;
  display: flex;
  flex-direction: column;
}

.address {
  width: 100%;
  gap: 32px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding: 40px 32px;
  border-radius: 20px;
  border: 1px solid #f0fef633;
}

.address1 {
  width: 100%;
  gap: 8px;
  display: flex;
  flex-direction: column;
}

.address1 h1 {
  font-weight: 600;
  font-size: 24px;
  color: #ffffff;
  line-height: 30px;
  letter-spacing: -1px;
  text-transform: capitalize;
}

.address1 p {
  font-weight: 300;
  font-size: 16px;
  color: #e3e8ef;
  line-height: 24px;
}

.address2 {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.address2-details {
  width: 100%;
  gap: 40px;
  display: flex;
  flex-direction: row;
}

.address3-details {
  width: 100%;
  gap: 24px;
  display: flex;
  flex-direction: column;
}

.address2-d1 {
  gap: 4px;
  display: flex;
  flex-direction: column;
}

.address2-d1 h1 {
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
}

.address2-d1 h2 {
  font-weight: 300;
  font-size: 13px;
  color: #e3e8ef;
}

.address2-d2 {
  width: 100%;
  gap: 4px;
  display: flex;
  flex-direction: column;
}

.address2-d2 h1 {
  font-weight: 600;
  font-size: 16px;
  color: #ffffff;
  line-height: 20px;
}

.address2-d2 h2 {
  font-weight: 300;
  font-size: 16px;
  color: #e3e8ef;
  line-height: 24px;
}

.social-logos {
  display: flex;
  flex-direction: row;
  gap: 12px;
}

.social-logos img {
  width: 35px;
  height: 35px;
}

.follow-us {
  gap: 4px;
  display: flex;
  flex-direction: column;
}

.follow-us h1 {
  font-weight: 600;
  font-size: 16px;
  color: #ffffff;
  line-height: 20px;
}

.map {
  width: 100%;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.map::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 60, 0.45);
  pointer-events: none;
}

.map iframe {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 20px;
  filter: grayscale(40%) brightness(70%) contrast(120%) saturate(120%);
  display: block;
}

/* ═══════════════════════════════════════════════
   SUCCESS MESSAGE — SHARED
═══════════════════════════════════════════════ */
.success-message {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
}

#successMessage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #041319;
  border: 0.59px solid #f0fef633;
  width: 90%;
  max-width: 375px;
  border-radius: 20px;
  padding: 40px 32px;
  gap: 40px;
}

.close {
  position: absolute;
  top: 16px;
  right: 16px;
  cursor: pointer;
  z-index: 10;
}

.success-img {
  width: 113px;
  height: 113px;
  border-radius: 50%;
  border: 0.59px solid #50f995;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-img img {
  width: 64px;
  height: 64px;
}

.success-title {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.success-title h1 {
  font-weight: 600;
  font-size: 32px;
  color: #ffffff;
  line-height: 40px;
  text-align: center;
}

.success-title h2 {
  font-weight: 400;
  font-size: 16px;
  color: #e3e8ef;
  line-height: 26px;
  text-align: center;
}

.success-list {
  display: flex;
  gap: 12px;
  flex-direction: column;
  width: 100%;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background-color: #50f9950d;
}

.success-list ol {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: disc;
  padding-left: 20px;
}

.success-list ol li {
  font-weight: 300;
  font-size: 14px;
  color: #e3e8ef;
  line-height: 22px;
}

.success-list ol li::marker {
  color: #50f995;
}

#submitAnotherRequest {
  width: 100%;
  height: 55px;
  border-radius: 16px;
  border: 0.59px solid #50f995;
  background: transparent;
  color: #50f995;
  font-size: 16px;
  cursor: pointer;
}

/* ═══════════════════════════════════════════════
   SPA PAGE TRANSITIONS
═══════════════════════════════════════════════ */
.pages-wrapper {
  display: grid;
}

.page {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.5s ease,
    transform 0.35s ease;
  pointer-events: none;
  visibility: hidden;
}

.page.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
  visibility: visible;
}

#contact-us {
  width: 95px;
  height: 37px;
  border-radius: 16px;
  padding: 5px 15px;
  font-weight: 600;
  font-size: 10px;
  border: none;
  background: #50f995;
  color: #0e1109;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
/* تغيير لون العنوان */
.how-card1:hover .how-card1-title,
.how-card2:hover .how-card1-title,
.how-card3:hover .how-card1-title,
.how-card4:hover .how-card1-title {
  color: #50f995;
}

/* تغيير خلفية اللوجو */
.how-card1:hover .how-card-img,
.how-card2:hover .how-card-img,
.how-card3:hover .how-card-img,
.how-card4:hover .how-card-img {
  background-color: #50f995;
}

/* ═══════════════════════════════════════════════
   TABLET (376px → 1023px)
═══════════════════════════════════════════════ */
@media (min-width: 768px) and (max-width: 1024px) {
  .container-nav {
    max-width: 768px;
    padding: 0 24px;
  }

  .background {
    min-height: 100vh;
    padding-top: 80px;
  }
  .nav-buttons {
    display: none;
  }

  .hero {
    max-width: 700px;
    gap: 28px;
  }
  .main-heading {
    font-size: 48px;
    width: 90%;
    height: auto;
    line-height: 56px;
  }

  .sub-heading {
    font-size: 18px;
    width: 80%;
    margin: 0 auto;
  }
  .pop-heading {
    font-size: 14px;
  }
  .pop-message h1 {
    font-size: 12px;
  }
  /* .btn {
    width: 220px;
    height: 50px;
    font-size: 16px;
  } */

  .logos {
    background-color: #041319;
    padding: 30px 0;
  }

  .logo img {
    height: 45px;
  }

  .how-section {
    width: 80%;
    margin: 0 auto;
    padding: 48px 40px;
  }
  img-represent-desk img {
    width: 100%;
    height: auto;
  }
  .how-title {
    font-size: 28px;
    line-height: 36px;
  }

  .how-cards {
    display: grid;
    grid-template-columns: repeat(2, 0.5fr);
    row-gap: 16px;
    column-gap: 16px;
    justify-content: center;
  }

  .how-card1,
  .how-card2,
  .how-card3,
  .how-card4 {
    width: 100%;
    height: auto;
    min-height: stretch;
    padding: 32px 24px;
  }

  /* تغيير لون العنوان */
  .how-card1-title:hover {
    color: #50f995;
  }

  /* تغيير خلفية اللوجو */
  .how-card1-:hover .icon,
  .how-card2:hover .icon,
  .how-card3:hover .icon,
  .how-card4:hover .icon {
    background-color: #50f995;
  }

  .how-card1-title {
    font-size: 16px;
    line-height: 26px;
  }

  .contact-section {
    max-width: 700px;
    margin: 0 auto;
    padding: 48px 40px;
    flex-direction: column;
    gap: 32px;
  }

  .labels {
    width: 100%;
    height: auto;
  }

  .calltime-input {
    width: 100%;
    gap: 16px;
  }

  form button {
    width: 100%;
    margin-top: 32px;
  }

  .address {
    width: 100%;
    height: auto;
    padding: 32px 24px;
  }

  .address1,
  .address2 {
    width: 100%;
    height: auto;
  }

  .address2-details {
    width: 100%;
    height: auto;
    gap: 40px;
  }

  .address3-details {
    width: 100%;
    height: auto;
    flex-direction: row;
    gap: 40px;
  }
  .social-logos {
    flex-wrap: wrap;
  }
  .address2-d1 {
    width: 100%;
  }
  .follow-us {
    width: stretch;
  }
  .map {
    width: 100%;
    height: 300px;
  }

  .map iframe {
    width: 100%;
    height: 100%;
  }

  .success-message {
    width: 100%;
  }

  #successMessage {
    width: 90%;
    max-width: 560px;
  }

  .success-list {
    width: 100%;
  }

  #submitAnotherRequest {
    width: 100%;
  }
}

/* ═══════════════════════════════════════════════
   DESKTOP (1024px+)
═══════════════════════════════════════════════ */
@media (min-width: 1025px) {
  .mobile-nav-actions #ar-lang {
    display: none;
  }

  .hamburger {
    display: none;
  }

  .container-nav {
    max-width: 1200px;
    padding: 0 40px;
  }

  .navbar.scrolled {
    backdrop-filter: blur(10px);
    width: 100%;
  }

  .nav-links {
    position: static;
    transform: none;
    width: auto;
    display: flex;
    flex-direction: row;
    gap: 16px;
    margin: 0 auto;
    background: none;
    backdrop-filter: none;
    border-radius: 0;
    cursor: pointer;
  }

  .nav-links li {
    padding: 0;
    border: none;
  }

  .nav-links a {
    font-weight: 500;
    color: #e3e8ef;
    border-radius: 4px;
    padding: 8px 6px;
  }

  .last-li a::after {
    display: none;
  }

  [data-page].nav-active {
    background-color: #00000033;
    border-radius: 16px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
  }

  .nav-button {
    display: flex;
    flex-direction: row;
    width: 225px;
    height: 54px;
    gap: 32px;
    background-color: transparent;
  }

  #ar-lang {
    background-color: transparent;
    border: none;
    font-family: "Tajawal";
    font-weight: 500;
    font-size: 16px;
    color: #ffffff;
    cursor: pointer;
  }

  #contact-us {
    width: 146px;
    height: 54px;
    border-radius: 16px;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 18px;
    border: none;
    background: #50f995;
    color: #0e1109;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
  }

  #contact-us::before {
    content: "";
    position: absolute;
    width: 300%;
    height: 340%;
    background: #041319;
    border-radius: 50%;
    left: 50%;
    bottom: -200%;
    transform: translateX(-50%) scale(0);
    transition: transform 0.9s ease;
    z-index: -1;
  }

  #contact-us:hover::before {
    transform: translateX(-50%) scale(1);
  }

  #contact-us:hover {
    color: white;
  }

  /* Hero desktop */
  .background {
    background-image: url("https://res.cloudinary.com/dbrr1jmwx/image/upload/f_auto,q_auto/background_do09cz.svg");
    background-size: cover;
    height: 890px;
    padding-top: 0;
    min-height: unset;
  }

  .hero {
    max-width: 1067px;
    margin: 0 auto;
  }

  .pop-container {
    margin-top: 163px;
    width: 310px;
    height: 40px;
  }

  .pop-heading {
    font-size: 14px;
  }
  .pop-message h1 {
    font-size: 12px;
  }

  .main-heading {
    font-size: 64px;
    width: 100%;
    line-height: 82px;
    letter-spacing: -3px;
  }

  .sub-heading {
    font-size: 20px;
    width: 748px;
    margin: 0 auto;
  }

  .btn {
    margin-top: 8px;
    width: 223px;
    min-height: 54px;
    font-size: 18px;
  }

  /* Logos desktop */
  .logos {
    max-width: 1200px;
    margin: 140px auto 32px auto;
    padding: 20px 0;
  }

  .logos-track {
    gap: 60px;
    animation-duration: 35s;
  }

  .logos-group {
    gap: 50px;
  }

  .logo img {
    height: 40px;
  }

  /* How section desktop */
  .how-section {
    align-items: center;
    justify-content: center;
    padding: 64px 120px;
    gap: 60px;
  }

  .how-container {
    align-items: center;
    justify-content: center;
  }

  .how-pop-container {
    align-items: center;
    justify-content: center;
  }

  .how-title {
    max-width: 670px;
    font-size: 36px;
    line-height: 42px;
    letter-spacing: -1px;
  }

  .how-cards {
    display: grid;
    grid-template-columns: repeat(2, 0fr);
    grid-template-rows: repeat(2, 1fr);
    row-gap: 20px;
    column-gap: 20px;
    justify-content: center;
  }

  .how-card1,
  .how-card2,
  .how-card3,
  .how-card4 {
    width: 590px;
    height: 100%;
    padding: 40px 32px;
  }

  /* Contact section desktop */
  .contact-section {
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;
    padding: 60px 120px;
    max-width: unset;
  }

  .contact-container {
    width: 584px;
  }

  .contact-container form {
    width: 100%;
    padding: 40px 32px;
    border: 1px solid #2a2a2a;
  }

  .contact-form .labels {
    width: 100%;
  }

  .contact-form .labels input {
    width: 100%;
    min-height: 48px;
    padding: 8px 16px;
    border: 0.5px solid rgba(240, 254, 246, 0.2);
    background: transparent;
  }

  .labels textarea {
    width: 100%;
    min-height: 120px;
    padding: 8px 16px;
    border: 0.5px solid rgba(240, 254, 246, 0.2);
    background: transparent;
  }

  .contact-form button {
    width: 100%;
    height: 54px;
    border: none;
    cursor: pointer;
  }

  .location {
    width: 584px;
    flex-direction: column;
    gap: 32px;
  }

  .address {
    width: 100%;
    padding: 40px 32px;
    border: 1px solid #2a2a2a;
  }

  .address1 {
    flex-direction: column;
    gap: 8px;
  }

  .address2 {
    flex-direction: column;
    gap: 24px;
  }

  .address2-details {
    display: flex;
    flex-direction: row;
    align-items: start;
    width: 100%;
    gap: 60px;
  }

  .address3-details {
    display: flex;
    flex-direction: row;
    align-items: start;
    width: 100%;
    gap: 60px;
  }

  .calltime-input {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 16px;
  }

  #calltime-date {
    width: 50%;
    min-height: 48px;
    font-size: 16px;
    background: transparent;
  }

  select {
    width: 50%;
    min-height: 48px;
    padding: 8px 16px;
    border: 0.5px solid rgba(240, 254, 246, 0.2);
    background: transparent;
    font-size: 16px;
  }

  .map {
    width: 100%;
    height: 250px;
  }

  .map iframe {
    width: 100%;
    height: 100%;
    border-radius: 20px;
  }

  /* Success message desktop */
  .success-message {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
  }

  #successMessage {
    width: 600px;
    max-width: unset;
    margin: 70px auto;
  }

  .success-title h2 {
    width: 400px;
  }

  .success-list {
    width: 536px;
    align-items: flex-start;
  }

  #submitAnotherRequest {
    width: 536px;
    font-size: 18px;
  }

  input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #041319 inset;
    -webkit-text-fill-color: #ffffff;
  }
}

/* ═══════════════════════════════════════════════
   DESKTOP MEDIUM (1024px → 1440px)
═══════════════════════════════════════════════ */
@media (min-width: 1025px) and (max-width: 1440px) {
  .container-nav {
    max-width: 1100px;
    padding: 0 32px;
  }

  .navbar {
    width: 100%;
    margin: 0 auto;
  }

  .background {
    height: 580px;
  }

  .hero {
    max-width: 900px;
  }

  .pop-container {
    margin-top: 120px;
  }

  .main-heading {
    font-size: 52px;
    line-height: 64px;
    letter-spacing: -2px;
  }

  .sub-heading {
    font-size: 18px;
    width: 690px;
  }

  .logos {
    max-width: 1100px;
    margin: 114px auto 32px auto;
  }
  .lang-ar .logos {
    margin: 64px auto 32px auto;
  }

  .how-section {
    padding: 64px 80px;
  }

  .how-pop-container {
    max-width: 1100px;
  }

  .how-title {
    font-size: 30px;
    line-height: 38px;
    width: 700px;
  }

  .how-cards {
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    row-gap: 20px;
    column-gap: 20px;
    justify-content: center;
  }

  .how-card1,
  .how-card2,
  .how-card3,
  .how-card4 {
    width: 100%;
    height: 100%;
    padding: 32px 24px;
    white-space: pre-line;
  }

  .contact-section {
    gap: 60px;
    padding: 60px 120px;
  }

  .contact-container {
    width: 500px;
  }

  .location {
    width: 500px;
  }

  .address2-details {
    gap: 80px;
  }

  .address3-details {
    gap: 40px;
  }
  .lang-ar .main-heading {
    font-size: 72px;
  }

  .map {
    height: 220px;
  }

  #form-btn:hover {
    background: #041319;
    color: #50f995;
    padding: 8px 18px;
    outline: 1px solid #50f995;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  }
}

/* ═══════════════════════════════════════════════
   SMALL MOBILE (max-width: 375px)
═══════════════════════════════════════════════ */
@media (min-width: 320px) and (max-width: 375px) {
  .container-nav {
    max-width: 320px;
    padding: 0 12px;
  }

  .logo img {
    height: 32px;
  }

  .hamburger img {
    width: 28px;
    height: 28px;
  }

  .background {
    padding-top: 80px;
    min-height: 55vh;
  }

  .hero {
    max-width: 300px;
    gap: 16px;
  }

  .main-heading {
    font-size: 28px;
    width: 100%;
    height: auto;
    line-height: 36px;
    letter-spacing: -0.5px;
  }

  .sub-heading {
    font-size: 14px;
    line-height: 22px;
    padding: 0 8px;
  }

  .btn {
    width: 180px;
    height: 40px;
    font-size: 14px;
    padding: 10px 16px;
  }

  .logos {
    padding: 24px 0;
  }

  .how-section {
    padding: 24px 12px;
  }

  .how-title {
    font-size: 20px;
    line-height: 28px;
  }

  .how-cards {
    width: 100%;
    gap: 12px;
  }

  .how-card1,
  .how-card2,
  .how-card3,
  .how-card4 {
    width: 100%;
    height: auto;
    padding: 24px 16px;
  }

  .how-card1-title {
    font-size: 15px;
    line-height: 22px;
  }

  .contact-section {
    width: 100%;
    padding: 0 12px;
  }

  .labels {
    width: 100%;
    height: auto;
  }

  .labels input {
    width: 100%;
    font-size: 14px;
  }

  .labels textarea {
    width: 100%;
    font-size: 14px;
  }

  .labels label {
    font-size: 14px;
  }

  .calltime-input {
    width: 100%;
    gap: 6px;
  }

  #calltime-date,
  select {
    width: 50%;
    font-size: 12px;
    padding: 4px;
  }

  form {
    padding: 24px 16px;
    gap: 20px;
  }

  form button {
    width: 100%;
    margin-top: 24px;
    font-size: 16px;
  }

  .location {
    width: 100%;
  }

  .address {
    width: 100%;
    height: auto;
    padding: 24px 16px;
  }

  .address1 h1 {
    font-size: 20px;
  }

  .address1 p {
    font-size: 14px;
  }

  .address2-details {
    width: 100%;
    height: auto;
    gap: 20px;
  }

  .address3-details {
    width: 100%;
    height: auto;
    gap: 16px;
  }

  .address2-d1 h1,
  .address2-d2 h1 {
    font-size: 14px;
  }

  .address2-d1 h2,
  .address2-d2 h2 {
    font-size: 13px;
  }

  .social-logos {
    gap: 8px;
  }

  .social-logos img {
    width: 30px;
    height: 30px;
  }

  .map {
    height: 200px;
  }

  .map iframe {
    width: 100%;
    height: 100%;
  }

  #successMessage {
    width: 95%;
    padding: 24px 16px;
    gap: 24px;
  }

  .success-title h1 {
    font-size: 22px;
    line-height: 30px;
  }

  .success-title h2 {
    font-size: 13px;
    line-height: 22px;
  }

  .success-list {
    width: 100%;
    height: auto;
    padding: 16px;
  }

  #submitAnotherRequest {
    width: 100%;
    font-size: 14px;
  }

  input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #041319 inset;
    -webkit-text-fill-color: #ffffff;
  }
}
/* ═══════════════════════════════════════════════
   MOBILE MEDIUM (376px → 767px)
═══════════════════════════════════════════════ */
@media (min-width: 376px) and (max-width: 767px) {
  .container-nav {
    max-width: 100%;
    padding: 0 20px;
  }
  .hero {
    max-width: 100%;
    padding: 0 20px;
    gap: 20px;
  }
  .main-heading {
    width: 100%;
    max-width: 100%;
    font-size: 32px;
    line-height: 40px;
    letter-spacing: -0.5px;
  }
  .sub-heading {
    font-size: 15px;
    line-height: 23px;
    width: 90%;
  }
  .btn {
    width: 190px;
    height: 44px;
    font-size: 15px;
  }
  .how-section {
    padding: 32px 20px;
  }
  .how-title {
    font-size: 22px;
    line-height: 30px;
  }
  .how-cards {
    width: 100%;
    gap: 16px;
  }
  .how-card1,
  .how-card2,
  .how-card3,
  .how-card4 {
    width: 100%;
    height: auto;
    padding: 28px 20px;
  }
}
/* ═══════════════════════════════════════════════
   MOBILE MEDIUM (376px → 767px)
═══════════════════════════════════════════════ */
@media (min-width: 376px) and (max-width: 767px) {
  .who-section {
    width: 100%;
    padding: 32px 20px;
  }
  .who-container {
    width: 100%;
    gap: 14px;
  }
  .who-title {
    font-size: 22px;
    line-height: 30px;
  }
  .who-text {
    font-size: 15px;
    line-height: 23px;
  }
  .why-ips-section {
    width: 100%;
    padding: 32px 20px;
  }
  .why-ips-container {
    width: 100%;
    gap: 28px;
  }
  .why-img img {
    width: 100%;
    height: auto;
    border-radius: 24px;
  }
  .why-img-desk {
    width: 100%;
    height: auto;
  }
  .why-pop {
    width: 100%;
    height: auto;
    margin-top: 0;
    gap: 24px;
  }
  .why-ips-pop-container {
    width: 100%;
    gap: 14px;
  }
  .why-ips-title {
    font-size: 22px;
    line-height: 30px;
  }
  .why-ips-text-container {
    width: 100%;
  }
  .why-ips-text1,
  .why-ips-text2 {
    font-size: 15px;
    line-height: 23px;
  }
  .why-btn {
    width: 100%;
    max-width: 190px;
    font-size: 16px;
    height: 50px;
  }
  .what-section {
    width: 100%;
    padding: 32px 20px;
  }
  .what-container {
    width: 100%;
    gap: 28px;
  }
  .img-what img {
    width: 100%;
    height: auto;
    border-radius: 24px;
  }
  .img-what-desk img {
    width: 100%;
    height: auto;
    border-radius: 20px;
  }
  .what-pop-container {
    width: 100%;
    height: auto;
  }
  .what-title {
    font-size: 22px;
    line-height: 30px;
  }
  .cores ol li {
    font-size: 15px;
    line-height: 22px;
  }
  .what-btn {
    width: 100%;
    max-width: 230px;
    font-size: 16px;
    margin-top: 20px;
  }
  .represent-section {
    width: 100%;
    padding: 32px 20px;
  }
  .represent-container {
    width: 100%;
    gap: 28px;
  }
  .img-represent img {
    width: 100%;
    height: auto;
    border-radius: 20px;
  }
  .img-represent-desk {
    width: 100%;
    height: auto;
  }
  .img-represent-desk img {
    border-radius: 20px;
    width: 100%;
    height: auto;
  }
  .represent-pop-container {
    width: 100%;
    height: auto;
  }
  .represent-title {
    font-size: 22px;
    line-height: 30px;
  }
  .represent-cores ol li {
    font-size: 15px;
    line-height: 22px;
  }
  .represent-btn {
    width: 100%;
    max-width: 230px;
    font-size: 16px;
    margin-top: 20px;
  }
}
