/* ==========================================================
   UTMANING.CSS
   Styling endast för utmaning.html
   ========================================================== */


/* ==========================================================
   1. TITLE
   ========================================================== */

.utmaning-title {
    padding: 90px 8% 80px;
    background-color: white;
    background-image: url('../images/utmaning.bild.jpg');
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid #e4e8ec;
}

.utmaning-title-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.utmaning-section-label {
    display: inline-block;
    margin-bottom: 18px;
    color: #2fa876;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 2px;
}

.utmaning-title h1 {
    max-width: 800px;
    margin: 0 auto 25px;
    color: #152238;
    font-size: 48px;
    line-height: 1.1;
}

.utmaning-title h1 span {
    color: #2fa876;
}

.utmaning-title p {
    max-width: 750px;
    margin: 0 auto 12px;
    color: #000000;
    font-size: 18px;
}


/* ==========================================================
   2. SECTIONS
   ========================================================== */

.utmaning-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 30px;
}

.utmaning-heading {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
}

.utmaning-section-number {
    color: #2fa876;
    font-size: 18px;
    font-weight: bold;
}

.utmaning-heading h2 {
    margin-bottom: 8px;
    color: #152238;
    font-size: 32px;
}

.utmaning-heading p {
    max-width: 650px;
    color: #5b6573;
    font-size: 17px;
}

.utmaning-source {
    margin-top: 15px;
    color: #7b8794 !important;
    font-size: 13px !important;
    font-style: italic;
}


/* ==========================================================
   3. HEALTH CARDS
   ========================================================== */

.utmaning-health-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.utmaning-health-card {
    padding: 30px;
    background-color: white;
    border: 1px solid #e4e8ec;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.utmaning-health-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.09);
}

.utmaning-health-icon {
    width: 55px;
    height: 55px;

    display: flex;
    justify-content: center;
    align-items: center;

    margin-bottom: 20px;

    background-color: #daf7ea;
    color: #2fa876;

    border-radius: 50%;

    font-size: 26px;
    font-weight: bold;
}

.utmaning-health-card h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.utmaning-health-card p {
    color: #5b6573;
    font-size: 15px;
}


/* ==========================================================
   4. STATISTICS
   ========================================================== */

.utmaning-statistics {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 25px;
    margin: 40px 0;
}

.utmaning-stat-card {
    padding: 40px 30px;
    background-color: white;
    border: 1px solid #e4e8ec;
    border-radius: 16px;
    text-align: center;
}

.utmaning-stat-card strong {
    display: block;
    margin-bottom: 10px;
    color: #2fa876;
    font-size: 48px;
}

.utmaning-stat-card span {
    display: block;
    max-width: 300px;
    margin: 0 auto;
    color: #5b6573;
    font-size: 15px;
}

.utmaning-stat-highlight {
    border: 2px solid #2fa876;
}

.utmaning-stat-arrow {
    color: #2fa876;
    font-size: 35px;
    font-weight: bold;
}


/* ==========================================================
   5. QUOTE & DESCRIPTION
   ========================================================== */

.utmaning-quote {
    max-width: 800px;
    margin: 50px auto;
    padding: 35px 40px;

    background-color: #eaf5ef;

    border-left: 5px solid #2fa876;
    border-radius: 8px;
}

.utmaning-quote p {
    margin-bottom: 15px;
    color: #152238;
    font-size: 22px;
    font-weight: bold;
    line-height: 1.5;
}

.utmaning-quote cite {
    color: #5b6573;
    font-size: 14px;
}

.utmaning-description {
    max-width: 800px;
    margin: 0 auto;
    color: #455466;
    font-size: 17px;
}


/* ==========================================================
   6. SEDENTARY SECTION
   ========================================================== */

.utmaning-sedentary {
    display: grid;
    grid-template-columns: 2fr 1fr;
    align-items: stretch;
    gap: 35px;
}

.utmaning-sedentary-text {
    padding: 35px;
    background-color: white;
    border: 1px solid #e4e8ec;
    border-radius: 16px;
}

.utmaning-sedentary-text h3 {
    margin-bottom: 15px;
    font-size: 23px;
}

.utmaning-sedentary-text p {
    margin-bottom: 15px;
    color: #5b6573;
}

.utmaning-message-box {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 35px;

    background-color: #152238;
    color: white;

    border-radius: 16px;
}

.utmaning-message-box span {
    margin-bottom: 15px;
    color: #7dd3ad;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
}

.utmaning-message-box strong {
    font-size: 27px;
    line-height: 1.35;
}


/* ==========================================================
   7. CONCLUSION & FLOW
   ========================================================== */

.utmaning-conclusion {
    padding-bottom: 100px;
}

.utmaning-flow {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 45px 0;
}

.utmaning-flow-item {
    width: 190px;
    min-height: 120px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 20px;

    background-color: white;

    border: 1px solid #e4e8ec;
    border-radius: 14px;

    text-align: center;
}

.utmaning-flow-item strong {
    margin-bottom: 5px;
    color: #2fa876;
    font-size: 18px;
}

.utmaning-flow-item span {
    color: #5b6573;
    font-size: 14px;
}

.utmaning-flow-arrow {
    color: #2fa876;
    font-size: 26px;
    font-weight: bold;
}

.utmaning-conclusion-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 35px;

    background-color: #eaf5ef;

    border-radius: 16px;
}

.utmaning-conclusion-box p {
    margin-bottom: 15px;
    color: #455466;
    font-size: 17px;
}



@media (max-width: 900px) {

    .utmaning-health-cards,
    .utmaning-sedentary {
        grid-template-columns: 1fr;
    }

    .utmaning-flow {
        flex-direction: column;
    }

    .utmaning-flow-arrow {
        transform: rotate(90deg);
    }

    .utmaning-flow-item {
        width: 100%;
        max-width: 100%;
    }
}


@media (max-width: 700px) {

    .utmaning-title {
        padding: 50px 20px;
    }

    .utmaning-title h1 {
        font-size: 34px;
    }

    .utmaning-title p {
        font-size: 16px;
    }

    .utmaning-section {
        padding: 45px 20px;
    }

    .utmaning-heading {
        flex-direction: column;
        gap: 8px;
    }

    .utmaning-heading h2 {
        font-size: 27px;
    }

    .utmaning-health-cards {
        gap: 18px;
    }

    .utmaning-health-card,
    .utmaning-sedentary-text,
    .utmaning-message-box,
    .utmaning-conclusion-box,
    .utmaning-quote {
        width: 100%;
        box-sizing: border-box;
    }

    .utmaning-health-card {
        padding: 22px 20px;
    }

    .utmaning-sedentary-text,
    .utmaning-message-box,
    .utmaning-conclusion-box {
        padding: 24px 20px;
    }

    .utmaning-quote {
        margin-left: 0;
        margin-right: 0;
        padding: 24px 20px;
    }

    .utmaning-flow {
        gap: 16px;
    }

    .utmaning-flow-item {
        padding: 20px;
    }
}


@media (max-width: 480px) {

    .utmaning-title {
        padding: 40px 16px;
    }

    .utmaning-title h1 {
        font-size: 30px;
    }

    .utmaning-section {
        padding: 36px 16px;
    }

    .utmaning-heading h2 {
        font-size: 24px;
    }
}