/* quality.css - Professional Flow Chart Design */

body {
    background-color: #E8E6D6;
    /* Same readable beige as Industries */
    color: #000;
    overflow-x: hidden;
}

.quality-hero {
    min-height: 50vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/img3.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
    border-bottom: 2px solid #000;
}

.quality-hero h1 {
    font-family: 'Reem Kufi', sans-serif;
    font-size: 5rem;
    color: #E8E6D6;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.3rem;
}

.quality-hero p {
    font-size: 1.8rem;
    color: #E8E6D6;
    max-width: 800px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Reem Kufi', sans-serif;
    font-size: 3.5rem;
    color: #000;
    margin-bottom: 50px;
    font-weight: 700;
    text-transform: uppercase;
}

.quality-workflow {
    padding: 100px 0;
}

.flow-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.flow-step {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.step-num {
    background: #000;
    color: #E8E6D6;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-right: -30px;
    z-index: 2;
    border: 2px solid #E8E6D6;
}

.step-box {
    background: #fff;
    padding: 30px;
    padding-left: 50px;
    border-radius: 15px;
    border: 1px solid #ddd;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    text-align: left;
    flex-grow: 1;
    transition: transform 0.3s ease;
}

.step-box:hover {
    transform: translateX(10px);
    border-color: #000;
}

.step-box.highlight {
    background: #f8f8f0;
    border: 2px solid #d1be30;
}

.step-box i {
    font-size: 2.5rem;
    color: #d1be30;
    margin-bottom: 15px;
    display: block;
}

.step-box h3 {
    font-size: 2.2rem;
    color: #000;
    margin-bottom: 10px;
    font-weight: 700;
}

.step-box p {
    font-size: 1.4rem;
    color: #555;
    margin-bottom: 0;
}

.flow-arrow {
    font-size: 2rem;
    color: #000;
    padding: 20px 0;
    padding-left: 30px;
}

.certifications-section {
    padding: 100px 0;
    background-color: #f0eee2;
    /* Slightly different beige for contrast */
}

.cert-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    border: 1px solid #ddd;
    height: 100%;
    transition: all 0.3s ease;
}

.cert-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transform: translateY(-10px);
}

.cert-card i {
    font-size: 4rem;
    color: #d1be30;
    margin-bottom: 20px;
}

.cert-card h3 {
    font-size: 2.2rem;
    color: #000;
    margin-bottom: 15px;
}

.cert-card p {
    font-size: 1.4rem;
    color: #666;
}

@media (max-width: 768px) {
    .step-num {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .step-box {
        padding: 20px;
        padding-left: 40px;
    }

    /* --- Standardized Mobile Menu Fixes --- */
    .header .fa-bars {
        display: block !important;
        color: #d1be30 !important;
        font-size: 3rem;
        cursor: pointer;
    }

    .header .navbar {
        position: fixed;
        top: 60px;
        left: -120%;
        /* Hidden by default */
        width: 100%;
        height: auto;
        background-color: #111 !important;
        border-top: .1rem solid rgba(232, 230, 214, .3);
        z-index: 1000;
        padding-bottom: 2rem;
        transition: all .3s linear;
        display: block !important;
    }

    /* This class is toggled by main.js */
    .header .navbar.nav-toggle {
        left: 0;
    }

    .header .navbar ul {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 0;
    }

    .header .navbar ul li {
        margin: 1.5rem 0;
        text-align: center;
    }

    .header .navbar ul li a {
        font-size: 2.4rem;
        color: #E8E6D6 !important;
        display: block;
    }
}

```