.landing-page-upsel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.landing-page-upsel .card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 960px;
  width: 100%;
}

.landing-page-upsel .flip-card {
  width: 100%;
  height: 280px;
  perspective: 1000px;
}

.landing-page-upsel .flip-card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}

.landing-page-upsel .flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.landing-page-upsel .flip-card-front,
.landing-page-upsel .flip-card-back {
  width: 100%;
  height: 100%;
  position: absolute;
  border-radius: 16px;
  overflow: hidden;
  backface-visibility: hidden;
}

.flip-card-back .flip-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.landing-page-upsel .flip-card-front {
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.landing-page-upsel .flip-card-front .label {
  color: white;
  font-size: 22px;
  font-weight: 700;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.landing-page-upsel .flip-card-back {
  background-size: cover;
  background-position: center;
  transform: rotateY(180deg);
  position: relative;
}

.landing-page-upsel .flip-card-back .label {
  position: absolute;
  bottom: 0;
  width: 100%;
  background-color: #B31430;
  color: white;
  text-align: center;
  padding: 14px 0;
  font-size: 20px;
  font-weight: 700;
}

.landing-page-upsel .flip-card-front .overlay {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2); /* dark overlay */
  display: flex;
  justify-content: center;
  align-items: center;
}

.row-title{
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px 0;
  width:70%;
  color: #B31430;
  margin: 60px 60px;
}
      
hr{
  border: none;
  height: 2px;
  width: 60%; /* or 100% */
  background-color: #B31430;
  margin: 12px auto;
  }


@media (max-width: 767px) {
  
.flip-card{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80%;
  height: auto;
  padding: 24px 16px;
  border-radius: 16px;
  overflow: hidden;
  backface-visibility: hidden;
}
  }