/* Compliance Section Refonte */
.refonte-compliance-section {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 64px 64px;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    overflow: hidden;
}

.refonte-compliance-section.cards-only-layout {
    padding: 64px 64px;
}

.refonte-compliance-section.cards-only-layout .compliance-header {
    margin-bottom: 48px;
    gap: 0;
}

.refonte-compliance-section.cards-only-layout .compliance-cards-grid {
    margin-bottom: 0;
}

/* Header & Logos */
.compliance-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    margin-bottom: 80px;
    width: 100%;
}

.trustpilot-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trustpilot-container img {
    height: 32px;
    width: auto;
}

.trust-score {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 500;
    color: #003329;
}

/* Logos Carousel */
.logos-carousel-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    /* Add gradient masks for fade effect if desired */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    padding: 32px 0;
}

.logos-track {
    display: flex;
    gap: 64px;
    align-items: center;
    width: max-content;
    animation: scrollLogos 40s linear infinite;
    padding-right: 64px;
    /* Ensure total width is exactly 2x set width for smooth 50% translate */
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
        /* Assumes duplicated content for seamless loop */
    }
}

.logos-track:hover {
    animation-play-state: paused;
}

.logos-track img {
    max-height: 40px;
    max-width: 100px;
    width: auto;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: opacity 0.3s, filter 0.3s;
}

.logos-track img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.compliance-title {
    font-family: var(--font-primary);
    font-size: 48px;
    font-weight: 500;
    line-height: 1.1;
    color: #003329;
    text-align: center;
    margin: 0;
}

.compliance-title .highlight {
    color: #EC674E;
    /* Orange */
    /* Break line if needed or inline */
}

/* Cards Grid */
.compliance-cards-grid {
    display: flex;
    justify-content: center;
    gap: 28px;
    width: 100%;
    margin-bottom: 64px;
}

.compliance-card {
    flex: 1;
    max-width: 400px;
    background: #FFFAF9;
    /* Very light pink/orange background */
    border-radius: 24px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    box-sizing: border-box;
}

.card-icon-box {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FCEBE8;
    /* Slightly darker pink circle/box if needed, or transparent if SVG has it */
    /* If SVG has background, remove this background */
    background: transparent;
    margin-bottom: 8px;
}

.card-icon-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.card-kpi {
    font-family: var(--font-primary);
    font-size: 32px;
    font-weight: 500;
    color: #181D27;
    margin: 0;
    line-height: 1.2;
}

.card-desc {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.5;
    color: #4A1625;
    margin: 0;
    opacity: 0.8;
}

/* CTA */
.compliance-cta {
    display: flex;
    justify-content: center;
}

.btn-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #003329;
    /* Dark Green */
    padding: 8px 8px 8px 24px;
    border-radius: 100px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-learn-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 51, 41, 0.3);
}

.btn-learn-more span {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 400;
    color: #E6FFA3;
    /* Lime Green */
    line-height: 1;
}

.btn-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon img {
    width: 100%;
    height: 100%;
}

@media (max-width: 1024px) {
    .refonte-compliance-section {
        padding: 64px 24px;
    }

    .compliance-cards-grid {
        flex-direction: column;
        align-items: center;
    }

    .compliance-card {
        width: 100%;
        max-width: 100%;
    }

    .compliance-title {
        font-size: 36px;
    }

    .logos-track {
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .refonte-compliance-section {
        padding: 48px 16px;
    }

    .refonte-compliance-section.cards-only-layout {
        padding: 48px 16px;
    }

    .compliance-header {
        margin-bottom: 40px;
        gap: 24px;
    }

    /* Reduce Trustpilot Logo */
    .trustpilot-container img {
        height: 24px;
    }

    .trust-score {
        font-size: 16px;
    }

    .compliance-title {
        font-size: 28px;
    }

    .logos-carousel-wrapper {
        padding: 16px 0;
    }

    /* Reduce Client Logos */
    .logos-track img {
        max-height: 28px;
        /* Reduced from 40px */
    }

    .compliance-card {
        padding: 24px 16px;
        gap: 16px;
        border-radius: 20px;
        box-sizing: border-box;
    }

    .card-kpi {
        font-size: 26px;
    }

    .btn-learn-more {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }
}