/* Lemonada font  */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@500;700&family=Lemonada:wght@300..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&family=Cairo:wght@500;700&family=Lemonada:wght@300..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;

}

:root {
  --primary: #eeeeee;
  --secondary: #227c70;
  --green: #82cd47;
  --secondary-light: rgb(34, 124, 112, 0.2);
  --secondary-light-2: rgb(127, 183, 126, 0.1);
  --white: #fff;
  --black: #393e46;

  --shadow: 0px 2px 8px 0px var(--secondary-light);
}rtl {
  direction: rtl;
}

.almarai {
  font-family: "Almarai", sans-serif;
}

/* global */
.font-medium {
  font-weight: 500;
}

.text-sm {
  font-size: .875rem;
  line-height: 1.25rem;
}

.btn {
  border: none;
  transition: .3s;
  border-radius: 10px;
  padding: 8px 16px;
}

.allExamBtn
{
  border: none;
  transition: .3s;
  border-radius: 10px;
  padding: 8px 16px;
}

body {
  /* min-height: 100vh; */
  background-image: url(../../imgs/Cover.png);
}

nav {
  background-color: rgb(255, 255, 255);
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
  padding: 1rem 2rem;
  height: auto;
  position: fixed;
  width: 100%;
  z-index: 1000000;
}

nav ul {
  width: 100%;
  list-style: none;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* logo */
.logo img {
  width: 350px;
  height: auto;
}


.logo right_logo {
  color: #FF3131;
  font-size: 50px;
  font-family: "cairo";
  font-weight: 600;
}
.logo .right_logo l {
  color: #000000;
  
  font-family: "cairo";
  font-weight: 600;
}

nav li {
  height: 50px;
}
nav a {
  height: 100%;
  padding: 0 30px;
  text-decoration: none;
  display: flex;
  align-items: center;
  color: black;
}

nav a:hover {
  /* background-color: #f0f0f0; */
}

nav li:first-child {
  margin-right: auto;
}

.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 250px;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
  list-style: none;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  /* /* display: flex; */
  align-items: center;
  /* justify-content: center; */
  direction: rtl !important;
  z-index: 10000000;
}

.close-icon {
  direction: ltr !important;
  /* position: absolute;
  top: 10px;
  left: 10px; */
}

.sidebar li {
  width: 90%;
}

.sidebar a {
  width: 100%;
}

.menu-button {
  display: none;
}

.log-li,
.register-li {
  padding-bottom: 0.5rem;
  padding-top: 0.5rem;
  margin: 0px 32px 0px 0px;
}

.log-li a,
.register-li a {
  font-family: "Almarai", sans-serif;
  font-weight: 500;
  font: 14px
}

.log_btn span {
  color: #FF3131;
  margin-right: 5px;
  font-weight: 500;
}

.log_btn {
  width: 100%;
  height: 100%;
  background: transparent;
}

.log-li {
  transition: .5s;
  border-radius: 10px;
  cursor: pointer;
}

.log-li:hover {
  -webkit-box-shadow: 13px 21px 40px 0px rgba(0, 0, 0, 0.489);
  -moz-box-shadow: 13px 21px 40px 0px rgba(0, 0, 0, 0.486);
  box-shadow: 13px 21px 40px 0px rgba(0, 0, 0, 0.386);
}

.log_btn i {
  margin-left: 5px;
  font-size: 28px !important;
  color:#FF3131;
  /* color: #f65e78; */
}

.log-li:hover i {
  animation: rotate .3s;
}

.sidebar-btn .log-btn a {
  padding-left: 0px !important;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.sidebar-btn .btn {
  padding: 0 !important;
}

@keyframes rotate {
  0% {
    rotate: 0deg;
  }

  100% {
    rotate: 160deg;
  }
}


.register-li {
  background: #FF3131;
  border: #FF3131 1px solid;
  transition: .3s;
  height: 100%;
  border-radius: 10px;
  cursor: pointer;
}

.register-li .btn {
  background: transparent;
}

.register-li .btn a {
  color: #fff;
}

.register-li .btn a i {
  margin-left: 8px;
  /* font-size: 16px; */
}

.register-li:hover {
  background: #fff;
}

.register-li:hover a {
  color: #FF3131;
}

.sidebar-btn {
  height: 90% !important;
  height: 80px !important;
  margin-top: 20px;
  padding: 0px;
}

.sidebar-btn {
  /* text-align: center ; */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: start;
}

.sidebar-btn .log-btn,
.sidebar-btn .register-btn {
  padding: 5px !important;
  text-align: center;
  width: 80%;
}

@media(max-width: 800px) {
  .hideOnMobile {
    display: none;
  }

  .menu-button {
    display: block;
  }
}

@media(max-width: 460px) {
  .sidebar {
    width: 100%;
  }
  .logo img {
    width: 300px;
    height: auto;
  }
  .right_logo {
 
  color: #FF3131;
  font-size: 23px;
  font-family: "cairo";
  font-weight: 600;
}
.right_logo l {
  color: #000000;
  
  font-family: "cairo";
  font-weight: 600;
}
}

/* section 1 */



.sec-1 {
  padding-top: 20%;
  direction: ltr;
  min-height: 120vh;
  overflow: hidden;
}


.sec-1-main {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 1000;
  margin-top: -15%;
  
}
.sec-1-main img {
 width: 600px;
 height: auto;
 margin-bottom: -15%;
 margin-top: -15%;
 margin-right: -50%;
}
.sec-1-main h1,
.sec-1-main h2,
.sec-1-main p,
.sec-1-main button 
.sec-1-main buttonn{


  font-family: "Almarai", sans-serif;
  color: rgb(0, 0, 0);
}

.sec-1-main h1 {
 
  margin-left:50% ;
  font-weight: 700;
  font-size: 5rem;
  
}
.sec-1-main h2 {
  margin-top: -2%;
  margin-right: -50%;
  font-weight: 700;
  font-size: 4rem;
  
}
.mr img{
  margin-left: 3%;
  margin-top: -15%;
  margin-bottom: -19%;
  width: 800px;
  height: auto;
  }
  
.sec-1-main h1 span {

  color: #FF3131;
}


.sec-1-main h2 span {
  font-size: 4.5rem;
  color: #FF3131;
}

.sec-1-main p {
  margin-left:50% ;
  font-size: 2rem;
  max-width: 50%;
  text-align: center;
}

.sec-1-main p .wel-span {
  color: #003983(234, 179, 8);
}

.sec-1-main p .span-2 {
  color: #FF3131;
}

.sec-1-main button {
  font-family: "Almarai", sans-serif;
  margin-left:50% ;
  background: #FF3131;
  color: #ffffff;
  padding: .6rem 1rem;
  border: 1px solid #FF3131;
  margin-top: 3rem;
  max-width: 24rem;
  width: 24rem;
  border-radius: 5px;
  cursor: pointer;
  transition: .3s;
}

.sec-1-main button a {
  color: #fff;
  text-decoration: none;
  font-size: 2rem;
  /* padding: 10px 0px; */
  cursor: pointer;
  transition: .3s;
}

.sec-1-main button:hover {
  background: #ffffff;
  border: none;
}

.sec-1-main button:hover a {
  color: #FF3131;
}
.sec-1-main buttonn{
  text-align: center;
  font-family: "Almarai", sans-serif;
  margin-left:50% ;
  background: #ffffff;
  color: #ffffff;
  padding: .6rem 1rem;
  border: 1px solid #FF3131;
  margin-top: 3rem;
  max-width: 24rem;
  width: 24rem;
  border-radius: 5px;
  cursor: pointer;
  transition: .3s;
}

.sec-1-main buttonn a {
  color: #FF3131;
  text-decoration: none;
  font-size: 2rem;
  /* padding: 10px 0px; */
  cursor: pointer;
  transition: .3s;
}

.sec-1-main buttonn:hover {
  background: #FF3131;
  border: none;
}

.sec-1-main buttonn:hover a {
  color: #ffffff;
}
@media (max-width: 768px) {
  .mr img{
    margin-right: 60%;
    margin-top: -15%;
    margin-bottom: -19%;
    width: 600px;
    height: auto;
    }
    
  .sec-1-main h1 {
    text-align: center;
    font-size: 4rem;
    
  }
}
@media (max-width:1416px) {
  .sec-1-main button {
    margin-top: 2%;
  
    margin-bottom: -4%;
   
  }
 
  .sec-1-main h1 {
    margin-top: -10%;
    text-align: center;
    font-size: 3rem;
  }
  .sec-1-main h2 {
    font-size: 2.5rem;
  }
  .sec-1-main h2 span {
    font-size: 2.9rem;
  }
  .sec-1-main p {
    width: 400px;
    font-size: 1.5rem;
  }
  .mr img{
   margin-top: -10%;
    width: 600px;
    height: auto;
    
    }
}
@media (max-width:878px) {
 
  .sec-1-main button {
    margin-top: 2%;
  
    margin-bottom: -4%;
   
  }
 .logo img {
width: 228px;
 }
  .sec-1-main button {
    font-size:2rem ;
    margin-bottom: -4%;
    width: 16rem;
  }
  .sec-1-main buttonn {
    width: 16rem;

  }
  .mr img{

    margin-left: -1%;
     margin-top: 0%;
    width: 450px;
    height: auto;
    z-index: 1000;
    }
  .sidebar .sidebar-btn {
    width: 70%;
  }

  .sidebar .sidebar-btn i {
    margin-right: 5px;
  }
  .sec-1-main{
    margin-left: -3%;
  }

  .sec-1-main h1 {
   
    margin-top: -15%;
    text-align: center;
    font-size: 2.5rem;
  }
  .sec-1-main h2 {
    font-size: 2rem;
  }
  .sec-1-main h2 span {
    font-size: 2.2rem;
  }
  .sec-1-main p {
    font-size: 1.5rem;
  }
}

@media (max-width:666px) {

  .sec-1-main h1 {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
  }
  .sec-1-main h2 {
    font-size: 2rem;
    font-weight: 600;
  }

  .sec-1-main p {
    font-size: 1rem;
    max-width: 50%;
  }
 
  }


@media (max-width:606px) {
  .sec-1-main h1 {
    align-self: center;
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
  }
  .sec-1-main h2 {
    font-size: 2rem;
    font-weight: 600;
  }

  .sec-1-main p {
    font-size: 1rem;
    max-width: 50%;
  }
}

@media (max-width:431px) {
  .material
  {
    margin-right:45%;  
    top: -55px;
  }

  .sec-1-main h1 {

    margin-right:45%;
    width: 900px;
    height: auto;
    margin-top: -2%;
    text-align: center;
    font-size: 2.1rem;
    font-weight: 700;

  }
  .sec-1-main h2 {
    width: 400px;
    height: auto;
   margin-right: 0%;
    text-align: center;
    font-size: 1.7rem;
    font-weight: 600;
  }
  .sec-1-main h2 span {
    width: 400px;
    height: auto;
   
    text-align: center;
    font-size: 1.95rem;
    font-weight: 600;
  }
  .sec-1-main p {
    width: 600px;
    font-weight: 600;
    height: auto;
    margin-right:50%;
    font-size: 1.2rem;
    max-width: 80%;
  }
  .mr img {
    margin-left:3%;
    margin-top: 10%; /* Adjust margin for phone */
    margin-bottom: 15%; /* Adjust margin for phone */
    width: 375px; /* Adjust image size for phone */
    height: auto;
  }
  .sec-1-main button {
    margin-top: 2%;
    margin-right:45%;
    
    width: 18rem;
  }
  .sec-1-main buttonn {
    margin-right:45%;

    width: 18rem;
  }
  .sec-1 {
  
    padding-top: 20%;

  }

  nav {
    padding: 1rem .5rem;
  }

  .logo img {
  margin-left: -15%;
   width: 200px;


  }

}

/*** Hero Header ***/
.hero_area1 {

 
  position: relative;
  height: auto;
  width:100%;
 background-color: transparent;
 

}
.hero_area1 .text-center.text-lg-start {
  text-align: right !important; /* محاذاة النص لليسار */
 position: absolute;
  right:0%;
top: 30%;
}

.hero_area1 .text-center.text-lg-end {
  right: 50%;
  width: 380px; /* يمكنك تعديل العرض حسب الحاجة */
  height: auto;
 
}
.hero_area2 {

  position: relative;
  height: 1vh;
  width:100%;
 background-color: transparent;

}

.waves {
 
  position: absolute;
  width: 100%;
  height: 15vh;
  min-height: 100px;
  max-height: 150px;
  bottom: 0;
  left: 0;
}

.parallax>use {
  animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
}

.parallax>use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}

.parallax>use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}

.parallax>use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}

.parallax>use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}

@keyframes move-forever {
  0% {
      transform: translate3d(-90px, 0, 0);
  }

  100% {
      transform: translate3d(85px, 0, 0);
  }
}


/*Shrinking for mobile*/

@media (max-width: 768px) {
  .waves {
    position: absolute;
  width: 100%;
  height: auto;
  
  
  left: 0;
      height: 100px;
      min-height: 100px;
  }
}

/* Waves Animation end*/


/* الخدمات */
.services {
  padding: 50px 0;
  background-color: #FF3131;
}

.services .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.services .section-title {
  font-family: "Almarai", sans-serif;
  color: rgb(255, 255, 255);
  font-size: 50px;
  font-weight: 700;
  margin-bottom: 20px;
}

.services .service-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.services .item {
  border-radius: 5px;
  text-align: center;
  padding: 30px 20px;
  margin: 5px;
  transition: all .3s;
  flex: 1 1 250px; /* تعديل العرض الأساسي للعناصر حسب الحاجة */
  max-width: 300px; /* تحديد الحد الأقصى لعرض العناصر */
  background: #fff;
}

.services .item:hover {
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
}

.services .item .icon {
  max-width: 75px;
  margin: 0 auto;
  min-height: 50px;
  line-height: 50px;
  vertical-align: middle;
}

.services .item h4 {
  font-family: "Almarai", sans-serif;
  color: rgb(0, 7, 102);
 
  font-weight: 700;
  margin-top: 5px;
  margin-bottom: 5px;
  font-size: 30px;

}

.services .item p {
  font-family: "Almarai", sans-serif;
  font-size: 16px;
  line-height: 1.4;
  color: #555;
}
/* section 2 end  */
/* section 3 start */
.main-sec-3 {
  padding: 1rem 2rem;
  margin: 8rem 0;

}

.main-row {
  color: #111827;
  transition: all .4s ease;
  --tw-bg-opacity: 0.5;
  gap: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;


}

.row {
  color: #111827;
  --tw-bg-opacity: 0.5;
  direction: rtl;
  font-family: "Almarai";
  font-weight: 400;
  text-align: right;
  cursor: pointer;
}

.row:hover .img img,
.row:hover .class a .class-div1 {
  scale: 1.1;
}

.img {
  border-radius: .375rem;
  overflow: hidden;
  width: 100%;
  --tw-bg-opacity: 0.5;
}

.img img {
  transition: all .4s ease;
  text-align: center;
  height: auto;
  max-width: 100%;
}

.class {
  padding: 0 1.25rem;
  margin-top: -2.5rem;
  z-index: 10;
  position: relative;
}

.class a .class-div1 {
  background-color: #f3f4f6;
  color: #111827;
  box-shadow: -5px 5px 20px #0006;
  transition: all .4s ease;
  padding: 1.5rem 1rem;
  border-color: rgb(203 213 225 / var(1));
  border-width: 1px;
  border-radius: .375rem;
  width: 100%;
  border: 0 solid #e5e7eb;
}

.class a .class-div1 .class-div2 {
  display: flex;
  flex-direction: column;
  color: #111827;

}


.class a .class-div2 .class-div3 .class-div3 {
  align-items: center;
  display: flex;
  justify-content: space-between;
  flex-direction: row;
}

.class a .class-div1 .class-div2 .class-div3 .class-div4 {
  display: flex;
  flex-direction: column;
  width: 100%;

}

.class a .class-div1 .class-div2 .class-div3 .class-div4 .class-div5 {
  font-weight: 700;
  font-size: 1.125rem;
  padding-right: .75rem;
  color: #111827;
}

.class-line {
  --tw-space-y-reverse: 0;
  margin-bottom: calc(1rem* var(--tw-space-y-reverse));
  margin-top: calc(1rem*(1 - var(--tw-space-y-reverse)));
  height: 2px;
  width: 100%;
  transition: all .4s ease;
  --tw-bg-opacity: 1;
  background-color: #111827;
  border-radius: .5rem;
}

.class-scandary {
  --tw-space-y-reverse: 0;
  margin-bottom: calc(1rem* var(--tw-space-y-reverse));
  margin-top: calc(1rem*(1 - var(--tw-space-y-reverse)));
  color: #6b7280;
}

/* @media (min-width: 1024px) {
  .main-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
} */

@media (max-width: 768px) {
  .main-row {
    flex-direction: column;
  }

  /* .sec-1-main button{
    width: 20rem;
  } */
}


@media (min-width: 640px) {
  .main-sec-3 {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

/* section 3 end  */
/* footer start  */
footer{
  
  background-color: #292D33;
  font-family: Verdana, Geneva, cairo, sans-serif;
}

.footerContainer{
  width: 100%;
  padding: 70px 30px 20px ;
}
.socialIcons{
  display: flex;
  justify-content: center;
}
.socialIcons a{
  text-decoration: none;
  padding:  10px;
  background-color: white;
  margin: 10px;
  border-radius: 50%;
}
.socialIcons a i{
  font-size: 2em;
  color: #21262D;
  opacity: 0,9;
}
/* Hover affect on social media icon */
.socialIcons a:hover{
  background-color: #21262D;
  transition: 0.5s;
}
.socialIcons a:hover i{
  color: white;
  transition: 0.5s;
}
.footerNav{
  margin: 30px 0;
}
.footerNav ul{
  display: flex;
  justify-content: center;
  list-style-type: none;
}
.footerNav ul li a{
  color:white;
  margin: 20px;
  text-decoration: none;
  font-size: 1.3em;
  opacity: 0.7;
  transition: 0.5s;

}
.footerNav ul li a:hover{
  opacity: 1;
}
.footerBottom{
  background-color: #21262D;
  padding: 20px;
  text-align: center;
}
.footerBottom p{
  color: white;
}
.designer{
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 400;
  margin: 0px 5px;
}
@media (max-width: 700px){
  .footerNav ul{
      flex-direction: column;
  } 
  .footerNav ul li{
      width:100%;
      text-align: center;
      margin: 5px;
  }
  .socialIcons a{
      padding: 15px;
      margin: 4px;
  }
}

/* course bage */
/* sec-1 start */

.sec-course-1 {
  padding-top: 10%;

}

.sec-course-1 .main-sec-1 {
  background: rgb(250 204 21);
  text-align: right !important;
  position: relative;
  min-height: 60vh;

}

.sec-course-1 .main-sec-1 img {
  background-size: cover;
  /* position: absolute; */
  opacity: 0.2;
  width: 100%;
  height: 100%;
  margin-right: auto;
}

.sec-course-1 .main-sec-1 ul {
  /* height: 100%; */
  position: absolute;
  top: 30%;
  right: 2%;
  z-index: 1;
  /* text-align: right; */
}

.sec-course-1 .main-sec-1 .btn {
  color: #e5e7eb;
}

.sec-course-1 .main-sec-1 li {
  display: flex;
}

.sec-course-1 .main-sec-1 .btn .span-1,
.sec-course-1 .main-sec-1 .btn .span-2 {
  border-radius: 9999px;
  padding: 5px 20px;
  font-family: "Almarai", sans-serif;
  font-weight: 400;
  text-align: center;
}

.sec-course-1 .main-sec-1 .btn .span-1 {
  background: rgb(30 58 138);
  margin-left: -18px;
}

.sec-course-1 .main-sec-1 .btn .span-2 {
  background: #22d3ee;
}

.sec-course-1 .main-sec-1 .btn .span-1 i {
  color: rgb(250, 204, 21);
  font-size: 1rem;
}

.sec-course-1 .main-sec-1 .btn .span-2-2 {
  background: #f43f5e;
}

.sec-course-1 .main-sec-1 .btn .span-2-3 {
  background: #3b82f6;
}

.sec-course-1 .main-sec-1 ul .font-h1 {
  --tw-space-y-reverse: 0;
  margin-bottom: calc(1.5rem* var(--tw-space-y-reverse));
  margin-top: calc(1.5rem*(1 - var(--tw-space-y-reverse)));
  font-weight: 700;
  font-size: 1.5rem;
  font-family: "Almarai", sans-serif;
  padding-right: 2rem;
  margin-top: 3rem;
}

.sec-course-1 .main-sec-1 ul .li-2 {
  display: flex;
  /* align-items: center; */
  justify-content: right;
  flex-direction: column;
}

.sec-course-1 .main-sec-1 ul .div {
  /* --tw-space-y-reverse: 0;
      margin-bottom: calc(1.5rem* var(--tw-space-y-reverse));
      margin-top: calc(1.5rem*(1 - var(--tw-space-y-reverse))); */
  padding-right: 2rem;
  margin-top: 2rem;
}

.sec-course-1 .main-sec-1 ul .creat-date {
  display: flex;
  align-items: center;
  padding-right: 2rem;
  margin-top: 2rem;
}

.sec-course-1 .main-sec-1 ul .creat-date .creat,
.sec-course-1 .main-sec-1 ul .creat-date .update {
  text-decoration: underline;
  margin-left: 1rem;
}

.sec-course-1 .main-sec-1 ul .creat-date .creat i {
  color: rgb(96 165 250);
  margin-left: 0.5rem;

}

.sec-course-1 .main-sec-1 ul .creat-date .creat-2,
.sec-course-1 .main-sec-1 ul .creat-date .update-2 {
  border-radius: 999px;
  color: rgb(30 41 59);
  opacity: .9;
  padding: 0 .75rem;

}

.sec-course-1 .main-sec-1 ul .creat-date .update i {
  color: rgb(251 113 133);
  margin-left: 0.5rem;
}

.sec-course-1 .main-sec-1 ul .creat-date .creat-2 {
  background: rgb(96 165 250);
  margin-left: 1.5rem;
}

.sec-course-1 .main-sec-1 ul .creat-date .update-2 {
  background: rgb(251 113 133);
}

/* sec-1 end */
/* sec-2 start */
/*sec-course-2
main-sec-2
main-row */


.sec-course-2 {
  --tw-space-y-reverse: 0;
  margin-bottom: calc(2.5rem* var(--tw-space-y-reverse));
  margin-top: calc(2.5rem*(1 - var(--tw-space-y-reverse)));
  position: relative;
}

.sec-course-2 .main-sec-2 {
  width: 100%;
  display: flex;
  justify-content: space-between;

}

.main-row {
  direction: rtl;
}

.sec-course-2 .main-row-1 {
  margin-top: -13rem;
  position: relative;
}

.sec-course-2 .main-row-1 .div-1 {
  color: #111827;
  --box-border: #ffffff40;
  --back-color: #0001;
  -webkit-backdrop-filter: saturate(180%) blur(5px);
  backdrop-filter: saturate(180%) blur(5px);
  background-color: var(--back-color);
  border-left: 1px solid var(--box-border);
  border-top: 1px solid var(--box-border);
  box-shadow: 0 0 20px #0006;
  transition: all .4s ease;
  border-radius: .5rem;
  overflow: hidden;
  width: 100%;

}

.sec-course-2 .main-row-1 .div-1 .div-2 {
  padding: 1rem;
}

.sec-course-2 .main-row-1 .div-1 .div-2 .div-3 {
  border-radius: .375rem;
  overflow: hidden;
}

.sec-course-2 .main-row-1 .div-1 .div-2 .div-3 img {
  height: auto;
  max-width: 100%;
}

.sec-course-2 .main-row-1 .div-1 .div-2 button {
  --tw-space-y-reverse: 0;
  margin-bottom: calc(2rem* var(--tw-space-y-reverse));
  margin-top: calc(2rem*(1 - var(--tw-space-y-reverse)));
  color: #fff;
  transition: all .4s ease;
  text-align: center;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-bottom: .5rem;
  padding-top: .5rem;
  --tw-bg-opacity: 1;
  background-color: rgb(244 63 94 / var(--tw-bg-opacity));
  border-width: 2px;
  border-radius: .375rem;
  width: 100%;
  display: inline-block;
  cursor: pointer;



}
@keyframes zoom {
  from {
    object-position: 0 50%;
  }
  to {
    object-position: 100% 50%;
  }
}

@keyframes blur {
  from {
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
  }
  to {
    -webkit-transform: scale(1.5, 1.5);
    transform: scale(2, 2);
  }
}

* {
  border: 0;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.sec-course-2 .main-row-1 .div-1 .div-2 .div-4 {
  -tw-space-y-reverse: 0;
  margin-bottom: calc(2rem* var(--tw-space-y-reverse));
  margin-top: calc(2rem*(1 - var(--tw-space-y-reverse)));
  font-size: .813rem;
}

.sec-course-2 .main-row-1 .div-1 .div-2 .div-4-2 {
  -tw-space-y-reverse: 0;
  margin-bottom: calc(2rem* var(--tw-space-y-reverse));
  margin-top: calc(0rem*(1 - var(--tw-space-y-reverse)));
  font-size: .813rem;
}

.sec-course-2 .main-row-1 .div-1 .div-2 .div-4 .div-5

/* , */
/* .sec-course-2 .main-row-1 .div-1 .div-2 .div-4 .div-6  */
  {
  padding: .75rem .5rem;
  display: flex;
  position: relative;
  justify-content: space-between;
  flex-direction: column-reverse;
}

.sec-course-2 .main-row-1 .div-1 .div-2 .div-4 .div-5 .div-5-1 {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  color: #6b7280;
  transition: all .4s ease;
  font-size: .813rem;
  /* justify-content: center; */
  align-items: center;
  text-align: center;
}

.sec-course-2 .main-row-1 .div-1 .div-2 .div-4 .div-5 .div-5-1 .span-svg {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .4s ease;
  --tw-text-opacity: 1;
  color: rgb(30 58 138 / var(--tw-text-opacity));
  font-size: .813rem;

}

.sec-course-2 .main-row-1 .div-1 .div-2 .div-4 .div-5 .div-5-1 .span-svg .sec-course-2 .main-row-1 .div-1 .div-2 .div-4 .div-5 .div-5-3 {
  background-color: #d1d5db;
  transition: all .4s ease;
  position: absolute;
  width: 100%;
  height: .125rem;
  right: 0;
  top: 100%;
  font-size: .813rem;

}

.sec-course-2 .main-row-1 .div-1 .div-2 .div-4 .div-5 .div-5-1 span {
  font-weight: 500;
  font-size: 1rem;
}

.sec-course-2 .main-row-1 .div-1 .div-2 .div-4 .div-6 {
  background-color: #d1d5db;
  position: absolute;
  top: 100%;
  right: 0;
  width: 100%;
  height: .125rem;
}

.sec-course-2 .main-row-2 .div-2 {
  box-shadow: 0 0 20px #0006;
  border-radius: 1rem;
  overflow: hidden;
  width: 50vw;

}

.sec-course-2 .main-row-2 .div-2 img {
  height: auto;
  max-width: 100%;
}

@media (min-width: 768px) {
  .sec-course-2 .main-sec-2 {
    flex-direction: row-reverse;
  }

  .sec-course-2 .main-row-1 {
    flex-basis: 33.333333%;
  }

  .sec-course-2 .main-row-2 {
    --tw-space-x-reverse: 0;
    margin-left: calc(2.5rem*(1 - var(--tw-space-x-reverse)));
    margin-right: calc(2.5rem* var(--tw-space-x-reverse));
  }

  .sec-course-2 .main-row-2 .div-1 {
    --tw-space-x-reverse: 0;
    margin-left: calc(2.5rem*(1 - var(--tw-space-x-reverse)));
    margin-right: calc(2.5rem* var(--tw-space-x-reverse));
    --tw-space-y-reverse: 0;
    margin-bottom: calc(0px* var(--tw-space-y-reverse));
    margin-top: calc(0px*(1 - var(--tw-space-y-reverse)));
  }

  .sec-course-2 .main-row-2 .div-2 {
    --tw-space-x-reverse: 0;
    margin-left: calc(2.5rem*(1 - var(--tw-space-x-reverse)));
    margin-right: calc(2.5rem* var(--tw-space-x-reverse));
    --tw-space-y-reverse: 0;
    margin-bottom: calc(0px* var(--tw-space-y-reverse));
    margin-top: calc(0px*(1 - var(--tw-space-y-reverse)));
    --tw-space-y-reverse: 0;
    margin-bottom: calc(2.5rem* var(--tw-space-y-reverse));
  }
}

@media (min-width: 640px) {
  .sec-course-2 .sec-course-2 {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}


/* sec-2 end */
/* sec-3 start */
.space-y-10>:not([hidden])~:not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-bottom: calc(2.5rem* var(--tw-space-y-reverse));
  margin-top: calc(2.5rem*(1 - var(--tw-space-y-reverse)));
}

.bg-third-container {
  background-color: #f3f4f6;
  background-color: var(--color-third-container);
}



.shadow-large {
  box-shadow: 0 0 20px #0006;
  box-shadow: 0 0 var(--shadow-large);
}


.smooth {
  transition: all .4s ease;
  transition: all var(--transition-smooth) ease;
}

.rounded-2xl {
  border-radius: 1rem;
}

.overflow-hidden {
  overflow: hidden;
}

.w-full {
  width: 100%;
}

.relative {
  position: relative;
}

@media (min-width: 640px) {
  .sm\:px-10 {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

.py-10 {
  padding-bottom: 2.5rem;
  padding-top: 2.5rem;
}

.font-w-bold {
  font-weight: 700;
  font-weight: var(--font-w-bold);
}

.font-h1 {
  font-size: 1.5rem;
  font-size: var(--font-size-h1);
}

.font-big {
  font-size: 2rem;
  font-size: var(--font-size-big);
}

.py-5 {
  padding-bottom: 1.25rem;
  padding-top: 1.25rem;
}

.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.rounded-md {
  border-radius: .375rem;
}

[type=button],
[type=reset],
[type=submit],
button {
  /* -webkit-appearance: button; */
  background-color: initial;
  background-image: none;
}

.clr-text-primary {
  color: #111827;
  color: var(--color-text-primary);
}

.flex-row {
  flex-direction: row;
}

.flex {
  display: flex;
}

.flex-center-both {
  justify-content: center;
}

.flex-center-both,
.flex-center-y {
  align-items: center;
  display: flex;
}

.pt-2 {
  padding-top: .5rem;
}

.cursor-pointer {
  cursor: pointer;
}

.-translate-y-px {
  --tw-translate-y: -1px;
}

space-x-reverse>:not([hidden])~:not([hidden]) {
  --tw-space-x-reverse: 1;
}

.space-x-4>:not([hidden])~:not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-left: calc(1rem*(1 - var(--tw-space-x-reverse)));
  margin-right: calc(1rem* var(--tw-space-x-reverse));
}

.flex-col {
  flex-direction: column;
}

.clr-text-secondary {
  color: #6b7280;
  color: var(--color-text-secondary);
}

.cursor-pointer {
  cursor: pointer
}

.space-y-6>:not([hidden])~:not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-bottom: calc(1.5rem* var(--tw-space-y-reverse));
  margin-top: calc(1.5rem*(1 - var(--tw-space-y-reverse)));
}

.border-secondary-container {
  border-color: #d1d5db;
  border-color: var(--color-secondary-container);
}

.bg-primary-container {
  background-color: #fff;
  background-color: var(--color-primary-container);
}

.shadow-medium {
  box-shadow: 0 0 10px #0004;
  box-shadow: 0 0 var(--shadow-medium);
}

.border-2 {
  border-width: 2px;
}

[type=button],
[type=reset],
[type=submit],
button {
  -webkit-appearance: button;
  background-color: initial;
  background-image: none;
}

[role=button],
button {
  cursor: pointer;
}

.bg-third-container {
  background-color: #f3f4f6;
  background-color: var(--color-third-container);
}

.justify-between {
  justify-content: space-between;
}

.text-rose-500 {
  --tw-text-opacity: 1;
  color: rgb(244 63 94 / var(--tw-text-opacity));
}

.font-smaller {
  font-size: .75rem;
  font-size: var(--font-size-smaller);
}

.text-right {
  text-align: right;
}















.scale-x-95,
.transform {
  -webkit-transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}


.-translate-y-1,
.-translate-y-px {
  -webkit-transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}


/* sec-2 end */

/* sec-courses-3 */
.navbar-courses {
  /* margin-top: 0 !important; */
  top: 0% !important;
}

.sec-courses-1 .row .class-scandary {
  text-align: center;
  width: 6rem;
  background-color: rgb(234, 179, 8);
  padding: .3rem .5rem;
  border-radius: 999px;
  color: #e5e7eb;

}

.sec-courses-1 .row .enter-btn {
  width: 7rem;
  background: #f43f5e;
  color: #e5e7eb;
  padding: 0.5rem;
  margin-top: 1rem;
  border: none;
  border-radius: 999px;
  font-weight: 500;
  font-size: 1rem;

}

@media (min-width:760px) {
  .sec-courses-1 .row {
    width: 30%;
  }

  .sec-courses-1 .main-row {
    flex-wrap: wrap;
  }

}

/* courses page end */
/* lecture page start */
.enter-btn-lect {
  width: 9rem !important;

}

/* lecture page end */
.lecture-row .class {
  margin-top: 2.5rem;
}

.lecture-row .class-div4,
.photo-row .class-div4 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* video page start */
.sec-3 {
  min-height: 60vh;
}

.sec-3-video {
  margin: 2rem 0;
}

.sec-3-video .main-sec-3 {
  margin: 5rem 0px;
}

.main-row-video {
  min-height: 50vh;
}

.main-row-video div {
  width: 80%;
}

@media (max-width:760px) {
  .main-row-video div {
    width: 100%;
  }
}

/* video page end */
/* photo page start */
.photo-row .class-div4 {
  width: 100%;
}

/* photo page end */


/* exam page  */

.quiz {
  /* padding-top:10% ; */
  border: 0 solid #e5e7eb;
  min-height: 40vh;
  width: 90%;
  margin: auto;
  box-shadow: 0 0 20px #0006;
  /* margin-top: 10%; */
  margin-bottom: 2%;
  border-radius: 1rem;
  border-width: 1px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.quiz-top {
  margin-top: 10%;
}

.quiz .quiz-name {
  color: #fff;
  font-size: 1.125rem;
  background-color: rgb(244 63 94);
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: 999px;
  margin-bottom: 2rem;
}

.quiz .quiz-timer {
  background-color: rgb(244 63 94);
  color: white;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  direction: ltr;
  padding: .5rem .75rem .25rem .75rem;
  border-radius: .375rem;
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.quiz .quiz-timer .quiz-timer-text {
  background-color: #f3f4f6;
  color: #6b7280;
  font-size: .75rem;
  padding-bottom: .25rem;
  padding-left: .5rem;
  padding-right: .5rem;
  border-radius: .375rem;
  font-size: 1rem;
}

.quiz .quiz-info {
  font-size: 1.3rem;
  margin-bottom: 2rem;
}
.quiz-info-number{
  background-color: #fff;
  color: #111827;
  padding-bottom: .25rem;
    padding-top: .25rem;  
    padding-left: .5rem;
      padding-right: .5rem;
      border-radius: .375rem;
}

.quiz .quiz-btn button {
  background-color: rgb(59 130 246);
  padding: .5rem 2rem;
  border-radius: .375rem;
  border-color: rgb(59 130 246);
  border-width: 2px;
  font-size: 1rem;
  color: #fff;
  transition: all .4s ease;
  margin-bottom: 3rem;
}

.quiz .quiz-btn button:hover {
  color: rgb(59 130 246);
  background-color: #fff;
}

.quiz .question {
  font-weight: 600;
  font-size: 2rem;
  padding: 1rem 3rem;
    text-align: left;

}

.quiz .question .h1 {
    text-align: left;
}

.quiz .question .h1 span {
  color: rgb(244 63 94);
}

.quiz .choice {
  width: 90%;
  padding: 2rem 1rem;
  display: flex;
  justify-content: space-between;

}

.quiz .choice img {
  width: 200px;
}

.quiz .choice input {
  scale: 1.5;
  margin: 1rem;
}

.quiz .choice label {
  font-weight: 600;
}
@media (max-width:977px) {
  .quiz-top {
      margin-top: 15%;
      padding-top: 2rem;
    } 
}
@media (max-width:909px) {
.quiz .question {
    font-weight: 600;
    font-size: 1.125rem;
    padding: 1rem 3rem;
  }
    .quiz .choice input {
      scale: 1.2;
      margin: 1rem;
    }

}
@media (max-width:560px) {
.quiz .choice{
  flex-direction: column;
}
.quiz .choice img {
  width: 100%;
}
}
/* account bage start */
.account-sec{
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
}
.profile-info{
  position: fixed;
  top: 12%;
  right: 2%;
  z-index: 30000;
  display: flex;
  flex-direction: column;
  text-align: right;
  background-color: #e5e7eb;
  border-radius: 0.25rem;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
}
.profile-info a{
  padding-top: 1rem;
  color: #111827;
  transition: .3s;
}
.profile-info a:hover{
  box-shadow: 26px 4px 85px -68px rgba(0, 0, 0, 0.44) inset;
    -webkit-box-shadow: 26px 4px 85px -68px rgba(0, 0, 0, 0.44) inset;
    -moz-box-shadow: 26px 4px 85px -68px rgba(0, 0, 0, 0.44) inset;
}
.profile-info a.active{
  box-shadow: 26px 4px 85px -56px rgba(0, 0, 0, 1) inset;
    -webkit-box-shadow: 26px 4px 85px -56px rgba(0, 0, 0, 1) inset;
    -moz-box-shadow: 26px 4px 85px -56px rgba(0, 0, 0, 1) inset;
}
.account{
  min-height: auto;
}
.account-ul{
  width: 100%;
  padding: 1rem;
}
.account-ul .account-li{
  font-family: "Almarai", sans-serif;
  padding: .4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* your exam page start*/
.your-exam-sec .quiz .account-li{
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 1rem .5rem;
  margin-bottom: 1rem;

}
.your-exam-li-first{
  background-color: #6b728065;
}
/* your exam page end */


@media (min-width:777px) {
.account {
  width: 50% !important;
}
.your-exam-sec .account{
  width: 70% !important;
}
.your-exam-sec .quiz .account-li {
  padding: 1rem 2rem !important;

}
}
@media (min-width:1249px) {
.account {
  width: 40% !important;
}
.your-exam-sec .account {
  width: 70% !important;
}
}
/* account bage end */
.user-img .btn a{
  font-size: 1.2rem;
    font-weight: 600;
}
.user-img img{
  height: 40px;
  width: 40px;
  border-radius:50%;  
}
.payment bg-background {
    background-color: var(--background-color);
  }
 
  .video-container {
    width: 150%;
    height:150% ;
    
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
  }
  
  .video-container iframe {
    
    width: 100%;
    height: 450px;
    border-radius: 15px;
  }
  
  .text-foreground {
  
    font-size: xx-large;
    margin-top:7%;
   
    color: var(--foreground-color);
  }
  
  .p-6 {
   font-size: xx-large;
    font-family: "Almarai", sans-serif;
    padding: 1.5rem;
    margin-bottom: 10%;
  }
  
  .text-center {
    text-align: center;
  }
  
  .space-y-6 > * + * {

    margin-top: 3.5rem;
  }
  
  .mx-auto {
    margin-left: auto;
    margin-right: auto;
  }
  
  .mb-4 {
    margin-bottom: 1rem;
  }
  
  .text-xl {
    font-size: 1.25rem;
  }
  
  .font-bold {
    font-weight: 700;
  }
  
  .bg-black {
    background-color: #ffffff;
  }
  
  .w-full {
    width: 100%;
  }
  
  .h-64 {
    height: 16rem;
  }
  
  .flex {
    display: flex;
  }
  
  .items-center {
    align-items: center;
  }
  
  .justify-center {
    justify-content: center;
  }
  
  .text-white {
    color: #fff;
  }
  
  .text-zinc-400 {
    color: #a3a3a3;
  }
  
  .text-lg {
    font-size: 1.125rem;
  }
  
  .text-primary {
    color: var(--primary-color);
  }
  
  .text-2xl {
    font-size: 1.5rem;
  }
  @media (max-width:431px) {
    .text-foreground {
  
      font-size: large;
      margin-top:15%;
     
      color: var(--foreground-color);
    }
    
  }
