/* Start variables — Design System */

:root {
  --primary: #003b7a;
  --primary-dark: #062f63;
  --accent: #ffd100;
  --accent-dark: #ffe04a;
  --background: #f7f9fc;
  --surface: #ffffff;
  --surface-2: #ffffff;
  --text: #08265f;
  --text-secondary: #64748b;
  --text-muted: #71869d;
  --border: #e2e8f0;
  --on-primary: #ffffff;
  --on-accent: #071a2f;
  --cta: #ffd100;
  --cta-hover: #ffe04a;
  --on-cta: #071a2f;
  --header: #ffffff;
  --input-bg: #ffffff;
  --success: #35c978;
  --error: #ff5c5c;
  --disabled: #e0e0e0;
  --primary-gradient: linear-gradient(to right, #003b7a, #062f63 70%);
  --accent-gradient: linear-gradient(to right, #ffd100, #ffe04a 70%);
  --shadow-light: rgba(0, 0, 0, 0.25);
  --shadow-dark: rgba(0, 0, 0, 0.45);
  --primary-muted: #dbe7ff;
  /* Literal utilities (not theme-swapped) */
  --white-color: #ffffff;
  --black-color: #000000;
}

body.dark {
  /* SCORE-UP Dark Mode tokens */
  --dark-bg: #071a2f;
  --dark-header: #062f63;
  --dark-surface: #0b2748;
  --dark-surface-elevated: #10345c;
  --brand-blue: #003b7a;
  --brand-blue-light: #0b4f9c;
  --brand-yellow: #ffd100;
  --brand-yellow-hover: #ffe04a;
  --text-primary: #ffffff;
  --text-secondary: #afc0d3;
  --text-muted: #71869d;
  --border-color: #1c456d;
  --input-background: #0a223d;

  /* Semantic aliases used across the app */
  --background: var(--dark-bg);
  --header: var(--dark-header);
  --surface: var(--dark-surface);
  --surface-2: var(--dark-surface-elevated);
  --primary: var(--brand-blue);
  --primary-dark: var(--brand-blue-light);
  --accent: var(--brand-yellow);
  --accent-dark: var(--brand-yellow-hover);
  --text: var(--text-primary);
  --border: var(--border-color);
  --on-primary: #ffffff;
  --on-accent: var(--dark-bg);
  --cta: var(--brand-yellow);
  --cta-hover: var(--brand-yellow-hover);
  --on-cta: var(--dark-bg);
  --input-bg: var(--input-background);
  --primary-muted: var(--dark-surface-elevated);
  --success: #35c978;
  --error: #ff5c5c;
  --primary-gradient: linear-gradient(to right, #003b7a, #062f63 70%);
  --accent-gradient: linear-gradient(to right, #ffd100, #ffe04a 70%);
}

/* End variables */

/* 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: "TheYearofHandicrafts-Regular";
  src: url("../fonts/TheYearofHandicrafts-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* graphik-arabic Family */
@font-face {
  font-family: "graphik-arabic-black";
  src: url("../fonts/graphik-arabic-black.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "graphik-arabic-bold";
  src: url("../fonts/graphik-arabic-bold.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "graphik-arabic-semibold";
  src: url("../fonts/graphik-arabic-semibold.woff2") format("woff2");
  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: "graphik-arabic-bold";
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* Internet Explorer 10+ */
  background-color: var(--background);
  color: var(--text);
  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: var(--background);
  color: var(--text);
}

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

.bg-white {
  background: var(--surface) !important;
  position: relative;
}

body.dark .bg-white {
  background: var(--surface) !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: var(--on-primary);
  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(--header);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  transition: all 0.3s ease;
  box-shadow: 0px 4px 4px 0px var(--shadow-light);
  border-bottom: 1px solid var(--border);
}

.nav-content.dark {
  background: var(--header);
  box-shadow: 0px 4px 4px 0px var(--shadow-dark);
  border-bottom-color: var(--border);
}

.scrolled {
  transition: all 0.3s ease;
}

.nav-content::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(0, 59, 122, 0.08);
  z-index: 999;
  pointer-events: none;
}

.scroll-line {
  position: absolute;
  bottom: 0;
  right: 0;
  left: auto;
  height: 3px;
  width: 0%;
  border-radius: 999px 0 0 999px;
  background: linear-gradient(270deg, var(--accent) 0%, #ffe566 55%, var(--primary) 100%);
  box-shadow: 0 0 10px rgba(255, 209, 0, 0.35);
  z-index: 1000;
  transition: width 0.12s linear;
  pointer-events: none;
}

body.dark .nav-content::after {
  background: rgba(255, 255, 255, 0.08);
}

body.dark .scroll-line,
.scroll-line.dark {
  background: linear-gradient(270deg, var(--accent) 0%, #ffe566 60%, #4d8fd6 100%);
  box-shadow: 0 0 10px rgba(255, 209, 0, 0.4);
}

.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;
  display: block;
  flex-shrink: 0;
}

.logo img {
  width: 165px;
  height: auto;
  max-width: none;
  object-fit: contain;
  display: block;
  margin: 5px 10px;
  filter: none;
}

.logo img.dark {
  /* Dark logo invert — disabled while light header is default
  filter: brightness(0) invert(1);
  */
  filter: none;
}

@media only screen and (max-width: 991px) {
  .logo img {
    width: 140px;
  }
}

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

  .logo img {
    width: 125px;
    margin: 5px 0;
  }
}

.bars {
  display: none;
}

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

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

  .links {
    flex-direction: column;
    gap: 10px;
    background: var(--surface);
    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(--surface);
    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(--primary);
  --clr-alpha: var(--primary);
  --clr-alpha: var(--primary-dark);
  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: "graphik-arabic-semibold";
  line-height: 1.2;
  /* font-weight: 800; */
  font-size: 19px;
  text-align: center;
  text-decoration: none !important;
  background: var(--primary);
  padding: 12px;
  border-radius: 15px;
  color: var(--on-primary);
  display: inline-flex;
  align-items: center;
  transition: all linear 0.2s;
  width: 100%;
  gap: 10px;
  flex: 1;
  border: 1px solid transparent;
}

.create-account.dark {
  background-color: transparent;
  color: var(--text);
  border-color: var(--border);
}

.create-account:hover {
  background: var(--primary-dark);
  color: var(--on-primary);
}

.create-account.dark:hover {
  background-color: var(--surface-2);
  border-color: var(--brand-blue-light, #0b4f9c);
  color: var(--text);
}

.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: "graphik-arabic-semibold";
  /* font-weight: 800; */
  line-height: 1.2;
  font-size: 19px;
  text-align: center;
  text-decoration: none !important;
  background: var(--cta);
  padding: 12px;
  border-radius: 15px;
  color: var(--on-cta);
  display: inline-flex;
  align-items: center;
  transition: all linear 0.2s;
  width: 100%;
  gap: 10px;
  flex: 1;
  border: 1px solid transparent;
}

.login-button.dark {
  background-color: var(--cta);
  color: var(--on-cta);
}

.login-button:hover {
  background: var(--cta-hover);
  color: var(--on-cta);
}

.login-button.dark:hover {
  background-color: var(--cta-hover);
  color: var(--on-cta);
}

.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(--primary-muted); */
}

/* 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(--primary);
  box-shadow: 0 0 0px 2px rgba(0, 0, 0, 0.1);
}

.user-menu.dark {
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.user-icon {
  color: var(--text);
  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(--accent);
  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(--surface-2);
  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(--accent);
}

.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(--shadow-light);
  border: 1px solid var(--border);
}

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

.dropdown-content a {
  font-family: "cairo";
  font-weight: 500;
  font-size: 17px;
  padding: 10px 15px;
  text-decoration: none !important;
  color: var(--text);
  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(--primary-muted);
  color: var(--accent);
}

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

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

.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(--primary-muted);
  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(--shadow-dark);
  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(--accent, #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(--primary-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(--accent-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(--text);
  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(--accent);
  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(--accent);
  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(--surface-2) !important;
}

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

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

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

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

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

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

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

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

.swal-confirm-button:hover {
  background: var(--cta-hover) !important;
}

/*  */

/* Start spsial heading */

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

.speacial-heading h1 {
  font-family: "graphik-arabic-black";
  font-weight: 900;
  color: var(--primary);
  font-size: 34px;
  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(--border);
}

.speacial-heading h1::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: -12px;
  width: 6px;
  height: 88%;
  border-radius: 10px;
  background: var(--accent);
}

body.dark .speacial-heading h1::before {
  background: var(--accent);
}

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

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

@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; */
  }
}



/* End spsial heading */

/* Start footer section home */

.footer {
  position: relative;
  margin-top: 80px;
  background: linear-gradient(180deg, #003b7a 0%, #002a57 100%);
  text-align: center;
  overflow: hidden;
}

.footer-accent-bar {
  height: 5px;
  background: var(--accent);
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 56px 20px 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-logo-link {
  display: inline-flex;
  text-decoration: none !important;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.footer-logo-link:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.logo-footer {
  width: 220px;
  height: auto;
  max-width: 72vw;
  display: block;
  object-fit: contain;
}

.footer-logo-line {
  display: block;
  width: 88px;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
}

.footer-tagline {
  font-family: "TheYearofHandicrafts-Regular", "IBM Plex Arabic", sans-serif;
  color: rgba(255, 255, 255, 0.92);
  font-size: 20px;
  line-height: 1.9;
  margin: 0;
  max-width: 580px;
  text-align: center;
  padding-bottom: 18px;
  position: relative;
}

.footer-tagline::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(420px, 85%);
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

.footer-social-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-top: 4px;
}

.footer-follow {
  font-family: "graphik-arabic-semibold", "IBM Plex Arabic", sans-serif;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  margin: 0;
  padding-bottom: 10px;
  position: relative;
}

.footer-follow::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
}

.social-footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0;
  margin: 0;
}

.social-footer-link {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 0;
  text-decoration: none !important;
  transition: transform 0.25s ease, filter 0.25s ease;
  overflow: hidden;
}

.social-footer-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.social-footer-link:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
}

.social-footer-link.is-disabled {
  cursor: default;
  opacity: 0.45;
  pointer-events: none;
}

.social-footer-link.is-disabled:hover {
  transform: none;
  filter: none;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  font-family: "IBM Plex Arabic", monospace, sans-serif;
  background: #d9e2ec;
  color: #1f2a37;
  padding: 15px 16px;
  margin-top: 0;
  font-size: 16px;
  letter-spacing: 0.2px;
  border-top: 1px solid rgba(0, 59, 122, 0.08);
}

.footer-bottom a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

@media only screen and (max-width: 575px) {
  .footer {
    margin-top: 56px;
  }

  .footer-inner {
    gap: 22px;
    padding: 44px 14px 36px;
  }

  .logo-footer {
    width: 180px;
  }

  .footer-logo-line {
    width: 72px;
  }

  .footer-tagline {
    font-size: 16px;
    padding: 0 6px;
  }

  .footer-follow {
    font-size: 15px;
  }

  .footer-bottom {
    font-size: 14px;
  }

  .social-footer {
    gap: 16px;
  }

  .social-footer-link {
    width: 52px;
    height: 52px;
  }
}

/* End footer section home */

/* Start switch */

/* Temporarily hidden — dark mode toggle */
.switch {
  font-size: 17px;
  position: relative;
  display: none !important;
  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: var(--surface);
  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(--primary);
  border-radius: 9px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}

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

.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: var(--error);
  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(--primary-dark),
    var(--surface-2)
  ) !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(--accent) !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: var(--on-primary) !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(--accent);
  animation: toast-progress-anim 4s linear forwards;
}

.toast-msg.success {
  border-right-color: var(--success) !important;
}

.toast-msg.success .toast-progress::after {
  background-color: var(--success) !important;
}

.toast-msg.success .toast-icon {
  color: var(--success) !important;
}

.toast-msg.error {
  border-right-color: var(--error) !important;
}

.toast-msg.error .toast-progress::after {
  background-color: var(--error) !important;
}

.toast-msg.error .toast-icon {
  color: var(--error) !important;
}

.toast-msg.warning {
  border-right-color: var(--accent) !important;
}

.toast-msg.warning .toast-progress::after {
  background-color: var(--accent) !important;
}

.toast-msg.warning .toast-icon {
  color: var(--accent) !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;
  }
}

/* SCORE-UP Dark Mode — shared consistency */

body.dark a:focus-visible,
body.dark button:focus-visible,
body.dark input:focus-visible,
body.dark select:focus-visible,
body.dark textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

body.dark .footer {
  background: linear-gradient(165deg, #0b4f9c 0%, #062f63 50%, #041f42 100%);
}

body.dark .footer-bottom {
  background: #d9e2ec;
  color: #1f2a37;
  border-top: none;
}

body.dark input::placeholder,
body.dark textarea::placeholder {
  color: var(--text-muted);
  opacity: 1;
}
