/* =========================================================
   SERVICES (NAVY THEME MATCHING SCREENSHOT 1)
   ========================================================= */
.services {
  background: #23237B !important;
  padding: 80px 0 !important;
  color: #ffffff !important;
  font-family: inherit;
}

.services .container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.services .head {
  margin-bottom: 48px;
}

.services .eyebrow {
  display: inline-flex;
  position:relative;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  background:rgba(231,231,251,.06);
  border: 1px solid rgba(83, 224, 220, 0.4);
  border-radius: 20px;
  color: #fff;
  font-size: 14px;
  line-height:1.4;
  font-weight: 400;
  letter-spacing: .02em;
  text-transform: uppercase;
  margin-bottom: 20px;
  isolation:isolate;
}
.services .eyebrow:after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:20px;
  padding:1px;
  background:linear-gradient(180deg,rgba(83,224,220,.55),rgba(245,246,250,.22));
  -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  pointer-events:none;
}

.services .eyebrow img {
  height:15px;
  width:auto;
  flex:none:
}

.services .h2 {
  font-size: 42px;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.27;
  margin: 0;
}

.services .h2 strong {
  font-weight: 600;
}

/* GRID LAYOUT FOR TABS & PANEL */
.svc-tabs {
  display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
  gap: 10px;
  column-gap:56px;
  align-items: start;
}

.svc-item {
  display: contents;
}

.svc-tab {
  grid-column: 1;
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-left: 3px solid transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  padding: 22px 20px 22px 24px;
  color: rgba(255,255,255,.72);
  cursor: pointer;
  transition: background .2s,color .2s,border-color .2s;
}

.svc-item:first-child .svc-tab {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.svc-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}

.svc-tab-num {
  font-size: 15px;
  font-weight: 700;
  color: #53e0dc;
  width: 24px;
  flex-shrink: 0;
}

.svc-tab-text {
  flex: 1;
  color: rgba(255,255,255,.72);
}

.svc-tab-text strong {
  display: block;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}
.svc-item.is-active .svc-tab-text strong {
  color:#fff;}

.svc-tab-text span {
  display: block;
  margin-top: 4px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}

.svc-tab-arrow {
  width: 18px;
  height: 18px;
  opacity: 0.4;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

/* ACTIVE TAB STYLE */
.svc-item.is-active .svc-tab {
  color: #ffffff;
  background: rgba(0, 0, 66, 0.5);
  border-left-color: #53e0dc;
}

.svc-item.is-active .svc-tab-arrow {
  opacity: 1;
  color: #53e0dc;
  transform: translateX(3px);
}

/* RIGHT SIDE PANEL */
.svc-panel {
  grid-column: 2;
  grid-row: 1 / span var(--total-services, 10);
  display: none;
  position: relative;
  background: rgba(0, 0, 66, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 48px 52px 52px;
  border-radius: 2px;
}

.svc-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, #53e0dc, #4040b2);
}

.svc-item.is-active .svc-panel {
  display: block;
  animation: svcIn 0.3s ease;
}

@keyframes svcIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.svc-panel-num {
  position: absolute;
  right: 40px;
  top: 28px;
  font-size: 88px;
  font-weight: 300;
  letter-spacing:-.03em;
  color: rgba(255,255,255,.1);
  line-height: 1;
  pointer-events: none;
}

.svc-panel h3 {
  font-size: 30px;
  line-height: 1.2;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 8px 0;
  max-width: 80%;
}

.svc-panel .sub {
  font-size: 19px;
  font-weight: 600;
  color: #53e0dc;
  margin: 12px 0 24px;
}

.svc-panel-body p {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,.84);
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #53e0dc;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  margin-top: 24px;
  transition: gap 0.2s ease;
}

.arrow-link:hover {
  gap: 12px;
}

/* HOW WE WORK BOX */
.how {
  margin-top: 64px;
  padding: 40px;
  background: rgba(0, 0, 66, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.how-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
}

.how-head h3 {
  font-size: 24px;
  font-weight: 400;
  color: #ffffff;
  margin: 0;
}

.how-head h3 strong {
  font-weight: 700;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  top: 20px;
  height: 2px;
  background: linear-gradient(90deg, #53e0dc, rgba(83, 224, 220, 0.2));
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #53e0dc;
  box-shadow: 0 0 0 6px #000042;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 800;
  color: #000042;
  margin-bottom: 16px;
}

.step strong {
  display: block;
  font-size: 19px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
}

.step p {
  font-size: 15.5px;
  line-height: 1.5;
  color: rgba(255,255,255,.78);
  margin: 0;
}

@media (max-width: 860px) {
  .svc-tabs { grid-template-columns: 1fr; }
  .svc-panel { grid-column: 1; grid-row: auto; margin-top: 12px; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .steps::before { display: none; }
}