@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&display=swap");

*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

:root {
  --white-color: #eee;
  --black-color: #333;
  --gray-color: #ccc;
  --blue-color: #4763eb;
  --dark-blue-color: #322797;
  --button-color: #ad1a1a;
  --hover-button-color: #9e1212;
}

html {
  font-size: 62.5%;
  direction: rtl;
  scroll-behavior: smooth;
}

body {
  box-sizing: border-box;
  font-family: "Cairo", sans-serif;
}

body:has(#nav-icon.open) {
  overflow: hidden;
}

.container {
  width: 95%;
  max-width: 1560px;
  margin: 0 auto;
}

/* _________ */

/* FLEX */

.flex {
  display: flex;
}

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

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

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

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

.column {
  flex-direction: column;
}

.grid {
  display: grid;
  gap: 2.4rem;
}

.grid--2-cols {
  grid-template-columns: repeat(2, 1fr);
}

.flued-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* ____ */

/* BUTTON */

.btn:link,
.btn:visited {
  display: inline-block;
  border: unset;
  outline: unset;
  padding: 1.6rem 3.2rem;
  border-radius: 1.2rem;
  font-size: 1.6rem;
  font-weight: 600;
  text-align: center;
  color: var(--white-color);
  background-color: var(--button-color);
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  box-shadow: 0 0.3rem 1.6rem rgba(0, 0, 0, 0.25);
  text-decoration: none;
}

.btn:hover {
  background-color: var(--hover-button-color);
  box-shadow: 0 0.8rem 1.6rem rgba(0, 0, 0, 0.25);
  transform: translateY(-3px);
}

.btn:active {
  transform: translateY(-1px);
  box-shadow: 0 0.3rem 1.6rem rgba(0, 0, 0, 0.25);
}

.secondary-btn {
  padding: 1rem 1.6rem;
  font-size: 1.6rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--black-color);
  background-color: transparent;
  border: unset;
  outline: unset;

  cursor: pointer;

  position: relative;
  z-index: 0;
}

.secondary-btn::before {
  content: "";
  position: absolute;
  bottom: 50%;
  right: 0;
  translate: 0 90%;

  height: 30%;
  width: 20%;
  z-index: -1;
  isolation: isolate;

  background-color: var(--white-color);

  transition: all 0.3s ease-in-out;
}

.secondary-btn:hover::before {
  width: 100%;
}

.heading-secondary {
  font-size: 4.4rem;
  line-height: 1.2;
  margin-bottom: 9.6rem;
  color: #333;
  letter-spacing: -0.5px;
}

.subheading {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--blue-color);
  text-transform: uppercase;
  margin-bottom: 1.6rem;
  letter-spacing: 0.75px;
}

@media (max-width: 44em) {
  .heading-secondary {
    margin-bottom: 4.8rem;
  }
}
@media (max-width: 75em) {
  .heading-secondary {
    font-size: 3.6rem;
  }
}

/* ______ */

#nav-icon {
  width: 60px;
  height: 45px;
  position: relative;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.5s ease-in-out;
  -moz-transition: 0.5s ease-in-out;
  -o-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
  cursor: pointer;
  z-index: 12;
  display: none;
}

#nav-icon span {
  display: block;
  position: absolute;
  height: 5px;
  width: 100%;
  background: var(--button-color);
  border-radius: 9px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.25s ease-in-out;
  -moz-transition: 0.25s ease-in-out;
  -o-transition: 0.25s ease-in-out;
  transition: 0.25s ease-in-out;
}

#nav-icon span:nth-child(1) {
  top: 20%;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

#nav-icon span:nth-child(2) {
  top: 50%;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

#nav-icon span:nth-child(3) {
  top: 80%;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

#nav-icon.open span:nth-child(1) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  top: -3px;
  left: 8px;
}

#nav-icon.open span:nth-child(2) {
  width: 0%;
  opacity: 0;
}

#nav-icon.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  top: 39px;
  left: 8px;
}

.img-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.carousel-image {
  display: none;
  height: 511px;
}

.carousel-image.wide-image {
  width: 90%;
  object-fit: cover;
}

.carousel-image.fit-image {
  width: auto;
  height: 80%;
}

.carousel-image.active {
  display: block;
}

.carousel-dots-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  gap: 1.2rem;
}

.carousel-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  position: relative;
}

.carousel-dot.active {
  background-color: var(--button-color);
}

.carousel-dot::after {
  content: "";
  position: absolute;
  width: 17px;
  height: 17px;
  border: 2px solid var(--black-color);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
}

.whatsapp_FLOAT {
  position: fixed;
  right: 24px;
  bottom: 24px;

  z-index: 30;
}

.whatsapp_FLOAT .whatsapp-icon {
  width: 40px;
  height: 40px;
  color: green;
  transition: all 0.3s ease-in-out;
}

.whatsapp_FLOAT .whatsapp-icon:hover {
  translate: 0 -3px;
}

/* HEADER */
.header {
  margin-bottom: 10rem;
  animation: slide-in-top 0.3s ease-in-out;
}

.logo-cont img {
  height: 10rem;
}

nav ul {
  list-style: none;
}

.header-container .links,
.footer-navigation-container .links {
  gap: 2.4rem;
  font-size: 1.6rem;
}

.header-container .links a:link,
.footer-navigation-container .links a:link,
.header-container .links a:visited,
.footer-navigation-container .links a:visited {
  text-decoration: none;
  color: var(--black-color);
  font-weight: 700;
  position: relative;
}

.header-container .links a::before,
.footer-navigation-container .links a::before {
  content: "";
  height: 2px;
  width: 100%;
  background-color: #333;
  position: absolute;
  bottom: -10px;
  left: 0;
  scale: 0 1;
  transition: all 0.3s ease-in-out;
}

.header-container .links a:hover::before,
.header-container .links a:active::before,
.footer-navigation-container .links a:hover::before,
.footer-navigation-container .links a:active::before {
  scale: 1 1;
}

.header-container .links a.active::before,
.footer-navigation-container .links a.active::before {
  scale: 1 1;
}

footer {
  position: relative;
}

.developers {
  position: absolute;
  left: 0;
  bottom: 1.5rem;
  width: 100%;
  text-align: center;
}

.developers p {
  font-size: 1.8rem;
}

.developers a {
  color: var(--button-color);
  font-weight: 800;
  text-decoration: none;
}

.header-container .links ul {
  position: absolute;
  padding: 1.6rem 3.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  z-index: 25;
  margin-top: 1.6rem;
  background-color: #fff;
  box-shadow: 0 1.4rem 2.4rem rgba(0, 0, 0, 0.24);
  visibility: hidden;
  scale: 1 0;
  transform-origin: top center;
  transition: all 0.3s ease-in-out;
}

.header-container .links .collapsable-els-cont:hover ul {
  visibility: visible;
  scale: 1 1;
}

.header-container .links ul li a {
  display: inline-block;
  transition: all 0.3s ease-in-out;
}

.header-container .links ul li a:hover {
  transform: translateX(-3px);
}
/* ______ */

@media (max-width: 1000px) {
  #nav-icon {
    display: block;
  }

  .header-container nav {
    position: fixed;
    z-index: 11;
    width: 100%;
    height: 100%;
    background-color: #fff;
    bottom: 0;
    left: -100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease-in-out;
  }

  .header-container nav ul {
    flex-direction: column;
  }

  nav:has(+ #nav-icon.open) {
    left: 0;
  }

  .footer-navigation {
    display: none;
  }
}

.footer {
  padding: 9.6rem 0 3.2rem;
  color: var(--white-color);
  background-color: var(--dark-blue-color);
}
.footer-information {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9.6rem;
  margin-bottom: 8rem;
}

.footer-title {
  font-size: 3.6rem;
}

.footer-address {
  margin-top: 3.2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.footer-address--title {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.footer-link:link,
.footer-link:visited {
  display: inline-block;
  color: var(--gray-color);
  font-size: 1.6rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease-in-out;
}

.footer-link:hover,
.footer-link:active {
  border-color: var(--gray-color);
}

.social-media-links {
  margin-top: 3.6rem;
  display: flex;
  gap: 1.6rem;
}

.social-media-link-icon {
  width: 4.8rem;
  height: 4.8rem;
  fill: var(--white-color);
}

.social-media-link:link,
.social-media-link:visited {
  transition: all 0.3s ease-in-out;
}

.social-media-link:hover,
.social-media-link:active {
  translate: 0 -3px;
  box-shadow: 0 1.2rem 2.4rem rgba(0, 0, 0, 0.1);
}

.connections-details {
  display: inline-flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-phone {
  font-size: 2rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--white-color);
  transition: all 0.3s ease-in-out;
}

.footer-phone:hover,
.footer-phone:active {
  color: var(--button-color);
}

.footer-navigation-container {
  border-top: 2px solid var(--gray-color);
  max-width: 100rem;
  margin: 0 auto;
}

.footer-navigation-container .links a:link,
.footer-navigation-container .links a:visited {
  color: var(--white-color);
}
.footer-navigation-container .links a::before {
  background-color: var(--white-color);
}

.lightbox {
  cursor: zoom-out;
}
