:root { --blue: #337ab7; --blue-light: #c3efff; }

body {
  font-family: sans-serif;
  font-size: 14px;
  background: linear-gradient(to bottom, #fff, #e2ebf2);
}
a { text-decoration: none; }

.site-header {
  border-top: 6px solid var(--blue);
}

.lang-bar { list-style: none; margin: 0; padding: 8px 0 0; display: flex; gap: 12px; justify-content: flex-end; position: relative; z-index: 10; }
.lang-bar li a { font-size: 13px; color: #333; }

.header-logo {
  width: 100px;
  height: 100px;
}

.site-header .navbar {
  margin-bottom: 0;
}

.tag-menu-nav {
  display: flex !important;
  flex-direction: row !important;
  padding: 0;
  gap: 0;
}

.tag-menu-nav .nav-item {
  background: var(--blue);
}

.tag-menu-nav .nav-item:first-child {
  border-radius: 30px 0 0 30px;
}

.tag-menu-nav .nav-item:last-child {
  border-radius: 0 30px 30px 0;
}

.tag-menu-nav .nav-item:hover {
  background: var(--blue-light);
}

.tag-menu-link {
  color: #fff !important;
  padding: 8px 18px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  border-bottom: none !important;
}

.tag-menu-nav .nav-item:hover .tag-menu-link {
  color: var(--blue) !important;
}
.navbar .nav-link { color: var(--blue) !important; font-size: 15px; border-bottom: 2px solid transparent; }
.navbar .nav-link:hover { color: #323232 !important; border-bottom-color: var(--blue); }

.tag-menu { list-style: none; padding: 6px 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0; }
.tag-menu li { background: var(--blue); }
.tag-menu li a { color: #fff; padding: 8px 18px; display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.tag-menu li:first-child { border-radius: 30px 0 0 30px; }
.tag-menu li:last-child { border-radius: 0 30px 30px 0; }
.tag-menu li:hover { background: var(--blue-light); }
.tag-menu li:hover a { color: var(--blue); }

.banner-wrap { position: relative; }
.banner-text-1 { position: absolute; top: 4%; left: 4%; font-size: 28px; color: var(--blue); }
.banner-text-2 { position: absolute; top: 14%; left: 4%; font-size: 24px; color: #6f6f6f; }
.banner-btn { position: absolute; top: 32%; left: 4%; border-radius: 30px; }

.industries h2 { text-align: center; margin-bottom: 24px; color: #2d3748; }
.py-4 h2 { color: #2d3748; }
.page-header h1, .page-header h2 { color: #ff8400; }
.industry-item { text-align: center; padding: 16px 8px; }
.industry-item img { max-width: 80px; }
.industry-item .name { display: block; font-size: 15px; font-weight: 700; color: #626262; text-transform: uppercase; margin: 10px 0 4px; }
.industry-item .more { font-size: 13px; color: #ababab; text-decoration: underline; }

.news-date { background: #4bbcd7; border-bottom: 3px solid #0390b2; border-radius: 0 0 5px 5px; color: #fff; padding: 5px 8px; font-size: 11px; display: inline-block; }
.news-title { font-size: 16px; font-weight: 700; color: #2d2d29; }

.partner-logo img { max-height: 60px; object-fit: contain; filter: grayscale(40%); }
.partner-logo img:hover { filter: none; }

.hotline {
  position: fixed; right: 0; bottom: 0; z-index: 9999;
  background: url('https://ntcad-cam.com.vn/sites/all/themes/nhattin/images/hot_line.png') no-repeat;
  padding: 35px 25px 10px;
}
.hotline a { color: #fff; font-size: 16px; font-weight: 700; display: block; }

#callnow { display: none; }

.footer { background: #f3f3f3; border-top: 1px solid #ededed; margin-top: 24px; padding: 24px 0; }
.footer h5 { font-weight: 700; color: #4a5568; }
.addr-list { list-style: none; padding: 0; }
.addr-list li { padding: 5px 0 5px 24px; border-bottom: 1px solid #ddd; margin-bottom: 6px; position: relative; }
.addr-list li i { position: absolute; left: 0; top: 7px; }
.policy-list { list-style: none; padding: 0; }
.policy-list li { border-bottom: 1px solid #ddd; padding: 10px 0; }
.policy-list li a { font-size: 13px; color: #333; transition: color 0.3s ease; }
.policy-list li a:hover { color: var(--blue); }

.footer-link { color: #333; transition: color 0.3s ease; }
.footer-link:hover { color: var(--blue); }
.social-icons a { margin-right: 6px; }
.social-icons img { width: 36px; }
.footer-copy { text-align: center; border-top: 1px solid #ccc; margin-top: 16px; padding-top: 16px; font-size: 13px; }
.tag-menu-mobile-link {
  background: var(--blue);
  border-color: var(--blue);
}
.menu-links, .manufacturing-tool-links {
  margin-top: -25px;
}
@media (max-width: 650px) {
  .menu-links, .manufacturing-tool-links {
    margin-top: 0;
  }
  .hotline { display: none; }
  .banner-text-1, .banner-text-2 { display: none; }
  .tag-menu li { border-radius: 0; }
  .tag-menu li a { padding: 6px 12px; font-size: 11px; }
  .header-logo {
    width: 50px;
    height: 50px;
  }
  #callnow {
    display: block; position: fixed; bottom: 0; left: 0; width: 100%; z-index: 9999;
    background: red; color: #fff; text-align: center; font-size: 22px;
    padding: 14px; text-decoration: none; font-weight: 700;
  }
}
