html {
  font-family: "Open Sans", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "IBM Plex Sans", sans-serif;
}

body {
  width: 85%;
  display: block;
  margin: auto;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3% 3%;
}

.nav img {
  width: 8rem;
  display: flex;
}

.nav a {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #1D293B;
  background-color: #DCF7FF;
  height: fit-content;
  padding: 10px 30px;
  text-decoration: none;
  border-radius: 8px;
}

header>div:last-of-type {
  display: none;
}

.hero {
  display: flex;
  flex-direction: column-reverse;
}

.hero img {
  width: 100%;
  display: block;
  margin: auto;
}

.hero div h1 {
  font-size: 2rem;
  font-weight: 800;
}

.hero div p {
  padding: 3% 0%;
}

.hero div h1 span {
  color: #00A1D3;
}

.hero div div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 8rem;
}

.hero div div a {
  text-align: center;
  padding: 15px 0;
  border-radius: 10px;
  text-decoration: none;
  font-size: large;
  font-weight: bold;
}

.signUp {
  color: white;
  background-color: #00A1D3;
}

.login {
  color: #005B77;
  background-color: white;
  border-style: solid;
  border-color: #00A1D3;

}

/* slider */
.slider {
  width: 60%;
  margin: auto;
  overflow: hidden;
}

.slides {
  display: flex;
  align-items: center;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
}

.slideImg {
  width: 100%;
}

.objectif {
  margin: 10% 0%;
  display: flex;
  align-items: start;
}

.objectif div {
  background-color: #F9F9F9;
  padding: 3%;
}

.objectif div h2 {
  margin: 0%;
  font-size: 20px;
}

.objectif div p {
  font-size: 14px;
}

.module {
  border-radius: 25px;
  padding: 5% 7%;
  margin: 2rem 0;
}

.module div {
  width: 100%;
  height: 80px;
  max-height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.module div h2 {
  font-size: 1.4rem;
  width: 80%;
}

.module div h3 {
  font-size: 2.5rem;
}

.module p {
  width: 100%;

}

.methodologie {
  padding: 1rem 0;
  display: block;
}

main>img {
  visibility: hidden;
}

.methodologie section {
  margin: 3rem 0;
}

.methodologie section:first-of-type h3 {
  font-size: 1.2rem;
  color: #00546E;
}

.methodologie section:last-child h3 {
  font-size: 1.2rem;
  color: #204F38;
}

.bar {
  width: 35%;
  height: 3px;
  border-radius: 20px;
}

.quiz {
  -webkit-box-shadow: 0px 0px 23px -8px rgba(184, 184, 184, 1);
  -moz-box-shadow: 0px 0px 23px -8px rgba(184, 184, 184, 1);
  box-shadow: 0px 0px 23px -8px rgba(184, 184, 184, 1);
  background-color: #F9F9F9;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: 13%;
  margin-top: 10%;
}

.quiz img {
  width: 40%;
}

.quiz>div {
  margin-top: 20px;
  width: 100%;
}

.methodologie p {
  font-size: 14px;
  color: #1D293B;
}

.methodologie h4,
.methodologie h3 {
  margin: 10px 0;
}

.methodologie section:nth-child(2) {
  display: none;
}

.slider2 {
  width: 100%;
  margin: 10% 0%;
  overflow: scroll;
}

.slides2 {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide2 {
  -webkit-box-shadow: 0px 0px 23px -8px rgba(184, 184, 184, 1);
  -moz-box-shadow: 0px 0px 23px -8px rgba(184, 184, 184, 1);
  box-shadow: 0px 0px 23px -8px rgba(184, 184, 184, 1);
  border-radius: 10px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 7%;
  margin: 5%;
  font-size: 16px;
  font-weight: 600;
}

.slide2 img {
  height: 109px;
}

.video-container {
  display: none;
}

hr {
  border: 0.1px solid #0A142F;
  opacity: 6%;
}

footer {
  display: flex;
  padding-bottom: 10%;
}

footer>div:first-child {
  width: 55%;
}

footer>div:last-child {
  width: 45%;
}

footer div a img {
  width: 100px;
  margin-bottom: 5%;
}

footer a {
  text-decoration: none;
  color: #0A142F;
  font-size: 12px
}

.footerMenu {
  display: flex;
  flex-direction: column;
}

.footerMenu a {
  font-size: 12px;
  margin-top: 10px;
}

.footer-socialMedia {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.footer-socialMedia a img {
  width: 30px;
}

.profile img {
  width: 80%;
  height: auto;
  margin: auto;
}

/* Dots/Indicators */
.carousel-indicators {
  visibility: hidden;
  text-align: center;
  padding: 10px 0;
}

.carousel-indicators .dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.carousel-indicators .dot.active {
  background-color: #00A1D3;
}

.prev,
.next {
  display: none;
}

.profile {
  display: flex;
  flex-direction: column;
  background-color: #F9F9F9;
  padding: 5%
}


@media only screen and (min-width: 1024px) {
  body {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url('assets/Frame\ 144.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position-y: 60%;
  }

  .nav {
    width: 90%;
  }

  header {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero>div {
    width: 100%;
  }

  .hero img {
    width: 90%;
  }

  .hero>div:first-child h1 {
    font-size: 60px;
    line-height: 70px;
    margin: 0;
  }

  .hero>div:first-child p {
    font-size: 20px;
    padding: 2% 0%;
  }

  .hero>div:first-child div {
    width: 40%;
  }

  .hero {
    width: 90%;
    display: flex;
    height: fit-content;
    flex-direction: row;
    justify-content: space-between;
    align-items: center
  }

  header>div:last-of-type {
    display: block;
  }

  .slider {
    display: none;
  }

  .partnersContainer {
    width: 100%;
    padding: 4.3% 0;
    background-color: #F9F9F9;
    background-image: url("assets/Frame\ 177.svg");
    background-repeat: no-repeat;
    background-size: contain;
  }

  .partners {
    display: flex;
    justify-content: center;
    width: 60%;
    margin: auto
  }

  .partners img {
    height: 4rem;
    margin: 0% 3%;
  }

  main {
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
  }

  main>h2 {
    width: 100%;
    font-size: 36px;
  }

  main>p {
    width: 100%;
  }

  main>img {
    visibility: visible;
  }

  .objectifs {
    display: flex;
    justify-content: space-between;
    padding: 2% 0%;
  }

  .objectif {
    width: 30%;
    margin: 0%;
  }

  .objectif div {
    height: 95%;
  }

  .objectif div h2 {
    font-size: 24px;
  }

  .objectif div p {
    font-size: 16px;
  }

  .modules {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 3%;
  }

  .modules>div {
    display: flex;
    justify-content: center;

  }

  .module {
    width: 35%;
    padding: 2%;
    margin: 2%;
  }

  .module1 {
    width: 25%;
    padding: 2%;
    margin: 2%;
  }

  .module2 {
    width: 25%;
    padding: 2%;
    margin: 2%;
  }

  .module2>div {
    padding: 2%;
  }

  .methodologie {
    width: 100%;
  }

  .methodologie section:last-of-type {
    display: none;
  }

  .methodologie section:first-of-type h3,
  .methodologie section:nth-of-type(2) h3 {
    font-size: 24px;
  }

  .quiz {
    width: 90%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding: 3%;
    margin-top: 0%;
  }

  .quiz img {
    width: 10%;
  }

  .quiz>div {
    width: 20%;
  }

  .quiz div h4 {
    font-size: 24px;
  }

  .bar {
    width: 50%;
  }

  .quizContainer {
    display: flex;
    justify-content: center;
  }

  .methodologie section:nth-child(2) {
    display: flex;
    justify-content: space-between;
    height: fit-content;
    margin-top: 12%;
  }

  .methodologie section:nth-child(2)>div:first-of-type {
    width: 25%;
  }

  .methodologie section:nth-child(2)>div:first-of-type p {
    text-align: justify;
  }

  .methodologie section:nth-child(2)>div:first-of-type h3 {
    font-size: 32px;
  }

  .methodologie section:nth-child(2)>div:last-of-type {
    width: 60%;
    display: flex;
    justify-content: space-around;
  }

  .methodologie section:nth-child(2)>div:last-of-type div {
    -webkit-box-shadow: 0px 0px 23px -8px rgba(184, 184, 184, 1);
    -moz-box-shadow: 0px 0px 23px -8px rgba(184, 184, 184, 1);
    box-shadow: 0px 0px 23px -8px rgba(184, 184, 184, 1);
    padding: 2%;
    width: 22%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #D5D5D526;
    border-radius: 10px;
  }

  .video-container {
    display: block;
    margin: 5% auto;
    width: 100%;
  }

  video {
    width: 100%;
    border-radius: 8px;
  }

  footer {
    width: 70%;
    justify-content: space-evenly;
    align-items: center;
    height: 100px;
    padding-bottom: 2%;
  }

  footer>div:first-child {
    width: 80%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
  }

  footer>div:first-child>div:first-child {
    width: 30%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  footer>div:first-child>div:first-child img {
    width: 120px;
  }

  footer>div:first-child>div:last-child {
    width: 70%;
    justify-content: center;
  }

  .footerMenu {
    height: 100%;
    flex-direction: row;
    justify-content: start;
    align-items: center;
  }

  .footerMenu a {
    font-size: 16px;
    margin: 0 5%;
  }

  footer>div:last-child {
    width: 20%;
  }

  .footer-socialMedia a img {
    width: 50px;
  }

  hr {
    border: 1px solid #0A142F;
  }


  /* Carousel Styles */
  .carousel-container {
    position: relative;
    width: 100%;
    margin: auto;
    background-color: #F9F9F9;
  }

  .carousel {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    width: 100%;
  }

  .carousel-slide {
    display: none;
    flex: 1;
  }

  .profile {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 5%
  }

  .profile img {
    width: 300px;
    height: 420px;
    margin-right: 20px;
  }

  .text-content {
    width: 75%;
    padding: 10px;
  }

  .text-content h2 {
    margin: 0;
    font-size: 24px;
  }

  .text-content p {
    margin-top: 10px;
    font-size: 16px;
    color: #555;
  }

  .carousel-slide {
    display: none;
    flex: 1;
  }

  .carousel-slide.fade-in {
    animation: fade 1s ease-in-out;
    -webkit-animation: fade 1s ease-in-out;
    -moz-animation: fade 1s ease-in-out;
    -o-animation: fade 1s ease-in-out;
  }


  @keyframes fade {
    from {
      opacity: 0;
    }

    to {
      opacity: 1;
    }
  }

  /* Show the first slide by default */
  .carousel-slide:first-child {
    display: block;
    animation: none;
    /* No animation on first load */
  }

  /* Navigation buttons */
  .prev,
  .next {
    display: block;
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: black;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
  }

  .prev:hover,
  .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
  }

  /* Dots/Indicators */
  .carousel-indicators {
    text-align: center;
    padding: 10px 0;
  }

  .carousel-indicators .dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
  }

  .carousel-indicators .dot.active {
    background-color: #00A1D3;
  }


}