body {
  font-family: Arial, sans-serif;
  background-color: #f2f2f2;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.card {
  width: 500px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  background-color: #fff;
}
.card-header {
  position: relative;
  width: 100%;
}

.card-header img {
  width: 100%;
  height: auto;
  display: block;
}

.overlay-text {
  position: absolute;
  top: 10px;
  right: 10px;
  color: white;
  text-align: right;
}

.card-info h2 {
  margin: 10px 0;
  font-size: 20px;
  color: #333;
}

.card-info p {
  margin: 6px 0;
  font-size: 16px;
  color: #555;
}

.card-info i {
  margin-left: 8px;
  color: #3271a5;
}