/* CSS pour la div supérieure du footer */
.top-footer {
    display: flex;
    gap: 20px;
    padding: 40px 30px;
    background-color: #0B1F3A;
  }
  
  .top-footer-image {
    width: 50%;
  }
  
  .top-footer-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
  }
  
  .top-footer-text {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .top-footer-text p {
    color: #fff;
    text-align: justify;
    font-size: 18px;
  }

/* CSS pour le footer */
.footer {
    height: 20vh;
    background: #0B1F3A !important;
    color: #fff;
    padding: 40px 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.footer-left {
    flex: 1;
    min-width: 300px;
}

.footer-logo {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.footer-left p {
    font-size: 14px;
    color: #f8f8f8;
}

.footer-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: 300px;
}

.footer-nav {
    margin-bottom: 20px;
}

.footer-nav a {
    color: #f8f8f8;
    text-decoration: none;
    margin-left: 20px;
    font-size: 14px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #fff;
}

.footer-copyright {
    font-size: 12px;
    color: #f8f8f8;
    text-align: right;
}

@media (max-width: 768px) {
    .top-footer {
        flex-direction: column;
        width: 100%;
    }
    .top-footer-image {
      width: 100%;
      }
      
      .top-footer-image img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        border-radius: 10px;
      }
      
      .top-footer-text {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
      }
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-left {
        margin-bottom: 20px;
    }

    .footer-right {
        align-items: center;
    }

    .footer-nav {
        margin-bottom: 20px;
    }

    .footer-nav a {
        margin: 0 10px;
    }

    .footer-copyright {
        text-align: center;
    }
}

/* Responsive : Tablette (max-width: 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
  .top-footer {
    flex-direction: column;
    width: 100%;
  }
  .top-footer-image {
    width: 100%;
  }

  .top-footer-text {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
    .top-footer-image img {
      border-radius: 8px;
    }
  
    .top-footer-text p {
      font-size: 16px; /* Réduire légèrement la taille du texte */
    }
  
    .footer {
      padding: 30px 15px;
      height: auto; /* Hauteur dynamique */
    }
  
    .footer-content {
      flex-direction: row;
      gap: 20px;
    }
  
    .footer-left,
    .footer-right {
      min-width: 250px;
    }
  
    .footer-logo {
      font-size: 22px;
    }
  
    .footer-left p,
    .footer-nav a {
      font-size: 13px;
    }
  
    .footer-copyright {
      font-size: 11px;
    }
  }