:root {
  --primary: #0a2a43;
  --primary-dark: #061829;
  --accent: #f2c94c;
  --bg-light: #f5f7fa;
  --text: #222222;
  --muted: #6b7280;
  --border: #e5e7eb;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 42, 67, 0.98);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.logo img {
  height: 48px;
  width: auto;
  display: block;
}

.logo div div {
  font-size: 0.9rem;
  font-weight: 700;
}

.logo small {
  font-size: 0.7rem;
  opacity: 0.8;
  text-transform: none;
  letter-spacing: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 60px;
  width: auto;
}

.logo-text .company-name {
  font-weight: 600;
  font-size: 1.1rem;
}

.logo-text .company-tagline {
  font-size: 0.75rem;
  opacity: 0.7;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), #ffd86b);
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 1.1rem;
  display: none;
}

nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  font-size: 0.95rem;
}

nav a {
  color: #fff;
  opacity: 1;
}

nav a:hover {
  opacity: 1;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary-dark);
}

.btn-primary:hover {
  background: #ffd86b;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Hero */
.hero {
  background: radial-gradient(circle at top left, #1f3b57 0, #020617 55%);
  color: var(--white);
  padding: 4.5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-kicker {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9ca3af;
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 3vw + 1rem, 3.1rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero h1 span {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 1rem;
  color: #e5e7eb;
  max-width: 32rem;
  margin-bottom: 1.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.75rem;
  font-size: 0.9rem;
  color: #9ca3af;
}

.hero-meta-item strong {
  display: block;
  color: #e5e7eb;
  font-size: 0.95rem;
}

.hero-visual {
  position: relative;
  isolation: isolate;
}

.hero-card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 1.25rem;
  padding: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.hero-card-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9ca3af;
}

.hero-status {
  font-size: 0.75rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: #bbf7d0;
  border: 1px solid rgba(34, 197, 94, 0.4);
}

.hero-machine-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.hero-machine-meta {
  font-size: 0.85rem;
  color: #9ca3af;
  margin-bottom: 1rem;
}

.hero-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  font-size: 0.8rem;
  margin-bottom: 1.25rem;
}

.hero-specs span {
  display: block;
  color: #9ca3af;
  font-size: 0.75rem;
}

.hero-specs strong {
  color: #e5e7eb;
}

.hero-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #9ca3af;
}

.hero-badge {
  position: absolute;
  right: -0.5rem;
  bottom: -0.5rem;
  background: var(--accent);
  color: var(--primary-dark);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

/* Section base */
section {
  padding: 3.5rem 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.section-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 600;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 28rem;
}

/* Product categories */
.section-categories {
  background: var(--bg-light);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.category-card {
  background: var(--white);
  border-radius: 1rem;
  padding: 1.4rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
  border-color: rgba(148, 163, 184, 0.8);
}

.category-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.category-title {
  font-weight: 600;
  font-size: 1rem;
}

.category-text {
  font-size: 0.9rem;
  color: var(--muted);
}

.category-link {
  margin-top: auto;
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* Why choose us */
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.why-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
}

.why-card {
  border-radius: 1rem;
  border: 1px solid var(--border);
  padding: 1.2rem;
  background: #ffffff;
}

.why-card strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.why-card p {
  font-size: 0.85rem;
  color: var(--muted);
}

.why-highlight {
  background: radial-gradient(circle at top left, #0f172a 0, #020617 60%);
  color: var(--white);
  border-radius: 1.25rem;
  padding: 1.6rem;
  position: relative;
  overflow: hidden;
}

.why-highlight::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(242, 201, 76, 0.18), transparent 55%);
  pointer-events: none;
}

.why-highlight h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.why-highlight p {
  font-size: 0.9rem;
  color: #e5e7eb;
  margin-bottom: 1rem;
}

.why-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.8rem;
  color: #9ca3af;
  flex-wrap: wrap;
}

.why-meta strong {
  display: block;
  color: #e5e7eb;
}

/* Featured machines */
.machine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.machine-card {
  border-radius: 1rem;
  border: 1px solid var(--border);
  overflow: hidden;
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

.machine-media {
  background: #020617;
  height: 180px;
  position: relative;
  overflow: hidden;
}

.machine-body {
  padding: 1.2rem 1.3rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.machine-name {
  font-weight: 600;
  font-size: 1rem;
}

.machine-meta {
  font-size: 0.85rem;
  color: var(--muted);
}

.machine-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.4rem;
  font-size: 0.8rem;
}

.machine-specs span {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: var(--bg-light);
  color: #4b5563;
}

.machine-footer {
  margin-top: 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Industries */
.section-industries {
  background: var(--bg-light);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
}

.industry-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
}

.industry-card strong {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.industry-card span {
  margin-bottom: 1rem;
  line-height: 1.5;
}

/* ⭐ This pushes the link to the bottom */
.industry-card .details-link {
  margin-top: auto;
  font-weight: 600;
  color: #0A2A43;
  text-decoration: none;
}

.industry-card .category-link:hover {
  text-decoration: underline;
}

/* Case studies */
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.case-card {
  border-radius: 1rem;
  border: 1px solid var(--border);
  padding: 1.2rem 1.3rem;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.case-meta {
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.case-result {
  font-size: 0.85rem;
  color: #16a34a;
  font-weight: 500;
}

/* About + contact */
.about-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.about-text p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.about-list {
  list-style: none;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.about-list li::before {
  content: "•";
  color: var(--primary);
  margin-right: 0.4rem;
}

.contact-card {
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  padding: 1.5rem;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.contact-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.contact-card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  font-size: 0.85rem;
  margin-bottom: 1.2rem;
}

.contact-item strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--text);
}

.contact-form {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.contact-form label {
  font-size: 0.8rem;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 0.6rem;
  border: 1px solid var(--border);
  font-size: 0.9rem;
  font-family: inherit;
}

.contact-form textarea {
  min-height: 80px;
  resize: vertical;
}

/* Footer */
footer {
  width: 100%;
  background: #020617;
  color: #9ca3af;
  padding: 2.5rem 0 1.5rem;
  font-size: 0.85rem;
}

footer .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: visible;
}


.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 1.5rem;
}


.footer-grid > div:last-child {
  justify-self: start;
  text-align: left;
  min-width: 220px;
}


.footer-grid > div {
  min-width: 200px;
}

.footer-logo {
  font-weight: 600;
  color: #e5e7eb;
  margin-bottom: 0.4rem;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.footer-links a {
  color: #9ca3af;
}

.footer-links a:hover {
  color: #e5e7eb;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom span {
  opacity: 0.8;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 100%;
}

.footer-social .social-icon {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #e5e7eb;
}

.footer-social .social-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  display: block;
}
.social-icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #e5e7eb;
  transition: color 0.2s, transform 0.2s;
}

.social-icon:hover {
  fill: #000;
  transform: scale(1.15);
}

.social-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  display: block;
}


/* Product-hero (other pages) */
.product-hero {
  text-align: center;
  padding: 60px 0 20px;
}

.product-hero .subtitle {
  font-size: 18px;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

.hero-image img {
  width: 100%;
  height: auto;
  margin-top: 30px;
  border-radius: 8px;
}

.big-image img {
  width: 80%;
  height: auto;
  margin-top: 30px;
  border-radius: 8px;
}

.part-image img {
  width: 50%;
  height: auto;
  margin-top: 30px;
  border-radius: 8px;
}

/* Sample products / scrollbox */
.sample-title {
  margin-top: 40px;
  font-size: 22px;
  font-weight: 600;
}

.sample-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.sample-scroll-wrapper {
  position: relative;
  margin-top: 20px;
}

.sample-scrollbox {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.sample-item {
  flex-shrink: 0 !important;
  min-width: 260px;
}

.sample-item img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Scrollbar */
.sample-scrollbox::-webkit-scrollbar {
  height: 8px;
}

.sample-scrollbox::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

/* Scroll arrows */
.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: none;
  font-size: 42px;
  padding: 10px 16px;
  cursor: pointer;
  border-radius: 8px;
  z-index: 20;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  transition: background 0.2s, transform 0.2s;
}

.scroll-btn:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
}

.left-btn { left: -5px; }
.right-btn { right: -5px; }

/* Fade edges */
.fade-left,
.fade-right {
  position: absolute;
  top: 0;
  width: 60px;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

.fade-left {
  left: 0;
  background: linear-gradient(to right, white, transparent);
}

.fade-right {
  right: 0;
  background: linear-gradient(to left, white, transparent);
}

/* Lightbox */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}

#lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 48px;
  color: white;
  cursor: pointer;
  z-index: 1001;
}

/* Mobile header / nav */
.site-header {
  display: flex;
  align-items: center;
  padding: 15px 30px;
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
}

/* Hamburger button */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  width: 24px;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: 0.3s;
}

/* Mobile dropdown panel */
@media (max-width: 768px) {
  .header-inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: flex-start;
  }

  .logo-text {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    margin-left: 10px;
    white-space: nowrap;
  }

  .company-name {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
  }

  .company-tagline {
    display: block !important;
    font-size: 10px;
    color: #ccc;
    line-height: 1.1;
    margin-top: 2px;
    white-space: nowrap;
  }

  nav {
    display: block !important;
    width: auto;
  }

  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background: #000;
    width: 240px;
    padding: 20px;
    gap: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 99999;
  }

  nav ul.open {
    display: flex;
  }

  nav ul li {
    display: block !important;
  }

  nav ul li a::before {
    margin-right: 8px;
  }

  nav ul li:nth-child(1) a::before { content: "📦"; }
  nav ul li:nth-child(2) a::before { content: "🏭"; }
  nav ul li:nth-child(3) a::before { content: "📐"; }
  nav ul li:nth-child(4) a::before { content: "🏢"; }
  nav ul li:nth-child(5) a::before { content: "✉️"; }

  nav a {
    color: white !important;
    opacity: 1 !important;
    display: block;
    padding: 10px 0;
  }

  .hamburger {
    display: flex !important;
    margin-left: auto;
    z-index: 100000;
  }

  .header-cta {
    display: none !important;
  }

  .btn-primary,
  .btn.btn-primary {
    background-color: #FFD600 !important;
    background-image: none !important;
    color: #333 !important;
    border: 1px solid #E0C200 !important;
  }
}

/* General responsive tweaks */
@media (max-width: 900px) {
  .hero-grid,
  .why-grid,
  .about-contact-grid,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 3.5rem;
  }

  nav ul {
    display: none; /* overridden in mobile block above */
  }

  .header-inner {
    gap: 1rem;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 3rem 0 3rem;
  }

  .section-header {
    align-items: flex-start;
  }

  .logo-img,
  .logo-text {
    display: none;
  }

  .logo-mark {
    display: flex;
  }
}
/* youtube */
.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Image and text box */
.image-text-block {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* Keep the image in its original size */
.original-img {
  display: block;
  height: auto;
  width: auto;
  max-width: none;
  max-height: none;
}

/* Let the text take the remaining space */
.image-text-block .text {
  flex: 1;
}

/* Mobile layout */
@media (max-width: 768px) {
  .image-text-block {
    flex-direction: column;
  }
}

/* three col section */
.three-col-section {
  padding: 3rem 0;
}

.three-col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Column styling */
.col-item {
  background: #f8fafc;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

/* column image  */
.col-img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.col-item h3 {
  margin-bottom: 0.5rem;
}

/* Mobile responsive */
@media (max-width: 900px) {
  .three-col-grid {
    grid-template-columns: 1fr;
  }
}