.types_of_accounts {
  padding: 0 3%;
  margin-top: 50px;
  padding-bottom: 50px;
}

.types_of_accounts_title h1 {
  font-family: "Montserrat", sans-serif;
  
 
  font-size: 35px;
  color: #02a758;
  margin-bottom: 20px;
}

.types_of_accounts_title {
  text-align: center;
}

.account_grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
}

.account_img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.account_details {
  background-color: #fff;
  padding: 0 5%;
  padding-block: 30px;
  text-align: left;
}

.account_details p {
  margin-top: 15px;
}

.account_details button {
  margin-top: 20px;
  width: 100%;
  height: 45px;
  border: none;
  background-color: #02a758;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  
 
  border-radius: 10px;
}

.account_details h3 {
  color: #02a758;
  font-family: "Montserrat", sans-serif;
}

.account_card {
  margin-top: 50px;
  background-color: #fff;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
  padding-top: 60px;
}

.modal-content {
  background-color: #fff;
  margin: auto;
  padding: 0 3%;
  padding-block: 50px;
  border-radius: 10px;
  width: 95%;
  max-width: 800px;
  animation: fadeIn 0.3s ease-in-out;
  margin-top: 150px;
}

.close-btn {
  float: right;
  font-size: 34px;
  cursor: pointer;
  color: #333;

  border-radius: 10%;
  height: 30px;
  width: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #02a758;
  color: #fff !important;
}

.close-btn:hover {
  background-color: #f00;
}
.acc_grid {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 20px;
  margin-top: 30px;
}
.acc_image {
  width: 100%;
}

.acc_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.modal h2 {
  color: #02a758;
  font-family: "Montserrat", sans-serif;
  
 
  margin-bottom: 10px;
}
.modal h3 {
  color: #02a758;
  font-family: "Montserrat", sans-serif;
  
  /* */
  margin-top: 15px;
}

.modal i {
  color: #02a758;
  padding-right: 10px;
}

.modal p {
  margin-top: 15px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}


@media screen and (max-width: 1031px) {
.account_grid{

  display: grid;
  grid-template-columns: 1fr 1fr;
}
.acc_grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 30px;
}

}


@media screen and (max-width: 560px) {
.account_grid{

  display: grid;
  grid-template-columns: 1fr;
}

}