/* OONELAB additions on top of the template */

/* Portfolio cards */
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.work-card {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid #e6e8eb; border-radius: 12px;
  padding: 32px; transition: border-color .2s ease, box-shadow .2s ease;
}
.work-card:hover { border-color: #c9ced4; box-shadow: 0 8px 24px rgba(20, 30, 40, .06); }
.work-card .work-tag {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: #1a6cff; margin-bottom: 10px;
}
.work-card h2 { font-size: 26px; font-weight: 600; color: #2b2c2d; margin-bottom: 6px; }
.work-card .work-sub { font-size: 17px; color: #555; margin-bottom: 16px; }
.work-card > p:not(.work-sub) { margin-bottom: 0; }
.work-card p { color: #555; }
.work-card ul { padding-inline-start: 18px; margin: 16px 0 32px; color: #555; }
.work-card ul li { margin-bottom: 6px; list-style: disc; }
.work-card .work-links { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.work-card .work-links .btn { padding: 10px 22px; }
.work-status { font-size: 13px; color: #6c757d; }

/* Compact cards on the home page */
.work-mini { display: block; height: 100%; padding: 26px; border: 1px solid #e6e8eb; border-radius: 12px; background: #fff; color: #2b2c2d; transition: border-color .2s ease; }
.work-mini:hover { border-color: #1a6cff; text-decoration: none; color: #2b2c2d; }
.work-mini .work-tag { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #1a6cff; }
.work-mini h4 { font-size: 21px; font-weight: 600; margin: 8px 0; }
.work-mini p { color: #555; font-size: 16px; margin: 0; }

/* Brand group with its social links */
.brand-group { margin-top: 50px; padding: 26px 32px; border-radius: 12px; background: #f4f6f8; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.brand-group p { margin: 0; color: #444; }
.brand-social { display: flex; flex-wrap: wrap; gap: 10px; }
.brand-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #2b2c2d;
  border: 1px solid #dde1e5; font-size: 17px; transition: background .2s ease, color .2s ease;
}
.brand-social a:hover { background: #2b2c2d; color: #fff; }
.brand-social a svg { width: 16px; height: 16px; fill: currentColor; }

@media (max-width: 767px) {
  .work-grid { grid-template-columns: 1fr; }
  .work-card { padding: 24px; }
  .brand-group { padding: 22px; }
}

/* Page titles: real h1 with the template's section heading look */
.header-section h1 { color: var(--title-color); font-size: 45px; line-height: 55px; font-weight: 500; margin: 0; }
.header-section .lead-text { color: var(--text-color); font-size: 20px; line-height: 32px; margin-top: 14px; max-width: 760px; }
@media (max-width: 800px) { .header-section h1 { font-size: 40px; line-height: 50px; } }
@media (max-width: 667px) { .header-section h1 { font-size: 32px; line-height: 42px; } .header-section .lead-text { font-size: 18px; line-height: 30px; } }
.work-card, .work-mini { scroll-margin-top: 110px; }
html { scroll-padding-top: 110px; }

/* Ways to work with us */
.w3l-engage { background: #f4f6f8; }
.engage-intro { max-width: 720px; margin-bottom: 48px; }
.engage-track {
  list-style: none; margin: 0; padding: 0; position: relative;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
  counter-reset: none;
}
/* progression line linking the three stage numbers */
.engage-track::before {
  content: ""; position: absolute; top: 52px; inset-inline: 16%;
  height: 2px; background: linear-gradient(90deg, #1a6cff, #22d3ff); opacity: .35;
}
.engage-stage {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid #e6e8eb; border-radius: 12px; padding: 32px 28px 28px;
}
.engage-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.engage-num {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  background: #1a6cff; color: #fff; font-weight: 600; font-size: 15px;
  box-shadow: 0 0 0 6px #fff;
}
.engage-name { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #1a6cff; }
.engage-stage h3 { font-size: 24px; line-height: 1.25; font-weight: 600; color: #2b2c2d; margin: 0 0 10px; }
.engage-fit { font-size: 16px; line-height: 1.55; color: #555; margin: 0 0 20px; }
.engage-fit strong { color: #2b2c2d; font-weight: 600; }
.engage-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.engage-list li { display: flex; gap: 10px; align-items: baseline; font-size: 16px; color: #2b2c2d; }
.engage-list .fa { color: #1a6cff; font-size: 13px; flex: none; }
.engage-out {
  margin: auto 0 0; padding-top: 18px; border-top: 1px solid #eceef1;
  font-size: 15px; line-height: 1.55; color: #555;
}
.engage-out span {
  display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: #8a9099; margin-bottom: 4px;
}
.engage-note {
  display: flex; gap: 10px; align-items: baseline;
  margin: 28px 0 0; font-size: 16px; color: #555;
}
.engage-note .fa { color: #1a6cff; }

@media (max-width: 991px) {
  .engage-track { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  /* vertical line down the number column on stacked layout */
  .engage-track::before { top: 40px; bottom: 40px; inset-inline-start: 50px; inset-inline-end: auto; width: 2px; height: auto; background: linear-gradient(180deg, #1a6cff, #22d3ff); }
  .engage-intro { margin-bottom: 32px; }
}
@media (max-width: 575px) {
  .engage-stage { padding: 24px 20px 20px; }
  .engage-track::before { inset-inline-start: 42px; }
}

/* What we build */
.w3l-build { background: #fff; }
.wb-intro { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 40px; }
.wb-intro .header-section { max-width: 640px; }
.wb-all { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #1a6cff; padding-block: 8px; }
.wb-all:hover { color: #0f4fcc; text-decoration: none; }
.wb-all .fa { transition: transform .2s ease; }
.wb-all:hover .fa { transform: translateX(3px); }

.wb-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.wb-card {
  display: flex; flex-direction: column;
  background: #f7f8fa; border: 1px solid #eceef1; border-radius: 12px; padding: 32px;
}
.wb-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 20px;
  background: rgba(26, 108, 255, .1); color: #1a6cff; font-size: 20px;
}
.wb-card h4 { font-size: 22px; line-height: 1.3; font-weight: 600; color: #2b2c2d; margin: 0 0 8px; }
.wb-card > p { font-size: 16px; line-height: 1.6; color: #555; margin: 0 0 24px; }

.wb-example {
  margin-top: auto; display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid #e3e6ea; border-radius: 10px; padding: 14px 16px;
  color: #444; transition: border-color .2s ease, box-shadow .2s ease;
}
.wb-example:hover, .wb-example:focus-visible { border-color: #1a6cff; box-shadow: 0 4px 14px rgba(26, 108, 255, .1); color: #444; text-decoration: none; }
.wb-ex-label {
  flex: none; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: #1a6cff; background: rgba(26, 108, 255, .08); border-radius: 6px; padding: 4px 8px;
}
.wb-ex-body { flex: 1; min-width: 0; font-size: 15px; line-height: 1.45; }
.wb-ex-body strong { display: block; color: #2b2c2d; font-weight: 600; font-size: 16px; margin-bottom: 2px; }
.wb-ex-body { color: #666; }
.wb-ex-arrow { flex: none; color: #1a6cff; transition: transform .2s ease; }
.wb-example:hover .wb-ex-arrow { transform: translateX(3px); }

@media (max-width: 767px) {
  .wb-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .wb-card { padding: 24px; }
  .wb-intro { margin-bottom: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .wb-all .fa, .wb-ex-arrow { transition: none; }
}
.w3l-footer ul.footer-products li a { text-transform: none; }
