/* Project-specific overrides on top of the vendor theme.
 * Loaded after main.css so these rules win.
 */

/* Experience cards on /about, rendered inside a Swiper carousel
 * (.experiences-swiper). The original theme used Slick + Bootstrap's
 * .carousel-item; we replaced that with Swiper to avoid the
 * display:none-without-.active trap. */
.testimonial-section .experiences-swiper {
  padding-bottom: 8px;
}
.testimonial-section .experiences-swiper .swiper-slide {
  height: auto;
  display: flex;
}
.testimonial-section .experience-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 24px;
  width: 100%;
  display: flex;
  flex-direction: column;
  color: #fff;
  transition: transform 0.2s ease, background 0.2s ease;
}
.testimonial-section .experience-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}
.testimonial-section .experience-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
}
.testimonial-section .experience-card h3 {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.testimonial-section .experience-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 12px;
}
.testimonial-section .experience-card .sector {
  font-size: 0.85rem;
  color: #ff2c57;
  font-weight: 600;
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Vendor main.css gives .testimonial-section .array-button button
 * `display: flex; align-items: center` but no `justify-content`, so the
 * arrow icon hugs the left edge of the circle. Center it both ways and
 * size the SVG explicitly since the vendor rule targets <i> not <svg>. */
.testimonial-section .array-button button {
  justify-content: center;
  padding: 0;
}
.testimonial-section .array-button button svg {
  width: 18px;
  height: 18px;
  color: #fff;
}
.testimonial-section .array-button button:hover svg,
.testimonial-section .array-button button.active svg {
  color: #fff;
}
