* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background: #eee;
}

/* SECTION */
.payment-section {
  position: relative;
  background: url("../images/payments.jpg") center/cover;
  padding: 60px 20px;
  border-radius: 4px;
  font-family: "Montserrat", sans-serif !important;
}

/* CONTENT */
.container {
  position: relative;
  margin: auto;
  font-family: "Montserrat", sans-serif;
}

h1 {
  font-size: 32px;
  margin-bottom: 10px;
  color: #484738;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
}

.desc {
  color: #555;
  margin-bottom: 30px;
}

h2 {
  margin: 20px 0;
  color: #484738;
  font-weight: 300;
}
.bg-payment h1 {
  font-size: 44px;
  font-family: "Montserrat", sans-serif;
}
/* CARDS */
.card {
  background: #fff;
  border: 1px solid #484738;
  border-radius: 6px;
  display: flex;
    justify-content: space-between;
    flex-direction: column;
  padding: 20px;
  margin-bottom: 20px;
  transition: 0.3s;
  background-color: #f6f6f5;
}

.card.big {
  margin-bottom: 25px;
  background-color: #f6f6f5;
}

.card h3 {
  margin-bottom: 10px;
  color: #484738;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  line-height: 38px;
  font-size: 24px;
}

.card p {
  color: #666;
  margin-bottom: 15px;
  line-height: 1.6;
}

/* BUTTONS */
.actions {
  display: flex;
  gap: 10px;
}

button {
  border: none;
  padding: 12px 25px;
  cursor: pointer;
  font-size: 14px;
  border-radius: 4px;
  color: #f5faf0;
  transition: 0.3s;
}

.outline {
  border: 1px solid #3f9a6e;
  background: transparent;
  color: #3f9a6e;
}

.outline:hover {
  background: #87bfa4;
  color: #fff;
}

.filled {
  background: #3f9a6e;
  color: #fff;
    padding: 15px 25px;

}

.filled:hover {
  background: #32343a;
}

.full {
  width: 100%;
  background: #3f9a6e;
  color: #fff;
  font-size: 14px;
    padding: 15px 25px;

}

.full:hover {
  background: #32343a;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* RESPONSIVE */

.bg-payment {
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
  padding: 50px;
  max-width: 1081px;
  border-radius: 4px;
  border: 1px solid #eee;
}
.desc,
.big p,
.card p {
  font-size: 16px;
  line-height: 28px !important;
  color: #7c7b70;
}
 @media (max-width: 768px) {
   
  .grid {
    grid-template-columns: 1fr;
  }
}
/* =========================
   MOBILE RESPONSIVE
========================= */
@media (max-width: 768px) {
  .payment-section {
    padding: 20px 12px;
  }

  .bg-payment {
    padding: 25px 18px;
    width: 100%;
  }

  .bg-payment h1 {
    font-size: 30px;
    line-height: 1.3;
  }

  h2 {
    font-size: 24px;
    line-height: 1.4;
    margin: 25px 0 18px;
  }

  .desc,
  .big p,
  .card p {
    font-size: 15px;
    line-height: 26px !important;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .card {
    padding: 18px;
  }

  .card h3 {
    font-size: 22px;
    line-height: 32px;
  }

  /* الأزرار تحت بعض */
  .actions {
    flex-direction: column;
    width: 100%;
  }

  .actions a {
    width: 100%;
  }

  .actions button,
  .full {
    width: 100%;
    font-size: 14px;
    padding: 14px 18px;
    text-align: center;
  }

  button {
    white-space: normal;
    line-height: 1.4;
  }
}

/* =========================
   SMALL MOBILE
========================= */
@media (max-width: 480px) {
  .bg-payment {
    padding: 20px 14px;
  }

  .bg-payment h1 {
    font-size: 26px;
  }

  h2 {
    font-size: 21px;
  }

  .card h3 {
    font-size: 20px;
    line-height: 28px;
  }

  .desc,
  .big p,
  .card p {
    font-size: 14px;
    line-height: 24px !important;
  }

  .actions button,
  .full {
    font-size: 13px;
    padding: 13px 14px;
  }
}
/* =========================
   TABLET RESPONSIVE
========================= */
@media (min-width: 769px) and (max-width: 1024px) {
  .payment-section {
    padding: 40px 25px;
  }

  .bg-payment {
    padding: 35px 30px;
    width: 100%;
  }

  .bg-payment h1 {
    font-size: 38px;
    line-height: 1.3;
  }

  h2 {
    font-size: 28px;
    margin: 25px 0 20px;
  }

  .desc,
  .big p,
  .card p {
    font-size: 15px;
    line-height: 26px !important;
  }

  .grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .card {
    padding: 22px;
  }

  .card h3 {
    font-size: 22px;
    line-height: 32px;
  }

  /* أزرار الكارد الكبيرة */
  .actions {
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
  }

  .actions a {
    width: 100%;
  }

  .actions button,
  .full {
    width: 100%;
    padding: 15px 20px;
    font-size: 14px;
    text-align: center;
  }

  button {
    white-space: normal;
    line-height: 1.4;
  }
}