/* Trang "Giới thiệu" - chỉ load trên trang này, xem custom/functions.php
   (caia_enqueue_gioithieu_style). Dùng lại .intro/.btn-primary/.text-bg đã
   có sẵn từ trang chủ - chỉ định nghĩa thêm .whychoose/.testimonial/.teams. */

.whychoose__item {
  background: #f4f7ff;
  border-radius: 20px;
  padding: 40px 24px;
  transition: background 0.3s ease;
}

.whychoose__item:hover {
  background: #0e1f3f;
}

.whychoose__item--image {
  width: fit-content;
  margin: 0 auto;
}

.whychoose__item--image img {
  width: 100%;
  max-width: 100px;
  aspect-ratio: 1/1;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.whychoose__item--title {
  text-align: left;
  margin: 20px 0 12px 0;
  font-size: 18px;
  font-weight: 700;
  color: #17386C;
  transition: color 0.3s ease;
}

.whychoose__item:hover .whychoose__item--title {
  color: #ffffff;
}

.whychoose__item--desc {
  color: #475569;
  font-size: 14px;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.whychoose__item:hover .whychoose__item--desc {
  color: rgba(255, 255, 255, 0.85);
}

/* Testimonial tabs - cùng kiểu với tabs "Dự án nổi bật" ở trang chủ */
.testimonial .tab-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: fit-content;
  margin: 0 auto 40px auto;
  padding: 8px 16px;
  border-radius: 100px;
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(23, 56, 108, 0.08);
}

.testimonial .tab-btn {
  background: #f7f9fe;
  color: #17386C;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 100px;
  transition: all 0.25s ease;
}

.testimonial .tab-btn.active,
.testimonial .tab-btn:hover {
  background: linear-gradient(115deg, #58AD40, #17386C);
  color: #ffffff;
}

.testimonial .tab-content.hidden {
  display: none;
}

.testimonial .gallery-item {
  aspect-ratio: 1/1;
  border-radius: 12px;
  overflow: hidden;
}

.testimonial .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.testimonial .gallery-item--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f7ff;
  color: #94a3b8;
  font-size: 13px;
  text-align: center;
  padding: 12px;
}

/* Team grid */
.teams__item {
  position: relative;
  text-align: center;
}

.teams__item--image {
  width: 160px;
  height: 160px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  background: #f4f7ff;
}

.teams__item--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.teams__item--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: 700;
  color: #cbd5e1;
}

.teams__item--title {
  margin: 18px 0 4px 0;
  font-size: 18px;
  font-weight: 600;
  color: #17386C;
}

.teams__item--position {
  color: #475569;
  font-size: 15px;
}

@media (max-width: 640px) {
  .whychoose__item { padding: 28px 18px; }
  .teams__item--image { width: 120px; height: 120px; }
}
