/* ==========================================================================
   Devwebs upgrade (Dec 2026): styles for the new service, portfolio, pricing,
   industry, location and FAQ sections. Uses the existing theme variables,
   font and spacing only; no changes to existing components.
   ========================================================================== */

/* FAQ accordion */
.dw-faq .accordion-item { border: 1px solid #d8d8d8; border-radius: 0 20px 20px 20px !important; margin-bottom: 14px; overflow: hidden; }
.dw-faq .accordion-button { color: var(--primary-color); background: #fff; box-shadow: none; padding: 18px 22px; line-height: 1.4 !important; }
.dw-faq .accordion-button:not(.collapsed) { background: var(--primary-color); color: #fff; }
.dw-faq .accordion-button:not(.collapsed)::after { filter: brightness(0) invert(1); }
.dw-faq .accordion-button:focus { box-shadow: 0 0 0 2px rgba(6, 95, 110, .25); }
.dw-faq .accordion-body { color: #2F3E46; padding: 18px 22px; }

/* Section intro text */
.dw-intro { max-width: 980px; margin: 0 auto; color: #2F3E46; }
.dw-intro p { font-size: 16px; line-height: 30px; }

/* Subtitle under service H1 */
.dw-subtitle { color: #2F3E46; font-size: 20px; line-height: 1.5; margin-top: -0.25rem; }

/* Benefit / process cards: same corner language as .service-card */
.dw-card { background: #fff; color: var(--primary-color); padding: 26px; height: 100%; border-radius: 0 40px 40px 40px; box-shadow: 0 0 19px -3px rgba(0, 0, 0, .35); transition: all .3s ease; }
.dw-card:hover { background: var(--primary-color); color: #fff; }
.dw-card:hover .theme-paragraph { color: #fff; }
.dw-card .theme-paragraph { color: #2F3E46; margin: 0; }
.dw-step-num { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid currentColor; font-size: 18px; margin-bottom: 14px; }

/* Deliverables checklist */
.dw-checklist { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 40px; }
.dw-checklist li { break-inside: avoid; position: relative; padding-left: 30px; margin-bottom: 12px; color: #2F3E46; }
.dw-checklist li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 9px; border-left: 2px solid var(--primary-color); border-bottom: 2px solid var(--primary-color); transform: rotate(-45deg); }

/* Chips (technologies, industries, locations, filters) */
.dw-chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.dw-chip { display: inline-block; border: 1px solid var(--primary-color); color: var(--primary-color); border-radius: 30px; padding: 4px 16px; font-size: 15px; line-height: 26px; text-decoration: none; transition: all .2s ease; background: #fff; }
a.dw-chip:hover, .dw-chip.active { background: var(--primary-color); color: #fff; }

/* Portfolio filter */
.dw-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 30px; }
.dw-work-item.is-hidden { display: none !important; }

/* Pricing cards */
.dw-price-card { display: flex; flex-direction: column; }
.dw-price { font-size: 34px; color: var(--primary-color); line-height: 1.2; }
.dw-card:hover .dw-price { color: #fff; }
.dw-price-note { font-size: 14px; color: #6c757d; }
.dw-card:hover .dw-price-note { color: #e9f3f4; }
.dw-price-card .dw-checklist { columns: 1; flex: 1; }
.dw-card:hover .dw-checklist li, .dw-card:hover .dw-checklist li::before { color: #fff; border-color: #fff; }
.dw-featured-badge { display: inline-block; background: var(--primary-color); color: #fff; font-size: 13px; border-radius: 20px; padding: 2px 12px; margin-bottom: 10px; }
.dw-card:hover .dw-featured-badge { background: #fff; color: var(--primary-color); }

/* CTA band */
.dw-cta { background: #dfe3df; }
.dw-cta .theme-btn { height: auto; line-height: 1.4; padding: 12px 22px; }

/* Location / industry list cards */
.dw-link-card { display: block; text-decoration: none; }
.dw-link-card h3 { margin-bottom: 8px; }

/* Rich text from the CMS */
.dw-richtext p { font-size: 16px; line-height: 30px; color: #2F3E46; }
.dw-richtext ul { padding-left: 20px; color: #2F3E46; }

/* Footer service-area row */
.footer-areas a { color: inherit; text-decoration: none; }
.footer-areas a:hover { text-decoration: underline; }

@media (max-width: 991px) {
    .dw-checklist { columns: 1; }
    .dw-price { font-size: 28px; }
}

/* Header nav: the search bar was removed, so the menu can use the freed width.
   Items size to their label (no wrapping) instead of fixed 20% columns. */
@media (min-width: 992px) {
    .menu-nav-item { width: auto; flex: 1 1 auto; }
    .menu-nav-link { white-space: nowrap; padding-left: 12px; padding-right: 12px; }
    /* sticky header: logo | menu | buttons stay on one row */
    .scrolled-menu .header-search-bar .d-flex.flex-wrap { flex-wrap: nowrap !important; }
    .scrolled-menu .header-logo { flex: 0 0 auto; }
    .scrolled-menu .header-menu { max-width: none; flex: 1 1 0; min-width: 0; }
    .scrolled-menu .menu-nav-link { padding: 10px 8px; }
}
@media (min-width: 992px) and (max-width: 1500px) {
    .scrolled-menu .menu-nav-list li a { font-size: 16px !important; letter-spacing: .5px; }
    .scrolled-menu .header-logo { max-width: 200px; }
}
@media (min-width: 992px) and (max-width: 1200px) {
    .scrolled-menu .menu-nav-list li a { font-size: 14px !important; letter-spacing: 0; }
    .scrolled-menu .menu-nav-link { padding: 10px 5px; }
    .scrolled-menu .header-logo { max-width: 150px; }
}
