/* Start varibles */

:root {
  --main-color-gradient: linear-gradient(to right, #ff6801, #592402 70%);

  --secondry-color-gradient: linear-gradient(to right, #592402, #ff6801 70%);

  --main-color: #ff6801;
  --secondry-color: #e87f24;
  --third-color: #ff7600;
  --four-color: #2b1102;
  --five-color: #491d02;
  --six-color: #592402;
  --white-color: #ffffff;
  --black-color: #000000;
  --gary-color: #7d7d7d;
  --hover-light-color: #fdf2e9;
  --hover-dark-color: #573113;
  --shdow-dark-color: rgba(255, 255, 255, 0.25);
  --shdow-light-color: rgba(0, 0, 0, 0.25);
  --light-color: #fbdfcd;
}

/* End varibles */

/* Start fonts */

/* Mmtsdr */
@font-face {
  font-family: "Mmtsdr";
  src: url("../fonts/Mmtsdr-La-Tkelmeni.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* DG Forsha Scribble */
@font-face {
  font-family: "DG Forsha";
  src: url("../fonts/DG-Forsha-Scribble.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* IBM Plex Arabic */
@font-face {
  font-family: "IBM Plex Arabic";
  src: url("../fonts/IBMPlexArabic-Text.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Zanjabeel Family */
@font-face {
  font-family: "Zanjabeel";
  src: url("../fonts/zanjabeel-thin.woff2") format("woff2");
  font-weight: 100;
  font-display: swap;
}

@font-face {
  font-family: "Zanjabeel";
  src: url("../fonts/zanjabeel-extralight.woff2") format("woff2");
  font-weight: 200;
  font-display: swap;
}

@font-face {
  font-family: "Zanjabeel";
  src: url("../fonts/zanjabeel-light.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Zanjabeel";
  src: url("../fonts/zanjabeel-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Zanjabeel";
  src: url("../fonts/zanjabeel-medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Zanjabeel";
  src: url("../fonts/zanjabeel-semibold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Zanjabeel";
  src: url("../fonts/zanjabeel-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Zanjabeel";
  src: url("../fonts/zanjabeel-extrabold.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Zanjabeel";
  src: url("../fonts/zanjabeel-black.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}

/* End fonts */

/* Start Global rules */



.protected {
  user-select: none;
  -webkit-user-drag: none;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: 0.3s;
  scroll-behavior: smooth;
}

body {
  user-select: none;
  cursor: default;
  font-family: "zanjabeel";
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* Internet Explorer 10+ */
  background-color: #fff;
  position: relative;
}

body > *:not(script) {
  flex-shrink: 0;
}

body > section.courses-home {
  flex: 1;
  /* يخلي محتوى الصفحة يتمدد وياخد المساحة الباقية */
}

/* body::after {
  background-image: url(../media/img/bg-header.webp);
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -50;
}

body.dark::after {
  background-image: url(../media/img/bg-dark.webp);
} */

@media only screen and (max-width: 935px) {
  body::after {
    /* background-size: contain; */
  }
}

body.dark {
  background: #261105;
}

body::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Edge */
}

.bg-white {
  background: #fff !important;
  position: relative;
}

body.dark .bg-white {
  background: var(--black-color) !important;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Button Loading State */
.btn-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
  min-height: 44px;
}

.btn-loading::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  margin-top: -10px;
  margin-left: -10px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: btn-spin 0.6s linear infinite;
}

@keyframes btn-spin {
  to {
    transform: rotate(360deg);
  }
}

/* End Global rules */

/* Start navbar home section */

.nav-content {
  padding: 5px 10px;
  background: var(--white-color);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  transition: all 0.3s ease;
  box-shadow: 0px 4px 4px 0px var(--shdow-light-color);
}

.nav-content.dark {
  background: var(--secondry-color);
  box-shadow: 0px 4px 4px 0px var(--shdow-dark-color);
}

.scrolled {
  transition: all 0.3s ease;
}

.scroll-line {
  position: absolute;
  bottom: -5px;
  left: 0px;
  height: 5px;
  width: 0%;
  /* border-radius: 30px; */
  background: var(--main-color);
  z-index: 1000;
  transition: width 0.1s linear;
}

.scroll-line.dark {
  background: var(--white-color);
}

.nav-content .content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 5px;
}

@media only screen and (max-width: 767px) {
  .nav-content .content {
    padding: 0px 10px;
  }
}

.nav-content .content-2 {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex: 1;
  /* gap: 40px; */
}

@media only screen and (max-width: 767px) {
  .nav-content .content-2 {
    /* flex-direction: row-reverse; */
    justify-content: flex-end;
    /* gap: 10px; */
  }
}

.logo {
  text-decoration: none !important;
}

.logo img {
  width: 130px;
  margin: 5px 10px;
}

.logo img.dark {
  content: url(../media/img/logo-dark.webp);
}

@media only screen and (max-width: 767px) {
  .logo {
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }
}

@media only screen and (max-width: 767px) {
  .logo img {
    width: 120px;
    margin: 5px 0px;
  }
}

.bars {
  display: none;
}

/* نسخة مصغرة للموبايل فقط */
@media only screen and (max-width: 767px) {
  .bars {
    display: block;
    font-size: 36px;
    color: var(--main-color);
    cursor: pointer;
  }

  .bars.dark {
    color: var(--white-color);
  }

  .links {
    flex-direction: column;
    gap: 10px;
    background: var(--white-color);
    position: absolute;
    top: calc(100% + 10px);
    left: calc(-100% - 50px);
    width: 100%;
    z-index: 999;
    transition: 0.7s;
    background: transparent;
  }

  .active {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--white-color);
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    z-index: 999;
    background: transparent;
  }
}

/* Start snipper */

.parent-spinner {
  display: none;
  width: 36px;
  height: 36px;
  cursor: pointer;
}

.spinner {
  width: 27px;
  height: 27px;
  --clr: var(--secondry-color);
  --clr-alpha: var(--secondry-color);
  --clr-alpha: var(--six-color);
  animation: spinner 3s infinite linear;
  transform-style: preserve-3d;
}

.spinner > div {
  background-color: var(--clr-alpha);
  height: 100%;
  position: absolute;
  width: 100%;
  border: 5px solid var(--clr);
}

.spinner div:nth-of-type(1) {
  transform: translateZ(-13px) rotateY(180deg);
}

.spinner div:nth-of-type(2) {
  transform: rotateY(-270deg) translateX(50%);
  transform-origin: top right;
}

.spinner div:nth-of-type(3) {
  transform: rotateY(270deg) translateX(-50%);
  transform-origin: center left;
}

.spinner div:nth-of-type(4) {
  transform: rotateX(90deg) translateY(-50%);
  transform-origin: top center;
}

.spinner div:nth-of-type(5) {
  transform: rotateX(-90deg) translateY(50%);
  transform-origin: bottom center;
}

.spinner div:nth-of-type(6) {
  transform: translateZ(13px);
}

@keyframes spinner {
  0% {
    transform: rotate(0deg) rotateX(0deg) rotateY(0deg);
  }

  50% {
    transform: rotate(180deg) rotateX(180deg) rotateY(180deg);
  }

  100% {
    transform: rotate(360deg) rotateX(360deg) rotateY(360deg);
  }
}

/* End snipper */

.links {
  display: flex;
  gap: 20px;
  list-style: none;
  justify-content: center;
  align-items: center;
  margin: 0;
}

@media only screen and (max-width: 767px) {
  .links li {
    width: 100%;
    text-align: center;
    /* display: flex;
    flex: 1;
    justify-content: center;
    align-iems: center; */
  }
}

.create-account {
  font-family: "Zanjabeel";
  font-weight: 800;
  font-size: 14px;
  text-align: center;
  text-decoration: none !important;
  background: var(--six-color);
  padding: 12px;
  border-radius: 15px;
  color: var(--white-color);
  display: inline-flex;
  align-items: center;
  transition: all linear 0.2s;
  width: 100%;
  gap: 10px;
  flex: 1;
}

.create-account:hover {
  background: var(--four-color);
  color: var(--white-color);
}

.create-account img {
  width: 18px;
}

@media only screen and (max-width: 991px) and (min-width: 767px) {
  .create-account {
    font-size: 13px;
    padding: 10px;
  }

  .create-account img {
    width: 16px;
  }
}

@media only screen and (max-width: 767px) {
  .create-account {
    width: 98%;
  }
}

.login-button {
  font-family: "Zanjabeel";
  font-weight: 800;
  font-size: 14px;
  text-align: center;
  text-decoration: none !important;
  background: var(--secondry-color);
  padding: 12px;
  border-radius: 15px;
  color: var(--white-color);
  display: inline-flex;
  align-items: center;
  transition: all linear 0.2s;
  width: 100%;
  gap: 10px;
  flex: 1;
}

.login-button.dark {
  background-color: var(--white-color);
  color: var(--secondry-color);
}

.login-button:hover {
  background: var(--main-color);
  color: var(--white-color);
}

.login-button img {
  width: 22px;
}

@media only screen and (max-width: 991px) and (min-width: 767px) {
  .login-button {
    font-size: 13px;
    padding: 10px;
  }

  .login-button img {
    width: 17px;
  }
}

@media only screen and (max-width: 767px) {
  .login-button {
    width: 98%;
  }
}

.login-button svg {
  /* color: var(--light-color); */
}

/* End navbar home section */

/* Start navbar side */

.user-menu {
  padding-left: 50px;
  padding-top: 2px;
  padding-bottom: 2px;
  border-radius: 20px;
  cursor: pointer;
  position: relative;
  font-weight: bold;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  background: var(--six-color);
  box-shadow: 0 0 0px 2px rgba(0, 0, 0, 0.1);
}

.user-menu.dark {
  background: var(--six-color);
}

.user-icon {
  color: var(--main-color);
  font-size: 18px;
  padding-top: 5px;
  padding-right: 5px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
}

@media only screen and (max-width: 767px) {
  .user-icon {
    font-size: 16px;
    margin: 0px;
  }
}

.user-menu::before {
  content: "\f13a";
  font-family: "Font Awesome 6 Free";
  font-weight: 700;
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white-color);
  font-size: 23px;
  transition: 0.5s;
}

.user-menu.open::before {
  transform: translateY(-50%) rotate(180deg);
}

.dropdown-content {
  position: absolute;
  top: 64px;
  right: 0;
  background: var(--six-color);
  min-width: 200px;
  border-radius: 10px;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
  text-align: right;
  z-index: 999;
}

.dropdown-content svg {
  color: var(--main-color);
}

.box-shadow {
  box-shadow: 0 0 0px 2px rgba(0, 0, 0, 0.1);
}

.dropdown-content.open {
  max-height: 500px;
  box-shadow: 0 0 8px 3px var(--shdow-light-color);
  border: 1px solid var(--secondry-color);
}

.dropdown-content.open.dark {
  box-shadow: 0 0 8px 3px var(--shdow-dark-color);
}

.dropdown-content a {
  font-family: "cairo";
  font-weight: 500;
  font-size: 17px;
  padding: 10px 15px;
  text-decoration: none !important;
  color: var(--white-color);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.3s;
}

.dropdown-content a lord-icon {
  min-width: 30px;
  min-height: 30px;
}

.dropdown-content a:hover {
  background: var(--third-color);
  color: #fff;
}

.dropdown-content a:hover svg {
  color: var(--secondry-color);
}

.swal2-popup {
  border-radius: 30px;
  border: 3px solid var(--white-color);
}

.swal2-title {
  font-family: "cairo" !important;
  font-weight: normal !important;
}

.swal2-html-container {
  font-family: "cairo" !important;
}

.swal2-confirm {
  font-family: "cairo" !important;
  border-radius: 15px !important;
}

.swal2-cancel {
  font-family: "cairo" !important;
  border-radius: 15px !important;
}

/* End navbar side */

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(5px);
  /* ✅ التأثير هنا */
  background-color: rgba(255, 255, 255, 0.6);
  /* شفافية خفيفة */
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

/* From Uiverse.io by mobinkakei */
.loader {
  width: 200px;
  height: 60px;
  position: relative;
  z-index: 1;
}

.circle {
  width: 20px;
  height: 20px;
  position: absolute;
  border-radius: 50%;
  background-color: var(--light-color);
  left: 15%;
  transform-origin: 50%;
  animation: circle7124 0.5s alternate infinite ease;
}

@keyframes circle7124 {
  0% {
    top: 60px;
    height: 5px;
    border-radius: 50px 50px 25px 25px;
    transform: scaleX(1.7);
  }

  40% {
    height: 20px;
    border-radius: 50%;
    transform: scaleX(1);
  }

  100% {
    top: 0%;
  }
}

.circle:nth-child(2) {
  left: 45%;
  animation-delay: 0.2s;
}

.circle:nth-child(3) {
  left: auto;
  right: 15%;
  animation-delay: 0.3s;
}

.shadow {
  width: 20px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--shdow-dark-color);
  position: absolute;
  top: 62px;
  transform-origin: 50%;
  z-index: -1;
  left: 15%;
  filter: blur(1px);
  animation: shadow046 0.5s alternate infinite ease;
}

@keyframes shadow046 {
  0% {
    transform: scaleX(1.5);
  }

  40% {
    transform: scaleX(1);
    opacity: 0.7;
  }

  100% {
    transform: scaleX(0.2);
    opacity: 0.4;
  }
}

.shadow:nth-child(4) {
  left: 45%;
  animation-delay: 0.2s;
}

.shadow:nth-child(5) {
  left: auto;
  right: 15%;
  animation-delay: 0.3s;
}

.you-subscription {
  background-color: rgb(250, 247, 230);
  font-size: 15px;
  padding: 6px 12px;
  border: 2px dashed var(--main-color, #b91c1c);
  border-radius: 12px;
  text-align: center;
  font-family: "Cairo", sans-serif;
}

@media (max-width: 400px) {
  .you-subscription {
    font-size: 13px;
  }
}

/* Start dark mode */

#toggle {
  width: 73px;
  height: 36px;
  background: var(--secondry-color-gradient);
  box-shadow: inset 0 1px 6px 4px rgba(12, 12, 12, 0.2);
  display: flex;
  align-items: center;
  border-radius: 30px;
  padding: 0.2rem 0.2rem;
  cursor: pointer;
  position: relative;
  z-index: 99;
}

.changer span {
  width: 30px;
  height: 30px;
  background: #f1f1f1;
  border-radius: inherit;
  box-shadow:
    inset 0 1px 6px 4px rgba(13, 13, 13, 0.3),
    0 1px 6px 1px rgba(11, 11, 76, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}

span svg {
  font-size: 1.2rem;
  color: rgba(210, 35, 42, 1);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.2s cubic-bezier(0.76, 0, 0.24, 1);
}

@media only screen and (max-width: 991px) {
  #toggle {
    width: 60px;
    height: 27px;
  }

  .changer span {
    width: 23px;
    height: 23px;
  }
}

#shape {
  clip-path: circle(0% at 50% 50%);
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0;
  pointer-events: none;
}

/* dark */

#toggle.change {
  background: var(--main-color-gradient);
}

#shape.change {
  position: absolute;
  width: 100%;
  height: 100%;
  clip-path: circle(100% at 50% 50%);
  z-index: 1;
}

span.change {
  /* background: var(); */
  transform: translateX(37px);
}

@media only screen and (max-width: 991px) {
  span.change {
    transform: translateX(32px);
  }
}

.moon {
  font-size: 1.5rem;
  color: var(--black-color);
  opacity: 1;
}

@media only screen and (max-width: 991px) {
  .moon {
    font-size: 1.2rem;
  }
}

.moon.change {
  font-size: 0;
  opacity: 0;
}

.sun {
  font-size: 0;
  opacity: 0;
}

.sun.change {
  font-size: 1.5rem;
  color: var(--main-color);
  opacity: 1;
}

@media only screen and (max-width: 991px) {
  .sun.change {
    font-size: 1.2rem;
  }
}

/* End dark mode */

/* Start call us */

.call-us {
  position: fixed;
  bottom: 30px;
  right: 15px;
  z-index: 1000;
}

.Btn {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background-color: transparent;
  position: relative;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.3s;
}

.svgContainer {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  backdrop-filter: blur(0px);
  letter-spacing: 0.8px;
  border-radius: 50px;
  transition: all 0.3s;
  border: 2px solid rgba(156, 156, 156, 0.466);
}

.BG {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background: var(--main-color);
  z-index: -1;
  border-radius: 50px;
  pointer-events: none;
  transition: all 0.3s;
}

.Btn:hover .BG {
  transform: rotate(35deg);
  transform-origin: bottom;
}

.Btn:hover .svgContainer {
  background-color: rgba(156, 156, 156, 0.466);
  backdrop-filter: blur(4px);
}

/* End call us */

/*  */

.swal2-popup {
  background: var(--main-color) !important;
}

.swal-custom-popup {
  font-family: "lemonada", sans-serif;
  border-radius: 19px;
  color: var(--white-color);
}

.swal2-popup {
  font-family: "lemonada", sans-serif !important;
  border-radius: 30px !important;
  border: 3px solid var(--white-color) !important;
  /* اختياري لو عايز بوردر ظاهر */
  color: var(--white-color) !important;
}

.swal2-actions {
  color: var(--white-color) !important;
}

.swal2-title {
  font-family: "DG-3asomy-Regular", sans-serif !important;
  font-size: 23px !important;
  color: var(--black-color) !important;
}

.swal2-content {
  font-family: "LamaSans-Bold", sans-serif !important;
  font-size: 13px !important;
  color: var(--white-color) !important;
}

div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm {
  font-weight: 700;
  background: #fff !important;
  color: var(--main-color) !important;
  border: none !important;
}

div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm:hover {
  background: var(--black-color) !important;
  color: #fff !important;
  border: none !important;
}

.swal-confirm-button {
  font-size: 15px;
  /* font-weight: bold; */
  padding: 10px 30px !important;
  border-radius: 15px;
  background: var(--white-color) !important;
  color: var(--secondry-color) !important;
}

.swal-confirm-button:hover {
  background: #ada8a8;
}

/*  */

/* Start spsial heading */

.speacial-heading {
  display: flex;
  gap: 5px;
  align-items: center;
  position: relative;
  text-align: center;
  width: fit-content;
  margin: 70px auto;
}

.speacial-heading h1 {
  font-family: "zanjabeel";
  font-weight: 900;
  color: var(--secondry-color);
  font-size: 27px;
  text-align: center;
  line-height: 1.2;
  position: relative;
}

.speacial-heading h1::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 6px;
  border-radius: 10px;
  background: var(--main-color-gradient);
  background: var(--six-color);
}

body.dark .speacial-heading h1::after {
  background: var(--white-color);
}

body.dark .speacial-heading h1 {
  color: var(--secondry-color);
}

@media only screen and (max-width: 767px) {
  .speacial-heading h1 {
    font-size: 25px;
  }
}

@media only screen and (max-width: 575px) {
  .speacial-heading h1 {
    font-size: 23px;
  }
}

@media only screen and (max-width: 430px) {
  .speacial-heading h1 {
    font-size: 22px;
  }
}

@media only screen and (max-width: 400px) {
  .speacial-heading h1 {
    /* font-size: 28px; */
  }
}

@media only screen and (max-width: 370px) {
  .speacial-heading h1 {
    /* font-size: 45px; */
  }
}

.speacial-heading h1 {
  color: var(--main-color);
}

/* End spsial heading */

/* Start footer section home */

.footer {
  background: var(--six-color);
  padding: 60px 0 0;
}

/* titles */
.footer h3 {
  font-family: "zanjabeel";
  font-weight: 900;
  color: var(--white-color);
  margin-bottom: 20px;
  font-size: 26px;
  text-align: right;
}

@media only screen and (max-width: 575px) {
  .footer h3 {
    font-size: 22px;
  }
}

/* logo */
.logo-footer {
  width: 220px;
}

/* lists */
.social-footer,
.links-footer {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  justify-content: start;
  align-items: start;
}

.social-footer a,
.links-footer a {
  font-family: "IBM Plex Arabic";
  color: rgba(255, 255, 255, 0.5);
  font-size: 17px;
  cursor: pointer;
  transition: 0.3s;
}

.social-footer a:hover,
.links-footer a:hover {
  color: var(--main-color);
}

.social-footer a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.social-footer svg,
.social-footer i,
.social-footer-icon {
  color: var(--white-color) !important;
}

/* support button */
.support-btn {
  background: var(--white-color);
  color: var(--main-color);
  border: 2px solid var(--main-color);
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: bold;
  transition: 0.3s;
}

.support-btn:hover {
  background: var(--main-color);
  color: var(--white-color);
}

.support-title {
  text-align: center !important;
}

/* bottom bar */
.footer-bottom {
  font-family: "IBM Plex Arabic";
  background: var(--secondry-color);
  color: var(--white-color);
  padding: 15px;
  margin-top: 40px;
  font-size: 18px;
}

@media only screen and (max-width: 575px) {
  .footer-bottom {
    font-size: 16px;
  }
}

.footer-bottom a {
  color: var(--six-color);
}

.footer-bottom a:hover {
  color: var(--black-color);
}

/* End footer section home */

/* Start switch */

.switch {
  font-size: 17px;
  position: relative;
  display: inline-block;
  width: 4em;
  height: 2.1em;
  border-radius: 30px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin: 0;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #2a2a2a;
  transition: 0.4s;
  border-radius: 30px;
  overflow: hidden;
}

.slider:before {
  position: absolute;
  content: "";
  height: 1.2em;
  width: 1.2em;
  border-radius: 20px;
  left: 0.5em;
  bottom: 0.5em;
  transition: 0.4s;
  transition-timing-function: cubic-bezier(0.81, -0.04, 0.38, 1.5);
  box-shadow: inset 8px -4px 0px 0px #fff;
}

.switch input:checked + .slider {
  background-color: #00a6ff;
}

.switch input:checked + .slider:before {
  transform: translateX(1.8em);
  box-shadow: inset 15px -4px 0px 15px #ffcf48;
}

.star {
  background-color: #fff;
  border-radius: 50%;
  position: absolute;
  width: 5px;
  transition: all 0.4s;
  height: 5px;
}

.star_1 {
  left: 2.5em;
  top: 0.5em;
}

.star_2 {
  left: 2.2em;
  top: 1.2em;
}

.star_3 {
  left: 3em;
  top: 0.9em;
}

.switch input:checked ~ .slider .star {
  opacity: 0;
}

.cloud {
  width: 3.5em;
  position: absolute;
  bottom: -1.4em;
  left: -1.1em;
  opacity: 0;
  transition: all 0.4s;
}

.switch input:checked ~ .slider .cloud {
  opacity: 1;
}

/* End switch */

/* From Uiverse.io by Cevorob */
.burger {
  position: relative;
  width: 40px;
  height: 30px;
  background: transparent;
  cursor: pointer;
  display: none;
  margin: 0;
}

@media only screen and (max-width: 767px) {
  .burger {
    display: block;
  }
}

.burger input {
  display: none;
}

.burger span {
  display: block;
  position: absolute;
  height: 5px;
  width: 100%;
  background: var(--secondry-color);
  border-radius: 9px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}

body.dark .burger span {
  background: var(--white-color);
}

.burger span:nth-of-type(1) {
  top: 0px;
  transform-origin: left center;
}

.burger span:nth-of-type(2) {
  top: 50%;
  transform: translateY(-50%);
  transform-origin: left center;
}

.burger span:nth-of-type(3) {
  top: 100%;
  transform-origin: left center;
  transform: translateY(-100%);
}

.burger input:checked ~ span:nth-of-type(1) {
  transform: rotate(45deg);
  top: 0px;
  left: 5px;
}

.burger input:checked ~ span:nth-of-type(2) {
  width: 0%;
  opacity: 0;
}

.burger input:checked ~ span:nth-of-type(3) {
  transform: rotate(-45deg);
  top: 28px;
  left: 5px;
}

.field-error {
  color: #ff4d4d;
  font-size: 13px;
  margin-top: 2px;
  margin-bottom: 8px;
  font-weight: bold;
  display: block;
  text-align: right;
  animation: fieldErrorIn 0.3s ease-in-out;
}

@keyframes fieldErrorIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- TOAST SYSTEM --- */
#toast-container {
  position: fixed !important;
  top: 30px !important;
  right: 30px !important;
  z-index: 2147483647 !important;
  /* Max Z-Index */
  display: flex !important;
  flex-direction: column !important;
  gap: 15px !important;
  pointer-events: none;
}

.toast-msg {
  pointer-events: auto;
  min-width: 320px;
  max-width: 450px;
  padding: 18px 25px;
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    var(--six-color),
    var(--five-color)
  ) !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  gap: 15px !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5) !important;
  border-right: 8px solid var(--main-color) !important;
  transform: translateX(150%);
  transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.35) !important;
  font-family: "IBM Plex Arabic", "Cairo", sans-serif !important;
  position: relative !important;
  overflow: hidden !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.toast-msg.show {
  transform: translateX(0) !important;
}

.toast-content {
  flex: 1;
}

.toast-text {
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.4;
  color: #fff !important;
  text-align: right;
}

.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  width: 100%;
}

.toast-progress::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  background-color: var(--main-color);
  animation: toast-progress-anim 4s linear forwards;
}

.toast-msg.success {
  border-right-color: #28a745 !important;
}

.toast-msg.success .toast-progress::after {
  background-color: #28a745 !important;
}

.toast-msg.success .toast-icon {
  color: #28a745 !important;
}

.toast-msg.error {
  border-right-color: #dc3545 !important;
}

.toast-msg.error .toast-progress::after {
  background-color: #dc3545 !important;
}

.toast-msg.error .toast-icon {
  color: #dc3545 !important;
}

.toast-msg.warning {
  border-right-color: #ffc107 !important;
}

.toast-msg.warning .toast-progress::after {
  background-color: #ffc107 !important;
}

.toast-msg.warning .toast-icon {
  color: #ffc107 !important;
}

.toast-icon {
  font-size: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

@keyframes toast-progress-anim {
  from {
    width: 100%;
  }

  to {
    width: 0%;
  }
}

@media (max-width: 575px) {
  #toast-container {
    top: auto !important;
    bottom: 30px !important;
    right: 20px !important;
    left: 20px !important;
  }

  .toast-msg {
    min-width: auto;
    width: 100%;
    transform: translateY(200%);
  }

  .toast-msg.show {
    transform: translateY(0) !important;
  }
}
