.expertise-item {
  height: 600px;
  transition: 0.3s;
  background-color: var(--black);
}

.expertise-placeholder-image {
    object-fit: cover;
    opacity: 0.3;
}

.expertise-item-content {
  max-height: 0;
  transition: 0.3s;
  z-index: 100;
}

.expertise-item:hover .expertise-item-content {
  max-height: 100%;
}

.expertise-item h3:before {
  content: "";
  height: 4px;
  width: 0px;
  background-color: var(--gold-2);
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translate(-50%, 0);
  transition: 0.3s;
}

.expertise-item:hover h3:before {
  width: 100px;
}

.expertise-item-pre-hidden {
  opacity: 0;
  transition: 0.5s;
}

.expertise-item:hover .expertise-item-pre-hidden {
  opacity: 1;
}

.expertise-item-overlap-link {
  top: 0;
  left: 0;
}

.expertise-item-decoration {
  height: 100%;
  top: 60%;
  left: -60%;
  background: url("../../Assets/images/overlap-pattern.svg");
  background-size: 200%;
  opacity: 0.3;
  transform: rotate(45deg);
  transition: 0.3s;
}

.expertise-item:hover .expertise-item-decoration {
  top: 65%;
  left: -65%;
}

/* Testimonials */
.testimonials-content {
  list-style: none;
}

.testimonial-card {
  min-width: 400px;
  box-shadow: 5px 5px 20px #00000030;
  border-radius: 20px;
}

.testimonial-stars .golden {
  color: #fece00;
}

@media screen and (max-width: 1199px) {
  .expertise-item {
    height: auto;
    align-items: center;
  }

  .expertise-item h3 i {
    display: none;
  }

  .expertise-wrapper {
    flex-direction: column;
    gap: 2px;
  }

  .expertise-item-content {
    max-height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
  }

  .expertise-item-pre-hidden {
    opacity: 1;
  }

  .expertise-item-details {
    display: none;
  }

  .expertise-item.active .expertise-item-details {
    display: block;
  }

  .our-expertise-wrapper,
  .expertise-wrapper {
    padding: 0;
  }

  .expertise-item-toggle-button {
    height: 66px;
    width: 60px;
    top: 0;
    right: 0;
  }

  .expertise-item-toggle-button::before {
    content: "";
    height: 20px;
    width: 2px;
    background-color: var(--gold-2);
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    transition: 0.3s;
  }

  .expertise-item.active .expertise-item-toggle-button::before {
    transform: translate(-50%, -50%) rotateZ(-90deg);
  }

  .expertise-item-toggle-button::after {
    content: "";
    height: 2px;
    width: 20px;
    background-color: var(--gold-2);
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    transition: 0.3s;
  }

  .expertise-item.active .expertise-item-toggle-button::after {
    left: 100%;
    transform: translate(0%, -50%);
  }
}
