/*** Carousel Hero Header Start ***/
.header-carousel .header-carousel-item {
    height: 100vh;
    position: relative;
    overflow: hidden;
    min-height: 700px;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 60px;
    background: var(--snc-yellow-light); /* fond jaune clair SNC */
    color: var(--snc-red); /* icône rouge SNC */
    font-size: 26px;
    display: none; /* Masquer les flèches de navigation */
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev {
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 30px;
}

.header-carousel .owl-nav .owl-next {
    bottom: 30px;
    right: 50%;
    transform: translateX(-50%);
    margin-right: 30px;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 0 0 100px 0 var(--snc-green-light); /* ombre vert clair SNC */
    color: var(--snc-white); /* icône blanche SNC */
}

.header-carousel .header-carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(46, 125, 50, 0.7));
    z-index: 1;
}

.header-carousel .header-carousel-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    object-fit: cover;
}

.header-carousel .header-carousel-item.carousel-bg-1::after {
    background-image: url('../img/Site-SNC.jpg');
    filter: blur(3px);
}

.header-carousel .header-carousel-item.carousel-bg-2::after {
    background-image: url('../img/Site-SNC.jpg');
    filter: blur(3px);
}

.header-carousel .header-carousel-item.carousel-bg-3::after {
    background-image: url('../img/image_snc_expo.jpg');
    filter: blur(3px);
}



.header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    z-index: 2;
    align-items: center;
    padding: 0;
}

@media (max-width: 991px) {
    .header-carousel .header-carousel-item {
        height: 100vh;
    }
    
    .header-carousel .header-carousel-item .carousel-caption {
        padding-top: 45px;
    }

    .Hero-title{
        text-align: center;
    }
}

@media (max-width: 767px) {
    .header-carousel .header-carousel-item {
        height: 100vh;
    }

    .header-carousel .owl-nav .owl-prev {
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        margin-left: -45px;
    }

    .header-carousel .owl-nav .owl-next {
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        margin-left: 45px;
    }
}
/*** Carousel Hero Header End ***/

.hc-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    padding: 40px 20px;
    text-align: center;
    font-family: "Georgia", "Times New Roman", serif;
}

.hc-container2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    padding: 40px 20px;
    text-align: center;
    font-family: "Georgia", "Times New Roman", serif;
}

.hc-container3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    padding: 40px 20px;
    text-align: center;
    font-family: "Georgia", "Times New Roman", serif;
}

.hero-stats-counter {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 1rem;
    margin: 1rem 0;
}

.hero-stats-item {
    text-align: center;
    padding: 0.5rem;
}

.hero-stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    display: block;
    line-height: 1;
}

.hero-stats-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

.btn-primary-custom {
    background: var(--snc-gradient-red);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(215, 28, 38, 0.3);
    color: white;
}

.section-title {
    color: #1a365d;
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--snc-red), var(--snc-blue));
    border-radius: 2px;
}

.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.hero-service-line {
    border-left: 4px solid;
    padding-left: 1.5rem;
    margin: 0.5rem 0;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 8px;
    padding: 12px;
}

.hero-service-line:hover {
    transform: translateX(5px);
    border-left-width: 6px;
    background: rgba(255, 255, 255, 0.15);
}

.badge-custom {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
}

/* Hero styling */
.hero-overlay {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.Hero-title {
    font-family: "Playfair Display", serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.6), 0 2px 4px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(255, 255, 255, 0.1);
    letter-spacing: -0.03em;
    position: relative; 
}

.Hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 20px;
    animation: fadeIn 2s ease-out;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.6), 0 2px 4px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(255, 255, 255, 0.1);
    letter-spacing: -0.03em;
    position: relative; 
}



@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Classes utilitaires pour les icônes remplacées */
.bi-lightning-charge-fill:before {
    content: "\f231"; /* Version 1.4.1 de lightning-charge */
}

.bi-minecart-loaded:before {
    content: "\f470"; /* Version 1.4.1 de cart */
}

.bi-shop-window:before {
    content: "\f4b9"; /* Version 1.4.1 de shop */
}

.bi-camera-video-fill:before {
    content: "\f42a"; /* Version 1.4.1 de camera-video */
}

.bi-chat-left-text-fill:before {
    content: "\f268"; /* Version 1.4.1 de chat-left-text */
}

.bi-eye-fill:before {
    content: "\f341"; /* Version 1.4.1 de eye */
}

.bi-play-circle:before {
    content: "\f488"; /* Version 1.4.1 de play-circle */
}

.bi-info-circle:before {
    content: "\f431"; /* Version 1.4.1 de info-circle */
}

.bi-clock-history:before {
    content: "\f295"; /* Version 1.4.1 de clock-history */
}

.bi-calendar-week:before {
    content: "\f255"; /* Version 1.4.1 de calendar-week */
}

.bi-person-check:before {
    content: "\f4c2"; /* Version 1.4.1 de person-check */
}

.bi-lightning-charge:before {
    content: "\f231"; /* Version 1.4.1 de lightning */
}

.bi-speedometer2:before {
    content: "\f57d"; /* Version 1.4.1 de speedometer2 */
}