@font-face {
  font-family: "Cairo";
  src: url("../assets/webfonts/Cairo-ExtraLight.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: "Cairo";
  src: url("../assets/webfonts/Cairo-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

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

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

@font-face {
  font-family: "Cairo";
  src: url("../assets/webfonts/Cairo-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Cairo";
  src: url("../assets/webfonts/Cairo-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Cairo";
  src: url("../assets/webfonts/Cairo-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: "Cairo";
  src: url("../assets/webfonts/Cairo-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  font-family: "cairo";
  box-sizing: border-box !important;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

/* Chrome, Edge and Safari */
*::-webkit-scrollbar {
  height: 8px;
  width: 8px;
}
*::-webkit-scrollbar-track {
  border-radius: 5px;
  background-color: #dfe9eb;
}

*::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background-color: #e5a85e;
}

/* Remove arrows number input  for Chrome, Edge, and Safari */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Remove arrows number input  for Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

.align-desc {
  hyphens: auto;
  text-align: justify !important;
  word-wrap: break-word;
  word-spacing: -2px;

  &:lang(ar) {
    text-align-last: right;
  }
  &:lang(en) {
    text-align-last: left;
  }
}

.align-desc {
  hyphens: auto;
  text-align: justify !important;
  word-wrap: break-word;
  word-spacing: -2px;
}

.btn__arrow {
  border: none;
  display: flex;
  width: 168px;
  height: 47px;
  padding: 8px 15px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  background: rgba(27, 27, 27, 0.8);
  color: #fff;
  text-align: center;
  font-family: Cairo;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.6px;
  position: relative;
  z-index: 0;
  text-decoration: none;
  &::before {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid rgba(27, 27, 27, 0.8);

    /* border-top: 6px solid #ebcd7d; */
    border-bottom: none;
    width: 0;
    height: 0;
    transition: all 1s ease-in-out;
    z-index: 1;
  }

  &::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 0;
    width: 100%;
    background: var(--Linear, linear-gradient(97deg, #a9793e 0%, #ebcd7d 100%));
    z-index: -1;
    transition: all 01s ease-in-out;
  }

  &:hover {
    &::after {
      height: 100%;
    }
    &::before {
      opacity: 1;
      transform: translateX(-50%) translateY(6px);
      transition: all 1s ease-in-out;
      border-top: 6px solid #ebcd7d;
    }
  }
}

.btn__about {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 67.889px;
  padding: 11.556px 21.667px;
  gap: 14.444px;
  flex-shrink: 0;
  background: #1b1b1b;
  border: none;
  color: #fff;
  font-family: Cairo;
  font-size: 28.889px;
  font-weight: 700;
  letter-spacing: 0.867px;
  position: relative;
  transition: all 0.5s ease-in-out;
  /* overflow: hidden; */
  z-index: 1;
  &::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(97deg, #a9793e 0%, #ebcd7d 100%);
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: -1;
  }

  &::before {
    content: "";
    background-image: url(../assets/images/about-arrow.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 17px;
    height: 17px;
    position: absolute;
    bottom: -11.55px;
    right: 55px;
    transition: all 0.5s ease-in-out;
    opacity: 0;
  }

  &.active {
    /* background: var(--Linear, linear-gradient(97deg, #a9793e 0%, #ebcd7d 100%)); */
    /* transition: background 0.5s ease-in-out; */
    &::before {
      opacity: 1;
    }

    &::after {
      opacity: 1;
    }
  }
}

/* start animations */
@keyframes bounce {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0);
  }
}
/* End animations */

.slick-dots {
  bottom: -40px;
}

.slick-dots li.slick-active button:before {
  color: #ebcd7d;
  font-size: 10px;
}
.slick-dots li button:before {
  color: #ffffff;
  font-size: 10px;
}

@media screen and (max-width: 700px) {
  .slick-dots {
    bottom: -50px;
  }
}

@media screen and (max-width: 500px) {
  .slick-dots {
    bottom: -70px;
  }
}
