#bank-deploy {
  width: 100%;
  height: fit-content;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 40px 0 80px;
  & .deploy-intro {
    text-align: center;
    & h2 {
      margin: 0 24px 24px;
    }
  }
  & .deploy-container {
    width: 80%;
    height: fit-content;
    margin: 40px 40px 80px;
    display: grid;
    grid-template-columns: repeat(4, minmax(100px, 1fr));
    grid-template-rows: repeat(1, minmax(100px, 1fr));
    grid-gap: 16px;
    & .deploy {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      opacity: 0;
      & img {
        height: 18vh;
        max-height: 140px;
        max-width: 200px;
        width: auto;
        margin: 16px;
      }
      & p {
        text-align: center;
      }
    }
    & .dep-anim {
      animation: depAnim 800ms ease-in-out forwards;
    }
    & #deploy1 {
      grid-area: 1/1 / span 1 / span 1;
    }
    & #deploy2 {
      grid-area: 1/2 / span 1 / span 1;
    }
    & #deploy3 {
      grid-area: 1/3 / span 1 / span 1;
    }
    & #deploy4 {
      grid-area: 1/4 / span 1 / span 1;
    }
  }
}
@media only screen and (max-width: 840px) {
  .deploy-container {
    grid-template-columns: repeat(2, minmax(100px, 1fr)) !important;
    grid-template-rows: repeat(2, minmax(100px, 1fr)) !important;
    & #deploy1 {
      grid-area: 1/1 / span 1 / span 1 !important;
    }
    & #deploy2 {
      grid-area: 1/2 / span 1 / span 1 !important;
    }
    & #deploy3 {
      grid-area: 2/1 / span 1 / span 1 !important;
    }
    & #deploy4 {
      grid-area: 2/2 / span 1 / span 1 !important;
    }
  }
}
@media only screen and (max-width: 560px) {
  .deploy {
    & img {
      width: 30vw !important;
      height: auto !important;
      margin: 16px;
    }
  }
}

@keyframes depAnim {
  0% {
    opacity: 0;
    transform: translateY(60px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

#bank-cap {
  margin: 100px 40px;
  padding: 0 80px;
  width: auto;
  height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  /* overflow: hidden; */
  & h2 {
    margin-bottom: 32px;
    text-align: center;
  }
  & .cap-grid-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(160px, 1fr));
    grid-template-rows: repeat(2, minmax(160px, 1fr));
    grid-gap: 24px;
    & .cap-box {
      width: auto;
      height: auto;
      min-height: 200px;
      border-radius: 30px;
      padding: clamp(24px,3vh,40px) clamp(32px,2.4vw,54px);
      border: solid 1px var(--g-light);
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: flex-start;
      & h3 {
        margin-bottom: 8px;
      }
      & ul {
        list-style-type: disc;
        margin-left: 20px;
        & li {
          text-wrap: wrap;
        }
      }
    }
    & #cap-retail {
      grid-area: 1/1 / span 1 / span 1;
    }
    & #cap-corp {
      grid-area: 1/2 / span 1 / span 1;
    }
    & #cap-wealth {
      grid-area: 1/3 / span 1 / span 1;
    }
    & #cap-treasury {
      grid-area: 2/1 / span 1 / span 1;
    }
    & #cap-islamic {
      grid-area: 2/2 / span 1 / span 1;
    }
    & #cap-inclusive {
      grid-area: 2/3 / span 1 / span 1;
    }
  }
}
@media only screen and (max-width: 840px) {
  #bank-cap {
    padding: 0 24px !important;
  }
  .cap-grid-container {
    grid-template-columns: repeat(2, minmax(160px, 1fr)) !important;
    grid-template-rows: repeat(3, minmax(160px, 1fr)) !important;
    & #cap-retail {
      grid-area: 1/1 / span 1 / span 1 !important;
    }
    & #cap-corp {
      grid-area: 1/2 / span 1 / span 1 !important;
    }
    & #cap-wealth {
      grid-area: 2/1 / span 1 / span 1 !important;
    }
    & #cap-treasury {
      grid-area: 2/2 / span 1 / span 1 !important;
    }
    & #cap-islamic {
      grid-area: 3/1 / span 1 / span 1 !important;
    }
    & #cap-inclusive {
      grid-area: 3/2 / span 1 / span 1 !important;
    }
  }
}
@media only screen and (max-width: 560px) {
  .cap-grid-container {
    display: flex !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    & .cap-box {
      width: 100% !important;
    }
  }
}

#bank-asset {
  width: fit-content;
  height: fit-content;
  display: flex;
  flex-direction: column;
  margin: 80px 0 120px;
  align-items: center;
  & h2 {
    margin-bottom: 32px;
  }
}
#asset-2-card {
  width: 100vw;
  height: fit-content;
  /* background-color: var(--black2); */
  overflow: visible;
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0 60px;
  & .card {
    width: 48%;
    height: fit-content;
    z-index: 2;
    border-radius: 30px;
    transition: all 300ms ease-in-out;
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px 60px;
    background: linear-gradient(
        135deg,
        var(--c1, rgba(var(--black-rgb), 0.2)),
        var(--c2, rgba(var(--g-main-rgb), 1)) 65%,
        var(--c3, rgba(var(--g-dark-rgb), 1))
      )
      var(--x, 0) / 300%;
    border-top: solid 1px rgba(var(--g-light-rgb), 0.4);
    border-left: solid 1px rgba(var(--g-light-rgb), 0.4);
    & .card-desc {
      margin: 16px 0 0px;
    }
  }
  & .card:hover {
    --x: 100%;
  }
}
@media only screen and (max-width: 800px) {
  #asset-2-card {
    flex-direction: column;
    height: fit-content;
    & .card {
      width: 100%;
      min-height: fit-content;
      margin-bottom: 60px;
      padding: 30px 20px;
    }
  }
}
@media only screen and (max-width: 430px) {
  #asset-2-card {
    & .card {
      padding: 30px 30px 15px;
    }
  }
}
