/* ==========================================================================
   BINH ĐOÀN 19 — MASTER STYLESHEET (AHS-INSPIRED CORPORATE POLISH)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
  --bd19-primary: #1f5da8;
  --bd19-primary-2: #317fc8;
  --bd19-primary-dark: #164680;
  --bd19-deep: #092849;
  --bd19-navy: #071b33;
  --bd19-soft: #f4f8fc;
  --bd19-light: #f8fafc;
  --bd19-white: #ffffff;
  --bd19-text: #152332;
  --bd19-muted: #657384;
  --bd19-border: #e2e8f0;
  --bd19-border-dark: #1e3a5f;
  --bd19-accent: #d7a542;
  --bd19-accent-light: #fdf5e6;
  --bd19-danger: #d44242;
  --bd19-success: #10b981;
  --bd19-font-main: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  
  --shadow-sm: 0 2px 4px rgba(7, 27, 51, 0.05);
  --shadow-md: 0 4px 12px rgba(7, 27, 51, 0.08);
  --shadow-lg: 0 10px 25px rgba(7, 27, 51, 0.12);
  --shadow-xl: 0 20px 40px rgba(7, 27, 51, 0.16);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --container-max: 1320px;
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--bd19-font-main);
  color: var(--bd19-text);
  background-color: var(--bd19-white);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Containers & Grid Layouts */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-fluid {
  width: 100%;
  padding-left: 24px;
  padding-right: 24px;
}

/* Typography Hierarchy (AHS spacious corporate rhythm) */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--bd19-deep);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--bd19-primary);
  margin-bottom: 12px;
}

.section-eyebrow::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2.5px;
  background-color: var(--bd19-accent);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--bd19-muted);
  max-width: 780px;
  margin-bottom: 40px;
}

.section-header {
  margin-bottom: 48px;
}

.section-header.text-center {
  text-align: center;
}

.section-header.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* Global Sections */
.section {
  padding-top: 85px;
  padding-bottom: 85px;
  position: relative;
}

.section-light {
  background-color: var(--bd19-soft);
}

.section-dark {
  background-color: var(--bd19-navy);
  color: var(--bd19-white);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--bd19-white);
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.75);
}

.section-dark .section-eyebrow {
  color: var(--bd19-accent);
}

/* ==========================================================================
   GLOBAL HEADER (AHS Inspired Transparent -> Sticky Solid Navy)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.35s ease-in-out;
}

/* Transparent Header (Homepage initial state) */
.site-header.header-transparent {
  background: linear-gradient(180deg, rgba(7, 27, 51, 0.85) 0%, rgba(7, 27, 51, 0.4) 60%, rgba(7, 27, 51, 0) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-header.header-transparent .nav-link {
  color: #ffffff;
}

.site-header.header-transparent .logo-text-title {
  color: #ffffff;
}

.site-header.header-transparent .logo-text-motto {
  color: rgba(255, 255, 255, 0.8);
}

/* Scrolled / Solid Header - Distinct Opaque Colored Background Strip */
.site-header.header-solid,
.site-header.is-scrolled,
.site-header.header-transparent.is-scrolled {
  background: #071b33 !important;
  background-color: #071b33 !important;
  background-image: none !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-header.header-solid .nav-link,
.site-header.is-scrolled .nav-link {
  color: #ffffff;
}

.site-header .container {
  max-width: var(--container-max);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 20px;
}

/* Brand Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-brand-wrap {
  width: 38px;
  height: 38px;
  max-width: 38px;
  max-height: 38px;
  background: #ffffff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.site-logo:hover .logo-brand-wrap {
  transform: scale(1.05);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  max-width: 32px;
  max-height: 32px;
  object-fit: contain;
  display: block;
}

.logo-badge {
  width: 46px;
  height: 46px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--bd19-primary) 0%, var(--bd19-deep) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -1px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.logo-badge span {
  color: var(--bd19-accent);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.logo-text-title {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffffff;
  text-transform: uppercase;
  white-space: nowrap;
}

.logo-text-motto {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  color: var(--bd19-accent);
  text-transform: uppercase;
  white-space: nowrap;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  margin: 0 auto;
}

/* Hide the mobile drawer footer & CTA on PC/desktop */
.nav-drawer-footer,
.main-nav .nav-drawer-footer,
.main-nav .btn-cta-nav {
  display: none !important;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  padding: 8px 2px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  position: relative;
  white-space: nowrap; /* Strictly single line on PC */
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--bd19-accent);
  transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--bd19-accent) !important;
}

/* Dropdown */
.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background-color: var(--bd19-navy);
  border: 1px solid var(--bd19-border-dark);
  border-radius: var(--radius-sm);
  padding: 10px 0;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
}

.dropdown-item {
  display: block;
  padding: 10px 20px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  transition: var(--transition);
}

.dropdown-item:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--bd19-accent);
  padding-left: 24px;
}

/* Header Action */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header-hotline {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
}

.header-hotline i {
  color: var(--bd19-accent);
}

.btn-cta-nav {
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  background-color: var(--bd19-primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid var(--bd19-primary-2);
  white-space: nowrap;
  transition: var(--transition);
}

.btn-cta-nav:hover {
  background-color: var(--bd19-accent);
  color: var(--bd19-navy);
  border-color: var(--bd19-accent);
  transform: translateY(-2px);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 6px;
}

/* ==========================================================================
   GLOBAL FOOTER (Client Doc Content Mapped Strictly)
   ========================================================================== */
.site-footer {
  background-color: var(--bd19-navy);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 75px;
  border-top: 4px solid var(--bd19-primary);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1.3fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand .logo-text-title {
  color: #ffffff;
}

.footer-brand .logo-text-motto {
  color: var(--bd19-accent);
}

.footer-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
}

.footer-contact-item i {
  color: var(--bd19-accent);
  margin-top: 5px;
  font-size: 1rem;
}

.footer-contact-item a {
  color: #ffffff;
  font-weight: 600;
}

.footer-contact-item a:hover {
  color: var(--bd19-accent);
}

.footer-col-title {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--bd19-accent);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.footer-links li a::before {
  content: "›";
  color: var(--bd19-primary-2);
  font-size: 1.1rem;
  line-height: 1;
}

.footer-links li a:hover {
  color: #ffffff;
  transform: translateX(5px);
}

.footer-bottom {
  border-top: 1px solid var(--bd19-border-dark);
  padding: 24px 0;
  font-size: 0.88rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   INNER PAGE HERO BANNER
   ========================================================================== */
.page-hero {
  position: relative;
  background-color: var(--bd19-navy);
  padding: 160px 0 80px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7, 27, 51, 0.92) 0%, rgba(9, 40, 73, 0.85) 100%);
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
}

.page-hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 700px;
  margin-bottom: 24px;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

.breadcrumb-list a {
  color: rgba(255, 255, 255, 0.85);
}

.breadcrumb-list a:hover {
  color: var(--bd19-accent);
}

.breadcrumb-list .sep {
  color: rgba(255, 255, 255, 0.4);
}

.breadcrumb-list .current {
  color: var(--bd19-accent);
  font-weight: 600;
}

/* Footer Brand Logo */
.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.footer-logo-wrap {
  width: 52px;
  height: 52px;
  min-width: 52px;
  max-width: 52px;
  max-height: 52px;
  background: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.footer-logo-row:hover .footer-logo-wrap {
  background: #ffffff !important;
  border-color: var(--bd19-accent);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.35);
  transform: translateY(-2px);
}

.footer-logo-wrap .brand-logo-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.footer-logo-text .logo-text-title {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  line-height: 1.25;
  text-transform: uppercase;
  margin-bottom: 0;
}

.footer-logo-text .logo-text-motto {
  color: var(--bd19-accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 0;
}

/* Mobile Bottom Quick Action Bar */
.mobile-bottom-bar {
  display: none;
}

