/* Step Process Container */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;1,700&display=swap');

.sbp-steps-wrapper-outer {
    background-color: transparent;
    padding: 10px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

.sbp-steps-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 10px;
}

/* Vertical Line */
.sbp-steps-container::before {
    content: '';
    position: absolute;
    top: 40px;
    bottom: 40px;
    left: 49px;
    width: 1px;
    background-color: #111;
    z-index: 1;
}

/* Each Step */
.sbp-step {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
    gap: 30px;
    cursor: default;
}

.sbp-step:last-child {
    margin-bottom: 0;
}

/* Step Number Circle */
.sbp-step .sbp-number-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1.5px solid #111;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-sizing: border-box;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.sbp-step .sbp-number-wrapper .sbp-num {
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
    color: #111;
    margin-bottom: 3px;
    transition: all 0.3s ease;
}

.sbp-step .sbp-number-wrapper .sbp-num-text {
    font-size: 13px;
    font-weight: 600;
    color: #111;
    line-height: 1;
    transition: all 0.3s ease;
}

/* Hover Effects: Step Number */
.sbp-step:hover .sbp-number-wrapper {
    background-color: #e55e19;
    border-color: #e55e19;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(229, 94, 25, 0.2);
}

.sbp-step:hover .sbp-number-wrapper .sbp-num,
.sbp-step:hover .sbp-number-wrapper .sbp-num-text {
    color: #ffffff !important;
}

/* Card Container */
.sbp-step .sbp-card {
    flex-grow: 1;
    background-color: #f3f6fa;
    border: 1px solid #dcdfe5;
    border-radius: 50px;
    display: flex;
    align-items: center;
    padding: 12px 30px 12px 12px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

/* Hover Effects: Card */
.sbp-step:hover .sbp-card {
    transform: translateY(-4px) translateX(8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    background-color: #fcebd9;
    border-color: #eecdaf;
}

/* Icon Circle */
.sbp-step .sbp-icon-wrapper {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background-color: #faeedc;
    color: #002d5b;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 38px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Hover Effects: Icon */
.sbp-step:hover .sbp-icon-wrapper {
    transform: scale(1.1) rotate(6deg);
    background-color: #e55e19;
    color: #ffffff;
}

/* Text Container */
.sbp-step .sbp-text-content {
    margin-left: 25px;
}

.sbp-step .sbp-title {
    font-size: 21px;
    font-weight: 700;
    color: #002d5b;
    margin-bottom: 6px;
    font-family: "Playfair Display", Georgia, serif;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
}

.sbp-step:hover .sbp-title {
    color: #e55e19; /* Highlight title to match brand color */
}

.sbp-step .sbp-description {
    font-size: 15px;
    color: #222;
    line-height: 1.5;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .sbp-steps-wrapper-outer {
        padding: 20px 0;
    }
    
    .sbp-steps-container {
        padding-left: 0;
    }

    .sbp-steps-container::before {
        left: 40px;
    }
    
    .sbp-step {
        gap: 15px;
        margin-bottom: 25px;
    }

    .sbp-step:hover .sbp-card {
        transform: translateY(-4px); /* Vertical lift only on mobile */
    }

    .sbp-step .sbp-number-wrapper {
        width: 60px;
        height: 60px;
        z-index: 2;
    }
    
    .sbp-step .sbp-number-wrapper .sbp-num {
        font-size: 20px;
    }

    .sbp-step .sbp-card {
        border-radius: 25px;
        padding: 15px;
        flex-direction: column;
        align-items: flex-start;
    }

    .sbp-step .sbp-icon-wrapper {
        margin-bottom: 15px;
        width: 60px;
        height: 60px;
        font-size: 30px;
    }

    .sbp-step .sbp-text-content {
        margin-left: 0;
    }
    
    .sbp-steps-container::before {
        top: 30px;
        bottom: 30px;
        left: 30px;
    }
}
