/* ═══════════════════════════════════════════════════════════
   HUNG GIA GROUP — Trang Năng Lực Doanh Nghiệp
   Prefix: nl-
═══════════════════════════════════════════════════════════ */

/* ── HERO ─────────────────────────────────────────────────── */
.nl-hero {
  position: relative;
  padding: 140px 0 100px !important;
  background-size: cover !important;
  background-position: center !important;
}
.nl-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(to right, transparent, #C9A840, transparent);
  z-index: 2;
}
.nl-eyebrow {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.3em;
  text-transform: uppercase; color: #C9A840;
  width: 100%;
}
.nl-eyebrow::before, .nl-eyebrow::after {
  content: ''; display: inline-block;
  width: 32px; height: 1px; background: rgba(201,168,64,0.5);
}

.nl-hero-title,
.nl-hero-title h3,
.nl-hero-title .section-title-main {
  font-family: 'Playfair Display', serif !important;
  font-size: clamp(2.5rem, 5vw, 4rem) !important;
  color: #fff !important;
  line-height: 1.2 !important;
  text-transform: none !important;
  text-align: center !important;
  width: 100% !important;
  margin: 0 auto 32px !important;
  max-width: 900px;
}
.nl-hero-title b, .nl-hero-title span { font-weight: inherit !important; border: none !important; }
.nl-hero-title { border: none !important; }

/* ── SECTION LABEL (dùng chung) ───────────────────────────── */
.nl-section-label {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.25em;
  text-transform: uppercase; color: #C9A840;
  margin-bottom: 14px; width: 100%;
}
.nl-section-label.left { justify-content: flex-start; }
.nl-section-label::before {
  content: ''; display: inline-block;
  width: 28px; height: 1px; background: #C9A840;
}

/* ── THỐNG KÊ (STATS BOX) ─────────────────────────────────── */
.nl-stat-box {
  background: #ffffff !important;
  border: 1px solid rgba(201,168,64,0.15) !important;
  padding: 40px 30px !important;
  text-align: center;
  border-radius: 12px !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.03) !important;
  transition: all 0.3s ease !important;
  height: 100%;
}
.nl-stat-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(201,168,64,0.1) !important;
  border-color: rgba(201,168,64,0.4) !important;
}
.nl-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #C9A840;
  line-height: 1;
  margin-bottom: 12px;
  display: block;
}
.nl-stat-desc {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0D1B2A;
}

/* ── NĂNG LỰC (CAPABILITY CARDS) ──────────────────────────── */
.nl-capability-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 4/5;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
/* Fallback if user uses ux_image as background */
.nl-capability-bg {
  position: absolute; top:0; left:0; width:100%; height:100%;
  background: #1a2a3a; /* Fallback color */
  z-index: 1;
  transition: transform 0.7s ease;
}
.nl-capability-card:hover .nl-capability-bg {
  transform: scale(1.05);
}
.nl-capability-overlay {
  position: absolute; top:0; left:0; width:100%; height:100%;
  background: linear-gradient(to top, rgba(13,27,42,0.95) 0%, rgba(13,27,42,0.4) 50%, transparent 100%);
  z-index: 2;
}
.nl-capability-content {
  position: relative; z-index: 3;
  padding: 40px 32px;
  transition: transform 0.4s ease;
}
.nl-capability-content h3 {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.8rem !important; font-weight: 700 !important;
  color: #fff !important; margin-bottom: 16px !important;
  text-transform: none !important;
}
.nl-capability-content p {
  font-size: 15px !important; color: rgba(255,255,255,0.8) !important;
  line-height: 1.6 !important; margin-bottom: 0 !important;
  opacity: 0; transform: translateY(20px);
  transition: all 0.4s ease 0.1s;
}
.nl-capability-card:hover .nl-capability-content p {
  opacity: 1; transform: translateY(0);
}
.nl-capability-card:hover .nl-capability-content {
  transform: translateY(-10px);
}

/* ── ĐỐI TÁC (PARTNERS) ───────────────────────────────────── */
.nl-partner-grid {
  display: flex; flex-wrap: wrap; gap: 20px; justify-content: center;
}
.nl-partner-item {
  width: calc(20% - 16px);
  min-width: 160px;
  aspect-ratio: 3/2;
  background: #fff;
  border: 1px solid #EDE8DC;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #6B5E4E; font-size: 18px;
  transition: all 0.3s;
}
.nl-partner-item:hover {
  border-color: #C9A840;
  color: #0D1B2A;
  box-shadow: 0 4px 15px rgba(201,168,64,0.1);
  transform: translateY(-2px);
}
@media(max-width: 850px) {
  .nl-partner-item { width: calc(33.333% - 14px); }
}
@media(max-width: 550px) {
  .nl-partner-item { width: calc(50% - 10px); }
}

/* ── CONTENT BLOCK ────────────────────────────────────────── */
.nl-content-block {
  padding-left: 32px;
  border-left: 3px solid #C9A840;
}
.nl-content-block p {
  font-size: 1.15rem; color: #6B5E4E; line-height: 1.8;
}
