* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Montserrat";
}
.lang-ar {
  direction: rtl;
}
nav {
  background-color: #090b0e;
  color: #000;
  padding: 0 20px 100px;
  padding-right: 40px;
  position: relative;
  z-index: 5;
  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;
}
.logo {
  width: 80px;
}

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: #000;
  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;
  padding: 0 60px;
}

nav .timetable.show {
  display: block;
}

nav button {
  background: #ed1c24;
  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;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: calc(100% - 18%);
  z-index: 1;
}

.navigation-bar {
  height: 4px;
  background-color: rgb(117 117 117 / 30%);
  border-radius: 10px;
}

.bar-fill {
  border-radius: 10px;
  width: 0%;
  height: 100%;
  background-color: #ed1c24;
  transition: width 0.2s ease;
}
.header-photos {
  position: fixed;
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding: 30px 140px;
  background-color: #fff;
  z-index: 3;
}

.header-photos img:first-child {
  width: 100px;
  height: 32px;
}
.header-photos img:last-child {
  cursor: pointer;
}
.text h3 {
  font-weight: 600;
  font-size: 35px;
  padding: 97px 140px 0;
  color: #101010;
}

.plans {
  padding: 100px 60px 50px;
}

.plans h3 {
  font-weight: 700;
  font-size: 30px;
  color: #000;
  margin-bottom: 30px;
}

.plans .cards {
  display: flex;
  gap: 10px;
  cursor: pointer;
}

.plans .cards .card {
  width: 25%;
  background-color: rgba(255, 255, 255, 1);
  color: rgba(0, 0, 0, 1);
  border-radius: 10px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  border: 3px solid rgba(0, 0, 0, 1);
}

.plans .cards .card.active {
  color: rgba(255, 255, 255, 1);
  background-color: #000;
  border: none;
}

.plans .cards .card div {
  display: flex;
  justify-content: space-between;
}
.plans .cards .card div p {
  font-weight: 700;
  font-size: 24px;
  display: flex;
  gap: 4px;
}
.plans .cards .card div span {
  font-weight: 400;
  font-size: 16px;
}
.plans .cards .card span {
  font-weight: 400;
  font-size: 30px;
}
.plans .cards .card .duration {
  font-weight: 700;
  font-size: 20px;
}

.details {
  padding: 0 140px;
  display: flex;
  margin-bottom: 156px;
  gap: 170px;
}

.details .left-section,
.details .right-section {
  width: 50%;
}
.details .left-section h4 {
  color: #4e4e4e;
  font-weight: 400;
  font-size: 23px;
  margin-bottom: 27px;
  margin-top: 37px;
}

.details .left-section p {
  margin-top: 10px;
  font-weight: 400;
  font-size: 14px;
}

.details .left-section form {
  display: flex;
  row-gap: 25px;
  flex-direction: column;
}

.details .left-section form .input-container {
  width: 393px;
}
.details .left-section form input,
select {
  width: 100%;
}
.details .left-section form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: url("../assets/imgs/doen-arrow.svg") no-repeat;
  background-position: right 20px center;
  background-size: 12px;
}
.details .left-section form input,
select {
  color: #bbbbbb;
  font-weight: 400;
  font-size: 16px;
  border: 1px solid #707070;
  border-radius: 40px;
  padding: 17px 32px;
  outline: none;
}
.details .left-section form span {
  display: block;
}

.details .left-section form div {
  display: flex;
  flex-direction: column;
}

.details .left-section .checkbox {
  display: flex;
  gap: 10px;
  margin: 30px 0;
}

.details .left-section .checkbox span {
  color: #bbbbbb;
  font-weight: 400;
  font-size: 14px;
}

.details .left-section .checkbox input {
  width: 18px;
  height: 18px;
}
.details .left-section .btns {
  display: flex;
  gap: 24px;
  margin-top: 20px;
}

.details .right-section button {
  color: rgba(255, 255, 255, 1);
  font-size: 16px;
  padding: 17px 0;
  background-color: #0c0c0c;
  cursor: pointer;
  margin-top: 19px;
  border-radius: 27px;
  width: 100%;
}

.details .right-section .card {
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  background-image: url("../assets/imgs/class-2.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #0c0c0c;
  height: 390px;
  padding: 0 54px;
  position: relative;
}

.details .right-section .card.active {
  border: none;
}

.details .right-section .card .card-content {
  display: flex;
  justify-content: space-between;
  position: absolute;
  bottom: 21px;
  font-size: 16px;
  color: #fff;
  width: 80%;
}

.details .right-section .card .duration {
  font-weight: 700;
  font-size: 20px;
}

.details .right-section .card div p {
  font-size: 16px;
  display: flex;
  gap: 4px;
}

.details .right-section .card div span {
  font-weight: 400;
  font-size: 16px;
}

.details .right-section .card span {
  font-weight: 400;
  font-size: 50px;
}

.details .right-section .card ul {
  list-style: none;
  margin-top: 19px;
}
.details .right-section .card ul li {
  font-weight: 500;
  font-size: 14px;
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

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: 5px;
}

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;
  margin-bottom: 10px;
}

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;
}
footer ul {
  list-style: none;
  display: flex;
  gap: 15px;
}
@media (min-width: 320px) and (max-width: 768px) {
  .header-photos {
    padding: 30px 20px;
  }
  .navigation-section {
    width: calc(100% - 60px);
  }
  .details .right-section .card .card-content {
    color: #0c0c0c;
  }
  .details .left-section form .input-container {
    width: calc(100% - 20px);
  }

  .text h3 {
    font-size: 25px;
    padding: 97px 30px 0;
  }

  .plans {
    padding: 30px 20px;
  }

  .plans .cards {
    flex-direction: column;
  }

  .plans .cards .card {
    width: calc(100%);
  }
  .details .left-section h4 {
    font-size: 19px;
    margin-top: 44px;
  }
  .details .right-section .card {
    background-image: none;
    height: 0;
  }
  .details {
    padding-left: 36px;
    padding-right: 36px;
    margin-bottom: 126px;
    flex-direction: column;
    gap: 30px;
  }
  .details .right-section {
    width: 100%;
  }
  .details .left-section {
    width: 100%;
  }
  .details .right-section .card {
    padding: 20px;
  }
  footer {
    padding-top: 50px;
    padding-right: 30px;
    padding-bottom: 50px;
    padding-left: 30px;
    flex-direction: column;
    align-items: flex-start;
  }
  footer div {
    width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 1200px) {
  .header-photos {
    padding: 30px;
  }
  .text h3 {
    padding: 30px;
  }

  .plans {
    padding-right: 30px;
    padding-left: 30px;
    padding-top: 50px;
  }
  .plans .cards {
    flex-wrap: wrap;
  }

  .plans .cards .card {
    width: calc(50% - 10px);
  }

  .details {
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 50px;
    gap: 30px;
  }

  footer {
    padding-top: 100px;
    padding-right: 30px;
    padding-bottom: 50px;
    padding-left: 30px;
    flex-wrap: wrap;
  }
  footer div:nth-child(1) {
    width: 100%;
  }
}

/* Toast notification styles */
.custom-toast {
  position: fixed;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%) translateY(100px);
  background: #323232;
  color: #fff;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 1rem;
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: opacity 0.3s, transform 0.3s;
}
.custom-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.lang-ar {
  direction: rtl;
}

.lang-ar nav,
.lang-ar .footer {
  text-align: right;
}
