/* Problem Section */
section.technologies-problem-section {
    background-image: url("../../images/problem-section-bg.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.technologies-problem-section .container {
    align-items: center;
    gap: 13px;
}

.technologies-problem-section h2 {
    width: 100%;
    color: var(--big-stone);
    text-align: center;
}

.technologies-problem-section .section-description {
    width: 100%;
    max-width: 458px;
    font-size: 17px;
    line-height: 28px;
    font-weight: 400;
    color: var(--pale-sky);
    text-align: center;
}

.technologies-problem-section .step-list {
    width: 100%;
    max-width: 900px;
    overflow: hidden;
    border-radius: 10px;
    margin-top: 27px;
    margin-bottom: 27px;
}

.technologies-problem-section .step {
    position: relative;
    flex: 1;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 28px;
    font-weight: 700;
    text-align: center;
    clip-path: polygon(
        0 0,
        calc(100% - 24px) 0,
        100% 50%,
        calc(100% - 24px) 100%,
        0 100%,
        24px 50%
    );
    padding: 0 31px;
}

.technologies-problem-section .step:first-child {
    background: #c7d4df;
    clip-path: polygon(
        0 0,
        calc(100% - 24px) 0,
        100% 50%,
        calc(100% - 24px) 100%,
        0 100%
    );
}

.technologies-problem-section .step:not(:first-child) {
    margin-left: -18px;
}

.technologies-problem-section .step:last-child {
    clip-path: polygon(
        0 0,
        100% 0,
        100% 100%,
        0 100%,
        24px 50%
    );
}

.technologies-problem-section .cards-container {
    width: 100%;
    gap: 32px;
}

.technologies-problem-section .card {
    padding: 20px 24px;
    gap: 16px;
    border-radius: 10px;
    border: 1px solid;
    border-color: var(--athens-gray);
    background: linear-gradient(160.44deg, #FFFFFF 1.99%, #F8FAFC 86.94%);
}

/* .technologies-problem-section .card:last-child {
    border-color: var(--big-stone);
    background-color: var(--big-stone);
} */

.technologies-problem-section .card-title {
    font-size: 28px;
    line-height: 24px;
    font-weight: 700;
    color: var(--big-stone);
}

.technologies-problem-section .card-subtitle {
    font-size: 14px;
    line-height: 21px;
    font-weight: 700;
    letter-spacing: 20.5%;
    text-transform: uppercase;
    color: var(--venice-blue);
}

.technologies-problem-section .card-description {
    font-size: 16px;
    line-height: 25px;
    font-weight: 400;
    color: var(--pale-sky);
}

/* .technologies-problem-section .card:last-child .card-title {
   color: var(--white);
}

.technologies-problem-section .card:last-child .card-subtitle {
    color: var(--raw-sienna);
}

.technologies-problem-section .card:last-child .card-description {
    color: var(--jagged-ice);
} */

@media only screen and (max-width: 768px) {
    section.technologies-problem-section {
        background: var(--white);
    }

    .technologies-problem-section .container {
        align-items: flex-start;
        gap: 12px;
    }

    .technologies-problem-section h2, .technologies-problem-section .section-subheading {
        text-align: left;
    }

    .technologies-problem-section .section-description {
        font-size: 14px;
        line-height: 23px;
        text-align: left;
    }

    .technologies-problem-section .step-list {
        flex-direction: column;
        gap: 2px;
        margin-bottom: 16px;
        margin-bottom: 24px;
    }

    .technologies-problem-section .step {
        font-size: 14px;
        line-height: 22px;
        clip-path: none !important;
        border-radius: 6px;
        justify-content: space-between;
        align-items: center;
        padding: 12px 16px;
        margin: 0 !important;
    }

    .technologies-problem-section .step:not(:last-child)::after {
        content: '↓';
        font-size: 12px;
        line-height: 19px;
        color: inherit;
    }

    .technologies-problem-section .cards-container {
        flex-direction: column;
        gap: 10px;
    }

    .technologies-problem-section .card .card-title {
        font-family: 'Oswald', sans-serif;
        font-size: 15px;
        line-height: 24px;
        font-weight: 700;
    }

    .technologies-problem-section .card .card-subtitle {
        font-size: 10px;
        line-height: 16px;
    }

    .technologies-problem-section .card .card-description {
        font-size: 13px;
        line-height: 20px;
    }
}