﻿:root {
  --primary: #1f3f97;
  --primary-strong: #0d2b74;
  --accent: #ff8a1f;
  --ink: #11213a;
  --muted: #556482;
  --surface: #eef3fb;
  --panel: #ffffff;
  --line: #d6dfef;
  --radius: 18px;
  --shadow: 0 24px 44px rgba(21, 44, 92, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Barlow", sans-serif;
  background:
    radial-gradient(circle at 92% -4%, rgba(33, 73, 172, 0.2), transparent 36%),
    radial-gradient(circle at 8% 42%, rgba(255, 140, 33, 0.12), transparent 29%),
    linear-gradient(160deg, #f8fbff, #edf3fb 52%, #f9fbff);
}

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



body.home-page {
  background: #031028;
}

.home-bg-slider {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.home-bg-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: saturate(1.05);
}

.home-bg-slide.active {
  opacity: 1;
}

.home-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 92% -4%, rgba(33, 73, 172, 0.4), transparent 40%),
    radial-gradient(circle at 8% 42%, rgba(255, 140, 33, 0.18), transparent 32%),
    linear-gradient(160deg, rgba(3, 16, 40, 0.84), rgba(8, 24, 57, 0.86) 52%, rgba(3, 16, 40, 0.86));
}

.site-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

.topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.62rem 1rem;
  color: #dce8ff;
  background: linear-gradient(90deg, #07163e, #10307c 62%, #0a225a);
  font-size: 0.94rem;
}

.topbar p {
  margin: 0;
}

.topbar a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

.topbar-link {
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  padding: 0.25rem 0.62rem;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.8rem clamp(1rem, 3.2vw, 3rem);
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(31, 63, 151, 0.14);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 12px;
}

.brand strong {
  display: block;
  color: var(--primary);
  font-family: "Rajdhani", sans-serif;
  line-height: 1;
  letter-spacing: 0.08em;
}

.brand em {
  display: block;
  color: #4d5d7d;
  margin-top: 0.14rem;
  font-size: 0.8rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links > a {
  color: #1d315d;
  text-decoration: none;
  font-weight: 600;
}

.nav-links > a.active {
  color: var(--primary);
}

.nav-links a.btn {
  color: #ffffff;
}

.nav-item {
  position: relative;
}

.nav-dropdown-toggle {
  border: none;
  background: transparent;
  padding: 0;
  color: #1d315d;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-dropdown-toggle::after {
  content: "\25BE";
  font-size: 0.68rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.nav-dropdown-toggle.active {
  color: var(--primary);
}

.nav-dropdown.open .nav-dropdown-toggle::after {
  transform: rotate(180deg);
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 0;
  min-width: 240px;
  display: none;
  flex-direction: column;
  gap: 0.18rem;
  padding: 0.55rem;
  border-radius: 12px;
  border: 1px solid #d5deef;
  background: #ffffff;
  box-shadow: 0 14px 28px rgba(20, 43, 90, 0.13);
}

.nav-submenu a {
  padding: 0.5rem 0.6rem;
  border-radius: 8px;
  color: #23365f;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.nav-submenu a:hover,
.nav-submenu a.active {
  color: var(--primary);
  background: #eef3ff;
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu,
.nav-dropdown.open .nav-submenu {
  display: flex;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid #cad4ea;
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #1c3a8d;
  margin: 4px auto;
}

main {
  padding: 0;
}

.section {
  padding: clamp(1.8rem, 5vw, 4rem) clamp(1rem, 4vw, 3.4rem);
}

.section-head {
  margin-bottom: 1.3rem;
  max-width: 80ch;
}

.eyebrow {
  margin: 0;
  font-family: "Rajdhani", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--accent);
}

.section-head h1,
.section-head h2 {
  margin: 0.38rem 0 0;
  font-family: "Rajdhani", sans-serif;
  line-height: 1.03;
}

.section-head h1 {
  font-size: clamp(2rem, 4.4vw, 3.6rem);
}

.section-head h2 {
  font-size: clamp(1.65rem, 3.1vw, 2.65rem);
}

.section-head p {
  margin: 0.8rem 0 0;
  color: #384d71;
  line-height: 1.6;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.76rem 1.2rem;
  background: linear-gradient(130deg, var(--primary), #395fcc);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.94rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(24, 54, 133, 0.3);
}

.btn-small {
  padding: 0.6rem 1rem;
  font-size: 0.84rem;
}

.btn-outline {
  background: #fff;
  border-color: rgba(31, 63, 151, 0.35);
  color: var(--primary);
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.4rem, 3.8vw, 3.2rem);
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3.4rem) clamp(1rem, 4vw, 3.4rem);
}

.hero-copy h1 {
  margin: 0.5rem 0 1rem;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(2rem, 4.3vw, 3.5rem);
  line-height: 1.04;
}

.hero-copy p {
  margin: 0.8rem 0;
  color: #364c71;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.stats {
  margin-top: 1.45rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.stats article {
  padding: 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(31, 63, 151, 0.18);
  background: rgba(255, 255, 255, 0.75);
}

.stats h3 {
  margin: 0;
  color: var(--primary);
  font-family: "Rajdhani", sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.stats p {
  margin: 0.2rem 0 0;
  color: #4c6085;
  font-size: 0.9rem;
}

.hero-slider-wrap {
  background: linear-gradient(170deg, rgba(6, 20, 54, 0.96), rgba(16, 43, 106, 0.95));
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.hero-slider {
  position: relative;
  height: clamp(300px, 35vw, 470px);
  border-radius: 13px;
  overflow: hidden;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.14), transparent 45%),
    radial-gradient(circle at 15% 15%, rgba(255, 142, 30, 0.22), transparent 40%);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  text-decoration: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.slide-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  background: rgba(8, 24, 67, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.slide-caption h3 {
  margin: 0;
  color: #fff;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.24rem;
}

.slide-caption p {
  margin: 0.2rem 0 0;
  color: #d3e0ff;
  font-size: 0.9rem;
}

.slider-controls {
  margin-top: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.62rem;
}

.slider-controls button {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 999px;
  cursor: pointer;
}

.hero-dots {
  display: flex;
  gap: 0.45rem;
}

.hero-dots button {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 999px;
  padding: 0;
  opacity: 0.45;
  background: #fff;
}

.hero-dots button.active {
  opacity: 1;
  background: var(--accent);
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 1rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.panel,
.machine-card,
.value-card,
.info-card,
.list-card,
.product-detail,
.industry-detail {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 24px rgba(17, 38, 82, 0.08);
}

.panel,
.card,
.info-card,
.list-card,
.value-card,
.product-detail,
.industry-detail {
  padding: clamp(1rem, 2vw, 1.4rem);
}

.card h3,
.machine-card h3,
.value-card h3,
.list-card h3,
.info-card h3,
.product-detail h3,
.industry-detail h3 {
  margin: 0;
  color: var(--primary);
  font-family: "Rajdhani", sans-serif;
  font-size: 1.42rem;
}

.card p,
.panel p,
.machine-card p,
.value-card p,
.info-card p,
.list-card p,
.product-detail p,
.industry-detail p {
  color: var(--muted);
  line-height: 1.56;
}

.machine-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 0.85rem;
}

.machine-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  border-radius: 12px;
  background: linear-gradient(145deg, #f4f7fc, #e9eff8);
}

.machine-card h3 a {
  color: inherit;
  text-decoration: none;
}

.machine-card h3 a:hover {
  text-decoration: underline;
}

.machine-card .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.9rem;
}

.page-hero {
  padding: clamp(1.8rem, 4vw, 3rem) clamp(1rem, 4vw, 3.4rem);
  background:
    linear-gradient(160deg, rgba(8, 29, 80, 0.95), rgba(17, 47, 114, 0.9)),
    repeating-linear-gradient(55deg, transparent 0 12px, rgba(255, 255, 255, 0.05) 12px 24px);
  color: #fff;
}

.page-hero h1 {
  margin: 0.55rem 0 0;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(1.9rem, 4.1vw, 3.3rem);
  line-height: 1.05;
}

.page-hero p {
  max-width: 72ch;
  margin: 0.85rem 0 0;
  color: #d8e4ff;
}

.breadcrumbs {
  display: flex;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: #c2d4ff;
}

.breadcrumbs a {
  color: #fff;
  text-decoration: none;
}

.value-section {
  background:
    linear-gradient(145deg, rgba(9, 31, 83, 0.95), rgba(20, 55, 129, 0.92)),
    repeating-linear-gradient(55deg, transparent 0 12px, rgba(255, 255, 255, 0.04) 12px 24px);
}

.value-section .section-head h2,
.value-section .section-head p,
.value-section .value-card h3,
.value-section .value-card p {
  color: #fff;
}

.value-section .value-card {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}

.list-card ul,
.product-detail ul,
.industry-detail ul {
  margin: 0.72rem 0 0;
  padding-left: 1rem;
  color: #445a83;
  line-height: 1.55;
}

.list-card li + li,
.product-detail li + li,
.industry-detail li + li {
  margin-top: 0.38rem;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 1rem;
}

.product-showcase {
  background: linear-gradient(145deg, #f4f8ff, #e8eef8);
  border-radius: 14px;
  min-height: 330px;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.product-showcase img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  font-weight: 600;
  color: #2b4067;
  font-size: 0.92rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cbd6eb;
  border-radius: 11px;
  padding: 0.7rem 0.75rem;
  font: inherit;
  background: #fcfdff;
}

textarea {
  resize: vertical;
}

.form-grid {
  display: grid;
  gap: 0.5rem;
}

.form-note {
  margin: 0;
  color: #6b7894;
  font-size: 0.84rem;
}

.footer {
  margin-top: 1.2rem;
  border-top: 1px solid #d6dfef;
  background: rgba(255, 255, 255, 0.78);
  padding: 1rem;
  text-align: center;
  color: #4a5d82;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .hero,
  .grid-2,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1rem;
    width: min(340px, calc(100vw - 2rem));
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.85rem;
    border-radius: 14px;
    border: 1px solid #d3dced;
    background: #fff;
    box-shadow: 0 18px 35px rgba(18, 40, 86, 0.13);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links > a,
  .nav-item {
    width: 100%;
  }

  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .nav-dropdown:hover .nav-submenu,
  .nav-dropdown:focus-within .nav-submenu {
    display: none;
  }

  .nav-submenu {
    position: static;
    min-width: 0;
    width: 100%;
    margin-top: 0.42rem;
    box-shadow: none;
    border: 1px solid #dde5f2;
    background: #f8fbff;
    display: none;
  }

  .nav-dropdown.open .nav-submenu {
    display: flex;
  }

  .hero-slider {
    height: 330px;
  }
}

@media (max-width: 640px) {
  .grid-3,
  .grid-4,
  .stats {
    grid-template-columns: 1fr;
  }

  .hero-slider {
    height: 280px;
  }

  .topbar {
    font-size: 0.86rem;
  }
}




/* Home page readability theme over full-screen background slider */
.home-page .home-bg-overlay {
  background:
    radial-gradient(circle at 92% -4%, rgba(33, 73, 172, 0.34), transparent 42%),
    radial-gradient(circle at 8% 42%, rgba(255, 140, 33, 0.16), transparent 36%),
    linear-gradient(160deg, rgba(2, 11, 30, 0.58), rgba(6, 20, 50, 0.54) 52%, rgba(2, 11, 30, 0.6));
}

.home-page .hero,
.home-page .section,
.home-page .footer {
  position: relative;
}

.home-page .hero::before,
.home-page .section::before,
.home-page .footer::before {
  content: "";
  position: absolute;
  inset: 0.4rem;
  border-radius: 16px;
  background: rgba(7, 20, 49, 0.34);
  border: 1px solid rgba(173, 195, 241, 0.14);
  backdrop-filter: blur(3px);
  z-index: -1;
}

.home-page .hero-copy h1,
.home-page .section-head h2,
.home-page .section-head p,
.home-page .section p,
.home-page .section li,
.home-page .card h3,
.home-page .machine-card h3,
.home-page .value-card h3,
.home-page .info-card h3,
.home-page .footer {
  color: #eaf2ff;
}

.home-page .hero-copy p,
.home-page .card p,
.home-page .machine-card p,
.home-page .value-card p,
.home-page .info-card p,
.home-page .section-head p,
.home-page .footer {
  color: #d5e2ff;
}

.home-page .card,
.home-page .machine-card,
.home-page .value-card,
.home-page .info-card,
.home-page .panel {
  background: rgba(10, 25, 58, 0.5);
  border: 1px solid rgba(181, 202, 244, 0.22);
  box-shadow: 0 18px 35px rgba(2, 10, 27, 0.38);
}

.home-page .stats article {
  background: rgba(8, 24, 55, 0.48);
  border-color: rgba(179, 202, 247, 0.3);
}

.home-page .machine-card a,
.home-page .info-card a,
.home-page .section a {
  color: #ffffff;
}

.home-page .btn-outline {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(215, 226, 250, 0.65);
  color: #ffffff;
}

.home-page .btn-outline:hover {
  background: rgba(255, 255, 255, 0.25);
}
