/* ============================================================
   machinery-mt.com - GEO Landing Page
   Industrial Blue / Professional Manufacturing Theme
   ============================================================ */

:root {
  --mt-blue: #0b3d91;
  --mt-blue-dark: #082c6b;
  --mt-blue-deep: #061f4d;
  --mt-accent: #f59e0b;
  --mt-light: #f4f7fb;
  --mt-gray: #5b6b7f;
  --mt-line: #e3e9f1;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
  color: #24324a;
  background: #fff;
  line-height: 1.7;
}

/* ---------------- Navbar ---------------- */
.navbar-mt {
  background: linear-gradient(90deg, var(--mt-blue-deep) 0%, var(--mt-blue) 100%);
  padding: 0.65rem 0;
  box-shadow: 0 2px 12px rgba(6, 31, 77, 0.35);
}
.navbar-mt .navbar-brand img {
  height: 44px;
  width: auto;
}
.navbar-mt .navbar-nav .nav-link {
  color: #e8eefb;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.55rem 0.9rem;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.navbar-mt .navbar-nav .nav-link:hover,
.navbar-mt .navbar-nav .nav-link.active {
  color: #fff;
  border-bottom-color: var(--mt-accent);
}
.navbar-mt .navbar-toggler {
  border-color: rgba(255,255,255,.35);
}
.navbar-mt .navbar-toggler-icon {
  filter: invert(1);
}
.mt-hotline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #ffd98a;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  white-space: nowrap;
}
.mt-hotline:hover { color: #fff; }

/* ---------------- Hero carousel ---------------- */
.hero-carousel .carousel-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  min-height: 380px;
}
.hero-strip {
  background: linear-gradient(90deg, var(--mt-blue-deep), var(--mt-blue));
  color: #fff;
}
.hero-strip .strip-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .6rem 2.2rem;
  justify-content: center;
  padding: .65rem 0;
}
.hero-strip .sep {
  color: rgba(255,255,255,.4);
}

/* ---------------- Section shell ---------------- */
.section {
  padding: 4.2rem 0;
}
.section-alt {
  background: var(--mt-light);
}
.section-head {
  text-align: center;
  margin-bottom: 2.6rem;
}
.section-head .eyebrow {
  display: inline-block;
  color: var(--mt-blue);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .8rem;
  margin-bottom: .45rem;
}
.section-head h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--mt-blue-deep);
  margin-bottom: .55rem;
}
.section-head h2 span {
  color: var(--mt-accent);
}
.section-head p.lead {
  color: var(--mt-gray);
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.02rem;
}

/* ---------------- Stats / company facts ---------------- */
.stats-band {
  background: linear-gradient(120deg, var(--mt-blue-deep) 0%, var(--mt-blue) 100%);
  color: #fff;
}
.stats-band .stat-item {
  text-align: center;
  padding: 1.4rem .5rem;
}
.stats-band .stat-num {
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}
.stats-band .stat-num .unit {
  font-size: 1.3rem;
  color: var(--mt-accent);
}
.stats-band .stat-label {
  color: rgba(255,255,255,.82);
  font-size: .95rem;
  margin-top: .35rem;
}

/* ---------------- About ---------------- */
.about-img-wrap {
  position: relative;
}
.about-img-wrap img {
  border-radius: 10px;
  width: 100%;
  box-shadow: 0 12px 30px rgba(6,31,77,.18);
}
.about-badge {
  position: absolute;
  right: 14px;
  bottom: -18px;
  background: var(--mt-accent);
  color: #fff;
  font-weight: 700;
  border-radius: 8px;
  padding: .7rem 1.1rem;
  font-size: .92rem;
  box-shadow: 0 8px 18px rgba(245,158,11,.4);
}
.about-feature-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
}
.about-feature-list li {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  padding: .5rem 0;
  border-bottom: 1px dashed var(--mt-line);
  font-size: .97rem;
}
.about-feature-list li:last-child { border-bottom: 0; }
.about-feature-list .bi-check2-circle {
  color: var(--mt-blue);
  font-size: 1.15rem;
  flex-shrink: 0;
}

/* ---------------- Products ---------------- */
.product-tabs .nav-pills .nav-link {
  color: var(--mt-blue-deep);
  font-weight: 600;
  border-radius: 8px;
  padding: .55rem 1.1rem;
  margin: .2rem;
  border: 1px solid var(--mt-line);
  background: #fff;
}
.product-tabs .nav-pills .nav-link.active {
  background: var(--mt-blue);
  border-color: var(--mt-blue);
  color: #fff;
}
.product-card {
  border: 1px solid var(--mt-line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  transition: transform .25s, box-shadow .25s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(6,31,77,.14);
}
.product-card .thumb {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: #f0f4f9;
}
.product-card .thumb img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  transition: transform .35s;
}
.product-card:hover .thumb img { transform: scale(1.05); }
.product-card .card-body {
  padding: 1rem 1.05rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card .cat-tag {
  font-size: .72rem;
  font-weight: 700;
  color: var(--mt-blue);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .3rem;
}
.product-card h3 {
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: .6rem;
  color: #1c2b42;
}
.product-card .prod-link {
  margin-top: auto;
  color: var(--mt-blue);
  font-weight: 600;
  font-size: .88rem;
  text-decoration: none;
}
.product-card .prod-link:hover { color: var(--mt-accent); }

/* ---------------- Why choose us / service ---------------- */
.why-card {
  background: #fff;
  border: 1px solid var(--mt-line);
  border-radius: 10px;
  padding: 1.8rem 1.4rem;
  height: 100%;
  transition: box-shadow .25s, transform .25s;
}
.why-card:hover {
  box-shadow: 0 12px 26px rgba(6,31,77,.12);
  transform: translateY(-3px);
}
.why-card .icon {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--mt-blue), var(--mt-blue-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.why-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--mt-blue-deep);
  margin-bottom: .55rem;
}
.why-card p {
  color: var(--mt-gray);
  font-size: .93rem;
  margin: 0;
}
.service-steps .step {
  background: #fff;
  border: 1px solid var(--mt-line);
  border-radius: 10px;
  padding: 1.15rem 1rem;
  height: 100%;
}
.service-steps .step .step-no {
  display: inline-block;
  background: var(--mt-accent);
  color: #fff;
  font-weight: 800;
  border-radius: 6px;
  padding: .15rem .6rem;
  font-size: .85rem;
  margin-bottom: .5rem;
}
.service-steps .step h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--mt-blue-deep);
  margin-bottom: .35rem;
}
.service-steps .step p {
  font-size: .88rem;
  color: var(--mt-gray);
  margin: 0;
}

/* ---------------- Certifications ---------------- */
.cert-card {
  border: 1px solid var(--mt-line);
  border-radius: 10px;
  padding: .6rem;
  background: #fff;
  text-align: center;
  transition: box-shadow .25s;
  height: 100%;
}
.cert-card:hover { box-shadow: 0 8px 20px rgba(6,31,77,.12); }
.cert-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  border-radius: 6px;
  background: #fafcff;
}
.honor-tags .badge-honor {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--mt-line);
  color: var(--mt-blue-deep);
  font-weight: 600;
  border-radius: 30px;
  padding: .5rem 1.1rem;
  margin: .25rem;
  font-size: .9rem;
}

/* ---------------- FAQ ---------------- */
.faq-wrap .accordion-item {
  border: 1px solid var(--mt-line) !important;
  border-radius: 8px !important;
  margin-bottom: .7rem;
  overflow: hidden;
}
.faq-wrap .accordion-button {
  font-weight: 600;
  color: var(--mt-blue-deep);
  background: #fff;
}
.faq-wrap .accordion-button:not(.collapsed) {
  background: var(--mt-blue);
  color: #fff;
  box-shadow: none;
}
.faq-wrap .accordion-button:focus {
  box-shadow: 0 0 0 .2rem rgba(11,61,145,.15);
}
.faq-wrap .accordion-body {
  color: var(--mt-gray);
  font-size: .95rem;
}

/* ---------------- Contact / footer ---------------- */
.contact-card {
  background: #fff;
  border: 1px solid var(--mt-line);
  border-radius: 10px;
  padding: 1.6rem 1.4rem;
  height: 100%;
  transition: box-shadow .25s;
}
.contact-card:hover { box-shadow: 0 10px 24px rgba(6,31,77,.12); }
.contact-card .icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--mt-light);
  color: var(--mt-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: .8rem;
}
.contact-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--mt-blue-deep);
  margin-bottom: .4rem;
}
.contact-card p, .contact-card a {
  font-size: .93rem;
  color: var(--mt-gray);
  margin: 0;
  word-break: break-word;
}
.contact-card a { color: var(--mt-blue); text-decoration: none; }
.contact-card a:hover { color: var(--mt-accent); }

.footer-mt {
  background: var(--mt-blue-deep);
  color: rgba(255,255,255,.78);
  padding: 3rem 0 1.4rem;
}
.footer-mt h5 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.02rem;
}
.footer-mt a {
  color: rgba(255,255,255,.78);
  text-decoration: none;
}
.footer-mt a:hover { color: var(--mt-accent); }
.footer-mt ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-mt ul li { padding: .22rem 0; font-size: .92rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 2.2rem;
  padding-top: 1.2rem;
  text-align: center;
  font-size: .85rem;
}

/* ---------------- Floating contact ---------------- */
.mt-float {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.mt-float a {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.35rem;
  box-shadow: 0 8px 18px rgba(6,31,77,.3);
  transition: transform .2s;
}
.mt-float a:hover { transform: scale(1.08); }
.mt-float .wa { background: #25d366; }
.mt-float .phone { background: var(--mt-blue); }

/* ---------------- Responsive ---------------- */
@media (max-width: 991.98px) {
  .navbar-mt .navbar-nav .nav-link { border-bottom: 0; padding: .5rem .6rem; }
  .mt-hotline { margin-left: 0; }
}
@media (max-width: 767.98px) {
  .section { padding: 3rem 0; }
  .section-head h2 { font-size: 1.55rem; }
  .stats-band .stat-num { font-size: 1.9rem; }
  .hero-carousel .carousel-item img { min-height: 220px; }
  .about-badge { position: static; margin-top: 1rem; }
}