.text-slider-section {
  position: relative;
  width: 100%;
  height: 500px; /* Hero-style height */
  overflow: hidden;
  font-family: "Georgia", "Times New Roman", serif;
}

.text-slider-background {
  width: 100%;
  height: 100%;
  background-image: url("/assets/pv/background/audit.jpeg"); /* static background */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.text-slide {
  text-align: center;
  color: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.4); /* optional overlay for text readability */
}

.text-slide h2 {
  font-size: 28px;
  font-weight: 200;
  margin-bottom: 12px;
}

.text-slide h3 {
  font-size: 36px;
  color: #efefef;
  margin-bottom: 20px;
}

.text-slider-btn {
  background-color: #c89b3c;
  color: #000;
  border: none;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.text-slider-btn:hover {
  background-color: #e2b857;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1024px) {
  .text-slide h2 {
    font-size: 40px;
  }
  .text-slide h3 {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .text-slider-section {
    height: 450px;
  }
  .text-slide h2 {
    font-size: 32px;
  }
  .text-slide h3 {
    font-size: 28px;
  }
  .text-slider-btn {
    padding: 12px 24px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .text-slider-section {
    height: 380px;
  }
  .text-slide h2 {
    font-size: 28px;
  }
  .text-slide h3 {
    font-size: 22px;
  }
  .text-slider-btn {
    padding: 10px 20px;
    font-size: 14px;
  }
}
