/* Style général */
body {
    text-align: center;
    font-family: 'Poppins', Arial, sans-serif;
  }
  
  /* Styles pour les cartes d'actualités */
  .news-card {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 350px;
  }
  
  .news-card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }
  
  .news-card img {
    height: 200px;
    object-fit: cover;
    width: 100%;
  }
  
  .row {
    margin-top: 60px !important;
  }
  
  /* Effet 3D sur les cartes */
  .card-3d {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
    padding: 0;
    overflow: hidden;
    position: relative;
    height: 100%;
    cursor: pointer;
  }
  
  .card-3d img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.3s ease;
  }
  
  .card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 20px;
    width: 100%;
    color: white;
    transition: all 0.3s ease;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
  
  .card-3d:hover img {
    transform: scale(1.05);
    filter: brightness(0.7);
  }
  
  .card-hover-content {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
  }
  
  .card-hashtags {
    color: #bbb;
    font-style: italic;
    text-align: center;
    width: 100%;
    padding: 0 10px;
  }
  
  .card-3d .card-description,
  .card-3d .card-hashtags,
  .card-3d .card-date {
    opacity: 0;
    max-height: 0;
    transition: opacity 0.3s ease, max-height 0.3s ease;
    overflow: hidden;
    margin: 0;
  }
  
  .card-3d:hover .card-description,
  .card-3d:hover .card-hashtags,
  .card-3d:hover .card-date {
    text-align: center;
    width: 100%;
    padding: 0 10px;
    opacity: 1;
    max-height: 100px;
  }
  
  .card-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
  }
  
  /* Barre de recherche */
  .search {
    width: 100%;
    display: flex;
  }
  
  .searchTerm {
    width: 100%;
    border: 3px solid #8fdaf3;
    border-right: none;
    padding: 5px;
    height: 40px;
    border-radius: 5px 0 0 5px;
    outline: none;
    color: #9dbfaf;
  }
  
  .searchTerm:focus {
    color: #8fdaf3;
  }
  
  .searchButton {
    width: 40px;
    height: 40px;
    border: 1px solid #8fdaf3;
    background: #8fdaf3;
    text-align: center;
    color: #fff;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-size: 20px;
  }
  
  .wrap {
    width: 30%;
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  /* Info message */
  /* .info-message {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8f9fa;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  
  .info-message img {
    height: 40px;
    margin: 0 15px;
  }
  
  .info-message p {
    margin: 0;
  }
   */
  /* Bouton flottant Contact */
  .floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #8fdaf3;
    color: white;
    padding: 15px 25px;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
  }
  
  .floating-btn:hover {
    background-color: #6bc8e6;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
  }
  
  /* Footer */
  footer {
    background-color: rgb(143, 218, 243);
    padding: 20px;
    text-align: center;
    margin-top: 60px;
  }
  
  footer h2 {
    color: white;
    margin-bottom: 20px;
  }
  
  .partners-main, .partners-secondary {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
  }
  
  .partners-main img {
    width: 150px;
    height: 100px;
    background-color: white;
    padding: 10px;
    border-radius: 10px;
    object-fit: contain;
  }
  
  .partners-secondary img {
    width: 120px;
    height: 80px;
    background-color: white;
    padding: 10px;
    border-radius: 10px;
    object-fit: contain;
  }
  
  .footer-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
  }
  
  .footer-socials img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s;
  }
  
  .footer-socials img:hover {
    transform: scale(1.2);
  }
  
  /* Responsive */
  @media (max-width: 992px) {
    .wrap {
      width: 50%;
    }
  }
  
  @media (max-width: 768px) {
    .wrap {
      width: 70%;
      top: 30%;
    }
    
    .partners-main img, .partners-secondary img {
      width: 100px;
      height: auto;
    }
  }
  
  @media (max-width: 576px) {
    .wrap {
      width: 80%;
    }
    
    .news-card {
      height: 300px;
    }
    
    .card-title {
      font-size: 1.5rem;
    }
    
    .info-message {
      flex-direction: column;
    }
    
    .info-message img {
      margin: 5px 0;
    }
  }