/* Final Version - Combined CSS with Glassmorphism */
/* Kết hợp từ bản hiện tại (glassmorphism) và gpt-version (clean structure) */

:root {
  --clinical-white: #FFFFFF;
  --vapor: #F5F7FA;
  --medical-blue: #004080;
  --deep-navy: #003366;
  --brand-orange: #FF6600;
  --safety-green: #2B7A78;

  --bs-body-color: var(--deep-navy);
  --bs-link-color: var(--medical-blue);
  --bs-link-hover-color: #003366;

  --radius-xl: 1.25rem;
  --shadow-soft: 0 12px 30px rgba(0,51,102,.10);
  --shadow-card: 0 10px 24px rgba(0,51,102,.12);
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.25);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

html { scroll-behavior: smooth; }

body {
  font-family: "Open Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
  background-attachment: fixed;
  min-height: 100vh;
  color: var(--deep-navy);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .font-head {
  font-family: "Barlow", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  letter-spacing: .2px;
  font-weight: 600;
  color: var(--deep-navy);
  margin-bottom: 1rem;
}

.bg-vapor { background: var(--vapor); }
.text-navy { color: var(--deep-navy) !important; }
.text-blue { color: var(--medical-blue) !important; }
.text-green { color: var(--safety-green) !important; }

.btn-primary {
  --bs-btn-bg: var(--medical-blue);
  --bs-btn-border-color: var(--medical-blue);
  --bs-btn-hover-bg: #003366;
  --bs-btn-hover-border-color: #003366;
}

.btn-cta {
  --bs-btn-bg: var(--brand-orange);
  --bs-btn-border-color: var(--brand-orange);
  --bs-btn-color: #fff;
  --bs-btn-hover-bg: #E55A00;
  --bs-btn-hover-border-color: #E55A00;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 102, 0, 0.3);
}

.badge-soft {
  background: rgba(0,64,128,.10);
  color: var(--medical-blue);
  border: 1px solid rgba(0,64,128,.18);
  font-weight: 600;
}
.navbar-toggler{display: none !important;}
/* Glassmorphism Cards */
.card-clean {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  position: relative;
}

.card-clean::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--medical-blue), var(--brand-orange));
  transform: scaleX(0);
  transition: transform 0.4s;
}

.card-clean:hover::before {
  transform: scaleX(1);
}

.card-clean:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px 0 rgba(31, 38, 135, 0.25);
  background: rgba(255, 255, 255, 0.9);
}

.card-clean .card-header {
  background: transparent;
  border-bottom: 1px solid rgba(0,51,102,.08);
}

.section-title {
  font-weight: 700;
  color: var(--deep-navy);
  text-align: center;
  margin-bottom: 3rem;
}

/* Utility Bar */
.utility-bar {
  background: var(--deep-navy);
  color: rgba(255,255,255,.90);
  font-size: .9rem;
  padding: 0.5rem 0;
}

.utility-bar a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.utility-bar a:hover {
  text-decoration: underline;
  color: rgba(255,255,255,1);
}

.utility-bar .d-flex.align-items-center.gap-2 {
  padding: 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}

.utility-bar .d-flex.align-items-center.gap-2:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.utility-bar .d-flex.align-items-center.gap-2 i {
  color: var(--brand-orange) !important;
}

@media (max-width: 768px) {
  .utility-bar .d-flex.align-items-center.gap-2 span {
    font-size: 0.75rem !important;
  }
  
  .utility-bar .d-flex.align-items-center.gap-3 {
    margin-top: 0.5rem;
    width: 100%;
    justify-content: center;
  }
}

/* Navigation with Glassmorphism */
.navbar-clean {
  background: rgba(255,255,255,.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  transition: all 0.3s ease;
}

.navbar-clean.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.25);
}

.navbar-brand img {
  height: 80px;
  width: auto;
  object-fit: contain;
}

.navbar-nav .nav-link {
  color: var(--deep-navy) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  padding: 0.5rem !important;
  border-radius: 8px;
  transition: all 0.3s;
}

.navbar-nav .nav-link:hover {
  color: var(--medical-blue) !important;
  background: rgba(0, 64, 128, 0.1);
  transform: translateY(-2px);
}

/* Drawer Menu */
.drawer-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
  z-index: 1050;
  transition: right 0.3s ease;
  overflow-y: auto;
  padding: 2rem 1.5rem;
}

.drawer-menu.active {
  right: 0;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  z-index: 1049;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.drawer-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--deep-navy);
  cursor: pointer;
  padding: 0.5rem;
  transition: transform 0.3s;
}

.drawer-close:hover {
  transform: rotate(90deg);
}

.drawer-menu .nav-link {
  display: block;
  padding: 1rem;
  color: var(--deep-navy);
  text-decoration: none;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  transition: all 0.3s;
}

.drawer-menu .nav-link:hover {
  background: rgba(0, 64, 128, 0.1);
  color: var(--medical-blue);
  transform: translateX(5px);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(0,51,102,.08);
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgb(0 0 0 / 0%) 0%, rgb(0 0 0 / 36%) 100%);
  z-index: 1;
}

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

/* Hero Text Styling - Nổi bật hơn */
.hero h1,
.hero .display-5 {
  color: #FFFFFF !important;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4), 0 4px 40px rgba(0, 0, 0, 0.3);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero .lead,
.hero p {
  color: rgba(255, 255, 255, 0.95) !important;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4), 0 1px 5px rgba(0, 0, 0, 0.3);
  font-weight: 500;
}

.hero .text-navy {
  color: #FFFFFF !important;
}

.hero .hero-badge {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.hero .btn-link {
  color: #FFFFFF !important;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
  font-weight: 600;
}

.hero .btn-link:hover {
  color: rgba(255, 255, 255, 0.9) !important;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
}

/* Hero Buttons - Nổi bật hơn */
.hero .btn-outline-primary {
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
  font-weight: 600;
  transition: all 0.3s ease;
}

.hero .btn-outline-primary:hover {
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.9) !important;
  background: rgba(255, 255, 255, 0.2) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.3);
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
}

.hero-badge .dot {
  width: .6rem;
  height: .6rem;
  border-radius: 999px;
  background: var(--brand-orange);
}

.trust-strip {
  background: var(--vapor);
  border-top: 1px solid rgba(0,51,102,.08);
  border-bottom: 1px solid rgba(0,51,102,.08);
  padding: 2rem 0;
}

.logo-pill {
  filter: grayscale(1);
  opacity: .85;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0,51,102,.10);
  border-radius: 999px;
  padding: .5rem .9rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  box-shadow: 0 6px 16px rgba(0,51,102,.08);
  transition: all 0.3s;
}

.logo-pill:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-2px);
}

.logo-pill small {
  font-weight: 700;
  color: rgba(0,51,102,.85);
}

/* Widgets */
.widget {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-soft);
}

.widget .widget-header {
  padding: 1rem 1rem .5rem;
  border-bottom: 1px solid rgba(0,51,102,.08);
}

.widget .widget-body {
  padding: 1rem;
}

.kpi {
  background: var(--vapor);
  border: 1px solid rgba(0,51,102,.08);
  border-radius: 1rem;
  padding: .9rem;
}

.kpi .value {
  font-size: 1.15rem;
  font-weight: 800;
}

.kpi .label {
  font-size: .85rem;
  opacity: .8;
}

/* Timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .75rem;
}

.timeline .step {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1rem;
  padding: 1rem;
  position: relative;
  box-shadow: 0 8px 20px rgba(0,51,102,.08);
  transition: all 0.3s;
}

.timeline .step:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,51,102,.15);
}

.timeline .step-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 0.75rem;
}

.timeline .step:after {
  content: "";
  position: absolute;
  right: -.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  background: var(--brand-orange);
  border-radius: 999px;
  opacity: .20;
}

.timeline .step:last-child:after {
  display: none;
}

/* Testimonials */
.testimonial {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1.25rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
}

.testimonial img {
  box-shadow: 0 4px 12px rgba(0,51,102,.08);
}

/* Footer */
.footer {
  background: var(--deep-navy);
  color: rgba(255,255,255,.88);
  padding: 3rem 0 1rem;
}

.footer a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer a:hover {
  text-decoration: underline;
  color: rgba(255,255,255,1);
}

.table-spec th {
  background: var(--vapor);
  color: var(--deep-navy);
}

.form-help {
  font-size: .9rem;
  color: rgba(0,51,102,.75);
}

.page-hero {
  background: linear-gradient(180deg, var(--vapor), #fff);
  border-bottom: 1px solid rgba(0,51,102,.08);
}

.chip {
  border: 1px solid rgba(0,51,102,.14);
  border-radius: 999px;
  padding: .35rem .7rem;
  background: #fff;
  font-size: .9rem;
}

.chip.active {
  border-color: rgba(43,122,120,.35);
  background: rgba(43,122,120,.10);
}

/* Image Containers */
.image-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  transition: all 0.4s;
}

.image-container:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px 0 rgba(31, 38, 135, 0.25);
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.image-container:hover img {
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 991px) {
  .navbar-nav {
    display: none;
  }
  
  .drawer-toggle {
    display: block !important;
  }
  
  .drawer-menu {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 500px;
  }
  
  .timeline {
    grid-template-columns: 1fr;
  }
  
  .timeline .step:after {
    display: none;
  }
  
}

/* Industry Card Body - Min Height */
.industry-card-body {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Industry Tabs - Nav Pills Styling */
#industryTabs .nav-link {
  color: var(--deep-navy);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 64, 128, 0.2);
  font-weight: 600;
  transition: all 0.3s ease;
}

#industryTabs .nav-link:hover {
  color: var(--medical-blue);
  background: rgba(0, 64, 128, 0.1);
  border-color: var(--medical-blue);
  transform: translateY(-2px);
}

#industryTabs .nav-link.active {
  color: #FFFFFF;
  background: var(--medical-blue);
  border-color: var(--medical-blue);
  box-shadow: 0 4px 12px rgba(0, 64, 128, 0.3);
}

#industryTabs .nav-link.active:hover {
  background: #003366;
  border-color: #003366;
  transform: translateY(-2px);
}

/* Value Tabs - Nav Pills Styling (Trusted Outcomes) */
#valueTabs .nav-link {
  color: var(--deep-navy);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 64, 128, 0.2);
  font-weight: 600;
  transition: all 0.3s ease;
}

#valueTabs .nav-link:hover {
  color: var(--medical-blue);
  background: rgba(0, 64, 128, 0.1);
  border-color: var(--medical-blue);
  transform: translateY(-2px);
}

#valueTabs .nav-link.active {
  color: #FFFFFF;
  background: var(--medical-blue);
  border-color: var(--medical-blue);
  box-shadow: 0 4px 12px rgba(0, 64, 128, 0.3);
  position: relative;
}

#valueTabs .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--brand-orange);
  border-radius: 2px;
}

#valueTabs .nav-link.active:hover {
  background: #003366;
  border-color: #003366;
  transform: translateY(-2px);
}

/* Floating Assistant Character */
.floating-assistant {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: float 3s ease-in-out infinite;
}

.floating-assistant:hover {
  transform: scale(1.05);
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.assistant-character {
  position: relative;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

.assistant-bubble {
  position: absolute;
  bottom: 100%;
  right: 0;
  margin-bottom: 15px;
  padding: 12px 18px;
  background: var(--deep-navy);
  color: #FFFFFF;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  transform: translateY(10px);
}

.assistant-bubble::after {
  content: '';
  position: absolute;
  top: 100%;
  right: 20px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid var(--deep-navy);
}

.floating-assistant:hover .assistant-bubble {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Assistant Modal Options */
.assistant-option {
  display: block;
  padding: 1rem;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 64, 128, 0.1);
  background: rgba(255, 255, 255, 0.8);
}

.assistant-option:hover {
  background: rgba(0, 64, 128, 0.05);
  border-color: var(--medical-blue);
  transform: translateX(5px);
  text-decoration: none;
}

.assistant-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .floating-assistant {
    bottom: 20px;
    right: 20px;
  }
  
  .assistant-character img {
    width: 60px !important;
  }
  
  .assistant-bubble {
    font-size: 0.8rem;
    padding: 10px 14px;
    right: -20px;
  }
}

