/* ==============================
   SERVICES & RESOURCES PAGES
   ============================== */
.page-lead {
    color: #777;
    margin-bottom: 18px;
}

.badge-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.badge-list li {
    display: inline-block;
    margin: 0 8px 8px 0;
    padding: 6px 10px;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 4px;
    font-size: 13px;
    color: #555;
    background: #fff;
}

.card-soft {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 6px;
    padding: 18px;
    margin-bottom: 18px;
}

.card-soft h4 {
    margin-top: 0;
    margin-bottom: 10px;
}

.checklist {
    margin: 0;
    padding-left: 18px;
}

.checklist li {
    margin-bottom: 8px;
}

.cta-strip {
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 8px;
    padding: 18px;
    background: #fff;
    margin-top: 12px;
}

.mini-muted {
    color: #888;
    font-size: 13px;
}



/* ==============================
   SERVICES & RESOURCES (ARCHIVES)
   ============================== */

/* Banner image for the archives page */
#archives.parallax {
    background-image: url("../images/headers/services-hero.jpg");
    background-size: cover;
    background-position: center;
}

/* Center title like your design image */
#archives .pageTitle {
    text-align: center;
}

#archives .pageTitle .page-title {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #fff;
}

#archives .pageTitle .page-subtitle {
    color: rgba(255, 255, 255, 0.85);
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Card grid */
.sr-grid {
    margin-top: 20px;
    margin-bottom: 10px;
}

/* Image cards */
.sr-card {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, .08);
    background: #000;
    height: 360px;
    margin-bottom: 25px;
}

.sr-card .sr-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

.sr-card .sr-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.70), rgba(0, 0, 0, 0.20));
}

.sr-card .sr-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 22px 22px 20px;
    text-align: center;
}

.sr-card .sr-title {
    color: #fff;
    font-weight: 900;
    letter-spacing: 1px;
    margin: 0 0 10px;
    text-transform: uppercase;
    font-size: 26px;
}

.sr-card .sr-desc {
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
    line-height: 1.6;
    margin: 0 auto 14px;
    max-width: 320px;
}

.sr-card .main-button {
    padding: 10px 26px !important;
}

/* Responsive height */
@media (max-width: 991px) {
    .sr-card {
        height: 320px;
    }

    #archives .pageTitle .page-title {
        font-size: 40px;
    }
}

@media (max-width: 767px) {
    .sr-card {
        height: 300px;
    }

    #archives .pageTitle .page-title {
        font-size: 34px;
    }
}


/* ==============================
   SERVICES & RESOURCES (SINGLE PAGES)
   ============================== */

#fireprotection.parallax {
    background-image: url("../images/headers/fire-protection.jpg.png");
    background-size: cover;
    background-position: center;
}

#qualitywelding.parallax {
    background-image: url("../images/headers/quality-welding.jpg.png");
    background-size: cover;
    background-position: center;
}

#fabrication.parallax {
    background-image: url("../images/headers//fabrication.jpg.png");
    background-size: cover;
    background-position: center;
}

/* Optional: Dark overlay for readable text */
.parallax-overlay {
    background: rgba(0, 0, 0, 0.45);
}