.contents {
    display: flex;
    width: 100%;
    gap: 46px;
    flex-direction: row;
    padding: 40px 0;
    justify-content: center;
    align-items: center;
  }


  ul {
    list-style: none;
    text-align: left;
  }

.space{

    padding: 30px 0;
}
  
  
  .contents .contents-1, 
  .contents .contents-2 {
    width: 40%;
  }
  
  .tilt-active {
    width: 80%;
    border-radius: 16px;
    overflow: hidden;
  }
  
  .tilt-active img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.5s ease-out;
  }
  
  .tilt-active img:hover {
    transform: scale(1.4);
  }
  .about {
    color: #e60808;
    font-size: 18px;
  }
  
  .contents-2 h4 {
    font-size: 38px;
  }
  
  .school h5 {
    font-size: 24px;
  }
  
  .savoir {
    padding-top: 40px;
    color: #e60808;
  }
  
  /* Media Queries for responsiveness */
  @media screen and (max-width: 1100px) {
    .contents {
      flex-direction: column;
      gap: 20px;
      padding: 20px;
    }
  
    .contents .contents-1, 
    .contents .contents-2 {
      width: 80%;
    }

    .tilt-active {
        width: 90%;
     
      }
      
  
    .tilt-active img {
      height: 400px;
    }
  
    .contents-2 h4 {
      font-size: 32px;
    }
  
    .school h5 {
      font-size: 20px;
    }
  }
  
  @media screen and (max-width: 768px) {
    .contents {
      gap: 10px;
    }
  
    .contents .contents-1, 
    .contents .contents-2 {
      width: 100%;
      text-align: left;
    }
  
    .tilt-active img {
      height: 300px;
      width: 100%;
      text-align: center;

    }

    .tilt-active {
        width: 100%;
      
      }
  
    .contents-2 h4 {
      font-size: 28px;
    }
  
    .contents-2 p {
       text-align: left;
      }

      .contents-2 ul {
        text-align: left;
       }
    .school h5 {
      font-size: 18px;
    }
  
    .about {
      font-size: 16px;
    }
  
    .savoir {
      font-size: 16px;
    }
  }
  
  @media screen and (max-width: 480px) {
    .contents {
      padding: 10px;
    }
  
    .contents .contents-1, 
    .contents .contents-2 {
      width: 100%;
      text-align: center;
    }
  
    .tilt-active img {
      height: 200px;
    }
  
    .contents-2 h4 {
      font-size: 26px;
    }
  
    .school h5 {
      font-size: 21px;
    }

    .school ul {
       text-align: center;
      }
    
  
    .about {
      font-size: 14px;
    }
  
    .savoir {
      font-size: 14px;
    }
  }
  

  
.containers {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Trois colonnes égales */
    gap: 20px; /* Espacement entre les cartes */
    padding: 20px;
    width: 100%; /* Le container occupe toute la largeur disponible */
    max-width: 1400px; /* Limite la largeur totale pour un meilleur design */
    margin: auto;
  }
  
  .card-container {
    background-color: transparent;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 40px;
    transition: all 0.5s;
    height: 500px;
  }
  
  .card-container p,
  h3 {
    color: black;
  }
  
  .card-container:hover {
    transform: translateY(-10px);
    background-color: #111d5e;
    color: white;
  }
  
  .card-container:hover .service-card-text {
    color: white;
  }
  .card-container:hover .box-title {
    color: white;
  }
  
  .service-card-text {
    transition: all 0.5s;
  }
  
  .box-title {
    transition: all 0.5s;
  }
  
  .icons {
    background-color: #e60808;
    border-radius: 100%;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 40px;
  }
  
  .icons img {
    width: 50px;
    height: 50px;
  }
  
  .circular-image {
    object-fit: cover; /* Garantit que l'image s'ajuste correctement au cercle */
    box-shadow: 0 8px 8px rgba(0, 0, 0, 0.1); /* Optionnel : ajoute une ombre */
  }
  
  .space-bottom {
    margin: 70px;
  }
  
  /* --- Responsive Design --- */
  @media (max-width: 1200px) {
    .containers {
      grid-template-columns: repeat(2, 1fr); /* Deux colonnes sur écran moyen */
    }
  }
  
  @media (max-width: 1000px) {
    .content {
      flex-direction: column;
    }
  
    .content .content-1 {
      width: 100%;
      height: 100%;
    }
    .content .content-2 {
      width: 100%;
      height: 100%;
    }
  }
  
  @media (max-width: 480px) {
    .containers {
      grid-template-columns: 1fr; /* Une seule colonne sur petit écran */
    }
  }
  
  .course-img img {
    width: 80%;
    object-fit: cover;
  }
  