﻿.H_Test_B_container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 10px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
}

/* Heading */
.H_Test_B_intro h2 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 12px;
  color: #0b1220;
  line-height: 1.3;
}
.H_Test_B_intro p {
  margin: 0 0 14px;
  font-size: 18px;
  color: #555;
  line-height: 1.6;
}

/* Slider */
.H_Test_B_slider {
  overflow: hidden;
  position: relative;
}
.H_Test_B_track {
  display: flex;
  transition: transform 0.6s ease-in-out;
  gap: 20px; /* gap preserved */
}

.H_Test_B_slide {
  flex: 0 0 auto;
  width: calc((100% / 3) - (40px / 3)); /* desktop: 3 slides + gap adjust */
  padding: 25px;
  box-sizing: border-box;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}
.H_Test_B_slide.H_Test_B_visible {
  opacity: 1;
  transform: translateY(0);
}

/* Feedback text with quotes */
.H_Test_B_feedback {
  font-style: italic;
  color: #444;
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
  position: relative;
  padding: 20px;
}
.H_Test_B_feedback::before {
  content: "❝";
  font-size: 2.5em;
  color: #0078d7;
  position: absolute;
  top: -15px;
  left: -10px;
  opacity: 0.15;
}
.H_Test_B_feedback::after {
  content: "❞";
  font-size: 2.5em;
  color: #0078d7;
  position: absolute;
  bottom: -15px;
  right: -10px;
  opacity: 0.15;
}

/* Client info */
.H_Test_B_slide h4 {
  margin: 0;
  font-size: 1.2em;
  color: #222;
}
.H_Test_B_slide span {
  font-size: 0.95em;
  color: #777;
}

/* Controls */
.H_Test_B_controls {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}
.H_Test_B_prevBtn, .H_Test_B_nextBtn {
  background: #0078d7;
  color: #fff;
  border: none;
  border-radius: 50%;
  padding: 12px 16px;
  cursor: pointer;
  font-size: 20px;
  transition: background 0.3s;
}
.H_Test_B_prevBtn:hover, .H_Test_B_nextBtn:hover {
  background: #005bb5;
}

/* Responsive */
@media (max-width: 992px) {
  .H_Test_B_slide {
    width: calc((100% / 2) - (20px / 2)); /* tablet */
  }
}
@media (max-width: 600px) {
  .H_Test_B_slide {
    width: 100%; /* mobile */
  }
}

/* Scroll fade effect */
.H_Test_B_fadeUp {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}
.H_Test_B_inView {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

