/* ---- Technology Processes (vertical tabs) ---- */
.technology_partners {
  padding: 50px 0;
  /* background-color: #f6f9fc; */
}

.technology_partners .section4_top h4 {
  /* color: #00aeef; */
  font-size: 19px;
  /* letter-spacing: 2px; */
  /* text-transform: uppercase; */
  margin-bottom: 20px;
}

.tp-tabs {
  margin-top: 50px;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 36px;
  align-items: stretch;
}

.tp-tabs-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tp-tab {
  display: grid;
  grid-template-columns: 56px 1fr 24px;
  align-items: center;
  gap: 18px;
  width: 100%;
  text-align: left;
  background: #ffffff;
  border: 1px solid #e3e9f1;
  border-radius: 14px;
  padding: 18px 22px;
  cursor: pointer;
  font-family: inherit;
  color: #0b2545;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.tp-tab::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: #00aeef;
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.tp-tab:hover {
  border-color: #c6d8e8;
  transform: translateX(2px);
}

.tp-tab.is-active {
  background: linear-gradient(135deg, #0b2545 0%, #14365e 100%);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(11, 37, 69, 0.18);
}

.tp-tab.is-active::before {
  background-color: #00aeef;
  transform: scaleY(1);
}

.tp-tab-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef4fb;
  color: #00aeef;
  font-size: 22px;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.tp-tab.is-active .tp-tab-icon {
  background: rgba(0, 174, 239, 0.18);
  color: #ffffff;
}

.tp-tab-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.tp-tab-num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #7a8aa0;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.tp-tab.is-active .tp-tab-num {
  color: #00aeef;
}

.tp-tab-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.tp-tab-arrow {
  color: #b9c3d2;
  font-size: 18px;
  transition: color 0.25s ease, transform 0.25s ease;
}

.tp-tab.is-active .tp-tab-arrow {
  color: #00aeef;
  transform: translateX(4px);
}

.tp-panels {
  position: relative;
  background: #ffffff;
  border: 1px solid #e3e9f1;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(11, 37, 69, 0.06);
  overflow: hidden;
  min-height: 440px;
}

.tp-panel {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0s linear 0.4s;
  pointer-events: none;
}

.tp-panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0s linear 0s;
  pointer-events: auto;
}

.tp-panel-media {
  position: relative;
  overflow: hidden;
  background: #0b2545;
}

.tp-panel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 0.6s ease;
}

.tp-panel.is-active .tp-panel-media img {
  transform: scale(1);
}

.tp-panel-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(11, 37, 69, 0.25) 0%, rgba(11, 37, 69, 0) 60%);
  pointer-events: none;
}

.tp-panel-body {
  padding: 44px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.tp-panel-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #00aeef;
}

.tp-panel-body h3 {
  font-size: 28px;
  font-weight: 700;
  color: #0b2545;
  line-height: 1.25;
  margin: 0;
}

.tp-panel-body>p {
  font-size: 15.5px;
  line-height: 1.65;
  color: #4b5b75;
  margin: 0;
}

.tp-panel-points {
  list-style: none;
  padding: 0;
  margin: 4px 0 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tp-panel-points li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  color: #2c3e5c;
  line-height: 1.5;
}

.tp-panel-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #00aeef;
  box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.18);
}

.tp-learnmore {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #00aeef;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 30px;
  margin-top: 6px;
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 8px 18px rgba(0, 174, 239, 0.28);
}

.tp-learnmore:hover {
  background: #0b2545;
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(11, 37, 69, 0.25);
}

.tp-learnmore i {
  transition: transform 0.25s ease;
}

.tp-learnmore:hover i {
  transform: translateX(4px);
}

/*------smallphones----------------*/
@media only screen and (min-width: 240px) and (max-width: 960px) {

  .technology_partners {
    padding: 60px 0;
  }

  .tp-tabs {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .tp-tab {
    grid-template-columns: 44px 1fr 20px;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 12px;
  }

  .tp-tab-icon {
    width: 42px;
    height: 42px;
    font-size: 18px;
    border-radius: 10px;
  }

  .tp-tab-title {
    font-size: 14.5px;
  }

  .tp-panels {
    min-height: 0;
  }

  .tp-panel {
    position: relative;
    inset: auto;
    grid-template-columns: 1fr;
  }

  .tp-panel-media {
    min-height: 220px;
  }

  .tp-panel-body {
    padding: 28px 22px;
  }

  .tp-panel-body h3 {
    font-size: 22px;
  }

}