/* introduceSlide.module.css */

.slideContainer {
  width: 100%;
  height: 105vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: absolute;
  z-index: 1;
  top: 85vh;
}

.slideHeader {
  display: flex;
  align-items: center;
  justify-content: center;
}

.slideHeaderLine {
  flex-grow: 1;
  border: none;
  border-top: 1px solid #ccc;
  margin: 0 10px;
  max-width: 150px;
}

.slideHeaderText {
  font-size: 1.2rem;
  font-weight: bold;
  padding: 5px 15px;
  background-color: #e0e0e0;
  border-radius: 20px;
  color: #555;
}

.slideCardsWrapper {
  width: 100%;
  height: 400px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  transform-style: preserve-3d;
  perspective: 1000px;
  /* overflow: hidden; */
}

.slideCardItem {
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.5s ease-in-out, z-index 0.5s, box-shadow 0.5s;
  cursor: pointer;
  background-color: #ffffff;
  flex-shrink: 0;
}

.slideInnerWrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* Thêm styles cho nút bấm */
.slideInnerWrapper .slideButton {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: background-color 0.3s;
}

/* .slideInnerWrapper .slideButton:hover {
  background-color: rgba(0, 0, 0, 0.8);
} */

.slideInnerWrapper .slideButton.left {
  left: 10px;
}

.slideInnerWrapper .slideButton.right {
  right: 10px;
}

/* Thêm styles cho các dấu chấm */
.slideDots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  z-index: 5;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ccc;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

.dot.active {
  background-color: #555;
  transform: scale(1.2);
}


.content-visible {
  display: block;
  transition: opacity 0.3s ease;
}

.content-hidden {
  display: none;
  transition: opacity 0.3s ease;
}

.parent:hover .content-visible {
  display: none;
}

.parent:hover .content-hidden {
  display: block;
}