@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
*{
    padding: 0;
    margin: 0;
    scroll-behavior: smooth;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    font-family: "Roboto", sans-serif;
  }


body{
    overflow-x: hidden;
}
.rtl{
    direction: rtl;
}
section{
  overflow-x: hidden;
}

a{
    text-decoration: none;
}

input{
    outline: none;
    border: none;
}

.blue{
    background: var(--main-color);

}


.second-blue{
    color: #03365A;
}

.gray{
    color: rgb(37, 44, 50);
}

.orange{
    background: #F76659;
}
.center{
    display: flex;
    justify-content: center;
    align-items: center;
}


.topbar {
  background-color: var(--main-color);
  direction: rtl;
}

.dropdown-menu .w-100 {
left: 0 !important;
right: 0 !important;
top: 100% !important;
}
.mega-menu {
width: 80vw;
left: 0;
right: 100%;
}

.title-1{
    font-size: 50px;
}

.margin-top{
  margin-top: 5.5rem;
}
.margin-top-2{
  margin-top: 2.5rem;
}

@media screen and (max-width: 992px){
  .margin-top{
    margin-top: 2.5rem;
  }
}


@media screen and (max-width: 1050px){
  .title-1{
    font-size: 35px;
  }
}


.highlight {
  position: relative;
}
.highlight::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 4px;
  background-color: blue;
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
}


.carousel-item{
  cursor: pointer;
}

.card-courses{
  cursor: pointer;
}


.featured{
  display: none;
}


.people-trust-us-card {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  width: 316px;
  height: 550px;
  position: relative;
  border-radius: 10px;
  margin: 0 3rem;
}

.play-img{
  width: 58px;
  height: 58px;
}


.video-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay-text{
    min-width:80%;
}

@media screen and (max-width: 420px){
  .video-overlay-text{
    min-width: 60%;
  }
}
.people-trust-us-card video , .featured-container-img video{
  border-radius: 10px;
}

.accreditation-img{
  max-width: 280px;
  max-height: 80px;
}

@media screen and (max-width: 992px){
  .accreditation-img{
    max-width: 150px;
    max-height: 50px;
  }
}


@media screen and (max-width: 650px){
  .accreditation-img{
    max-width: 100px;
    max-height: 50px;
  }
}


.img-style{
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.people-trust-us-card .d-flex {
    position: absolute;
    bottom: 5%;
    left: 5%;
    gap: 2rem;
}

.newseletter{
    background: rgb(0, 90, 148);
}

#email::placeholder {
    color: white;
}

.departement {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
}

.departement h5 {
  flex: 0 0 30%;
  margin: 0;
}

.departement .departement-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  flex: 0 0 70%;
}

.departement .departement-content ul {
  margin: 0;

}

.departement .departement-content ul li {
  margin-top: 0;
  display: flex;
}



@media screen and (max-width: 1400px){
  .nav-item{
    margin: 1rem 0;
  }
}



@media screen and (min-width: 950px) and (max-width: 1350px){
  .departement{
    flex-direction: column;
  }
  .departement h5 {
    flex: 0 0 30%;
  }
  .departement .departement-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    flex: 0 0 70%;

  }
}

@media screen and (min-width: 1301px){
  .departement{
    flex-direction: row;
  }
  .departement h5 {
    flex: 0 0 30%;
  }
  .departement .departement-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    flex: 0 0 70%;

  }
}




@media screen and (max-width : 949px){
  .departement{
    flex-direction: column;
  }
  .departement h5 {
    flex: 0 0 100%;
  }
  .departement .departement-content {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
    flex: 0 0 100%;
  }
}


.numbers-card{
    position: relative;
    width: 214px;
    height: 131px;
    border-radius: 26px;
    display: flex;
    justify-content: end;
    flex-direction: column;

}


.circle {
    width: 60px;
    height: 35px;
    border-radius: 17.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: rgba(29, 78, 216, 0.102);
}
.inner-circle {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: var(--main-color);
    position: absolute;
    transition: transform 0.3s ease;
    left: 5px;
}
.selected {
    transform: translateX(100%);
}


.card{
  width: 250px;
  border: none;
}




@media screen and (max-width: 768px){
  .card{
    width: 220px;
    margin: 0;
    border: none;
  }


}


@media screen and (max-width: 550px){
  .card{
    width: 200px;
  }
}


@media screen and (max-width: 450px){
  .card{
    width: 190px;
  }
}


@media screen and (min-width: 1250px){
  .card-courses{
    width: 298px;
  }

}



@media screen and (max-width: 420px){
  .people-trust-us-card{
    width: 260px;
  }

}


.autoplay-2{
  padding-top: 2rem;
  padding-bottom: 2rem;
  padding-right: 0;
}

.autoplay-2 .carousel-item{
  margin-left: 2rem;
}

.partner-img{
  max-width: 150px;
  max-height: 87px;
}

@media screen and (max-width: 992px){
  .partner-img{
   max-width: 150px;
   max-height: 70px;
  }
}


@media screen and (max-width: 500px){
  .partner-img{
   max-width: 100px;
   max-height: 100px;
  }
}






@media screen and (max-width: 950px){
  .autoplay-2{
    margin-left: 6rem;
  }
}

@media screen and (max-width: 650px){
  .autoplay-2{
    margin-left: 2rem;
  }
}




@media screen and (max-width: 700px){
  .autoplay-3{
    margin-left: 2.5rem;
  }
  #featured-courses-section{
    margin-top: 2.5rem;
  }
}


.tracks-card-title{
  font-size: 24px;
}


@media screen and (max-width: 500px){
  .autoplay-3{
    margin-left: 2rem;
  }
  .tracks-card-title{
    font-size: 20px;
  }
}


@media screen and (max-width: 450px){
  .autoplay-3{
    margin: 0 2rem;
  }


}

.card-courses-container{
  position: relative;
}

.card-courses-container-top{
  position: relative;
  width: 298px;
  height: 284px;
}

@media screen and (max-width: 400px){
  .card-courses-container-top{
    position: relative;
    width: 298px;
    height: 284px;
  }
}

@media screen and (max-width: 350px){
  .card-courses-container-top{
    position: relative;
    width: 258px;
    height: 284px;
  }
}



.blue-buy{
  position: absolute;
  top: 90%;
  right: 5%;
  width: 49px;
  height: 49px;
  border-radius: 50%;
  background: var(--main-color);
}


@media screen and (max-width: 350px){
  .card-courses-container-top{
    position: relative;
    width: 258px;
    height: 284px;
  }
  .blue-buy{
    top: 80%;
  }
}

@media screen and (min-width: 381px){
  .autoplay-4{
    margin-left: 3rem;
  }
}


@media screen and (max-width: 380px){
  .autoplay-4{
  margin-left: 2rem;
}
}



@media screen and (max-width: 750px){
  .autoplay-5{
    margin-left: 6rem;
  }
}



@media screen and (max-width: 600px){
  .autoplay-5{
    margin-left: 0rem;
  }
}


.slick-prev,
.slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  color: white;
  background-color: rgba(99, 95, 95, 0.5);
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  cursor: pointer;
  visibility: visible !important;
}

.slick-prev {
  left: 10px;
}

.slick-next {
  right: 10px;
}



.slick-dots li button:before {
  color: blue;
}

.slick-dots li.slick-active button:before {
  color: darkblue;
}

.slick-dots {
  bottom: 10px;
}


.rtl .dropdown-menu-notifications {
  direction: rtl;
}

@media (min-width: 1400px) {
  .dropdown-menu-notifications {
      margin-left: -150px;
      width: 30vw;
  }
}

.loader {
  border: 16px solid #f3f3f3;
  /* Light grey */
  border-top: 16px solid #3498db;
  /* Blue */
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
  margin: auto;
}

@keyframes spin {
  0% {
      transform: rotate(0deg);
  }

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

.ul-search {
  position: absolute;
  margin-top: 10px;
  background: white;
  padding: 10px;
  border-radius: 5px;
  flex-direction: column;
  gap: 5px;
  opacity: 0;
  visibility: hidden;
  border: 1px solid #d8d3d3;
}

.ul-search.active {
  opacity: 1 !important;
  visibility: inherit !important;
}

.ul-search .profile-div {
  padding: 10px 0 0 0;
  transition: 0.3s;
}

.profile-div {
  display: flex;
  gap: 10px;
  align-items: center;
}

.prof {
  width: 60px;
  height: 60px;
  overflow: hidden;
  border-radius: 5px;
  flex-shrink: 0;
}

.name-profile-about {
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
}

.border-li {
  border-top: 1px solid #d8d3d3;
}

.search-form-div {
  width: 220px;
}

.display-none {
  display: none;
}

@media screen and (max-width: 500px) {
  .title-1, .enroll-title {
    font-size: 30px;
  }
}
