
/* The Engineering Lifecycle Section */
.engineering-lifecycle-section {
    padding: 100px 6%;
    background-color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.engineering-lifecycle-section .lifecycle-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}

/* Background gradient blobs (optional, mimicking the screenshot's subtle glows) */
.engineering-lifecycle-section::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(232, 92, 41, 0.05);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
}

.engineering-lifecycle-section::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: rgba(232, 92, 41, 0.05);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
}

.lifecycle-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Badge */
.lifecycle-badge {
    display: inline-block;
    padding: 8px 16px;
    background-color: #ffffff;
    border: 1px solid rgba(232, 92, 41, 0.2);
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 24px;
}

.lifecycle-badge span {
    font-size: 14px;
    font-weight: 600;
    color: #e85c29;
    letter-spacing: 0.5px;
}

/* Title & Desc */
.lifecycle-title {
    font-size: 48px;
    font-weight: 700;
    color: #101828;
    margin-bottom: 24px;
    line-height: 1.2;
}

.lifecycle-desc {
    font-size: 20px;
    line-height: 1.6;
    color: #475467;
    max-width: 800px;
    margin-bottom: 80px;
}

/* Steps Layout */
.lifecycle-steps {
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: relative;
    gap: 20px;
}

/* Horizontal connecting line */
.step-line {
    position: absolute;
    top: 40px; /* Adjust to align with center of icons */
    left: 50px;
    right: 50px;
    height: 2px;
    background: linear-gradient(90deg, rgba(232, 92, 41, 0.2) 0%, rgba(232, 92, 41, 0.5) 50%, rgba(232, 92, 41, 0.2) 100%);
    z-index: -1;
}

/* Individual Card */
.lifecycle-card {
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
    border-radius: 16px;
    padding: 24px;
    width: 100%;
    max-width: 240px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
}

.lifecycle-card::before {
    content: '';
    position: absolute;
    top: -70px;
    right: -70px;
    width: 145px;
    height: 145px;
    border-radius: 50%;
    background: rgba(232, 92, 41, 0.05);
    pointer-events: none;
}

.lifecycle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(232, 92, 41, 0.1);
}

/* Icon Wrapper */
.step-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
    box-shadow: 0 4px 12px rgba(232, 92, 41, 0.25);
    /* Gradient backgrounds for each step - using classes */
}

.step-1-bg { background: linear-gradient(135deg, #e85c29 0%, #ff7742 100%); }
.step-2-bg { background: linear-gradient(135deg, #e85c29 0%, #ff7742 100%); }
.step-3-bg { background: linear-gradient(135deg, #e85c29 0%, #ff7742 100%); }
.step-4-bg { background: linear-gradient(135deg, #e85c29 0%, #ff7742 100%); }
.step-5-bg { background: linear-gradient(135deg, #e85c29 0%, #ff7742 100%); }

.step-icon {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1); /* Make icons white */
    margin-bottom: 4px;
}

.step-label {
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
}

/* Card Content */
.step-title {
    font-size: 18px;
    font-weight: 700;
    color: #101828;
    margin-bottom: 12px;
    line-height: 1.3;
}

.step-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #475467;
}

/* Responsive */
@media (max-width: 1200px) {
    .lifecycle-steps {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .step-line {
        display: none; /* Hide line on smaller screens/wrap */
    }
    
    .lifecycle-card {
        max-width: 300px;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .lifecycle-title {
        font-size: 32px;
    }
    
    .lifecycle-desc {
        font-size: 16px;
    }
}
