

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  text-align: center;
}

.brand-heading {
  font-size: 2.8rem;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1rem;
  background:linear-gradient(to right, #6268AA 3.51%, #8F98FF 40%, #9A4281 50%, #AC134B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-heading:after {
    content: '';
    display: block;
    margin: 0.5rem auto 0;
    width: 380px;
    height: 6px;
    background-image: url('https://res.cloudinary.com/dvabb4elb/image/upload/v1750871772/client-Line_swpeyd.svg');
    background-repeat: no-repeat;
    background-size: contain;
}
.brand-heading span {
  color: #fff;
}

.brand-subheading {
  color: #ccc;
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* ===== CARD GRID ===== */
.card-grid {
  display: flex;
  gap: 2rem;
  flex-direction: column;
  align-items: center;
}



.flip-card {
  perspective: 1000px;
  width: 800px;
  height: 240px; /* ✅ FIXED HEIGHT — prevents shifting */
  position: relative; /* ✅ Makes sure it doesn’t shift other content */
  justify-content: center;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s ease;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* ✅ MATCH HEIGHT */
  border-radius: 12px;
  backface-visibility: hidden;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
}

/* FRONT SIDE */
.flip-card-front {
  background-color: #9ea8ff;
  color: #000;
  text-align: left;
}

.card-content h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.plus-icon {
  width: 24px;
  margin-top: auto; /* Pushes plus icon to bottom left */
}

.decorative-img {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 180px;
  opacity: 0.6;
  z-index: 1;
}

/* BACK SIDE */
.flip-card-back {
  background-color: #9ea8ff;
  color: #000000;
  transform: rotateY(180deg);
  align-items: center;
  justify-content: center;
  text-align: center;
  position: absolute;
}

.flip-card-back p {
  font-size: 1.1rem;
  margin: 0 auto 2.5rem;
  padding: 0 1rem;
}

.arrow-icon {
  width: 28px;
  position: absolute;
  bottom: 1rem;
  left: 1rem;
}


@media screen and (max-width: 1100px) {
  .brand-heading {
    font-size: 2.1rem;
  }
  .brand-heading:after {
    width: 290px;
    margin-top: 0%;
  }
  .brand-subheading {
    font-size: 0.9rem;
  }
  .decorative-img {
    width: 150px;
    right: 0.5rem;
    bottom: 0.5rem;
  }
  .flip-card {
    width: 700px;
    height: 180px; /* Maintain fixed height */
  }
}

@media screen and (max-width: 468px) {
  .brand-heading {
    font-size: 1.8rem;
  }
  .brand-heading:after {
    width: 200px;
    margin-top: 0%;
  }
  .brand-subheading {
    font-size: 0.7rem;
    color: #fff;
  }
  .flip-card {
    width: 90%;
    height: 140px; /* Maintain fixed height */
  }
  .decorative-img {
    width: 70px;
    right: 0.5rem;
    bottom: 0.5rem;
  }
  .card-content p {
    font-size: 0.9rem;
  };
}

@media screen and (max-width: 378px){

  .card-content p {
    font-size: 0.7rem;
    margin-top: 20px;
  }
}