.evonith-card-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1280px;
  margin: auto;
}
.evonith-card-wrapper {
  position: relative;
  width: 100%;
  height: 350px;
  perspective: 1000px;
  z-index: 1;
}

.evonith-card-wrapper:hover {
    z-index: 2;
}
.evonith-card-background {
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  transition: transform 0.6s ease, left 0.6s ease;
}
.evonith-card {
    background: #1D1D1D;
    border-radius: 16px;
    padding: 30px 20px;
    height: 100%;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    transition: transform 0.6s ease, right 0.6s ease, background-color 0.6s ease;
    right: 0;
    border: 1px solid #343030;
}
.evonith-card img {
  width: 70px;
  margin-bottom: 20px;
}
.evonith-card-title {
    font-size: 23px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 11px;
    margin-top: 1rem;
    line-height: 1.2;
    transition: color 0.6s ease;
}
.evonith-card-description {
    font-size: 16px;
    color: #8C8C8C;
    line-height: 1.5;
    margin: 0 auto;
    transition: color 0.6s ease;
}
.evonith-card-wrapper:hover .evonith-card {
  transform: rotate(-15deg);
  right: 20%;
  background-color: white;
}
.evonith-card-wrapper:hover .evonith-card-title,
.evonith-card-wrapper:hover .evonith-card-description {
  color: black;
}
.evonith-card-wrapper:hover .evonith-card-background {
  transform: rotate(10deg);
  left: 30%;
}
@media (max-width: 992px) {

.evonith-story-slide {
    position: relative;
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

  .evonith-card-grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .evonith-card-grid-container {
    grid-template-columns: 1fr;
  }
  .evonith-card-wrapper {
    height: 360px;
  }
  .evonith-card {
    padding: 40px 30px;
  }
  .evonith-card-title {
    font-size: 20px;
  }
  .evonith-card-description {
    font-size: 14px;
  }
}
