* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: "acumin";
  src: url("../assets/fonts/acumin-pro-wide-light.otf");
}

body {
  font-family: "acumin";
}

.lang-ar {
  direction: rtl;
}
nav {
  background-color: #090b0e;
  color: #ffffff;
  padding: 0 20px 100px;
  padding-right: 40px;
  position: relative;
  z-index: 2;
  position: fixed;
  width: 100vw;
  height: 100vh;
  background-color: transparent;
  backdrop-filter: blur(20px);
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

nav.show {
  transform: translateX(0);
  opacity: 1;
}
nav .nav-header {
  display: flex;
  justify-content: flex-end;
  padding: 20px 10px;
}

nav .nav-header span:last-child {
  cursor: pointer;
}

nav .nav-header span {
  font-weight: 400;
  font-size: 15px;
}

nav .pages {
  margin: 80px 30px 0;
  list-style: none;
  font-weight: 400;
  font-size: 25px;
  padding-left: 0;
}
nav .pages li {
  margin-bottom: 20px;
  cursor: pointer;
}

nav .pages li a {
  color: #fff;
  text-decoration: none;
}
nav .pages li img {
  margin-left: 24px;
  cursor: pointer;
}

nav .timetable {
  margin-top: 30px;
  list-style: none;
  font-weight: 300;
  font-size: 20px;
  display: none;
}

nav .timetable.show {
  display: block;
}

nav button {
  background: #028e9f;
  padding: 7px 20px;
  border-radius: 5px;
  font-weight: 700;
  font-size: 14px;
  color: #ffffff;
  margin: 20px 0;
  border: none;
  margin-left: 30px;
  cursor: pointer;
}
nav button a {
  color: #fff;
  text-decoration: none;
}
nav hr {
  width: 50%;
  margin-left: 30px;
}
nav .loaction {
  font-weight: 400;
  font-size: 16px;
  margin-left: 30px;
  margin-top: 20px;
  display: block;
}

nav .sochial {
  list-style: none;
  display: flex;
  font-weight: 400;
  font-size: 16px;
  margin-top: 20px;
  padding-left: 0;
  margin-left: 30px;
  gap: 10px;
}

.navigation-section {
  position: fixed;
  top: 15px;
  color: rgba(255, 255, 255, 1);
  left: 0;
  right: 0;
  margin: 0 auto;
  width: calc(100% - 120px);
  z-index: 1;
}

.navigation-bar {
  height: 4px;
  background-color: rgba(235, 235, 235, 0.3);
  border-radius: 10px;
}

.bar-fill {
  border-radius: 10px;
  width: 0%;
  height: 100%;
  background-color: #028e9f;
  transition: width 0.2s ease;
}

.header-photos {
  position: fixed;
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding: 20px 60px;
  padding-top: 30px;
  z-index: 1;
}

.header-photos img:last-child {
  cursor: pointer;
}

section {
  height: 100vh;
  position: relative;
  background-position: center;
}

section .card {
  width: 504px;
  border-radius: 20px;
  position: absolute;
  bottom: 30px;
  left: 100px;
  z-index: 1;
}

section .card ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin-bottom: 10px;
}

section .card span {
  font-size: 40px;
  color: #fff;
  margin-bottom: 10px;
  display: block;
  font-weight: 400;
}

section .card p {
  color: rgba(255, 255, 255, 1);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.8;
}

.first-section {
  background: url("../assets/imgs/class-1.jpg") no-repeat center/cover;
  background-position: 75%;
}
.lang-ar .first-section span {
  right: 60px;
  left: unset;
}
.first-section span {
  position: absolute;
  bottom: 60px;
  left: 60px;
  color: rgba(255, 255, 255, 1);
  font-weight: 700;
  font-size: 40px;
}

.first-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  mix-blend-mode: multiply;
}

.second-section {
  background: url("../assets/imgs/1-1-ladies-bg.jpg") no-repeat center/cover;
  background-position: 55%;
}

.third-section {
  background: url("../assets/imgs/aqua-aerobics-bg.jpg") no-repeat center/cover;
  background-position: 85%;
}

.second-section .card,
.fourth-section .card {
  right: 100px;
  left: auto;
}

footer {
  display: flex;
  justify-content: space-between;
  width: 100%;
  background: rgba(12, 12, 12, 1);
  align-items: center;
  padding: 60px;
  gap: 50px;
  backdrop-filter: blur(20px);
  color: rgba(255, 255, 255, 1);
  padding-top: 100px;
  padding-right: 60px;
  padding-bottom: 50px;
  padding-left: 60px;
}

footer div {
  width: 33.333%;
}

footer div:nth-child(1) span {
  font-size: 20px;
  font-weight: 600;
  display: block;
  margin-bottom: 50px;
}

footer div:nth-child(1) p {
  font-size: 50px;
  font-weight: 400;
}

footer div:nth-child(2) span {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

footer div:nth-child(2) p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
}

footer div:nth-child(3) {
  display: flex;
  flex-direction: column;
}

footer div:nth-child(3) span:nth-child(1) {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

footer div:nth-child(3) a {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 5px;
  color: #fff;
  text-decoration: none;
}

footer ul {
  list-style: none;
  display: flex;
  gap: 15px;
}
@media (min-width: 320px) and (max-width: 768px) {
  .header-photos {
    padding: 30px 20px;
  }
  nav {
    padding-right: 10px;
  }
  .logo {
    width: 80px;
  }
  .navigation-section {
    width: calc(100% - 60px);
  }
  .first-section span {
    left: 20px;
    font-size: 30px;
  }
  .first-section .text {
    flex-direction: column;
    align-items: start;
    gap: 20px;
    padding: 0 20px;
  }
  section .card span {
    font-size: 30px;
  }
  .first-section span:nth-last-child(1) {
    max-width: 100%;
  }
  section .card {
    width: 333px;
    left: 20px !important;
  }
  .third-section .card,
  .fifth-section .card {
    right: 20px;
  }
  footer {
    padding-top: 50px;
    padding-right: 30px;
    padding-bottom: 50px;
    padding-left: 20px;
    flex-direction: column;
    align-items: flex-start;
  }
  footer div {
    width: 100%;
  }
}

.overlay {
  height: 45%;
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgb(0 0 0 / 30%);
}

@media (min-width: 768px) and (max-width: 1200px) {
  .header-photos {
    padding: 30px 30px;
  }
  .first-section span {
    left: 30px;
  }
  section .card {
    left: 30px;
  }
  .third-section .card {
    right: 30px;
  }
  footer {
    padding-top: 100px;
    padding-right: 30px;
    padding-bottom: 50px;
    padding-left: 30px;
    flex-wrap: wrap;
  }

  footer div:nth-child(1) {
    width: 100%;
  }
}
