/* Start varibles */

:root {
  --main-color-gradient: linear-gradient(
    to right,
    rgba(195, 209, 79),
    rgba(18, 86, 103) 80%
  );
  /* --main-color-gradient: rgba(18, 86, 103); */
  --secondry-color-gradient: linear-gradient(
    to right,
    rgba(210, 35, 42, 1),
    rgba(22, 4, 68, 1) 80%
  );
  --yellow-color: rgba(195, 209, 79);
  --bluedark-color: #00334c;
  --bluelight-color: rgba(195, 209, 79);
  --bluelight-color: rgba(18, 86, 103);
}

/* End varibles */

/* Start Global rules */

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

body {
  user-select: none;
  cursor: default;
}

/* End Global rules */

#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(--bluelight-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(--yellow-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;
}

/* Start fonts */

@font-face {
  font-family: "BeeatyWeather";
  src: url("../fonts/BeeatyWeather-Light.woff2") format("woff2"),
    url("../fonts/BeeatyWeather-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "BeeatyWeather";
  src: url("../fonts/BeeatyWeather-Bold.woff2") format("woff2"),
    url("../fonts/BeeatyWeather-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "BeeatyWeather";
  src: url("../fonts/BeeatyWeather-LightItalic.woff2") format("woff2"),
    url("../fonts/BeeatyWeather-LightItalic.woff") format("woff");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "BeeatyWeather";
  src: url("../fonts/BeeatyWeather-Medium.woff2") format("woff2"),
    url("../fonts/BeeatyWeather-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "BeeatyWeather";
  src: url("../fonts/BeeatyWeather-BoldItalic.woff2") format("woff2"),
    url("../fonts/BeeatyWeather-BoldItalic.woff") format("woff");
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

/* -------------------------- */

@font-face {
  font-family: "El Messiri";
  src: url("../fonts/ElMessiri-Regular.woff2") format("woff2"),
    url("../fonts/ElMessiri-Regular.woff2") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "El Messiri";
  src: url("../fonts/ElMessiri-Regular.woff2") format("woff2"),
    url("../fonts/ElMessiri-Regular.woff2") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "El Messiri";
  src: url("../fonts/ElMessiri-Bold.woff2") format("woff2"),
    url("../fonts/ElMessiri-Bold.woff2") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Expo Arabic Book";
  src: url("../fonts/ExpoArabic-Book.woff2") format("woff2"),
    url("../fonts/ExpoArabic-Book.woff2") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Hacen Algeria Bd";
  src: url("../fonts/HacenAlgeriaBd.woff2") format("woff2"),
    url("../fonts/HacenAlgeriaBd.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

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

/* End fonts */

/* 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.5rem;
  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: #f1f1f1;
  transform: translateX(37px);
}

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

.moon {
  font-size: 1.7rem;
  color: rgba(210, 35, 42, 1);
  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.7rem;
  color: var(--bluelight-color);
  opacity: 1;
}

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

/* End dark mode */

/* Start spsial heading */

.speacial-heading p {
  font-family: "DG Forsha Scribble";
  font-family: "BeeatyWeather";
  font-weight: bold;
  /* font-style: italic; */
  text-align: center;
  font-size: 60px;
  margin: 50px 0;
}
.speacial-heading p span{
  margin: 0 2px;
}

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

.speacial-heading p .yellow {
  color: var(--yellow-color);
  position: relative;
}

.speacial-heading p .yellow::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--yellow-color);
}

.speacial-heading p .blue {
  background: var(--main-color-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  position: relative;
}

.speacial-heading p .blue::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--main-color-gradient);
}

/* End spsial heading */

/* 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-gradient);
  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 */

/* Start navbar home section */

.nav-content {
  padding: 4px;
  background: var(--main-color-gradient);
  border-radius: 13px;
  display: inline-block;
  position: fixed;
  top: 30px;
  left: 5%;
  width: 90%;
  z-index: 999;
  box-shadow: 0 2px 10px var(--bluelight-color);
  transition: 0.4s;
}

.hidden {
  top: -200px;
}

.nav-content .content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 0px 20px;
  border-radius: 10px;
}

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

@media only screen and (max-width: 767px) {
  .nav-content .content {
    background: white;
  }
}

.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-start;
    gap: 0;
  }
}

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

.logo h1 {
  font-family: "DG Forsha Scribble";
  background: var(--main-color-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-size: 50px;
  padding-bottom: 10px;
  text-decoration: none !important;
}

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

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

  .links {
    flex-direction: column;
    gap: 10px;
    background-color: white;
    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-color: white;
    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;
}

.spinner {
  width: 27px;
  height: 27px;
  --clr: var(--bluelight-color);
  --clr-alpha: var(--bluedark-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 */

.create-account {
  font-family: "El Messiri";
  font-weight: bold;
  text-decoration: none !important;
  background: var(--yellow-color);
  padding: 7px 15px;
  border-radius: 15px;
  color: var(--bluelight-color);
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 4px var(--bluelight-color) solid;
  transition: all linear 0.2s;
}

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

.create-account:hover svg {
  color: #fff;
}

.create-account:hover {
  color: #fff;
  background: var(--bluelight-color);
  color: var(--yellow-color);
  border: 4px var(--bluelight-color) solid;
}

.bg-login {
  padding: 3px; /* سمك البوردر */
  display: inline-block;
  border-radius: 10px;
  background: #fff; /* التدرج هنا */
}

.login-button {
  font-family: "El Messiri";
  font-weight: bold;
  width: 100%;
  color: var(--bluedark-color);
  padding: 5px 9px;
  border: none;
  border-radius: 10px;
  font-size: 20px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  border: 4px var(--bluelight-color) solid;
  gap: 8px;
  transition: 0.3s ease;
  transition: all linear 0.7s;
}

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

.login-button svg {
  color: var(--bluedark-color);
}

.login-button:hover {
  color: #fff;
  background: var(--main-color-gradient);
}

/* End navbar home section */

/* Start navbar side */

.user-menu {
  padding-left: 40px;
  border-radius: 25px;
  cursor: pointer;
  position: relative;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  background: #f3f4f6;
  box-shadow: 0 0 0px 2px rgba(0, 0, 0, 0.1);
}

.user-icon {
  color: var(--bluedark-color);
  font-size: 18px;
  padding: 3px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin: 2px;
  cursor: pointer;
}

.user-menu::before {
  content: "\f13a";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--bluelight-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-color: #f3f4f6;
  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(--bluelight-color);
}

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

.dropdown-content.open {
  max-height: 500px; /* يفضل يكون أكبر من المحتوى المحتمل */
}

.dropdown-content a {
  padding: 10px 15px;
  text-decoration: none !important;
  color: #000;
  display: block;
  transition: background-color 0.3s;
  font-family: "Expo Arabic Book";
  font-weight: normal;
  font-size: 17px;
}

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

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

/* End navbar side */

/* Start header home section */

.header-home {
  margin-top: 150px;
}

.header-home .content {
  display: flex;
  flex-direction: column;
  /* align-items: center;
  justify-content: center; */
}

.header-home h3 {
  font-family: "DG Forsha Scribble";
  color: var(--bluelight-color);
  margin: 0;
  padding: 20px;
  padding-right: 0px;
  font-size: 40px;
  text-align: right;
}

@media only screen and (max-width: 767px) {
  .header-home {
    margin-top: 120px;
  }
  .header-home h3 {
    font-size: 35px;
    padding: 10px;
  }
}

.header-home h3 span {
  /* background: var(--main-color-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; */
  color: var(--yellow-color);
}

.header-home h3 .icon {
  font-family: "Expo Arabic Book";
}

@media only screen and (max-width: 991px) {
  .header-home h3 {
    font-size: 30px;
  }
}

.header-home p {
  font-family: "Expo Arabic Book";
  font-weight: bold;
  color: var(--yellow-color);
  color: #000;
  font-size: 22px;
  text-align: right;
}

.header-home p span {
  background: var(--main-color-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

@media only screen and (max-width: 991px) {
  .header-home p {
    font-size: 17px;
  }
}

.header-home .content a {
  text-decoration: none !important;
  color: var(--bluelight-color);

  font-family: "El Messiri";
  font-weight: bold;
  font-size: 18px;
  background-color: var(--yellow-color);
  width: fit-content;
  text-align: right;
  padding: 7px 15px;
  border-radius: 10px;
  border: 4px solid var(--bluelight-color);
  margin: 30px 0px;
}
.header-home .content a:hover {
  background-color: var(--bluelight-color);
  color: var(--yellow-color);
  border: 4px solid var(--yellow-color);
}

@media only screen and (max-width: 991px) {
  .header-home .main-img-home {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .header-home .main-img-home img {
    width: 320px;
  }
}
.main-img-home img {
  width: 450px;
  border-radius: 15px;
}

.main-img-home h2 {
  font-family: "dg forsha scribble";
  /* font-weight: bold; */
  position: absolute;
  right: 150px;
  bottom: 0px;
  color: var(--yellow-color);
  color: var(--bluelight-color);
  /* background-color: var(--bluelight-color); */
  padding: 0px 0px;
  margin: 0;
  border-radius: 50px;
  font-size: 50px;
  text-align: center;
  z-index: 5;
  /* -webkit-text-stroke: 1px var(--yellow-color); */
}

@media only screen and (max-width: 991px) {
  .main-img-home h2 {
    font-size: 35px;
    right: 42px;
  }
}

@media only screen and (max-width: 767px) {
  .main-img-home h2 {
    font-size: 32px;
    right: 140px;
  }
}

@media only screen and (max-width: 575px) {
  .main-img-home h2 {
    font-size: 30px;
    right: 156px;
  }
}

@media only screen and (max-width: 400px) {
  .main-img-home h2 {
    font-size: 29px;
    right: 85px;
  }
}

.main-img-home h2::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 25px;
  background: var(--yellow-color);
  border-radius: 30px;
  z-index: -1;
}

/* end header home section */

/* Strat about hom section */

.box-about {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0px;
  font-family: "Expo Arabic Book";
  background-color: var(--yellow-color);
  border-radius: 15px;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
  border: 4px var(--bluelight-color) solid;
  text-align: center;
  margin-bottom: 20px;
}

.icon-about ion-icon {
  font-size: 50px;
  color: #fff;
}

.box-about h4 {
  font-size: 30px;
  color: var(--bluelight-color);
  font-family: el Messiri;
  font-weight: bold;
}

.box-about:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.box-about p {
  font-size: 18px;
  color: #000;
  margin: 0px 10px;
}
@media only screen and (max-width: 991px) and (min-width: 767px) {
  .box-about h4 {
    font-size: 25px;
  }
  .box-about p {
    font-size: 18px;
  }
}
@media only screen and (max-width: 575px) {
  .box-about h4 {
    font-size: 22px;
  }
  .box-about p {
    font-size: 16px;
  }
  .icon-about {
    font-size: 40px;
  }
}
@media only screen and (max-width: 400px) {
  .box-about h4 {
    font-size: 20px;
  }
  .box-about p {
    font-size: 14px;
  }
  .icon-about {
    font-size: 35px;
  }
}

/* End about hom section */

/* Start acdmic year section home  */

.box-year {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0px;
  font-family: "Expo Arabic Book";
  background-color: var(--bluelight-color);
  border-radius: 15px;
  box-shadow: 3px 2px 14px 5px var(--bluelight-color);
  border: 4px var(--yellow-color) solid;
  text-align: center;
  margin-bottom: 20px;
  padding: 15px;
}

.box-year img {
  width: 100%;
  border-radius: 15px;
  border: 2px var(--yellow-color) dashed;
}

.box-year h2 {
  font-size: 70px;
  color: var(--yellow-color);
  color: #fff;
  font-family: "BeeatyWeather";
  font-weight: bold;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
}

@media only screen and (max-width: 991px) and (min-width: 767px) {
  .box-year h2 {
    font-size: 50px;
  }
}

@media only screen and (max-width: 575px) {
  .box-year h2 {
    font-size: 53px;
  }
}

@media only screen and (max-width: 400px) {
  .box-year h2 {
    font-size: 45px;
  }
}

.box-year h2::after {
  content: "";
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  height: 15px;
  background: #fff;
  background: var(--yellow-color);
  border-radius: 30px;
  z-index: -1;
}

@media only screen and (max-width: 575px) {
  .box-year h2::after {
    bottom: 15px;
    height: 10px;
  }
}

/* End acdmic year section home  */

/* Start select teacher home section */

.custom-dropdowns {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 10px;
  background: var(--bluelight-color);
  border-radius: 15px;
  font-family: "El Messiri";
  width: fit-content;
  margin: auto;
  text-align: right;
}

.custom-dropdown {
  position: relative;
  cursor: pointer;
  width: fit-content;
}

.custom-dropdown:nth-of-type(2) {
  width: fit-content;
}

@media only screen and (max-width: 575px) {
  .custom-dropdown {
    width: fit-content;
  }
  .custom-dropdown:nth-of-type(2) {
    width: fit-content;
  }
}

.custom-dropdown .selected {
  padding: 6px;
  padding-left: 35px;
  padding-right: 10px;
  background: #fff;
  border-radius: 30px;
  position: relative;
  font-size: 18px;
  color: #000;
  border: 2px solid transparent;
  transition: 0.3s;
  text-align: center;
  width: fit-content;
}

@media only screen and (max-width: 575px) {
  .custom-dropdown .selected {
    font-size: 14px;
  }
}

.custom-dropdown .selected::before {
  content: "\f13a";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 7px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--yellow-color);
  font-size: 20px;
  transition: 0.3s;
}

.custom-dropdown.active-select .selected {
  border-color: var(--bluedark-color);
}

.custom-dropdown.active-select .selected::before {
  transform: translateY(-50%) rotate(180deg);
}

.dropdown-options {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  max-height: 0;
  transition: max-height 0.3s ease;
  z-index: 10;
}

.custom-dropdown.active-select .dropdown-options {
  max-height: 300px;
  overflow: auto;
  width: 100%;
}

.dropdown-options li {
  padding: 10px 15px;
  transition: 0.2s;
  font-size: 16px;
}

.dropdown-options li:hover {
  background: var(--yellow-color);
  color: #000;
}

.seclect-teacher-home .card-teacher {
  display: flex;
  justify-content: center;
}

.seclect-teacher-home .teacher {
  background: var(--bluelight-color);
  text-align: center;
  padding: 20px;
  border-radius: 15px;
  margin-top: 50px;
}
@media only screen and (max-width: 575px) {
  .seclect-teacher-home .teacher {
    width: 80%;
  }

  .dropdown-options li {
    font-size: 14px;
  }
}

.seclect-teacher-home .teacher img {
  width: 88%;
  border-radius: 15px;
}

.seclect-teacher-home .teacher h3 {
  font-family: "DG Forsha Scribble";
  color: var(--yellow-color);
  margin-top: 5px;
  font-size: 25px;
}

@media only screen and (max-width: 991px) and (min-width: 767px) {
  .seclect-teacher-home .teacher h3 {
    font-size: 23px;
  }

  .seclect-teacher-home .teacher p {
    font-size: 20px;
  }
}

.seclect-teacher-home .teacher h3 span {
  color: #fff;
}

.seclect-teacher-home .teacher p {
  font-family: "Expo Arabic Book";
  font-size: 22px;
  margin: 0;
}

/* End select teacher home section */

/* Start courses section home */

.courses-home .speacial-heading {
  margin-top: 50px;
}

.courses-home .speacial-heading p {
  width: fit-content;
  margin: auto;
  position: relative;
  padding-right: 85px;
}
.courses-home .speacial-heading img {
  width: 100px;
  position: absolute;
  top: -10px;
  right: 0;
  z-index: -1;
}

@media only screen and (max-width: 575px) {
  .courses-home .speacial-heading p {
    font-size: 35px;
    padding-right: 60px;
  }

  .courses-home .speacial-heading img {
    width: 70px;
    top: -10px;
    right: 0;
  }

  .courses-home .speacial-heading p {
    margin-bottom: 20px;
  }
}

.courses-home .coat p {
  font-family: "El Messiri";
  font-weight: bold;
  text-align: center;
  font-size: 21px;
  line-height: 1.1;
  margin-top: 30px;
  margin-bottom: 30px;
}

@media only screen and (max-width: 575px) {
  .courses-home .coat p {
    font-size: 16px;
    line-height: 1.1;
    margin-top: 10px;
  }
}

.courses-home .coat p span {
  font-family: "DG Forsha Scribble";
  background: var(--main-color-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.course {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 0px;
}

.course img {
  width: 100%;
  border-radius: 30px;
  border: 4px double var(--bluelight-color);
}

.content-course {
  width: 90%;
  position: relative;
  top: -50px;
  background: var(--bluelight-color);
  border-radius: 25px;
  padding: 10px;
  border: 4px double var(--yellow-color);
}

.content-course h4 {
  font-family: "DG Forsha Scribble";
  color: #fff;
  text-align: center;
  font-size: 22px;
  padding-bottom: 5px;
}

.content-course hr {
  border: none;
  width: 70%;
  height: 4px;
  margin: auto;
  background: black;
}

.content-course .number-lect {
  font-family: "Expo Arabic Book";
  font-weight: bold;
  text-align: center;
  padding: 5px 0px;
  margin: 0;
  font-size: 18px;
  color: var(--yellow-color);
}

.data-course {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.data-course .price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: fit-content;
  gap: 4px;
  font-family: "Hacen Algeria Bd";
  padding: 4px 6px;
  background: #fff;
  border-radius: 25px;
  font-size: 17px;
  margin: 5px 0px;
  color: black;
}

.data-course .price span {
  background: var(--yellow-color);
  border-radius: 20px;
  padding: 0px 8px;
}

.data-course .price-free {
  font-family: "El Messiri";
  font-weight: bold;
  display: flex;
  justify-content: center;
  gap: 4px;
  align-items: center;
  background: var(--secondry-color-gradient);
  color: #fff;
  padding: 5px 7px;
  border-radius: 20px;
}

.data-course .price-del {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  font-family: "Hacen Algeria Bd";
  padding: 4px 6px;
  background: #fff;
  border-radius: 25px;
  font-size: 17px;
  margin: 5px 0px;
}

.data-course .price-del span {
  background: var(--secondry-color-gradient);
  color: #fff;
  text-decoration: line-through;
  border-radius: 20px;
  padding: 0px 8px;
}

.info-course p {
  font-family: "Expo Arabic Book";
  font-size: 15px;
  /* display: inline-flex; */
  align-items: center;
  gap: 9px;
  margin: 0;
  margin-top: 7px;
  color: var(--yellow-color);
}

@media only screen and (max-width: 400px) {
  .info-course p {
    font-size: 13px;
  }
}

.info-course p svg {
  color: #fff;
}

.course-subscription {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 10px;
}

.course-subscription .check {
  font-family: "El Messiri";
  font-weight: bold;
  text-decoration: none;

  background: #fff;
  padding: 3px 6px;
  margin: 0;
  border-radius: 15px;
  font-size: 15px;
  color: var(--bluedark-color);
  border: 3px var(--yellow-color) solid;
}

.course-subscription .check:hover {
  background: var(--bluedark-color);
  color: #fff;
}

.course-subscription .subscription {
  font-family: "El Messiri";
  font-weight: bold;
  text-decoration: none;
  background: var(--bluedark-color);
  padding: 3px 7px;
  margin: 0;
  border-radius: 15px;
  font-size: 15px;
  color: #fff;
  border: 3px var(--yellow-color) solid;
}

.course-subscription .subscription:hover {
  background: #fff;
  color: var(--bluedark-color);
}

/* End courses section home */

/* Start footer section home */

.footer-home {
  display: block;
  width: 100%;
  margin-top: 60px;
  background-image: url("../media/img/green-painted-concrete-textured-background.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.footer-home .icon {
  margin: 30px 0px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.footer-home .icon a img {
  width: 100px;
}
.footer-home .icon a img:hover {
  transform: scale(1.1);
}

.footer-home .icon a:nth-of-type(1) svg:hover {
  color: blue;
}
.footer-home .icon a:nth-of-type(2) svg:hover {
  color: rgba(210, 35, 42, 1);
}

.footer-home .coat {
  font-family: "El Messiri";
  font-weight: bold;
  text-align: center;
  color: #fff;
  font-size: 21px;
}

.footer-home .coat span {
  color: var(--yellow-color);
  /* background-color: var(--bluelight-color); */
  padding: 3px 5px;
  border-radius: 10px;
  border: 2px solid var(--yellow-color);
}

.footer-home .copy-right {
  font-family: "expo arabic book";
  letter-spacing: 1px;
  font-weight: bold;
  text-align: center;
  color: #fff;
  font-size: 19px;
}

.footer-home .copy-right svg {
  padding-left: 10px;
}

.footer-home .copy-right .ros {
  font-family: "expo arabic book";
  font-weight: bold;
  color: var(--yellow-color);
  text-decoration: none;
  background-color: var(--bluelight-color);
  padding: 3px 8px;
  border-radius: 10px;
  border: 2px solid var(--yellow-color);
}
.footer-home .copy-right .ros:hover {
  color: var(--yellow-color);
  background-color: transparent;
  border: 2px solid var(--yellow-color);
  transform: scale(1.1);
}

.footer-home .copy-right svg {
  color: var(--yellow-color);
  font-size: 25px;
}

.footer-home .copy-right svg:hover {
  color: #25408f;
  transform: scale(1.1);
}

/* End footer section home */
