
:root {
  --color-bg: #f4f6fb;
  --color-surface: #ffffff;
  --color-surface-light: #eef2ff;
  --color-accent: #e53935;
  --color-accent-soft: rgba(229, 57, 53, 0.12);
  --color-text: #111827;
  --color-text-muted: #6b7280;
  --color-border-subtle: rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.12);
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-pill: 999px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: var(--font-sans);
  background: radial-gradient(circle at top left, #ffffff 0, #f4f6fb 45%, #e5ebf7 100%);
  color: #111827;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  /* Hide the top info bar on mobile for a cleaner header */
  .topbar { display: none; }

  /* Keep nav on the right of the logo */
  .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .logo-block { gap: 8px; }
  .logo-name { font-size: 0.95rem; }
  .logo-tagline { font-size: 0.8rem; }

  .nav-toggle { display: flex; }

  /* Nav dropdown styling for mobile */
  .main-nav { position: relative; }
  .nav-links {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.3);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 10px 12px;
    flex-direction: column;
    gap: 10px;
    min-width: 180px;
    z-index: 200;
  }
  .nav-links a { padding: 6px 0; }
  .nav-links.is-open { display: flex; }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 10px 0;
  }

  .logo-mark {
    width: 32px;
    height: 32px;
  }

  .logo-name {
    font-size: 0.9rem;
  }

  .logo-tagline {
    font-size: 0.72rem;
  }

  .nav-links {
    width: 100%;
    gap: 10px;
    justify-content: flex-start;
  }
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.topbar {
  background: #020b24;
  color: #e5e7eb;
  font-size: 0.75rem;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  gap: 10px;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.topbar-item i {
  font-size: 0.7rem;
}

.topbar-divider {
  opacity: 0.4;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  overflow: hidden;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #111827;
}

.logo-tagline {
  font-size: 0.75rem;
  color: #6b7280;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.nav-links a {
  position: relative;
  padding: 4px 0;
  color: #132653;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #e53935, #ff7961);
  transition: width 0.2s ease-out;
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 6px 4px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: #ffffff;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: #111827;
  border-radius: 999px;
}

.hero-section {
  padding: 52px 0 52px;
  background: linear-gradient(to bottom, #ffffff 0, #f5f7fb 60%, #eef2fb 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: none;
  opacity: 0;
  z-index: 1;
}

.hero-section h1,
.hero-section .hero-subtitle,
.hero-section .eyebrow,
.hero-section .hero-meta {
  color: #ffffff;
}

.hero-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.hero-content {
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* remove left offset to keep true centering */
  margin-left: 0;

}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.eyebrow {
  display: none;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: #90caf9;
  margin-bottom: 10px;
}

.hero-section h1 {
  font-size: 2.8rem;
  line-height: 1.15;
  margin: 0 0 14px;
}

.hero-subtitle {
  display: block;
  margin: 0 0 22px;
  color: #ffffff;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  justify-content: center;
}

.hero-meta {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(229, 57, 53, 0.04);
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.hero-panel {
  display: none;
}

.hero-card {
  width: 100%;
  max-width: 360px;
  background: #ffffff;
  border-radius: 24px;
  padding: 22px 22px 20px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.hero-card h2 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

.hero-card p {
  margin: 0 0 16px;
  color: var(--color-text-muted);
}

.highlight-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
}

.highlight-list li::before {
  content: "";
}

.highlights-section {
  padding-top: 24px;
  padding-bottom: 32px;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.highlight-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 14px 14px 12px;
  border: 1px solid var(--color-border-subtle);
  text-align: center;
}

.highlight-icon {
  width: 38px;
  height: 38px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-soft);
  color: var(--color-accent);
}

.highlight-card h3 {
  margin: 0 0 6px;
  font-size: 0.95rem;
}

.highlight-card p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.mission-visuals {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.mission-image {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.mission-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.featured-products-section {
  background: #ffffff;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.featured-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 16px 16px 14px;
  border: 1px solid var(--color-border-subtle);
}

.featured-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.featured-card p {
  margin: 0 0 10px;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.clients-section {
  padding-top: 32px;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.client-card {
  text-align: center;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  border: 1px dashed var(--color-border-subtle);
  background: #f9fafb;
  font-size: 0.85rem;
}

/* Trust strip: match the provided design without hardcoded paths */
.trust-strip-section {
  background: #ffffff;
  padding-top: 28px;
  padding-bottom: 36px;
}

.trust-strip-header {
  text-align: center;
  max-width: 960px;
  margin: 0 auto 20px;
}

.trust-strip-header h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  line-height: 1.35;
  color: #132653;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  align-items: stretch;
}

/* Ensure exactly four equal columns on wide screens, matching the design */
@media (min-width: 1024px) {
  .trust-strip-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-card {
  /* square corners as requested */
  border-radius: 0;
  border: 2px solid #274192; /* deep blue border per design */
  background: #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}

.trust-card-media {
  position: relative;
  width: 100%;
  /* make the card visually longer/taller while keeping it slim */
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.trust-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trust-card-body {
  /* slightly tighter padding so the overall card feels smaller */
  padding: 10px 10px 12px;
  text-align: center;
}

/* Overlay icons inside trust cards using your classes
   (flaticon-alarm-clock, fa fa-percent, flaticon-engineer, fa fa-laptop). */
.trust-card .overlay-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 10px auto 12px;
  border-radius: 50%;
  border: 2px solid #274192;
  color: #274192;
  font-size: 32px;
  background: #ffffff;
}

/* Ensure Font Awesome icons inside overlay-icon use the solid style */
.trust-card .overlay-icon.fa {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.trust-card-body h3 {
  margin: 0 0 6px;
  font-size: 0.98rem;
  color: #132653;
  font-weight: 700;
}

/* small underline accent under titles, matching screenshot */
/* underline accent under titles via pseudo-element (no HTML changes) */
.trust-card-body h3::after {
  content: "";
  display: block;
  width: 42px; /* smaller underline per screenshot */
  height: 2px;
  margin: 8px auto 0;
  background: #274192;
  border-radius: 2px;
}

/* Icon styling inside trust cards – supports SVG, font icons, and inline img */
.trust-card-body svg,
.trust-card-body i,
.trust-card-body .icon,
.trust-card-body img.icon {
  display: inline-block;
  width: 86px;   /* large icon size per screenshot */
  height: 86px;
  margin: 8px auto 12px;
  color: #274192; /* for font icons */
}

/* If SVGs define stroke/fill, gently standardize to match design */
.trust-card-body svg {
  fill: none;
  stroke: #274192;
  stroke-width: 2.5px;
}

/* Optional: ensure inline images used as icons fit the intended size */
.trust-card-body img.icon {
  object-fit: contain;
}

/* Icon styling inside trust cards (supports <svg> or <i>) */
.trust-card-body svg,
.trust-card-body i {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  margin: 4px auto 10px;
  color: #274192;
}

/* If using SVG, ensure consistent stroke/fill appearance */
.trust-card-body svg {
  fill: none;
  stroke: #274192;
  stroke-width: 2;
}

/* Optional: place icon above the title when present */
.trust-card-body .trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 8px;
  border-radius: 50%;
  border: 2px solid #274192;
  color: #274192;
}

/* Optional subtle hover lift without layout shift */
.trust-card:hover {
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
  transform: translateY(-2px);
  transition: box-shadow 0.18s ease-out, transform 0.18s ease-out;
}

@media (max-width: 768px) {
  .trust-strip-header {
    margin-bottom: 16px;
  }

  .trust-strip-grid {
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  }

  .trust-card-body {
    padding: 12px 10px 14px;
  }

  .trust-card-body h3::after {
    width: 36px;
  }
}

.cta-band {
  background: #0b1120;
  color: #ffffff;
  padding-top: 32px;
  padding-bottom: 32px;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cta-inner h2 {
  margin: 0 0 8px;
  font-size: 1.6rem;
}

.cta-inner p {
  margin: 0;
  font-size: 0.92rem;
  color: #e5e7eb;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.section {
  padding: 40px 0;
}

.bg-light {
  background: #ffffff;
}

.bg-dark {
  background: #f5f7fb;
  color: inherit;
}

.section-header {
  max-width: 640px;
  margin-bottom: 22px;
}

.section-header h2 {
  font-size: 1.5rem;
  margin: 0 0 8px;
}

.section-header p {
  margin: 0;
  color: var(--color-text-muted);
}

.section-header-light h2,
.section-header-light p {
  color: #111827;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 26px;
  align-items: flex-start;
}

.key-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.stat-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 10px 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.stat-value {
  display: block;
  font-size: 0.96rem;
  margin-top: 2px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

.card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 16px 16px 14px;
  border: 1px solid var(--color-border-subtle);
  color: #111827;
}

.card-muted {
  background: #f9fafb;
  border-style: dashed;
}

.card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.section-cta {
  margin-top: 20px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
}

.checklist li::before {
  content: "✔";
  color: #66bb6a;
  margin-right: 8px;
}

.chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: #f9fafb;
  font-size: 0.8rem;
}

.contact-section {
  background: linear-gradient(to bottom, #f5f7fb 0, #e8eefb 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.7fr) minmax(0, 3fr);
  gap: 28px;
  align-items: flex-start;
}

.contact-details h3 {
  margin-top: 18px;
  margin-bottom: 10px;
}

.contact-details p {
  margin: 0 0 10px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.form-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: var(--shadow-soft);
  color: #111827;
}

.form-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.stacked-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-row label {
  font-size: 0.82rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  padding: 7px 9px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: #ffffff;
  color: #111827;
  font-family: var(--font-sans);
  font-size: 0.85rem;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: #e53935;
  box-shadow: 0 0 0 1px rgba(229, 57, 53, 0.5);
}

.form-note {
  margin: 0;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.btn,
.btn-primary,
.btn-outline,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(90deg, #e53935, #ff7961);
  color: #ffffff;
  box-shadow: 0 8px 30px rgba(229, 57, 53, 0.45);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: #ffffff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-secondary {
  background: rgba(229, 57, 53, 0.08);
  border: 1px solid rgba(229, 57, 53, 0.5);
  color: #7f1d1d;
}

.btn-text {
  font-size: 0.85rem;
  color: #90caf9;
}

.btn-text:hover {
  text-decoration: underline;
}

.site-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding: 16px 0 18px;
  background: #f9fafb;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: flex-start;
}

.footer-column {
  font-size: 0.8rem;
}

.footer-brand {
  max-width: 260px;
}

.footer-heading {
  margin: 0 0 8px;
  font-size: 0.85rem;
  font-weight: 600;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-list a {
  color: var(--color-text-muted);
}

.footer-tagline {
  margin: 0 0 4px;
  font-size: 0.82rem;
}

.footer-copy {
  margin: 0;
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.footer-bottom {
  margin-top: 10px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  padding-top: 8px;
  text-align: center;
}

/* Modern footer (screenshot-inspired) */
.footer-modern {
  background: #0a1526;
  color: #e5e7eb;
  padding: 0; /* we manage internal sections */
}

.footer-modern a { color: #e5e7eb; }

.footer-modern .footer-cta {
  background: #6ec11c; /* green strip */
  color: #0b1120;
}

.footer-modern .footer-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 30px 0; /* taller strip to match screenshot */
}

.footer-modern .footer-cta-text {
  margin: 0;
  font-weight: 800;
  font-size: 1.6rem; /* larger headline for tall CTA */
}

.footer-modern .footer-cta-btn { background: #0b1120; border: none; }

.footer-modern .footer-columns {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 16px 0 8px; /* reduce vertical space */
}

.footer-modern .footer-col .footer-title {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 0.9rem;
}

.footer-modern .footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
}

.footer-modern .brand .brand-tag { margin: 6px 0 8px; color: #cbd5e1; font-size: 0.88rem; }

.footer-modern .footer-logo { width: 120px; }
.footer-modern .footer-logo img { width: 100%; height: auto; display: block; }

.footer-modern .social-row { display: flex; gap: 12px; margin-top: 8px; }
.footer-modern .social-row a { width: 28px; height: 28px; border: none; border-radius: 50%; display: grid; place-items: center; }

.footer-modern .footer-newsletter {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 16px;
  align-items: center;
  padding: 10px 0 14px; /* smaller band */
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-modern .nl-text { font-size: 0.88rem; color: #cbd5e1; }

.footer-modern .nl-form { display: flex; gap: 8px; }
.footer-modern .nl-form input {
  flex: 1 1 auto;
  padding: 8px 10px; /* smaller input */
  border-radius: 8px;
  border: 1px solid rgba(148,163,184,.4);
  background: #0e1c33;
  color: #ffffff;
}

.footer-modern .footer-bottom { border: none; padding-top: 8px; padding-bottom: 12px; }
.footer-modern .footer-copy { color: #9ca3af; }

@media (max-width: 900px) {
  .footer-modern .footer-columns { grid-template-columns: 1fr 1fr; }
  .footer-modern .footer-newsletter { grid-template-columns: 1fr; }
}

/* Footer responsiveness: stack cleanly on smaller screens */
@media (max-width: 768px) {
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { text-align: left; }
}

@media (max-width: 600px) {
  .footer-modern .footer-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 20px 0;
  }

  .footer-modern .footer-columns { grid-template-columns: 1fr; }

  .footer-modern .nl-form { flex-direction: column; }
  .footer-modern .nl-form input { width: 100%; }

  .footer-modern .footer-logo { width: 100px; }
}

.products-page main {
  padding-bottom: 16px;
}

.page-hero {
  padding: 40px 0 28px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: radial-gradient(circle at top left, #ffffff 0, #f5f7fb 45%, #e5ebf7 100%);
}

.page-hero h1 {
  margin: 0 0 10px;
  font-size: 1.8rem;
}

.page-hero p {
  margin: 0;
  max-width: 40rem;
  color: var(--color-text-muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.product-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 16px 16px 14px;
  border: 1px solid var(--color-border-subtle);
  color: #111827;
}

.product-media {
  margin: -4px -4px 10px;
  border-radius: calc(var(--radius-md) - 2px);
  overflow: hidden;
}

.product-media img {
  width: 100%;
  display: block;
  height: auto;
  object-fit: cover;
}

.product-card h2 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.product-card p {
  margin: 0 0 8px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.product-uses {
  margin: 0 0 10px;
  padding-left: 18px;
  font-size: 0.86rem;
  color: var(--color-text-muted);
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.link-msds {
  font-size: 0.85rem;
  color: #ffab91;
}

.link-msds:hover {
  text-decoration: underline;
}

.msds-note {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  z-index: 120;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-out;
}

.whatsapp-float i {
  color: #ffffff;
  font-size: 22px;
}

.whatsapp-float.is-visible {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 768px) {
  .hero-grid,
  .two-column,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-section {
    padding-top: 34px;
    min-height: 70vh; /* ensure full, tall hero on mobile */
  }

  /* Align hero imagery from the left on mobile */
  .hero-slide {
    background-position: left center;
  }
  .hero-slide img {
    object-position: left center;
  }

  .hero-panel {
    justify-content: flex-start;
  }

  .hero-card {
    max-width: 100%;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header {
    /* Expose header height for overlay alignment */
    --header-h: 56px;
    padding: 6px 0;
  }

  .header-inner {
    padding: 28px 0;
  }

	.site-header .container {
    padding: 0 18px;
	}

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    /* Full-viewport overlay menu on mobile, starting just under the header */
    position: fixed;
    left: 0;
    right: 0;
    /* Nudge up by 5px to fully close remaining gap under header */
    top: calc(var(--header-h, 56px) - 5px);
    height: calc(100vh - (var(--header-h, 56px) - 5px));
    width: 100vw;
    flex-direction: column;
    gap: 10px; /* tighter so more items are visible */
    padding: 8px 14px 24px; /* items sit close under header edge */
    background: rgba(5, 11, 24, 0.98);
    border-radius: 0;
    border: 0;
    transform: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease-out;
    font-size: 1rem; /* balanced size to fit more items */
    z-index: 90; /* keep header (z-index:100) on top while background extends under it */
    overflow-y: auto;
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  /* Improve readability and simplify active indicator inside mobile dropdown */
  .nav-links a {
    color: rgba(220, 231, 255, 0.96);
    display: flex;               /* lay out icon + label nicely */
    align-items: center;
    gap: 10px;                   /* space between icon and text */
    padding: 8px 14px;           /* add horizontal breathing room */
    padding-right: 40px;         /* keep distance from chevron */
    font-weight: 600;
    line-height: 1.15;           /* fit more items without overlapping */
  }
  /* Right chevron indicator like the sample UI */
  .nav-links a::after {
    content: "\203A"; /* › */
    position: absolute;
    right: 14px;                 /* more space from text */
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    height: auto;
    background: none;
    opacity: 0.8;
  }
  /* Ensure any inline icons don't crowd the text */
  .nav-links a i,
  .nav-links a svg,
  .nav-links a img { margin-right: 4px; flex: 0 0 auto; }
  .nav-links a:hover,
  .nav-links a.is-active { color: #ffffff; }

  /* Morph hamburger into close (X) when menu is open) */
  .nav-toggle[aria-expanded="true"] { background: transparent; border-color: transparent; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  /* Social row anchored at the bottom of the overlay */
  .nav-links .nav-social {
    margin-top: auto;
    display: flex;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(220, 231, 255, 0.12);
  }
  .nav-links .nav-social a {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: none;
    color: rgba(220, 231, 255, 0.96);
    /* ensure perfect circle — override mobile link padding */
    padding: 0;
    aspect-ratio: 1 / 1;
  }
  .nav-links .nav-social a:hover { color: #ffffff; border-color: rgba(255,255,255,0.5); }
  /* Remove chevron from social icons */
  .nav-links .nav-social a::after { display: none; }
}

@media (min-width: 769px) {
  /* Desktop hero height tuned to slider image aspect ratio */
  .hero-section {
    min-height: clamp(360px, 33vw, 700px);
  }
  /* Desktop-only hero typography scaling */
  .hero-section h1 {
    font-size: 72px;
    max-width: 22ch; /* encourage two-line wrap */
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  /* Ensure the hero content block stays centered on desktop */
  .hero-content {
    margin: 0 auto;
    text-align: center;
    align-items: center;
    justify-content: center;
    /* Nudge further right on desktop for visual centering */
    transform: translateX(12.4vw);
  }
  .hero-subtitle {
    font-size: clamp(1rem, 1.2vw, 1.3rem);
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-actions .btn-primary { padding: 16px 26px; font-size: 1.12rem; }
  /* Ensure hero content is perfectly centered and not offset */
  .hero-content { margin-left: 0; }
}

@media (max-width: 480px) {
  .hero-section {
    min-height: 75vh; /* slightly taller on very small screens */
  }
  .hero-section h1 {
    font-size: 2rem;
    line-height: 1.05; /* even tighter line spacing on mobile */
  }
  .hero-section .hero-subtitle {
    line-height: 1.05; /* tighter subtitle spacing on mobile */
    margin-bottom: 10px; /* keep visual balance with tighter lines */
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .site-footer {
    padding-bottom: 60px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 12px;
  }
}

/* Prevent horizontal scroll/jitter on small screens without altering layout */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
  }
}

/* Home: Product Categories grid (added after Our Mission) */
.home-categories {
  background: #ffffff;
}

.home-cat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 768px) {
  .home-cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.home-cat-card {
  display: block;
  border: 2px solid #274192; /* deep blue frame similar to provided design */
  background: #ffffff;
  text-align: center;
  color: #132653;
  transition: transform 0.16s ease-out, box-shadow 0.16s ease-out;
}

.home-cat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
}

.home-cat-media {
  aspect-ratio: 16/11;
  overflow: hidden;
}

.home-cat-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-cat-title {
  margin: 10px 10px 14px;
  font-size: 0.98rem;
  font-weight: 700;
}

.home-cat-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 2px;
  margin: 8px auto 0;
  background: #274192;
}

.home-cat-cta {
  text-align: center;
  margin-top: 10px;
}

.home-cat-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #132653;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Offset for in-page anchor scroll under sticky header */
.anchor-target {
  scroll-margin-top: 90px;
}

/* Also offset real product-card anchors used on products page */
.product-card {
  scroll-margin-top: 90px;
}

/* Process Flow (after home-categories) */
.process-flow {
  background: #071326; /* deep navy like the sample */
  color: #ffffff;
}

.process-flow .visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

.flow-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap; /* keep all items inline horizontally */
}

.flow-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 120px; /* slightly smaller so all fit on one row */
  flex: 0 1 auto;
}

.flow-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px; /* square corners similar to the image */
  margin-bottom: 12px;
}

.flow-icon i { color: #ffffff; font-size: 34px; }

.flow-label { font-weight: 700; text-align: center; }

.flow-arrow {
  flex: 1 1 100px;
  min-width: 100px;
  max-width: 180px;
}

.flow-arrow svg { width: 100%; height: 44px; }

.flow-arrow svg path { stroke: #f3a17f; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 800px) {
  .flow-steps { justify-content: center; }
  .flow-arrow { display: none; }
}
