/**********************************************************************************/
/*********************************Partie Web***************************************/
/**********************************************************************************/
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  padding: 10px 150px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
}

.MainLayout,
.Layout-Left,
.Layout-Right {
  width: 100%;
  height: 450px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.MainText,
.Text-Left,
.Text-Right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.Paraghraph h2 {
  font-size: 30px;
  max-width: 500px;
  font-weight: 700;
  color: #00464a;
  margin-bottom: 10px;
}

.Paraghraph p {
  font-size: 18px;
  font-weight: 700;
  line-height: normal;
  max-width: 475px;
  color: #777777;
}

.MainText .Paraghraph p {
  font-size: 25px;
  text-align: center;
}

.MainText .btn {
  width: 100%;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.MainText .btn a {
  max-width: 350px;
}

.MainImg,
.Img-Right,
.Img-Left {
  flex: 1;

}

.MainImg,
.Img-Right {
text-align: right;
}

.MainImg img ,
.Img-Left img ,
.Img-Right img{
  max-width: 380px;
}

.cards-section {
  text-align: center;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  padding: 50px 0;
}

.card {
  background-color: #fff;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card img {
  width: 100%;
  height: 250px;
  border-radius: 10px;
  margin-bottom: 10px;
}

.card h3 {
  font-size: 16px;
  color: #0081a7;
  margin-bottom: 10px;
}

.card p {
  font-size: 13px;
  color: #555;
}

.card:hover {
  transform: translateY(-5px);
}

.stats-section {
  text-align: center;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  grid-gap: 25px;
  padding: 50px 0;
}

.stat-card {
  width: 100%;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 10px;
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-number {
  display: block;
  font-size: 1.5em;
  color: #3498db;
  font-weight: bold;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1em;
  color: #555;
}

.footer {
  background-color: #fff;
  box-shadow: 0 -1px 1px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 1rem 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.footer-container p {
  font-size: 15px;
  font-weight: 600;
  color: #777777;
}

/**********************************************************************************/
/*********************************Partie Responsive********************************/
/**********************************************************************************/
@media (max-width: 768px) {

  .body {
    padding: 0 20px;
  }

  .navbar {
    padding: 10px 20px;
  }

  .icon {
    width: 40px;
    height: 40px;
  }

  .btn {
    width: 100%;
  }

  .MainLayout,
  .Layout-Left,
  .Layout-Right {
    height: auto;
    flex-direction: column-reverse;
    text-align: center;
    margin-bottom: 75px;
  }

  .Paraghraph h2 {
    font-size: 25px;
  }

  .Paraghraph p {
    font-size: 18px;
  }

  .cards-section {
    margin-bottom: 75px;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .card img {
    height: 165px;
  }

  .stats-section {
    text-align: center;
    margin-top: -20px;
    margin-bottom: 20px;
  }

  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

}