/* General Home Styles */
.main-header .logo-box .logo img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}

.main-header .header-lower {
    min-height: 80px;
}

.main-header .inner-container {
    padding: 10px 0;
}

.mobile-menu .nav-logo img {
    max-height: 50px;
    width: auto;
}

.category-one .row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.category-block_one {
    display: flex;
    margin-bottom: 30px;
}

.category-block_one-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    min-height: 400px;
    justify-content: space-between;
    padding: 40px 30px;
}

.category-block_one-title {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 20px;
    overflow: visible;
    padding: 10px 15px;
    line-height: 1.3;
    font-size: 20px;
}

.category-block_one-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    z-index: 9999 !important;
}

.category-block_one-image img {
    max-width: 100%;
    max-height: 180px;
    object-fit: contain;
    display: block;
}


.category-block_one-text {
    flex: 1;
    display: flex;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
    min-height: 80px;
    font-size: 25px;
}

.category-block_one-arrow {
    margin-top: auto;
}

.category-block_one-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

/* Slider overlay fix */
.main-header {
    margin-bottom: 0 !important;
}

.main-header.fixed-header .header-lower {
    box-shadow: 0px 5px 10px rgba(0,0,0,0.02) !important;
}

.slider-one {
    margin-bottom: 0;
    padding-bottom: 0;
    margin-top: 0;
    padding-top: 0;
}

.slider-one .swiper-slide {
    position: relative;
    overflow: hidden;
}

.slider-one .auto-container {
    position: relative;
    z-index: 2;
}

.category-one{
    position: relative;
    padding: 30px 0px 10px;
}

.category-one_icon{
    position:absolute;
    left:120px;
    top:50px;
    z-index:1;
}

.category-one_icon-two{
    position:absolute;
    right:120px;
    top:50px;
    z-index:1;
}

.category-one_pattern{
    position:absolute;
    left:0px;
    top:-100px;
    right:0px;
    bottom:0px;
    background-position:center top;
    background-repeat:repeat-x;
}

.category-one_pattern.style-two{
    top:0px;
}

/* Make slider images fill the entire dark overlay */
.slider-one_image-layer {
    bottom: 0 !important;
}

.slider-one_pattern,
.slider-one_pattern-two {
    bottom: 0 !important;
}

/* Premium Products Carousel Styles */
.premium-products-carousel-wrapper {
    margin-top: 40px;
    position: relative;
    padding: 0 70px;
}

.premium-products-slider {
    overflow: hidden;
}

.premium-products-slider .swiper-slide {
    height: auto;
    min-height: 550px;
}

/* Centrer les cartes dans la slide */
.premium-products-slider .swiper-slide .row {
    display: flex;
    justify-content: center;
    align-items: stretch;
}

/* Fixer la hauteur des cartes pour qu'elles soient toutes identiques */
.premium-products-slider .category-block_one {
    height: 100%;
}

.premium-products-slider .category-block_one-inner {
    height: 600px !important;
    display: flex;
    flex-direction: column;
}

.premium-products-slider .category-block_one-title {
    min-height: 100px !important;
    max-height: none !important;
    overflow: visible !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 15px !important;
    line-height: 1.3 !important;
}

.premium-products-slider .category-block_one-image {
    min-height: 240px !important;
    max-height: 240px !important;
    height: 240px !important;
}

.premium-products-slider .category-block_one-text {
    min-height: 60px !important;
    max-height: 60px !important;
    height: 60px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

.product-label-badge {
    animation: labelPulse 2s ease-in-out infinite;
}

@keyframes labelPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.premium-products-nav .premium-products-prev:hover,
.premium-products-nav .premium-products-next:hover {
    background: rgba(255,152,0,1) !important;
    transform: scale(1.1);
}


/* News Carousel Styles */
.news-carousel-section {
    padding: 40px 0;
    position: relative;
}

.news-carousel-wrapper {
    position: relative;
}

.news-slider {
    overflow: hidden;
}

.news-slider .swiper-slide {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.news-slider .swiper-slide-active {
    opacity: 1;
}

.news-image-wrapper {
    padding: 20px;
}

.news-content-wrapper {
    padding: 40px;
}

.news-slider-nav {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 10;
}

.news-slider-prev,
.news-slider-next {
    width: 50px;
    height: 50px;
    background: var(--theme-color-one);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #fff;
}

.news-slider-prev:hover,
.news-slider-next:hover {
    background: var(--theme-color-two);
    transform: scale(1.1);
}

.news-slider-pagination {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.news-slider-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-slider-pagination .swiper-pagination-bullet-active {
    background: var(--theme-color-one);
    width: 30px;
    border-radius: 6px;
}

/* Advantages Section Styles */
.advantages-section {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.advantages-section .services-one_image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.advantages-section .services-one_image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 180, 73, 0.95) 0%, rgba(88, 137, 42, 0.95) 100%);
    z-index: 1;
}

.advantages-section .auto-container {
    position: relative;
    z-index: 2;
}

.advantages-carousel-wrapper {
    margin-top: 60px;
    position: relative;
    padding: 0 80px;
}

.advantages-slider {
    overflow: hidden;
}

.advantages-slider .swiper-slide {
    height: auto;
    display: flex;
    align-items: stretch;
}

.advantage-card {
    position: relative;
    transition: all 0.4s ease;
    cursor: pointer;
    height: 100%;
    min-height: 350px;
    background: transparent !important;
    display: flex;
    flex-direction: column;
    padding: 0 !important;
    width: 100%;
}

.advantage-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: none !important;
}

.advantage-icon {
    transition: all 0.4s ease;
    position: relative;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    margin-bottom: 0;
}

.advantage-icon-wrapper {
    position: relative;
    width: 100% !important;
    height: 100% !important;
    min-height: 280px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    transition: all 0.4s ease;
    padding: 20px;
}

.advantage-card:hover .advantage-icon-wrapper {
    transform: scale(1.05) !important;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.advantage-icon-wrapper::after {
    display: none;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
    50% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0.3;
    }
}

.advantage-title {
    font-size: 18px !important;
    line-height: 1.4;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px !important;
    flex: 1;
}

.advantage-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.4);
    z-index: 10;
    letter-spacing: 0.5px;
}

.advantage-badge i {
    margin-right: 3px;
    font-size: 12px;
}

.advantage-source {
    text-align: center;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    opacity: 1;
    transition: opacity 0.3s ease;
    margin-top: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.advantage-card:hover .advantage-source {
    opacity: 1;
    background: rgba(255, 255, 255, 1);
}

.advantage-source small {
    color: var(--theme-color-one);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* Navigation Arrows */
.advantages-slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 10;
    pointer-events: none;
}

.advantages-slider-prev,
.advantages-slider-next {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--theme-color-one);
    pointer-events: all;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.advantages-slider-prev:hover,
.advantages-slider-next:hover {
    background: var(--theme-color-one);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.advantages-slider-prev {
    margin-left: 10px;
}

.advantages-slider-next {
    margin-right: 10px;
}

/* Enhanced title styling */
.advantages-section .sec-title_heading {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
}

.advantages-section .sec-title_heading::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #FFD700, transparent);
}

/* Responsive */
@media (max-width: 768px) {
    .advantages-carousel-wrapper {
        padding: 0 60px;
    }

    .advantages-slider-prev,
    .advantages-slider-next {
        width: 45px;
        height: 45px;
    }

}

@media (max-width: 991px) {
  .news-slide-row {
    flex-direction: column !important;
  }
  .news-content-mobile-first {
    order: 1 !important;
    width: 100% !important;
    margin-bottom: 18px !important;
  }
  .news-image-mobile-second {
    order: 2 !important;
    width: 100% !important;
  }
}

/* Social Media Panel Styles */
.social-media-panel {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
}

.social-trigger {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: #a0a051;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.2);
}

.social-trigger:hover {
    background: #8a8d45;
    transform: translateY(-50%) scale(1.1);
}

.social-trigger i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.social-panel-card {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    width: fit-content;
    height: fit-content;
    background-color: #F5F0E8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    gap: 15px;
    box-shadow: -5px 5px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.social-media-panel:hover .social-panel-card {
    opacity: 1;
    visibility: visible;
    right: 60px;
}

/* Social Container Styles */
.socialContainer {
    width: 52px;
    height: 52px;
    background-color: rgb(44, 44, 44);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition-duration: .3s;
}

/* Instagram */
.containerOne:hover {
    background-color: #d62976;
    transition-duration: .3s;
}

/* Facebook */
.containerTwo:hover {
    background-color: #1877f2;
    transition-duration: .3s;
}

/* LinkedIn */
.containerThree:hover {
    background-color: #0072b1;
    transition-duration: .3s;
}

/* YouTube */
.containerFour:hover {
    background-color: #ff0000;
    transition-duration: .3s;
}

.socialContainer:active {
    transform: scale(0.9);
    transition-duration: .3s;
}

.socialSvg {
    width: 17px;
}

.socialSvg path {
    fill: rgb(255, 255, 255);
}

.socialContainer:hover .socialSvg {
    animation: slide-in-top 0.3s both;
}

@keyframes slide-in-top {
    0% {
        transform: translateY(-50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .social-panel-card {
        padding: 15px;
        gap: 12px;
    }

    .social-trigger {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .socialContainer {
        width: 45px;
        height: 45px;
    }

    .socialSvg {
        width: 15px;
    }
}

@media (max-width: 576px) {
    .social-panel-card {
        flex-direction: column;
        padding: 12px;
        gap: 10px;
    }

    .socialContainer {
        width: 40px;
        height: 40px;
    }
}

/***

====================================================================
	Project One
====================================================================

***/

.project-one{
    position: relative;
    padding: 130px 0px 20px;
    background-color: var(--color-twenty);
}

.project-one.style-two{
    padding-top:90px;
    padding-bottom:0px;
}

.project-one.style-two .project-block_one{
    margin-bottom:0px;
}

.project-one.style-two .project-one_color-layer{
    top:-80px;
    height:auto;
    bottom:80px;
}

.project-one .three-item_carousel-pagination{
    position:relative;
    z-index:10;
    margin-top:10px;
    text-align:center;
}

.project-one .three-item_carousel-pagination .swiper-pagination-bullet{
    position:relative;
    width:25px;
    height:10px;
    opacity:1;
    margin-left:5px;
    border-radius:50px;
    display:inline-block;
    background-color:var(--white-color);
    transition:all 500ms ease;
    -moz-transition:all 500ms ease;
    -webkit-transition:all 500ms ease;
    -ms-transition:all 500ms ease;
    -o-transition:all 500ms ease;
}

.project-one .three-item_carousel-pagination .swiper-pagination-bullet:hover,
.project-one .three-item_carousel-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active{
    width:35px;
    background-color:var(--main-color);
}

.project-one_icon{
    position:absolute;
    left:80px;
    top:90px;
}

.project-one_icon-two{
    position:absolute;
    right:80px;
    top:90px;
}

.project-one_color-layer{
    position:absolute;
    left:0px;
    top:0px;
    right:0px;
    height:645px;
    background-color:#3a5812c9;
}

.project-block_one{
    position:relative;
    margin-bottom:30px;
}

.project-block_one-inner{
    position:relative;
    border:9px solid var(--white-color);
}

.project-block_one-inner:hover .project-block_one-image img{
    opacity:0.60;
    transform:scale(1.05,1.05) rotate(2deg);
}

.project-block_one-image{
    height: 400px !important;
    position:relative;
    overflow:hidden;
    background-color:var(--color-four);
}

.project-block_one-image img{
    position:relative;
    width:100%;
    display:block;
    transition:all 500ms ease;
    -moz-transition:all 500ms ease;
    -webkit-transition:all 500ms ease;
    -ms-transition:all 500ms ease;
    -o-transition:all 500ms ease;
}

.project-block_one-overlay{
    position:absolute;
    left:20px;
    bottom:20px;
    padding:30px 30px;
    display:inline-block;
    border-left:3px solid var(--color-three);
    background-color:var(--white-color);
}

.project-block_one-overlay:before{
    position:absolute;
    content:'';
    left:0px;
    bottom:0px;
    width:85px;
    border-bottom:3px solid var(--color-three);
}

.project-block_one-heading{
    position:relative;
    font-weight:600;
}

.project-block_one-heading a{
    position:relative;
    color:var(--color-four);
}

.project-block_one-heading a:hover{
    color:var(--color-three);
}

.project-block_one-designation{
    position:relative;
    font-size:13px;
    margin-top:3px;
    font-weight:500;
    letter-spacing:0.5px;
    color:var(--color-three);
    text-transform:uppercase;
}

.project-block_one-content{
    position:relative;
    margin-right:200px;
}

.project-block_one-options{
    position:absolute;
    right:0px;
    top:0px;
    text-align:center;
    padding-right:20px;
    padding-left:60px;
    padding-top:27px;
    padding-bottom:24px;
    background-color:rgb(30 90 0);
}

.project-block_one-options:before{
    position:absolute;
    content:'';
    left:-32px;
    top:0px;
    z-index:1;
    bottom:0px;
    width:65px;
    background-color:var(--main-color);
    clip-path: polygon(50% 100%, 0 0, 100% 0);
}

.project-block_one-options:after{
    position:absolute;
    content:'';
    left:0px;
    top:0px;
    z-index:1;
    bottom:0px;
    width:75px;
    background-color:#37371e;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.project-block_one-arrow{
    position:relative;
    width:36px;
    z-index:2;
    height:36px;
    display:block;
    margin:0 auto;
    font-size:12px;
    line-height:38px;
    margin-bottom:6px;
    text-align:center;
    border-radius:50px;
    color:var(--white-color);
    background-color:var(--color-three);
}

.project-block_one-arrow:hover{
    color:var(--main-color);
    background-color:var(--white-color);
}

.project-block_one-more{
    position:relative;
    z-index:2;
    font-size:15px;
    font-weight:500;
    color:var(--white-color);
}

.project-block_one-more:hover{
    color:var(--color-three);
}

/* Services Carousel Navigation Arrows */
.services-carousel-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 10;
    pointer-events: none;
    padding: 0 20px;
}

.services-slider-prev,
.services-slider-next {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--main-color);
    pointer-events: all;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    font-size: 18px;
}

.services-slider-prev:hover,
.services-slider-next:hover {
    background: var(--main-color);
    color: #fff;
    transform: scale(1.15);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.services-slider-prev.swiper-button-disabled,
.services-slider-next.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.services-slider-prev.swiper-button-disabled:hover,
.services-slider-next.swiper-button-disabled:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--main-color);
    transform: scale(1);
}

/* Position the services carousel with padding for arrows */
.project-one .three-item_carousel {
    position: relative;
    padding: 0 100px;
}

/* Fix card width for 2 services per screen */
.project-one .three-item_carousel .swiper-slide {
    width: calc(50% - 20px) !important;
    min-width: 450px;
}

.project-one .project-block_one {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 30px;
}

.project-one .project-block_one-inner {
    width: 100%;
}

/* Ensure "En savoir plus" button is fully visible */
.project-block_one-options {
    min-width: 200px;
    white-space: nowrap;
}

.project-block_one-more {
    display: inline-block;
    width: 100%;
}

/* Smooth transitions for swiper slides */
.project-one .three-item_carousel .swiper-slide {
    transition: all 0.3s ease;
}

/* Responsive adjustments for services carousel */
@media (max-width: 1200px) {
    .project-one .three-item_carousel {
        padding: 0 80px;
    }
}

@media (max-width: 1024px) {
    .project-one .three-item_carousel {
        padding: 0 70px;
    }

    .services-slider-prev,
    .services-slider-next {
        width: 50px;
        height: 50px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .project-one .three-item_carousel {
        padding: 0 60px;
    }

    .services-slider-prev,
    .services-slider-next {
        width: 45px;
        height: 45px;
        font-size: 14px;
    }

    .services-carousel-nav {
        padding: 0 10px;
    }
}

@media (max-width: 576px) {
    .project-one .three-item_carousel {
        padding: 0 50px;
    }

    .services-slider-prev,
    .services-slider-next {
        width: 40px;
        height: 40px;
        font-size: 12px;
    }
}


/* Icônes santé/écologie sous le slider - home page */
.ecobati-icons-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 622px;
    margin: 22px 0 18px 0;
}
.ecobati-icon {
    opacity: 0.82;
    filter: drop-shadow(0 2px 12px rgba(0,0,0,0.13));
    transition: transform 0.5s cubic-bezier(.4,2,.6,1), opacity 0.5s;
    will-change: transform, opacity;
    animation: ecobati-icon-float 2.8s ease-in-out infinite alternate;
}
.ecobati-icon-health {
    width: 74px;
    height: 74px;
    animation-delay: 0s;
}
.ecobati-icon-ecology {
    width: 74px;
    height: 74px;
    animation-delay: 1.2s;
}
@keyframes ecobati-icon-float {
    0% { transform: translateY(0) scale(1); opacity: 0.82; }
    50% { transform: translateY(-10px) scale(1.08); opacity: 1; }
    100% { transform: translateY(0) scale(1); opacity: 0.82; }
}
.ecobati-icon:hover {
    opacity: 1;
    transform: scale(1.13) translateY(-6px);
    filter: drop-shadow(0 6px 18px rgba(0,0,0,0.18));
}

/* Qualités principales - Desktop */
.main-qualities-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    margin: 25px 0 20px 0;
    flex-wrap: wrap;
}
.main-quality-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    min-width: 180px;
    flex: 1 1 220px;
    max-width: 300px;
}
.main-quality-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #1a9120, #2ecc71);
    border-radius: 10px;
    padding: 12px 28px;
    box-shadow: 0 4px 12px rgba(26, 145, 32, 0.4);
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    border: 2px solid rgba(255,255,255,0.3);
    text-align: center;
}
.main-quality-icon {
    margin-top: 12px;
    width: 90px;
    height: 90px;
    display: block;
}

/* Tablette */
@media (max-width: 900px) {
    .main-qualities-row {
        gap: 18px;
    }
    .main-quality-block {
        min-width: 140px;
        max-width: 220px;
    }
    .main-quality-title {
        font-size: 1.2rem;
        padding: 10px 12px;
    }
    .main-quality-icon {
        width: 90px;
        height: 90px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .main-qualities-row {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .main-quality-block {
        width: 100%;
        max-width: 320px;
        min-width: 0;
        flex: none;
    }
    .main-quality-title {
        font-size: 1rem;
        padding: 8px 6px;
    }
    .main-quality-icon {
        width: 90px;
        height: 90px;
    }
}


/* =====================================================
   Avant-Après Subsection Styles (inside Projets & Événements)
   ===================================================== */

.avant-apres-subsection {
    position: relative;
    margin-top: 60px;
}

.avant-apres-subsection::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.avant-apres-carousel-wrapper {
    position: relative;
    margin-top: 60px;
}

.avant-apres-slider {
    padding: 20px 0 120px;
}

.avant-apres-slide-row {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    flex-wrap: nowrap !important;
}

.avant-apres-image-col {
    display: flex;
    justify-content: center;
    padding: 15px;
    flex: 0 0 48% !important;
    max-width: 48% !important;
}

.avant-apres-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 550px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    background: #fff;
}

.avant-apres-image-wrapper:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

.avant-apres-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.avant-apres-image-wrapper:hover .avant-apres-img {
    transform: scale(1.05);
}

.image-label {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 12px 28px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 30px;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.avant-label {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
}

.apres-label {
    background: linear-gradient(135deg, #4CAF50, #388E3C);
    color: #fff;
}

.image-label:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Navigation Buttons */
.avant-apres-slider-nav {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 100;
    pointer-events: auto;
}

.avant-apres-slider-prev,
.avant-apres-slider-next {
    position: relative;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4CAF50, #388E3C);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}


.avant-apres-slider-prev:hover,
.avant-apres-slider-next:hover {
    background: linear-gradient(135deg, #388E3C, #2E7D32);
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(76, 175, 80, 0.6);
}

.avant-apres-slider-prev i,
.avant-apres-slider-next i {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}

/* Pagination */
.avant-apres-slider-pagination {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 100;
}

.avant-apres-slider-pagination .swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    background: #ccc;
    opacity: 1;
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.avant-apres-slider-pagination .swiper-pagination-bullet-active {
    background: linear-gradient(135deg, #4CAF50, #388E3C);
    width: 40px;
    border-radius: 7px;
}

/* =====================================================
   Avant-Après Subsection Responsive Styles
   ===================================================== */

/* Tablet */
@media screen and (max-width: 991px) {
    .avant-apres-subsection {
        padding: 50px 0 30px;
        margin-top: 50px;
    }

    .avant-apres-slide-row {
        gap: 20px;
    }

    .avant-apres-image-col {
        flex: 0 0 48% !important;
        max-width: 48% !important;
        padding: 10px;
    }

    .avant-apres-img {
        height: 350px;
    }

    .avant-apres-slider-nav {
        bottom: 50px;
        gap: 15px;
    }

    .avant-apres-slider-prev,
    .avant-apres-slider-next {
        width: 50px;
        height: 50px;
    }

    .image-label {
        font-size: 16px;
        padding: 10px 24px;
    }
}

/* Mobile */
@media screen and (max-width: 767px) {
    .avant-apres-subsection {
        padding: 40px 0 30px;
        margin-top: 40px;
    }

    .avant-apres-carousel-wrapper {
        margin-top: 40px;
    }

    .avant-apres-slide-row {
        flex-direction: column !important;
        gap: 20px;
    }

    .avant-apres-image-col {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding: 10px;
    }

    .avant-apres-img {
        height: 280px;
    }

    .avant-apres-slider-nav {
        bottom: 40px;
        gap: 12px;
    }

    .avant-apres-slider-prev,
    .avant-apres-slider-next {
        width: 45px;
        height: 45px;
    }

    .avant-apres-slider-prev i,
    .avant-apres-slider-next i {
        font-size: 16px;
    }

    .image-label {
        font-size: 14px;
        padding: 8px 20px;
        top: 15px;
        left: 15px;
    }

    .avant-apres-subsection .sec-title_title {
        font-size: 2rem !important;
        padding: 15px 30px !important;
    }
}

/* Small Mobile */
@media screen and (max-width: 480px) {
    .avant-apres-subsection {
        padding: 30px 0 20px;
        margin-top: 30px;
    }

    .avant-apres-img {
        height: 240px;
    }

    .avant-apres-slider-nav {
        bottom: 35px;
        gap: 10px;
    }

    .avant-apres-slider-prev,
    .avant-apres-slider-next {
        width: 40px;
        height: 40px;
    }

    .image-label {
        font-size: 12px;
        padding: 6px 16px;
        top: 10px;
        left: 10px;
    }

    .avant-apres-subsection .sec-title_title {
        font-size: 1.6rem !important;
        padding: 12px 25px !important;
    }
}

