/* BIGBEO overrides & new components (loaded after main.css) */
:root {
  --bb-red: #ed3142;
  --bb-grad: linear-gradient(90deg, #ed2b46, #ec4c26);
}

/* Platform slider (replaces partner logos) */
.platforms { padding-top: 50px; padding-bottom: 50px; }
.platforms-title {
  text-align: center; font-weight: 600; color: #777;
  text-transform: uppercase; letter-spacing: 2px; font-size: 14px; margin-bottom: 24px;
}
.platform-chip {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  height: 80px; border: 1px solid #ebebeb; border-radius: 50px;
  font-weight: 700; font-size: 18px; color: #000; background: #fff;
  transition: all .3s ease;
}
.platform-chip i { font-size: 28px; color: var(--bb-red); transition: color .3s ease; }
.platform-chip:hover { background: var(--bb-red); color: #fff; border-color: var(--bb-red); }
.platform-chip:hover i { color: #fff; }

/* Service cards: icon instead of product image */
.vertical-shooting { min-height: 100%; }
.vertical-shooting .svc-tag {
  position: relative; z-index: 11; display: inline-block;
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  color: var(--bb-red); margin-bottom: 10px; transition: color .3s ease;
}
.vertical-shooting .svc-icon {
  position: relative; z-index: 11; margin-top: 40px;
  display: flex; gap: 18px; font-size: 72px; line-height: 1;
  color: var(--bb-red); transition: transform .3s ease, color .3s ease;
}
.vertical-shooting:hover .svc-icon { transform: scale(1.1); transform-origin: left bottom; }
.vertical-shooting.active .svc-tag,
.vertical-shooting.active .svc-icon { color: #fff; }

/* Mid banner (replaces image banner) */
.bb-banner {
  margin-top: 24px; padding: 40px; border-radius: 0;
  background: var(--bb-grad); color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.bb-banner h3 { color: #fff; font-size: 34px; font-weight: 800; margin: 6px 0 8px; }
.bb-banner p { color: #fff; opacity: .9; margin: 0; }
.bb-banner-tag { font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 14px; }
.bb-banner .btn { background: #fff; color: #000; }

/* Process steps */
.bb-step {
  background: #f3f3f3; padding: 36px 30px; height: 100%;
  transition: all .3s ease; position: relative; overflow: hidden;
}
.bb-step-num {
  display: block; font-size: 56px; font-weight: 800; line-height: 1;
  color: var(--bb-red); margin-bottom: 18px; transition: color .3s ease;
}
.bb-step h4 { font-weight: 700; font-size: 22px; margin-bottom: 10px; transition: color .3s ease; }
.bb-step p { margin: 0; transition: color .3s ease; }
.bb-step:hover { background: var(--bb-grad); }
.bb-step:hover .bb-step-num, .bb-step:hover h4, .bb-step:hover p { color: #fff; }

/* Logo khách hàng (ảnh 400x160) */
.logo-chip {
  height: 96px; display: flex; align-items: center; justify-content: center;
  background: transparent; padding: 6px 10px;
  transition: transform .3s ease;
}
.logo-chip img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.logo-chip:hover { transform: translateY(-3px); }

.platform-chip span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 16px; }

/* Showcase */
.bb-case {
  background: #f3f3f3; padding: 28px; margin-bottom: 24px; min-height: 130px;
  transition: all .3s ease;
}
.bb-case .svc-tag { color: var(--bb-red); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 8px; transition: color .3s ease; }
.bb-case h3, .bb-case h4 { font-weight: 800; margin-bottom: 0; transition: color .3s ease; }
.bb-case:hover { background: var(--bb-grad); }
.bb-case:hover .svc-tag, .bb-case:hover h3, .bb-case:hover h4 { color: #fff; }
.bb-case-feature { background: var(--bb-grad); color: #fff; min-height: calc(100% - 24px); padding: 44px; }
.bb-case-feature .svc-tag, .bb-case-feature h3, .bb-case-feature p { color: #fff; }
.bb-case-feature h3 { font-size: 36px; margin: 6px 0 16px; }
.bb-case-feature p { opacity: .92; }
.bb-case-link, .bb-review-link { display: inline-block; font-weight: 700; margin-top: 8px; color: var(--bb-red); }
.bb-case-feature .bb-case-link { color: #fff; margin-top: 18px; }
.bb-case-link i, .bb-review-link i { margin-left: 8px; }

/* Showcase video cards */
.bb-shot { display: block; margin-bottom: 30px; color: #000; }
.bb-shot figure { position: relative; overflow: hidden; margin: 0 0 14px; aspect-ratio: 16 / 9; background: #111; }
.bb-shot-big figure { aspect-ratio: auto; height: 100%; min-height: 260px; max-height: 330px; }
.bb-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.bb-shot:hover img { transform: scale(1.06); }
.bb-shot .bb-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 58px; height: 58px; border-radius: 50%; background: var(--bb-red); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
  box-shadow: 0 0 0 8px rgba(237, 49, 66, .25); transition: transform .3s ease;
}
.bb-shot:hover .bb-play { transform: translate(-50%, -50%) scale(1.1); }
.bb-shot .svc-tag { color: var(--bb-red); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 4px; }
.bb-shot h4 { font-weight: 800; margin: 0; }
.bb-shot-big { display: flex; flex-direction: column; height: calc(100% - 30px); }
.bb-shot-big figure { flex: 1; margin: 0; }
.bb-shot-big h4 { margin-bottom: 14px; }
#showcase .bb-case-feature { min-height: calc(100% - 30px); margin-bottom: 30px; }

/* Reviews: person row in each slide */
.bb-person { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.bb-person img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255,255,255,.6); }
.bb-person h3 { margin: 0; padding: 0; }
.bb-person .bb-role { display: block; font-weight: 600; opacity: .9; margin-top: 4px; }
.clients .google-star .bb-fb { font-size: 34px; color: #1877f2; margin-right: 10px; }

/* News (from WordPress) */
.bb-news-link[hidden], #news[hidden] { display: none !important; }
.bb-news-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.bb-news-head .heading { margin-bottom: 0; width: auto; flex: 1 1 auto; }
.bb-news-head .bb-news-all { flex: 0 0 auto; }
.bb-news-card { display: flex; flex-direction: column; height: calc(100% - 30px); margin-bottom: 30px; background: #f3f3f3; color: #000; transition: transform .3s ease, box-shadow .3s ease; }
.bb-news-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,.08); }
.bb-news-card figure { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bb-grad); }
.bb-news-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.bb-news-card:hover img { transform: scale(1.06); }
.bb-news-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.bb-news-meta { color: var(--bb-red); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.bb-news-body h3 { font-size: 21px; font-weight: 800; line-height: 1.35; margin: 10px 0; }
.bb-news-body p { color: #555; margin: 0 0 16px; }
.bb-news-more { margin-top: auto; font-weight: 700; color: var(--bb-red); }
.bb-news-more i { margin-left: 6px; transition: margin .3s ease; }
.bb-news-card:hover .bb-news-more i { margin-left: 12px; }

/* Footer top: slogan left, logo right */
.bb-footer-top { margin-bottom: 30px; }
/* Nút "Nhận tư vấn" trên hero cuộn tới form: chừa chỗ cho header */
#contact-form { scroll-margin-top: 150px; }
html { scroll-behavior: smooth; }

/* Footer: chữ liên hệ nhỏ hơn */
footer .footer-text h4 { font-size: 20px; padding-bottom: 10px; }
@media (max-width: 767px) { footer .footer-text h4 { font-size: 17px; } }

/* Footer mobile: căn giữa, riêng Liên kết căn trái / Giải pháp căn phải */
@media (max-width: 767px) {
  footer .bb-footer-top,
  footer .footer-text,
  footer .copy-right { text-align: center; }
  footer .bb-footer-logo { display: block; text-align: center; }
  footer .bb-footer-logo img { margin: 0 auto; }
  footer .useful-link { text-align: left; }
  footer .bb-col-right .useful-link { text-align: right; }
  footer .bb-col-right .useful-link h3::before { right: 0; }
}

.bb-footer-logo { display: inline-block; margin-bottom: 24px; }
.bb-footer-slogan { color: #fff; font-size: 20px; font-weight: 700; margin: 0 0 4px; }
.bb-footer-desc { color: #fff; opacity: .75; font-size: 15px; margin: 0; }

/* Initial avatars (no stock photos) */
.bb-initial {
  width: 60px; height: 60px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--bb-grad); color: #fff; font-weight: 800; font-size: 22px; border: 3px solid #fff;
}
.bb-initial-lg { width: 64px; height: 64px; font-size: 18px; flex: 0 0 64px; background: #fff; color: var(--bb-red); border: 0; }
.bb-review .bb-review-link { color: #fff; margin-top: 24px; }
.bb-footer-logo img { width: 200px; height: auto; }
@media (max-width: 575px) { .bb-footer-logo img { width: 150px; } }

@media (max-width: 991px) {
  .bb-case-feature { min-height: auto; }
  .bb-case-feature h3 { font-size: 28px; }
  .bb-step { margin-bottom: 20px; height: auto; }
  .bb-banner { padding: 30px; }
  .bb-banner h3 { font-size: 26px; }
  .vertical-shooting .svc-icon { font-size: 56px; margin-top: 24px; }
}
