/* ===============================
   BANNER
================================ */
.banner-tempered {
    background: url('2.png') center/cover no-repeat;
    height: 280px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-overlay {
    background: rgba(0, 0, 0, 0.55);
    padding: 40px 60px;
    border-radius: 12px;
    color: #fff;
    text-align: center;
}

.banner-overlay h1 {
    margin-bottom: 8px;
    font-size: 2.2em;
}

.banner-overlay p {
    font-size: 1.3em;
}

/* ===============================
   BREADCRUMB
================================ */
.breadcrumb {
    font-size: 1em;
    color: #444;
    margin: 18px 20px 30px;
}

.breadcrumb a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumb span {
    color: #888;
}

/* ===============================
   KEYCHAIN SECTIONS – DESKTOP
================================ */
.tempered-section {
    display: flex;
    justify-content: center;
    padding: 50px 20px;
    background: #f4f7fa;
}

.tempered-section.alt {
    background: #fff;
}

.tempered-content {
    display: flex;
    align-items: flex-start;
    max-width: 1100px;
    width: 100%;
    gap: 60px;
}

.text-box {
    flex: 1;
    max-width: 500px;
}

.text-box h2 {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: #111;
}

.text-box p {
    font-size: 1.1em;
    line-height: 1.7;
    color: #333;
    margin-bottom: 20px;
}

.img-box {
    flex: 1;
    display: flex;
    justify-content: center;
}

.img-box img {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.12);
}

/* CTA */
.cta-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #35453c;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 1em;
    font-weight: 600;
}

.cta-btn:hover {
    background: #222f29;
}

/* ===============================
   MOBILE DESIGN (SINGLE LAYOUT)
================================ */
@media (max-width: 768px) {

    html, body {
        overflow-x: hidden;
    }

    /* Reset widths */
    .banner-tempered,
    .tempered-section,
    .tempered-content {
        width: 100%;
        max-width: 100%;
    }

    /* Banner */
    .banner-tempered {
        height: 200px;
    }

    .banner-overlay {
        padding: 20px;
        border-radius: 10px;
        text-align: center;
    }

    .banner-overlay h1 {
        font-size: 1.6em;
    }

    .banner-overlay p {
        font-size: 1em;
    }

    /* Section card */
    .tempered-section {
        padding: 25px 15px;
    }

    .tempered-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 18px;
        background: #fff;
        padding: 18px;
        border-radius: 14px;
        box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    }

    /* 🔥 FORCE SAME ORDER FOR ALL */
    .img-box {
    order: 1;
    width: 100%;
    display: flex;
    justify-content: center;
}

.img-box img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

    .text-box {
        order: 2;
        width: 100%;
        max-width: 100%;
        text-align: center;
    }

    .text-box h2 {
        font-size: 1.4em;
        margin-bottom: 8px;
    }

    .text-box p {
        font-size: 1em;
        line-height: 1.6;
        text-align: justify;
        margin-bottom: 16px;
    }

    /* CTA always last */
    .cta-btn {
        order: 3;
        display: inline-block;
        margin: 0 auto;
        padding: 14px 28px;
        border-radius: 8px;
    }
}