/* =========================
   videos page only
   ========================= */
body.page-videos { background: #FAFAFA; }

/* Page hero */
.page-hero {
  padding: 140px 0 80px;
  background:
    linear-gradient(135deg, rgba(4,10,24,.94) 0%, rgba(27,42,74,.88) 50%, rgba(232,93,4,.35) 100%),
    url('../../images/teambuilding-1.jpg') center/cover no-repeat;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(255,183,3,.18), transparent 55%);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute; top: 50%; left: 50%;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,93,4,.35) 0%, transparent 65%);
  transform: translate(-50%, -50%);
  filter: blur(40px);
  animation: heroPulse 5s ease-in-out infinite;
  z-index: 1;
}
@keyframes heroPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50%      { transform: translate(-50%, -50%) scale(1.15); }
}
.ph-tag {
  display: inline-block;
  background: rgba(232,93,4,.22);
  color: #FFB703;
  font-size: .72rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 30px;
  margin-bottom: 18px;
  border: 1px solid rgba(255,183,3,.4);
  position: relative; z-index: 3;
}
.ph-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 18px;
  position: relative; z-index: 3;
  text-shadow: 0 4px 30px rgba(0,0,0,.6);
}
.ph-title em {
  font-style: normal;
  background: linear-gradient(125deg, #FF8C42, #FFB703, #E85D04, #FF8C42);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite;
}
.ph-sub {
  font-size: 1rem;
  color: rgba(255,255,255,.85);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.85;
  position: relative; z-index: 3;
}
@media (max-width: 768px) { .page-hero { padding: 120px 0 60px; } }

/* Featured video */
.featured-video { padding: 60px 0 40px; background: #fff; }
.fv-wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}
.fv-player {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(27,42,74,.2);
  aspect-ratio: 16/9;
  cursor: pointer;
  background: #000;
}
.fv-player img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.fv-player:hover img { transform: scale(1.04); }
.fv-player::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(232,93,4,.25), transparent 60%, rgba(0,0,0,.5));
  pointer-events: none;
}
.fv-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 90px; height: 90px;
  background: var(--or);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.7rem;
  padding-left: 5px;
  box-shadow: 0 16px 40px rgba(232,93,4,.6);
  z-index: 3;
  animation: playPulse 2.2s ease-in-out infinite;
  transition: transform .3s;
  border: none;
  cursor: pointer;
}
.fv-player:hover .fv-play { transform: translate(-50%, -50%) scale(1.1); }
@keyframes playPulse {
  0%, 100% { box-shadow: 0 16px 40px rgba(232,93,4,.6), 0 0 0 0 rgba(232,93,4,.5); }
  50%      { box-shadow: 0 16px 40px rgba(232,93,4,.8), 0 0 0 20px rgba(232,93,4,0); }
}
.fv-info .fv-cat {
  display: inline-block;
  background: rgba(232,93,4,.12);
  color: var(--or);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.fv-info h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--nv);
  line-height: 1.25;
  margin-bottom: 16px;
}
.fv-info p { font-size: .9rem; color: var(--tl); line-height: 1.85; margin-bottom: 22px; }
.fv-meta { display: flex; gap: 22px; flex-wrap: wrap; margin-bottom: 22px; }
.fv-meta-item {
  display: flex; align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: var(--nv);
  font-weight: 600;
}
.fv-meta-item i { color: var(--or); font-size: .85rem; }
.fv-btn {
  display: inline-flex; align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--or), #FF6B08);
  color: #fff;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: .9rem;
  box-shadow: 0 8px 24px rgba(232,93,4,.4);
  transition: all .3s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.fv-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(232,93,4,.55); }
@media (max-width: 1100px) { .fv-wrap { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 768px)  { .fv-play { width: 70px; height: 70px; font-size: 1.4rem; } }

/* Filter */
.filter-section {
  position: sticky;
  top: 62px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  z-index: 100;
  padding: 18px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 4px 20px rgba(0,0,0,.04);
}
body.bar-on .filter-section { top: 104px; }
.filter-tabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.ftab {
  padding: 9px 20px;
  border-radius: 30px;
  border: 1.5px solid #E5E7EB;
  background: #fff;
  color: var(--tl);
  font-size: .82rem; font-weight: 600;
  cursor: pointer;
  transition: all .3s;
  font-family: var(--font-sans);
  display: flex; align-items: center;
  gap: 6px;
}
.ftab i { font-size: .72rem; }
.ftab.active,
.ftab:hover {
  background: var(--or); color: #fff; border-color: var(--or);
  box-shadow: 0 4px 14px rgba(232,93,4,.3);
  transform: translateY(-2px);
}
.ftab .count {
  background: rgba(255,255,255,.25);
  padding: 1px 8px;
  border-radius: 10px;
  font-size: .7rem;
  margin-left: 4px;
}
.ftab:not(.active) .count { background: rgba(0,0,0,.08); color: var(--tl); }

.sec-head-row { padding: 48px 0 28px; text-align: center; }
.sec-head-row h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--nv);
  font-weight: 700;
  margin-bottom: 8px;
}
.sec-head-row p { font-size: .9rem; color: var(--tl); }

/* Video grid */
.videos-main { padding: 0 0 70px; }
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1100px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px)  { .video-grid { grid-template-columns: 1fr; gap: 18px; } }

.vcard {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,.07);
  transition: all .35s;
  cursor: pointer;
  animation: vCardIn .5s ease both;
}
.vcard:hover { transform: translateY(-7px); box-shadow: 0 18px 44px rgba(0,0,0,.15); }
.vcard.hidden { display: none; }
.vc-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #1B2A4A; }
.vc-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s; }
.vcard:hover .vc-thumb img { transform: scale(1.08); }
.vc-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,.1) 0%, transparent 50%, rgba(0,0,0,.45) 100%);
}
.vc-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 62px; height: 62px;
  background: rgba(255,255,255,.95);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--or);
  font-size: 1.15rem;
  padding-left: 4px;
  box-shadow: 0 10px 28px rgba(0,0,0,.3);
  z-index: 3;
  transition: all .3s;
  border: none;
}
.vcard:hover .vc-play {
  transform: translate(-50%, -50%) scale(1.15);
  background: var(--or);
  color: #fff;
}
.vc-dur {
  position: absolute;
  bottom: 10px; right: 10px;
  background: rgba(0,0,0,.75);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  z-index: 2;
  backdrop-filter: blur(4px);
}
.vc-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--or);
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  z-index: 2;
}
.vc-badge.new { background: #10B981; }
.vc-badge.hot { background: #EF4444; }
.vc-body { padding: 18px 20px; }
.vc-cat {
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 6px;
}
.vc-ttl {
  font-size: .98rem;
  font-weight: 700;
  color: var(--nv);
  line-height: 1.45;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.84rem;
}
.vc-dsc {
  font-size: .8rem;
  color: var(--tl);
  line-height: 1.7;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vc-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid #F0F2F5;
  font-size: .72rem;
  color: var(--tl);
}
.vc-foot i { color: var(--or); margin-right: 4px; }
@keyframes vCardIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Video modal */
.vmodal {
  position: fixed; inset: 0;
  background: rgba(8,12,28,.96);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: all .3s;
  padding: 30px;
  backdrop-filter: blur(8px);
}
.vmodal.on { opacity: 1; visibility: visible; }
.vmodal-content {
  width: 100%;
  max-width: 1100px;
  aspect-ratio: 16/9;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
  background: #000;
  transform: scale(.92);
  transition: transform .35s;
}
.vmodal.on .vmodal-content { transform: scale(1); }
.vmodal-content iframe { width: 100%; height: 100%; border: none; display: block; }
.vm-video { display: none; width: 100%; height: 100%; object-fit: contain; background: #000; }
.vc-dur-icon { font-size: .65rem; }
.vmodal-close {
  position: absolute;
  top: 24px; right: 28px;
  background: rgba(255,255,255,.12);
  border: none;
  color: #fff;
  cursor: pointer;
  width: 50px; height: 50px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  transition: all .3s;
  font-family: inherit;
  backdrop-filter: blur(8px);
}
.vmodal-close:hover { background: var(--or); transform: scale(1.08); }
.vmodal-cap {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #fff;
  max-width: 80vw;
}
.vmodal-cap .vmc-cat {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gd);
  margin-bottom: 5px;
}
.vmodal-cap .vmc-ttl { font-size: 1rem; font-weight: 600; line-height: 1.4; }
@media (max-width: 768px) {
  .vmodal-close { top: 14px; right: 14px; width: 42px; height: 42px; font-size: 1.1rem; }
  .vmodal-cap { display: none; }
  .vmodal { padding: 12px; }
}

/* CTA */
.cta-section {
  background: linear-gradient(135deg, var(--nv), var(--nv2));
  padding: 60px 0;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 25% 50%, rgba(232,93,4,.18), transparent 55%),
    radial-gradient(circle at 75% 50%, rgba(255,183,3,.12), transparent 55%);
  pointer-events: none;
}
.cta-section h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 14px;
  position: relative; z-index: 2;
}
.cta-section p {
  color: rgba(255,255,255,.7);
  margin-bottom: 26px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-size: .95rem;
  line-height: 1.85;
  position: relative; z-index: 2;
}
.cta-btns {
  display: flex; gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative; z-index: 2;
}
.cta-btns a {
  display: inline-flex; align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: .9rem;
  transition: all .3s;
}
.cta-pr {
  background: linear-gradient(135deg, var(--or), #FF6B08);
  color: #fff;
  box-shadow: 0 8px 24px rgba(232,93,4,.45);
}
.cta-pr:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(232,93,4,.6); }
.cta-ol {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.3);
}
.cta-ol:hover { background: rgba(255,255,255,.16); border-color: #fff; transform: translateY(-3px); }
@media (max-width: 768px) { .cta-btns a { width: 100%; justify-content: center; } }
