/* Working Process Section - Timeline Redesign with Connectors */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px 40px;
  margin-top: 100px;
  position: relative;
}



.process-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 50px 30px 40px;
  border-radius: var(--radius);
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.process-item::after {
  content: none;
}

/* Cầu nối giữa các bước (chỉ desktop, dạng 3 cột) */
@media (min-width: 1025px) {
  .process-item::after {
    content: "";
    position: absolute;
    top: 30px; /* gần vị trí vòng số */
    right: -40px;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    opacity: 0.4;
    pointer-events: none;
  }

  /* Ngắt cầu nối sau bước 3 và bước 6 (1→2→3, 4→5→6) */
  .process-item:nth-child(3)::after,
  .process-item:nth-child(6)::after {
    content: none;
  }
}

/* Vô hiệu hóa highlight khi hover (chỉ dùng hiệu ứng tự động với is-active) */
.process-item:hover {
  border-color: inherit;
  transform: none;
  background: inherit;
  box-shadow: none;
}

.process-item:hover::after {
  opacity: inherit;
  right: -35px;
}

/* Trạng thái active dùng cho hiệu ứng tự động (giống hover) */
.process-item.is-active {
  border-color: var(--accent);
  transform: translateY(-10px);
  background: var(--accent-soft);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.process-item.is-active::after {
  opacity: 0.8;
  right: -45px;
}

/* Active cũng áp dụng hiệu ứng cho vòng số và icon như hover */
.process-item.is-active .process-number-circle {
  background: var(--accent);
  color: #020813;
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(15, 23, 42, 0.85);
}

.process-item.is-active .process-icon {
  background: var(--accent);
  color: #020813;
  transform: rotateY(180deg);
}

/* Hiệu ứng "nhảy/bật" khi chuyển từ ô này sang ô kế tiếp */
@keyframes processJumpIn {
  0%   { transform: translateY(0) scale(1); box-shadow: 0 0 0 rgba(0,0,0,0); }
  35%  { transform: translateY(-18px) scale(1.035); box-shadow: 0 45px 90px rgba(0,0,0,0.65); }
  70%  { transform: translateY(-8px) scale(1.01); }
  100% { transform: translateY(-10px) scale(1); }
}

@keyframes processIconFlipIn {
  0%   { transform: rotateY(0deg) scale(0.95); }
  60%  { transform: rotateY(220deg) scale(1.05); }
  100% { transform: rotateY(180deg) scale(1); }
}

.process-item.is-enter {
  animation: processJumpIn 650ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.process-item.is-enter .process-icon {
  animation: processIconFlipIn 650ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.process-number-circle {
  position: absolute;
  top: -30px;
  left: 30px;
  width: 60px;
  height: 60px;
  background: var(--bg);
  border: 2px solid var(--accent);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  z-index: 5;
  transition: 0.4s;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.process-item:hover .process-number-circle {
  background: var(--bg);
  color: var(--accent);
  transform: none;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.process-icon {
  width: 55px; height: 55px;
  background: rgba(95, 180, 255, 0.12);
  color: var(--accent);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 25px;
  transition: 0.5s;
}

.process-item:hover .process-icon {
  background: rgba(95, 180, 255, 0.12);
  color: var(--accent);
  transform: none;
}

.process-item h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

.process-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 1024px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 80px 30px; }
}

@media (max-width: 768px) {
  .process-grid { grid-template-columns: 1fr; }
  .process-item { padding: 45px 25px 35px; }
}

:root {
  /* Nền tổng thể tông xanh rất đậm */
  --bg: #020813;
  --bg-card: #071427;

  /* Màu chữ */
  --text: #f9fbff;
  --text-muted: #94a3b8;

  /* Màu nhấn mới (thay vàng) */
  --accent: #5fb4ff;
  --accent-soft: rgba(95, 180, 255, 0.16);
  /* Alias cho các chỗ còn dùng tên biến cũ */
  --gold: var(--accent);
  --gold-hover: #8fd0ff;

  /* Viền & container */
  --line: rgba(148, 163, 184, 0.35);
  --container: 1200px;
  --radius: 12px;
}

:root {
  --gold: #c5a059;
  --gold-hover: #e1c27a;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { font-size: 24px; font-weight: 800; color: var(--gold); letter-spacing: 2px; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }

.nav-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #d6af6a, #f5e1b5);
  color: #111827;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.nav-call-btn i {
  font-size: 16px;
}

.nav-call-btn span {
  font-size: 13px;
}

.nav-call-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.55);
}

/* Dropdown */
.nav-item-dropdown { position: relative; }
.nav-link-with-icon { display: inline-flex; align-items: center; gap: 6px; }
.nav-item-dropdown .dropdown-menu {
  position: absolute;
  top: 100%; left: 0;
  min-width: 200px;
  background: #111;
  border-radius: 8px;
  padding: 8px 0;
  margin-top: 8px;
  box-shadow: 0 18px 35px rgba(0,0,0,0.65);
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 50;
}
.nav-item-dropdown .dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 12px;
  color: var(--text-muted);
}
.nav-item-dropdown .dropdown-menu li a:hover {
  background: rgba(197,160,89,0.12);
  color: var(--gold);
}
.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1; visibility: visible;
  transform: translateY(0);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(120deg, rgba(2, 8, 19, 0.96), rgba(7, 31, 58, 0.94)),
    url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&q=80&w=2000');
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero h1 {
  font-size: clamp(40px, 8vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 30px;
  text-transform: uppercase;
  color: var(--gold);
}
.hero-sub { color: var(--accent); font-size: 14px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 20px; display: block; }
.hero-btns { display: flex; gap: 20px; }

/* Global Sections */
.section-padding { padding: 100px 0; }
.section-tag {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 15px;
  text-align: center;
}
.section-title {
  font-size: 36px;
  text-align: center;
  margin-bottom: 50px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
}

/* Tinh chỉnh riêng cho section video để không dư khoảng trống dưới */
.video-section2.section-padding {
  padding-top: 80px;
  padding-bottom: 50px;
}

/* Services Section (Redesign) */
.services { position: relative; overflow: hidden; }
.services::before {
  content: "";
  position: absolute;
  inset: -2px 0 auto 0;
  height: 220px;
  background: radial-gradient(600px 180px at 20% 20%, rgba(95,180,255,0.22), transparent 60%),
              radial-gradient(520px 160px at 80% 0%, rgba(148,163,184,0.16), transparent 55%);
  pointer-events: none;
}
.services-header { max-width: 820px; }
.services-title {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
}
.services-subtitle { color: var(--text-muted); line-height: 1.7; margin: 0; }

.services-grid {
  display: flex;
  gap: 30px;
  align-items: stretch;
}

.services-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  flex: 1.2;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 30px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(95,180,255,0.7);
  background: linear-gradient(180deg, rgba(8,47,73,0.95), rgba(15,23,42,0.9));
}

.service-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  color: #020813;
  background: var(--accent);
  box-shadow: 0 10px 20px rgba(15,23,42,0.75);
  margin-bottom: 5px;
}

.service-card__icon i { font-size: 18px; }

.service-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card__title {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  line-height: 1.4;
}

.service-card__desc { margin: 0; font-size: 13px; line-height: 1.6; color: var(--text-muted); }

/* Service Card as link */
.service-card--link {
  display: flex;
  text-decoration: none;
  color: inherit;
}

.service-card__link {
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
}

.service-card--link:hover .service-card__link {
  color: #fff;
}

.services-media { 
  flex: 0.8;
  display: flex;
  flex-direction: column;
  height: auto;
}

.services-media__frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  background: #0b0b0b;
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
  flex: 1;
}
.services-media__frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.services-media__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1), rgba(0,0,0,0.55));
}

.services-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.services-badge {
  border-radius: 16px;
  padding: 12px 12px;
  background: rgba(15,23,42,0.95);
  border: 1px solid rgba(95,180,255,0.4);
  text-align: center;
}
.services-badge__num {
  font-weight: 800;
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 0.5px;
}
.services-badge__text { font-size: 11px; color: rgba(255,255,255,0.75); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

.services-cta {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.services-cta .btn-gold,
.services-cta .btn-outline { flex: 1; text-align: center; }

@media (max-width: 1024px) {
  .services-grid { flex-direction: column; }
  .services-media { position: relative; top: auto; }
  .services-media__frame { min-height: 380px; }
}

@media (max-width: 640px) {
  .services-title { font-size: 26px; }
  .services-cards { grid-template-columns: 1fr; }
  .services-badges { grid-template-columns: 1fr; }
  .services-cta { flex-direction: column; }
}

/* Why Choose Us Section (Redesign) */
.why {
  position: relative;
  background: linear-gradient(180deg, rgba(2,8,23,0.9), rgba(7,26,48,0.96)),
              url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&q=80&w=2000');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.why-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 340px at 20% 10%, rgba(95,180,255,0.24), transparent 60%),
    radial-gradient(700px 300px at 85% 25%, rgba(148,163,184,0.22), transparent 55%),
    linear-gradient(180deg, rgba(2,8,23,0.35), rgba(2,6,23,0.9));
  pointer-events: none;
}

.why .container { position: relative; z-index: 1; }

.why-header-row {
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;
}

.why-title {
  font-size: 38px;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 18px;
  color: var(--gold);
}

.text-gold { color: var(--gold); }

.why-desc {
  color: var(--text-muted);
  line-height: 1.75;
}

.why-body-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.why-features-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.why-features-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.why-feature-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  padding: 22px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  transition: all 0.35s ease;
}

.why-feature-item:hover {
  transform: translateY(-5px);
  border-color: rgba(197,160,89,0.6);
  background: rgba(197,160,89,0.05);
}

.why-feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #000;
  box-shadow: 0 15px 35px rgba(15,23,42,0.5);
}

.why-feature-icon i { font-size: 20px; }

.why-feature-text h4 {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 15px;
}

.why-feature-text p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}

.why-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  height: 100%;
}

.stat-card {
  position: relative;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.35s ease;
}

.stat-card:hover {
  transform: scale(1.03);
  border-color: var(--accent);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.stat-card-inner {
  padding: 30px 20px;
}

.stat-number {
  font-size: 44px;
  font-weight: 900;
  color: #fff;
}

.stat-suffix {
  font-size: 28px;
  font-weight: 900;
  color: var(--accent);
}

.stat-label {
  margin-top: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 11px;
  color: rgba(255,255,255,0.6);
}

@media (max-width: 1024px) {
  .why-body-row { grid-template-columns: 1fr; }
  .why-title { font-size: 32px; }
}

@media (max-width: 640px) {
  .why-stats-grid { grid-template-columns: 1fr; }
  .why-feature-item { padding: 18px; }
}

/* Video Section 2 (Main Player + List) */
.video-section2 {
  background: radial-gradient(circle at top left, rgba(95,180,255,0.18), transparent 55%), #020813;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.video-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 2fr);
  gap: 32px;
  margin-top: 40px;
  align-items: flex-start; /* Để player cao hơn, danh sách gọn hơn */
}

.video-layout__sidebar {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
}

.video-sidebar__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 14px;
}

.video-sidebar__title {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}

.video-sidebar__count {
  font-size: 12px;
  color: var(--text-muted);
}

.video-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 320px; /* danh sách thấp hơn khung video */
  overflow-y: auto;
  padding-right: 6px;
}

.video-list::-webkit-scrollbar {
  width: 8px;
}

.video-list::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.12);
  border-radius: 999px;
}

.video-list__row { margin: 0; padding: 0; }

.video-list__item {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.35);
  border-radius: 14px;
  padding: 10px;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  cursor: pointer;
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
  text-align: left;
  color: #fff;
}

.video-list__item:hover {
  border-color: rgba(197, 160, 89, 0.65);
  background: rgba(197, 160, 89, 0.05);
  transform: translateY(-2px);
}

.video-list__item.is-active {
  border-color: rgba(197, 160, 89, 0.95);
  background: rgba(197, 160, 89, 0.08);
  box-shadow: 0 18px 50px rgba(0,0,0,0.55);
}

.video-list__thumb {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000;
  display: block;
}

.video-list__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.03);
  transition: transform 0.6s ease;
}

.video-list__item:hover .video-list__thumb img,
.video-list__item.is-active .video-list__thumb img {
  transform: scale(1.08);
}

.video-list__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.video-list__name {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.video-list__hint {
  font-size: 12px;
  color: var(--text-muted);
}

.video-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.video-pager__btn {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  color: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
  transition: 0.25s;
  font-size: 12px;
}

.video-pager__btn:hover {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
}

.video-pager__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.video-pager__info {
  font-size: 12px;
  color: var(--text-muted);
}

.video-layout__player {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 40px 120px rgba(0,0,0,0.75);
  height: 100%;
}

.video-player__frame {
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}

.video-player__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-player__meta {
  padding: 14px 6px 0;
}

.video-player__meta-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.video-player__label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.video-player__title {
  font-size: 18px;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  color: var(--gold);
}

.video-player__fullscreen {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.25s;
  flex: 0 0 auto;
}

.video-player__fullscreen:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
}

/* Video Lightbox 2 */
.video-lightbox2 {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.video-lightbox2.is-active { display: flex; }

.video-lightbox2__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(14px);
}

.video-lightbox2__dialog {
  position: relative;
  width: min(1180px, 100%);
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 50px 140px rgba(0,0,0,0.9);
  border: 1px solid rgba(255,255,255,0.08);
}

.video-lightbox2__frame {
  width: 100%;
  height: 100%;
  background: #000;
  padding: 4px;
  box-sizing: border-box;
  border-radius: 18px;
  border: 2px solid var(--gold);
}

.video-lightbox2__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-lightbox2__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(0,0,0,0.65);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  cursor: pointer;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: 0.25s;
}

.video-lightbox2__close:hover {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
}

/* Search Section Styles */
.search-section {
    background: #000000;
}

.search-section-category {
    background: var(--bg);
}

.search-section-post {
    background: #000000;
}

.search-box-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 50px;
}

.search-input-group {
    display: flex;
    gap: 10px;
}

.search-input-group input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    padding: 10px 20px;
    outline: none;
    font-size: 16px;
}

.search-input-group button {
    border-radius: 50px;
}

/* Portfolio */
.portfolio-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.portfolio-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;

  /* Viền xanh */
  border: 1px solid rgba(95, 180, 255, 0.55);
  box-shadow: 0 18px 55px rgba(0,0,0,0.45);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.portfolio-item > a {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
}

/* Ảnh full khung */
.portfolio-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  opacity: 0.92;
  transform: scale(1.02);
  transition: transform 0.6s ease, filter 0.6s ease, opacity 0.6s ease;
}

/* Lớp phủ để ảnh nổi và "đẹp mắt" hơn */
.portfolio-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 220px at 20% 15%, rgba(95,180,255,0.22), transparent 60%),
    linear-gradient(180deg, rgba(2,8,19,0.05) 0%, rgba(0,0,0,0.78) 92%);
  z-index: 1;
  pointer-events: none;
}

.portfolio-item:hover {
  transform: translateY(-6px);
  border-color: rgba(95, 180, 255, 0.95);
  box-shadow: 0 28px 80px rgba(0,0,0,0.65);
}

.portfolio-item:hover .portfolio-img {
  transform: scale(1.10);
  filter: saturate(1.08) contrast(1.05);
  opacity: 1;
}

.portfolio-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 26px 22px;
  z-index: 2; /* nằm trên overlay */
}

.portfolio-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  font-size: 10px;
  color: #fff;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(95, 180, 255, 0.85);
}

.portfolio-title {
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.5px;
  line-height: 1.35;
  text-shadow: 0 10px 30px rgba(0,0,0,0.75);

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* Buttons */
.btn-gold {
  background: var(--accent);
  color: #020813;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  cursor: pointer;
  border: 0;
  box-shadow: 0 18px 40px rgba(15,23,42,0.75);
}
.btn-outline { border: 1px solid var(--line); color: #fff; padding: 14px 30px; border-radius: 999px; font-weight: 700; text-transform: uppercase; font-size: 13px; }

/* Footer */
.footer { background: #020617; padding: 80px 0 40px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 2fr; gap: 40px; margin-bottom: 60px; }
.footer h4 { color: var(--accent); margin-bottom: 25px; font-size: 14px; text-transform: uppercase; }
.footer-links li { margin-bottom: 12px; font-size: 14px; color: var(--text-muted); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 30px; text-align: center; font-size: 12px; color: var(--text-muted); }

/* Floating Contact Widget */
.contact-floating {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-floating__item {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 8, 19, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: 0 16px 40px rgba(0,0,0,0.7);
  color: #fff;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.contact-floating__item:hover {
  transform: translateY(-3px) scale(1.03);
  border-color: var(--accent);
  background: rgba(15, 23, 42, 0.98);
}

.contact-floating__item i {
  font-size: 20px;
}

@media (max-width: 640px) {
  .contact-floating {
    right: 16px;
    bottom: 16px;
  }
}

/* Intro Section */
.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: stretch;
}

.intro-title {
  margin: 0 0 16px;
  font-size: 34px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  line-height: 1.2;
}

.intro-desc {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.8;
}

.intro-cta {
  display: flex;
  gap: 12px;
  margin-top: 26px;
}

.intro-cta .btn-gold,
.intro-cta .btn-outline {
  flex: 0 0 auto;
}

.intro-highlights {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.intro-highlights__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.intro-highlight {
  border-radius: 18px;
  padding: 16px 16px;
  background: rgba(15,23,42,0.95);
  border: 1px solid rgba(95,180,255,0.35);
}

.intro-highlight__num {
  font-weight: 900;
  color: #fff;
  font-size: 24px;
  letter-spacing: 0.5px;
}

.intro-highlight__text {
  margin-top: 6px;
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.intro-media {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  background: #0b0b0b;
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
}

.intro-media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

/* Portfolio Tabs */
.portfolio-tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 0 auto 22px;
  flex-wrap: wrap;
}

.portfolio-tab {
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.25);
  color: rgba(255,255,255,0.82);
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 12px;
  transition: 0.25s;
}

.portfolio-tab:hover {
  border-color: rgba(95,180,255,0.7);
  transform: translateY(-1px);
}

.portfolio-tab.is-active {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
  box-shadow: 0 18px 50px rgba(0,0,0,0.45);
}

/* Feedback */
.feedback-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.feedback-card {
  border-radius: 18px;
  padding: 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}

.feedback-card__head {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.feedback-avatar {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #000;
  font-weight: 900;
}

.feedback-name {
  font-weight: 800;
  letter-spacing: 0.5px;
}

.feedback-sub {
  margin-top: 2px;
  font-size: 12px;
  color: var(--text-muted);
}

.feedback-stars {
  color: var(--gold);
  display: inline-flex;
  gap: 2px;
  white-space: nowrap;
}

.feedback-text {
  color: rgba(255,255,255,0.82);
  line-height: 1.75;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .video-layout { grid-template-columns: 1fr; }
  .intro-grid { grid-template-columns: 1fr; }
  .feedback-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .services-layout { grid-template-columns: 1fr; }
  .hero h1 { font-size: 40px; }
  .footer-grid { grid-template-columns: 1fr; }
  .video-layout { gap: 18px; }
  .video-layout__sidebar, .video-layout__player { padding: 14px; }
  .video-list__item { grid-template-columns: 108px minmax(0, 1fr); }
  .intro-cta { flex-direction: column; }
  .intro-highlights__grid { grid-template-columns: 1fr; }
  .feedback-grid { grid-template-columns: 1fr; }
}
