/* ==========================================================================
   Header Component Styles
   ========================================================================== */
.site-header {
  width: 100%;
  background-color: #fff;
  border-bottom: 1px solid var(--color-slate-200);
  position: relative;
  z-index: 100;
}

/* Search inside the navigation bar */
.search-wrapper {
  position: relative;
  flex: 0 1 260px;
  min-width: 210px;
}

.search-wrapper i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-primary);
  pointer-events: none;
}

.search-input {
  width: 100%;
  min-height: 40px;
  padding: 0.5rem 0.875rem 0.5rem 2.5rem;
  font-size: 0.8125rem;
  background-color: #fff;
  border: 1px solid transparent;
  border-radius: var(--border-radius-sm);
  color: var(--color-slate-700);
  outline: none;
  transition: box-shadow var(--transition-fast);
}

.search-input:focus {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4);
}

.search-input::placeholder {
  color: var(--color-slate-500);
}

/* Brand Logo */
.header-branding {
  display: grid;
  grid-template-columns: 115px minmax(0, 1fr) 240px;
  align-items: center;
  gap: 1.25rem;
  min-height: 120px;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.brand-logo-link {
  display: inline-flex;
  justify-content: center;
}

.brand-identity {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  text-align: center;
  text-decoration: none;
}

.brand-copy {
  width: 70%;
  min-width: 0;
  padding: 0.25rem 0;
  font-family: "Montserrat", "Arial Black", Arial, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
}

.brand-logo-img {
  height: 115px;
  width: 115px;
  flex-shrink: 0;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12));
  transition: transform var(--transition-fast);
}

.brand-logo-img:hover {
  transform: scale(1.05);
}

.brand-logo-img-footer {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

.brand-logo-badge {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(
    135deg,
    var(--color-secondary) 0%,
    var(--color-secondary-dark) 100%
  );
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 4px rgba(179, 20, 27, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.brand-wordmark {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.brand-company-name {
  font-size: 54px;
  font-weight: 900;
  fill: #073477;
  stroke: #073477;
  stroke-width: 0.6px;
  paint-order: stroke fill;
}

.brand-divider {
  stroke: #d89a13;
  stroke-width: 3px;
}

.brand-company-highlight {
  font-size: 110px;
  font-weight: 900;
  stroke-linejoin: round;
  paint-order: stroke fill;
  filter: drop-shadow(0 3px 1px #915307)
    drop-shadow(1px 5px 3px rgb(0 0 0 / 35%));
}

.brand-outline {
  fill: #a50803;
  stroke: #ce7b05;
  stroke-width: 12px;
}

.brand-face {
  fill: url(#brand-red);
  stroke: url(#brand-gold);
  stroke-width: 8px;
}

/* Hotline */
.header-hotline {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.625rem;
  flex-shrink: 0;
  padding-left: 1rem;
  border-left: 1px solid var(--color-slate-200);
}

.hotline-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(11, 60, 140, 0.08);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(11, 60, 140, 0.15);
  flex-shrink: 0;
}

.hotline-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-slate-500);
  text-transform: uppercase;
}

.hotline-number {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--color-secondary);
  letter-spacing: -0.01em;
}

.hotline-number:hover {
  color: var(--color-primary);
}

/* Primary Navbar */
.main-navbar {
  background-color: var(--color-primary);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.main-nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.main-nav-item {
  position: relative;
}

.main-nav-link {
  color: rgba(255, 255, 255, 0.9);
  min-height: 60px;
  padding: 1rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  position: relative;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.main-nav-link:hover,
.main-nav-link:focus-visible {
  color: #fff;
}

.brand-logo-link:focus-visible,
.brand-identity:focus-visible,
.hotline-number:focus-visible,
.main-nav-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.main-nav-item.active .main-nav-link {
  color: #fff;
}

.main-nav-item.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background-color: var(--color-secondary);
}

/* ==========================================================================
   Hero Section Component (Dynamic Slider)
   ========================================================================== */
.hero-slider-section {
  position: relative;
  background-color: var(--color-slate-900);
  overflow: hidden;
  min-height: 540px;
}

.hero-slider-container {
  position: relative;
  width: 100%;
  min-height: 650px;
  overflow: hidden;
  background-color: #030712;
}

.hero-slide-item {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  z-index: 1;
}

.hero-slide-item.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

/* Background image slow zoom effect */
.hero-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
  transition: transform 6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.hero-slide-item.active .hero-slide-bg {
  transform: scale(1);
}

/* Content slide-up animation when active */
.hero-slide-item .hero-content-col {
  transform: translateY(22px);
  opacity: 0;
  transition:
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.25s,
    opacity 0.8s ease 0.25s;
}

.hero-slide-item.active .hero-content-col {
  transform: translateY(0);
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(6, 17, 38, 0.96) 0%,
    rgba(6, 17, 38, 0.82) 48%,
    rgba(6, 17, 38, 0.32) 100%
  );
  z-index: 1;
}

.hero-overlay-gradient-slide3 {
  background: linear-gradient(
    90deg,
    rgba(8, 40, 95, 0.88) 0%,
    rgba(8, 40, 95, 0.55) 45%,
    rgba(8, 40, 95, 0) 80%
  );
}

.hero-slide-bg-right {
  object-fit: cover;
  object-position: right center !important;
}

.hero-heading-max720 {
  max-width: 820px;
}

.hero-heading-nowrap-line {
  display: inline-block;
  white-space: nowrap;
}

.badge-red {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  background-color: var(--color-secondary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-heading {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
}

.hero-highlight-promo {
  font-size: 1.15em;
  font-weight: 900;
  display: inline-block;
  white-space: nowrap;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  letter-spacing: -0.01em;
  margin-top: 0.15rem;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--color-slate-200);
  border-left: 3px solid var(--color-accent-gold);
  padding-left: 1rem;
  line-height: 1.6;
}

/* Hero Controls */
.hero-pagination-dots {
  position: absolute;
  bottom: 1.75rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
  z-index: 10;
}

.hero-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: all var(--transition-normal);
}

.hero-dot.active {
  width: 2.2rem;
  border-radius: 9999px;
  background-color: var(--color-secondary);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.hero-dot:hover:not(.active) {
  background-color: #fff;
}

/* ==========================================================================
   Floating Action Buttons & Live Support
   ========================================================================== */
.floating-social-dock {
  position: fixed;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.float-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
  transition:
    transform var(--transition-fast),
    filter var(--transition-fast);
}

.float-btn:hover {
  transform: scale(1.1);
  color: #fff;
}

.float-fb {
  background-color: #1877f2;
}

.float-zalo {
  background-color: #0088ff;
  font-weight: 700;
  font-size: 0.78rem;
}

.float-phone {
  background-color: var(--color-secondary);
  animation: pulse-ring 2s infinite ease-in-out;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(179, 20, 27, 0.7);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(179, 20, 27, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(179, 20, 27, 0);
  }
}

.floating-support-btn {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 1050;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: #fff;
  border: 2px solid #fff;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.floating-support-btn:hover {
  transform: scale(1.08);
}

/* ==========================================================================
   Section Intro / About
   ========================================================================== */
.section-about {
  background-color: #e8f0f5;
  background-image: linear-gradient(
    135deg,
    #f5f8fa 0%,
    #e8f0f5 55%,
    #d9e7f0 100%
  );
  color: #4b6275;
  padding: 4.5rem 0;
}

.about-heading {
  color: #193b56;
}

.about-feature-box,
.about-feature-item {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(111, 145, 169, 0.22);
  box-shadow: 0 6px 20px rgba(25, 59, 86, 0.04);
}

.about-feature-box {
  border-radius: var(--border-radius-md);
  padding: 1.15rem;
}

.about-img-frame {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(111, 145, 169, 0.25);
  box-shadow: 0 12px 30px -8px rgba(25, 59, 86, 0.2);
  background-color: var(--color-slate-900);
}

.about-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.about-img-frame:hover img {
  transform: scale(1.04);
}

.about-img-badge {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  background: rgba(10, 25, 47, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  z-index: 2;
}

/* ==========================================================================
   Section Services
   ========================================================================== */
.section-services {
  background-color: #fff;
  padding: 4.5rem 0;
}

.service-card {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  background-color: var(--color-slate-900);
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--color-slate-200);
  box-shadow: var(--shadow-md);
  transition:
    transform var(--transition-normal),
    box-shadow var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.service-card.card-featured {
  border: 2px solid var(--color-primary);
  min-height: 420px;
}

@media (min-width: 992px) {
  .service-card.card-featured {
    transform: translateY(-16px);
  }
  .service-card.card-featured:hover {
    transform: translateY(-22px);
  }
}

.service-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--transition-normal);
}

.service-card:hover .service-bg-img {
  transform: scale(1.08);
}

.service-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 25, 47, 0.95) 0%,
    rgba(11, 60, 140, 0.75) 50%,
    rgba(0, 0, 0, 0.25) 100%
  );
  transition: background var(--transition-normal);
}

.service-card:hover .service-gradient-overlay {
  background: linear-gradient(
    to top,
    rgba(10, 25, 47, 0.98) 0%,
    rgba(11, 60, 140, 0.85) 60%,
    rgba(0, 0, 0, 0.35) 100%
  );
}

.service-num-badge {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-dual-action {
  display: inline-flex;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.btn-dual-action .action-text {
  padding: 0.5rem 0.9rem;
  background-color: var(--color-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
}

.btn-dual-action .action-icon {
  width: 32px;
  background-color: var(--color-secondary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

/* ==========================================================================
   Section Products
   ========================================================================== */
.section-products {
  background-color: #f3f5f7;
  padding: 4.5rem 0;
  border-top: 1px solid var(--color-slate-200);
  border-bottom: 1px solid var(--color-slate-200);
}

.product-tab-btn {
  padding: 0.45rem 1.15rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background-color: #fff;
  color: var(--color-slate-700);
  border: 1px solid var(--color-slate-300);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.product-tab-btn:hover,
.product-tab-btn.active {
  background-color: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.product-card {
  background-color: #fff;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--color-slate-200);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(11, 60, 140, 0.3);
}

.product-img-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  margin-bottom: 0.85rem;
  overflow: hidden;
  background-color: #fff;
  border: 1px solid var(--color-slate-200);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.product-img-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform var(--transition-normal);
}

.product-img-box img[src=""] {
  display: none;
}

.product-card:hover .product-img-box img {
  transform: scale(1.06);
}

.product-price-tag {
  color: var(--color-secondary);
  font-weight: 800;
  font-size: 0.85rem;
}

/* ==========================================================================
   Section News
   ========================================================================== */
.section-news {
  background-color: var(--color-slate-50);
  padding: 4.5rem 0;
}

.news-card {
  background-color: #fff;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid var(--color-slate-200);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.news-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--color-primary);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Section Partners
   ========================================================================== */
.section-partners {
  background-color: #fff;
  padding: 4.5rem 0;
  border-top: 1px solid var(--color-slate-200);
}

.partner-logo-card {
  background-color: #fff;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--color-slate-200);
  box-shadow: var(--shadow-sm);
  height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  transition:
    border-color var(--transition-fast),
    transform var(--transition-fast);
}

.partner-logo-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.partner-logo-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-3px);
}

/* ==========================================================================
   Footer Component
   ========================================================================== */
.site-footer {
  background-color: var(--color-primary-dark);
  color: #fff;
  padding-top: 4rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-nav-link {
  color: var(--color-slate-300);
  transition:
    color var(--transition-fast),
    padding-left var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-nav-link:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-form-input {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border-radius: 8px;
  font-size: 0.8rem;
  border: 1px solid transparent;
  background-color: #fff;
  color: var(--color-slate-800);
  outline: none;
}

.footer-form-input:focus {
  border-color: var(--color-accent-gold);
}

.leading-snug{
text-transform: uppercase !important;
}
