.image-dash-container-produit{
    width:100%;
    margin: 50px auto 0px auto;
    border-radius: 20px;
}
.produit-img{
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: block;
    border-radius: 20px;
}
.hero::after{
    display: none;
}
.hero {
    border-radius: 20px !important;
}
.services-section{
    padding: 5rem 0;
}

/* Sticky Scroll Container */
.services-scroll-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
    align-items: start;
}

/* Sticky Image Container (Left Side) */
.services-images-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sticky-card-frame {
    position: relative;
    width:100%;
    padding: 100px;
    /* Keep a consistent height for the frame */
    height: calc(100vh - 230px); 
    background: rgba(225, 238, 248, 1);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-image {
    opacity: 0;
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
    position: absolute;
 
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(20px); 
}

.service-image.active {
    opacity: 1;
    transform: translateY(0);
}

.sticky-service-img {
    width: 90%; 
    height: auto;
    max-height: 90%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}



/* Scrolling Content (Right Side) */
.services-content-scroll {
    display: flex;
    flex-direction: column;
    gap: 0; /* Remove gap as items are full height now */
}

.service-item {
    min-height: 100vh;
    padding: 50px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.service-item-title {
    font-size: 2rem;
    font-weight: 700;
    color: rgba(28, 35, 51, 1);
    line-height: 40px;
    letter-spacing: -2%;
}

.service-item-description {
    font-size: 1rem;
    color: rgba(74, 85, 101, 1);
    line-height: 24px;
    margin-bottom: 8px;
}

.service-item-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-item-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.service-item-features .feature-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 4px;
    gap: 12px;
}

.service-item-features .feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-item-features p {
    font-size: 1rem;
    color: rgba(74, 85, 101, 1);
    line-height: 24px;
}

/* Default: Hide mobile-only images on desktop */
.mobile-service-img {
    display: none;
    width: 100%;
    margin-bottom: 24px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: rgba(225, 238, 248, 1);
    border-radius: 20px;
    padding: 50px;
}


/* Mobile Responsive - Stacked Layout */
@media (max-width: 768px) {
    .services-scroll-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .services-images-sticky {
        display: none !important; /* Hide sticky part completely */
    }

    .mobile-service-img {
        display: block; /* Show inline images */
    
    }

    .service-item {
        min-height: auto;
        background: transparent;
        padding: 16px ;
        border-radius: 0;
        box-shadow: none;
    }

    .service-item-title {
        font-size: 1.5rem;
        line-height: 2rem;
    }


    .service-item-description {
        font-size: 1rem;
        line-height: 1.5rem;
    }

    .service-item-features p {
        font-size: 1rem;
        line-height: 1.5rem;
    }

    .services-content-scroll {
        gap: 2rem;
    }
}

