.Banking {
  width: 100%;
  padding: 45px 0;
  background: #fff;
  overflow: hidden;
}

.Banking .banking_heading {
  width: 100%;
  text-align: center;
  margin-bottom: 28px;
}

.Banking .payment_panel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border: 1px solid #5d2023;
    border-radius: 22px;
    background: radial-gradient(circle at 50% 100%, rgba(134, 47, 50, 0.28), transparent 32%), linear-gradient(135deg, #170708 0%, #3b1215 45%, #160506 100%);
    box-shadow: 0 15px 40px rgba(92, 26, 29, 0.12),
    inset 0 0 50px rgba(134, 47, 50, 0.08);
}

.Banking .payment_glow {
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(70px);
  opacity: 0.15;
  animation: paymentGlow 6s ease-in-out infinite alternate;
}

.Banking .payment_glow_one {
  left: 20%;
  bottom: -170px;
  background: #b94a4e;
}

.Banking .payment_glow_two {
  right: 15%;
  top: -180px;
  background: #862f32;
  animation-delay: 2s;
}

@keyframes paymentGlow {
  0% {
    transform: scale(0.9);
    opacity: 0.08;
  }

  100% {
    transform: scale(1.25);
    opacity: 0.2;
  }
}

/* =========================================
   BOOTSTRAP ROW
========================================= */

.Banking .payment_row {
  position: relative;
  z-index: 2;
  margin: 0;
}

.Banking .payment_col {
  padding: 0;
}

.Banking .payment_card {
  position: relative;
  min-height: 315px;
  padding: 26px 25px 22px;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  transition: all 0.35s ease;
}

/* Remove separator from last card */

.Banking .payment_col:last-child .payment_card {
  border-right: 0;
}

.Banking .payment_card::before {
  content: "";
  position: absolute;
  left: 15%;
  right: 15%;
  bottom: -100px;
  height: 170px;
  border-radius: 50%;
  background: rgba(134, 47, 50, 0.15);
  filter: blur(30px);
  opacity: 0;
  transition: all 0.4s ease;
}

.Banking .payment_card:hover::before {
  opacity: 1;
  bottom: -60px;
}

/* =========================================
   NUMBER
========================================= */

.Banking .payment_number {
  position: absolute;
  top: 20px;
  right: 22px;
  color: #f5f0f0;
  font-size: 25px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 1px;
  transition: all 0.35s ease;
}

.Banking .payment_card:hover .payment_number {
  color: #d8797c;
  transform: translateY(-2px);
}

.Banking .payment_logo_holder {
    width: 100px;
    height: 100px;
    margin-top: 30px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 13px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25),
    0 0 0 rgba(134, 47, 50, 0);
    transition: all 0.4s ease;
    animation: logoFloat 4s ease-in-out infinite;
}

.Banking .payment_col:nth-child(2) .payment_logo_holder {
  animation-delay: 0.6s;
}

.Banking .payment_col:nth-child(3) .payment_logo_holder {
  animation-delay: 1.2s;
}

.Banking .payment_col:nth-child(4) .payment_logo_holder {
  animation-delay: 1.8s;
}

.Banking .payment_logo_holder img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 62px;
  object-fit: contain;
}

/* =========================================
   LOGO HOVER
========================================= */

.Banking .payment_card:hover .payment_logo_holder {
  transform: translateY(-7px) scale(1.06);
  border-color: #b95b5f;
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.3),
    0 0 25px rgba(134, 47, 50, 0.25);
}

/* =========================================
   PAYMENT TYPE
========================================= */

.Banking .payment_type {
  color: #c7797c;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  margin-bottom: 5px;
}

/* =========================================
   COMPANY NAME
========================================= */

.Banking .payment_card h3 {
  position: relative;
  z-index: 2;
  margin: 0 0 8px;
  color: #fff;
  font-size: 19px;
  line-height: 1.2;
  font-weight: 700;
  transition: all 0.3s ease;
}

.Banking .payment_card:hover h3 {
  color: #f2c5c6;
}

.Banking .payment_card p {
  position: relative;
  z-index: 2;
  max-width: 220px;
  margin: 0;
  color: #cbbabb;
  font-size: 12px;
  line-height: 1.7;
}

.Banking .payment_line {
  position: relative;
  width: 55px;
  height: 3px;
  margin-top: auto;
  padding-top: 22px;
}

.Banking .payment_line::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 100%;
  height: 2px;
  border-radius: 10px;
  background: rgba(134, 47, 50, 0.35);
}

.Banking .payment_line span {
  position: absolute;
  left: 0;
  top: 22px;
  width: 0;
  height: 2px;
  border-radius: 10px;
  background: #d5797c;
  box-shadow: 0 0 10px rgba(213, 121, 124, 0.8);
  transition: width 0.4s ease;
}

.Banking .payment_card:hover .payment_line span {
  width: 100%;
}

/* =========================================
   SUBTLE CARD HOVER
========================================= */

.Banking .payment_card:hover {
  background: rgba(134, 47, 50, 0.08);
}

/* =========================================
   TABLET
========================================= */

@media (min-width: 768px) and (max-width: 991.98px) {
  .Banking {
    padding: 40px 0;
  }

  .Banking .payment_card {
    min-height: 295px;
    padding: 23px 18px 20px;
  }

  .Banking .payment_number {
    top: 17px;
    right: 17px;
    font-size: 21px;
  }

  .Banking .payment_logo_holder {
    width: 78px;
    height: 78px;
  }

  .Banking .payment_logo_holder img {
    max-height: 53px;
  }

  .Banking .payment_card h3 {
    font-size: 17px;
  }

  .Banking .payment_card p {
    font-size: 10px;
  }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 767.98px) {
  .Banking {
    padding: 30px 0;
  }

  .Banking .banking_heading {
    margin-bottom: 20px;
  }

  .Banking .payment_panel {
    border-radius: 15px;
  }

  .Banking .payment_card {
    min-height: 245px;
    padding: 17px 12px 17px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  /* Remove right border from every second card */

  .Banking .payment_col:nth-child(even) .payment_card {
    border-right: 0;
  }

  /* Remove bottom border from last two */

  .Banking .payment_col:nth-child(3) .payment_card,
  .Banking .payment_col:nth-child(4) .payment_card {
    border-bottom: 0;
  }

  .Banking .payment_number {
    top: 13px;
    right: 13px;
    font-size: 18px;
  }

  .Banking .payment_logo_holder {
    width: 62px;
    height: 62px;
    margin-top: 25px;
    margin-bottom: 11px;
    padding: 9px;
    border-radius: 12px;
  }

  .Banking .payment_logo_holder img {
    max-height: 42px;
  }

  .Banking .payment_type {
    font-size: 7px;
    letter-spacing: 0.8px;
  }

  .Banking .payment_card h3 {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .Banking .payment_card p {
    max-width: 145px;
    font-size: 9px;
    line-height: 1.55;
  }

  .Banking .payment_line {
    width: 40px;
    padding-top: 17px;
  }

  .Banking .payment_line::before {
    top: 17px;
  }

  .Banking .payment_line span {
    top: 17px;
  }
}

/* =========================================
   VERY SMALL MOBILE
========================================= */

@media (max-width: 400px) {
  .Banking .payment_card {
    min-height: 225px;
    padding-left: 8px;
    padding-right: 8px;
  }

  .Banking .payment_logo_holder {
    width: 55px;
    height: 55px;
  }

  .Banking .payment_logo_holder img {
    max-height: 37px;
  }

  .Banking .payment_card h3 {
    font-size: 12px;
  }

  .Banking .payment_card p {
    font-size: 8px;
    max-width: 125px;
  }
}
