/*** The new CSS Reset - version 1.2.0 (last updated 23.7.2021) ***/

/* Remove all the styles of the "User-Agent-Stylesheet", except for the 'display' property */
*:where(:not(iframe, canvas, img, svg, video):not(svg *)) {
  all: unset;
  display: revert;
}

/* Preferred box-sizing value */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/*
    Remove list styles (bullets/numbers)
    in case you use it with normalize.css
  */
ol,
ul {
  list-style: none;
}

/* For images to not be able to exceed their container */
img {
  max-width: 100%;
  display: block;
}

/* Removes spacing between cells in tables */
table {
  border-collapse: collapse;
}

/* Revert the 'white-space' property for textarea elements on Safari */
textarea {
  white-space: revert;
}

a,
button {
  cursor: pointer;
}

body {
  overflow-x: hidden;
  font-family: "Cairo", serif;
  direction: rtl;
  background-color: var(--primary-color);
}

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

.flex {
  display: flex;
}

.justify-between {
  justify-content: space-between;
}
.flex-col {
  display: flex;
  flex-direction: column;
}

.space-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.align-items {
  align-items: center;
}

.gap-5 {
  gap: 1rem;
}
.gap-10 {
  gap: 2rem;
}

.primary-btn,
.secondary-btn {
  padding: 0.7rem 3rem;
  font-weight: 600;
  border-radius: 5px;
}

.primary-btn {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.secondary-btn {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.ml-5 {
  margin-left: 0.5rem;
}

.title {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
}

.sub-title {
  font-size: 1.5rem;
  color: var(--secondary-color);
}

/* Whatsapp */
.whatsapp {
  position: fixed;
  z-index: 100;
  bottom: 3rem;
  right: 3rem;
  --animate-duration: 2s;
}
.whatsapp svg {
  transform: scale(1);
  transition: transform 1s ease-out;
}
.whatsapp svg:hover {
  transform: scale(0.85);
}

/* Animated Arrow */
.animated-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: absolute;
  bottom: 150px;
}

.chevron {
  position: absolute;
  width: 2.1rem;
  height: 0.48rem;
  opacity: 0;
  transform: scale(0.3);
  -webkit-animation: move-chevron 3s ease-out infinite;
  animation: move-chevron 3s ease-out infinite;
}

.chevron:first-child {
  -webkit-animation: move-chevron 3s ease-out 1s infinite;
  animation: move-chevron 3s ease-out 1s infinite;
}

.chevron:nth-child(2) {
  -webkit-animation: move-chevron 3s ease-out 2s infinite;
  animation: move-chevron 3s ease-out 2s infinite;
}

.chevron:before,
.chevron:after {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  width: 50%;
  background: var(--secondary-color);
}

.chevron:before {
  left: 0;
  transform: skewY(30deg);
}

.chevron:after {
  right: 0;
  width: 50%;
  transform: skewY(-30deg);
}

@-webkit-keyframes move-chevron {
  25% {
    opacity: 1;
  }
  33.3% {
    opacity: 1;
    transform: translateY(2.28rem);
  }
  66.6% {
    opacity: 1;
    transform: translateY(3.12rem);
  }
  100% {
    opacity: 0;
    transform: translateY(4.8rem) scale(0.5);
  }
}

@keyframes move-chevron {
  25% {
    opacity: 1;
  }
  33.3% {
    opacity: 1;
    transform: translateY(2.28rem);
  }
  66.6% {
    opacity: 1;
    transform: translateY(3.12rem);
  }
  100% {
    opacity: 0;
    transform: translateY(4.8rem) scale(0.5);
  }
}

/* Selection */
::selection {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

button {
  transition: 0.2s ease-out;
}
button:hover {
  transform: scale(0.95);
}

/* Services */
.first-services {
  margin-bottom: 5rem;
  position: relative;
}
.services-title {
  text-align: center;
  margin-bottom: 2rem;
}
.services-grid {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.service {
  border: 1px solid var(--secondary-color);
  padding: 2rem 1rem;
  color: var(--secondary-color);
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 10px;
  flex: 0 1 calc(25% - 1rem);
  max-width: calc(25% - 1rem);
  text-align: center;
  line-height: 1.4;
}
.service .service-icon {
  margin-bottom: 1rem;
  width: 60px;
}

#meeting {
  position: relative;
}

#services {
  position: relative;
}

#services .bg-overlay {
  position: absolute;
  z-index: -1;
  left: -1px;
  top: 500px;
}

#meeting .bg-overlay {
  position: absolute;
  z-index: -1;
  left: -1px;
}
