  .FAQ-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  background-color: #003366;
  height: 250px;
  width: 300px;
  margin: auto;
  position: relative;
  box-shadow: 0px 0px 10px rgba(0,0,0,0.3);
  padding: 20px;
}

.faq-h3 {
  margin: 20px 0;
  font-size: 36px;
  color: #fff;
  text-align: center;
  z-index: 9999;
  align-self: flex-start;
  text-align: right;
}

.faq-pic {
  position: absolute;
  bottom: 0;
  left: 0;
  width: auto; 
  z-index: 1;
}

.faq-pic img {
  max-width: 100%;
  height: auto;
}

.faq-cta {
  color: #003366;
  border: 2px solid #fff;
  background-color: #fff;
  padding: 10px 25px;
  border-radius: 50px;
  font-size: 17px;
  text-decoration: none;
  font-weight: bold;
}

.faq-cta:hover,
.faq-cta:focus {
  background-color: #0057AD;
  color: #fff;
  border-color: #0057AD;
}

.faq-container {
  text-align: right;
  margin-top: 150px;
  position: absolute;
  z-index: 9999;
  width: 100%;
  align-self: flex-start; 
  text-align: right;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .FAQ-card {
    width: 90%;
    height: auto;
  }
  .faq-h3 {
    font-size: 18px;
  }
  .faq-cta {
    padding: 8px 20px;
    font-size: 15px;
  }
}

.faq-card2 {
  display: flex;
  flex-direction: column; 
  align-items: center; 
  justify-content: center; 
  background-color: #f1fafd;
  height: 250px;
  width: 300px;
  margin: auto;
  position: relative;
  box-shadow: 0px 0px 10px rgba(0,0,0,0.3);
  padding: 20px;
  overflow: hidden; 
}

.faq-heading {
  margin-top: 0; 
  margin-bottom: 20px; 
  font-size: 36px; 
  color: #003366;
  text-align: center;
}

.faq-list {
  padding: 0;
  padding-left: 50px;
  margin: 0; 
  color: #003366;
  width: 100%;
}

.faq-list li {
  margin-bottom: 10px; 
}

.faq-list a {
  color: #003366;
  text-decoration: none; 
}

.faq-list a:after {
  border: 0 !important;
}
.faq-list a:hover {
  text-decoration: underline; 
}