
/* =========================================================
   SENSTECH — INDIVIDUAL TRAINING
   Section 04: The Senstech Learning Approach
   ========================================================= */

.senstech-learning-approach {
    --learning-approach-bg: #103F30;
    --learning-approach-lime: #A3E635;
    --learning-approach-teal: #14B8A6;
    --learning-approach-text: #FFFFFF;
    --learning-approach-muted: rgba(255, 255, 255, 0.76);
    --learning-approach-separator: rgba(163, 230, 53, 0.45);

    position: relative;
    overflow: hidden;
    padding: clamp(4.5rem, 8vw, 7.5rem) 0;
    color: var(--learning-approach-text);
    background:
        radial-gradient(
            ellipse at 8% 0%,
            rgba(20, 184, 166, 0.13) 0%,
            transparent 38%
        ),
        radial-gradient(
            ellipse at 95% 100%,
            rgba(163, 230, 53, 0.07) 0%,
            transparent 34%
        ),
        var(--learning-approach-bg);
}

/* =========================================================
   INTRO
   ========================================================= */

.senstech-learning-approach__intro {
    max-width: 800px;
    margin: 0 auto clamp(3.5rem, 6vw, 5rem);
    text-align: center;
}

.senstech-learning-approach__eyebrow {
    display: inline-block;
    margin-bottom: 1.25rem;
    color: var(--learning-approach-lime);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.5;
    text-transform: uppercase;
}

.senstech-learning-approach__heading {
    max-width: 760px;
    margin: 0 auto 1.25rem;
    color: var(--learning-approach-text);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.18;
}

.senstech-learning-approach__heading span {
    display: block;
    color: var(--learning-approach-lime);
}

.senstech-learning-approach__description {
    max-width: 650px;
    margin: 0 auto;
    color: var(--learning-approach-muted);
    font-size: clamp(0.95rem, 1.3vw, 1.08rem);
    font-weight: 400;
    line-height: 1.85;
}

/* =========================================================
   THREE LEARNING PRINCIPLES
   Full-width top and bottom borders
   ========================================================= */

.senstech-learning-approach__steps {
    --learning-approach-steps-padding: clamp(1.5rem, 3vw, 2.5rem);

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: stretch;

    padding-block: var(--learning-approach-steps-padding);

    /* One continuous line above and below all three principles */
    border-top: 1px solid var(--learning-approach-separator);
    border-bottom: 1px solid var(--learning-approach-separator);
}

.senstech-learning-approach__step {
    position: relative;
    min-width: 0;
    padding: 0;
    border: none;
}

/* Vertical separators connect the top and bottom borders */
.senstech-learning-approach__step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: calc(0px - var(--learning-approach-steps-padding));
    right: calc(clamp(1.5rem, 3vw, 3rem) * -0.5);
    width: 1px;
    height: calc(
        100% +
        var(--learning-approach-steps-padding) +
        var(--learning-approach-steps-padding)
    );
    background: var(--learning-approach-separator);
}

.senstech-learning-approach__step-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

.senstech-learning-approach__number {
    color: var(--learning-approach-lime);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(2.5rem, 4vw, 3.75rem);
    font-weight: 700;
    letter-spacing: -0.06em;
    line-height: 1;
}

.senstech-learning-approach__icon {
    display: inline-flex;
    width: 3.5rem;
    height: 3.5rem;
    flex: 0 0 3.5rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(163, 230, 53, 0.25);
    border-radius: 1rem;
    color: var(--learning-approach-lime);
    background: rgba(163, 230, 53, 0.08);
    font-size: 1.3rem;
    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.senstech-learning-approach__step:hover
.senstech-learning-approach__icon {
    transform: translateY(-3px);
    border-color: rgba(163, 230, 53, 0.5);
    color: var(--learning-approach-bg);
    background: var(--learning-approach-lime);
}

.senstech-learning-approach__step-title {
    margin: 0 0 0.9rem;
    color: var(--learning-approach-text);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.35;
}

.senstech-learning-approach__step-description {
    max-width: 340px;
    margin: 0;
    color: var(--learning-approach-muted);
    font-size: 0.96rem;
    line-height: 1.85;
}

/* =========================================================
   CLOSING BRAND LINE
   No additional border
   ========================================================= */

.senstech-learning-approach__closing {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: clamp(3rem, 5vw, 4.5rem);
    padding-top: 0;
    border-top: none;

    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
    line-height: 1.8;
    text-align: center;
}

.senstech-learning-approach__closing strong {
    color: var(--learning-approach-lime);
    font-weight: 700;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {
    .senstech-learning-approach {
        padding: 4.5rem 0;
    }

    .senstech-learning-approach__intro {
        max-width: 700px;
        margin-bottom: 3.5rem;
    }

    .senstech-learning-approach__steps {
        gap: 1.75rem;
    }

    .senstech-learning-approach__step:not(:last-child)::after {
        right: -0.875rem;
    }

    .senstech-learning-approach__step-top {
        margin-bottom: 1.5rem;
    }

    .senstech-learning-approach__icon {
        width: 3rem;
        height: 3rem;
        flex-basis: 3rem;
        border-radius: 0.85rem;
        font-size: 1.15rem;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {
    .senstech-learning-approach {
        padding: 4rem 0;
    }

    .senstech-learning-approach__intro {
        margin-bottom: 2.75rem;
        text-align: left;
    }

    .senstech-learning-approach__heading {
        margin-right: 0;
        margin-left: 0;
        font-size: clamp(2rem, 8vw, 2.7rem);
    }

    .senstech-learning-approach__description {
        margin-right: 0;
        margin-left: 0;
        font-size: 0.95rem;
    }

    .senstech-learning-approach__steps {
        --learning-approach-steps-padding: 0.75rem;

        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .senstech-learning-approach__step {
        display: grid;
        grid-template-columns: 60px minmax(0, 1fr);
        column-gap: 1rem;
        padding: 1.5rem 0;
        border: none;
    }

    /* Hide vertical column separators in stacked layout */
    .senstech-learning-approach__step:not(:last-child)::after {
        display: none;
    }

    .senstech-learning-approach__step-top {
        grid-column: 1;
        grid-row: 1 / span 2;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 1rem;
        margin: 0;
    }

    .senstech-learning-approach__number {
        font-size: 2.1rem;
    }

    .senstech-learning-approach__icon {
        width: 2.75rem;
        height: 2.75rem;
        flex-basis: 2.75rem;
        border-radius: 0.8rem;
        font-size: 1.05rem;
    }

    .senstech-learning-approach__step-title {
        grid-column: 2;
        margin: 0 0 0.5rem;
        font-size: 1.3rem;
    }

    .senstech-learning-approach__step-description {
        grid-column: 2;
        max-width: none;
        font-size: 0.93rem;
        line-height: 1.8;
    }

    .senstech-learning-approach__closing {
        flex-direction: column;
        gap: 0.15rem;
        margin-top: 2.5rem;
        padding-top: 0;
        border-top: none;
        text-align: center;
    }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    .senstech-learning-approach__icon {
        transition: none;
    }

    .senstech-learning-approach__step:hover
    .senstech-learning-approach__icon {
        transform: none;
    }
}
