/* ===== BODY ===== */
body {
    background-color: #ffffff; /* ✅ WHITE BACKGROUND */
    font-family: Arial, sans-serif;
}

/* ===== HEADER ===== */
/* ====== HEADER STYLE (FIXED) ====== */
.fastener-header {
    position: relative;
    text-align: left;
    padding: 50px 5%;
    overflow: hidden;
    background-color: #fff;
}

/* ✅ BACKGROUND IMAGE RESTORED */
.fastener-header::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 15%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background: url("/img/helmet.png") no-repeat center;
    background-size: contain;
    opacity: 0.07;
    z-index: 0;
}

/* TEXT ABOVE IMAGE */
.fastener-header h5,
.fastener-header h1 {
    position: relative;
    z-index: 1;
}

/* SUBTITLE */
.fastener-header h5 {
    font-style: italic;
    color: #777;
}

/* TITLE */
.fastener-header h1 {
    font-weight: 800;
    font-size: 2.8rem;
    color: #111;
    margin-top: 10px;
}

/* RED LINE */
.fastener-header h1::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #e63946;
    margin-top: 10px;
}


/* ===== CARD (MAIN BOX) ===== */
.container-box {
    background: #f1f1f1; /* ✅ LIGHT GREY CARD */
    padding: 30px;
    margin-top: 30px;
    border-radius: 12px;
    box-shadow: 0px 6px 15px rgba(0,0,0,0.08);
}

/* ===== HEADING ===== */
h2 {
    font-weight: bold;
}

/* ===== DESCRIPTION ===== */
.main-desc {
    color: #555;
}

/* ===== TABS ===== */
.tabs {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
}

.tab-btn {
    border: none;
    background: #ddd;
    padding: 10px 18px;
    margin: 5px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 500;
}

.tab-btn:hover {
    background: #ccc;
}

.tab-btn.active {
    background: #4297ec;
    color: white;
}

/* ===== CONTENT ===== */
.content-section {
    margin-top: 25px;
}

/* ===== IMAGE ===== */
.product-img {
    max-height: 260px;
    border-radius: 10px;
    transition: 0.3s;
}

.product-img:hover {
    transform: scale(1.03);
}

/* ========================= */
/* 📱 RESPONSIVE DESIGN */
/* ========================= */

@media (max-width: 992px) {
    .container-box {
        padding: 25px;
    }
}

@media (max-width: 768px) {

    h2 {
        font-size: 22px;
        text-align: center;
    }

    .tabs {
        flex-direction: column;
        align-items: stretch;
    }

    .tab-btn {
        width: 100%;
        text-align: center;
    }

    .content-section {
        text-align: center;
    }

    .product-img {
        margin-top: 20px;
        max-height: 200px;
    }

    ul {
        padding-left: 0;
        list-style-position: inside;
    }
}

@media (max-width: 480px) {

    .container-box {
        padding: 15px;
    }

    h2 {
        font-size: 20px;
    }

    .product-img {
        max-height: 180px;
    }
}

/* Intro Image */
.intro-img {
    max-height: 250px;
    
    object-fit: contain;
    border: 1px black solid;
}

/* Mobile Fix */
@media (max-width: 768px) {
    .intro-img {
        margin-top: 20px;
        max-height: 200px;
    }
}




