/* ==========================================================================
   SERVICE — STAFF AUGMENTATION PAGE
   Dedicated stylesheet; depends on shared tokens defined in style.css
   ========================================================================== */

/* -----------------------------------------------------------------------
   0. SERVICES BANNER + TAB BAR  (shared pattern across all service pages)
   ----------------------------------------------------------------------- */
.svc-banner {
  position: relative;
  min-height: 140px;
  background-image: url('../images/service/Service-SAP-banner.avif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.svc-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.1);
  pointer-events: none;
}

.svc-banner__label {
  position: relative;
  z-index: 2;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 4px;
  color: #ffffff;
  text-align: center;
  padding: 28px 0 56px;
}

.svc-tab-bar {
  position: relative;
  z-index: 10;
  margin-top: -14px;       /* pull up so it overlaps the banner slightly */
}

.svc-tab-row {
  display: flex;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(16, 42, 92, 0.22);
  gap: 1.5%;
  width: calc(100% - 4.2%);
  margin: auto;
}

.svc-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(180deg, #9BBFF9 100%, #266AD9 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.svc-tab:last-child {
  border-right: none;
}

.svc-tab:hover {
  background: linear-gradient(180deg, #b2d0ff 100%, #7fadf6 100%);
}

.svc-tab--active {
  background: linear-gradient(180deg, #ffffff 0%, #BED7FF 100%);
  box-shadow: 0 14px 26px rgba(16, 42, 92, 0.22);
  position: relative;
  z-index: 2;
}

.svc-tab-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.svc-tab-logo--oracle {
  height: 30px;
}

.svc-tab-logo--staff {
  height: 80px;
}

.svc-tab-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #16305c;
  line-height: 1.25;
  white-space: nowrap;
}

.svc-tab--active .svc-tab-label {
  color: #0f2a5c;
}

/* -----------------------------------------------------------------------
   3D Perspective for below menu
   ----------------------------------------------------------------------- */

.perspective-container {
  width: 100%;
  height: 15px;
  perspective: 50px; /* Adjust this value to make the 3D effect stronger or weaker */
  perspective-origin: center;
}

.box-3d {
  width: 100%;
  height: 100%;
  background:linear-gradient(0deg, #b9d4ff 0%, #a9c9ff 100%);
  transform: rotateX(15deg); /* Example 3D transform */
  transform-style: preserve-3d;
}



/* -----------------------------------------------------------------------
   1. INTRO — title + lead
   ----------------------------------------------------------------------- */
.stf-intro {
  padding: 50px 0 44px;
}

.stf-intro__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: center;
}

.stf-intro__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--primary-blue);
  margin-bottom: 16px;
}

.stf-intro__lead {
  font-size: 1rem;
  line-height: 1.8;
  color: #374151;
  font-weight: 500;
  margin-bottom: 14px;
}

.stf-intro__desc {
  font-size: 0.92rem;
  line-height: 1.8;
  color: #475467;
  margin-bottom: 22px;
}

/* Right: quick-stats panel (built with CSS, no imagery required) */
.stf-stats-panel {
  background: linear-gradient(160deg, #0f2a63 0%, #1660cf 100%);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: 0 18px 40px rgba(16, 42, 92, 0.22);
}

.stf-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.stf-stat {
  text-align: left;
}

.stf-stat__num {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3vw, 2.1rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 8px;
}

.stf-stat__label {
  font-size: 0.8rem;
  color: #cfe1ff;
  line-height: 1.5;
}

/* -----------------------------------------------------------------------
   2. ENGAGEMENT MODELS — 3 cards
   ----------------------------------------------------------------------- */
.stf-models {
  padding: 54px 0 60px;
  background: var(--bg-dark-blue);
}

.stf-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
}

.stf-section-head__eyebrow {
  color: #1d2939;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: inline-block;
}

.stf-section-head__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 2.6vw, 1.85rem);
  font-weight: 700;
  color: var(--bg-light-blue);
  margin-bottom: 10px;
  color:var(--primary-blue);
  line-height: 1.3;
}

.stf-section-head__desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.stf-models__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.stf-model-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stf-model-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.stf-model-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--primary-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.stf-model-card__icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--primary-blue);
}

.stf-model-card__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #102a5c;
  margin-bottom: 10px;
}

.stf-model-card__desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* -----------------------------------------------------------------------
   3. ROLES WE DEPLOY — icon grid
   ----------------------------------------------------------------------- */
.stf-roles {
  padding: 60px 0;

}

.stf-roles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stf-role-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--bg-section-about);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stf-role-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.stf-role-card__badge {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stf-role-card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color:#1d2939;
  margin-bottom: 6px;
}

.stf-role-card__desc {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* -----------------------------------------------------------------------
   4. WHY VISTERIA FOR STAFF AUGMENTATION — checklist band
   ----------------------------------------------------------------------- */
.stf-why {
  padding: 56px 0 64px;
  background: linear-gradient(160deg, #0b1f50 0%, #1660cf 100%);
  color: #ffffff;
}

.stf-why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.stf-why__title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  font-weight: 700;
  margin-bottom: 14px;
}

.stf-why__desc {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #d8e6ff;
}

.stf-why__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stf-why__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #eaf3ff;
}

.stf-why__item .check {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
}

/* -----------------------------------------------------------------------
   5. RESPONSIVE BREAKPOINTS
   ----------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .stf-models__grid,
  .stf-roles__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 840px) {
  .svc-tab-label {
    display: none;
  }

  .stf-intro__grid,
  .stf-why__grid {
    grid-template-columns: 1fr;
  }

  .stf-intro__img-col {
    order: -1;
  }
}

@media (max-width: 600px) {
  .svc-banner__label {
    font-size: 1.25rem;
    letter-spacing: 2px;
  }

  .svc-tab {
    padding: 12px 8px;
  }

  .stf-models__grid,
  .stf-roles__grid,
  .stf-stats-grid {
    grid-template-columns: 1fr;
  }

  .stf-intro__title {
    font-size: 1.7rem;
  }
  /*-----Service menus----------*/
  .svc-tab {
    padding: 12px 8px;
  }

  .sap-benefits__grid,
  .sap-why__grid,
  .sap-digital__grid {
    grid-template-columns: 1fr;
  }

  .sap-intro__title {
    font-size: 1.7rem;
  }
  .sap-split-col__title, .sap-split-col__desc, .sap-split-col__img-wrap {
    text-align: center; 
  }
  .sap-split-col__desc{
    padding-right: 0;
  }
  .svc-tab-logo--staff, .svc-tab-logo{
    height: 40px;
  }
}
