/* Custom CSS for building-construction-quality-control-services.html */
body {
    font-family: "Poppins", sans-serif !important;
}

/* --- Navbar Style Overrides --- */
.main-header {
    background-color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.main-header .main-menu .navigation > li > a {
    color: #333333 !important;
    font-weight: 500;
    font-size: 15px;
    text-transform: capitalize !important;
    text-decoration: none !important;
}

.main-header .main-menu .navigation > li:hover > a,
.main-header .main-menu .navigation > li.current > a {
    color: #e4ae1f !important;
    text-decoration: none !important;
}

/* Force ALL dropdown and sub-menu links to have no text decoration (underlines) */
.main-header .main-menu .navigation li a {
    text-decoration: none !important;
}

.main-header .main-menu .navigation > li.dropdown > a::after {
    content: "\f107";
    font-family: "Font Awesome 5 Free", "FontAwesome", sans-serif;
    font-weight: 900;
    margin-left: 6px;
    font-size: 12px;
}

.main-header .main-menu .navigation > li > a.btn {
    background-color: #e2a613 !important;
    color: #111111 !important;
    padding: 12px 30px !important;
    border-radius: 0px !important;
    font-weight: 600 !important;
    margin-left: 20px;
    border: none !important;
    display: inline-block;
    text-transform: none !important;
}

.main-header .main-menu .navigation > li > a.btn:hover {
    background-color: #c9930f !important;
    color: #ffffff !important;
}
.main-menu .navigation > li {
    padding: 25px 0px; /* Increased from 25px for more nav bar height */
}

/* --- Layout fixes for empty pages --- */
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.page-main-content {
    flex-grow: 1;
    padding-top: 100px; /* Increased from 50px to prevent overlap with hero */
}

.main-footer {
    margin-top: auto;
}

/* ========================================= */
/* Hero Section */
/* ========================================= */
.bcqc-hero-section {
    background-color: #2F2B2A;
    min-height: 750px;
    display: flex;
    align-items: center;
    margin-top: 110px;
}
.bcqc-container {
    padding: 0 5%;
}
.bcqc-hero-bg-desktop {
    position: absolute;
    top: 0;
    right: 0;
    width: auto;
    height: 100%;
}
.bcqc-hero-bg-desktop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
}
.hero-tag-top {
    color: #E5B122;
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 20px;
}
.hero-title {
    color: #fff;
    font-size: 4.4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}
.hero-tag-bottom {
    color: #E5B122;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 15px;
}
.hero-desc {
    color: #fff;
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 35px;
}
.hero-features-row {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.hero-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: calc(16.66% - 25px); /* roughly 6 items */
    min-width: 80px;
}
.hero-feature img {
    height: 48px;
    width: auto;
    margin-bottom: 15px;
}
.hero-feature p {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
}
.hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}
.bcqc-btn {
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 2rem;
    font-weight: 500;
    text-decoration: none !important;
    display: inline-block;
    transition: all 0.3s ease;
}
.bcqc-btn-primary {
    background-color: #E5B122;
    color: #060F1A !important;
    border: 1px solid #E5B122;
}
.bcqc-btn-primary:hover {
    background-color: transparent;
    color: #E5B122 !important;
}
.bcqc-btn-outline {
    background-color: transparent;
    color: #fff !important;
    border: 1px solid #FFFFFF;
}
.bcqc-btn-outline:hover {
    background-color: #fff;
    color: #060F1A !important;
}

@media (max-width: 991px) {
    .hero-features-row {
        gap: 15px;
    }
    .hero-feature {
        width: calc(33.33% - 15px);
    }
}

/* ========================================= */
/* Hero Stat Section */
/* ========================================= */
.bcqc-hero-stat-section {
    background-color: #E5B122;
    padding: 30px 0;
}
.bcqc-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.bcqc-stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
}
.bcqc-stat-item img {
    width: 50px;
    height: auto;
}
.bcqc-stat-text {
    display: flex;
    flex-direction: column;
}
.bcqc-stat-text .stat-title {
    color: #fff;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
}
.bcqc-stat-text .stat-desc {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.1;
}

@media (max-width: 991px) {
    .bcqc-stat-row {
        justify-content: center;
    }
}

/* ========================================= */
/* Matters & Tech Section */
/* ========================================= */
.bcqc-matters-tech-section {
    background-color: #fff;
    padding: 40px 0;
}
.matters-title {
    color: #272727;
    font-size: 3.3rem;
    font-weight: 600;
    margin-bottom: 30px;
    line-height: 1.3;
}
.matters-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.matters-list li {
    font-size: 1.8rem;
    color: #272727;
    font-weight: 500;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.matters-tick {
    color: #FEC11A;
    font-size: 2rem;
    margin-top: 4px;
}
.tech-title {
    color: #272727;
    font-size: 3.3rem;
    font-weight: 600;
    margin-bottom: 30px;
    line-height: 1.3;
}
.tech-cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.tech-card {
    background: #F5F5F5;
    border: 0.8px solid #C1C1C1CC;
    border-radius: 15px;
    padding: 20px;
    display: flex;
    flex-direction: column;
}
.tech-img-box {
    background-color: #fff;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tech-img-box img {
    max-width: 100%;
    height: auto;
    max-height: 150px;
}
.tech-card-title {
    color: #F0B000;
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 5px;
}
.tech-card-subtitle {
    color: #272727;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}
.tech-card-desc {
    color: #2F2B2A;
    font-size: 1.6rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .tech-cards-wrapper {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .tech-card {
        width: calc(33.333% - 14px);
    }
}
@media (max-width: 767px) {
    .tech-card {
        width: 100%;
    }
}

/* ========================================= */
/* Inspect Section */
/* ========================================= */
.bcqc-inspect-section {
    background-color: #fff;
    padding: 40px 0;
}
.inspect-title {
    color: #272727;
    font-size: 4rem;
    font-weight: 700;
    margin: 0;
}
.inspect-highlight {
    color: #FEC11A;
}
.inspect-card {
    background-color: #000;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    height: 100%;
}
.inspect-bg {
    position: absolute;
    bottom: 0;
    right: 0;
    max-width: 70%;
    z-index: 1;
    border-radius: 0 0 20px 0;
}
.inspect-content {
    position: relative;
    z-index: 2;
}
.inspect-icon-box {
    background-color: #fff;
    border-radius: 12px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.inspect-icon-box img {
    width: 35px;
    height: auto;
}
.inspect-card-title {
    color: #F0B000;
    font-size: 2.6rem;
    font-weight: 700;
    margin: 0;
}
.inspect-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.inspect-list li {
    font-size: 1.8rem;
    color: #fff;
    font-weight: 500;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.inspect-tick {
    color: #FEC11A;
    font-size: 2rem;
    margin-top: 4px;
}

/* ========================================= */
/* Inspection Section */
/* ========================================= */
.bcqc-inspection-section {
    background-color: #fff;
    padding: 40px 0;
}
.inspection-left-wrap {
    padding-right: 30px;
}
.inspection-title {
    color: #1D1D1D;
    font-size: 3.2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
}
.parameters-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px 15px;
}
.parameter-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.parameter-item img {
    height: 45px;
    width: auto;
    margin-bottom: 15px;
    object-fit: contain;
}
.parameter-item p {
    color: #272727;
    font-size: 1.6rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.2;
}

.deliverables-wrap {
    background-color: #F5F5F5;
    padding: 40px;
    border-radius: 15px;
    height: 100%;
}
.deliverables-title {
    color: #1D1D1D;
    font-size: 3.2rem;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
}
.deliverables-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.deliverables-list li {
    font-size: 1.9rem;
    color: #272727;
    font-weight: 400;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.deliverable-icon {
    flex-shrink: 0;
    margin-top: 3px;
}

@media (max-width: 991px) {
    .inspection-left-wrap {
        padding-right: 0;
    }
    .parameters-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 767px) {
    .parameters-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 575px) {
    .parameters-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================= */
/* Support Section */
/* ========================================= */
.bcqc-support-section {
    background-color: #fff;
    padding: 40px 0;
}
.support-title {
    color: #272727;
    font-size: 3.6rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 50px;
}
.support-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px 20px;
}
.support-item {
    text-align: center;
}
.support-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.support-item p {
    color: #2F2B2A;
    font-size: 2rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.3;
}

@media (max-width: 1199px) {
    .support-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 991px) {
    .support-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 767px) {
    .support-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .support-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================= */
/* Why Choose Section */
/* ========================================= */
.bcqc-why-section {
    background-color: #fff;
    padding: 40px 0;
}
.bcqc-why-inner {
    background-color: #242424;
    border-radius: 40px;
    padding: 60px 3%;
}
.bcqc-why-title {
    color: #fff;
    font-size: 3.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
}
.bcqc-why-highlight {
    color: #e5b122;
}
.bcqc-why-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: nowrap;
}
.bcqc-why-item {
    width: 19%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.bcqc-why-icon {
    max-width: 80px;
    height: auto;
    margin-bottom: 20px;
}
.bcqc-why-item-title {
    color: #fff;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.3;
}
.bcqc-why-item-desc {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 991px) {
    .bcqc-why-row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }
    .bcqc-why-item {
        width: 30%;
    }
}
@media (max-width: 767px) {
    .bcqc-why-item {
        width: 45%;
    }
}
@media (max-width: 575px) {
    .bcqc-why-item {
        width: 100%;
    }
}

/* ========================================= */
/* Trust Section */
/* ========================================= */
.bcqc-trust-section {
    background-color: #fff;
    padding: 40px 0;
}
.trust-main-title {
    color: #272727;
    font-size: 3.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 50px;
}
.trust-highlight {
    color: #FFBB00;
}
.trust-cards-row {
    margin-bottom: 40px;
}
.trust-card {
    background-color: #F5F5F5;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    height: 100%;
}
.trust-card-icon {
    height: 150px;
    width: auto;
    margin-bottom: 25px;
}
.trust-card-title {
    color: #272727;
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.trust-card-desc {
    color: #272727;
    font-size: 2rem;
    font-weight: 500;
    margin: 0;
}

/* Bottom Card */
.trust-bottom-card {
    background-color: #fff;
    border: 1px solid #EAEAEA;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}
.trust-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.trust-circle {
    width: 50px;
    height: 50px;
    background-color: #FEC11A;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 6px;
}
.trust-feature-title {
    color: #272727;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.trust-feature-desc {
    color: #2F2B2A;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 991px) {
    .trust-bottom-card {
        padding: 30px;
    }
}
@media (max-width: 767px) {
    .trust-card {
        padding: 30px;
    }
}

/* ========================================= */
/* QC Workflow Section */
/* ========================================= */
.bcqc-workflow-section {
    background-color: #fff;
    padding: 40px 0;
}
.workflow-main-title {
    color: #272727;
    font-size: 3.6rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 80px; 
}
.workflow-highlight {
    color: #FEC11A;
}

.workflow-grid {
    padding-top: 60px; 
}

.workflow-hline {
    position: absolute;
    top: 0;
    left: 8.333333%; 
    width: 83.333333%; 
    border-top: 2px dashed #C1C1C1; 
}

.workflow-vdrop {
    position: absolute;
    top: 0;
    width: 2px;
    height: 30px;
    border-left: 2px dashed #C1C1C1;
}
.workflow-vdrop.drop-1 { left: 8.333333%; }
.workflow-vdrop.drop-2 { left: 25%; }
.workflow-vdrop.drop-3 { left: 41.666666%; }
.workflow-vdrop.drop-4 { left: 58.333333%; }
.workflow-vdrop.drop-5 { left: 75%; }
.workflow-vdrop.drop-6 { left: 91.666666%; }

.workflow-arrow {
    position: absolute;
    top: -10px; 
    font-size: 20px;
    color: #C1C1C1; 
    background: #fff;
    padding: 0 5px;
    line-height: 20px;
}
.workflow-arrow.arrow-1 { left: 16.666666%; transform: translateX(-50%); }
.workflow-arrow.arrow-2 { left: 33.333333%; transform: translateX(-50%); }
.workflow-arrow.arrow-3 { left: 50%; transform: translateX(-50%); }
.workflow-arrow.arrow-4 { left: 66.666666%; transform: translateX(-50%); }
.workflow-arrow.arrow-5 { left: 83.333333%; transform: translateX(-50%); }

.workflow-card {
    background-color: #F5F5F5;
    border-radius: 12px;
    padding: 50px 20px 30px;
    text-align: center;
    position: relative;
    height: 100%;
}
.workflow-number {
    width: 60px;
    height: 60px;
    background-color: #F0B000;
    border-radius: 50%;
    color: #000;
    font-size: 2.6rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.workflow-card-title {
    color: #272727;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}
.workflow-card-desc {
    color: #2F2B2A;
    font-size: 1.6rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.5;
}

/* ========================================= */
/* Dashboard Preview Section */
/* ========================================= */
.bcqc-dashboard-section {
    background-color: #fff;
    padding: 40px 0;
}
.dashboard-title {
    color: #272727;
    font-size: 3.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 50px;
}
.dashboard-highlight {
    color: #FEC11A;
}
.dashboard-image-wrapper {
    text-align: center;
}
.dashboard-img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

/* ========================================= */
/* FAQ Section */
/* ========================================= */
.bcqc-faq-section {
    background-color: #fff;
    padding: 40px 0;
}

.bcqc-faq-heading {
    color: #191C1E;
    font-weight: 700;
    font-size: 5rem;
    text-align: center;
    margin-bottom: 50px;
}

.bcqc-faq-accordion {
    max-width: 1700px;
    margin: 0 auto;
}

.bcqc-faq-item {
    border: 1px solid #C2C6D6;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.bcqc-faq-item details {
    width: 100%;
}

.bcqc-faq-item summary {
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    background-color: #2A2A2A;
    padding: 20px;
    cursor: pointer;
    list-style: none;
    position: relative;
    outline: none;
    display: block;
    padding-right: 50px;
}

.bcqc-faq-item summary::-webkit-details-marker {
    display: none;
}

.bcqc-faq-item summary::after {
    content: '';
    width: 12px;
    height: 12px;
    border-right: 3px solid #E5B122;
    border-bottom: 3px solid #E5B122;
    transform: translateY(-50%) rotate(45deg);
    position: absolute;
    right: 20px;
    top: 50%;
    transition: transform 0.3s;
}

.bcqc-faq-item details[open] summary::after {
    transform: translateY(-50%) rotate(-135deg);
}

.bcqc-faq-content {
    border-top: 4px solid #E5B122;
    padding: 20px;
    font-size: 1.6rem;
    color: #272727;
    line-height: 1.6;
    font-weight: 400;
}
