/* Correction des styles de bouton */
.btn-box {
    text-align: center;
    margin-top: 20px;
}

.btn-elegant,
.btn-download {
    display: inline-block;
    padding: 12px 25px;
    font-size: 16px;
    color: white;
    background: linear-gradient(135deg, #4A90E2, #007BFF);
    border-radius: 25px;
    text-decoration: none;
    box-shadow: 0 8px 15px rgba(0, 123, 255, 0.2);
    transition: all 0.3s ease;
}

.btn-elegant:hover,
.btn-download:hover {
    background: linear-gradient(135deg, #007BFF, #4A90E2);
    box-shadow: 0 12px 20px rgba(0, 123, 255, 0.3);
    transform: translateY(-3px);
}

/* Correction des boîtes */
.box {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.box.visible {
    opacity: 1;
    transform: translateY(0);
}

.box:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-10px);
}

.detail-box {
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    text-align: justify;
}

.detail-box h5 {
    text-align: center;
    font-weight: bold;
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #3498db;
}

.detail-box p {
    font-size: 16px;
    line-height: 1.8;
    color: #555555;
}

.detail-box a {
    display: inline-block;
    font-size: 16px;
    color: #007bff;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color 0.3s ease, border-bottom 0.3s ease;
}

.detail-box a:hover {
    color: #0056b3;
    border-bottom: 2px solid #0056b3;
}

/* Images */
.img-box {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: scale(0.9);
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.img-box img {
    width: 100%;
    transition: transform 0.5s ease;
}

.img-box:hover img {
    transform: scale(1.3);
}

/* Bouton centré */
.btn-box a {
    display: inline-block;
    padding: 12px 30px;
    font-size: 16px;
    color: white;
    background: linear-gradient(135deg, #4A90E2, #007BFF);
    border-radius: 25px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.2);
}

.btn-box a:hover {
    background: linear-gradient(135deg, #007BFF, #4A90E2);
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 123, 255, 0.3);
}

/* Section d'information */
.info_section {
    background-color: #ffffff;
    padding: 50px 0;
    border-top: 2px solid #f0f0f0;
    border-bottom: 2px solid #f0f0f0;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.info_section h4 {
    font-size: 20px;
    color: #333333;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
    border-bottom: 2px solid #ddd;
    display: inline-block;
    padding-bottom: 5px;
}

.info_section p,
.info_section a span {
    color: #666666;
    font-size: 16px;
    line-height: 1.6;
}

.info_section a {
    display: block;
    color: #666666;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.info_section a:hover {
    color: #007bff;
}

/* Listes personnalisées */
.custom-list {
    list-style-type: disc;
    margin-left: 20px;
    padding-left: 15px;
}

.nested-list {
    list-style-type: decimal;
    margin-left: 40px;
}

/* Formulaire */
form input[type="email"] {
    width: 100%;
    padding: 10px 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

form button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #0056b3;
}

/* Animation des blocs */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section animation */
.benefits_section {
    padding: 60px 0;
    background-color: #f9f9f9;
    overflow: hidden;
}

/* Animation générale au défilement */
.img-box,
.box,
.detail-box {
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease forwards;
}

/* Titre et section principale */
.heading_container h2 {
    position: relative;
    display: inline-block;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fffcfc;
}

.heading_container h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 3px;
    background-color: #007bff;
    opacity: 0;
    transform: scaleX(0);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.heading_container h2:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

/* Section des services */
.service_section {
    background-color: #f9f9f9;
    overflow: hidden;
    padding: 60px 0;
}

.service_section .box {
    position: relative;
    overflow: hidden;
    border: 1px solid #ddd;
    padding: 20px;
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    background-color: #ffffff;
}

.service_section .box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service_section .img-box {
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.service_section .img-box img {
    width: 100%;
    transition: transform 0.5s ease;
}

.service_section .box:hover .img-box img {
    transform: scale(1.1);
}

.service_section .detail-box h5 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333333;
    transition: color 0.3s ease;
}

.service_section .box:hover .detail-box h5 {
    color: #1a1a1a;
}

.service_section .detail-box p {
    font-size: 14px;
    line-height: 1.8;
    color: #555555;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.service_section .detail-box a {
    display: inline-block;
    margin-top: 10px;
    font-size: 14px;
    color: #333333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.service_section .detail-box a:hover {
    color: #1a1a1a;
    text-decoration: underline;
}

.hero_area {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
}

.hero_bg_box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80%;
    z-index: -1;
}

.bg_img_box img {
    width: 100%;
    height: 80%;
    object-fit: cover;
    object-position: center;
}

.about_section2 .box {
    display: inline-block;
    width: auto; /* La largeur s'adapte automatiquement au contenu */
    padding: 10px;
    margin-bottom: 20px;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about_section2 .img-box, .about_section2 .img-box2 {
    display: inline-block;
    width: auto; /* La largeur s'ajuste automatiquement à l'image */
    padding: 10px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about_section2 .img-box img, .about_section2 .img-box2 img {
    width: 350px;
    height: 350px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.about_section2 .img-box:hover img, .about_section2 .img-box2:hover img {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 123, 255, 0.2);
}

.about_section2 .box:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.about_section2 .detail-box h5 {
    margin-top: 10px;
    font-size: 1rem;
    font-weight: bold;
    color: #0355ad;
    text-transform: uppercase;
}

.footer_section {
    color: #fff;
    padding: 20px 0;
    text-align: center;
  }
  
  .footer_section p {
    margin: 0;
    font-size: 14px;
  }
  
  .footer_logos {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 20px;
  }
  
  .footer_logo {
    width: 50px;
    height: auto;
    transition: transform 0.3s ease;
  }
  
  .footer_logo:hover {
    transform: scale(1.1);
  }
  
