* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

:root {
  /* Primary / Accent Colors */
  --color-primary: #a9935c; /* Warm Tan */
  --color-secondary: #9f8b58; /* Olive Green */
  --color-tertiary: #b6a374; /* Beige / Warm Grey */

  /* Grey Colors */
  --color-grey-dark: #0f1922;
  --color-grey-medium: #3c3c3c;

  /* Neutral / Background Colors */
  --color-light-bg: #f3f3f4;
  --color-light-bg2: #f1f2f2;
  --color-white: #ffffff;

  /* Text Colors */
  --color-text-light: #f3f3f4;
}

html {
  scroll-behavior: smooth;
}

/* Start Font Faces */

@font-face {
  font-family: "MadaniArabic-Regular";
  src: url("../assets/fonts/MadaniArabic-Regular.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "MadaniArabic-Medium";
  src: url("./assets/fonts/MadaniArabic-Medium.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

/* End Font Faces */

body {
  /* font-size: 1.2em; */

  /*  */
  direction: rtl;
  font-family: "MadaniArabic-Regular";
  /*  */
  margin: 0;
  /*  */
}

html[lang="en"] body {
  direction: ltr;
}

a {
  text-decoration: none;
}

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

/* Start Container */

.container {
  padding: 0 15px;
  margin: 0 auto;
}

/* Small */
@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}

/* Medium */
@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}

/* Large */
@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}

/* Extra Large */
@media (min-width: 1400px) {
  .container {
    width: 1320px;
  }
}

/* End Container */

/* Start Custom Rules */
/* ------------------ */

.hide-element {
  display: none !important;
}

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

.relative {
  position: relative;
}

.block {
  display: block;
}

.nowrap {
  white-space: nowrap;
}

.txt-center {
  text-align: center;
}

.margin-center {
  margin-left: auto;
  margin-right: auto;
}

/* ------------------ */
/* End Custom Rules */

/* Start Overlay */
/* ------------- */

#overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: transparent;
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.45, 0.05, 0.55, 0.95);
  z-index: -1;
}

#overlay.show-overlay {
  z-index: 10;
  opacity: 1;
}

/* ------------ */
/* End Overlay */

/* Start Main Title */
/* ??????????????? */
/* End Main Title */

/* Start Scroll To Top Button */

#btn-scroll-top {
  z-index: 1;
  position: fixed;
  bottom: 20px;
  right: 10px;
  height: 70px;
  width: 70px;
  display: none;
  place-items: center;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--grey-color);
  cursor: pointer;
}

#progress-value {
  display: block;
  height: calc(100% - 10px);
  width: calc(100% - 10px);
  background-color: var(--shadow-blue);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 35px;
  color: white;
}

/* End Scroll To Top Button */

/* Start Header */
.header {
  background-color: var(--color-primary);
  color: white;
  border-bottom: 4px solid var(--color-grey-medium);
}

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

.header .container .section-body .links-logo {
  display: flex;
  align-items: stretch;
  gap: 1em;
}

.header .container .section-body .menu-icon {
  display: none;
}

.header .container .section-body .menu-icon svg {
  width: 40px;
  height: 40px;
  /*  */
  cursor: pointer;
  transition: color 0.3s cubic-bezier(0.45, 0.05, 0.55, 0.95);
}

.header .container .section-body .menu-icon:hover svg {
  color: var(--color-grey-medium);
}

@media (max-width: 767px) {
  .header .container .section-body .menu-icon {
    display: block;
  }
}

/* .header .container .section-body .alt-logo {} */

.header .container .section-body .alt-logo img {
  width: 110px;
  height: 100%;
}

/* >>> Header - ul.Links */

.header .container .section-body ul.links {
  display: flex;
  align-items: center;
  gap: 2em;
  padding: 0 1em;
  margin: 0.8em 0;
  border-left: 1px solid white;
  border-right: 1px solid white;
}

@media (max-width: 991px) {
  .header .container .section-body ul.links {
    gap: 1.5em;
  }
}

@media (max-width: 767px) {
  .header .container .section-body ul.links {
    display: none;
  }
}

.header .container .section-body ul.links li a {
  font-size: 20px;
  /*  */
  display: flex;
  align-items: center;
  gap: 0.5em;
  /*  */
  color: white;
  /*  */
  background-color: transparent;
  border-radius: 0.8em 0 0.8em 0;
  padding: 0 0.5em 5px;
  line-height: 1.2;
  /*  */
  transition: background-color 0.3s cubic-bezier(0.45, 0.05, 0.55, 0.95);
}

.header .container .section-body ul.links li a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.header .container .section-body ul.links li a.active {
  background-color: rgba(255, 255, 255, 0.2);
}

.header .container .section-body ul.links li a span {
  display: block;
  white-space: nowrap;
}

.header .container .section-body ul.links li a span.list-style {
  width: 8px;
  height: 8px;
  rotate: 45deg;
  background-color: white;
  margin-top: 8px;
  /*  */
  flex-shrink: 0;
}

/* End Header */

/* Start Mobile Menu */
.mobile-menu {
  background-color: var(--color-grey-medium);
  border-radius: 1.5em 0 1.5em 0;
  overflow: hidden;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(-50vh - 100%));
  /*  */
  transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.mobile-menu.show-menu {
  z-index: 10;
  transform: translate(-50%, -50%);
}

.mobile-menu ul.links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1em;
  padding: 1em;
  /*  */
  border-left: 5px solid var(--color-primary);
  border-right: 5px solid var(--color-primary);
}

.mobile-menu ul.links li a {
  font-size: 20px;
  /*  */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5em;
  /*  */
  white-space: nowrap;
  /*  */
  color: white;
  /*  */
  background-color: transparent;
  border-radius: 0.8em 0 0.8em 0;
  padding: 0 0.5em;
  line-height: 1.7;
  /*  */
  transition: background-color 0.3s cubic-bezier(0.45, 0.05, 0.55, 0.95);
  /*  */
  min-width: 200px;
}

.mobile-menu ul.links li a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.mobile-menu ul.links li a.active {
  background-color: rgba(255, 255, 255, 0.2);
}

.mobile-menu ul.links li a span {
  display: block;
}

.mobile-menu ul.links li a span.list-style {
  width: 8px;
  height: 8px;
  rotate: 45deg;
  background-color: white;
  margin-top: 4px;
  /*  */
  flex-shrink: 0;
}

/* End Mobile Menu */

/* Start Language Toggle */

.lang-toggle {
  padding: 1em 0;
  position: relative;
  z-index: 1;
}

.flipswitch {
  direction: ltr;
  position: relative;
  width: 115px;
}

.flipswitch input[type="checkbox"] {
  display: none;
}

.flipswitch-label {
  display: block;
  overflow: hidden;
  cursor: pointer;
  border-radius: 0.8em 0 0.8em 0;
  /* border: 1px solid var(--color-grey-dark); */
}

.flipswitch-inner {
  width: 200%;
  margin-left: -100%;
  transition: margin 0.3s cubic-bezier(0.65, 0.05, 0.36, 1) 0s;
}

.flipswitch-inner:before,
.flipswitch-inner:after {
  line-height: 22px;
  font-size: 20px;
  /*  */
  float: left;
  width: 50%;
  height: 28px;
  padding: 0;
  color: white;
  font-weight: bold;
  box-sizing: border-box;
}

.flipswitch-inner:before {
  content: "العربية";
  padding-left: 10px;
  background-color: var(--color-grey-medium);
  color: #ffffff;
}

.flipswitch-inner:after {
  content: "English";
  padding-right: 10px;
  background-color: var(--color-secondary);
  color: white;
  text-align: right;
}

.flipswitch-switch {
  width: 15px;
  height: 15px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 93px;
  transition: all 0.3s cubic-bezier(0.65, 0.05, 0.36, 1) 0s;
}

.flipswitch-cb:checked + .flipswitch-label .flipswitch-inner {
  margin-left: 0;
}

.flipswitch-cb:checked + .flipswitch-label .flipswitch-switch {
  right: 8px;
}

/* End Language Toggle */

/* Start Footer */

.footer {
  /* font-size: 20px; */
  padding: 50px 0;
  background-color: var(--color-grey-medium);
}

.footer .container .section-body > h2 {
  line-height: 1;
  font-size: 30px;
  /*  */
  margin: 0;
  background-color: white;
  color: black;
  width: fit-content;
  padding: 0 50px 0 10px;
  /*  */
  height: 40px;
  position: relative;
}

.footer .container .section-body > h2::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 40px;
  height: 100%;
  background-color: var(--color-primary);
}

.footer .container .section-body .details {
  margin-top: 50px;
  /*  */
  display: flex;
  flex-wrap: wrap;
}

@media (max-width: 662px) {
  .footer .container .section-body .details {
    gap: 3em;
  }
}

.footer .container .section-body .details .info {
  color: white;
  flex-shrink: 0;
  min-width: 50%;
}

.footer .container .section-body .details .info .element:not(:last-child) {
  margin-bottom: 10px;
}

.footer .container .section-body .details .info .element span.phone {
  direction: ltr;
  display: inline-block;
}

.footer .container .section-body .details .info svg {
  margin-bottom: -5px;
  margin-left: 5px;
  width: 1.5em;
  height: 1.5em;
}

.footer .container .section-body .details .links {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer .container .section-body .details .links a {
  color: white;
  transition: color 0.3s cubic-bezier(0.45, 0.05, 0.55, 0.95);
}

@media (max-width: 440px) {
  .footer .container .section-body .details {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .footer .container .section-body .details .info {
    padding-bottom: 1.5em;
    border-bottom: 1px dashed white;
  }

  .footer .container .section-body .details .links {
    padding-top: 1.5em;
    /*  */
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 8em;
  }

  .footer .container .section-body .details .links a svg {
    width: 30px;
    height: 30px;
  }
}

.footer .container .section-body .details .links a:hover {
  color: var(--color-tertiary);
}

/* End Footer */
