/* Base layout để đảm bảo mỗi khung full màn hình và bố cục đẹp cơ bản.
   Vẫn giữ liên kết tới css_xoa_sau/index.css theo yêu cầu. */
:root {
  --primary: #2D91FA;
  --dark: #051229;
  --text: #000;
  --muted: #666;
  --light: #fff;
  --bg-alt: #E1E8F0;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: #fff;
}

header.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: transparent;
  padding-top: 20px;
}
.nav { max-width: 1335px; margin: 0 auto; padding: 0 20px; }
.header-bar { background: rgba(85,85,85,0.4); border-radius: 8px; height: 100px; display: flex; align-items: center; padding: 0 24px; gap: 24px; }
.logo { width: 180px; height: 60px; background: transparent; display: grid; place-items: center; font-weight: 700; color: #fff; }
.logo img { max-height: 60px; width: auto; display:block; }
.nav-links { margin-left: auto; display: flex; gap: 40px; height:100%; }
.nav-links a { color: #fff; text-decoration: none; font-weight: 700; font-size: 18px; position: relative; display:flex; align-items:center; height:100%; padding:0 16px; }
.nav-links a::after{ content:""; position:absolute; left:0; right:0; bottom:-6px; height:2px; background:#2D91FA; transform:scaleX(0); opacity:0; transition: transform .2s ease, opacity .2s ease; }
.nav-links a:hover{ color:#E8F1FF; }
.nav-links a:hover::after{ transform:scaleX(1); opacity:1; }
.nav-links a.active{ background:#2D91FA; color:#fff; border-radius:0; }
.nav-links a.active::after{ opacity:0; }

/* Mobile menu button */
.btn-menu { display:none; margin-left:auto; background:transparent; border:none; width:40px; height:40px; cursor:pointer; }
.btn-menu span{ display:block; height:3px; background:#fff; margin:6px 0; border-radius:2px; }
.mobile-menu { position: fixed; inset:0; background: rgba(0,0,0,.4); opacity:0; pointer-events:none; transition: opacity .2s; z-index: 1000; }
.mobile-menu .sheet{ position:absolute; right:0; top:0; bottom:0; width: 80vw; max-width:360px; background: var(--dark); color:#fff; transform: translateX(100%); transition: transform .25s; display:flex; flex-direction:column; }
.mobile-menu .sheet-head{ display:flex; align-items:center; justify-content:space-between; padding:12px 14px; border-bottom:1px solid rgba(255,255,255,.15); }
.mobile-menu .sheet .logo img{ max-height:40px; }
.btn-close{ background:transparent; border:none; color:#fff; font-size:20px; cursor:pointer; }
.sheet-links{ display:grid; padding:10px; gap:4px }
.sheet-links a{ color:#fff; text-decoration:none; display:block; padding:10px 12px; border-radius:8px; font-weight:700 }
.sheet-links a:visited{ color:#fff }
.sheet-links a.active{ background: rgba(45,145,250,.18); color:#fff }
.sheet-links a:hover{ background: rgba(255,255,255,.06); color:#E8F1FF }
html.menu-open .mobile-menu{ opacity:1; pointer-events:auto; }
html.menu-open .mobile-menu .sheet{ transform: translateX(0); }

/* Section mặc định không còn full-viewport để tránh khoảng cách dọc quá lớn */
section { min-height: auto; display: block; overflow: visible; }
.container { max-width: 1280px; margin: 0 auto; padding: 24px; width: 100%; }

/* 1. Hero */
.hero {
  /* Nền video hoặc ảnh */
  position: relative;
  background: #0a1b33;
  overflow: hidden;
  contain: layout paint style;
}
.hero { min-height: 100vh; display:flex; align-items:center; }
.hero video.bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
  backface-visibility: hidden; transform: translateZ(0);
  will-change: transform;
  pointer-events: none;
}
/* Tránh blur nặng ở hero để cuộn mượt hơn */
.hero [data-reveal] { filter: none; }
.hero [data-reveal] { transition: opacity .45s ease, transform .45s ease; }
.hero::before { /* lớp phủ tông xanh */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,32,64,0.55), rgba(0,64,112,0.55));
}
.hero::after { /* mờ nhẹ phía trên cho header nổi */
  content: ""; position: absolute; left:0; right:0; top:0; height: 160px;
  background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.25) 60%, rgba(0,0,0,0) 100%);
}
.hero .container { position: relative; z-index: 1; padding-top: 160px; }
.hero h1 { font-size: 56px; margin: 12px 0; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.subtitle { font-size: 48px; font-weight: 700; margin-top: 6px; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.cta-btn { display: inline-flex; align-items: center; gap: 12px; background: #fff; border-radius: 40px; padding: 12px 20px 12px 10px; margin-top: 18px; }
.cta-btn .circle { width: 44px; height: 44px; border-radius: 50%; background: var(--primary); display: grid; place-items: center; color: #fff; font-size: 22px; font-weight: 700; }

/* 2. About */
.about { background: var(--bg-alt); overflow: hidden; }
.grid-2 { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.ph-img { background: #d9d9d9; border-radius: 8px; width: 100%; aspect-ratio: 4/5; }
.kpi-wrap { position: relative; }
.kpi-circle { position: absolute; right: 0; bottom: -10px; width: 220px; height: 220px; border-radius: 50%; background: #fff; display: grid; place-items: center; text-align: center; padding: 12px; }
.kpi-circle strong { color: var(--primary); font-size: 64px; line-height: 1; }
.label { color: #2D91FA; font-weight: 800; font-size: 20px; letter-spacing: .02em; display:inline-block; font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial; }
/* Force color (tránh bị xám/nhạt) cho nhãn và heading ở khối About */
.about .kpi-wrap .label{ color:#2D91FA !important; opacity:1 !important; }
.about .kpi-wrap h2{ color:#111 !important; opacity:1 !important; filter:none !important; }
.check-list { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 40px; font-size: 20px; }
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px;
  background: no-repeat center/24px 24px url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230088FF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6L9 17l-5-5'/></svg>");
}
.btn-pill { display: inline-flex; align-items: center; gap: 10px; background: #fff; border-radius: 40px; padding: 10px 18px 10px 8px; margin-top: 8px; font-weight: 700; color: #000; text-decoration: none; transition: transform .15s ease, box-shadow .2s ease; }
.btn-pill:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,.12); }
.btn-pill .circle { width: 38px; height: 38px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 20px; }
/* Careers: nút gửi và nút chọn tệp dùng font Inter */
.apply-submit, .apply-submit span, .file-row .btn-file { font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial !important; }

/* Toast/Popup thông báo chung */
.toast { position: fixed; left: 50%; top: 24px; transform: translateX(-50%) translateY(-10px); min-width: 280px; max-width: 92vw; z-index: 2000; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(0,0,0,.1); background: #0b0b0b; color: #fff; box-shadow: 0 14px 34px rgba(13,19,33,.22); display: grid; grid-auto-flow: column; gap: 12px; align-items: center; opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; font-weight: 700; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.toast .circle { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(180deg,#2D91FA,#0075FF); display: grid; place-items: center; }
.toast.success { background: #0b1f0b; border-color: #14532d; }
.toast.success .circle { background: linear-gradient(180deg,#22c55e,#16a34a); }
.toast.error { background: #2a0b0b; border-color: #7f1d1d; }
.toast.error .circle { background: linear-gradient(180deg,#ef4444,#dc2626); }
.toast .msg { white-space: pre-wrap; }
.toast .close { margin-left: 6px; background: transparent; border: none; color: #fff; opacity: .8; cursor: pointer; font-weight: 800; }
@media (max-width: 640px){ .toast { top: 12px; padding: 12px; border-radius: 10px; } }

/* Modal trung tâm màn hình */
.modal-backdrop{ position: fixed; inset: 0; background: rgba(0,0,0,.45); opacity: 0; pointer-events: none; transition: opacity .25s ease; z-index: 2100; }
.modal-backdrop.show{ opacity: 1; pointer-events: auto; }
.modal{ position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.96); opacity: 0; z-index: 2110; transition: opacity .25s ease, transform .25s ease; pointer-events: none; }
.modal.show{ opacity: 1; transform: translate(-50%, -50%) scale(1); pointer-events: auto; }
.modal .box{ width: 88vw; max-width: 520px; min-height: 180px; background: #fff; border: 1px solid #CED7E0; border-radius: 14px; box-shadow: 0 18px 48px rgba(13,19,33,.22); padding: 20px; display: grid; gap: 12px; font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial; }
.modal .head{ display:flex; align-items:center; gap: 12px; }
.modal .head .circle{ width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(180deg,#2D91FA,#0075FF); color:#fff; display:grid; place-items:center; font-weight:900; }
.modal.success .head .circle{ background: linear-gradient(180deg,#22c55e,#16a34a); }
.modal.error .head .circle{ background: linear-gradient(180deg,#ef4444,#dc2626); }
.modal .head h3{ margin:0; font-size: 26px; font-weight: 900; color:#0b0b0b }
.modal .content{ color:#334866; font-size: 16px; line-height: 1.7 }
.modal .actions{ display:flex; justify-content:flex-end; gap: 10px; margin-top: 6px }
.btn-modal{ display:inline-flex; align-items:center; gap:10px; background:#0b0b0b; color:#fff; border:none; border-radius:999px; padding: 10px 16px 10px 12px; font-weight:800; cursor:pointer; font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial; }
.btn-modal .circle{ width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(180deg,#2D91FA,#0075FF); display:grid; place-items:center; }

/* Modal biến thể nền xám đậm (giống form contact) */
.modal.contact-dark .box{ background: #06152D; border-color: #334155; }
.modal.contact-dark .head h3{ color:#fff; }
.modal.contact-dark .head{ position: relative; }
.modal.contact-dark .btn-close-x{ margin-left:auto; background:#fff; border:none; width:34px; height:34px; border-radius:999px; display:inline-grid; place-items:center; cursor:pointer; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.modal.contact-dark .btn-close-x .ico{ color:#2D91FA; font-size:22px; line-height:1; font-weight:900; transform: translateY(-1px); }
.modal.contact-dark .btn-close-x:hover{ background:#f0f6ff; }
.modal.contact-dark .btn-close-x:active{ transform: scale(.98); }
.modal.contact-dark .content{ color: #C7D3EA; }
.modal.contact-dark .form .label{ color:#C7D3EA; }
.modal.contact-dark .form .input,
.modal.contact-dark .form .textarea,
.modal.contact-dark .form .select{ background:#06152D; color:#E8F1FF; border: none; border-bottom: 1px solid #4B5D7A; }
.modal.contact-dark .form .input::placeholder,
.modal.contact-dark .form .textarea::placeholder{ color:#9BB0D3; }
.modal.contact-dark .form .select{ -webkit-appearance:none; -moz-appearance:none; appearance:none; }
.modal.contact-dark .form .select option,
.modal.contact-dark .form .select optgroup{ background:#06152D; color:#E8F1FF; }
.modal.contact-dark .form .select-wrap svg{ stroke:#C7D3EA; }

/* Hover swap arrow/text: áp dụng cho hero CTA, pill, contact CTA, submit */
.cta-btn, .btn-pill, .btn-cta, .btn-submit { position: relative; overflow: hidden; gap: 12px; }
.cta-btn, .btn-pill, .btn-cta, .btn-submit { transition: background .28s ease, color .28s ease; }
.cta-btn .circle, .btn-pill .circle, .btn-cta .circle, .btn-submit .circle { transition: transform .28s ease, background .28s ease; }
.cta-btn span:not(.circle), .btn-pill span:not(.circle), .btn-cta span:not(.circle), .btn-submit span:not(.circle) { transition: transform .28s ease, color .28s ease; display:inline-block; }
/* trạng thái hover: swap vị trí (mũi tên sang phải), nền xanh nhạt, chữ trắng */
.cta-btn:hover, .btn-pill:hover, .btn-cta:hover, .btn-submit:hover { background: #4aa3ff; color: #fff; flex-direction: row-reverse; padding-left: 20px; padding-right: 20px; }
.cta-btn:hover .circle, .btn-pill:hover .circle, .btn-cta:hover .circle, .btn-submit:hover .circle { transform: translateX(4px); }
.cta-btn:hover span:not(.circle), .btn-pill:hover span:not(.circle), .btn-cta:hover span:not(.circle), .btn-submit:hover span:not(.circle) { transform: translateX(-4px); color:#fff; }
/* màu mũi tên trong circle giữ trắng, nền circle giữ nguyên */
.cta-btn .circle svg, .btn-cta .circle svg, .btn-submit .circle svg { transition: stroke .28s ease; stroke:#fff; }

/* 3. Services */
.services { background: #fff; overflow: hidden; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 24px; }
.card { border: 1px solid rgba(0,0,0,.2); border-radius: 6px; padding: 22px; background: #fff; display: flex; flex-direction: column; gap: 14px; min-height: 520px; transition: box-shadow .15s ease, transform 0s, border-color .15s ease, background .12s ease, color .12s ease; will-change: transform; position: relative; }
.card:hover { box-shadow: 0 20px 44px rgba(13,19,33,.18); transform: translateY(-6px) scale(1.04); border-color: transparent; background: #2D91FA; color:#fff; z-index: 2; }
/* Chuẩn hoá badge -> kiểu chữ xanh như label (không nền, không viền) */
.badge { background: transparent !important; border: none !important; border-radius: 0 !important; padding: 0 !important; display: inline-block; color: #2D91FA !important; font-weight: 800; letter-spacing: .02em; font-size:20px !important; font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial; }
.icon-circle { width: 56px; height: 56px; border-radius: 50%; background: #E8F2FF; display: grid; place-items: center; transition: background .18s ease, transform .18s ease; }
.card:hover .icon-circle { background: rgba(255,255,255,.18); transform: scale(1.04); }
.icon-circle svg { width: 28px; height: 28px; stroke: #0088FF; stroke-width: 4; fill: none; stroke-linecap: round; stroke-linejoin: round; transition: stroke .18s ease; }
.card:hover .icon-circle svg { stroke: #fff; }
.ord { color: #b4b4b4; font-weight: 700; letter-spacing: .06em; transition: color .18s ease; }
.card h3 { margin: 0; font-size: 24px; transition: color .18s ease; }
.card p { color: #333; line-height: 1.55; transition: color .18s ease; }
.card:hover .ord, .card:hover h3, .card:hover p { color:#fff; }
.link-arrow { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #000; text-decoration: none; transition: color .18s ease; }
.link-arrow svg { width: 22px; height: 22px; stroke: #1a1a1a; stroke-width: 2.2; fill: none; transition: transform .18s ease, stroke .18s ease; }
.card:hover .link-arrow { color:#fff; }
.card:hover .link-arrow svg { stroke:#fff; }
.link-arrow:hover { color: var(--primary); }
.link-arrow:hover svg { transform: translateX(4px); }
.service-dots { display:flex; gap:14px; justify-content:center; margin-top: 26px; }
.service-dots .dot { width: 12px; height: 12px; border-radius: 50%; background: #D9D9D9; }
.service-dots .dot.active { background: #0075FF; }

/* 3b. Applied Solutions */
.applied { background:#EEF5FF; overflow: hidden; }
.split-2 { display:grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.img-side { border-radius: 10px; overflow: hidden; height: 72vh; min-height: 520px; background: url('https://images.unsplash.com/photo-1485217988980-11786ced9454?q=80&w=1600&auto=format&fit=crop') center/cover no-repeat; }
.applied .badge { color: #2D91FA; background:transparent; display:inline-block; font-weight:800; letter-spacing:.02em; }
.applied h2 { font-size: 52px; margin: 10px 0 18px; line-height:1.15; font-weight: 900; }
.applied-title { display: grid; gap: 6px; }
.applied-title span { display: block; }
.applied p { color:#4A5568; font-size:18px; line-height:1.8; max-width: 680px; margin: 0 0 16px; }
.applied p strong { color:#0b0b0b; font-weight: 800; }
.applied .container { padding-top: 56px; padding-bottom: 56px; }
.kpis { display:flex; gap: 56px; margin-top: 28px; flex-wrap:wrap; }
.kpi-ring { width: 210px; height: 210px; display:grid; place-items:center; }
.kpi-ring svg { width: 210px; height: 210px; display:block; }
.kpi-ring .ring {
  width: 160px; height: 160px; border-radius: 50%;
  background: conic-gradient(#2D91FA var(--val, 0%), #E8F2FF 0);
  display:grid; place-items:center;
}
/* SVG style cho giao diện vòng tròn cũ */
.kpi-svg { transform: rotate(-90deg); }
.kpi-track { stroke: #E8F2FF; }
.kpi-progress { stroke: #0075FF; transition: stroke-dashoffset .2s linear; }
.kpi-ring .ring::after {
  content: ""; width: 120px; height: 120px; border-radius: 50%; background:#fff; display:block;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}
.kpi-ring .num { position: absolute; inset: 0; display: grid; place-items: center; font-size: 36px; font-weight: 800; z-index: 1; }
.kpi-ring .caption { margin-top: 12px; max-width: 240px; text-align:center; color:#6b7280; }

@media (max-width: 1024px) {
  .split-2 { grid-template-columns: 1fr; }
  .img-side { height: 40vh; }
}

/* 4. Team */
.team { background:#fff; overflow: hidden; }
/* Không cần full màn cho section team */
#team { min-height: auto; align-items: flex-start; overflow: hidden; }
.team .container { padding-top: 40px; padding-bottom: 40px; }
.team .badge { color: var(--primary); font-weight: 800; }
.team h2 { font-size: 44px; line-height: 1.2; margin: 10px 0 28px; font-weight: 900; }
.team-photos { display:flex; gap: 40px; justify-content: center; align-items: center; flex-wrap: wrap; margin: 10px 0 24px; }
.team-photos .ph { width: 360px; height: 440px; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 20px rgba(0,0,0,.08); background:#d9d9d9; background-position:center; background-size: cover; transition: transform .25s ease, box-shadow .25s ease, filter .25s ease; position: relative; }
.team-photos .ph:hover { transform: translateY(-4px) scale(1.015); box-shadow: 0 16px 32px rgba(0,0,0,.12), 0 0 0 3px rgba(45,145,250,.45), 0 10px 40px rgba(45,145,250,.35); filter: drop-shadow(0 8px 24px rgba(45,145,250,.35)); }
.team-photos .ph::before { content:""; position:absolute; inset:0; background: transparent; transition: background .25s ease; }
.team-photos .ph:hover::before { background: transparent; }
.team-photos .ph::after { content:""; position:absolute; inset:0; border-radius:12px; box-shadow: 0 0 0 0 rgba(45,145,250,0); transition: box-shadow .25s ease; pointer-events:none; }
.team-photos .ph:hover::after { box-shadow: 0 0 0 3px rgba(45,145,250,.85); }
.team-photos .ph .info { position:absolute; left:0; right:0; bottom:0; padding:14px 16px; background: #2D91FA; color:#fff; transform: translateY(0); transition: transform .25s ease, background .25s ease; display:grid; gap:4px; }
.team-photos .ph .info .name { font-weight: 900; }
.team-photos .ph .info .role { opacity:.9; font-size: 14px; }
.team .stats-pill { display:inline-block; padding: 10px 16px; border-radius: 999px; background: #F3F7FF; border: 1px solid #E3EEFF; font-weight: 700; color:#0b0b0b; }
.team .stats-pill .hl { color: var(--primary); font-weight: 800; }

/* 5. Testimonials */
.testimonials { background: #fff; overflow: hidden; }
.testimonials .container { padding-top: 56px; padding-bottom: 56px; }
.testimonials .badge { color: var(--primary); font-weight: 800; }
.testimonials h2 { font-size: 40px; line-height: 1.25; margin: 10px 0 24px; font-weight: 900; }
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; }
.ph-rect { background:#d9d9d9; border-radius: 12px; width: 100%; aspect-ratio: 4/3; overflow: hidden; background-position:center; background-size: cover; transition: transform .25s ease; }
.ph-rect:hover { transform: translateY(-3px); }
.quote { color: #4A5568; font-size: 18px; line-height: 1.8; background:#fff; padding: 0 8px; }
.testimonials .quote{ transition: opacity .35s ease, transform .35s ease }
.testimonials .quote.switch-out{ opacity:0; transform: translateY(6px) }
.testimonials .quote.switch-in{ opacity:1; transform: none }
.nav-area { position: relative; height: 145px; margin-top: 28px; }
.nav-area .decor { position:absolute; left:0; right:-24px; top:0; bottom:0; z-index:1 }
.nav-area .decor svg { width: 100%; height: 100%; display:block }
/* Speaker info block */
.nav-area .speaker{ position:absolute; left: 18px; bottom: -20px; display:flex; align-items:center; gap:14px; z-index:2 }
.nav-area .speaker .avatar{ width: 100px; height: 100px; border-radius:50%; background:#d9d9d9; border:1px solid #E3EEFF }
.nav-area .speaker .who{ display:grid; gap:4px }
.nav-area .speaker .who .name{ font-weight:800; color:#0b0b0b }
.nav-area .speaker .who .title{ color:#6b7280; font-size:14px }
.nav-area .speaker .who .company{ color:#6b7280; font-size:14px }
/* Smooth swap for speaker */
.nav-area .speaker{ transition: opacity .35s ease, transform .35s ease }
.nav-area .speaker.switch-out{ opacity:0; transform: translateY(6px) }
.nav-area .speaker.switch-in{ opacity:1; transform: none }
/* Arrows */
.testimonials .nav-arrows{ position:absolute; right: 0; top: 8px; bottom: auto; display:flex; gap:14px; z-index:3 }
.nav-arrows .btn-circle{ width:48px; height:48px; border-radius:999px; border:1px solid #E3EEFF; background:#fff; display:grid; place-items:center; cursor:pointer }
.nav-arrows .btn-circle:hover{ background:#F6FAFF; border-color:#cde1ff }
.nav-arrows .btn-circle svg{ width:22px; height:22px; stroke:#6b7280; stroke-width:2.2; fill:none }

/* 6. (legacy team grid removed) */
/* Divider/Sector between sections */
.divider { background:#F7FAFF; min-height: auto !important; }
.divider .container { padding-top: 20px; padding-bottom: 28px; }
.divider .row { display:flex; align-items:center; gap: 18px; }
.divider .line { height: 1px; background: #E3EEFF; flex: 1; }
.stats-pill { display:inline-block; padding: 10px 16px; border-radius: 999px; background: #F3F7FF; border: 1px solid #E3EEFF; font-weight: 700; color:#0b0b0b; }
.stats-pill .hl { color: var(--primary); font-weight: 800; }
.divider .logos { position:relative; overflow:visible; padding-top: 18px; padding-bottom:24px; mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.85) 10%, #000 20%, #000 80%, rgba(0,0,0,.85) 90%, rgba(0,0,0,0) 100%); }
.divider .track { display:flex; gap: 22px; width: max-content; animation: marquee 28s linear infinite; }
.divider .logos:hover .track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.divider .logo-item { width: 352px !important; height: 160px !important; border-radius: 16px; background: #EAF1FF; border:1px solid #E3EEFF; display:grid; place-items:center; color:#9AA7C7; font-weight:800; transition: transform .18s ease-out, box-shadow .2s ease, background .2s ease, color .2s ease; will-change: transform; transform-origin: center bottom; }
.divider .logo-item > div { width: 320px !important; height: 128px !important; background-size: contain !important; background-position: center !important; background-repeat: no-repeat !important; }
@media (max-width: 1024px){
  .divider .logo-item { width: 256px !important; height: 120px !important; }
  .divider .logo-item > div { width: 232px !important; height: 96px !important; }
}
@media (max-width: 640px){
  .divider .track.no-marquee { gap: 12px; }
  .divider .logo-item { width: 208px !important; height: 96px !important; }
  .divider .logo-item > div { width: 184px !important; height: 80px !important; }
}
.divider .logo-item:hover { transform: translateY(-6px) scale(1.1); box-shadow: 0 10px 18px rgba(13,19,33,.12); background:#EFF5FF; color:#7E8FB0; z-index:2; }
/* Tắt chạy khi ít logo: thêm class no-marquee */
.divider .logos.no-marquee { mask-image: none; }
.divider .track.no-marquee { width: 100%; animation: none; justify-content: center; align-items: center; }

/* 7. Contact Form */
.contact { background: #06152D; color: #E8F1FF; }
.contact .container { padding-top: 64px; padding-bottom: 64px; }
.split-ct { display:grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.contact .badge { color: var(--primary); font-weight: 800; margin-bottom: 8px; display:inline-block; }
.contact h2 { font-size: 48px; line-height:1.18; margin: 6px 0 10px; font-weight: 900; color: #fff; }
.contact .lead { color: #C7D3EA; max-width: 460px; line-height: 1.7; font-size: 16px; }
.btn-cta { display:inline-flex; align-items:center; gap: 10px; margin-top: 18px; background:#fff; color:#0b0b0b; border:none; border-radius: 999px; padding: 10px 16px 10px 8px; font-weight:800; cursor:pointer; font-family: inherit; font-size:16px; transition: transform .15s ease, box-shadow .2s ease; }
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,.12); }
.btn-cta .circle { width: 34px; height: 34px; border-radius:50%; background: linear-gradient(180deg,#2D91FA,#0075FF); display:grid; place-items:center; }
.btn-cta .circle svg { width: 16px; height: 16px; stroke:#fff; stroke-width:3; fill:none; }

/* Right panel */
.panel { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 10px; padding: 28px; }
.form { display:grid; grid-template-columns: 1fr; gap: 20px; }
.field { display:flex; flex-direction:column; gap:8px; }
.label { font-size: 14px; color:#C7D3EA; font-weight: 600; }
.input, .textarea, .select { width:100%; padding: 12px 2px; background: var(--dark); border: none; border-bottom: 1px solid #4B5D7A; color:#E8F1FF; outline:none; font-family: inherit; font-size: 16px; }
.input::placeholder, .textarea::placeholder { color:#9BB0D3; }
.textarea { min-height: 112px; }
.select-wrap { position:relative; }
.select { -webkit-appearance: none; -moz-appearance: none; appearance: none; background-color: var(--dark); color:#E8F1FF; }
.select option, .select optgroup { background-color: var(--dark); color:#E8F1FF; }
.select:focus { border-bottom-color: var(--primary); }
.select-wrap svg { position:absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; stroke:#C7D3EA; stroke-width:2; pointer-events: none; }
.actions-ct { display:flex; justify-content:flex-end; }
.btn-submit { display:inline-flex; align-items:center; gap:10px; background:#fff; color:#0b0b0b; border:none; border-radius:999px; padding: 10px 16px 10px 8px; font-weight:800; cursor:pointer; font-family: inherit; font-size:16px; transition: transform .15s ease, box-shadow .2s ease; }
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,.12); }
.btn-submit .circle { width: 34px; height: 34px; border-radius:50%; background: linear-gradient(180deg,#2D91FA,#0075FF); display:grid; place-items:center; }
.btn-submit .circle svg { width: 16px; height: 16px; stroke:#fff; stroke-width:3; fill:none; }
@media (max-width: 1024px){ .split-ct { grid-template-columns: 1fr; } }

/* 8. CTA Banner */
.cta-banner { background: #0075FF; color: #fff; display:flex; align-items: center; height: 246px; min-height: auto !important; }
.cta-banner .container { padding-top: 0; padding-bottom: 0; width: 100%; }
.cta-banner .row { display:flex; justify-content: space-between; align-items: center; gap: 20px; }
.cta-banner h2 { margin: 0; font-size: 60px; line-height: 1; font-weight: 700; letter-spacing: 0; }
.cta-btn { display:inline-flex; align-items:center; gap: 8px; background:#fff; color:#0b0b0b; border:none; border-radius:999px; padding: 10px 16px 10px 8px; font-weight:800; cursor:pointer; text-decoration:none; font-size: 16px; transition: transform .15s ease, box-shadow .2s ease; }
.cta-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 26px rgba(0,0,0,.14); }
.cta-btn .circle { width: 34px; height: 34px; border-radius:50%; background: #2D91FA; display:grid; place-items:center; }
.cta-btn .circle svg { width: 16px; height: 16px; stroke:#fff; stroke-width:3; fill:none; }

/* Footer */
footer { background: var(--dark); color: #fff; }
footer section.footer { min-height: auto; display: block; }
.footer-cta { background:#0075FF; color:#fff; display:flex; align-items:center; height: 180px; }
.footer-cta .container { padding-top:0; padding-bottom:0; width:100%; }
.footer-cta .row { display:flex; justify-content: space-between; align-items:center; gap:20px; }
.footer-cta h2 { margin:0; font-size:44px; line-height:1; font-weight:700; }
.footer-cta .cta-btn { display:inline-flex; align-items:center; gap:8px; background:#fff; color:#0b0b0b; border:none; border-radius:999px; padding:10px 16px 10px 8px; font-weight:800; text-decoration:none; font-size:16px; }
/* Fix: hover ở footer cần đổi nền xanh nhạt và swap giống các nút khác */
.footer-cta .cta-btn:hover { background:#4aa3ff; color:#fff; flex-direction:row-reverse; padding-left:20px; padding-right:20px; }
.footer-cta .cta-btn:hover .circle { transform: translateX(4px); }
.footer-cta .cta-btn .circle { width:34px; height:34px; border-radius:50%; background:#2D91FA; display:grid; place-items:center; }
.footer-cta .cta-btn .circle svg { width:16px; height:16px; stroke:#fff; stroke-width:3; fill:none; }
.footer .container { padding-top: 16px; padding-bottom: 12px; }
.footer-wrap { display:grid; grid-template-columns: 140px 1fr; gap: 24px; align-items: start; }
.footer-side { padding-right: 24px; border-right: 1px solid rgba(255,255,255,.18); display:flex; align-items:flex-start; justify-content:flex-end; }
.footer-side .side-title { color:#E8F1FF; opacity:.9; font-weight: 700; }
.footer-main { padding-left: 24px; }
.footer-grid { display: grid; grid-template-columns: 1.1fr .9fr 1fr; gap: 32px; }
.footer-grid h3, .footer-grid h4 { margin: 6px 0; }
.footer-grid h3 { font-size: 22px; }
.footer-grid h4 { font-size: 18px; }
.footer-grid p, .footer-grid li, .footer-grid a { color:#C7D3EA; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.footer-grid ul { gap: 10px !important; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.18); margin-top: 18px; padding-top: 12px; display: flex; justify-content: center; align-items: center; color:#AFC0D8; font-size: 14px; }

/* Responsive */
@media (max-width: 1024px) {
  .grid-2, .split { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .solutions .cards, .team-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .kpi-circle { position: static; margin-top: 16px; }
  .nav-links { display: none; }
  .btn-menu { display: inline-block; }
  html.menu-open, html.menu-open body { overflow: hidden; }
}
@media (max-width: 640px) {
  /* Layout chung */
  section { min-height: auto; }
  .container { padding: 18px; }

  /* Header */
  .header-bar { height: 68px; padding: 0 12px; }
  .logo { width: auto; height: 52px; }
  .logo img { max-height: 52px; width: auto; display:block; }
  .nav { padding: 8px; }
  .nav-links { display: none; }
  .btn-menu { display: inline-block; }

  /* Hero */
  .hero { min-height: 70vh; }
  .hero .container { padding-top: 120px; max-width: 100%; width: 100%; padding-left: 18px; padding-right: 18px; }
  .hero h1 { font-size: 38px; }
  .subtitle { font-size: 30px; }
  .cta-btn { padding: 8px 14px 8px 8px; }
  .cta-btn .circle { width: 36px; height: 36px; font-size: 18px; }

  /* About */
  .grid-2 { grid-template-columns: 1fr; gap: 20px; }
  .ph-img { aspect-ratio: 4/3; }
  .kpi-circle { width: 160px; height: 160px; }
  .kpi-circle strong { font-size: 48px; }
  .kpi-wrap {
    display: grid;
    grid-template-columns: 1fr 160px;
    grid-template-areas:
      "label label"
      "h2 h2"
      "p p"
      "list kpi"
      "btn btn";
    column-gap: 12px; row-gap: 12px;
  }
  .kpi-wrap .label { grid-area: label; }
  .kpi-wrap h2 { grid-area: h2; }
  .kpi-wrap > p { grid-area: p; }
  .kpi-wrap .check-list { grid-area: list; margin: 0; }
  .kpi-wrap .kpi-circle { grid-area: kpi; margin-top: 0; justify-self: end; }
  .kpi-wrap .btn-pill { grid-area: btn; margin-top: 6px; justify-self: center; }
  .kpi-wrap .check-list li { display:grid; grid-template-columns: 20px 1fr; align-items:center; column-gap:8px; padding-left:0; font-size: 16px; }
  .kpi-wrap .check-list li::before { position: static; transform:none; width: 18px; height: 18px; background-size: 18px 18px; }

  /* Services */
  .cards, .solutions .cards { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .team-grid, .news-grid { grid-template-columns: 1fr; }
  .cards { margin-top: 16px; }
  .card { min-height: unset; padding: 14px; border-radius: 10px; gap: 10px; }
  .icon-circle { width: 44px; height: 44px; }
  .ord { font-size: 12px; color:#6b7280; }
  .card h3 { font-size: 18px; margin: 6px 0; }
  .card p { font-size: 14px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  /* Lint fix: thêm chuẩn line-clamp (không phải trình duyệt nào cũng hỗ trợ) */
  .card p { line-clamp: 3; }
  .link-arrow { font-size: 14px; gap: 8px; }
  .link-arrow svg { width: 18px; height: 18px; }

  /* Applied */
  .split-2 { grid-template-columns: 1fr; gap: 18px; }
  .img-side { height: 240px; min-height: 240px; }
  .applied h2 { font-size: 32px; }
  .applied p { font-size: 16px; }
  .applied .container { padding-bottom: 96px; }
  .kpis { gap: 24px; justify-content: center; margin-bottom: 32px; }
  .kpi-ring { width: 170px; height: 170px; }
  .kpi-ring svg { width: 170px; height: 170px; }
  .kpi-ring .num { font-size: 28px; }
  .kpi-ring .caption { max-width: 220px; padding: 0 4px; margin: 8px auto 0; overflow-wrap: anywhere; }

  /* Rất nhỏ (điện thoại 320-380px) */
  @media (max-width: 380px) {
    .kpis { gap: 16px; }
    .kpi-ring { width: 150px; height: 150px; }
    .kpi-ring svg { width: 150px; height: 150px; }
    .kpi-progress, .kpi-track { stroke-width: 12px !important; }
    .kpi-ring .num { font-size: 24px; }
  }

  /* Team */
  .team h2 { font-size: 32px; }
  .team-photos { gap: 12px; overflow-x: auto; overflow-y: hidden; flex-wrap: nowrap; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 6px; }
  .team-photos::-webkit-scrollbar{ height:6px }
  .team-photos::-webkit-scrollbar-thumb{ background:#e3eeff; border-radius:999px }
  .team-photos .ph { flex: 0 0 calc(50% - 10px); width: calc(50% - 10px); max-width: none; height: auto; aspect-ratio: 3/4; scroll-snap-align: start; }
  /* Hiển thị lại khung tên, đảm bảo chiều cao đồng nhất */
  .team-photos .ph { position: relative; }
  .team-photos .ph .info{ display:grid; position:absolute; left:0; right:0; bottom:0; padding:12px 14px; background:#2D91FA; color:#fff; border-bottom-left-radius:12px; border-bottom-right-radius:12px; min-height:72px; height:28%; align-content:center; }
  .team-photos .ph .info .name{ font-weight:900; font-size:14px }
  .team-photos .ph .info .role{ font-size:12px; opacity:.95 }

  /* Divider */
  .divider .row { gap: 10px; }
  .stats-pill { padding: 8px 12px; font-size: 14px; }

  /* Testimonials */
  .testimonials .container { padding-top: 28px; padding-bottom: 44px; }
  .split { grid-template-columns: 1fr; gap: 16px; }
  .testimonials h2 { font-size: 28px; }
  .ph-rect { aspect-ratio: 16/10; }
  .quote { font-size: 16px; }
  .nav-area { height: auto; margin-top: 10px; margin-bottom: 16px; display:flex; flex-direction:column; align-items:center; gap:12px; }
  .nav-area .decor { display:none !important; }
  .nav-area .speaker{ position:static; left:auto; bottom:auto; gap:12px; text-align:left; justify-content:center; }
  .nav-area .speaker .avatar{ width: 80px; height: 80px }
  .testimonials .nav-arrows{ position:static; right:auto; top:auto; bottom:auto; gap:10px; justify-content:center; }
  .nav-arrows .btn-circle { width: 42px; height: 42px }

  /* Căn giữa tiêu đề và mô tả theo yêu cầu */
  #about h2, #about > p { text-align:center; margin-left:auto; margin-right:auto; }
  #services .container > .badge, #services .container > h2 { text-align:center; margin-left:auto; margin-right:auto; }
  #applied .container > .badge, #applied .container > h2, #applied .container > p { text-align:center; margin-left:auto; margin-right:auto; }
  #team .container > .badge, #team .container > h2 { text-align:center; margin-left:auto; margin-right:auto; }
  #testimonials .container > .badge, #testimonials .container > h2 { text-align:center; margin-left:auto; margin-right:auto; }

  /* Căn giữa pill badge/label ở tất cả section */
  section .container > .badge,
  section .container > .label { display: table; margin: 0 auto 8px; }

  /* Contact */
  .contact .container { padding-top: 36px; padding-bottom: 36px; }
  .split-ct { grid-template-columns: 1fr; gap: 18px; }
  .contact h2 { font-size: 34px; }
  .contact .lead { font-size: 15px; }
  .panel { padding: 18px; }

  /* CTA banner */
  .cta-banner { height: 120px; }
  .cta-banner h2 { font-size: 24px; }
  .cta-btn { padding: 6px 10px 6px 6px; font-size: 13px; }
  .cta-btn .circle { width: 24px; height: 24px; }
  /* Footer CTA giữ kích cỡ chuẩn trên mobile */
  .footer-cta { height: 120px; }
  .footer-cta h2 { font-size: 24px; }
  .footer-cta .cta-btn { padding:10px 16px 10px 8px; font-size:16px; }
  .footer-cta .cta-btn .circle { width:34px; height:34px; }

  /* Footer */
  .footer-wrap { grid-template-columns: 1fr; }
  .footer-side { border-right: none; justify-content: flex-start; padding-right: 0; }
  .footer-main { padding-left: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 16px; }
  .footer-grid h3 { font-size: 20px; }
  .footer-grid h4 { font-size: 16px; }
  .foot-bottom { font-size: 12px; }

  /* Animation nhẹ hơn trên mobile */
  [data-reveal] { transition-duration: .5s; filter: none; }
}
/* Reveal Animations */
[data-reveal] { opacity: 0; transform: translateY(22px); filter: blur(4px); transition: opacity .6s ease, transform .6s ease, filter .6s ease; }
[data-reveal].show { opacity: 1; transform: none; filter: none; }
[data-reveal="left"] { transform: translateX(-26px); }
[data-reveal="right"] { transform: translateX(26px); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
/* Fix: ưu tiên transform khi hover sau khi phần tử đã .show từ reveal */
.card.show:hover,
[data-reveal].show.card:hover { transform: translateY(-6px) scale(1.04) !important; z-index: 2; }
