.block {
  width: 250px;
  max-width: 250px;
  height: 240px;
  border-radius: 15px;
  overflow: hidden;
  margin: 10px;
  position: relative;
  perspective: 1000px;/
}

.block-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}

.flipped .block-inner {
  transform: rotateY(180deg);
}

.block-front,
.block-back {
  width: 100%;
  height: 100%;
  position: absolute;
  backface-visibility: hidden;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.block-front {
  background: linear-gradient(to bottom, #a3d9ff, #d5ebff);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.front-content {
  font-size: 18px;
  font-weight: bold;
  color: #004080;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  flex-direction: column;
  position: relative;
}

.front-content ul {
  list-style: none;
  margin: 0;
}

.front-text {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
}

.block-back {
  transform: rotateY(180deg);
  background: linear-gradient(to bottom, #ffffff, #f0f0f0);
}

.block-header {
  height: 40px;
  background: linear-gradient(to right, #437ca7, #263955);
  display: flex;
  align-items: center;
  justify-content: left;
  color: white;
  padding: 22px;
  font-size: 15px;
  width: 100%;
}

.list-icon {
  width: 20px;
  height: auto;
  flex-shrink: 0;
  align-self: center;
}

.block-content {
  height: 200px;
  background: linear-gradient(to bottom, #a3d9ff, #d5ebff);
  display: flex;
  flex-direction: column;
  padding: 15px;
  padding-right: 40px;
  position: relative;
}

.content-list {
  padding: 0;
  margin: 0;
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
}

.content-list li {
  font-size: 13px;
  margin-bottom: 8px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
}

.list-icon {
  width: 16px;
  height: auto;
  flex-shrink: 0;
  align-self: flex-start;
}

.list-text {
  display: block;
  flex: 1;
}

.content-image {
  width: 70px;
  height: auto;
  position: absolute;
  bottom: 0;
  right: 0;
}

.front-image {
  position: absolute;
  bottom: -20px;
  right: -19px;
  width: 90px;
  height: auto;
}
