.carousel.main-slider-area {
    height: 100vh;
}

.carousel-item {
    height: 100vh;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.carousel-caption {
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    text-align: center;
}

.main-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    animation: fadeInDown 1s;
}

.sub-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s;
}

.button-primary {
    display: inline-block;
    background: #34bd6b;
    color: white;
    padding: 15px 40px;
    border-radius: 10px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: fadeInUp 1s;
}

.button-primary:hover {
    background: transparent;
    color: white;
    border: 2px solid white;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }
    
    .sub-title {
        font-size: 1.5rem;
    }
    
    .button-primary {
        padding: 12px 30px;
        font-size: 1rem;
    }
}
@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
 /* Timeline Style */
 .timeline-connect {
     position: relative;
     max-width: 800px;
     margin: 0 auto;
     padding-left: 30px;
 }

 .timeline-connect::before {
     content: '';
     position: absolute;
     left: 14px;
     /* Ajusté pour centrer parfaitement */
     top: 12px;
     /* Ne commence pas tout en haut */
     bottom: 12px;
     /* Ne finit pas tout en bas */
     width: 2px;
     background: #007bff;
     z-index: 1;
 }

 .timeline-step {
     position: relative;
     margin-bottom: 30px;
 }

 .timeline-marker {
     position: absolute;
     left: -30px;
     width: 16px;
     height: 16px;
     border-radius: 50%;
     background: white;
     border: 3px solid #007bff;
     top: 5px;
     z-index: 2;
     /* Au-dessus de la ligne */
 }

 .first .timeline-marker {
     top: 7px;
 }

 .last .timeline-marker {
     top: 7px;
 }

 .timeline-content {
     background: white;
     padding: 15px;
     border-radius: 8px;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
     margin-left: 10px;
 }

 .timeline-year {
     font-weight: bold;
     color: #007bff;
     margin-bottom: 5px;
 }

 /* Cards Style */
 .compact-card {
     border: none;
     border-radius: 8px;
     box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
     transition: transform 0.2s;
 }

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

 .compact-card i {
     font-size: 1.5rem;
 }

 .compact-card h4 {
     font-size: 1.25rem;
 }


 .testimonial-card {
     background: white;
     padding: 30px 20px;
     border-radius: 10px;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
     height: 100%;
     transition: all 0.3s ease;
 }

 .testimonial-card:hover {
     transform: translateY(-5px);
     box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
 }

 .avatar-container {
     width: 110px;
     height: 110px;
     border-radius: 100%;
     padding: 5px;

     display: flex;
     align-items: center;
     justify-content: center;
 }

 .testimonial-avatar {
     width: 100px;
     height: 100px;
     object-fit: cover;
     border-radius: 50%;
     border: 3px solid white;
 }

 .owl-stage {
     display: flex;
     padding: 20px 0;
 }

 .owl-item {
     display: flex;
     height: auto;
 }

 .owl-nav {
     position: absolute;
     top: 50%;
     width: 100%;
     display: flex;
     justify-content: space-between;
     transform: translateY(-50%);
     pointer-events: none;
 }

 .owl-prev,
 .owl-next {
     background: white !important;
     width: 40px;
     height: 40px;
     border-radius: 50% !important;
     display: flex !important;
     align-items: center;
     justify-content: center;
     box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
     pointer-events: all;
 }

 .owl-prev {
     margin-left: -20px;
 }

 .owl-next {
     margin-right: -20px;
 }


 @media (max-width: 768px) {
     .avatar-container {
         width: 90px;
         height: 90px;
     }

     .testimonial-avatar {
         width: 80px;
         height: 80px;
     }
 }
