@font-face {
  font-family: "Helvetica Neue Arabic";
  src: url("../fonts/HELVETICANEUELT-ARABIC-55-ROMAN.TTF") format("truetype");
  font-style: normal;
}

@font-face {
  font-family: "Helvetica Neue Arabic";
  src: url("../fonts/HELVETICANEUELTARABIC-BOLD.TTF") format("truetype");
  font-weight: 600 900;
  font-style: normal;
}

@font-face {
  font-family: "Helvetica Neue Arabic";
  src: url("../fonts/HelveticaNeueLTArabic-Light_0.ttf") format("truetype");
  font-weight: 300 500;
  font-style: normal;
}

:root {
  --fs-56: clamp(4.5rem, 4.5vw, 5.6rem);
  --fs-44: clamp(3.4rem, 4vw, 4.4rem);
  --fs-36: clamp(3rem, 3.5vw, 3.6rem);
  --fs-32: clamp(2.6rem, 3vw, 3.2rem);
  --fs-24: clamp(1.9rem, 2vw, 2.4rem);
  --fs-21: clamp(1.8rem, 1.8vw, 2.1rem);
  --fs-20: clamp(1.7rem, 1.6vw, 2rem);
  --fs-19: clamp(1.6rem, 1.5vw, 1.9rem);
  --fs-18: clamp(1.5rem, 1.4vw, 1.8rem);
  --fs-16: clamp(1.4rem, 1.2vw, 1.6rem);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Helvetica Neue Arabic", sans-serif;
  text-decoration: none;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

a {
  text-decoration: none;
  color: var(--bs-white);
}

img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 991px) {
  html {
    font-size: 60%;
  }
}

@media (max-width: 768px) {
  html{
    overflow-x: hidden;
  }
}

@media (max-width: 450px) {
  html {
    font-size: 55%;
  }
}

/* -----------------navbar-------------------- */
.nav-links a {
  padding: 0.8rem 1.2rem;
  border-radius: 1.6rem;
  transition: 0.3s ease;
  font-size: var(--fs-16);
  font-weight: 300;
}

.nav-links a:hover {
  background-color: var(--bs-black-600);
}

.nav-links a.active:hover {
  background-color: var(--bs-black-600);
}

.nav-links a.active {
  background-color: var(--bs-black-600);
  font-weight: 400;
}

.add-account span {
  color: var(--bs-black);
  font-size: var(--fs-16);
  font-weight: 300;
  background-color: var(--bs-gray-400);
  border-radius: 6px;
  padding: 0.8rem 1.2rem;
}

/* ----------------------------sidebar----------------------- */
.offcanvas {
  background-color: var(--bs-white);
}

.offcanvas-body a {
  font-size: var(--fs-18);
  color: var(--bs-dark);
  padding: 1rem 0;
  display: block;
  text-align: center;
  border: 0.1rem solid var(--bs-border-gray);
  border-radius: 0.8rem;
  transition: 0.3s;
  font-weight: 500;
}

.offcanvas-body a:hover {
  background-color: var(--bs-indigo);
  color: var(--bs-light);
}

.offcanvas-header h5 {
  font-size: var(--fs-20);
  color: var(--bs-dark);
  font-weight: 700;
}

#mobileMenu.offcanvas {
  width: 30rem;
  max-width: 90vw;
}

/* --------------------------------we are in-----------------------  */
.sign-in {
  backdrop-filter: blur(10px);
}

/* ------------------footer section------------------- */
.footer {
  background-color: var(--bs-white);
}

.footer h3 {
  font-size: var(--fs-20);
  font-weight: 400;
  color: var(--bs-indigo);
}

.quick-links a {
  position: relative;
  display: block;
  font-size: var(--fs-16);
  color: var(--bs-teal);
  font-weight: 300;
  transition: 0.3s;
}

.quick-links a::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 0;
  height: 0;
  border-radius: 0.8rem;
  height: 0.5rem;
  background-color: var(--bs-indigo);
  transition: 0.3s;
}

.quick-links a:hover {
  color: var(--bs-indigo);
  padding-right: 2rem;
}

.quick-links a:hover::before {
  width: 1.5rem;
}

.contact-us-wrapper .icon {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background-color: var(--bs-indigo);
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-us-wrapper h6 {
  font-size: var(--fs-16);
  color: var(--bs-indigo);
  font-weight: 500;
}

.contact-us-wrapper p,
.contact-us-wrapper a,
.message p,
.message input::placeholder {
  font-size: var(--fs-16);
  color: var(--bs-gray);
  font-weight: 400;
}

.message input {
  border: 0.1rem solid var(--bs-border-gray);
  border-radius: 0.8rem;
  padding: 1.5rem 2.4rem;
  width: 24.8rem;
  height: 5.8rem;
}

.message input:focus {
  box-shadow: none;
  outline: none;
}

.message button {
  border-radius: 5px;
  font-size: var(--fs-16);
  font-weight: 400;
  width: 11.2rem;
  height: 5.8rem;
}

.copyright {
  background-color: var(--bs-indigo);
  color: var(--bs-white);
  font-size: var(--fs-16);
  font-weight: 300;
}

/* -------------------loading----------------------- */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.3s;
}

.page-loader.hidden {
  opacity: 0;
  pointer-events: none;
}

/* -------------------- reveal-on-scroll animations -------------------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(3rem);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}

.animate-on-scroll.in-view {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* -------------------- consistent spacing between stacked sections -------------------- */
.values-section,
.aqar-ads,
.rent-now,
.about-banner,
.services-listing,
.gov-licenses {
  margin-top: 6rem;
  margin-bottom: 6rem;
}

@media (max-width: 768px) {
  .values-section,
  .aqar-ads,
  .rent-now,
  .about-banner,
  .services-listing,
  .gov-licenses {
    margin-top: 3.5rem;
    margin-bottom: 3.5rem;
  }
}

/* -------------------- coming-soon modal -------------------- */
.coming-soon-content {
  background-color: var(--bs-white);
  border-radius: 1.6rem;
  box-shadow: 0 20px 60px rgba(80, 32, 45, 0.25);
}

.coming-soon-content .btn-close {
  opacity: 0.9;
}

.coming-soon-emoji {
  font-size: 5rem;
  line-height: 1;
}

.coming-soon-content h3 {
  color: var(--bs-indigo);
  font-size: var(--fs-24);
  font-weight: 700;
}

.coming-soon-content p {
  color: var(--bs-teal);
  font-size: var(--fs-18);
  line-height: 1.8;
  font-weight: 400;
}

/* -------------------- navbar services dropdown -------------------- */
.nav-dropdown {
  position: relative;
}

.nav-dropdown .services-menu {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 1000;
  min-width: 24rem;
  margin: 0;
  padding: 1rem;
  list-style: none;
  background-color: var(--bs-white);
  border-radius: 1.2rem;
  box-shadow: 0 1.5rem 4rem rgba(80, 32, 45, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(1.4rem);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.nav-dropdown:hover .services-menu,
.nav-dropdown:focus-within .services-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0.6rem);
}

.nav-dropdown .services-menu li a {
  display: block;
  padding: 1rem 1.4rem;
  border-radius: 0.8rem;
  color: var(--bs-teal) !important;
  font-size: var(--fs-16);
  font-weight: 500;
  white-space: nowrap;
  transition: 0.2s ease;
}

.nav-dropdown .services-menu li a:hover {
  background-color: var(--bs-indigo) !important;
  color: var(--bs-white) !important;
}

.logo-home {
  display: inline-block;
}

/* -------------------- partners marquee -------------------- */
.brand-swiper {
  width: 100%;
  direction: rtl;
  overflow: hidden;
  background-color: var(--bs-white-smoke);
  padding: 2.5rem 0;
}

.brand-swiper .swiper-wrapper {
  align-items: center;
  transition-timing-function: linear !important;
}

.brand-swiper .swiper-slide {
  width: 18rem;
  height: 10rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.8rem 2.2rem;
  background-color: var(--bs-white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 1.2rem;
  box-shadow: 0 0.6rem 1.8rem rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-swiper .swiper-slide:hover {
  transform: translateY(-0.4rem);
  box-shadow: 0 1rem 2.6rem rgba(80, 32, 45, 0.15);
}

.brand-swiper .swiper-slide img {
  width: auto !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.brand-swiper .swiper-slide:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* -------------------- 404 not found -------------------- */
.not-found {
  min-height: 68vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 2rem;
}

.not-found h1 {
  font-size: clamp(9rem, 22vw, 17rem);
  color: var(--bs-indigo);
  font-weight: 700;
  line-height: 1;
}

.not-found h2 {
  font-size: var(--fs-32);
  color: var(--bs-black);
  font-weight: 700;
  margin-top: 0.5rem;
}

.not-found p {
  font-size: var(--fs-18);
  color: var(--bs-teal);
  max-width: 52rem;
  margin: 1.6rem auto 2.6rem;
  line-height: 1.9;
}

/* -------------------- branded outline button -------------------- */
.btn-outline-brand {
  --bs-btn-color: var(--bs-indigo);
  --bs-btn-bg: transparent;
  --bs-btn-border-color: var(--bs-indigo);
  --bs-btn-hover-color: var(--bs-white);
  --bs-btn-hover-bg: var(--bs-indigo);
  --bs-btn-hover-border-color: var(--bs-indigo);
  --bs-btn-active-color: var(--bs-white);
  --bs-btn-active-bg: var(--bs-indigo);
  --bs-btn-active-border-color: var(--bs-indigo);
  --bs-btn-padding-x: 2.4rem;
  --bs-btn-padding-y: 0.8rem;
  --bs-btn-font-size: var(--fs-18);
  --bs-btn-font-weight: 700;
  --bs-btn-border-radius: 6px;
  --bs-btn-border-width: 1px;
}
