:root {
  --primary-color: #0088cc;
  --primary-hover: #006699;
  --secondary-color: #e67e22;
  --accent-red: #d9534f;
  --accent-red-hover: #c9302c;
  --dark-color: #2c3e50;
  --light-bg: #f8f9fa;
  --border-color: #e5e5e5;
  --text-main: #333333;
  --text-muted: #666666;
  --text-light: #888888;
  --font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --transition: all 0.3s ease;
  --box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: #ffffff;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Cố định layout & tỷ lệ của icon để tránh giật layout khi font đang tải */
.fa {
  display: inline-block;
  line-height: 1;
  text-rendering: auto;
  font-style: normal;
  text-align: center;
  min-width: 14px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-color);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

/* ===================================================
   TOPBAR
=================================================== */
.topbar {
  background: #f4f6f8;
  border-bottom: 1px solid #e9ecef;
  padding: 6px 0;
  font-size: 12px;
}

.topbar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
}

.topbar a {
  color: #666;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.topbar a:hover {
  color: var(--primary-color);
}

.topbar .lang-flag img {
  height: 14px;
  display: inline-block;
  vertical-align: middle;
  border-radius: 2px;
}

/* Language Selector (Google Translate Integration) */
.lang-dropdown-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lang-btn-current {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  color: #374151;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

.lang-btn-current:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  color: var(--primary-color, #0284c7);
}

.lang-flag-icon {
  width: 18px;
  height: 13px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
  display: inline-block;
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 5px);
  right: 0;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  min-width: 125px;
  padding: 4px 0;
  z-index: 10001;
  display: none;
}

.lang-dropdown-menu.show {
  display: block;
}

.lang-dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  color: #374151;
  font-size: 12.5px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease;
  white-space: nowrap;
}

.lang-dropdown-item:hover {
  background: #f1f5f9;
  color: var(--primary-color, #0284c7);
}

.lang-dropdown-item.active {
  font-weight: 600;
  color: var(--primary-color, #0284c7);
  background: #eff6ff;
}

/* Ẩn widget gốc của Google Translate nhưng vẫn giữ để engine hoạt động */
#google_translate_element {
  position: absolute;
  top: -9999px;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
}

body {
  top: 0px !important;
  position: static !important;
}

.goog-tooltip, .goog-tooltip:hover {
  display: none !important;
}

.goog-text-highlight {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* ===================================================
   HEADER & NAVBAR (Zero CLS Sticky Header)
=================================================== */
.main-header {
  background: rgba(255, 255, 255, 0.98);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  min-height: 72px;
  backdrop-filter: blur(8px);
  transition: box-shadow 0.2s ease;
}

.main-header.is-scrolled {
  box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  padding-bottom: 12px;
  min-height: 72px;
}

.logo-brand {
  display: flex;
  align-items: center;
  min-width: 160px;
  min-height: 48px;
  justify-content: flex-start;
}

.logo-brand img {
  max-height: 48px;
  width: auto;
  height: 48px;
  aspect-ratio: 8250 / 2950;
  object-fit: contain;
  object-position: left center;
  transition: transform 0.3s;
}

.logo-brand:hover img {
  transform: scale(1.02);
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
  align-items: center;
}

.main-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.menu-item {
  position: relative;
}

.menu-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 13.5px;
  color: #333333;
  text-transform: uppercase;
  border-radius: 4px;
  transition: var(--transition);
}

.menu-link i.fa-angle-down {
  font-size: 11px;
  width: 12px;
  height: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s;
}

.menu-item:hover > .menu-link {
  color: var(--primary-color);
  background-color: rgba(0, 136, 204, 0.06);
}

.menu-item:hover > .menu-link i.fa-angle-down {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-sub {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  border-radius: 6px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-top: none;
  z-index: 1100;
}

.menu-item:hover > .dropdown-sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-sub li a {
  display: block;
  padding: 9px 18px;
  font-size: 13px;
  color: #444;
  font-weight: 500;
  transition: var(--transition);
}

.dropdown-sub li a:hover {
  background: #f0f7fb;
  color: var(--primary-color);
  padding-left: 22px;
}

/* Search Box & Toggle */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 10px;
}

.search-toggle-btn {
  background: none;
  border: none;
  color: #555;
  font-size: 17px;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: var(--transition);
}

.search-toggle-btn:hover {
  color: var(--primary-color);
  background: #f0f4f8;
}

.search-dropdown-box {
  position: absolute;
  top: 100%;
  right: 15px;
  width: 320px;
  background: #ffffff;
  padding: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  border-radius: 8px;
  display: none;
  z-index: 1200;
}

.search-dropdown-box.active {
  display: block;
  animation: fadeInDown 0.25s ease;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.search-form-inner {
  display: flex;
  align-items: center;
  position: relative;
}

.search-form-inner input {
  width: 100%;
  padding: 9px 40px 9px 14px;
  border: 1px solid #dcdcdc;
  border-radius: 20px;
  font-size: 13px;
  outline: none;
}

.search-form-inner input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0,136,204,0.15);
}

.search-submit-btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-color);
  color: white;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.search-submit-btn:hover {
  background: var(--primary-hover);
}

/* Mobile Toggle Hamburger */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: #333;
  cursor: pointer;
  padding: 6px;
}

/* Mobile Navigation Drawer / Panel */
.mobile-drawer {
  display: none;
}

/* ===================================================
   HERO BANNER CAROUSEL
=================================================== */
.hero-slider-section {
  position: relative;
  overflow: hidden;
  background: #000;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  height: 520px;
}

.slide-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.slide-item.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
  z-index: 1;
}

.slide-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  max-width: 680px;
  padding: 20px 0;
}

.slide-item.active .slide-title,
.slide-item.active .slide-subtitle,
.slide-item.active .slide-btn-group {
  opacity: 1;
}

.slide-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  opacity: 1;
}

.slide-subtitle {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 24px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
  opacity: 1;
}

.slide-subtitle p {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.slide-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  opacity: 1;
}

.btn-primary-action {
  background: var(--accent-red);
  color: #ffffff;
  padding: 11px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--accent-red);
  box-shadow: 0 4px 12px rgba(217, 83, 79, 0.4);
  transition: var(--transition);
}

.btn-primary-action:hover {
  background: var(--accent-red-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(217, 83, 79, 0.5);
}

.btn-secondary-action {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(5px);
  color: #ffffff;
  padding: 11px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.6);
  transition: var(--transition);
}

.btn-secondary-action:hover {
  background: #ffffff;
  color: var(--text-main);
  transform: translateY(-2px);
}

/* Slider Controls */
.slider-control-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 46px;
  height: 46px;
  background: rgba(0, 0, 0, 0.35);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: var(--transition);
}

.slider-control-btn:hover {
  background: var(--primary-color);
  color: white;
}

.slider-control-btn.prev {
  left: 20px;
}

.slider-control-btn.next {
  right: 20px;
}

/* Slider Indicators (Dots) */
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.slider-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background: #ffffff;
  transform: scale(1.2);
}

/* Keyframes */
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===================================================
   SECTION COMMONS
=================================================== */
.section-padding {
  padding: 60px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 45px;
  position: relative;
}

.section-header h2 {
  font-size: 26px;
  font-weight: 700;
  color: #1a252f;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  position: relative;
  padding-bottom: 12px;
}

.section-header h2 a {
  color: inherit;
}

.section-header h2 a:hover {
  color: var(--primary-color);
}

.section-header .fl-separator {
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  margin: 0 auto;
  border-radius: 2px;
}

/* ===================================================
   ABOUT US SECTION (Về chúng tôi & Video)
=================================================== */
.about-section {
  background: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  background: #000;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.about-content h2 {
  font-size: 26px;
  font-weight: 700;
  color: #1a252f;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 10px;
}

.about-content h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

.about-content .about-desc {
  color: #555;
  line-height: 1.8;
  margin-bottom: 24px;
  font-size: 14.5px;
  text-align: justify;
}

.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 24px;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f0f7fb;
  padding: 8px 14px;
  border-radius: 20px;
  color: var(--primary-color);
  font-size: 12.5px;
  font-weight: 600;
}

.badge-item i {
  font-size: 14px;
}

.btn-more-about {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-color);
  color: white;
  padding: 10px 24px;
  border-radius: 4px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,136,204,0.3);
  transition: var(--transition);
}

.btn-more-about:hover {
  background: var(--primary-hover);
  color: white;
  transform: translateY(-2px);
}

/* ===================================================
   PROJECTS SECTION (Dự án nổi bật)
=================================================== */
.projects-section {
  background: #f9fbfd;
  border-top: 1px solid #edf2f7;
  border-bottom: 1px solid #edf2f7;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.project-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0,0,0,0.06);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  border: 1px solid #eef2f5;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.project-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 400 / 264;
  overflow: hidden;
  background: #e9ecef;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-thumb img {
  transform: scale(1.08);
}

.project-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 136, 204, 0.9);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  z-index: 2;
  text-transform: uppercase;
}

.project-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-title {
  font-size: 14.5px;
  font-weight: 600;
  color: #2c3e50;
  line-height: 1.45;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-card:hover .project-title {
  color: var(--primary-color);
}

.project-link {
  margin-top: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.project-link i {
  transition: transform 0.2s;
}

.project-card:hover .project-link i {
  transform: translateX(4px);
}

/* ===================================================
   PRODUCTS SECTION (Sản phẩm)
=================================================== */
.products-section {
  background: #ffffff;
  position: relative;
}

.products-carousel-container {
  position: relative;
  padding: 0 45px;
}

.products-slider-track-wrapper {
  overflow: hidden;
}

.products-slider-track {
  display: flex;
  transition: transform 0.45s ease-out;
  gap: 20px;
}

.products-slider-track .product-card {
  flex: 0 0 calc(25% - 15px);
  max-width: calc(25% - 15px);
  background: #ffffff;
  border: 1px solid #ebebeb;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: var(--transition);
  text-align: center;
  padding-bottom: 15px;
}

.products-slider-track .product-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 8px 22px rgba(0,136,204,0.12);
  transform: translateY(-4px);
}

.product-thumb {
  padding: 20px;
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px;
}

.product-thumb img {
  max-height: 180px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s;
}

.product-card:hover .product-thumb img {
  transform: scale(1.05);
}

.product-title {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin: 15px 12px 10px;
  line-height: 1.4;
  height: 40px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-card:hover .product-title {
  color: var(--primary-color);
}

.product-btn-view {
  display: inline-block;
  background: #edf2f7;
  color: #4a5568;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  transition: var(--transition);
}

.product-card:hover .product-btn-view {
  background: var(--primary-color);
  color: #ffffff;
}

.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 50%;
  color: #555;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  transition: var(--transition);
  z-index: 5;
}

.carousel-nav-btn:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.carousel-nav-btn.prev-btn {
  left: 0;
}

.carousel-nav-btn.next-btn {
  right: 0;
}

/* ===================================================
   FOOTER SECTION
=================================================== */
.main-footer {
  background: #252b33;
  color: #abb3ba;
  padding: 55px 0 25px;
  border-top: 4px solid var(--primary-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.6fr;
  gap: 30px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--primary-color);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links li a {
  color: #abb3ba;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.footer-links li a:hover {
  color: #ffffff;
  padding-left: 5px;
}

.footer-contact-list li {
  margin-bottom: 10px;
  font-size: 13.5px;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-contact-list i {
  color: var(--primary-color);
  margin-top: 4px;
}

.footer-social-links {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #333a42;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--primary-color);
  color: #ffffff;
  transform: translateY(-3px);
}

.footer-bottom-bar {
  border-top: 1px solid #363d47;
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: #7b8590;
}

/* ===================================================
   FLOATING QUICK ACTIONS & BACK TO TOP
=================================================== */
.floating-actions {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  z-index: 999;
}

.float-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: var(--transition);
  font-weight: 600;
  text-decoration: none;
}

.float-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.float-btn-hotline {
  background: #17a2b8;
  color: #ffffff;
  padding: 8px 18px 8px 14px;
  font-size: 13px;
}

.float-btn-register {
  background: var(--accent-red);
  color: #ffffff;
  padding: 9px 20px 9px 16px;
  font-size: 13px;
  animation: pulseButton 2s infinite;
}

@keyframes pulseButton {
  0% { box-shadow: 0 0 0 0 rgba(217, 83, 79, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(217, 83, 79, 0); }
  100% { box-shadow: 0 0 0 0 rgba(217, 83, 79, 0); }
}

.float-icon-row {
  display: flex;
  gap: 10px;
}

.float-circle-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: var(--transition);
}

.float-circle-btn img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.float-circle-btn:hover {
  transform: scale(1.1);
}

.back-to-top-btn {
  width: 42px;
  height: 42px;
  background: var(--primary-color);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-4px);
}

/* ===================================================
   RESPONSIVE DESIGN (Desktop, Tablet, Mobile)
=================================================== */

/* Tablet (max-width: 991px) */
@media (max-width: 991px) {
  .menu-link {
    padding: 8px 10px;
    font-size: 12.5px;
  }

  .slider-wrapper {
    height: 420px;
  }

  .slide-title {
    font-size: 26px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-slider-track .product-card {
    flex: 0 0 calc(33.333% - 14px);
    max-width: calc(33.333% - 14px);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

/* Mobile & Small Tablet (max-width: 768px) */
@media (max-width: 768px) {
  .topbar {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .desktop-nav {
    display: none;
  }

  /* Mobile Drawer */
  .mobile-drawer {
    display: block;
    position: fixed;
    top: 0;
    left: -290px;
    width: 280px;
    height: 100vh;
    background: #ffffff;
    box-shadow: 2px 0 15px rgba(0,0,0,0.2);
    z-index: 2000;
    transition: transform 0.3s ease;
    overflow-y: auto;
    padding-bottom: 30px;
  }

  .mobile-drawer.open {
    transform: translateX(290px);
  }

  .mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #eee;
    background: #f8fafc;
  }

  .mobile-drawer-header img {
    max-height: 38px;
  }

  .mobile-drawer-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #666;
    cursor: pointer;
  }

  .mobile-drawer-nav {
    padding: 10px 0;
  }

  .mobile-menu-list > li > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #f2f2f2;
  }

  .mobile-menu-list > li > a:hover {
    color: var(--primary-color);
    background: #f7fafc;
  }

  .mobile-sub-menu {
    display: none;
    background: #f8fafc;
    padding: 6px 0 6px 20px;
  }

  .mobile-sub-menu li a {
    display: block;
    padding: 8px 15px;
    font-size: 13px;
    color: #666;
  }

  .mobile-sub-menu li a:hover {
    color: var(--primary-color);
  }

  .mobile-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    display: none;
  }

  .mobile-drawer-overlay.active {
    display: block;
  }

  /* Slider on Mobile */
  .slider-wrapper {
    height: 360px;
  }

  .slide-title {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .slide-subtitle {
    font-size: 13.5px;
    margin-bottom: 16px;
  }

  .slide-btn-group .btn-primary-action,
  .slide-btn-group .btn-secondary-action {
    padding: 8px 16px;
    font-size: 12px;
  }

  .slider-control-btn {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .slider-control-btn.prev { left: 8px; }
  .slider-control-btn.next { right: 8px; }

  /* Sections */
  .section-padding {
    padding: 40px 0;
  }

  .section-header h2 {
    font-size: 22px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .products-carousel-container {
    padding: 0 35px;
  }

  .products-slider-track {
    gap: 12px;
  }

  .products-slider-track .product-card {
    flex: 0 0 calc(50% - 6px);
    max-width: calc(50% - 6px);
    padding-bottom: 12px;
  }

  .product-thumb {
    height: 150px;
    padding: 10px;
  }

  .product-thumb img {
    max-height: 130px;
  }

  .product-title {
    font-size: 13px;
    height: 38px;
    margin: 10px 8px 8px;
  }

  .product-btn-view {
    font-size: 11.5px;
    padding: 5px 12px;
  }

  .carousel-nav-btn {
    width: 32px;
    height: 32px;
    font-size: 14px;
    display: flex;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .floating-actions {
    bottom: 15px;
    right: 15px;
  }

  .float-btn-hotline,
  .float-btn-register {
    font-size: 11px;
    padding: 6px 14px;
  }

  .float-circle-btn {
    width: 40px;
    height: 40px;
  }
}

/* Extra small mobile (max-width: 480px) */
@media (max-width: 480px) {
  .products-carousel-container {
    padding: 0 30px;
  }

  .products-slider-track {
    gap: 10px;
  }

  .products-slider-track .product-card {
    flex: 0 0 calc(50% - 5px);
    max-width: calc(50% - 5px);
  }

  .product-thumb {
    height: 135px;
    padding: 8px;
  }

  .product-thumb img {
    max-height: 115px;
  }

  .product-title {
    font-size: 12px;
    margin: 8px 6px 6px;
  }

  .slider-wrapper {
    height: 330px;
  }

  .slide-title {
    font-size: 18px;
  }
}
