a.btn {
    background-color: #f15a24;
    padding: 8px 20px 8px 20px;
    border-radius: 12px;
    color: #fff;
}
.page-content {
  display: grid;
  grid-gap: 3rem;
  padding: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 600px) {
  .page-content {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 800px) {
  .page-content {
    grid-template-columns: repeat(3, 1fr);
  }
}
.cardd {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 1rem;
  width: 100%;
  text-align: center;
  color: whitesmoke;
  background-color: whitesmoke;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 2px 2px rgba(0, 0, 0, 0.1), 0 4px 4px rgba(0, 0, 0, 0.1), 0 8px 8px rgba(0, 0, 0, 0.1), 0 16px 16px rgba(0, 0, 0, 0.1);
}
@media (min-width: 600px) {
  .cardd {
    height: 380px;
  }
}
.cardd:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
 transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.cardd:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200%;
  pointer-events: none;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.009) 11.7%, rgba(0, 0, 0, 0.034) 22.1%, rgba(0, 0, 0, 0.072) 31.2%, rgba(0, 0, 0, 0.123) 39.4%, rgba(0, 0, 0, 0.182) 46.6%, rgba(0, 0, 0, 0.249) 53.1%, rgba(0, 0, 0, 0.32) 58.9%, rgba(0, 0, 0, 0.394) 64.3%, rgba(0, 0, 0, 0.468) 69.3%, rgba(0, 0, 0, 0.54) 74.1%, rgba(0, 0, 0, 0.607) 78.8%, rgba(0, 0, 0, 0.668) 83.6%, rgba(0, 0, 0, 0.721) 88.7%, rgba(0, 0, 0, 0.762) 94.1%, rgba(0, 0, 0, 0.79) 100%);
  transform: translateY(-50%);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.cardd:nth-child(1):before {
  background-image: url(https://kiabeverages.com/wp-content/uploads/2026/06/eng-breakfast-tea-new.jpg);
}
.cardd:nth-child(2):before {
  background-image: url(https://kiabeverages.com/wp-content/uploads/2026/06/earl-grey-tea-new.jpg);
}
.cardd:nth-child(3):before {
  background-image: url(https://kiabeverages.com/wp-content/uploads/2026/06/decaffeinated-green-tea-new.jpg);
}
.cardd:nth-child(4):before {
  background-image: url(https://kiabeverages.com/wp-content/uploads/2026/06/decaffeinated-black-tea-new.jpg);
}
.cardd:nth-child(5):before {
  background-image: url(https://kiabeverages.com/wp-content/uploads/2026/06/decaffeinated-assorted-pack-new.jpg);
}
.cardd:nth-child(6):before {
  background-image: url(https://kiabeverages.com/wp-content/uploads/2026/06/original-decaf-new.jpg);
}
.content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 1rem;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1;
}
.content > * + * {
  margin-top: 3rem;
}
.title1 {
       font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
    color: #000000;
    background-color: #ffffffbf;
    padding: 8px 25px 8px 25px;
    letter-spacing: 0px;
	    font-family: sans-serif;
}
.copy {
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.35;
}
@media (hover: hover) and (min-width: 600px) {
  .cardd:after {
    transform: translateY(0);
  }
  .content {
    transform: translateY(calc(100% - 3.1rem));
  }
  .content > *:not(.title1) {
    opacity: 1;
    transform: translateY(1rem);
    transition: transform var(--d) var(--e), opacity var(--d) var(--e);
  }
  .cardd:hover,
.cardd:focus-within {
    align-items: center;
  }
  .cardd:hover:before,
.cardd:focus-within:before {
    transform: translateY(-4%);
  }
  .cardd:hover:after,
.cardd:focus-within:after {
    transform: translateY(-50%);
  }
  .cardd:hover .content,
.cardd:focus-within .content {
    transform: translateY(0);
  }
  .cardd:hover .content > *:not(.title1),
.cardd:focus-within .content > *:not(.title1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(var(--d) / 8);
  }
  .cardd:focus-within:before, .cardd:focus-within:after,
.cardd:focus-within .content,
.cardd:focus-within .content > *:not(.title1) {
    transition-duration: 0s;
  }
}
@media only screen and (max-width: 767px)
{
.title1 {
    font-size: 15px;
	}
.cardd {
    height: 310px;
max-height:310px;
}	
}