header {
    .first-p {
        font-size: 28px;
        margin: 4px 0;
    }
}


.training-flow {
    background-color: #fef9fb;
    padding: var(--spacing-l) 14px;

    .training-flow-inner {
        max-width: 960px;
        margin: 0 auto;
    }

    h1 {
        text-align: center;
        color: #c45c8b;
        font-size: 2rem;
        font-weight: bold;
        margin-bottom: var(--spacing-l);
        position: relative;

        &::after {
            content: "";
            display: block;
            width: 80px;
            height: 3px;
            background-color: #c45c8b;
            margin: 0.8rem auto 0;
            border-radius: 2px;
        }

        @media (width <=768px) {
            font-size: 1.6rem;
        }
    }

    p {
        text-align: center;
    }

    .training-steps {
        margin-top: var(--spacing-s);
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 3rem;
        padding: 0;

        li {
            display: flex;
            flex-wrap: wrap;
            gap: 1.5rem;
            align-items: flex-start;

            img {
                width: 240px;
                border-radius: 1rem;
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            }

            .text-content {
                flex: 1;
                min-width: 280px;

                .step-num {
                    display: inline-block;
                    font-size: 1rem;
                    font-weight: bold;
                    background-color: #ff99bb;
                    color: #fff;
                    padding: 0.25rem 0.75rem;
                    border-radius: 999px;
                    margin-bottom: 0.5rem;
                }

                h3 {
                    color: #c45c8b;
                    font-size: 1.25rem;
                    margin-bottom: 0.5rem;
                    line-height: 1.5;
                }

                p {
                    color: #555;
                    font-size: 1rem;
                    line-height: 1.6;
                }
            }

            @media (width <=768px) {
                flex-direction: column;
                align-items: center;
                text-align: center;

                img {
                    width: 100%;
                    max-width: 360px;
                }

                .text-content {
                    .step-num {
                        margin: 0 auto 0.5rem;
                    }
                }
            }
        }
    }

    @media (width <=768px) {
        .training-steps li {
            flex-direction: column;
            align-items: center;
            text-align: center;

            background-color: #fff;
            border-radius: 1rem;
            padding: 1.5rem;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            margin-bottom: 1.5rem;

            img {
                width: 100%;
                max-width: 360px;
            }

            .text-content {
                .step-num {
                    font-size: 1.1rem;
                    margin: 0 auto 0.5rem;
                    padding: 0.4rem 1rem;
                }
            }
        }
    }

    .cta-area {
        max-width: 960px;
        margin: 4rem auto 0;
        padding: 3rem 1.5rem;
        background: linear-gradient(135deg, #c2f0e0, #f5fdf8);
        border-radius: 1.5rem;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
        text-align: center;
        position: relative;
        overflow: hidden;

        &::before {
            content: '';
            position: absolute;
            top: -20%;
            right: -20%;
            width: 200px;
            height: 200px;
            background: radial-gradient(circle, rgba(72, 239, 192, 0.25), transparent);
            z-index: 0;
            border-radius: 50%;
        }

        .cta-message {
            font-size: 1.2rem;
            font-weight: 600;
            color: #2e7d5f;
            margin-bottom: 1rem;
            z-index: 1;
            position: relative;
        }

        .cta-button {
            display: inline-block;
            font-weight: bold;
            padding: 0.85rem 2.5rem;
            font-size: 1.05rem;
            border-radius: 2rem;
            text-decoration: none;
            transition: all 0.3s ease;
            z-index: 1;
            position: relative;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

            &.cta-primary {
                background-color: #28b48d;
                color: #fff;

                &:hover {
                    background-color: #21a07d;
                    transform: scale(1.05);
                }

                &:active {
                    transform: scale(0.97);
                }
            }

            &.cta-secondary {
                background-color: #c45c8b;
                color: #fff;

                &:hover {
                    background-color: #b24a79;
                    transform: scale(1.05);
                }

                &:active {
                    transform: scale(0.97);
                }
            }
        }

        @media (width <=768px) {
            padding: 2rem 1rem;

            .cta-message {
                font-size: 1.05rem;
            }

            .cta-button {
                font-size: 1rem;
                padding: 0.75rem 2rem;
            }
        }

        @media (width <=480px) {
            .cta-button {
                display: block;
                width: 100%;
                max-width: 320px;
                margin: 0.75rem auto;
            }
        }
    }


}