.bank-section {
  padding: 65px 125px;
  max-width: 1512px;
  margin: 0 auto;
  text-align: left;
}

@media (max-width: 768px) {
  .bank-section {
    padding: 0px;
    padding-bottom: 65px;
  }
}

@media (max-width: 1080px) and (min-width: 768px) {
  .bank-section {
    padding: 65px 125px;
    max-width: 1512px;
    margin: 0 auto;
    text-align: left;
  }
}

.bank-section .bank-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  gap: 17px;
  margin-bottom: 98px;
}

@media (max-width: 768px) {
  .bank-section .bank-header {
    flex-direction: column-reverse;
    margin-bottom: 25px;
    align-items: normal;
  }
}

@media (max-width: 1080px) and (min-width: 768px) {
  .bank-section .bank-header {
    flex-direction: column;
    margin-bottom: 25px;
  }
}

.bank-section .bank-header .bank-header-text {
  flex: 1;
}

.bank-section .bank-header .bank-header-text h1 {
  font-size: 64px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .bank-section .bank-header .bank-header-text h1 {
    font-size: 28px;
    margin-bottom: 20px;
    padding: 0 14px;
  }
}

.bank-section .bank-header .bank-header-text p {
  font-size: 28px;
  margin-bottom: 0;
  max-width: 85%;
}

@media (max-width: 768px) {
  .bank-section .bank-header .bank-header-text p {
    font-size: 16px;
    padding: 0 16px 0 14px;
    max-width: unset;
  }
}

.bank-section .bank-header img {
  border-radius: 12px;
  max-width: 555px;
  width: 100%;
}

@media (max-width: 768px) {
  .bank-section .bank-header img {
    width: 100%;
    margin: 13px 14px;
    max-width: calc(100vw - 28px);
  }
}

@media (max-width: 1080px) and (min-width: 768px) {
  .bank-section .bank-header img {
    max-width: 100%;
    min-width: calc(100vw - 250px);
  }
}

.bank-section h3 {
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 35px;
}

@media (max-width: 768px) {
  .bank-section h3 {
    font-size: 20px;
    margin-bottom: 50px;
    padding-left: 14px;
  }
}

.bank-section .bank-accounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 37px;
}

@media (max-width: 768px) {
  .bank-section .bank-accounts {
    display: flex;
    gap: 27px;
    flex-direction: column;
  }
  .bank-section .bank-accounts::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 1080px) and (min-width: 768px) {
  .bank-section .bank-accounts {
    grid-template-columns: repeat(1, 1fr) !important;
  }
}

@media (max-width: 1520px) {
  .bank-section .bank-accounts {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .bank-section .bank-accounts .scrollable-content {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 0 14px;
    scroll-behavior: smooth;
    flex-wrap: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .bank-section .bank-accounts .scrollable-content .account-card {
    scroll-snap-align: start;
  }
}

.bank-section .bank-accounts .account-card {
  border-radius: 20px;
  padding: 52px 25px;
  text-align: left;
  min-height: 471px;
  min-width: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 768px) {
  .bank-section .bank-accounts .account-card {
    min-width: 300px;
    max-width: 350px;
    flex: 0 0 auto;
    border-radius: 20px;
    padding: 20px;
    text-align: left;
  }
}

.bank-section .bank-accounts .account-card.isbank {
  background-color: #ebf4ff;
}

.bank-section .bank-accounts .account-card.isbank h4 {
  color: #00428a;
}

.bank-section .bank-accounts .account-card.garanti {
  background-color: #f1ffec;
}

.bank-section .bank-accounts .account-card.garanti h4 {
  color: #43a074;
}

.bank-section .bank-accounts .account-card.vakif {
  background-color: #fff6ff;
}

.bank-section .bank-accounts .account-card.vakif h4 {
  color: #194e91;
}

.bank-section .bank-accounts .account-card.akbank {
  background-color: #fff3f3;
}

.bank-section .bank-accounts .account-card.akbank h4 {
  color: #ff3629;
}

.bank-section .bank-accounts .account-card.halkbank {
  background-color: #e4f3ff;
}

.bank-section .bank-accounts .account-card.halkbank picture {
  margin-left: -0.6rem;
}

.bank-section .bank-accounts .account-card.halkbank h4 {
  color: #015496;
}

.bank-section .bank-accounts .account-card.credit-card {
  padding: 0;
  position: relative;
}

@media (max-width: 768px) {
  .bank-section .bank-accounts .account-card.credit-card {
    padding-left: 14px;
    padding-right: 12px;
  }
}

.bank-section .bank-accounts .account-card .credit-card-label {
  position: absolute;
  top: 20px;
  left: 30px;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  line-height: 1.55;
}

@media (max-width: 768px) {
  .bank-section .bank-accounts .account-card .credit-card-label {
    left: 35px;
    font-size: 20px;
  }
}

.bank-section .bank-accounts .account-card.credit-card img {
  border-radius: 20px;
  min-height: 548px;
  width: 100%;
}

@media (max-width: 768px) {
  .bank-section .bank-accounts .account-card.credit-card img {
    min-height: 475px;
    min-width: calc(100vw - 26px);
  }
}

@media (max-width: 1080px) and (min-width: 768px) {
  .bank-section .bank-accounts .account-card.credit-card img {
    max-width: 100%;
    min-height: 650px;
    max-height: 555px;
  }
}

.bank-section .bank-accounts .account-card.credit-card picture {
  margin-bottom: 0;
  width: 100%;
}

.bank-section .bank-accounts .account-card .account-detail {
  display: flex;
  gap: 8px;
  margin-bottom: 30px;
}

.bank-section .bank-accounts .account-card .account-detail:last-child {
  margin-bottom: 0;
}

.bank-section .bank-accounts .account-card picture {
  margin-bottom: 18px;
}

.bank-section .bank-accounts .account-card:not(.credit-card) picture {
 max-width: 50%;
 height: 50px;
}

.bank-section .bank-accounts .account-card h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 25px;
}

.bank-section .bank-accounts .account-card .account-detail i {
  background-color: #333;
  margin-top: 8px;
}

.bank-section .bank-accounts .account-card p {
  font-size: 17px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .bank-section .bank-accounts .account-card p {
    font-size: 16px;
  }
}
