/* Start spsial heading */


.speacial-heading {
  display: flex;
  gap: 5px;
  align-items: center;
}

.speacial-heading h1 {
  font-family: "DG-3asomy-Regular";
  font-weight: normal;
  font-size: 30px;
  text-align: center;
  color: var(--Color-black);
  margin: 0;
  padding: 0;
  position: relative;
  line-height: 1.6;
}

.speacial-heading lord-icon {
  width: 50px;
  height: 50px;
}

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

  .speacial-heading lord-icon {
  width: 40px;
  height: 40px;
}
}

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

  .speacial-heading lord-icon {
  width: 35px;
  height: 35px;
}
}

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

.speacial-heading h1 span{
  color: var(--color-red-black);
}

/* End spsial heading */

/* Start navbar home section */

.nav-content {
  padding: 4px;
  background: #ffffff62;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(12px);
  display: inline-block;
  position: fixed;
  top: 10px;
  left: 10px;
  width: calc(100% - 20px);
  border-radius: 20px;
  z-index: 999;
  transition: all 0.3s ease;
  box-shadow: 0 0px 5px 2px rgba(0, 0, 0, 0.2);
}

.scrolled {
  transition: all 0.3s ease;
}

.scroll-line {
  position: absolute;
  bottom: -2px;
  left: 10px;
  height: 6px;
  width: 0%;
  border-radius: 30px;
  background: var(--color-red-black);
  z-index: 1000;
  transition: width 0.1s linear;
}

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

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

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

.logo img {
  width: 65px;
}

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


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

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

.spinner {
  width: 27px;
  height: 27px;
  --clr: var(--Color-gray);
  --clr-alpha: var(--color-red-black);
  --clr-alpha: var(--color-white);
  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-items: center; */
  }

}

.create-account {
  font-family: "LamaSans-bold";
  text-align: center;
  font-weight: normal;
  text-decoration: none !important;
  background: var(--Color-gray);
  border-bottom: 4px var(--Color-black) solid;
  padding: 5px 10px;
  border-radius: 15px;
  color: var(--color-white);
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  transition: all linear 0.2s;
  width: 100%;
  gap: 3px;
  flex: 1;
}

.create-account:hover {
  background: var(--color-white);
  color: var(--Color-gray);
  box-shadow: 0px 0px 6px 0px var(--Color-gray);
}

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



.login-button {
  font-family: "lamasans-bold";
  font-weight: bold;
  text-decoration: none !important;
  background: var(--color-red-black);
  border-bottom: 4px var(--Color-gray) solid;

  padding: 5px 10px;
  /* box-shadow: 0px 0px 6px 0px var(--bluedark-color); */
  border-radius: 15px;
  color: var(--color-white);
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  transition: all linear 0.2s;
  gap: 8px;
  width: 100%;
}

.login-button:hover {
  background: var(--color-white);
  color: var(--Color-gray);
  box-shadow: 0px 0px 6px 0px var(--Color-gray);
}

.icon-login-button{
  width: 35px;
  height: 35px;
}


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

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

}


/* End navbar home section */



/* Start navbar side */

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

}

.user-icon {
  color: var(--bluedark-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(--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: var(--color-white);
  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(--color-red-black);
}

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

.dropdown-content.open {
  max-height: 500px; 
}

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

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

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

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

}


.swal2-title{
  font-family: "DG-3asomy-Regular" !important;
  font-weight: normal !important;
}

.swal2-html-container{
  font-family: "lemonada" !important;
  font-size: 15px !important;
}

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

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

/* End navbar side */



/* Start header home section */

.bg-header {
  position: relative;
  overflow: hidden;
}

.bg-header::before {
  background-image: url(../media/img/bg-header.webp);
  background-size: cover;
  background-position: center;
  opacity:0.1 ;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* animation: flash 1.2s infinite alternate; */
}

/* @keyframes flash {
  from {
    filter: brightness(1);
    opacity:0.2 ;

  }
  to {
    filter: brightness(5);
    opacity:0 ;


  }
} */

.header-home .content {
  display: flex;
  flex-direction: column;
  margin-top: 100px;
}

@media only screen and (max-width: 767px) {
  .header-home .content {
    align-items: center;
    text-align: center;
  }
}

.main-img-home {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  margin-top: 100px;
  margin-bottom: 20px;
}

.header-home h3 {
  font-family: "DG-3asomy-Regular";
  color: var(--Color-black);
  margin: 0;
  padding: 20px;
  padding-right: 0px;
  font-size: 40px;
  text-align: right;
  line-height: 1.8;
  
}

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

  .header-home .content {
    margin-top: 100px;
  }

  .main-img-home {
    margin-top: 30px;
  }
}

.header-home h3 span {
  color: var(--color-red-black);
}

.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: var(--Color-gray);
  font-size: 18px;
  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;
  }
}
@media only screen and (max-width: 767px) {
  .header-home p {
    font-size: 17px;
    text-align: center;
  
  }
  
}

.btn-create{
  display: flex;
  justify-content: center;
}

.create-new-account {
  font-family: "dg-3asomy-regular";
  font-weight: normal;
  text-decoration: none !important;
  background: var(--Color-gray);
  padding: 3px 20px;
  border-radius: 15px 15px 0 0;
  border-bottom: 3px var(--Color-black) solid;
  color: var(--color-white);
  font-size: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all linear 0.2s;
  width: fit-content;
}
.create-new-account:hover {
  background: var(--color-white);
  color: var(--color-red-black);
  border-bottom: 3px var(--color-red-black) solid;

}

.main-img-home img {
  width: 350px;
  border-radius: 15px;
}

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


.img-header-buttom{
  width: 100%;
  height: auto;
  display: block;
}

@media only screen and (max-width: 767px) {
  .img-header-buttom{
    width: 800px;
  }
}

.content-header-buttom{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
width: 100%;
display: flex;
justify-content: center;
align-items: center;
}

.content-header-buttom p{
  font-family: "dg-3asomy-regular";
  font-weight: normal;
  font-size: 35px;
  color: #fff;
    color: transparent;
  -webkit-text-stroke: 0.8px #fff;
  text-align: center;
  margin: 0;
  width: fit-content;
  padding: 3px;
}

.search-icon-header{
  width: 100px;
  height: 100px;
}

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

  .search-icon-header{
  width: 75px;
  height: 75px;
}
}
@media only screen and (max-width: 767px){
  .content-header-buttom p {
    font-size: 24px;
  }
  .search-icon-header{
  width: 60px;
  height: 60px;
  }
}

@media only screen and (max-width: 575px){
    .content-header-buttom p {
    font-size: 19px;
  }
  .search-icon-header{
  width: 50px;
  height: 50px;
  }
}

@media only screen and (max-width: 450px){
    .content-header-buttom p {
    font-size: 17px;
  }
  .search-icon-header{
  width: 40px;
  height: 40px;
  }
}

@media only screen and (max-width: 360px){
    .content-header-buttom p {
    font-size: 16px;
  }
  .search-icon-header{
  width: 35px;
  height: 35px;
  }
}

@media only screen and (max-width: 351px){
    .content-header-buttom p {
    font-size: 15px;
  }
  .search-icon-header{
  width: 30px;
  height: 30px;
  }
}

/* end header home section */



/* Strat about hom section */

.about-section::before {
  background-image: url(../media/img/pattern-2.webp);
  background-size: cover;
  background-position: center;
  background-repeat: repeat;
  opacity:0.1 ;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  z-index: -1;
}
.about-section::after {
  background-image: url(../media/img/pattern-2.webp);
  background-size: cover;
  background-position: center;
  background-repeat: repeat;
  opacity:0.1 ;
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  z-index: -1;

}

.right-side-about {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 15px;
}

.right-side-about p {
  font-family: "LamaSans-Regular";
  font-weight: bold;
  color: var(--Color-gray);
  font-size: 16px;
  text-align: right;
  line-height: 1.6;
  margin: 0;
}

@media only screen and (max-width: 991px) {
  .right-side-about {
    align-items: center;
    text-align: center;
  }

  .right-side-about p {
    text-align: center;
  }
}

.left-side-about {
  background: var(--color-white);
  border-radius: 22px;
  padding: 10px;
  box-shadow: 0 0 8px 5px #00000036;
  margin: 5px;
}

@media only screen and (max-width: 991px) {
  .left-side-about {
    margin: 0px 20px;
    margin-top: 40px;

  }
}


.card-about {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: var(--Color-gray);
  padding: 10px;
  border-radius: 13px;
  margin: 10px;
}

.header-card-about{
  display: flex;
  align-items: center;
  gap: 5px;
}

.header-card-about h3 {
  font-family: "LamaSans-BoldItalic";
  font-size: 20px;
  text-align: right;
  margin: 0;
  color: var(--color-white);
}

.content-card-about {
  font-family: "lemonada";
  font-weight: 300;
  font-size: 12px;
  text-align: right;
  color: #ffffff80;
}

/* End about hom section */



/* Start acdmic year section home  */

.speacial-heading{
  justify-content: center;
}

.card-year{
  padding: 20px;
  text-align: center;
}

.img-card-year{
  position: relative;
  border-radius: 15px;
  width: 100%;
}

.title-card-year{
    font-family: "lamasans-bolditalic";
    font-size: 20px;
    position: absolute;
    right: 40px;
    bottom: 40px;
    margin: 0;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    color: var(--color-white);
    padding: 10px 20px;
}

@media only screen and (max-width: 991px) {
  .title-card-year{
    font-size: 16px;
    right: 30px;
    bottom: 30px;
    padding: 7px 15px;
  }
}

@media only screen and (max-width: 767px) {
  .title-card-year{
    font-size: 18px;
    right: 35px;
    bottom: 35px;
    padding: 7px 15px;
  }
}



/* End acdmic year section home  */


/* Start courses section home */

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

.course img {
  width: 100%;
  border-radius: 25px;
}

.content-course {
  width: 90%;
  position: relative;
  top: -30px;
  background: var(--color-red-black);
  border-radius: 20px;
  padding-bottom: 15px;
}

.content-course h4 {
  font-family: "dg-3asomy-regular";
  color: var(--color-white);
  text-align: center;
  font-size: 20px;
  padding: 10px 5px;

}


.content-course .number-lect {
  font-family: "lemonada";
  text-align: center;
  background: rgb(255, 255, 255, 0.2);
  padding: 10px 5px;
  margin: 0;
  font-size: 14px;
  color: var(--color-white);
}

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

.data-course .price {
  font-family: "lemonada";
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: fit-content;
  gap: 4px;
  padding: 4px 8px;
  background: #fff;
  border-radius: 25px;
  font-size: 14px;
  margin: 5px 0px;
  color: black;
}

.data-course .price span {
  font-family: "lamasans-BoldItalic";
  /* font-weight: 500; */
  font-size: 16px;
  color: var(--color-red-black);
}

.data-course .price-free {
  font-family: "lamasans-bold";
  display: flex;
  justify-content: center;
  gap: 4px;
  align-items: center;
  background: var(--main-color-gradient);
  font-size: 15px;
  color: var(--color-white);
  padding: 5px 7px;
  border-radius: 20px;
}

.data-course .price-del {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  font-family: "lamasans-bold";
  padding: 4px 6px;
  background: var(--color-white);
  border-radius: 25px;
  font-size: 15px;
  margin: 5px 0px;
}

.data-course .price-del span {
  font-family: "lamasans-BoldItalic";
  background: var(--main-color-gradient);
  color: var(--color-white);
  text-decoration: line-through;
  border-radius: 20px;
  padding: 0px 8px;
}

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

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

.info-course p svg {
  color: var(--color-white);
}

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

.course-subscription .check {
  font-family: "lemonada";
  /* font-weight: bold; */
  text-decoration: none;
  background: var(--Color-gray);
  padding: 5px 13px;
  margin: 0;
  border-radius: 10px;
  font-size: 13px;
  color: var(--color-white);
  border-bottom: 3px var(--Color-black) solid;
}

.course-subscription .check:hover {
  background: var(--Color-black);
  /* color: var(--Color-black); */
}

.course-subscription .subscription {
  font-family: "lamasans-regular";
  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/bg-footer-laptop.svg");
  background-size: cover;
  background-position: left;
  position: relative;
  background-repeat: no-repeat;
  overflow: hidden;
}

@media only screen and (max-width: 991px) {
  .footer-home {
    background-image: url("../media/img/bg-footer-mobile.svg");
  }
}

.img-footer {
  width: 200px;
  display: block;
  margin: 50px auto 0px auto;
}

.coat-footer {
  font-family: "dg-3asomy-regular";
  font-weight: normal;
  text-align: center;
  color: var(--color-white);
  font-size: 20px;
}

.coat-footer span {
  color: var(--color-red-black);
}

.hr-footer {
  width: 50%;
  border: 3px solid var(--color-red-black);
  margin: 20px auto;
  border-radius: 20px;
}

@media only screen and (max-width: 575px) {
  .hr-footer {
    width: 70%;
  }
}

.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: 80px;
}
.footer-home .icon a img:hover {
  transform: scale(1.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);
}

.footer-home .copy-right {
  font-family: "lemonada";
  letter-spacing: 1px;
  font-weight: bold;
  text-align: center;
  color: var(--color-white);
  font-size: 17px;
}

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

.footer-home .copy-right .ros {
  color: var(--color-red-black);
  text-decoration: none;
}
.footer-home .copy-right .ros:hover {
  color: var(--Color-black);
  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 */
