.flip-cards {
  display: flex;
  width: 100%;
  gap: 38px;
  position: relative;
}

.flip-cards .card-1,
.flip-cards .card-2 {
  background: #DEE1E1;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 54px 60px;
  min-height: 525px;
  display: flex;
  flex: 1;
  border-radius: 4px;
  position: relative;
}

.flip-cards .card-1 h2,
.flip-cards .card-2 h2 {
  font-size: 32px;
  line-height: 40px;
  color: #270056;
  font-family: 'Barlow';
}

.no-styling {
  position: relative;
}

.flip-cards a {
  position: absolute;
  bottom: 28px;
  right: 60px;
  font-size: 20px;
  color: #270056 !important;
  cursor: pointer;
}

.expandingcard-es {
  font-size: 17px !important;
}

.flip-cards a::after {
  content: '+';
  padding-left: 8px;
  font-size: 40px;
  top: -3px;
  color: #270056;
  position: absolute;
}

.flip-cards a.override-link {
  font-size: 18px;
  line-height: 24px;
  position: static !important;
  text-decoration: underline !important;
}

.flip-cards a.override-link::after {
  content: none; /* Remove the content generated by ::after */
  padding-left: 0;
}

.ethics-card-1-modal,
.ethics-card-2-modal {
  background: #DEE1E1;
  height: 100%;
  width: 100%;
  padding: 30px 10px;
  border-radius: 4px;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease-in;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
}

.card-es {
    padding: 30px 30px;
}

#btnClose {
  background: none;
  border: none;
  color: #270056;
  cursor: pointer;
  font-size: 20px;
  align-self: flex-end;
  bottom: 28px;
  right: 0px;
}

.close-svg {
  width: 15px;
  height: 15px;
  fill: #270056;
  margin-left: 5px;
}

.card-title-fr {
  font-size: 35px;
}

.card-fr {
    padding: 30px 30px;
}

.ethics-card-2-modal ul {
  position: relative;
}

.ethics-card-1-modal ul li,
.ethics-card-2-modal ul li {
  font-size: 18px;
  line-height: 25px;
  padding-top: 5px;
  padding-bottom: 20px;
  font-family: 'Barlow', sans-serif;
  color: #000000;
  position: relative;
  transform: translateX(-50px); /* Adjust this value to move the list items left */
}

.ethics-card-2-modal ul li p {
  margin: 0;
}

.ethics-card-2-modal ul li p b {
  font-weight: bold !important;
}

.ethics-card-1-modal ul li::before,
.ethics-card-2-modal ul li::before {
  font-family: "Font Awesome 5 Free";
  content: "\f105";
  margin-right: 10px;
  color: #EF700C;
  font-size: 16px;
  font-weight: bold;
  width: 4px;
  height: 30px;
  top: 4px;
}

.ethics-card-1-modal button.close,
.ethics-card-2-modal button.close {
  position: absolute;
  bottom: 20px; /* Position 20px from the bottom */
  right: 40px; /* Position 40px from the right */
  color: #fff;
  cursor: pointer;
  border: none;
  background: transparent;
}

.ethics-card-1-modal button.close svg,
.ethics-card-2-modal button.close svg {
  position: relative;
  stroke: #4BCD3E;
}

.close-svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  cursor: pointer;
}

.remove-bullets {
  list-style: none;
}

@media screen and (max-width: 991.98px) {
  .flip-cards .card-1, .flip-cards .card-2 {
    min-height: 405px;
  }

  .card-size-es {
      min-height: 460px !important;
  }

  .card-title-fr {
    font-size: 34px;
  }

  .card-size-fr {
      min-height: 500px !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .flip-cards .card-1,
  .flip-cards .card-2 {
    padding: 40px;
  }

  .flip-cards .card-1 h2,
  .flip-cards .card-2 h2 {
    font-size: 28px;
  }

  .flip-cards .card-1, .flip-cards .card-2 {
    min-height: 495px;
  }
  
  .ethics-card-1-modal ul li, .ethics-card-2-modal ul li {
    transform: translateX(-30px);
  }

  .expandingcard-es {
    font-size: 16px !important;
  }

  .expandingcard-fr {
    font-size: 18px !important;
  }
}

@media (max-width: 767px) {
  .flip-cards {
    flex-direction: column;
  }
}

@media only screen and (width: 1024px) and (height: 1366px) and (-webkit-device-pixel-ratio: 2) {

  .flip-cards a {
    right: 45px;
    font-size: 18px;
  }
  
  .flip-cards .card-1, .flip-cards .card-2 {
    min-height: 435px;
  }

  .expandingcard-es {
    font-size: 14.5px !important;
  }

  .font-size-es {
    font-size: 17px !important;
  }

  .card-size-es-2 {
    min-height: 555px !important;
  }

  .expandingcard-fr {
    font-size: 17px !important;
}
  
  .card-title-fr {
    font-size: 32px;
  }

  .card-size-fr-2 {
    min-height: 565px !important;
  }
}
  

/*laptop*/
@media screen and (min-width: 1025px) and (max-width: 1280px) {
}