:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-alt: #eaf2ff;
  --ink: #10233e;
  --muted: #5c6b80;
  --line: #d6e2f2;
  --accent: #2563eb;
  --accent-dark: #1e3a8a;
  --warning: #d97706;
  --danger: #dc2626;
  --shadow: 0 18px 48px rgba(30, 58, 138, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(10px, 7vw, 25px);
  background: #142d66;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  color: #ffffff;
}

.brand {
  display: flex;              /* Better than inline-flex for responsiveness */
  align-items: center;
  gap: 12px;
  flex: 1;                    /* Allows brand section to occupy available space */
  min-width: 0;               /* Prevents overflow in flex layouts */
  font-weight: 795;
  font-size: 2rem;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: white;
  background: var(--accent-dark);
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 750;
}

.site-nav a {
  padding: 8px 0;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #3bf52a;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero,
.page-hero,
.section {
  padding: clamp(34px, 7vw, 50px) clamp(18px, 5vw, 72px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
  min-height: calc(100vh - 75px);
}

.hero-copy {
  max-width: 820px;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 880px;
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 1rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p,
.page-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-image {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-image img {
  width: 100%;
  min-height: 470px;
  object-fit: cover;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--warning);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-logo {
  width: 100px;
  height: 70px;
  object-fit: contain;
  border-radius: 8px;
}

h1,
h2,
h3,
p,
a,
button {
  overflow-wrap: anywhere;
}

h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.16rem;
  line-height: 1.25;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--accent-dark);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 850;
}

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

.button.secondary {
  color: var(--accent-dark);
  background: transparent;
}

.muted {
  background: var(--surface-alt);
}

.section-heading {
  display: grid;
  gap: 6px;
  margin-bottom: 32px;
}

.feature-grid,
.product-grid,
.client-grid,
.stats-grid,
.about-content {
  display: grid;
  gap: 18px;
}

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

.feature-card,
.product-card,
.client-card,
.contact-card,
.enquiry-form,
.about-content article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(22, 32, 24, 0.06);
}

.feature-card,
.client-card,
.about-content article {
  padding: 24px;
}

.feature-card p,
.product-card p,
.client-card p,
.about-content p {
  margin: 0;
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: 32px;
  align-items: center;
}

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

.stats-grid div {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.stats-grid strong {
  display: block;
  color: var(--accent-dark);
  font-size: 2rem;
  line-height: 1;
}

.stats-grid span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 750;
}

.page-hero {
  background: var(--surface-alt);
}

.image-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  gap: 32px;
  align-items: center;
}

.image-page-hero img {
  width: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-button,
.details-toggle,
.client-more {
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--surface);
  cursor: pointer;
  font-weight: 800;
}

.filter-button.active,
.filter-button:hover,
.details-toggle:hover,
.client-more:hover {
  color: white;
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

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

.product-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  overflow: hidden;
}

.product-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.product-card div {
  padding: 22px;
}

.product-card span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--warning);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-card h2,
.client-card h2,
.contact-card h2,
.about-content h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  line-height: 1.25;
}

.details {
  margin-top: 14px !important;
  padding: 14px;
  background: var(--surface-alt);
  border-radius: 8px;
}

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

.client-card {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.client-card:hover,
.client-card:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.clientss-card {
  width: 220px;
  height: 140px;
  overflow: hidden;
}

.clientss-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sample-logo {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  margin-bottom: 18px;
  color: white;
  background: var(--accent-dark);
  border-radius: 8px;
  font-size: 1.5rem;
  font-weight: 900;
}

.sample-logo.orange {
  background: #b45309;
}

.sample-logo.green {
  background: #1e40af;
}

.client-extra {
  margin-top: 14px;
  padding: 14px;
  background: var(--surface-alt);
  border-radius: 8px;
}

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

.link-list {
  display: grid;
  gap: 10px;
}

.link-list a {
  padding: 12px 14px;
  color: var(--accent-dark);
  background: var(--surface-alt);
  border-radius: 8px;
  font-weight: 850;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 24px;
  align-items: start;
}

.enquiry-form,
.contact-card {
  padding: 24px;
}

.form-row {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

label {
  font-weight: 850;
}

label span {
  color: var(--danger);
}

input,
select,
textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfdff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(37, 99, 235, 0.14);
}

.error-message {
  min-height: 18px;
  color: var(--danger);
  font-weight: 750;
}

.submit-button {
  width: 100%;
}

.form-status {
  margin-top: 16px;
  padding: 14px;
  color: var(--accent-dark);
  background: #e8f1ff;
  border: 1px solid #bfd3f8;
  border-radius: 8px;
}

.form-status:empty {
  display: none;
}

.delivery-log {
  margin-top: 18px;
  padding: 14px;
  color: var(--muted);
  background: var(--surface-alt);
  border-radius: 8px;
}

.hidden {
  display: none !important;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 850;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 75px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    color: #ffffff;
    background: #142d66;
    border: 1px solid #142d66;
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    color: #ffffff;
  }

  .site-nav a:hover,
  .site-nav a[aria-current="page"] {
    color: #3bf52a;
  }

  .hero,
  .split-section,
  .image-page-hero,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-image img {
    min-height: 320px;
  }

  .feature-grid,
  .product-grid,
  .client-grid,
  .about-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand span:last-child {
    font-size: 1rem;
    font-weight: 700;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    max-width: none;
    line-height: 1.2;
  }

  .hero,
  .page-hero,
  .section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .product-card {
    grid-template-columns: 1fr;
  }

  .product-card img {
    min-height: 220px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .button,
  .button-row,
  .site-footer {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
  }
}
