/* ||||||||||||||||||||||||||||||||||||||||||||||||*/
/* ESB Section Expertise */
/* ||||||||||||||||||||||||||||||||||||||||||||||||*/

.esb-technical-expertise {
  background-color: var(--BlueLight2);
}
.esb-technical-expertise,
.esb-expertise {
  border-radius: 18px;
  padding: 50px 30px;
}

.esb-expertise__inner {
  position: relative;
  overflow: hidden;
}

.esb-technical-expertise__inner::before,
.esb-expertise__inner::before {
  display: none;
}

.has-more-content .esb-expertise__inner {
  height: 656px;
}

.has-more-content .esb-technical-expertise__inner::before,
.has-more-content .esb-expertise__inner::before {
  display: block;
}

.has-more-content .esb-technical-expertise__inner.is-open,
.has-more-content .esb-expertise__inner.is-open {
  height: auto;
  overflow: visible;
}

.has-more-content .esb-technical-expertise__inner.is-open::before,
.has-more-content .esb-expertise__inner.is-open::before {
  display: none;
}

.esb-technical-expertise .esb-load-more,
.esb-expertise .esb-load-more {
  display: none;
}

.has-more-content .esb-load-more {
  display: block;
}

.has-more-content .esb-load-more.is-open {
  display: none;
}

/* ------------------------------------------------ */
/* Tablet P and Down */
/* ------------------------------------------------ */

@media (max-width: 1023px) {
  .esb-technical-expertise,
  .esb-expertise {
    padding: 30px;
  }
}

/* ------------------------------------------------ */
/* Mobile */
/* ------------------------------------------------ */

@media (max-width: 767px) {
  .esb-technical-expertise,
  .esb-expertise {
    position: relative;
    margin-left: -15px;
    width: calc(100% + 30px);
    border-radius: 0;
    padding: 30px 20px;
  }

  .esb-expertise .esb-rating {
    border-radius: 8px;
    margin-left: 0;
    width: 100%;
  }
}

/* ||||||||||||||||||||||||||||||||||||||||||||||||*/
/* ESB Section Technical Expertise */
/* ||||||||||||||||||||||||||||||||||||||||||||||||*/

.esb-technical-expertise__title {
  background-color: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.1);
  min-height: 60px;
  padding: 12px 20px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  font-size: 20px;
  line-height: normal;
  font-weight: 600;
  width: 100%;
  font-family: var(--poppins);
  position: relative;
  z-index: 2;
}

.esb-technical-expertise__title-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.esb-technical-expertise__title-icon img {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.esb-technical-expertise__row {
  display: grid;
  grid-template-columns: 334px 1fr;
  grid-gap: 40px;
  align-items: flex-start;
}

.esb-technical-expertise__left {
  padding-right: 66px;
  position: relative;
}

.esb-technical-expertise__left::before,
.esb-technical-expertise__left::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  height: 2px;
  width: 100%;
  border-bottom: 1px dashed #000;
  opacity: 0.3;
  z-index: 1;
}

.esb-technical-expertise__left::after {
  border: 0;
  right: initial;
  left: 100%;
  width: 8px;
  height: 8px;
  background-color: #000;
  border-radius: 100%;
}

.esb-technical-expertise__right {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.esb-technical-expertise__item {
  height: 68px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  position: relative;
  padding: 0 15px;
}

.esb-technical-expertise__item img {
  max-height: 40px;
  width: 100%;
  /* width: 38px; */
  height: auto;
  /* aspect-ratio: 1/1; */
  max-width: 100%;
  /* max-height: 100%; */
  object-fit: contain;
  transition: filter 0.3s ease;
}

.esb-technical-expertise__modal {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 99;
  width: 394px;
  box-shadow: 0px 4px 11.1px 0px rgba(0, 0, 0, 0.09);
  background: linear-gradient(0deg, #ffffff, #ffffff),
    linear-gradient(
      135.86deg,
      rgba(20, 114, 182, 0.05) 1.79%,
      rgba(139, 191, 55, 0.05) 100.34%
    );
  display: flex;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  will-change: opacity, visibility;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.esb-technical-expertise__item:hover .esb-technical-expertise__modal {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.esb-technical-expertise__modal-left {
  width: 172px;
  flex-shrink: 0;
  background-color: var(--BlueDark);
  color: var(--white);
  padding: 20px;
  min-height: 100%;
  margin-right: -1px;
  position: relative;
  z-index: 1;
}

.esb-technical-expertise__modal-number-title {
  font-size: 14px;
  line-height: normal;
  margin-bottom: 10px;
}

.esb-technical-expertise__modal-number-text {
  display: grid;
  grid-template-columns: 20px 1fr;
  grid-gap: 15px;
  font-size: 22px;
  line-height: 20px;
  font-weight: 600;
  align-items: center;
}

.esb-technical-expertise__modal-number:not(:last-child) {
  padding-bottom: 15px;
  margin-bottom: 15px;
  border-bottom: 1px solid #ffffff1a;
}

.esb-technical-expertise__modal-right {
  font-size: 14px;
  line-height: 20px;
  padding: 20px;
  border: 1px solid #0000001a;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.esb-technical-expertise__modal-right p {
  font-size: 14px;
  line-height: 20px;
}

.esb-technical-expertise__modal-right .btn {
  margin-top: auto;
}

.esb-technical-expertise__modal-right .btn a {
  box-shadow: 0px 4px 4px 0px #0000000d;
  border: 1px solid #1319241a;
  min-height: 34px;
  padding: 8px 14px !important;
  border-radius: 6px;
  font-size: 12px !important;
  line-height: normal !important;
  /* color: #131924 !important; */
  background-color: var(--BluePrimary);
  color: var(--white) !important;
}
.esb-technical-expertise__modal-right .btn a svg {
  filter: none !important;
  transition: filter 0.3s ease;
}
.esb-technical-expertise__modal-right .btn a svg path {
  stroke: var(--white);
}

.esb-technical-expertise__modal-right .btn a:hover {
  background-color: var(--BlueDark);
  color: var(--white) !important;
}

.esb-technical-expertise__modal-right .btn a:hover svg {
  filter: brightness(0) invert(1) !important;
}

.esb-technical-expertise__inner {
  display: grid;
  grid-gap: 40px;
}

.has-more-content .esb-technical-expertise__inner {
  height: 810px;
}

/* ------------------------------------------------ */
/* Desktop and Down */
/* ------------------------------------------------ */

@media (max-width: 1439px) {
  .esb-technical-expertise__left {
    padding-right: 36px;
  }

  .esb-technical-expertise__row {
    grid-template-columns: 254px 1fr;
    grid-gap: 30px;
  }

  .esb-technical-expertise__title {
    min-height: 54px;
    padding: 8px 14px;
    font-size: 19px;
    gap: 8px;
  }

  .esb-technical-expertise__title-icon {
    width: 26px;
    height: 26px;
  }

  .esb-technical-expertise__item {
    height: 60px;
  }

  .esb-technical-expertise__item img {
    height: 30px;
  }
}

/* ------------------------------------------------ */
/* Tablet L and Down */
/* ------------------------------------------------ */

@media (max-width: 1199px) {
  .esb-technical-expertise__modal-number-text {
    grid-gap: 10px;
    font-size: 20px;
  }

  .esb-technical-expertise__modal-left {
    width: 165px;
  }
}

/* ------------------------------------------------ */
/* Tablet P and Down */
/* ------------------------------------------------ */

@media (max-width: 1023px) {
  .esb-technical-expertise__row {
    grid-template-columns: 1fr;
  }

  .esb-technical-expertise__left {
    padding: 0;
  }

  .esb-technical-expertise__left::before,
  .esb-technical-expertise__left::after {
    display: none;
  }

  .esb-technical-expertise__title {
    width: auto;
    min-height: 46px;
    padding: 6px 24px 6px 14px;
    font-size: 18px;
    border-radius: 5px;
  }

  .esb-technical-expertise__row {
    grid-gap: 20px;
  }
}

@media (min-width: 768px) {
  .esb-technical-expertise__item:nth-child(n + 8) {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }

  .esb-technical-expertise__item:nth-child(7n + 5)
    .esb-technical-expertise__modal,
  .esb-technical-expertise__item:nth-child(7n + 6)
    .esb-technical-expertise__modal,
  .esb-technical-expertise__item:nth-child(7n + 7)
    .esb-technical-expertise__modal {
    left: initial;
    right: 0;
  }
}

/* ------------------------------------------------ */
/* Mobile */
/* ------------------------------------------------ */

@media (max-width: 767px) {
  .esb-technical-expertise__right {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .esb-technical-expertise__title {
    font-size: 16px;
    min-height: 44px;
  }

  .esb-technical-expertise__title-icon {
    width: 24px;
    height: 24px;
  }

  .esb-technical-expertise__modal {
    right: initial !important;
    left: 0 !important;
    width: calc(100vw - 40px);
  }

  .esb-technical-expertise__item:nth-child(n + 4) {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }

  .esb-technical-expertise__item:nth-child(3n + 2)
    .esb-technical-expertise__modal {
    left: 50% !important;
    transform: translateX(-50%);
  }

  .esb-technical-expertise__item:nth-child(3n + 3)
    .esb-technical-expertise__modal {
    left: initial !important;
    right: 0 !important;
  }

  .esb-technical-expertise__modal {
    flex-direction: column;
  }

  .esb-technical-expertise__modal-left {
    width: 100%;
    padding: 15px;
    margin: 0;
  }

  .esb-technical-expertise__modal-number-text {
    font-size: 19px;
  }

  .esb-technical-expertise__modal-number:not(:last-child) {
    padding-bottom: 10px;
    margin-bottom: 10px;
  }

  .esb-technical-expertise__modal-right {
    padding: 15px;
  }
}
