/* SPK ROI Strategy Section Styles */
:root {
    --spkRoi-primary: #71B100;
    --spkRoi-secondary: #0F2B46;
    --spkRoi-bg: #f8faf7;
    --spkRoi-white: #ffffff;
    --spkRoi-text: #555555;
    --spkRoi-text-light: #888888;
}

.spkRoi_section {
    position: relative;
    padding: 100px 20px 120px;
    background: var(--spkRoi-bg);
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    color: var(--spkRoi-text);
    z-index: 1;
    /* Low base z-index */
}

.spkRoi_container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Background Elements */
.spkRoi_blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

.spkRoi_blob1 {
    width: 600px;
    height: 600px;
    background: rgba(113, 177, 0, 0.05);
    top: -10%;
    left: -10%;
}

.spkRoi_blob2 {
    width: 500px;
    height: 500px;
    background: rgba(15, 43, 70, 0.04);
    bottom: -10%;
    right: -10%;
}

/* 1. Header Area */
.spkRoi_header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
}

.spkRoi_title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--spkRoi-secondary);
    text-transform: uppercase;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.spkRoi_title::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(113, 177, 0, 0.2);
    top: -10px;
    left: -20px;
    z-index: -1;
    border-radius: 4px;
}

.spkRoi_desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--spkRoi-text);
    margin-bottom: 30px;
}

.spkRoi_highlight {
    color: var(--spkRoi-primary);
    font-weight: 700;
}

.spkRoi_options {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.spkRoi_optionTag {
    background: var(--spkRoi-secondary);
    color: #fff;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(15, 43, 70, 0.15);
}

/* 2. ROI Cards Grid */
.spkRoi_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 80px;
}

.spkRoi_card {
    background: var(--spkRoi-white);
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border-top: 4px solid var(--spkRoi-secondary);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.spkRoi_card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(113, 177, 0, 0.15);
    border-top-color: var(--spkRoi-primary);
}

.spkRoi_cardTitle {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--spkRoi-secondary);
    margin-bottom: 20px;
    min-height: 50px;
    /* align titles */
    display: flex;
    align-items: center;
    justify-content: center;
}

.spkRoi_dataRow {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.spkRoi_dataRow:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.spkRoi_label {
    display: block;
    font-size: 0.85rem;
    color: var(--spkRoi-text-light);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spkRoi_value {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--spkRoi-secondary);
}

.spkRoi_value.highlight {
    color: var(--spkRoi-primary);
}

/* 3. Timeline Section */
.spkRoi_timelineWrapper {
    position: relative;
    padding: 60px 0 20px;
    margin-top: 40px;
}

.spkRoi_timelineTitle {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--spkRoi-secondary);
    margin-bottom: 60px;
}

/* The horizontal line container */
.spkRoi_timelineLine {
    position: relative;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* The animated progress fill */
.spkRoi_progressLine {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    /* Animates to 100% */
    background: var(--spkRoi-primary);
    border-radius: 2px;
    z-index: 1;
}

/* Milestone Points */
.spkRoi_milestone {
    position: relative;
    z-index: 2;
    width: 20px;
    height: 20px;
    background: var(--spkRoi-white);
    border: 4px solid var(--spkRoi-secondary);
    border-radius: 50%;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.spkRoi_milestone:hover {
    transform: scale(1.3);
    border-color: var(--spkRoi-primary);
}

/* Milestone Content (Alternating Top/Bottom) */
.spkRoi_milestoneContent {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    text-align: center;
    opacity: 0;
    /* Hidden initially for stagger animation */
}

/* Top aligned content */
.spkRoi_milestone.top .spkRoi_milestoneContent {
    bottom: 35px;
}

/* Bottom aligned content */
.spkRoi_milestone.bottom .spkRoi_milestoneContent {
    top: 35px;
}

/* Connector Line */
.spkRoi_milestoneContent::before {
    content: '';
    position: absolute;
    left: 50%;
    width: 2px;
    height: 25px;
    background: #e0e0e0;
    transform: translateX(-50%);
}

.spkRoi_milestone.top .spkRoi_milestoneContent::before {
    bottom: -25px;
    /* connects down to dot */
}

.spkRoi_milestone.bottom .spkRoi_milestoneContent::before {
    top: -25px;
    /* connects up to dot */
}

.spkRoi_date {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--spkRoi-primary);
    display: block;
    margin-bottom: 5px;
}

.spkRoi_event {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--spkRoi-secondary);
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 991px) {
    .spkRoi_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .spkRoi_grid {
        grid-template-columns: 1fr;
    }

    /* Timeline Stack on Mobile */
    .spkRoi_timelineLine {
        flex-direction: column;
        height: auto;
        width: 4px;
        background: #e0e0e0;
        margin: 0 0 0 20px;
        /* Align left */
        padding: 40px 0;
        align-items: flex-start;
    }

    .spkRoi_progressLine {
        width: 100%;
        height: 0%;
        /* vertical progress */
    }

    .spkRoi_milestone {
        margin: 30px 0;
        /* Vertical spacing */
        transform: translateX(-8px);
        /* Center on line */
    }

    .spkRoi_milestoneContent {
        width: 250px;
        text-align: left;
        left: 40px;
        transform: none;
        top: -10px !important;
        /* Reset specific top/bottom positioning */
        bottom: auto !important;
    }

    .spkRoi_milestoneContent::before {
        display: none;
        /* Hide connector lines on mobile */
    }

    .spkRoi_milestone.top .spkRoi_milestoneContent,
    .spkRoi_milestone.bottom .spkRoi_milestoneContent {
        top: -10px;
    }
}