@import url("https://fonts.googleapis.com/css2?family=Cedarville+Cursive&family=Livvic:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,900&family=Mulish:ital,wght@0,200..1000;1,200..1000&display=swap");

.crds {
  font-family: "Mulish", sans-serif;
  background: linear-gradient(-45deg, #4b2203, #050c2c, #04081b, #43230b);
  padding: 100px 20px;
}

.crds .export-title {
  font-size: 42px;
  color: #8b5e3c;
  margin-bottom: 25px;
  text-align: center;
  position: relative;
}

/* only this heading */
.crds .export-title::after {
  content: "";
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #c89b6d, #8b5e3c);
  display: block;
  margin: 10px auto 0;
  border-radius: 5px;
  position: relative;
  right: 100px;
}

.feature-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.tilt-frame {
  width: 300px;
  height: 400px;
  padding: 20px;
  perspective: 1000px;
}

.info-card {
  padding-top: 100px;
  transform-style: preserve-3d;
  /* background-image: url("https://files.revneo.com/haziq/gold.jpg"); */
  background-image: url("../images/cards-bg.jpg");
  background-position: center center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: all 0.5s ease-in-out;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.info-card:hover {
  background-position: 80% 20%;
  transform: rotate3d(0.5, 1, 0, 30deg);
}

.info-content {
  width: 100%;
  background-color: rgba(0, 0, 0, 0.916);
  border-radius: 0px 0px 10px 10px;
  box-shadow: rgba(239, 68, 68, 0.925) 0px 20px 50px -25px;
  transition: all 0.5s ease-in-out;
  padding: 50px 25px 25px 25px;
  transform-style: preserve-3d;
  display: flex;
  flex-direction: column;
}

.info-heading {
  color: white;
  font-size: 25px;
  font-weight: 900;
  transition: all 0.5s ease-in-out;
  transform: translate3d(0px, 0px, 20px);
}

.info-heading:hover {
  transform: translate3d(0px, 0px, 50px);
}

.info-description {
  padding-top: 15px;
  font-size: 14px;
  line-height: 1.5;
  color: rgb(185, 185, 185);
}

.info-description:hover {
  transform: translate3d(0px, 0px, 50px);
}

.action-button {
  cursor: pointer;
  background: none;
  border: none;
  font-weight: 900;
  font-size: 11px;
  text-transform: uppercase;
  color: #c4894f;
  padding-top: 15px;
  transition: all 0.5s ease-in-out;
  transform: translate3d(0px, 0px, 20px);
}

.action-button:hover {
  transform: translate3d(0px, 0px, 50px);
}

.badge-panel {
  position: absolute;
  top: 75px;
  left: 25px;
  height: 60px;
  width: 60px;
  background-color: rgb(0, 0, 0);
  border-radius: 10px;
  padding: 10px;
  box-shadow: #c4894f 0px 20px 60px 0px;
  transform: translate3d(0px, 0px, 50px);
}

.badge-panel span {
  display: block;
  text-align: center;
}

.badge-top {
  color: white;
  font-size: 11px;
  font-weight: 700;
}

.badge-bottom {
  font-size: 20px;
  font-weight: 900;
  color: #c4894f;
}

/* Optional extra card hooks */
.alt-card-one,
.alt-card-two,
.alt-card-three {
  filter: none;
}

.crds > h1 {
  font-size: 42px;
  color: #8b5e3c;
  margin-bottom: 25px;
  position: relative;
  text-align: center;
}

.crds h1 > ::after {
  content: "";
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #c89b6d, #8b5e3c);
  display: block;
  margin-top: 10px;
  border-radius: 5px;
  margin: 0 auto;
  position: relative;
  right: 100px;
}

/* =========================
   RESPONSIVE ONLY (ADD-ON)
========================= */

/* tablets */
@media (max-width: 1024px) {
  .crds {
    padding: 80px 15px;
  }

  .crds .export-title,
  .crds > h1 {
    font-size: 36px;
  }

  .feature-wrapper {
    gap: 20px;
  }

  .tilt-frame {
    width: 45%;
    height: 380px;
  }
}

/* tab */
@media screen and (max-width: 850px) {
  .crds .export-title::after {
    right: 90px;
  }
}

/* mobile */
@media (max-width: 768px) {
  .feature-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .tilt-frame {
    width: 90%;
    height: 380px;
  }

  .crds {
    padding: 60px 15px;
  }

  .crds .export-title,
  .crds > h1 {
    font-size: 30px;
  }

  .info-content {
    padding: 35px 20px 20px;
  }
}

/* small mobile */
@media screen and (max-width: 767px) {
  .tilt-frame {
    /* width: 95%;
    height: 360px; */
    padding: 10px;
  }

  .crds {
    padding: 50px 10px;
  }

  .crds .export-title,
  .crds > h1 {
    font-size: 30px;
    color: #fff;
  }

  .info-description {
    font-size: 13px;
    line-height: 1.4;
  }

  .badge-panel {
    width: auto;
    height: auto;
    top: 60px;
    left: 15px;
  }

  .action-button {
    font-size: 10px;
  }

  .crds .export-title::after {
    right: 0;
  }
}