/* AM Quality Assurance Panel */
.am-qa-section {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 120px 20px;
    background: linear-gradient(135deg, #111111 0%, #1a1c23 100%); /* Dark Theme */
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.am-qa-container {
    max-width: 1300px;
    width: 100%;
    display: flex;
    gap: 80px;
    align-items: center;
}

/* Left Images Composition */
.am-qa-images {
    flex: 1;
    position: relative;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.am-qa-image-primary {
    width: 60%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    background: #222;
    display: flex; /* Ensures img fills container */
}
.am-qa-image-primary img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
}

.am-qa-image-secondary {
    width: 40%;
    height: 350px;
    margin-top: 80px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    background: #222;
    display: flex;
}
.am-qa-image-secondary img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
}

/* Floating Overlay Badge */
.am-qa-badge-overlay {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: #ffffff; /* White badge for contrast on dark bg */
    color: #111111;
    padding: 20px 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    z-index: 5;
    border: 1px solid rgba(0,0,0,0.05);
}
.am-qa-badge-overlay svg {
    width: 30px;
    height: 30px;
    color: #3858e9;
}
.am-qa-badge-overlay span {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1px;
}

/* Right Content */
.am-qa-content {
    flex: 1;
}

.am-qa-badge {
    color: #3858e9;
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    margin-bottom: 20px;
    display: block;
}

.am-qa-title {
    font-family: 'Megante', serif;
    font-size: clamp(35px, 4vw, 55px);
    color: #ffffff;
    margin: 0 0 25px 0;
    line-height: 1.1;
}

.am-qa-desc {
    font-family: 'Raleway', sans-serif;
    color: #a0a5af;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 40px 0;
}

.am-qa-features {
    list-style: none;
    padding: 0;
    margin: 0 0 45px 0;
}

.am-qa-features li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.am-qa-features li .icon {
    width: 28px;
    height: 28px;
    background: #ffffff; /* White bg so it pops on dark */
    color: #3858e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 3px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5); /* Adds depth on dark bg */
}

.am-qa-features li div {
    display: flex;
    flex-direction: column;
}

.am-qa-features li strong {
    font-family: 'Raleway', sans-serif;
    color: #ffffff;
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 8px;
}

.am-qa-features li span {
    font-family: 'Raleway', sans-serif;
    color: #a0a5af;
    font-size: 15px;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 991px) {
    .am-qa-container {
        flex-direction: column;
        gap: 60px;
    }
    .am-qa-images {
        width: 100%;
        max-width: 600px;
    }
    .am-qa-image-primary {
        height: 400px;
    }
    .am-qa-image-secondary {
        height: 280px;
    }
    .am-qa-badge-overlay {
        bottom: 10px;
        left: 10px;
        padding: 15px 20px;
    }
    .am-qa-badge-overlay span {
        font-size: 14px;
    }
    .am-qa-badge-overlay svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 768px) {
    .am-qa-section {
        padding: 80px 20px;
    }
    .am-qa-images {
        flex-direction: column;
        gap: 15px;
    }
    .am-qa-image-primary, .am-qa-image-secondary {
        width: 100%;
        margin-top: 0;
    }
    .am-qa-image-primary {
        height: 300px;
    }
    .am-qa-image-secondary {
        display: none; /* Hide secondary on very small screens for better space */
    }
    .am-qa-badge-overlay {
        left: 50%;
        transform: translateX(-50%);
        bottom: -20px;
        width: max-content;
    }
}
