.measure-section {
    width: 100%;
    margin: -75px auto 60px;
    padding: 0 20px;
    background-color: #ffffff;
    border-radius: 12px;
}

.intro-text-container {
    text-align: center;
    margin-bottom: 30px;
}

.intro-heading {
    font-size: 2.2rem;
    color: #333333;
    font-weight: 700;
    margin-bottom: 15px;
}

.intro-paragraph {
    font-size: 1.3rem;
    color: #555555;
    line-height: 1.7;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.stepper-section {
    width: 100%;
    margin-top: 40px;
}

.stepper-main-title {
    text-align: center;
    font-size: 1.8rem;
    color: #333333;
    font-weight: 700;
    margin-bottom: 30px;
}

.stepper-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    background-color: #fdfdfd;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.stepper-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    position: relative;
    padding: 0 10px;
}

.stepper-icon-container {
    width: 45px;
    height: 45px;
    background-color: #591a26;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 12px;
    transition: transform 0.3s ease;
    border: 2px solid #591a26;
}

.stepper-icon {
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
}

.stepper-label {
    font-size: 1.2rem;
    color: #444444;
    font-weight: 500;
    max-width: 170px;
    line-height: 1.5;
}

.stepper-line {
    flex-grow: 1;
    height: 2px;
    background-color: #dddddd;
    margin: 22px 10px 0 10px;
    position: relative;
}

.buttons {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.button {
    background-color: #591a26;
    color: #ffffff;
    padding: 14px 32px;
    font-size: 1.15rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    border: none;
    display: inline-block;
    text-align: center;
    transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.button:hover {
    background-color: #4b141f;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
    .measure-section {
        margin: -25px auto 60px;
        padding: 0 30px;
    }
    .intro-heading {
        font-size: 1.9rem;
    }
    .intro-paragraph {
        font-size: 1.2rem;
    }
    .stepper-main-title {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }
    .stepper-container {
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
    }
    .stepper-step {
        flex-direction: row;
        align-items: center;
        text-align: left;
        margin-bottom: 20px;
        padding: 0;
    }
    .stepper-step:last-child {
        margin-bottom: 0;
    }
    .stepper-icon-container {
        margin-bottom: 0;
        margin-right: 15px;
        width: 40px;
        height: 40px;
    }
    .stepper-icon {
        font-size: 16px;
    }
    .stepper-label {
        font-size: 1.2rem;
        max-width: none;
    }
    .stepper-line {
        display: none;
    }
    .stepper-step:not(:last-child)::after {
        content: '';
        position: absolute;
        left: 19px;
        top: 45px;
        bottom: -15px;
        width: 2px;
        background-color: #dddddd;
        z-index: -1;
    }
    .button {
        padding: 12px 28px;
        font-size: 1.05rem;
        width: auto;
    }
    .buttons {
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .measure-section {
        padding: 20px;
        margin: -70px auto 35px;
    }
    .intro-heading {
        font-size: 1.7rem;
    }
    .stepper-main-title {
        font-size: 1.4rem;
    }
    .stepper-icon-container {
        width: 35px;
        height: 35px;
    }
    .stepper-icon {
        font-size: 14px;
    }
    .stepper-step:not(:last-child)::after {
        left: 17px;
        top: 40px;
    }
    .button {
        width: 100%;
        padding: 14px 0;
        font-size: 1rem;
    }
}
@media screen and (min-width: 1250px) {
    .measure-section {
        margin-top: 120px;
    }
}

