/* Process Steps Block Styles - Improved Vertical Cards */

.process-steps {
    padding: 80px 0;
    background: #fff;
    position: relative;
}

.process-steps .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* Header Styles */
.process-steps-header {
    text-align: center;
    margin-bottom: 48px;
}

.process-steps-title {
    font-family: "PP Neue Montreal", sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    color: #003a51;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}

.process-steps-description {
    font-size: 18px;
    line-height: 1.6;
    color: #334e68;
    margin: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

/* Process Steps List - Clean Grid Layout */
.process-steps-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    position: relative;
    width: 100%;
}

@media (min-width: 768px) {
    .process-steps-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (min-width: 992px) {
    .process-steps-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .process-steps-list.steps-count-1 {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

    .process-steps-list.steps-count-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps-list.steps-count-4 {
        grid-template-columns: repeat(4, 1fr);
    }
    
    /* For 5+ items, default to 3 or maybe 4? 3 is safer for text density */
    .process-steps-list.steps-count-5 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .process-steps-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }

    .process-steps-list.steps-count-1 {
        grid-template-columns: 1fr;
        max-width: 600px;
    }

    .process-steps-list.steps-count-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps-list.steps-count-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Process Step Item - Clean Card Design */
.process-step-item {
    width: 100%;
    position: relative;
}

.process-step-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    background: #fff;
    border: 1px solid rgba(0, 58, 81, 0.08);
    border-radius: 12px;
    padding: 24px 20px;
    min-height: auto;
    height: 100%;
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
}

.process-step-content:hover {
    border-color: rgba(0, 140, 97, 0.2);
    box-shadow: 0 4px 16px rgba(0, 58, 81, 0.08);
    transform: translateY(-4px);
}

/* Step Number Badge - Top Left */
.process-step-number {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
    z-index: 2;
    flex-shrink: 0;
}

.step-number-badge {
    width: 40px;
    height: 40px;
    background: #008c61;
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "PP Neue Montreal", sans-serif;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 140, 97, 0.2);
}

.process-step-content:hover .step-number-badge {
    background: #00b87a;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 140, 97, 0.3);
}

/* Step Text */
.process-step-text {
    flex: 1;
    min-width: 0;
    position: relative;
    width: 100%;
}

.process-step-title {
    font-family: "PP Neue Montreal", sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: #003a51;
    margin: 0 0 10px 0;
    letter-spacing: -0.3px;
}

.process-step-description {
    font-size: 15px;
    line-height: 1.6;
    color: #334e68;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-weight: 400;
    margin: 0;
}

.process-step-description p {
    margin: 0 0 12px 0;
    line-height: 1.7;
}

.process-step-description p:last-child {
    margin-bottom: 0;
}

/* Step Image - Hidden in compact view */
.process-step-image {
    display: none;
}

/* CTA */
.process-steps-cta {
    text-align: center;
    margin-top: 48px;
}

.process-steps-cta .btn {
    font-size: 18px;
    padding: 14px 40px;
    font-weight: 600;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .process-steps {
        padding: 60px 0;
    }
    
    .process-steps-header {
        margin-bottom: 48px;
    }
    
    .process-steps-title {
        font-size: 36px;
    }
    
    .process-steps-description {
        font-size: 16px;
    }
    
    .process-steps-list {
        gap: 20px;
    }
    
    .process-step-content {
        padding: 22px 18px;
    }
    
    .step-number-badge {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .process-step-number {
        width: 36px;
        height: 36px;
        margin-bottom: 10px;
    }
    
    .process-step-title {
        font-size: 18px;
    }
    
    .process-step-description {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .process-steps {
        padding: 48px 0;
    }
    
    .process-steps-header {
        margin-bottom: 40px;
    }
    
    .process-steps-title {
        font-size: 28px;
    }
    
    .process-steps-description {
        font-size: 15px;
    }
    
    .process-steps-list {
        gap: 16px;
    }
    
    .process-step-content {
        padding: 20px 16px;
        gap: 12px;
    }
    
    .step-number-badge {
        width: 32px;
        height: 32px;
        font-size: 15px;
    }
    
    .process-step-number {
        width: 32px;
        height: 32px;
        margin-bottom: 8px;
    }
    
    .process-step-title {
        font-size: 18px;
    }
    
    .process-step-description {
        font-size: 14px;
        line-height: 1.5;
    }
}

