/* ProjectBridge additions, loaded after the theme stylesheet. */

.pb-top-link { color: var(--white-color); font-size: 14px; }
.pb-top-link:hover { color: var(--white-color); text-decoration: underline; }
.pb-top-link i { margin-left: 6px; font-size: 12px; }
.pb-break, .pb-break a { overflow-wrap: anywhere; }
.pb-fa-icon { font-size: 26px; color: var(--theme-color); line-height: 1; }
.pb-lead { margin: 14px auto 0; max-width: 640px; }
.pb-bg-soft { background-color: var(--bg-color4); }

/* Hero */
.pb-hero-shade {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .55) 55%, rgba(0, 0, 0, .15) 100%);
}
.hero--layout3 .hero-inner .container { position: relative; z-index: 2; }
.pb-hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.pb-btn-light { background-color: var(--white-color); color: var(--title-color); }
.pb-btn-light:hover { color: var(--white-color); }

/* Category cards fill their column evenly */
.cate-block--style .cate-block__img { display: block; }
.cate-block--style .cate-block__img > img:first-child { width: 100%; aspect-ratio: 27 / 22; object-fit: cover; }

/* Service cards */
.pb-service {
  display: flex; flex-direction: column; height: calc(100% - 30px); margin-bottom: 30px;
  background: var(--white-color); border: 1px solid #e4e4e4; color: inherit;
  transition: box-shadow .25s ease, transform .25s ease;
}
.pb-service:hover { box-shadow: 0 14px 34px rgba(0, 0, 0, .12); transform: translateY(-4px); }
.pb-service__media { position: relative; display: block; }
.pb-service__media img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.pb-service__icon {
  position: absolute; left: 20px; bottom: -22px; width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: var(--theme-color); color: var(--white-color); font-size: 18px;
}
.pb-service__body { display: flex; flex-direction: column; flex: 1; padding: 36px 20px 22px; }
.pb-service__title { display: block; font-size: 19px; font-weight: 700; line-height: 1.3; color: var(--title-color); margin-bottom: 10px; }
.pb-service__text { display: block; flex: 1; font-size: 15px; line-height: 1.6; color: var(--body-color); margin-bottom: 16px; }
.pb-service__more { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--theme-color); }

/* How it works */
.pb-step { position: relative; margin-bottom: 30px; }
.pb-step__media { position: relative; margin-bottom: 20px; }
.pb-step__media img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.pb-step__num {
  position: absolute; right: 0; bottom: 0; padding: 8px 14px;
  background: var(--theme-color); color: var(--white-color); font-size: 18px; font-weight: 700; line-height: 1;
}
.pb-step__title { font-size: 20px; line-height: 1.3; margin-bottom: 8px; }
.pb-step__text { margin-bottom: 0; }

/* Banner widgets: real photos in place of the template placeholder */
.consik-widget--style .consik-widget__img img { width: 307px; height: 205px; object-fit: cover; }

/* Forms */
.pb-form-card { background: var(--bg-color4); }
.pb-form-msg { padding: 10px 0 40px; color: var(--white-color); font-weight: 500; }
.pb-form-card + .pb-form-msg { color: var(--title-color); }
.form-messages.error { color: var(--error-color); }
.form-messages.success { color: var(--success-color); }
.form--style2 textarea.form-control { min-height: 110px; }
.form--style2 .select2-container, .form--contact .select2-container { width: 100% !important; }

/* Detail pages */
.pb-main-img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 30px; }
.pb-h { font-size: 30px; line-height: 1.25; margin-bottom: 16px; }
.pb-h--sm { font-size: 22px; margin: 28px 0 12px; }
.pb-pair { margin-top: 24px; margin-bottom: 6px; }
.pb-pair img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 24px; }

.pb-side { position: sticky; top: 100px; }
.pb-side__box { padding: 28px; background: var(--bg-color4); margin-bottom: 24px; }
.pb-side__title { font-size: 20px; margin-bottom: 16px; }
.pb-side__list { list-style: none; margin: 0; padding: 0; }
.pb-side__list li { border-bottom: 1px solid #dcdcdc; }
.pb-side__list li:last-child { border-bottom: 0; }
.pb-side__list a { display: block; padding: 11px 0; color: var(--title-color); font-weight: 500; }
.pb-side__list a:hover, .pb-side__list .is-active a { color: var(--theme-color); }
.pb-side__cta { padding: 30px 28px; background: var(--theme-color); color: var(--white-color); }
.pb-side__cta h3 { color: var(--white-color); font-size: 22px; margin-bottom: 8px; }
.pb-side__cta p { color: var(--white-color); margin-bottom: 18px; }

/* Numbered steps */
.pb-numbered > div { display: flex; gap: 16px; margin-bottom: 18px; }
.pb-numbered span {
  flex: 0 0 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  background: var(--theme-color); color: var(--white-color); font-weight: 700;
}
.pb-numbered p { margin: 0; }

/* Blog cards */
.pb-blog-blurb { margin-bottom: 12px; }
.vs-blog.blog-style2 .blog-img__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* Project cards */
.project-block--style4 .project-block__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* Call to action band */
.pb-cta { position: relative; padding: 70px 0; background-size: cover; background-position: center; z-index: 1; }
.pb-cta::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .78); z-index: -1; }
.pb-cta__inner { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.pb-cta__title { color: var(--white-color); margin-bottom: 8px; font-size: 34px; line-height: 1.2; }
.pb-cta__text { color: var(--white-color); margin: 0; }
.pb-cta__btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* Contact */
.pb-contact-img { display: block; width: 100%; margin-top: 24px; aspect-ratio: 3 / 2; object-fit: cover; }
.pb-map iframe { display: block; width: 100%; height: 420px; border: 0; }

/* Footer links stack vertically */
.pb-footer-links .menu { display: block; }
.pb-footer-links .menu li { display: block; margin: 0 0 8px; }

@media (max-width: 991px) {
  .pb-side { position: static; margin-top: 30px; }
  .pb-cta__title { font-size: 28px; }
}
@media (max-width: 575px) {
  .pb-h { font-size: 25px; }
  .pb-map iframe { height: 320px; }
  .consik-widget--style .consik-widget__img img { width: 100%; height: auto; }
  .pb-hero-btns .vs-btn { padding-left: 22px; padding-right: 22px; }
}

/* Fixes after visual review */
html, body { overflow-x: clip; }
.choose--layout1 { overflow: hidden; }
.pb-fa-icon { color: var(--white-color); }
.pb-stat-icon { font-size: 76px; color: var(--theme-color); position: relative; z-index: 1; }
.select2-container--default .select2-selection--single .select2-selection__arrow b:before { font-weight: 400; }

/* Stat boxes share one height */
.sucess--layout1 .row.gx-0 > [class*="col-"] { display: flex; }
.sucess--layout1 .sucess-block--style1 { width: 100%; }

/* Home about image group */
.pb-about-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; margin-bottom: 30px; }
.pb-about-grid img { display: block; width: 100%; height: 100%; min-height: 230px; object-fit: cover; }
.pb-about-grid__tall { grid-row: span 2; }
.pb-about-grid__badge {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 150px; padding: 16px;
  background: var(--theme-color); color: var(--white-color); text-align: center; line-height: 1.25; font-size: 14px; font-weight: 500;
}
.pb-about-grid__badge strong { display: block; font-size: 42px; line-height: 1; margin-bottom: 6px; }

/* Banner widgets: photo sits beside the text */
.consik-widget--style { overflow: hidden; }
.consik-widget--style .consik-widget__body { max-width: 54%; position: relative; z-index: 2; }
.consik-widget--style .consik-widget__element { display: none; }
.consik-widget--style .consik-widget__img { position: absolute; top: 0; right: 0; bottom: 0; left: auto; width: 40%; margin: 0; }
.consik-widget--style .consik-widget__img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Footer link columns read left to right */
.pb-footer-links .menu { display: block; text-align: left; }
.pb-footer-links .menu li { display: block; text-align: left; padding: 0; border: 0; }
.pb-footer-links .menu li::before, .pb-footer-links .menu li::after { display: none; content: none; }
.footer-widget.widget_nav_menu.pb-footer-links a { width: auto; text-align: left; }

@media (max-width: 575px) {
  .consik-widget--style .consik-widget__body { max-width: 100%; }
  .consik-widget--style .consik-widget__img { position: static; width: 100%; height: auto; margin-bottom: 20px; }
  .consik-widget--style .consik-widget__img img { height: auto; }
  .pb-about-grid img { min-height: 150px; }
}

/* Footer link lists */
.pb-footer-links ul { list-style: none; margin: 0; padding: 0; }
.pb-footer-links li { margin: 0 0 10px; }
.pb-footer-links a { color: var(--white-color); font-size: 15px; font-weight: 400; }
.pb-footer-links a:hover { color: var(--theme-color); }

/* Native select on the contact form */
.pb-select { appearance: auto; -webkit-appearance: auto; }

/* Final polish */
.pb-select { appearance: none; -webkit-appearance: none; }
.project--layout4 { padding: 100px 0 70px; }
.breadcumb-wrapper { position: relative; }
.breadcumb-wrapper::before { opacity: 1; background-color: rgba(0, 0, 0, .62); }
.breadcumb-text { color: var(--white-color); }
.breadcumb-wrapper > .container { position: relative; }
@media (max-width: 575px) {
  .cate-block--style .cate-block__icon { right: 10px; }
}

/* ---- p.html content additions ---- */
.pb-eyebrow { display: block; font-size: 12px; font-weight: 700; letter-spacing: 1.2px; color: var(--theme-color); margin-bottom: 8px; }
.pb-cate-text { margin: 6px 0 0; font-size: 15px; }
.pb-note { margin-top: 18px; padding: 14px 18px; border-left: 3px solid var(--theme-color); background: var(--bg-color4); font-size: 14px; line-height: 1.6; }
.pb-bg-soft .pb-note { background: var(--white-color); }

/* Icon tiles for services and partnerships */
.pb-feature { height: calc(100% - 30px); margin-bottom: 30px; padding: 32px 28px; background: var(--white-color); border: 1px solid #e4e4e4; transition: box-shadow .25s ease, border-color .25s ease; }
.pb-feature:hover { box-shadow: 0 14px 34px rgba(0, 0, 0, .1); border-color: var(--theme-color); }
.pb-feature__icon { display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; margin-bottom: 20px; background: var(--theme-color); color: var(--white-color); font-size: 24px; }
.pb-feature__title { font-size: 20px; line-height: 1.3; margin-bottom: 10px; }
.pb-feature__text { margin: 0; }
.pb-service--static:hover { transform: none; }

/* Industries */
.pb-industries { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.pb-industry { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-height: 150px; padding: 22px 14px; text-align: center; background: var(--white-color); border: 1px solid #e4e4e4; font-weight: 600; color: var(--title-color); line-height: 1.35; }
.pb-bg-soft .pb-industry { border-color: transparent; }
.pb-industry i { font-size: 34px; color: var(--theme-color); }

/* Assessment framework image stack */
.pb-stack { display: grid; gap: 18px; }
.pb-stack img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* Native selects with a consistent arrow */
.pb-select {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23444' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; background-size: 12px 8px;
}
.pb-select:invalid { color: #8a8a8a; }
.pb-select option { color: var(--title-color); }

/* Visible consent checkbox (the theme hides real checkboxes) */
.pb-consent { display: flex; align-items: flex-start; gap: 12px; }
.pb-consent input[type=checkbox] { visibility: visible; opacity: 1; width: 18px; height: 18px; flex: 0 0 18px; margin-top: 4px; accent-color: var(--theme-color); cursor: pointer; }
.pb-consent input[type=checkbox] ~ label { padding-left: 0; font-size: 14px; line-height: 1.6; }
.pb-consent input[type=checkbox] ~ label::before { display: none; }
.pb-consent--light label { color: var(--white-color); }

/* Form messages */
.pb-form-msg { color: var(--title-color); }
.pb-form-msg--light { color: var(--white-color); }

@media (max-width: 1199px) { .pb-industries { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 991px) { .pb-industries { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575px) { .pb-industries { grid-template-columns: repeat(2, 1fr); gap: 12px; } .pb-industry { min-height: 130px; font-size: 14px; } }

/* Header menu: keep links and button on one row at every desktop width */
.header-menu > .row { flex-wrap: nowrap; }
@media (max-width: 1399px) {
  .main-menu > ul > li > a { padding-right: 13px; margin-right: 13px; font-size: 15px; }
  .header-btns .sideMenuToggler { display: none !important; }
  .header-btns .vs-btn { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 1199px) {
  .main-menu > ul > li > a { padding-right: 10px; margin-right: 10px; }
  .header-btns .vs-btn { display: none !important; }
}
