/* Styles for the Workflow Diagram (Vertical, Card-based) */
.workflow-steps-container {
    display: flex;
    flex-direction: column; /* Stack steps vertically */
    gap: 25px; /* Space between steps */
    padding: 20px;
    background-color: #fcfcfc;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.workflow-step-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 25px; /* Ample padding inside */
    position: relative;
    padding-left: 70px; /* Space for the icon circle */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.workflow-step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.step-icon-circle {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(45deg, #0B4F6C, #01BAEF); /* Vibrant gradient */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.workflow-step-card h4 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.4em;
    color: #0B4F6C; /* Dark blue from palette */
}

.workflow-step-card p {
    font-size: 0.95em;
    line-height: 1.6;
    color: #333;
    margin-bottom: 0;
}
.workflow-step-card p:last-of-type {
    margin-bottom: 0;
}

.workflow-step-card em {
    font-weight: 600;
    color: #04A777; /* Green from palette for emphasis */
}
/* 
.workflow-arrow {
    width: 2px; /* Vertical line */
    height: 30px; /* Length of arrow */
    background-color: #01BAEF; /* Blue from palette */
    position: relative;
    margin: 0 auto; /* Center the arrow */
    margin-top: -10px; /* Pull arrow up slightly to connect */
    margin-bottom: -10px; /* Pull arrow down slightly to connect */
}

.workflow-arrow::after {
    content: '';
    position: absolute;
    bottom: -5px; /* Position arrow head at bottom */
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 10px solid #01BAEF; /* Blue arrow head */
} */

/* Hide arrow for the last step card */
.last-step-card .workflow-arrow {
    display: none;
}

/* Responsive adjustments for workflow diagram */
@media (max-width: 768px) {
    .workflow-steps-container {
        padding: 15px;
        gap: 20px;
    }
    .workflow-step-card {
        padding: 20px;
        padding-left: 60px; /* Adjust for smaller icon circle */
    }
    .step-icon-circle {
        width: 32px;
        height: 32px;
        font-size: 1em;
        top: 15px;
        left: 15px;
    }
    .workflow-step-card h4 {
        font-size: 1.2em;
    }
    .workflow-step-card p {
        font-size: 0.9em;
    }
    .workflow-arrow {
        height: 25px; /* Shorter arrow for mobile */
        margin-top: -8px;
        margin-bottom: -8px;
    }
    .workflow-arrow::after {
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 8px solid #01BAEF;
    }
}