/*
Theme Name: Staffs Tech
Theme URI: https://staffs-tech.com/
Author: Staffs Tech
Description: Custom WordPress theme rebuild for Staffs Tech.
Version: 1.0.0
Text Domain: staffs-tech
*/

:root {
  --st-primary: #0d1f4a;
  --st-secondary: #66a7d8;
  --st-accent: #5ebc97;
  --st-orange-red: #e66137;
  --st-yellow: #e0ad5c;
  --st-green: #5ebc97;
  --st-blue: #66a7d8;
  --st-text: #1b2230;
  --st-muted: #5f6b7a;
  --st-bg: #f6f8fc;
  --st-white: #ffffff;
  --st-radius: 14px;
  --st-container: 1400px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--st-text);
  background: #eff5f9;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.st-container {
  width: min(100% - 2rem, var(--st-container));
  margin-inline: auto;
}

.st-section {
  padding: 4.5rem 0;
}

.st-title {
  margin: 0 0 1rem;
  color: var(--st-primary);
  line-height: 1.2;
}

.st-lead {
  color: var(--st-muted);
  max-width: 760px;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e8ecf4;
  transition: top 0.28s ease, background-color 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, transform 0.28s ease;
}

.site-header__inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  transition: min-height 0.2s ease, max-width 0.2s ease, padding 0.2s ease;
}

.site-branding {
  font-weight: 800;
  color: var(--st-primary);
  letter-spacing: 0.02em;
}

.site-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 1.25rem;
  font-weight: 600;
}

.site-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid #d5deec;
  border-radius: 8px;
  background: #fff;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.site-nav-toggle__line {
  width: 20px;
  height: 2px;
  background: #0f1a37;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-nav-overlay {
  display: none;
}

body.nav-open {
  overflow: hidden;
}

.home .site-header {
  position: absolute;
  top: 5rem;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: 0;
}

.home .site-header .site-header__inner {
  max-width: var(--st-container);
  min-height: 62px;
  padding: 0 1rem;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 4px;
  border: 1px solid #dce3f1;
}

.home .site-header.site-header--scrolled {
  position: fixed;
  top: 14px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #e3e8f5;
  box-shadow: 0 4px 18px rgba(12, 23, 56, 0.09);
  animation: st-header-settle 0.28s ease;
}

.home .site-header.site-header--scrolled .site-header__inner {
  max-width: var(--st-container);
  min-height: 78px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

@keyframes st-header-settle {
  from {
    transform: translateY(-6px);
    opacity: 0.96;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.st-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.2s ease;
}

.st-btn--primary {
  background: var(--st-secondary);
  color: var(--st-white);
}

.st-btn--secondary {
  border: 1px solid #d3ddf3;
  color: var(--st-primary);
}

.st-btn:hover {
  transform: translateY(-1px);
}

.st-hero {
  background: linear-gradient(120deg, #f2f6ff 0%, #ebf7ff 50%, #f8fefc 100%);
  padding: 6rem 0 4.5rem;
}

.st-hero__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
}

.st-chip {
  display: inline-flex;
  border-radius: 999px;
  background: #e8efff;
  color: var(--st-primary);
  padding: 0.35rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.st-hero h1 {
  margin: 1rem 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--st-primary);
  line-height: 1.1;
}

.st-hero p {
  color: var(--st-muted);
  font-size: 1.05rem;
}

.st-hero__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.st-card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.st-card {
  border: 1px solid #e5eaf5;
  border-radius: var(--st-radius);
  padding: 1.25rem;
  background: var(--st-white);
}

.st-card h3 {
  margin-top: 0;
  color: var(--st-primary);
}

.st-stats {
  background: var(--st-bg);
}

.st-stat {
  background: var(--st-white);
  border-radius: var(--st-radius);
  padding: 1.1rem 1rem;
  text-align: center;
  border: 1px solid #e5eaf5;
}

.st-stat__value {
  margin: 0;
  color: var(--st-secondary);
  font-size: 1.75rem;
  font-weight: 800;
}

.st-stat__label {
  margin: 0;
  color: var(--st-muted);
}

.st-cta {
  background: var(--st-primary);
  color: var(--st-white);
  border-radius: var(--st-radius);
  padding: 2rem;
}

.st-cta h2,
.st-cta p {
  margin-top: 0;
  color: inherit;
}

.site-footer {
  margin-top: 0;
  background: linear-gradient(145deg, #1b2230 0%, #232d3f 60%, #2c374d 100%);
  color: #d9e4ff;
  padding: 3.8rem 0 1.4rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid rgba(217, 228, 255, 0.14);
}

.site-footer__brand img {
  width: min(100%, 230px);
  height: auto;
}

.site-footer__brand p {
  margin: 0.9rem 0 0;
  max-width: 420px;
  color: rgba(229, 237, 255, 0.82);
}

.site-footer h3 {
  margin: 0 0 0.9rem;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f2f6ff;
}

.site-footer__links {
  display: grid;
  gap: 0.55rem;
}

.site-footer__links a {
  color: rgba(223, 233, 255, 0.84);
  font-size: 0.98rem;
}

.site-footer__links a:hover {
  color: #ffffff;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  color: rgba(218, 229, 255, 0.78);
  font-size: 0.92rem;
}

.site-footer__bottom p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-header__inner {
    min-height: 72px;
    padding: 0.75rem 0;
  }

  .site-nav-toggle {
    display: inline-flex;
    z-index: 41;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 86vw);
    transform: translateX(100%);
    transition: transform 0.26s ease;
    background: #fff;
    padding: 92px 20px 24px;
    box-shadow: -8px 0 24px rgba(12, 23, 56, 0.14);
    z-index: 40;
    overflow-y: auto;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .site-nav li + li {
    border-top: 1px solid #e4ebf5;
  }

  .site-nav a {
    display: block;
    padding: 12px 2px;
  }

  .site-header.nav-open .site-nav {
    transform: translateX(0);
  }

  .site-nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    border: 0;
    margin: 0;
    padding: 0;
    background: rgba(11, 22, 46, 0.42);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.26s ease;
    z-index: 35;
  }

  .site-header.nav-open .site-nav-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  .site-header.nav-open .site-nav-toggle__line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.nav-open .site-nav-toggle__line:nth-child(2) {
    opacity: 0;
  }

  .site-header.nav-open .site-nav-toggle__line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .home .site-header {
    top: 10px;
  }

  .home .site-header .site-header__inner {
    max-width: 100%;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .st-hero {
    padding-top: 4rem;
  }

  .st-hero__grid {
    grid-template-columns: 1fr;
  }
}

/* Homepage rebuild to match provided screenshot */
.site-branding img {
  height: 55px;
  width: auto;
}

.home .site-nav a {
  font-size: 16px;
  color: #0f1a37;
}

.st-home-hero {
  position: relative;
  min-height: 820px;
  margin-bottom: 92px;
  background-image: url("https://staffs-tech.com/wp-content/uploads/2024/07/16387.jpg");
  background-size: cover;
  background-position: center;
  color: #ffffff;
  overflow: visible;
}

.st-home-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
}

.st-home-hero__content {
  position: relative;
  z-index: 2;
  padding-top: 200px;
  max-width: 1400px;
  padding-bottom: 90px;
}

.st-home-kicker {
  margin: 0 0 10px;
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 1;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
}

.st-home-hero h1 {
  margin: 0 0 14px;
  text-transform: uppercase;
  line-height: 1.05;
  font-size: 45px;
  color: #fff;
}

.st-home-hero p {
  margin: 0 0 12px;
  max-width: 620px;
  font-size: 16px;
  line-height: 1.6;
  color: #f5f8ff;
}

.st-home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 12px 22px;
  background: linear-gradient(120deg, var(--st-orange-red) 0%, var(--st-yellow) 100%);
  color: #fff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(230, 97, 55, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.st-home-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(224, 173, 92, 0.34);
}

.st-home-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 92px;
  line-height: 0;
  z-index: 2;
  rotate: -180deg;
}

.st-home-wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

.st-home-wave .elementor-shape-fill {
  fill: #edf4f8;
}

section.st-home-section.st-home-section--blue {
  margin-bottom: 100px;
}

.st-home-eyebrow {
  margin: 0 0 6px;
  font-size: 16px;
  color: #96a4b4;
}

.st-home-section h2 {
  margin: 0;
  font-size: 41px;
  color: #222b3a;
}

.st-home-copy {
  margin-top: 8px;
  max-width: 920px;
  font-size: 16px;
  color: #475668;
}

.st-home-stats {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.st-home-stats article {
  border: 1px solid #d8e4f2;
  background: #ffffff;
  border-radius: 16px;
  padding: 20px 14px;
  text-align: center;
  box-shadow: 0 12px 24px rgba(15, 37, 70, 0.06);
}

.st-home-stats strong {
  display: block;
  font-size: 34px;
  line-height: 1;
  color: #2e3546;
}

.st-home-stats span {
  font-size: 14px;
  color: #607086;
}

.st-home-partners {
  padding-top: 30px;
  padding-bottom: 40px;
}

.st-home-partners h2 {
  font-size: 41px;
  max-width: 580px;
  line-height: 1;
}

.st-home-logos {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.st-home-logos img {
  width: 100%;
  height: 58px;
  border: 1px solid #e3ebf5;
  border-radius: 12px;
  background: #fff;
  padding: 16px;
  min-height: 90px;
  object-fit: contain;
  box-shadow: 0 10px 18px rgba(15, 37, 70, 0.05);
}

.st-home-services-grid {
  padding: 0px 0px 50px 0px; 
  background: #eff5f9;
}

.st-home-services-grid h2 {
  margin: 0;
  font-size: 41px;
  color: #2b3243;
}

.st-home-services-grid > .st-container > p {
  margin: 6px auto 24px;
  font-size: 16px;
  color: #8c96a7;
}

.st-home-services-carousel {
  margin-top: 14px;
  overflow: hidden;
  width: 100%;
  padding: 10px 2px 14px;
}

.st-home-slider-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}

.st-home-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: #c2cedd;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, width 0.2s ease;
}

.st-home-slider-dot:hover {
  background: #91a8c3;
}

.st-home-slider-dot.is-active {
  width: 26px;
  background: #4f82b9;
}

.st-home-grid {
  display: flex;
  gap: 18px;
  will-change: transform;
  transition: transform 0.55s ease;
}

.st-home-grid-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 calc((100% - 54px) / 4);
  background: linear-gradient(165deg, #ffffff 0%, #f9fcff 100%);
  border: 1px solid #d7e3f2;
  border-radius: 18px;
  min-height: 188px;
  padding: 22px;
  box-shadow: 0 10px 24px rgba(18, 39, 70, 0.08), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}

.st-home-grid-card:hover {
  transform: translateY(-8px);
  border-color: #b8cae2;
  box-shadow: 0 18px 34px rgba(15, 37, 70, 0.14), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.st-home-grid-card img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  padding: 8px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f0f6ff 0%, #e8f2ff 100%);
  border: 1px solid #d8e6f7;
}

.st-home-grid-card h3 {
  margin: 16px 0 9px;
  font-size: 28px;
  line-height: 1.12;
  color: #243047;
}

.st-home-grid-card h3 a {
  color: inherit;
}

.st-home-grid-card p {
  margin: 0;
  font-size: 16px;
  color: #55657a;
  line-height: 1.55;
}

.st-home-grid-card.is-highlighted {
  background: linear-gradient(140deg, var(--st-blue) 0%, var(--st-green) 100%);
  border-color: transparent;
  color: #fff;
}

.st-home-grid-card.is-highlighted h3,
.st-home-grid-card.is-highlighted p {
  color: #fff;
}

.st-home-testimonials {
  padding: 82px 0 34px;
  background: #f6f8fc;
}

.st-home-testimonials__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 30px;
  align-items: center;
}

.st-home-testimonials__intro h2 {
  margin: 0 0 10px;
  font-size: 41px;
  line-height: 1.05;
  color: #222b3a;
}

.st-home-testimonials__intro p {
  margin: 0;
  max-width: 560px;
  font-size: 16px;
  color: #5b6778;
}

.st-home-testimonials__slider {
  overflow: hidden;
}

.st-home-testimonials__track {
  display: flex;
  gap: 18px;
  transition: transform 0.55s ease;
  will-change: transform;
}

.st-home-testimonial-card {
  flex: 0 0 calc((100% - 18px) / 2);
  background: #fff;
  border: 1px solid #dfe8f3;
  border-radius: 16px;
  min-height: 220px;
  padding: 22px;
  box-shadow: 0 12px 24px rgba(15, 37, 70, 0.06);
}

.st-home-testimonial-card p {
  margin: 0 0 16px;
  color: #465364;
  font-size: 16px;
  line-height: 1.65;
}

.st-home-testimonial-card strong {
  display: block;
  color: #2e3546;
  font-size: 14px;
}

.st-home-testimonial-card span {
  display: block;
  margin-top: 4px;
  color: #6a7789;
  font-size: 13px;
}


@media (max-width: 1000px) {
  .st-home-stats,
  .st-home-grid {
    grid-template-columns: none;
  }

  .st-home-grid-card {
    flex-basis: calc((100% - 18px) / 2);
  }

  .st-home-testimonials__layout {
    grid-template-columns: 1fr;
  }

  .st-home-testimonials__intro h2 {
    font-size: 32px;
  }

  .st-home-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .st-home-section h2,
  .st-home-partners h2,
  .st-home-services-grid h2,
  .st-home-section--blue h2 {
    font-size: 32px;
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .st-home-hero__content {
    padding-top: 120px;
  }

  .st-home-section,
  .st-home-services-grid,
  .st-home-testimonials {
    padding-left: 0;
    padding-right: 0;
  }

  .st-home-stats,
  .st-home-logos {
    grid-template-columns: 1fr;
  }

  .st-home-grid-card {
    flex-basis: 100%;
  }

  .st-home-testimonials {
    padding-top: 64px;
  }

  .st-home-testimonial-card {
    flex-basis: 100%;
  }

  .st-home-hero {
    min-height: 560px;
  }

  .st-home-hero h1 {
    font-size: 37px;
  }


  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom {
    flex-direction: column;
  }
}

/* About page modern rebuild */
.st-about-hero__content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
}

.st-about-story {
  padding: 70px 0 40px;
}

.st-about-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  margin-bottom: 36px;
}

.st-about-split--reverse .st-about-split__content {
  order: 2;
}

.st-about-split--reverse .st-about-split__media {
  order: 1;
}

.st-about-eyebrow {
  margin: 0 0 8px;
  color: #7f8fa3;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.st-about-split h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.08;
  color: #222c3f;
}

.st-about-split p {
  margin: 0 0 12px;
  color: #4f5d71;
  font-size: 16px;
}

.st-about-split .st-home-btn {
  margin-top: 8px;
}

.st-about-split__media img {
  width: 100%;
  min-height: 280px;
  max-height: 420px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid #d8e5f2;
  box-shadow: 0 14px 28px rgba(12, 28, 56, 0.12);
}

.st-about-team {
  padding: 24px 0 28px;
}

.st-about-team h2 {
  margin: 0 0 20px;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  color: #212b3f;
  max-width: 640px;
}

.st-about-team-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.st-about-team-grid + .st-about-team-grid {
  margin-top: 20px;
}

.st-about-team-grid--leaders {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.st-about-team-grid--management {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 50%;
  margin-inline: auto;
}

.st-about-team-grid--main {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.st-about-member {
  text-align: center;
}

.st-about-member img {
  width: 150px;
  height: 150px;
  margin: 0 auto 10px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid #d5e0ee;
  box-shadow: 0 10px 20px rgba(13, 31, 58, 0.08);
}

.st-about-member h3 {
  margin: 0;
  font-size: 14px;
  color: #253148;
}

.st-about-member p {
  margin: 2px 0 0;
  font-size: 12px;
  color: #66758a;
}

.st-about-join {
  padding: 30px 0 66px;
  text-align: center;
}

.st-about-join__icon {
  display: inline-block;
  font-size: 34px;
  line-height: 1;
  color: #212b3f;
}

.st-about-join h2 {
  margin: 8px 0 6px;
  color: #222b3a;
}

.st-about-join p {
  margin: 0 auto 14px;
  max-width: 580px;
  color: #5a687b;
}

@media (max-width: 1100px) {
  .st-about-team-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .page-template-template-about .site-header {
    top: 10px;
  }

  .page-template-template-about .site-header .site-header__inner {
    max-width: 100%;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .st-about-hero__content {
    padding-top: 175px;
    padding-bottom: 98px;
  }

  .st-about-split {
    grid-template-columns: 1fr;
  }

  .st-about-split--reverse .st-about-split__content,
  .st-about-split--reverse .st-about-split__media {
    order: initial;
  }

  .st-about-team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .st-about-team-grid--management {
    max-width: 100%;
  }
}

@media (max-width: 700px) {
  .st-about-hero__content {
    padding-top: 132px;
    padding-bottom: 84px;
  }

  .st-about-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .st-about-member img {
    width: 88px;
    height: 88px;
  }
}

.page-template-template-about .site-header {
  position: absolute;
  top: 5rem;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: 0;
}

.page-template-template-about .site-header .site-header__inner {
  max-width: var(--st-container);
  min-height: 62px;
  padding: 0 1rem;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 4px;
  border: 1px solid #dce3f1;
}

.page-template-template-about .site-header.site-header--scrolled {
  position: fixed;
  top: 14px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #e3e8f5;
  box-shadow: 0 4px 18px rgba(12, 23, 56, 0.09);
  animation: st-header-settle 0.28s ease;
}

.page-template-template-about .site-header.site-header--scrolled .site-header__inner {
  max-width: var(--st-container);
  min-height: 78px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.page-template-template-about .site-nav a {
  font-size: 16px;
  color: #0f1a37;
}

.st-about-hero {
  background-image: url("https://staffs-tech.com/wp-content/uploads/2024/07/16387.jpg");
}

.page-template-template-contact .site-header {
  position: absolute;
  top: 5rem;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: 0;
}

.page-template-template-contact .site-header .site-header__inner {
  max-width: var(--st-container);
  min-height: 62px;
  padding: 0 1rem;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 4px;
  border: 1px solid #dce3f1;
}

.page-template-template-contact .site-header.site-header--scrolled {
  position: fixed;
  top: 14px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #e3e8f5;
  box-shadow: 0 4px 18px rgba(12, 23, 56, 0.09);
  animation: st-header-settle 0.28s ease;
}

.page-template-template-contact .site-header.site-header--scrolled .site-header__inner {
  max-width: var(--st-container);
  min-height: 78px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.page-template-template-contact .site-nav a {
  font-size: 16px;
  color: #0f1a37;
}

.st-contact-hero {
  background-image: url("https://staffs-tech.com/wp-content/uploads/2024/02/pexels-yan-krukau-8867448.jpg");
  min-height: 760px;
}

.st-contact-hero__content {
  max-width: 1400px;
}

.st-contact-main {
  padding: 34px 0 86px;
  background: #edf4f8;
}

.st-contact-head {
  max-width: 560px;
  margin-bottom: 28px;
}

.st-contact-head h2 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.05;
  color: #222b3a;
}

.st-contact-head p {
  margin: 0;
  color: #566577;
}

.st-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 38px;
  align-items: start;
}

.st-contact-card {
  background: #fff;
  border: 1px solid #d9e4f3;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 14px 30px rgba(15, 37, 70, 0.08);
}

.st-contact-card h3 {
  margin: 0 0 8px;
  color: #243047;
  font-size: 30px;
}

.st-contact-card p {
  margin: 0 0 16px;
  color: #5a687b;
}

.st-contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: #2d384d;
}

.st-contact-list a {
  color: #2d384d;
}

.st-contact-form-wrap {
  background: #fff;
  border: 1px solid #d9e4f3;
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 14px 30px rgba(15, 37, 70, 0.08);
}

.st-contact-placeholder-form {
  display: grid;
  gap: 10px;
}

.st-contact-placeholder-form label {
  font-size: 12px;
  color: #7d8ba0;
}

.st-contact-placeholder-form input,
.st-contact-placeholder-form textarea {
  width: 100%;
  border: 1px solid #cedbea;
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  color: #27344c;
  background: #fbfdff;
}

.st-contact-placeholder-form textarea {
  min-height: 124px;
  resize: vertical;
}

.st-contact-placeholder-form .st-home-btn {
  margin-top: 2px;
  width: fit-content;
  border: 0;
}

.st-contact-short-code-note {
  margin: 18px 0 8px;
  font-size: 13px;
  color: #6f7f94;
}

.st-contact-shortcode-placeholder {
  border: 1px dashed #b9c8db;
  border-radius: 10px;
  background: #f6fafe;
  color: #4e5f75;
  padding: 12px;
  font-family: Consolas, Monaco, "Courier New", monospace;
  font-size: 13px;
}

@media (max-width: 900px) {
  .page-template-template-contact .site-header {
    top: 10px;
  }

  .page-template-template-contact .site-header .site-header__inner {
    max-width: 100%;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .st-contact-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .st-contact-hero {
    min-height: 620px;
  }
}

@media (max-width: 700px) {
  .st-contact-main {
    padding-bottom: 64px;
  }

  .st-contact-hero {
    min-height: 520px;
  }
}

.page-template-template-services .site-header {
  position: absolute;
  top: 5rem;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: 0;
}

.page-template-template-services .site-header .site-header__inner {
  max-width: var(--st-container);
  min-height: 62px;
  padding: 0 1rem;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 4px;
  border: 1px solid #dce3f1;
}

.page-template-template-services .site-header.site-header--scrolled {
  position: fixed;
  top: 14px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #e3e8f5;
  box-shadow: 0 4px 18px rgba(12, 23, 56, 0.09);
  animation: st-header-settle 0.28s ease;
}

.page-template-template-services .site-header.site-header--scrolled .site-header__inner {
  max-width: var(--st-container);
  min-height: 78px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.page-template-template-services .site-nav a {
  font-size: 16px;
  color: #0f1a37;
}

.st-services-hero {
  background-image: url("https://staffs-tech.com/wp-content/uploads/2024/02/pexels-mikhail-nilov-7989088.jpg");
  min-height: 760px;
}

.st-services-hero__content {
  max-width: 1400px;
}

.st-services-main {
  padding: 38px 0 58px;
  background: #edf4f8;
}

.st-services-main h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #222b3a;
  line-height: 1.08;
}

.st-services-intro {
  margin: 8px 0 20px;
  max-width: 760px;
  color: #566577;
}

.st-services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.st-services-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: linear-gradient(165deg, #ffffff 0%, #f9fcff 100%);
  border: 1px solid #d7e3f2;
  border-radius: 18px;
  min-height: 100%;
  padding: 22px;
  box-shadow: 0 10px 24px rgba(18, 39, 70, 0.08), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.st-services-card:hover {
  transform: translateY(-6px);
  border-color: #b8cae2;
  box-shadow: 0 18px 34px rgba(15, 37, 70, 0.14), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.st-services-card img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  padding: 9px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f0f6ff 0%, #e8f2ff 100%);
  border: 1px solid #d8e6f7;
}

.st-services-card h3 {
  margin: 2px 0 0;
  color: #243047;
  font-size: 26px;
  line-height: 1.15;
}

.st-services-card p {
  margin: 0;
  color: #55657a;
}

.st-services-card .st-home-btn {
  margin-top: auto;
}

.st-services-stats {
  padding-top: 0;
}

.st-services-seo {
  padding: 24px 0 86px;
  background: #edf4f8;
}

.st-services-seo .st-container {
  max-width: 1400px;
}

.st-services-seo__intro {
  max-width: 800px;
}

.st-services-seo h2 {
  margin: 0 0 12px;
  color: #222b3a;
  font-size: clamp(1.8rem, 3.3vw, 2.5rem);
  line-height: 1.12;
}

.st-services-seo h3 {
  margin: 20px 0 8px;
  color: #2b3750;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
}

.st-services-seo p {
  margin: 0 0 10px;
  color: #4f5f74;
  line-height: 1.72;
}

.st-services-seo__highlights {
  margin-top: 18px;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.st-services-seo-card {
  background: #fff;
  border: 1px solid #d6e2f1;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(15, 37, 70, 0.07);
}

.st-services-seo-card h3 {
  margin-top: 0;
}

.st-services-seo-card ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: #4f5f74;
}

.st-services-seo-card li {
  line-height: 1.5;
}

.st-services-seo__cta {
  margin-top: 20px;
  background: #fff;
  border: 1px solid #d6e2f1;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 10px 24px rgba(15, 37, 70, 0.07);
}

.st-services-seo__cta h3 {
  margin-top: 0;
}

.st-services-seo__cta .st-home-btn {
  margin-top: 8px;
}

@media (max-width: 1100px) {
  .st-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .st-services-seo__highlights {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .page-template-template-services .site-header {
    top: 10px;
  }

  .page-template-template-services .site-header .site-header__inner {
    max-width: 100%;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .st-services-hero {
    min-height: 620px;
  }
}

@media (max-width: 700px) {
  .st-services-hero {
    min-height: 520px;
  }

  .st-services-grid {
    grid-template-columns: 1fr;
  }

  .st-services-seo {
    padding-bottom: 64px;
  }
}

.single-st_service .site-header,
.single-service .site-header {
  position: absolute;
  top: 5rem;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: 0;
}

.single-st_service .site-header .site-header__inner,
.single-service .site-header .site-header__inner {
  max-width: var(--st-container);
  min-height: 62px;
  padding: 0 1rem;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 4px;
  border: 1px solid #dce3f1;
}

.single-st_service .site-header.site-header--scrolled,
.single-service .site-header.site-header--scrolled {
  position: fixed;
  top: 14px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #e3e8f5;
  box-shadow: 0 4px 18px rgba(12, 23, 56, 0.09);
  animation: st-header-settle 0.28s ease;
}

.single-st_service .site-header.site-header--scrolled .site-header__inner,
.single-service .site-header.site-header--scrolled .site-header__inner {
  max-width: var(--st-container);
  min-height: 78px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.single-st_service .site-nav a,
.single-service .site-nav a {
  font-size: 16px;
  color: #0f1a37;
}

.st-single-service-hero {
  background-image: url("https://staffs-tech.com/wp-content/uploads/2024/02/pexels-mikhail-nilov-7989088.jpg");
  min-height: 740px;
}

.st-single-service-hero__content {
  max-width: 1400px;
}

.st-single-service-hero__lead {
  margin-bottom: 14px;
  max-width: 760px;
}

.st-single-service-hero__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.st-home-btn--ghost-light {
  background: transparent;
  color: #f1f6ff;
  border: 1px solid rgba(239, 246, 255, 0.45);
  box-shadow: none;
}


.st-single-service-main {
  padding: 46px 0 92px;
  background: #f3f7fb;
}

.st-single-service-content {
  display: grid;
  gap: 18px;
  max-width: 980px;
}

.st-single-service-topband {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  padding: 0 0 12px;
  border-bottom: 1px solid #dce6f3;
}

.st-single-service-topband__icon {
  width: 92px;
  height: 92px;
  border-radius: 18px;
  background: linear-gradient(160deg, #ffffff 0%, #f5f9ff 100%);
  border: 1px solid #dce6f3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.st-single-service-topband__icon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.st-single-service-topband__content h3 {
  margin: 0 0 6px;
  color: #253148;
  font-size: clamp(1.4rem, 2.3vw, 1.9rem);
}

.st-single-service-topband__content p {
  margin: 0 0 12px;
  color: #58687c;
}

.st-single-service-section {
  padding: 2px 0 8px;
  border-bottom: 1px solid #dce6f3;
}

.st-single-service-content h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  line-height: 1.04;
  color: #222b3a;
  letter-spacing: -0.01em;
}

.st-single-service-intro {
  margin: 2px 0 0;
  color: #4d5c72;
  font-size: 17px;
  line-height: 1.7;
  max-width: 70ch;
}

.st-single-service-outcomes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.st-single-service-outcomes article {
  border: 1px solid #d9e4f2;
  border-radius: 12px;
  background: #f9fcff;
  padding: 14px;
}

.st-single-service-outcomes span {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-bottom: 7px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--st-orange-red) 0%, var(--st-yellow) 100%);
}

.st-single-service-outcomes p {
  margin: 0;
  color: #3f4f66;
  line-height: 1.45;
}

.st-single-service-body {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 4px 0 2px;
  color: #4f5f74;
  line-height: 1.75;
}

.st-single-service-body h2,
.st-single-service-body h3,
.st-single-service-body h4 {
  color: #253148;
  line-height: 1.2;
}

.st-single-service-body ul,
.st-single-service-body ol {
  padding-left: 20px;
}

.st-single-service-checklist {
  margin: 10px 0 0;
  display: grid;
  gap: 7px;
}

.st-single-service-process {
  padding: 14px 0 2px;
  border-top: 1px solid #dce6f3;
}

.st-single-service-process h3 {
  margin: 0 0 12px;
  color: #253148;
}

.st-single-service-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.st-single-service-process-grid article {
  border: 1px solid #dde7f4;
  border-radius: 12px;
  background: #ffffff;
  padding: 12px;
}

.st-single-service-process-grid strong {
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #e8f2ff;
  color: #234c7f;
}

.st-single-service-process-grid h4 {
  margin: 8px 0 6px;
  color: #253148;
}

.st-single-service-process-grid p {
  margin: 0;
  color: #4f5f74;
}

.st-single-service-body p:last-child {
  margin-bottom: 0;
}

.st-single-service-quote {
  margin: 0;
  border-left: 4px solid #8fb6de;
  border-radius: 0 12px 12px 0;
  background: #f8fbff;
  padding: 18px 18px 18px 16px;
}

.st-single-service-quote p {
  margin: 0;
  color: #425268;
  font-style: italic;
}

.st-single-service-quote cite {
  display: block;
  margin-top: 8px;
  color: #6a7a8e;
  font-style: normal;
  font-size: 14px;
}

.st-single-service-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.st-home-btn--ghost {
  background: #fff;
  color: #2d3a51;
  border: 1px solid #cfdbeb;
  box-shadow: none;
}

.st-single-service-meta {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.st-single-service-meta li {
  margin: 0;
  color: #516177;
  line-height: 1.5;
  font-size: 15px;
}

.st-single-service-meta li strong {
  color: #2f3c54;
}

.st-single-service-faq {
  padding: 14px 0 0;
  border-top: 1px solid #dce6f3;
}

.st-single-service-faq h3 {
  margin: 0 0 10px;
  color: #253148;
}

.st-single-service-faq details {
  border-top: 1px solid #e2eaf5;
  padding: 10px 0;
}

.st-single-service-faq details:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.st-single-service-faq summary {
  font-weight: 600;
  color: #2a374f;
  cursor: pointer;
}

.st-single-service-faq details p {
  margin: 8px 0 0;
  color: #54657b;
}

@media (max-width: 900px) {
  .single-st_service .site-header,
  .single-service .site-header {
    top: 10px;
  }

  .single-st_service .site-header .site-header__inner,
  .single-service .site-header .site-header__inner {
    max-width: 100%;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .st-single-service-hero {
    min-height: 620px;
  }

  .st-single-service-topband {
    display: block;
  }

  .st-single-service-topband__icon {
    margin-bottom: 10px;
  }

  .st-single-service-meta {
    gap: 6px 12px;
  }

  .st-single-service-outcomes {
    grid-template-columns: 1fr;
  }

  .st-single-service-process-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .st-single-service-hero {
    min-height: 520px;
  }

  .st-single-service-main {
    padding: 34px 0 64px;
  }

  .st-single-service-content {
    gap: 16px;
  }
}
