/* ============================================================
   AQUAMAN BDS - Homepage Template CSS
   Based on Empire Realty design, rewritten clean
   ============================================================ */

/* --- 1. CSS Variables & Reset --- */
:root {
  --primary: #1a5091;
  --primary-dark: #0d3a6e;
  --primary-light: #2d6cbf;
  --gold: #e8811c;
  --text-dark: #1a2440;
  --text-base: #4a4a4a;
  --text-light: #888;
  --text-white: #fff;
  --bg-dark: #1a2440;
  --bg-darker: #0d1a30;
  --bg-light: #f5f8fc;
  --bg-white: #fff;
  --border: #d8e4f0;
  --overlay: rgba(13, 35, 70, 0.65);
  --overlay-light: rgba(13, 35, 70, 0.3);
  --shadow: 0 2px 15px rgba(26,80,145,0.08);
  --shadow-hover: 0 8px 30px rgba(26,80,145,0.18);
  --radius: 6px;
  --transition: all 0.3s ease;
  --font-main: 'Montserrat', sans-serif;
  --font-accent: 'Roboto', sans-serif;
  --container: 1170px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-base);
  background: var(--bg-white);
  overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-light); }

img { max-width: 100%; height: auto; display: block; }

ul, ol { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 15px;
}

/* --- 2. Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2rem;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 2px;
  margin-bottom: 5px;
}

.section-title .subtitle {
  display: block;
  font-size: 0.95rem;
  color: var(--text-light);
  letter-spacing: 1px;
  position: relative;
}

.section-title .subtitle::before,
.section-title .subtitle::after {
  content: '';
  display: inline-block;
  width: 60px;
  height: 1px;
  background: var(--primary);
  vertical-align: middle;
  margin: 0 15px;
}

/* --- 3. Top Bar --- */
.top-bar {
  background: transparent;
  border-bottom: none;
  position: relative;
  z-index: 101;
}

.top-bar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 36px;
}

.top-bar-nav {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: nowrap;
  white-space: nowrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.top-bar-nav li {
  position: relative;
}

.top-bar-nav li + li::before {
  content: '|';
  color: rgba(255,255,255,0.3);
  margin-right: 5px;
  font-size: 12px;
}

.top-bar-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  white-space: nowrap;
  text-decoration: none;
}

.top-bar-nav a:hover { color: #fff; }
.top-bar-nav a i { font-size: 14px; }

/* --- 4. Header & Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: var(--bg-dark);
  transition: var(--transition);
}

.site-header.transparent {
  background: transparent;
}

.site-header.scrolled {
  background: rgba(13, 26, 48, 0.95);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.site-header.scrolled .top-bar {
  display: none;
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  transition: var(--transition);
}

.scrolled .header-main {
  height: 70px;
}

.site-logo img {
  height: 60px;
  width: auto;
  transition: var(--transition);
}

.site-logo .logo-dark { display: none; }
.scrolled .site-logo .logo-light { display: none; }
.scrolled .site-logo .logo-dark { display: block; }

/* Trạng thái transparent: dùng logo light */
.transparent .site-logo .logo-dark { display: none; }
.transparent .site-logo .logo-light { display: block; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.main-nav > li {
  position: relative;
}

.main-nav > li > a {
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 10px 14px;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
}

.main-nav > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary-light);
  transition: var(--transition);
}

.main-nav > li:hover > a::after,
.main-nav > li.active > a::after {
  width: 80%;
}

.main-nav > li > a:hover,
.main-nav > li.active > a {
  color: var(--primary-light);
}

.main-nav > li > a .fa-angle-down {
  font-size: 11px;
  margin-left: 2px;
}

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 999;
  padding: 8px 0;
}

.main-nav > li:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown li a {
  display: block;
  padding: 8px 20px;
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 500;
}

.nav-dropdown li a:hover {
  background: var(--bg-light);
  color: var(--primary);
}

/* Mobile menu toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
}

/* --- 5. Hero Banner --- */
.hero {
  position: relative;
  height: 600px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Base overlay: uniform tint over entire hero */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 52, 0.35);
  z-index: 2;
}

/* Top gradient: smoothly blends header into hero — no seam, no horizontal stripe */
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 240px;
  background: linear-gradient(
    to bottom,
    rgba(5, 15, 40, 0.78) 0%,
    rgba(5, 15, 40, 0.38) 50%,
    transparent 100%
  );
  z-index: 3;
  pointer-events: none;
}

/* Bottom fade: creates depth under the hero text */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 180px;
  background: linear-gradient(
    to top,
    rgba(5, 15, 40, 0.55) 0%,
    transparent 100%
  );
  z-index: 3;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 4;
  text-align: center;
  color: #fff;
  padding-bottom: 80px;
  width: 75%;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 2.8rem;
  color: #fff;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.hero-content h1 span { font-weight: 300; }

.hero-typewriter {
  font-size: 1.1rem;
  font-weight: 400;
  min-height: 30px;
  color: rgba(255,255,255,0.9);
}

.hero-typewriter .cursor {
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* --- 6. Intro / Services Section --- */
/* ── Intro Section ─────────────────────────────────────────── */
.intro-section {
  position: relative;
  background: #fff;
  padding: 70px 0 64px;
  overflow: hidden;
}

/* Subtle dot-grid texture (navy on white) */
.intro-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(26,80,145,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* Gold separator line at bottom */
.intro-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,129,28,0.45), transparent);
}

/* Quote */
.intro-quote {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 500;
  color: #3d4f66;
  max-width: 820px;
  margin: 0 auto 56px;
  line-height: 1.85;
  letter-spacing: 0.2px;
}

.intro-quote strong {
  color: #1a5091;
  font-weight: 700;
}

/* Decorative opening quote mark */
.intro-quote::before {
  content: 'ĐXMT';
  display: block;
  font-size: 0.72rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  letter-spacing: 7px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.85;
  margin-bottom: 14px;
}

/* Highlight key phrase */
.intro-quote em {
  color: var(--gold);
  font-style: normal;
  font-weight: 600;
}

/* Services grid -- 3 cards */
.services-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid rgba(26,80,145,0.12);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(26,80,145,0.07);
}

/* Each card */
.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 32px 32px;
  gap: 0;
  border-right: 1px solid rgba(26,80,145,0.1);
  background: #fff;
  transition: background 0.3s ease;
  position: relative;
}

.service-card:last-child {
  border-right: none;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 20%; right: 20%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.35s ease;
  border-radius: 2px;
}

.service-card:hover {
  background: #f8fbff;
}

.service-card:hover::after {
  transform: scaleX(1);
}

/* Icon circle */
.service-card .service-icon {
  width: 68px;
  height: 68px;
  background: rgba(26,80,145,0.07);
  border: 1.5px solid rgba(26,80,145,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
  transition: background 0.3s, border-color 0.3s;
}

.service-card:hover .service-icon {
  background: rgba(232,129,28,0.1);
  border-color: rgba(232,129,28,0.4);
}

.service-card .service-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(22%) sepia(62%) saturate(600%) hue-rotate(197deg);
  opacity: 0.85;
  transition: filter 0.3s, opacity 0.3s;
}

.service-card:hover .service-icon img {
  filter: brightness(0) saturate(100%) invert(52%) sepia(72%) saturate(500%) hue-rotate(358deg);
  opacity: 1;
}

.service-card h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1a5091;
  margin: 0 0 10px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  transition: color 0.3s;
}

.service-card:hover h4 {
  color: var(--gold);
}

.service-card p {
  font-size: 13px;
  line-height: 1.75;
  color: #5a6e85;
  margin: 0;
  transition: color 0.3s;
}

.service-card:hover p {
  color: #3d4f66;
}

/* Responsive */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .service-card { border-bottom: 1px solid rgba(26,80,145,0.1); }
  .service-card:nth-child(2n) { border-right: none; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; border: none; gap: 1px; }
  .service-card { border-right: none; border-radius: 6px; background: #f5f8fc; }
}

/* --- 7. Brand Gallery Marquee --- */
.brand-gallery-section {
  position: relative;
  background: var(--bg-dark);
  overflow: hidden;
  padding-bottom: 0;
}

/* Gold accent line at top */
.brand-gallery-section::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--gold) 20%,
    #ffc04d 50%,
    var(--gold) 80%,
    transparent 100%);
  z-index: 5;
}

.brand-gallery-header {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 44px 20px 28px;
}

.partner-f1 {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
}

.partner-f1 strong {
  color: #fff;
  font-weight: 700;
}

.partner-f1 .typewriter-inline {
  color: var(--gold);
  font-weight: 600;
  font-style: italic;
}

/* --- 8. Marquee track --- */
.brand-gallery-wrapper {
  position: relative;
  overflow: hidden;
  cursor: grab;
  padding-bottom: 60px;
  user-select: none;
  -webkit-user-select: none;
}

.brand-gallery-wrapper:active {
  cursor: grabbing;
}

/* Prevent ghost image on drag */
.brand-gallery-item img {
  pointer-events: none;
}

/* GLightbox anchor — covers the whole card */
.brand-gallery-item a.glightbox {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 4;
}

/* Zoom icon on hover (only while marquee is paused) */
.brand-gallery-item a.glightbox::after {
  content: '00e';
  font-family: 'Font Awesome 6 Free', 'FontAwesome';
  font-weight: 900;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  color: transparent;
  font-size: 2rem;
  transition: transform 0.3s ease, color 0.3s ease;
  pointer-events: none;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}

.brand-gallery-wrapper:hover .brand-gallery-item:hover a.glightbox::after {
  color: rgba(255,255,255,0.9);
  transform: translate(-50%,-50%) scale(1);
}

.brand-gallery-track {
  display: flex;
  gap: 10px;
  width: max-content;
  will-change: transform;
  /* Animation handled by JS requestAnimationFrame for drag support */
}

/* Each image card */
.brand-gallery-item {
  flex: 0 0 360px;
  height: 360px;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: #0d1a3a;
}

.brand-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
}

.brand-gallery-wrapper:hover .brand-gallery-item:hover img {
  transform: scale(1.05);
}

/* Gradient overlay */
.brand-gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,22,52,0.7) 0%,
    rgba(10,22,52,0.15) 45%,
    transparent 70%
  );
  z-index: 1;
  pointer-events: none;
}

/* Caption */
.brand-gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 12px 14px;
  z-index: 2;
}

.brand-gallery-caption span {
  display: inline-block;
  background: rgba(232,129,28,0.9);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Fade edges for depth */
.brand-gallery-fade {
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  pointer-events: none;
  z-index: 3;
}

.brand-gallery-fade--left {
  left: 0;
  background: linear-gradient(to right, var(--bg-dark) 0%, transparent 100%);
}

.brand-gallery-fade--right {
  right: 0;
  background: linear-gradient(to left, var(--bg-dark) 0%, transparent 100%);
}

/* Responsive */
@media (max-width: 768px) {
  .brand-gallery-item {
    flex: 0 0 260px;
    height: 260px;
  }
  .brand-gallery-fade { width: 60px; }
}

@media (max-width: 480px) {
  .brand-gallery-item {
    flex: 0 0 200px;
    height: 200px;
  }
  .brand-gallery-fade { width: 40px; }
}

/* --- 9. About Section --- */
.about-section {
  padding: 60px 0 80px;
}

.about-row {
  display: flex;
  align-items: center;
  gap: 60px;
}

.about-text {
  flex: 1;
}

.about-text .label {
  font-size: 18px;
  color: var(--primary);
  font-family: var(--font-accent);
  margin-bottom: 10px;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-text h2 strong { color: var(--primary-light); }
.about-text h2 span { font-weight: 300; color: var(--primary-light); }

.about-text .desc {
  text-align: justify;
  margin-bottom: 25px;
  line-height: 1.8;
}

.about-text .desc strong { font-weight: 700; }

/* Star rating */
.star-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
}

.star-rating .stars {
  color: #f5a623;
  font-size: 20px;
  letter-spacing: 2px;
}

.star-rating .rating-text {
  font-size: 15px;
  color: var(--text-base);
}

/* CTA Button */
.btn-outline {
  display: inline-block;
  padding: 14px 30px;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

/* About compass/visual */
.about-visual {
  flex: 1;
  position: relative;
}

.about-visual .visual-bg {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.about-visual .visual-bg img {
  width: 100%;
  height: auto;
}

.about-visual .visual-bg .overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay-light);
}

/* Compass circle */
.compass-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 340px;
  height: 340px;
}

.compass-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  animation: rotating 16s linear infinite;
}

.compass-ring::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

/* NSEW labels */
.compass-n, .compass-s, .compass-e, .compass-w {
  position: absolute;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
}

.compass-n { top: -25px; left: 50%; transform: translateX(-50%); }
.compass-s { bottom: -25px; left: 50%; transform: translateX(-50%); }
.compass-e { right: -15px; top: 50%; transform: translateY(-50%); }
.compass-w { left: -18px; top: 50%; transform: translateY(-50%); }

/* Stats inside compass */
.compass-stats {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  width: 200px;
}

.compass-stats .stat-item {
  margin-bottom: 12px;
}

.compass-stats .stat-number {
  font-size: 28px;
  font-weight: 700;
  display: block;
  line-height: 1.2;
}

.compass-stats .stat-label {
  font-size: 12px;
  opacity: 0.8;
  display: block;
}

.compass-stats .stat-item.highlight .stat-number {
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@keyframes rotating {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* --- 10. Featured Projects Section --- */
.projects-section {
  padding: 80px 0;
  background: var(--bg-white);
}

/* Featured project (large) */
.project-featured {
  display: flex;
  gap: 0;
  margin-bottom: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.project-featured:hover {
  box-shadow: var(--shadow-hover);
}

.project-featured.reverse {
  flex-direction: row-reverse;
}

.project-featured .project-image {
  width: 50%;
  position: relative;
  overflow: hidden;
}

.project-featured .project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-featured:hover .project-image img {
  transform: scale(1.05);
}

.project-featured .project-image .dev-logo {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 70px;
  height: 70px;
  object-fit: contain;
  background: rgba(255,255,255,0.9);
  border-radius: 4px;
  padding: 5px;
}

.project-featured .project-info {
  width: 50%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-featured .project-info h3 a {
  font-size: 18px;
  color: var(--primary);
  font-weight: 600;
}

.project-featured .project-info h3 a:hover {
  color: var(--primary-light);
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0;
  font-size: 13px;
}

.project-meta .location {
  color: var(--text-base);
}

.project-meta .location i {
  color: var(--primary);
  margin-right: 4px;
}

.project-meta .price {
  font-weight: 700;
  color: var(--text-dark);
}

.project-meta .price i {
  margin-right: 2px;
}

.project-type {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 12px;
}

.project-type i {
  color: var(--primary);
  margin-right: 4px;
}

.project-excerpt {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-base);
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-detail {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid var(--text-dark);
  color: var(--text-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: var(--transition);
  align-self: flex-start;
}

.btn-detail:hover {
  background: var(--text-dark);
  color: #fff;
}

/* Project grid (3 columns) */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 30px;
}

.project-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.project-card:hover {
  box-shadow: var(--shadow-hover);
}

.project-card .card-image {
  position: relative;
  padding-top: 65%;
  overflow: hidden;
}

.project-card .card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover .card-image img {
  transform: scale(1.05);
}

.project-card .card-image .dev-logo {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 55px;
  height: 55px;
  object-fit: contain;
  background: rgba(255,255,255,0.9);
  border-radius: 4px;
  padding: 4px;
  z-index: 2;
}

.project-card .card-body {
  padding: 20px;
}

.project-card .card-body h3 {
  font-size: 15px;
  margin-bottom: 8px;
}

.project-card .card-body h3 a {
  color: var(--primary);
}

.project-card .card-body h3 a:hover {
  color: var(--primary-light);
}

.project-card .card-body .project-excerpt {
  -webkit-line-clamp: 2;
  font-size: 13px;
  margin-bottom: 12px;
}

/* "Xem tất cả" center button */
.view-all-wrap {
  text-align: center;
  margin-top: 30px;
}

/* --- 11. Search Section --- */
.search-section {
  position: relative;
  padding: 100px 0;
  background: var(--bg-darker);
}

.search-section .section-bg {
  position: absolute;
  inset: 0;
}

.search-section .section-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.search-section .search-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 650px;
  margin: 0 auto;
}

.search-section .search-content p {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 30px;
  font-weight: 500;
}

.search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}

.search-form select,
.search-form input[type="text"] {
  flex: 1;
  min-width: 120px;
  padding: 12px 15px;
  border: none;
  font-size: 14px;
  font-family: var(--font-main);
  outline: none;
  background: #fff;
  color: var(--text-dark);
}

.search-form .search-btn {
  padding: 12px 20px;
  background: var(--primary-light);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: var(--transition);
}

.search-form .search-btn:hover {
  background: var(--primary);
}

.search-row-2 {
  display: flex;
  gap: 3px;
  width: 100%;
  margin-top: 3px;
}

.search-row-2 select {
  flex: 1;
  padding: 12px 15px;
  border: none;
  font-size: 14px;
  font-family: var(--font-main);
  outline: none;
  background: #fff;
  color: var(--text-dark);
}

/* --- 12. Partners Section --- */
.partners-section {
  background: var(--bg-dark);
  padding: 55px 0 45px;
  position: relative;
}
.partners-section .section-title h2 { color: #fff; }
.partners-section .section-title { margin-bottom: 0; }

.partners-marquee-outer {
  position: relative;
  margin-top: 30px;
  overflow: hidden;
}
.partners-marquee-wrapper {
  overflow: hidden;
  cursor: grab;
  user-select: none;
}
.partners-marquee-wrapper:active { cursor: grabbing; }
.partners-marquee-track {
  display: flex;
  gap: 12px;
  width: max-content;
  will-change: transform;
  align-items: center;
  padding: 8px 0;
}
.partner-item {
  flex: 0 0 180px;
  height: 78px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.03);
  transition: border-color 0.3s, background 0.3s;
}
.partner-item:hover {
  border-color: rgba(232,129,28,0.4);
  background: rgba(232,129,28,0.06);
}
.partner-item img {
  max-width: 75%;
  max-height: 52px;
  object-fit: contain;
  opacity: 0.65;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s, filter 0.3s;
}
.partner-item:hover img { opacity: 1; filter: none; }
.partner-name-card {
  text-align: center;
  padding: 8px 12px;
  width: 100%;
}
.partner-name-card strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  line-height: 1.4;
  transition: color 0.3s;
}
.partner-item:hover .partner-name-card strong { color: var(--gold); }
.partners-marquee-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  pointer-events: none;
  z-index: 2;
}
.partners-marquee-fade.left { left: 0; background: linear-gradient(to right, var(--bg-dark), transparent); }
.partners-marquee-fade.right { right: 0; background: linear-gradient(to left, var(--bg-dark), transparent); }

/* Legacy — kept for compatibility (was: partner-nav button) */
.partner-nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}
.partner-nav button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.partner-nav button:hover {
  border-color: var(--primary);
  color: var(--primary);
}

@keyframes scrollPartners {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- 13. Team Section --- */
.team-section {
  padding: 60px 0 80px;
}

.team-carousel-wrapper {
  position: relative;
}

.team-carousel {
  display: flex;
  gap: 25px;
  overflow: hidden;
}

.team-card {
  flex: 0 0 calc(25% - 19px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.team-card:hover {
  box-shadow: var(--shadow-hover);
}

.team-card .card-photo {
  position: relative;
  padding-top: 110%;
  overflow: hidden;
}

.team-card .card-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .card-photo img {
  transform: scale(1.05);
}

.team-card .card-meta {
  padding: 18px;
}

.team-card .card-meta .name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}

.team-card .card-meta .name a {
  color: var(--text-dark);
}

.team-card .card-meta .name a:hover {
  color: var(--primary);
}

/* Social contact icons */
.contact-icons {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.contact-icons a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #fff;
  transition: var(--transition);
}

.contact-icons .icon-phone { background: #0984e3; }
.contact-icons .icon-zalo { background: #0068ff; font-size: 11px; font-weight: 700; }
.contact-icons .icon-whatsapp { background: #25d366; }
.contact-icons .icon-viber { background: #7360f2; }

.contact-icons a:hover { transform: scale(1.15); }

/* Stars */
.team-stars {
  color: #f5a623;
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.team-rating {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.team-rating strong {
  color: var(--text-dark);
}

.team-bio {
  font-size: 12.5px;
  color: var(--text-base);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
  line-height: 1.6;
}

.team-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-light);
  border-top: 1px solid var(--border);
  padding-top: 10px;
}

.team-footer .views { font-size: 12px; }

.team-footer .btn-profile {
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
}

.team-footer .btn-profile:hover {
  color: var(--primary);
  letter-spacing: 0.5px;
}

/* Carousel controls */
.carousel-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
}

.carousel-nav button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: var(--transition);
  color: var(--text-base);
}

.carousel-nav button:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* --- 14. News Sections --- */
.news-section {
  padding: 60px 0;
}

/* News slider row */
.news-slider {
  position: relative;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.news-card {
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.news-card:hover {
  box-shadow: var(--shadow-hover);
}

.news-card .card-thumb {
  position: relative;
  padding-top: 65%;
  overflow: hidden;
}

.news-card .card-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .card-thumb img {
  transform: scale(1.05);
}

.news-card .card-content {
  padding: 18px;
}

.news-card .card-content h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card .card-content h4 a {
  color: var(--text-dark);
}

.news-card .card-content h4 a:hover {
  color: var(--primary);
}

.news-date {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.news-date i { margin-right: 4px; }

.news-excerpt {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-base);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
}

.news-readmore {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  transition: var(--transition);
}

.news-readmore:hover {
  color: var(--primary);
  letter-spacing: 0.5px;
}

/* Events layout: 1 big + 3 small */
.news-events-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.news-event-big .card-thumb {
  padding-top: 75%;
}

.news-event-big .card-content h4 {
  font-size: 17px;
}

.news-events-small {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.news-event-small {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.news-event-small .thumb {
  width: 180px;
  flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.news-event-small .thumb img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.news-event-small .meta h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-event-small .meta h4 a {
  color: var(--text-dark);
}

.news-event-small .meta h4 a:hover {
  color: var(--primary);
}

/* --- 15. Map / Offices Section --- */
.offices-section {
  position: relative;
  background: linear-gradient(135deg, #071224 0%, #0d1e3a 100%);
  color: #fff;
  overflow: hidden;
}

.offices-section .section-bg {
  position: absolute;
  inset: 0;
}

.offices-section .section-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.offices-row {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
  min-height: 500px;
}

.offices-map {
  flex: 0 0 45%;
  padding: 40px;
  position: relative;
}

.offices-map .map-img {
  max-width: 350px;
  margin: 0 auto;
  position: relative;
}

.offices-map .map-img img {
  width: 100%;
  filter: brightness(1.2);
}

/* Map hotspots */
.map-hotspot {
  position: absolute;
  width: 16px;
  height: 16px;
  cursor: pointer;
  z-index: 3;
}

.map-hotspot .dot {
  width: 16px;
  height: 16px;
  background: var(--gold);
  border-radius: 50%;
  border: 2px solid #fff;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(201,169,97,0.6); }
  70% { box-shadow: 0 0 0 10px rgba(201,169,97,0); }
  100% { box-shadow: 0 0 0 0 rgba(201,169,97,0); }
}

.offices-info {
  flex: 0 0 55%;
  padding: 60px 40px;
}

.offices-info .brand-title {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 5px;
}

.offices-info .brand-title strong { font-weight: 700; }
.offices-info .brand-title span { font-weight: 300; }

.offices-info .brand-divider {
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin-bottom: 25px;
}

.offices-info .tagline {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 30px;
}

/* Office detail cards */
.office-detail {
  display: none;
}

.office-detail.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.office-detail .office-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.1);
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 10px;
}

.office-detail h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.office-detail .office-address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  line-height: 1.7;
}

.office-detail .office-address i {
  color: var(--gold);
  margin-top: 4px;
}

/* Office tabs */
.office-tabs {
  display: flex;
  gap: 10px;
  margin-top: 30px;
}

.office-tab {
  padding: 10px 20px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 4px;
  background: transparent;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-main);
}

.office-tab:hover {
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}

.office-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* --- 16. Footer --- */
.site-footer {
  background: linear-gradient(135deg, #0a1628 0%, #1a2d4e 100%);
  color: rgba(255,255,255,0.8);
  border-top: 4px solid;
  border-image: linear-gradient(90deg, var(--primary), var(--gold)) 1;
  position: relative;
  overflow: hidden;
}

.site-footer .footer-bg {
  position: absolute;
  inset: 0;
}

.site-footer .footer-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.08;
}

.footer-inner {
  position: relative;
  z-index: 2;
}

/* Footer logo */
.footer-logo-section {
  text-align: center;
  padding: 50px 0 15px;
}

.footer-logo-section img {
  height: 100px;
  margin: 0 auto 15px;
}

.footer-logo-section .footer-tagline {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.6);
}

.footer-divider {
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin: 15px auto 0;
}

/* Footer grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding: 40px 0;
}

/* Footer contact form */
.footer-form h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.footer-form h3 span { font-weight: 300; }

.footer-form .form-divider {
  width: 50px;
  height: 3px;
  background: var(--primary);
  margin-bottom: 25px;
}

.footer-form .form-row {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-form .form-group {
  position: relative;
  flex: 1;
  margin-bottom: 12px;
}

.footer-form input,
.footer-form textarea {
  width: 100%;
  padding: 12px 15px 12px 40px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 3px;
  color: #fff;
  font-size: 14px;
  font-family: var(--font-main);
  outline: none;
  transition: var(--transition);
}

.footer-form input::placeholder,
.footer-form textarea::placeholder {
  color: rgba(255,255,255,0.4);
}

.footer-form input:focus,
.footer-form textarea:focus {
  border-color: var(--primary);
}

.footer-form textarea {
  height: 100px;
  resize: vertical;
}

.footer-form .form-icon {
  position: absolute;
  left: 14px;
  top: 14px;
  color: rgba(255,255,255,0.4);
  font-size: 14px;
}

.footer-form .btn-submit {
  padding: 13px 35px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-main);
}

.footer-form .btn-submit:hover {
  background: var(--primary-light);
}

/* Footer contact info heading (mirrors footer-form h3) */
.footer-contact-info h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.footer-contact-info h3 strong { font-weight: 700; }

.footer-contact-info .form-divider {
  width: 50px;
  height: 3px;
  background: var(--primary);
  margin-bottom: 25px;
}

/* Footer contact info */
.footer-contact-info .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-contact-info .contact-item i {
  color: var(--primary-light);
  font-size: 18px;
  margin-top: 2px;
  width: 22px;
  text-align: center;
}

.footer-contact-info .contact-item h4 {
  color: rgba(255,255,255,0.5);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 3px;
}

.footer-contact-info .contact-item a,
.footer-contact-info .contact-item span {
  color: #fff;
  font-size: 15px;
}

.footer-office-list h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin: 20px 0 8px;
}

.footer-office-list h4 i {
  color: var(--primary-light);
  margin-right: 6px;
}

.footer-office-list ul li {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  padding-left: 15px;
  position: relative;
  margin-bottom: 6px;
}

.footer-office-list ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary-light);
}

/* Social links */
.footer-social {
  text-align: center;
  padding: 25px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-social h4 {
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-links a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* Legal + copyright */
.footer-legal {
  text-align: center;
  padding: 15px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-legal a {
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  margin: 0 10px;
}

.footer-legal a:hover { color: #fff; }

.footer-copyright {
  text-align: center;
  padding: 15px 0 25px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.footer-copyright strong {
  color: rgba(255,255,255,0.8);
}

/* --- 17. Floating Contact Buttons --- */
.float-contact {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-contact a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.3);
  transition: var(--transition);
}

.float-contact a:hover { transform: scale(1.1); }
.float-contact .fc-phone { background: #e74c3c; }
.float-contact .fc-zalo { background: #0068ff; }
.float-contact .fc-whatsapp { background: #25d366; }

.float-contact .fc-top {
  background: var(--primary);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.float-contact .fc-top.visible {
  opacity: 1;
  visibility: visible;
}

/* --- 18. Mobile Menu Overlay --- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100%;
  background: #fff;
  z-index: 9999;
  transition: left 0.3s ease;
  overflow-y: auto;
  box-shadow: 5px 0 30px rgba(0,0,0,0.3);
}

.mobile-menu.open { left: 0; }

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu .mm-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid var(--border);
}

.mobile-menu .mm-header img {
  height: 40px;
}

.mobile-menu .mm-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-dark);
}

.mobile-menu .mm-nav li a {
  display: block;
  padding: 12px 20px;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}

.mobile-menu .mm-nav li a:hover {
  background: var(--bg-light);
  color: var(--primary);
}

/* --- 19. Responsive --- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .about-row { gap: 40px; }
  .compass-circle { width: 280px; height: 280px; }
  .offices-row { flex-direction: column; }
  .offices-map { flex: none; width: 100%; padding: 40px 20px; }
  .offices-info { flex: none; width: 100%; padding: 0 20px 40px; }
  .footer-grid { gap: 30px; }
}

@media (max-width: 850px) {
  .main-nav { display: none; }
  .mobile-toggle { display: block; }

  .hero { height: 450px; }
  .hero-content { width: 90%; padding-bottom: 60px; }
  .hero-content h1 { font-size: 2rem; }

  .about-row { flex-direction: column; }
  .about-text, .about-visual { width: 100%; }

  .project-featured { flex-direction: column !important; }
  .project-featured .project-image { width: 100%; height: 250px; }
  .project-featured .project-image img { height: 250px; }
  .project-featured .project-info { width: 100%; }

  .news-events-layout { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }

  .team-card { flex: 0 0 calc(50% - 13px); }

  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 549px) {
  .top-bar { display: none; }

  .hero { height: auto; padding-top: 105%; }
  .hero-content {
    position: absolute;
    bottom: 0;
    width: 95%;
    padding-bottom: 30px;
  }
  .hero-content h1 { font-size: 1.55rem; }
  .hero-typewriter { font-size: 0.9rem; }

  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }

  .team-card { flex: 0 0 calc(100% - 10px); }

  .image-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 42vw);
  }

  .image-grid .grid-item.tall { grid-row: span 1; }
  /* wide stays at span 2 on mobile = full row */
  .image-grid .grid-item.wide { grid-column: span 2; }

  .compass-circle { width: 220px; height: 220px; }
  .compass-stats .stat-number { font-size: 22px; }

  .office-tabs { flex-wrap: wrap; }
  .office-tab { padding: 8px 14px; font-size: 12px; }

  .search-form { flex-direction: column; }
  .search-row-2 { flex-direction: column; }

  .news-event-small { flex-direction: column; }
  .news-event-small .thumb { width: 100%; }
}


/* ================================================================
   INNER PAGES - SHARED COMPONENTS
   ================================================================ */

/* Page Hero (breadcrumb header for inner pages) */
.page-hero {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 126px;   /* account for fixed header (36px top-bar + 90px header-main) */
  padding-bottom: 40px;
}

.page-hero .page-hero-bg {
  position: absolute;
  inset: 0;
}

.page-hero .page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero .page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13,26,48,0.5) 0%, rgba(13,26,48,0.82) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.page-hero-content .page-icon {
  font-size: 40px;
  margin-bottom: 8px;
  color: var(--primary-light);
}

.page-hero-content h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.page-hero-content h1 span { color: var(--gold); }

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

.breadcrumb a { color: rgba(255,255,255,0.6); transition: var(--transition); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb i { font-size: 10px; color: var(--primary-light); }

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 50px;
}

.pagination a,
.pagination span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  border: 1.5px solid #ddd;
  color: #555;
  transition: var(--transition);
  text-decoration: none;
}

.pagination a:hover,
.pagination span.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.pagination .pg-arrow {
  width: auto;
  padding: 0 14px;
  border-radius: 20px;
  font-size: 13px;
  gap: 5px;
}

/* Results count bar */
.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 26px;
  border-bottom: 1px solid #eee;
  margin-bottom: 30px;
}

.results-bar .results-count { font-size: 14px; color: #777; }
.results-bar .results-count strong { color: var(--primary); }

/* Section title (shared inner pages) */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.section-header h2 span { color: var(--primary); }

.section-header .sh-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--gold));
  margin: 0 auto 12px;
  border-radius: 2px;
}

.section-header p {
  font-size: 15px;
  color: #777;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Sidebar (shared: tin-tuc, chi-tiet, du-an) */
.sidebar-widget {
  background: #f4f6f9;
  border-radius: 10px;
  padding: 22px 18px;
  margin-bottom: 28px;
}

.sidebar-widget h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #1a1a1a;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
}

.sidebar-news-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #ede5d6;
}

.sidebar-news-item:last-child { border-bottom: none; padding-bottom: 0; }

.sidebar-news-item .s-thumb {
  flex: 0 0 72px;
  height: 52px;
  border-radius: 5px;
  overflow: hidden;
}

.sidebar-news-item .s-thumb img { width: 100%; height: 100%; object-fit: cover; }

.sidebar-news-item h4 { font-size: 13px; font-weight: 600; color: #333; line-height: 1.4; margin-bottom: 4px; }
.sidebar-news-item h4 a { color: inherit; }
.sidebar-news-item h4 a:hover { color: var(--primary); }
.sidebar-news-item .s-date { font-size: 11px; color: #aaa; }

.sidebar-search {
  display: flex;
  border: 1px solid #ddd;
  border-radius: 5px;
  overflow: hidden;
}

.sidebar-search input { flex: 1; padding: 10px 12px; border: none; outline: none; font-size: 13px; background: #fff; }
.sidebar-search button { padding: 10px 14px; background: var(--primary); border: none; color: #fff; cursor: pointer; transition: var(--transition); }
.sidebar-search button:hover { background: var(--primary-light); }

/* Filter sidebar */
.filter-sidebar {
  background: #f4f6f9;
  border-radius: 10px;
  padding: 24px 20px;
  position: sticky;
  top: 100px;
}

.filter-sidebar h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #1a1a1a;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
}

.filter-group { margin-bottom: 18px; }

.filter-group label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.filter-group select,
.filter-group input {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 13px;
  color: #444;
  background: #fff;
  outline: none;
  transition: var(--transition);
}

.filter-group select:focus,
.filter-group input:focus { border-color: var(--primary); }

.filter-btn {
  width: 100%;
  padding: 11px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover { opacity: 0.88; }


/* ================================================================
   GIOI THIEU PAGE
   ================================================================ */

.gt-intro {
  padding: 70px 0 50px;
}

.gt-intro-inner {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.gt-intro-text { flex: 1; }

.gt-intro-text .label-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary-light);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 4px;
  margin-bottom: 16px;
}

.gt-intro-text h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.2;
  margin-bottom: 20px;
}

.gt-intro-text h2 span { color: var(--primary); }
.gt-intro-text p { font-size: 15px; line-height: 1.9; color: #555; margin-bottom: 14px; }

.gt-stars { display: flex; align-items: center; gap: 10px; margin: 20px 0; }
.gt-stars .stars { color: var(--gold); font-size: 18px; letter-spacing: 2px; }
.gt-stars .rating-txt { font-size: 13px; color: #777; font-style: italic; }

.gt-intro-visual { flex: 0 0 360px; }
.gt-intro-visual img { width: 100%; border-radius: 8px; box-shadow: 0 12px 40px rgba(26,80,145,0.12); }

/* Stats */
.gt-stats { padding: 60px 0; background: #f4f6f9; }

.gt-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.gt-stat-box {
  background: #fff;
  border-radius: 10px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: var(--transition);
}

.gt-stat-box:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(26,80,145,0.12); }

.gt-stat-box .stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  color: #fff;
  font-size: 20px;
}

.gt-stat-box .stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}

.gt-stat-box .stat-label { font-size: 13px; color: #777; font-weight: 500; }

/* Mission/Vision/Core values */
.gt-mvv { padding: 70px 0; }

.gt-mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.gt-mvv-card {
  border: 1px solid #e8e0d0;
  border-radius: 10px;
  padding: 34px 26px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.gt-mvv-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--gold));
  transform: scaleX(0);
  transition: var(--transition);
}

.gt-mvv-card:hover::after { transform: scaleX(1); }
.gt-mvv-card:hover { box-shadow: 0 8px 30px rgba(26,80,145,0.10); }

.gt-mvv-card .card-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 4rem;
  font-weight: 900;
  color: rgba(26,80,145,0.06);
  line-height: 1;
  position: absolute;
  top: 12px;
  right: 16px;
}

.gt-mvv-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 14px;
}

.gt-mvv-card p { font-size: 14px; line-height: 1.8; color: #666; }

/* Leadership */
.gt-leadership { padding: 70px 0; background: #f4f6f9; }

.gt-leadership-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: 40px;
}

.gt-leader-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: var(--transition);
}

.gt-leader-card:hover { transform: translateY(-5px); box-shadow: 0 12px 36px rgba(26,80,145,0.12); }

.gt-leader-card .leader-photo { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top; }

.gt-leader-card .leader-info { padding: 16px; }
.gt-leader-card .leader-info h4 { font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 700; color: #1a1a1a; margin-bottom: 4px; }
.gt-leader-card .leader-info .leader-role { font-size: 12px; color: var(--primary); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }


/* ================================================================
   DU AN LIST PAGE
   ================================================================ */

.du-an-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.du-an-filter-tabs .filter-tab {
  padding: 8px 20px;
  border-radius: 30px;
  border: 1.5px solid #ddd;
  color: #555;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all .2s;
  background: #fff;
}

.du-an-filter-tabs .filter-tab:hover,
.du-an-filter-tabs .filter-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.du-an-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.du-an-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 18px rgba(0,0,0,0.08);
  transition: var(--transition);
}

.du-an-card:hover { transform: translateY(-5px); box-shadow: 0 12px 36px rgba(26,80,145,0.12); }

.du-an-card .card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.du-an-card .card-thumb .main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.du-an-card:hover .card-thumb .main-img { transform: scale(1.06); }

.du-an-card .card-thumb .dev-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255,255,255,0.92);
  border-radius: 4px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: .3px;
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.du-an-card .card-thumb .dev-badge img { height: 20px; width: auto; object-fit: contain; display: block; }

.du-an-card .card-body { padding: 16px 14px 18px; }

.du-an-card .card-type-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(26,80,145,0.07);
  border-radius: 3px;
  padding: 2px 8px;
  margin-bottom: 8px;
  letter-spacing: .3px;
  text-transform: uppercase;
}

.du-an-card .card-body h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
  line-height: 1.4;
}

.du-an-card .card-body h3 a { color: inherit; }
.du-an-card .card-body h3 a:hover { color: var(--primary); }

.du-an-card .card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 6px;
}

.du-an-card .card-meta span { font-size: 12px; color: #666; display: flex; align-items: center; gap: 4px; }
.du-an-card .card-meta span i { color: var(--primary-light); font-size: 11px; }

.du-an-card .card-type { font-size: 12px; color: #888; margin-bottom: 10px; display: flex; align-items: center; gap: 4px; }
.du-an-card .card-type i { color: var(--primary-light); }

.du-an-card .card-excerpt {
  font-size: 13px;
  line-height: 1.7;
  color: #666;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-detail-sm {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  padding: 7px 16px;
  border-radius: 4px;
  transition: var(--transition);
}

.btn-detail-sm:hover { background: var(--primary); color: #fff; }


/* ================================================================
   CHI TIET DU AN PAGE
   ================================================================ */

.project-detail-hero {
  position: relative;
  height: 460px;
  overflow: hidden;
}

.project-detail-hero img.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-detail-hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 55%);
}

.project-detail-hero .hero-info {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
}

.project-detail-hero .hero-info h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.project-detail-hero .hero-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.project-detail-hero .hero-meta span {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  gap: 6px;
}

.project-detail-hero .hero-meta span i { color: var(--gold); }

/* Layout */
.project-detail-layout {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 40px;
  padding: 50px 0;
}

.project-detail-box {
  background: #f4f6f9;
  border-radius: 10px;
  padding: 26px 22px;
  margin-bottom: 32px;
}

.project-detail-box h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #1a1a1a;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
}

.project-detail-box h2 i { color: var(--primary); }

.project-info-table { width: 100%; border-collapse: collapse; }
.project-info-table tr { border-bottom: 1px solid #e5ddd0; }
.project-info-table tr:last-child { border-bottom: none; }
.project-info-table td { padding: 10px 0; font-size: 14px; }
.project-info-table td:first-child { color: #888; width: 42%; font-weight: 600; }
.project-info-table td:last-child { color: #222; font-weight: 500; }

.project-description p { font-size: 15px; line-height: 1.9; color: #555; margin-bottom: 16px; }

/* Gallery grid */
.project-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 32px;
}

.project-gallery .gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
}

.project-gallery .gallery-item.featured { grid-column: span 2; grid-row: span 2; }

.project-gallery .gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.project-gallery .gallery-item:hover img { transform: scale(1.06); }

/* Floor plan */
.floor-plan-tabs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }

.floor-plan-tab {
  padding: 7px 16px;
  border: 1.5px solid #ddd;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  transition: var(--transition);
  background: #fff;
}

.floor-plan-tab.active,
.floor-plan-tab:hover { border-color: var(--primary); color: var(--primary); background: rgba(26,80,145,0.05); }

.floor-plan-img { width: 100%; border-radius: 8px; border: 1px solid #e5ddd0; }

/* Project sidebar */
.project-sidebar-box {
  background: #fff;
  border: 1px solid #e5ddd0;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 22px;
}

.project-sidebar-box .psb-head {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 13px 16px;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.project-sidebar-box .psb-body { padding: 18px 16px; }

.project-price-display { text-align: center; padding: 8px 0 18px; border-bottom: 1px solid #eee; margin-bottom: 14px; }
.project-price-display .price-label { font-size: 11px; color: #999; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; }
.project-price-display .price-value { font-family: 'Montserrat', sans-serif; font-size: 1.6rem; font-weight: 800; color: var(--primary); }

.consult-form input,
.consult-form textarea {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 13px;
  margin-bottom: 9px;
  outline: none;
  transition: var(--transition);
  font-family: 'Roboto', sans-serif;
  box-sizing: border-box;
}

.consult-form input:focus,
.consult-form textarea:focus { border-color: var(--primary); }

.consult-form textarea { height: 80px; resize: none; }

.consult-form button {
  width: 100%;
  padding: 11px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.consult-form button:hover { opacity: 0.88; }


/* ================================================================
   TIN TUC LIST PAGE
   ================================================================ */

.tin-tuc-layout {
  display: grid;
  grid-template-columns: 1fr 290px;
  gap: 40px;
  align-items: flex-start;
}

.news-list-item {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid #eee;
}

.news-list-item:first-child { padding-top: 0; }

.news-list-item .news-thumb {
  flex: 0 0 230px;
  height: 148px;
  border-radius: 6px;
  overflow: hidden;
}

.news-list-item .news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.news-list-item:hover .news-thumb img { transform: scale(1.06); }

.news-list-item .news-body { flex: 1; }

.news-list-item .news-cat {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  background: var(--primary);
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 8px;
}

.news-list-item h3 { font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 700; color: #1a1a1a; line-height: 1.4; margin-bottom: 7px; }
.news-list-item h3 a { color: inherit; }
.news-list-item h3 a:hover { color: var(--primary); }

.news-list-item .news-date { font-size: 12px; color: #aaa; margin-bottom: 8px; display: flex; align-items: center; gap: 5px; }
.news-list-item .news-date i { color: var(--primary-light); }

.news-list-item .news-excerpt {
  font-size: 13px;
  line-height: 1.7;
  color: #666;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

.news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

.news-read-more:hover { gap: 10px; color: var(--primary-light); }
.news-read-more i { font-size: 11px; }

.sidebar-search-form { margin: 0; }
.sidebar-search-wrap {
  display: flex;
  border: 1.5px solid #e0d5c4;
  border-radius: 6px;
  overflow: hidden;
}

.sidebar-search-input {
  flex: 1;
  padding: 10px 12px;
  border: none;
  outline: none;
  font-size: 13px;
  background: #fff;
  color: #333;
}

.sidebar-search-btn {
  padding: 10px 14px;
  background: var(--primary);
  border: none;
  color: #fff;
  cursor: pointer;
  transition: var(--transition);
}

.sidebar-search-btn:hover { background: var(--primary-light); }


/* ================================================================
   CHI TIET TIN TUC PAGE
   ================================================================ */

.article-layout {
  display: grid;
  grid-template-columns: 1fr 290px;
  gap: 40px;
  align-items: flex-start;
  padding: 50px 0;
}

.article-header { margin-bottom: 26px; }

.article-header .art-cats { display: flex; gap: 8px; margin-bottom: 14px; }

.art-cat-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  background: var(--primary);
  padding: 4px 12px;
  border-radius: 3px;
}

.article-header h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.35;
  margin-bottom: 14px;
}

.article-meta { display: flex; align-items: center; gap: 16px; font-size: 13px; color: #aaa; flex-wrap: wrap; }
.article-meta span { display: flex; align-items: center; gap: 5px; }
.article-meta i { color: var(--primary-light); }

.article-featured-img { width: 100%; border-radius: 8px; margin-bottom: 26px; overflow: hidden; aspect-ratio: 16/7; }
.article-featured-img img { width: 100%; height: 100%; object-fit: cover; }

.article-body { font-size: 15px; line-height: 1.9; color: #444; }
.article-body h2, .article-body h3 { font-family: 'Montserrat', sans-serif; font-weight: 700; color: #1a1a1a; margin: 26px 0 12px; }
.article-body h2 { font-size: 1.2rem; }
.article-body h3 { font-size: 1rem; }
.article-body p { margin-bottom: 16px; }
.article-body img { max-width: 100%; border-radius: 6px; margin: 8px 0 18px; }

.article-body .img-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0 22px; }
.article-body .img-row img { margin: 0; }

.article-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 26px 0;
  padding: 18px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.article-tags .tag-label { font-size: 13px; font-weight: 600; color: #555; }

.article-tags a {
  font-size: 12px;
  padding: 4px 12px;
  border: 1px solid #ddd;
  border-radius: 20px;
  color: #666;
  transition: var(--transition);
}

.article-tags a:hover { border-color: var(--primary); color: var(--primary); }

.article-social-share { display: flex; align-items: center; gap: 10px; margin-bottom: 36px; }
.article-social-share .share-label { font-size: 13px; font-weight: 600; color: #555; }

.article-social-share a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  transition: var(--transition);
}

.article-social-share a.share-fb { background: #1877f2; }
.article-social-share a.share-tw { background: #1da1f2; }
.article-social-share a.share-zalo { background: #0068ff; }
.article-social-share a:hover { opacity: 0.85; transform: scale(1.1); }

/* Related articles */
.related-articles { margin-top: 44px; }

.related-articles h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #1a1a1a;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
  margin-bottom: 22px;
}

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.related-card .rc-thumb { aspect-ratio: 16/10; overflow: hidden; border-radius: 6px; margin-bottom: 10px; }
.related-card .rc-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.related-card:hover .rc-thumb img { transform: scale(1.06); }

.related-card .rc-cat { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--primary); margin-bottom: 5px; }
.related-card h4 { font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 700; color: #222; line-height: 1.4; }
.related-card h4 a { color: inherit; }
.related-card h4 a:hover { color: var(--primary); }


/* ================================================================
   DOI NGU TU VAN PAGE
   ================================================================ */

.team-page-hero {
  padding: 70px 0 50px;
  text-align: center;
}

.team-page-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.15;
  color: var(--gold);
  margin-bottom: 8px;
}

.team-page-hero .sub-brand {
  font-size: 12px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 22px;
}

.team-page-hero .sub-brand::before,
.team-page-hero .sub-brand::after { content: '—'; margin: 0 8px; color: var(--gold); }

.team-page-hero p { max-width: 680px; margin: 0 auto; font-size: 15px; line-height: 1.8; color: #666; }

.team-page-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: 16px;
}

.team-page-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.team-page-card:hover { transform: translateY(-5px); box-shadow: 0 10px 36px rgba(26,80,145,0.11); }

.team-page-card .tc-photo { width: 100%; aspect-ratio: 3/4; overflow: hidden; }
.team-page-card .tc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.5s ease; }
.team-page-card:hover .tc-photo img { transform: scale(1.04); }

.team-page-card .tc-body { padding: 14px 12px 16px; }
.team-page-card .tc-name { font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 700; color: #1a1a1a; margin-bottom: 4px; }
.team-page-card .tc-position { font-size: 12px; color: var(--primary); font-weight: 600; margin-bottom: 8px; }

.team-page-card .tc-contacts { display: flex; gap: 10px; margin-bottom: 7px; }
.team-page-card .tc-contacts a { font-size: 13px; color: #bbb; transition: var(--transition); }
.team-page-card .tc-contacts a:hover { color: var(--primary); }

.team-page-card .tc-rating { display: flex; align-items: center; gap: 5px; margin-bottom: 7px; }
.team-page-card .tc-rating .stars { color: var(--gold); font-size: 11px; }
.team-page-card .tc-rating .rating-val { font-size: 11px; color: #888; }

.team-page-card .tc-excerpt { font-size: 12px; line-height: 1.7; color: #777; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.team-page-card .tc-stats { display: flex; justify-content: space-between; font-size: 11px; color: #bbb; margin-bottom: 10px; }

.team-page-card .btn-profile {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  padding: 5px 14px;
  border-radius: 4px;
  transition: var(--transition);
}

.team-page-card .btn-profile:hover { background: var(--primary); color: #fff; }


/* ================================================================
   LIEN HE PAGE
   ================================================================ */

.contact-page {
  min-height: 78vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.contact-page-bg {
  position: absolute;
  inset: 0;
}

.contact-page-bg img { width: 100%; height: 100%; object-fit: cover; }

.contact-page-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.84) 45%, rgba(0,0,0,0.38) 100%);
}

.contact-page-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  padding: 70px 0;
}

.contact-brand { text-align: center; margin-bottom: 32px; }

.contact-brand .brand-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 12px;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--gold);
}

.contact-brand h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 4px;
  color: #fff;
  margin-bottom: 5px;
}

.contact-brand h1 span { color: var(--gold); }

.contact-brand p { font-size: 12px; letter-spacing: 3px; color: rgba(255,255,255,0.45); text-transform: uppercase; }

.contact-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201,169,97,0.5), transparent);
  margin: 0 auto 26px;
  width: 75%;
}

.contact-info-row {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 14px;
  color: rgba(255,255,255,0.8);
}

.contact-info-row i { flex: 0 0 18px; color: var(--gold); font-size: 14px; margin-top: 2px; }
.contact-info-row a { color: rgba(255,255,255,0.8); }
.contact-info-row a:hover { color: var(--gold); }
.contact-info-row .info-label { display: block; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.38); margin-bottom: 2px; }
.contact-info-row .info-val { font-size: 14px; font-weight: 500; }

.contact-office-select { margin: 22px 0; }
.contact-office-select select {
  width: 100%;
  padding: 10px 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 5px;
  color: #fff;
  font-size: 13px;
  outline: none;
  cursor: pointer;
}
.contact-office-select select option { background: #222; color: #fff; }

.contact-social-row { display: flex; gap: 8px; margin-top: 22px; }

.contact-social-row a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  transition: var(--transition);
}

.contact-social-row a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

.contact-map-col { border-radius: 12px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.contact-map-col iframe { width: 100%; height: 440px; border: none; display: block; }


/* ================================================================
   TUYEN DUNG PAGE
   ================================================================ */

.tuyen-dung-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.tuyen-dung-hero .td-bg { position: absolute; inset: 0; }
.tuyen-dung-hero .td-bg img { width: 100%; height: 100%; object-fit: cover; }

.tuyen-dung-hero .td-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5,15,40,0.82), rgba(13,26,48,0.92));
}

.tuyen-dung-hero .td-content { position: relative; z-index: 2; text-align: center; width: 100%; padding: 140px 0 60px; }

.tuyen-dung-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 8px;
  color: #fff;
  margin-bottom: 10px;
}

.tuyen-dung-hero .td-sub {
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 26px;
}

.tuyen-dung-hero .td-cta a {
  display: inline-block;
  padding: 12px 34px;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  color: #fff;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition);
  margin: 4px;
}

.tuyen-dung-hero .td-cta a:hover { opacity: 0.88; transform: translateY(-2px); }
.tuyen-dung-hero .td-cta a.outline { background: transparent; border: 2px solid rgba(255,255,255,0.38); }

.td-stats-bar { background: #1a1a1a; padding: 36px 0; }

.td-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }

.td-stat-item {
  text-align: center;
  padding: 20px;
  border-right: 1px solid rgba(255,255,255,0.07);
}

.td-stat-item:last-child { border-right: none; }

.td-stat-item .td-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 7px;
}

.td-stat-item .td-label { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.5; }

.td-about { padding: 70px 0; }

.td-about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

.td-about-text h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.td-about-text h2 span { color: var(--gold); }
.td-about-text .td-about-sub { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: #bbb; margin-bottom: 18px; }
.td-about-text p { font-size: 14px; line-height: 1.9; color: #666; margin-bottom: 12px; }

.td-about-visual img { width: 100%; border-radius: 10px; box-shadow: 0 12px 40px rgba(0,0,0,0.12); }

.td-jobs { padding: 70px 0; background: #f4f6f9; }

.td-job-layout { display: grid; grid-template-columns: 1fr 290px; gap: 36px; align-items: flex-start; margin-top: 36px; }

.td-job-card {
  background: #fff;
  border-radius: 10px;
  padding: 22px 20px;
  margin-bottom: 14px;
  border-left: 4px solid var(--primary);
  box-shadow: 0 3px 14px rgba(0,0,0,0.06);
  transition: var(--transition);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.td-job-card:hover { box-shadow: 0 8px 28px rgba(26,80,145,0.11); transform: translateX(3px); }

.td-job-card h3 { font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 700; color: #1a1a1a; margin-bottom: 7px; }

.td-job-card .job-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }

.td-job-tag {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 3px;
  font-weight: 600;
}

.td-job-tag.urgent { background: rgba(232,129,28,0.12); color: var(--gold); }
.td-job-tag.location { background: rgba(232,129,28,0.12); color: var(--primary); }
.td-job-tag.type { background: #f0f0f0; color: #666; }

.td-job-card .job-desc { font-size: 13px; color: #777; line-height: 1.7; }

.td-job-card .btn-apply {
  flex-shrink: 0;
  padding: 10px 18px;
  background: linear-gradient(135deg, #b71c1c, #e53935);
  color: #fff;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: var(--transition);
}

.td-job-card .btn-apply:hover { opacity: 0.88; }

/* Recruitment news */
.td-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }

.td-news-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 16px rgba(0,0,0,0.07);
  transition: var(--transition);
}

.td-news-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.12); }

.td-news-card .tn-thumb { aspect-ratio: 16/10; overflow: hidden; }
.td-news-card .tn-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.td-news-card:hover .tn-thumb img { transform: scale(1.06); }

.td-news-card .tn-body { padding: 16px 14px; }

.td-news-card .tn-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(183,28,28,0.1);
  color: #b71c1c;
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 8px;
}

.td-news-card h4 { font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 700; color: #1a1a1a; line-height: 1.4; }
.td-news-card h4 a { color: inherit; }
.td-news-card h4 a:hover { color: var(--gold); }


/* ================================================================
   RESPONSIVE - INNER PAGES
   ================================================================ */

@media (max-width: 1024px) {
  .gt-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .gt-leadership-grid { grid-template-columns: repeat(3, 1fr); }
  .du-an-grid { grid-template-columns: repeat(2, 1fr); }
  .project-detail-layout { grid-template-columns: 1fr; }
  .tin-tuc-layout { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .team-page-grid { grid-template-columns: repeat(3, 1fr); }
  .td-about-inner { gap: 36px; }
  .td-job-layout { grid-template-columns: 1fr; }
  .contact-page-inner { gap: 30px; }
}

@media (max-width: 850px) {
  .page-hero { height: 240px; }
  .page-hero-content h1 { font-size: 1.65rem; }
  .gt-intro-inner { flex-direction: column; }
  .gt-intro-visual { display: none; }
  .gt-mvv-grid { grid-template-columns: 1fr; }
  .gt-leadership-grid { grid-template-columns: repeat(2, 1fr); }
  .du-an-grid { grid-template-columns: 1fr; }
  .project-gallery { grid-template-columns: 1fr 1fr; }
  .project-gallery .gallery-item.featured { grid-column: span 1; grid-row: span 1; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .team-page-grid { grid-template-columns: repeat(2, 1fr); }
  .team-page-hero h1 { font-size: 2rem; }
  .td-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .td-about-inner { grid-template-columns: 1fr; }
  .td-news-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-page-inner { grid-template-columns: 1fr; }
}

@media (max-width: 549px) {
  .page-hero { height: 195px; }
  .page-hero-content h1 { font-size: 1.25rem; }
  .news-list-item { flex-direction: column; }
  .news-list-item .news-thumb { flex: none; width: 100%; height: 190px; }
  .gt-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .gt-leadership-grid { grid-template-columns: repeat(2, 1fr); }
  .team-page-grid { grid-template-columns: repeat(2, 1fr); }
  .team-page-hero h1 { font-size: 1.6rem; }
  .td-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .td-job-card { flex-direction: column; }
  .td-news-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .article-header h1 { font-size: 1.35rem; }
  .tuyen-dung-hero h1 { font-size: 2rem; letter-spacing: 4px; }
}

/* ================================================================
   SCROLL ANIMATIONS (custom, no animate.css dependency)
   ================================================================ */
.anim-pending {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.anim-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ================================================================
   RECRUIT SECTION — Bệ Phóng Cho Những Người Dám Dẫn Đầu
   ================================================================ */
.recruit-section {
  position: relative;
  padding: 100px 0 90px;
  background: linear-gradient(135deg, #0d2d5e 0%, #1a5091 45%, #0d2d5e 100%);
  overflow: hidden;
  text-align: center;
}

.recruit-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(232,129,28,0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 40%);
  pointer-events: none;
}

.recruit-section::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, var(--gold, #e8811c) 30%, #ffc04d 50%, var(--gold, #e8811c) 70%, transparent 100%);
}

.recruit-bg-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.recruit-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.recruit-label {
  display: inline-block;
  background: rgba(232,129,28,0.18);
  border: 1px solid rgba(232,129,28,0.45);
  color: var(--gold, #e8811c);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 2px;
  margin-bottom: 22px;
}

.recruit-headline {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 20px;
  letter-spacing: -0.5px;
}

.recruit-headline span {
  color: var(--gold, #e8811c);
  position: relative;
  display: inline-block;
}

.recruit-headline span::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -4px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold, #e8811c), transparent);
  border-radius: 2px;
}

.recruit-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.75;
  margin: 0 auto 50px;
  max-width: 700px;
}

.recruit-sub strong {
  color: #fff;
  font-weight: 600;
}

/* 4 pillars grid */
.recruit-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
  text-align: left;
}

.recruit-pillar {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 28px 22px;
  transition: background 0.3s, transform 0.3s, border-color 0.3s;
}

.recruit-pillar:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(232,129,28,0.4);
  transform: translateY(-4px);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--gold, #e8811c), #ffc04d);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.2rem;
  color: #fff;
  box-shadow: 0 4px 16px rgba(232,129,28,0.4);
}

.recruit-pillar h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
  letter-spacing: 0.3px;
}

.recruit-pillar p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  margin: 0;
}

/* CTA row */
.recruit-cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.btn-recruit-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gold, #e8811c), #f5a144);
  color: #fff !important;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 15px 36px;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 24px rgba(232,129,28,0.45);
  transition: transform 0.25s, box-shadow 0.25s;
}

.btn-recruit-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(232,129,28,0.55);
  color: #fff !important;
  text-decoration: none;
}

.btn-recruit-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: rgba(255,255,255,0.9) !important;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 32px;
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 4px;
  text-decoration: none;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}

.btn-recruit-outline:hover {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.08);
  color: #fff !important;
  text-decoration: none;
}

.recruit-note {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.5px;
  margin: 0;
}

.recruit-note i {
  color: var(--gold, #e8811c);
  margin-right: 4px;
}

/* Responsive */
@media (max-width: 900px) {
  .recruit-pillars {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .recruit-section { padding: 70px 0 60px; }
  .recruit-pillars { grid-template-columns: 1fr; gap: 14px; }
  .recruit-pillar { padding: 22px 18px; }
  .recruit-headline { font-size: 1.8rem; }
  .recruit-sub { font-size: 0.93rem; }
  .btn-recruit-primary,
  .btn-recruit-outline { padding: 13px 24px; font-size: 0.88rem; }
}

/* ==============================================
   VINH DANH CHIẾN BINH XUẤT SẮC (Home)
   ============================================== */
.honor-section {
  background: linear-gradient(180deg, var(--bg-dark) 0%, #0d1e42 50%, var(--bg-dark) 100%);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.honor-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 15% 50%, rgba(26,80,145,0.18) 0%, transparent 55%),
              radial-gradient(ellipse at 85% 50%, rgba(232,129,28,0.1) 0%, transparent 55%);
  pointer-events: none;
}
.honor-header {
  text-align: center;
  margin-bottom: 44px;
  position: relative;
  z-index: 1;
}
.honor-header .label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.honor-header h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0;
}
.honor-marquee-outer {
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.honor-marquee-wrapper {
  overflow: hidden;
  cursor: grab;
  user-select: none;
}
.honor-marquee-wrapper:active { cursor: grabbing; }
.honor-marquee-track {
  display: flex;
  gap: 18px;
  width: max-content;
  will-change: transform;
  padding: 10px 0 14px;
}
.honor-card {
  flex: 0 0 200px;
  background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.honor-card:hover {
  transform: translateY(-5px);
  border-color: rgba(232,129,28,0.35);
}
.honor-card-img {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
  background: rgba(0,0,0,0.3);
}
.honor-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.honor-card:hover .honor-card-img img { transform: scale(1.06); }
.honor-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--gold);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  line-height: 1.6;
}
.honor-card-body { padding: 13px 13px 16px; }
.honor-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 5px;
  line-height: 1.4;
}
.honor-card-desc {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  margin: 0;
  line-height: 1.5;
}
/* fade edges on honor marquee */
.honor-marquee-outer::before,
.honor-marquee-outer::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; width: 80px; z-index: 3; pointer-events: none;
}
.honor-marquee-outer::before { left: 0; background: linear-gradient(to right, var(--bg-dark), transparent); }
.honor-marquee-outer::after  { right: 0; background: linear-gradient(to left, var(--bg-dark), transparent); }
@media (max-width: 600px) {
  .honor-card { flex: 0 0 155px; }
}

/* ==============================================
   CONTACT PAGE – lien-he
   ============================================== */
.contact-page {
  position: relative;
  min-height: 100vh;
  background: #0d1117;
  overflow: hidden;
}
.contact-page-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.contact-page-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
}
.contact-page .container {
  position: relative;
  z-index: 1;
  padding-top: 60px;
  padding-bottom: 60px;
}
.contact-page-inner {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 0;
  min-height: 80vh;
  border-radius: 4px;
  overflow: hidden;
}
.contact-info-col {
  background: rgba(10,10,20,0.85);
  backdrop-filter: blur(10px);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.contact-map-col {
  position: relative;
  min-height: 600px;
  background: #111;
}
.contact-map-col iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.contact-brand { text-align: center; margin-bottom: 28px; }
.contact-brand .brand-icon {
  width: 68px; height: 68px; border-radius: 50%;
  background: rgba(26,80,145,0.15);
  border: 2px solid var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  font-size: 28px; color: var(--primary);
}
.contact-brand h1 {
  font-size: 24px; font-weight: 800; color: #fff;
  letter-spacing: 2px; text-transform: uppercase; margin: 0 0 6px; line-height: 1.2;
}
.contact-brand h1 span { color: var(--primary); }
.contact-brand p { font-size: 13px; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 1.5px; margin: 0; }
.contact-divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent); margin: 0 0 20px; }
.contact-info-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.contact-info-row { display: flex; align-items: flex-start; gap: 14px; font-size: 13px; }
.contact-info-row > i { width: 20px; color: var(--primary); margin-top: 2px; flex-shrink: 0; font-size: 14px; }
.contact-info-row .info-label { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.4); margin-bottom: 2px; }
.contact-info-row .info-val { color: rgba(255,255,255,0.85); font-size: 13px; line-height: 1.5; }
.contact-info-row a.info-val { color: rgba(255,255,255,0.85); text-decoration: none; }
.contact-info-row a.info-val:hover { color: var(--primary); }
.contact-social-row { display: flex; gap: 10px; margin-bottom: 28px; }
.contact-social-row a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7); font-size: 13px; text-decoration: none; transition: all 0.25s;
}
.contact-social-row a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.contact-form-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px; padding: 24px;
}
.contact-form-box h3 { color: #fff; font-size: 15px; font-weight: 700; margin: 0 0 16px; text-transform: uppercase; letter-spacing: 1px; }
.cpf-group { margin-bottom: 10px; }
.cpf-group input, .cpf-group textarea {
  width: 100%; padding: 10px 14px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px; color: #fff; font-size: 13px;
  font-family: inherit; outline: none; box-sizing: border-box; transition: border-color 0.2s;
}
.cpf-group input::placeholder, .cpf-group textarea::placeholder { color: rgba(255,255,255,0.35); }
.cpf-group input:focus, .cpf-group textarea:focus { border-color: var(--primary); background: rgba(255,255,255,0.1); }
.cpf-group textarea { resize: vertical; min-height: 90px; }
.cpf-group input.cpf-error, .cpf-group textarea.cpf-error { border-color: #ff6b6b; }
.contact-form-box button[type="submit"] {
  width: 100%; padding: 12px;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  color: #fff; border: none; border-radius: 4px;
  font-weight: 700; font-size: 14px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px; transition: opacity 0.2s;
}
.contact-form-box button[type="submit"]:disabled { opacity: 0.65; cursor: not-allowed; }
#contactPageAlert { margin-top: 10px; font-size: 13px; }
#contactPageAlert .cpf-success { padding: 10px 14px; background: rgba(39,174,96,0.2); border: 1px solid rgba(39,174,96,0.4); color: #6fcf97; border-radius: 4px; }
#contactPageAlert .cpf-error-msg { padding: 10px 14px; background: rgba(235,87,87,0.15); border: 1px solid rgba(235,87,87,0.3); color: #ff8a8a; border-radius: 4px; }
.office-tabs { position: absolute; top: 0; left: 0; right: 0; z-index: 10; display: flex; flex-wrap: wrap; background: rgba(13,17,23,0.9); backdrop-filter: blur(8px); }
.office-tab { flex: 1; padding: 12px 16px; background: transparent; border: none; border-bottom: 2px solid transparent; color: rgba(255,255,255,0.6); font-size: 12px; font-weight: 600; cursor: pointer; letter-spacing: .5px; white-space: nowrap; transition: all .2s; text-align: center; }
.office-tab:hover { color: rgba(255,255,255,0.9); }
.office-tab.active { color: var(--gold); border-bottom-color: var(--gold); }
.office-tab i { margin-right: 5px; }
.contact-page-hero {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #0d1e42 100%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
@media (max-width: 900px) {
  .contact-page-inner { grid-template-columns: 1fr; }
  .contact-map-col { min-height: 350px; position: relative; }
  .contact-map-col iframe { position: static; height: 350px; }
  .office-tabs { position: relative; }
}
@media (max-width: 600px) {
  .contact-info-col { padding: 32px 20px; }
}
