﻿/* Extras for the redesigned CSR landing page.
   Everything else reuses the existing theme classes (CompanyOverview.css / site theme). */

/* Why companies choose Copalana */
.csr-why-card {
    border: 1px solid #dbdbdb;
    border-radius: 8px;
    background: #fff;
}

    .csr-why-card .card-body {
        padding: 24px;
    }

    .csr-why-card .csr-icon {
        flex-shrink: 0;
        margin-right: 10px;
    }

/* Trusted by strip */
.csr-trusted {
    padding: 60px 0;
    margin: 60px 0;
}

/* Plan / Engage / Connect / Measure tabs */
.csr-tabs-card {
    border: 1px solid #dbdbdb;
    border-radius: 16px;
    background: #fff;
}

.csr-tabs {
    border-bottom: 0;
    padding: 20px 10px 0;
    flex-wrap: nowrap;
}

    .csr-tabs .nav-item {
        padding: 0 5px;
        flex: 1 1 0;
    }

    .csr-tabs .nav-link {
        border: 0;
        border-bottom: 2px solid #dbdbdb;
        border-radius: 0;
        padding: 10px;
        color: #929292;
        text-align: center;
        font-size: 18px;
        line-height: 28px;
        background: transparent;
    }

        .csr-tabs .nav-link.active {
            border-bottom-color: #9fb034;
            color: #000;
            background: transparent;
        }

.csr-tabs-content {
    padding: 60px 30px;
}

/* Start where you are - numbered timeline */
.csr-timeline {
    position: relative;
}

.csr-timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    padding-bottom: 60px;
}

    .csr-timeline-item:last-child {
        padding-bottom: 0;
    }

.csr-timeline-num {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    margin-right: 20px;
    border: 2px solid #fff;
    border-radius: 20px;
    background: #ecefd6;
    color: #9fb034;
    font-size: 18px;
    line-height: 30px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.csr-timeline-item::after {
    content: "";
    position: absolute;
    left: 16px;
    top: 38px;
    bottom: 4px;
    width: 2px;
    background: #dbdbdb;
}

.csr-timeline-item:nth-child(-n+2)::after {
    background: #9fb034;
}

.csr-timeline-item:last-child::after {
    display: none;
}

/* Three ways - arrow circle */
.csr-arrow-circle {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 16px;
    padding: 6px;
    border: 1px solid #dbdbdb;
    border-radius: 60px;
    color: #000;
    transition: background-color .2s, border-color .2s, color .2s;
}

.cards-hover a:hover .csr-arrow-circle {
    background: #ecefd6;
    border-color: #9fb034;
    color: #9fb034;
}

/* Ideas & insights - hand-drawn ring around the word */
.csr-highlight {
    position: relative;
    display: inline-block;
    padding: 0 14px;
    color: inherit;
}

.csr-highlight-ring {
    position: absolute;
    left: -4px;
    right: -4px;
    top: -14px;
    bottom: -14px;
    width: calc(100% + 8px);
    height: calc(100% + 28px);
    color: #9fb034;
    pointer-events: none;
}

/* Final CTA - green accent bar on the left */
.csr-cta-card {
    position: relative;
    border: 1px solid #dbdbdb;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

    .csr-cta-card::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 6px;
        background: #9fb034;
    }

@media (max-width: 991.98px) {
    .csr-tabs {
        flex-wrap: wrap;
    }

        .csr-tabs .nav-item {
            flex: 1 1 50%;
            margin-bottom: 8px;
        }

    .csr-tabs-content {
        padding: 30px 15px;
    }

    .csr-trusted {
        padding: 30px 0;
        margin: 30px 0;
    }
}
