/* ========================================= */
/* Factory Hero Section */
/* ========================================= */
body,
.factory-hero-section,
.factory-hero-section * {
    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;
}

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

.page-main-content {
    flex-grow: 1;
    padding-top: 100px;
}

.main-footer {
    margin-top: auto;
}
.factory-hero-section {
    position: relative;
    background-image: url('../images/factory-3d-scanning-and-digital-factory-solutions/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    margin-top: 100px;
}

/* Optional overlay if needed, based on image */
.factory-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.factory-hero-container {
    padding: 0 5%;
    position: relative;
    z-index: 2;
}

.factory-hero-section .hero-content {
    max-width: 800px;
}

.factory-hero-section .subtitle {
    color: #E5B122;
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

.factory-hero-section .title {
    color: #ffffff;
    font-size: 6rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    font-family: 'Poppins', sans-serif;
}

.factory-hero-section .description {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 40px;
    font-family: 'Poppins', sans-serif;
}

.factory-hero-section .btn-box {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.factory-hero-section .btn-one,
.factory-hero-section .btn-two {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 2rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}

.factory-hero-section .btn-one {
    background-color: #E5B122;
    color: #060F1A;
    border: 1px solid #E5B122;
}

.factory-hero-section .btn-one:hover {
    background-color: transparent;
    color: #E5B122;
}

.factory-hero-section .btn-two {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
}

.factory-hero-section .btn-two:hover {
    background-color: #ffffff;
    color: #060F1A;
}

/* Responsive Styles */
@media only screen and (max-width: 991px) {
    .factory-hero-section .title {
        font-size: 5rem;
    }
}

@media only screen and (max-width: 767px) {
    .factory-hero-section {
        padding: 60px 0;
    }
    
    .factory-hero-section .title {
        font-size: 4rem;
    }
    
    .factory-hero-section .subtitle {
        font-size: 2rem;
    }
    
    .factory-hero-section .description {
        font-size: 1.5rem;
    }
    
    .factory-hero-section .btn-one,
    .factory-hero-section .btn-two {
        font-size: 1.8rem;
        padding: 12px 25px;
    }
}

@media only screen and (max-width: 575px) {
    .factory-hero-section .title {
        font-size: 3.2rem;
    }
    
    .factory-hero-section .subtitle {
        font-size: 1.8rem;
    }
    
    .factory-hero-section .btn-box {
        flex-direction: column;
    }
    
    .factory-hero-section .btn-one,
    .factory-hero-section .btn-two {
        width: 100%;
    }
}

/* ========================================= */
/* What is Factory Scanning Section */
/* ========================================= */
.what-is-factory-scanning {
    background-color: #fff;
    padding: 40px 0;
}

.what-is-factory-scanning .align-items-center-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.what-is-factory-scanning .factory-heading {
    color: #272727;
    font-weight: 700;
    font-size: 3rem;
    margin-bottom: 20px;
}

.what-is-factory-scanning .section-paragraph {
    color: #272727;
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.what-is-factory-scanning .conversion-card {
    border: 1px solid #F3F4F6;
    border-radius: 12px;
    padding: 30px 20px;
    margin-bottom: 30px;
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.what-is-factory-scanning .card-title {
    color: #272727;
    font-weight: 700;
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 30px;
}

.what-is-factory-scanning .conversion-items {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

.what-is-factory-scanning .conversion-items .item {
    text-align: center;
    flex: 1 1 90px;
    max-width: 100px;
}

.what-is-factory-scanning .conversion-items .item img {
    height: 50px;
    margin-bottom: 15px;
    object-fit: contain;
}

.what-is-factory-scanning .conversion-items .item p {
    color: #272727;
    font-weight: 600;
    font-size: 1.2rem;
    margin: 0;
    line-height: 1.3;
}

.what-is-factory-scanning .section-conclusion {
    color: #272727;
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 1.6;
    margin: 0;
}

/* ========================================= */
/* Why Factory Scanning Matters Section */
/* ========================================= */
.why-factory-scanning {
    background-color: #2F2B2A;
    padding: 40px 0;
}

.why-factory-scanning .align-items-center-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.why-factory-scanning .factory-heading {
    color: #e5b122;
    font-weight: 700;
    font-size: 4.8rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.why-factory-scanning .subtitle {
    color: #fff;
    font-weight: 500;
    font-size: 2rem;
    margin-bottom: 40px;
}

.why-factory-scanning .highlight-box {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.why-factory-scanning .highlight-box .icon img {
    width: 40px;
}

.why-factory-scanning .highlight-box .text {
    font-size: 1.8rem;
    line-height: 1.6;
}

.why-factory-scanning .highlight-box .highlight-text {
    color: #e5b122;
    font-weight: 500;
}

.why-factory-scanning .highlight-box .normal-text {
    color: #fff;
    font-weight: 400;
}

.why-factory-scanning .right-column {
    padding-left: 50px;
}

.why-factory-scanning .part-title {
    color: #e5b122;
    font-weight: 700;
    font-size: 1.6rem;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.why-factory-scanning .top-part .part-title {
    text-align: center;
}

.why-factory-scanning .bottom-part .part-title {
    text-align: center;
    margin-top: 50px;
}

.why-factory-scanning .cards-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
}

.why-factory-scanning .cards-container.grid-6 {
    justify-content: space-between;
}

.why-factory-scanning .cards-container.grid-5 {
    justify-content: space-between;
}

.why-factory-scanning .card-item {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 15px 5px;
    text-align: center;
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.why-factory-scanning .card-item img {
    height: 70px;
    margin-bottom: 12px;
    object-fit: contain;
}

.why-factory-scanning .card-item p {
    color: #fff;
    font-weight: 700;
    font-size: 1.6rem;
    margin: 0;
    line-height: 1.2;
}

/* Responsive adjustments */
@media only screen and (max-width: 991px) {
    .why-factory-scanning .right-column {
        padding-left: 15px;
        margin-top: 50px;
    }
    .why-factory-scanning .top-part .part-title,
    .why-factory-scanning .bottom-part .part-title {
        text-align: center;
    }
    .why-factory-scanning .cards-container {
        flex-wrap: wrap;
        justify-content: center;
    }
    .why-factory-scanning .card-item {
        flex: 1 1 120px;
        max-width: 140px;
    }
}

/* ========================================= */
/* Our Factory Scanning Workflow Section */
/* ========================================= */
.factory-scanning-workflow {
    background-color: #f7f9fa;
    padding: 40px 0;
}

.factory-scanning-workflow .factory-heading {
    color: #2f2b2a;
    font-weight: 700;
    font-size: 3.2rem;
    text-align: center;
    margin-bottom: 60px;
}

.factory-scanning-workflow .workflow-container {
    position: relative;
    max-width: 100%;
}

.factory-scanning-workflow .dash-line {
    position: absolute;
    top: 25px; /* center of the 50px circles */
    left: 5%;
    width: 90%;
    height: 0;
    border-top: 2px dashed #000;
    z-index: 1;
}

.factory-scanning-workflow .workflow-steps-wrapper {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.factory-scanning-workflow .workflow-step {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 5px;
}

.factory-scanning-workflow .workflow-step .circle {
    width: 50px;
    height: 50px;
    background-color: #E5B122;
    border-radius: 50%;
    color: #fff;
    font-weight: 500;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.factory-scanning-workflow .workflow-step p {
    color: #272727;
    font-weight: 500;
    font-size: 1.6rem;
    line-height: 1.3;
    margin: 0;
}

/* Responsive adjustments */
@media only screen and (max-width: 991px) {
    .factory-scanning-workflow .workflow-steps-wrapper {
        flex-wrap: wrap;
        gap: 30px;
        justify-content: center;
    }
    .factory-scanning-workflow .dash-line {
        display: none; /* Hide dash line on wrapped layouts to avoid mess */
    }
    .factory-scanning-workflow .workflow-step {
        flex: 1 1 20%;
        min-width: 120px;
    }
}

/* ========================================= */
/* Technologies We Use Section */
/* ========================================= */
.technologies-we-use {
    background-color: #fff;
    padding: 40px 0;
}

.technologies-we-use .factory-heading {
    color: #272727;
    font-weight: 700;
    font-size: 3.2rem;
    text-align: center;
    margin-bottom: 60px;
}

.technologies-we-use .tech-card {
    border-width: 2px 1px 1px 1px;
    border-style: solid;
    border-color: #E5B122;
    border-radius: 2px;
    padding: 30px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.technologies-we-use .tech-card img {
    width: 100%;
    height: auto;
    margin-bottom: 25px;
    border-radius: 2px;
}

.technologies-we-use .tech-title {
    color: #E5B122;
    font-weight: 700;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.technologies-we-use .tech-subtitle {
    color: #272727;
    font-weight: 700;
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.technologies-we-use .tech-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.technologies-we-use .tech-card ul li {
    display: flex;
    align-items: flex-start;
    color: #272727;
    font-size: 1.6rem;
    line-height: 1.4;
    margin-bottom: 12px;
}

.technologies-we-use .tech-card ul li::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 12px;
    margin-top: 2px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%23FDC20C" d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512z"/><path fill="%23fff" d="M369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"/></svg>');
    background-size: cover;
    flex-shrink: 0;
}

/* ========================================= */
/* Applications Section */
/* ========================================= */
.factory-applications {
    background-color: #fff;
    padding: 40px 0;
}

.factory-applications .factory-heading {
    color: #2F2B2A;
    font-weight: 700;
    font-size: 3.2rem;
    text-align: center;
    margin-bottom: 60px;
}

.factory-applications .app-card {
    background-color: #272727;
    border-width: 2px 1px 1px 1px;
    border-style: solid;
    border-image-source: radial-gradient(50% 86.2% at 50% 0%, #E5B122 100%, rgba(255, 255, 255, 0.08) 100%);
    border-image-slice: 1;
    padding: 30px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.factory-applications .app-card img {
    width: 100%;
    height: auto;
    margin-bottom: 25px;
}

.factory-applications .app-title {
    color: #E5B122;
    font-weight: 700;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.factory-applications .app-desc {
    color: #fff;
    font-weight: 400;
    font-size: 1.6rem;
    text-align: center;
    line-height: 1.4;
    margin-bottom: 25px;
}

.factory-applications .app-subtitle {
    color: #fff;
    font-weight: 700;
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.factory-applications .app-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.factory-applications .app-card ul li {
    display: flex;
    align-items: flex-start;
    color: #fff;
    font-size: 1.5rem;
    line-height: 1.4;
    margin-bottom: 12px;
}

.factory-applications .app-card ul li::before {
    content: '\2713';
    display: inline-block;
    color: #08ED00;
    font-weight: 700;
    font-size: 1.8rem;
    margin-right: 12px;
}

/* ========================================= */
/* Industries We Serve Section */
/* ========================================= */
.industries-we-serve {
    background-color: #fff;
    padding: 40px 0;
}

.industries-we-serve .factory-heading {
    color: #2F2B2A;
    font-weight: 700;
    font-size: 3.2rem;
    text-align: center;
    margin-bottom: 40px;
    background: transparent;
}

.industries-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 10px 0 20px;
}

.industry-card {
    flex: 0 0 auto;
    width: calc((100% - 90px) / 7); /* 6 gaps of 15px = 90px */
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    padding: 20px 10px;
    text-align: center;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.industry-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.industry-card img {
    height: 60px;
    object-fit: contain;
    margin-bottom: 20px;
}

.industry-card h5 {
    color: #272727;
    font-weight: 500;
    font-size: 1.6rem;
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 1200px) {
    .industry-card {
        width: calc((100% - 75px) / 6); /* 6 per row */
    }
}
@media (max-width: 991px) {
    .industry-card {
        width: calc((100% - 45px) / 4); /* 4 per row */
    }
}
@media (max-width: 767px) {
    .industry-card {
        width: calc((100% - 15px) / 2); /* 2 per row */
    }
}
@media (max-width: 480px) {
    .industry-card {
        width: 100%; /* 1 per row */
    }
}

/* ========================================= */
/* Engineering Outputs Section */
/* ========================================= */
.engineering-outputs {
    background-color: #fff;
    padding: 40px 0;
}

.engineering-cards-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.eng-card {
    flex: 1;
    min-width: 250px;
    max-width: calc((100% - 80px) / 5); /* 5 cards in a row, 4 gaps of 20px */
    border: 1px solid #E5B122;
    border-radius: 8px;
    padding: 30px 20px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
}

.eng-card img {
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
}

.eng-card .eng-title {
    color: #E5B122;
    font-weight: 700;
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 15px;
}

.eng-card .eng-subtitle {
    color: #272727;
    font-weight: 600;
    font-size: 1.4rem;
    text-align: left;
    margin-bottom: 15px;
    line-height: 1.4;
}

.eng-card ul {
    padding-left: 20px;
    margin: 0;
}

.eng-card ul li {
    color: #272727;
    font-size: 1.4rem;
    line-height: 1.4;
    list-style-type: disc;
    margin-bottom: 8px;
}

/* ========================================= */
/* Additional Deliverables Section */
/* ========================================= */
.additional-deliverables {
    background-color: #fff;
    padding: 40px 0;
}

.engineering-outputs .factory-heading,
.additional-deliverables .factory-heading {
    color: #2F2B2A;
    font-weight: 700;
    font-size: 3.2rem;
    text-align: center;
    margin-bottom: 50px;
    background: transparent;
}

.deliverable-card {
    border: 1px solid #E5B122;
    border-radius: 8px;
    padding: 30px 20px;
    background-color: #fff;
    display: flex;
    align-items: center;
    text-align: left;
    height: 100%;
}

.deliverable-img {
    flex: 0 0 120px;
    margin-right: 20px;
}

.deliverable-img img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.deliverable-body {
    flex: 1;
}

.deliverable-body .del-title {
    color: #E5B122;
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.deliverable-body ul {
    padding-left: 20px;
    margin: 0;
}

.deliverable-body ul li {
    list-style-type: disc;
    color: #272727;
    font-size: 1.4rem;
    line-height: 1.4;
    margin-bottom: 8px;
}

/* Responsive adjustments for Engineering & Deliverables */
@media (max-width: 1300px) {
    .eng-card {
        max-width: calc((100% - 60px) / 4);
    }
}
@media (max-width: 1100px) {
    .eng-card {
        max-width: calc((100% - 40px) / 3);
    }
}
@media (max-width: 850px) {
    .eng-card {
        max-width: calc((100% - 20px) / 2);
    }
}
@media (max-width: 576px) {
    .eng-card {
        max-width: 100%;
    }
}

/* ========================================= */
/* Benefits Section */
/* ========================================= */
.benefits-factory-scanning {
    background-color: #fff;
    padding: 40px 0;
}

.benefits-factory-scanning .factory-heading {
    color: #272727;
    font-weight: 700;
    font-size: 3.2rem;
    text-align: center;
    margin-bottom: 50px;
    background: transparent;
}

.benefits-cards-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.benefit-card {
    flex: 1;
    min-width: 180px;
    max-width: calc((100% - 100px) / 6); /* 6 cards */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 10px;
    background-color: transparent;
    border: none;
}

.benefit-card img {
    height: 60px;
    object-fit: contain;
    margin-bottom: 20px;
}

.benefit-card .benefit-title {
    color: #272727;
    font-weight: 600;
    font-size: 2rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.benefit-card .benefit-desc {
    color: #272727;
    font-weight: 500;
    font-size: 1.6rem;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 1200px) {
    .benefit-card {
        max-width: calc((100% - 40px) / 3); /* 3 cards */
    }
}
@media (max-width: 767px) {
    .benefit-card {
        max-width: calc((100% - 20px) / 2); /* 2 cards */
    }
}
@media (max-width: 480px) {
    .benefit-card {
        max-width: 100%; /* 1 card */
    }
}

/* ========================================= */
/* Typical Factory Digital Workflow Section */
/* ========================================= */
.typical-digital-workflow {
    background-color: #F7F9FA;
    padding: 40px 0;
}

.typical-digital-workflow .factory-heading {
    color: #2F2B2A;
    font-weight: 700;
    font-size: 3.2rem;
    text-align: center;
    margin-bottom: 60px;
    background: transparent;
}

.typical-digital-workflow .workflow-container {
    position: relative;
    max-width: 100%;
    margin-top: 20px;
}

.typical-digital-workflow .dash-line-digital {
    position: absolute;
    top: 25px; /* center of the 50px circles */
    left: 5%;
    width: 90%;
    height: 0;
    border-top: 2px dashed #000;
    z-index: 1;
}

.typical-digital-workflow .workflow-steps-wrapper {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    overflow-x: auto;
    padding-bottom: 20px;
}

.typical-digital-workflow .digital-workflow-step {
    text-align: center;
    flex: 1;
    min-width: 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 5px;
}

.typical-digital-workflow .circle-top {
    width: 50px;
    height: 50px;
    background-color: #FDC301;
    border-radius: 50%;
    color: #fff;
    font-weight: 500;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.typical-digital-workflow .digital-workflow-step img {
    height: 100px;
    object-fit: contain;
    margin-bottom: 15px;
}

.typical-digital-workflow .digital-workflow-step p {
    color: #272727;
    font-weight: 500;
    font-size: 1.6rem;
    margin: 0;
    line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .typical-digital-workflow .digital-workflow-step {
        min-width: 110px;
    }
}
@media (max-width: 991px) {
    .typical-digital-workflow .workflow-steps-wrapper {
        justify-content: flex-start;
    }
    .typical-digital-workflow .dash-line-digital {
        width: 100%;
        left: 0;
    }
}

/* ========================================= */
/* Why Choose WildPlantTS Section */
/* ========================================= */
.why-choose-wildplantts {
    background-color: #2F2B2A;
    padding: 40px 0;
}

.why-choose-wildplantts .factory-heading {
    color: #fff !important;
    font-weight: 700;
    font-size: 3.2rem;
    text-align: center;
    margin-bottom: 50px;
    background: transparent;
}

.why-choose-cards-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.why-choose-card {
    flex: 1;
    min-width: 220px;
    max-width: calc((100% - 80px) / 5); /* 5 cards */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 10px;
    background-color: transparent;
    border: none;
}

.why-choose-card img {
    height: 70px;
    object-fit: contain;
    margin-bottom: 20px;
}

.why-choose-card .why-title {
    color: #fff;
    font-weight: 600;
    font-size: 2rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.why-choose-card .why-desc {
    color: #fff;
    font-weight: 500;
    font-size: 1.6rem;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 1200px) {
    .why-choose-card {
        max-width: calc((100% - 40px) / 3); /* 3 cards */
    }
}
@media (max-width: 767px) {
    .why-choose-card {
        max-width: calc((100% - 20px) / 2); /* 2 cards */
    }
}
@media (max-width: 480px) {
    .why-choose-card {
        max-width: 100%; /* 1 card */
    }
}

/* ========================================= */
/* Related Services & Industries Sections */
/* ========================================= */
.related-services,
.related-industries {
    background-color: #fff;
    padding: 40px 0;
}

.related-services .factory-heading,
.related-industries .factory-heading {
    color: #2F2B2A !important;
    font-weight: 700;
    font-size: 3.2rem;
    text-align: center;
    margin-bottom: 50px;
    background: transparent;
}

.related-cards-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.rel-card {
    flex: 1;
    min-width: 100px; /* Reduced min-width to allow shrinking */
    max-width: calc((100% - 80px) / 5); /* Default fallback */
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    padding: 15px 5px; /* Reduced padding for better fit */
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    word-wrap: break-word;
}

.related-services .rel-card {
    max-width: calc((100% - 180px) / 10); /* 10 cards in a row */
}

.rel-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.rel-card img {
    height: 60px;
    object-fit: contain;
    margin-bottom: 20px;
}

.rel-card p {
    color: #272727;
    font-weight: 500;
    font-size: 1.6rem;
    margin: 0;
    line-height: 1.4;
}

/* For industries (6 cards), 6 in a row looks good on large screens */
.industries-wrapper .rel-card {
    max-width: calc((100% - 100px) / 6);
}

@media (max-width: 1200px) {
    .rel-card,
    .related-services .rel-card {
        max-width: calc((100% - 60px) / 4);
    }
    .industries-wrapper .rel-card {
        max-width: calc((100% - 40px) / 3);
    }
}
@media (max-width: 991px) {
    .rel-card,
    .related-services .rel-card {
        max-width: calc((100% - 40px) / 3);
    }
    .industries-wrapper .rel-card {
        max-width: calc((100% - 40px) / 3);
    }
}
@media (max-width: 767px) {
    .rel-card,
    .related-services .rel-card,
    .industries-wrapper .rel-card {
        max-width: calc((100% - 20px) / 2);
    }
}
@media (max-width: 480px) {
    .rel-card,
    .related-services .rel-card,
    .industries-wrapper .rel-card {
        max-width: 100%;
    }
}

/* ========================================= */
/* Contact / Digitize Factory Section */
/* ========================================= */
.digitize-factory-contact {
    background-color: #fff9e6;
    padding: 40px 0;
}

.digitize-factory-contact .digitize-title {
    font-weight: 700;
    font-size: 4.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.digitize-factory-contact .digitize-desc {
    color: #2f2b2a;
    font-weight: 400;
    font-size: 2.4rem;
    line-height: 1.5;
    margin: 0;
}

.digitize-buttons {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Right align on large screens */
    gap: 20px;
}

.btn-primary-digitize {
    display: inline-block;
    background-color: #E5B122;
    color: #fff;
    font-weight: 600;
    font-size: 2.5rem;
    padding: 15px 20px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
    width: 100%;
    max-width: 450px;
}

.btn-primary-digitize:hover {
    background-color: #c79717;
    color: #fff;
    text-decoration: none;
}

.btn-secondary-digitize {
    display: inline-block;
    background-color: transparent;
    color: #E5B122;
    font-weight: 600;
    font-size: 2.5rem;
    padding: 15px 40px;
    border-radius: 10px;
    border: 2px solid #E5B122;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    max-width: 450px;
}

.btn-secondary-digitize:hover {
    background-color: #E5B122;
    color: #fff;
    text-decoration: none;
}

@media (max-width: 991px) {
    .digitize-buttons {
        align-items: center;
        margin-top: 40px;
    }
}

@media (max-width: 767px) {
    .digitize-factory-contact .digitize-title {
        font-size: 3.5rem;
    }
    .digitize-factory-contact .digitize-desc {
        font-size: 2rem;
    }
    .btn-primary-digitize, .btn-secondary-digitize {
        font-size: 2rem;
        padding: 12px 20px;
    }
}

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

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

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

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

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

.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; /* Removed flex so we can absolutely position the chevron cleanly */
    padding-right: 50px;
}

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

.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;
}

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

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

@media (max-width: 767px) {
    .faq-heading {
        font-size: 3.5rem;
    }
    .faq-item summary {
        font-size: 1.8rem;
    }
}

