/*
Theme Name: Structural Adhesives New
Author: S Heavey
Template: online-courses-fse
Version: 1.0.0
*/
/* Add your custom styles here */

/*------------------------------------*\
    MAIN
\*------------------------------------*/
:root {
  --navy:     #042C53;
  --navymid:  #0C447C;
  --navylt:   #1A3D5C;
  --teal:     #0F6E56;
  --tealmid:  #1D9E75;
  --tealacc:  #5DCAA5;
  --tealpale: #E1F5EE;
  --amber:    #EF9F27;
  --amberdk:  #633806;
  --amberpale:#FAEEDA;
  --purple:   #534AB7;
  --purplepale:#EEEDFE;
  --coral:    #D85A30;
  --coralpale:#FAECE7;
  --green:    #3B6D11;
  --greenpale:#EAF3DE;
  --blue:     #185FA5;
  --bluepale: #E6F1FB;
  --graypale: #F1EFE8;
  --white:    #FFFFFF;
  --offwhite: #F7F9FB;
  --slate:    #475569;
  --muted:    #94A3B8;
  --charcoal: #1E293B;
  --border:   #E2E8F0;
  --serif:    'DM Serif Display', Georgia, serif;
  --sans:     'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--charcoal);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ── NAV ─────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid var(--navymid);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 2rem;
  height: 60px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logomark {
  width: 34px; height: 34px;
  background: var(--teal); border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: var(--tealpale);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.nav-brand {
  font-size: 14px; font-weight: 600;
  color: var(--white); white-space: nowrap;
}
.nav-links {
  display: flex; align-items: center; gap: 0.25rem;
  flex: 1; justify-content: center;
}
.nav-link {
  font-size: 13px; font-weight: 400; color: #85B7EB;
  padding: 0.4rem 0.8rem; border-radius: 6px;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.07); }
.nav-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-award {
  font-size: 11px; font-weight: 600;
  color: var(--amberdk); background: var(--amberpale);
  padding: 4px 10px; border-radius: 20px; white-space: nowrap;
}
.nav-cta {
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  color: var(--tealpale); background: var(--teal);
  padding: 8px 18px; border-radius: 7px; border: none;
  cursor: pointer; transition: background 0.15s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--tealmid); }

/* ── HERO ────────────────────────────────── */
.hero {
  background: var(--navy);
  padding: 5rem 2rem 4rem;
}
.hero-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 380px;
  gap: 4rem; align-items: center;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 1.2rem; flex-wrap: wrap;
}
.hero-badge {
  font-size: 11px; font-weight: 700;
  color: var(--amberdk); background: var(--amber);
  padding: 5px 12px; border-radius: 20px;
  display: flex; align-items: center; gap: 5px;
}
.hero-badge::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--amberdk);
  border-radius: 50%;
  display: inline-block;
}
.hero-years { font-size: 12px; color: #85B7EB; }
.hero-h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 400; line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.2rem;
}
.hero-h1 em {
  font-style: italic;
  color: var(--tealacc);
}
.hero-sub {
  font-size: 15px; line-height: 1.75;
  color: #85B7EB;
  margin-bottom: 2rem;
  max-width: 540px;
}
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-primary {
  font-family: var(--sans); font-size: 14px; font-weight: 600;
  color: var(--tealpale); background: var(--teal);
  padding: 12px 24px; border-radius: 8px; border: none;
  cursor: pointer; transition: background 0.15s;
}
.btn-primary:hover { background: var(--tealmid); }
.btn-outline {
  font-family: var(--sans); font-size: 14px; font-weight: 400;
  color: #85B7EB; background: transparent;
  padding: 12px 24px; border-radius: 8px;
  border: 1px solid #185FA5; cursor: pointer;
  transition: all 0.15s;
}
.btn-outline:hover { color: var(--white); border-color: #378ADD; }
.hero-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.hero-stat {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px; padding: 1.1rem;
}
.hero-stat-val {
  font-family: var(--serif);
  font-size: 2rem; font-weight: 400;
  color: var(--tealacc); line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-label { font-size: 11px; color: #85B7EB; line-height: 1.4; }

/* ── FINDER STRIP ───────────────────────── */
.finder {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
  position: sticky; top: 60px; z-index: 90;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.finder-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.finder-label {
  font-size: 13px; font-weight: 600;
  color: var(--charcoal); white-space: nowrap;
}
.finder-selects { display: flex; gap: 8px; flex: 1; flex-wrap: wrap; }
.finder-select {
  font-family: var(--sans); font-size: 13px;
  padding: 9px 12px; flex: 1; min-width: 160px;
  border: 1px solid var(--border); border-radius: 7px;
  background: var(--offwhite); color: var(--charcoal);
  cursor: pointer; transition: border-color 0.15s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%2394A3B8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
}
.finder-select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15,110,86,0.1); }
.finder-btn {
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  color: var(--tealpale); background: var(--teal);
  padding: 9px 22px; border-radius: 7px; border: none;
  cursor: pointer; transition: background 0.15s; white-space: nowrap;
}
.finder-btn:hover { background: var(--tealmid); }

/* ── SECTIONS SHARED ────────────────────── */
.section { padding: 4.5rem 2rem; }
.section-alt { background: var(--offwhite); }
.section-dark { background: var(--navy); }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header { margin-bottom: 2.5rem; }
.section-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: 8px;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400; line-height: 1.2;
  color: var(--charcoal);
}
.section-title-light { color: var(--white); }
.section-sub { font-size: 15px; color: var(--slate); margin-top: 8px; }
.section-sub-light { color: #85B7EB; }

/* ── SECTORS ────────────────────────────── */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.sector-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 1.1rem;
  border-top: 3px solid transparent;
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
}
.sector-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.sector-icon {
  width: 36px; height: 36px; border-radius: 8px;
  margin-bottom: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.sector-name { font-size: 13px; font-weight: 600; color: var(--charcoal); margin-bottom: 4px; }
.sector-desc { font-size: 11px; color: var(--slate); line-height: 1.45; margin-bottom: 10px; }
.sector-tag {
  display: inline-block; font-size: 10px; font-weight: 600;
  padding: 2px 8px; border-radius: 20px;
}

/* sector colours */
.s-construction { border-top-color: var(--teal); }
.s-construction .sector-icon { background: var(--tealpale); }
.s-construction .sector-tag { background: var(--tealpale); color: #085041; }

.s-aerospace { border-top-color: var(--blue); }
.s-aerospace .sector-icon { background: var(--bluepale); }
.s-aerospace .sector-tag { background: var(--bluepale); color: #0C447C; }

.s-engineering { border-top-color: var(--amber); }
.s-engineering .sector-icon { background: var(--amberpale); }
.s-engineering .sector-tag { background: var(--amberpale); color: var(--amberdk); }

.s-defence { border-top-color: var(--purple); }
.s-defence .sector-icon { background: var(--purplepale); }
.s-defence .sector-tag { background: var(--purplepale); color: #3C3489; }

.s-rail { border-top-color: #5F5E5A; }
.s-rail .sector-icon { background: var(--graypale); }
.s-rail .sector-tag { background: var(--graypale); color: #444441; }

.s-wind { border-top-color: var(--green); }
.s-wind .sector-icon { background: var(--greenpale); }
.s-wind .sector-tag { background: var(--greenpale); color: #27500A; }

.s-space { border-top-color: var(--coral); }
.s-space .sector-icon { background: var(--coralpale); }
.s-space .sector-tag { background: var(--coralpale); color: #712B13; }

.s-finder {
  border-top-color: var(--border);
  border-style: dashed;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; gap: 6px;
  background: var(--offwhite);
}
.s-finder p { font-size: 12px; color: var(--slate); }
.s-finder a { font-size: 12px; font-weight: 600; color: var(--teal); }

/* ── PRODUCTS ────────────────────────────── */
.products-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 1.3rem;
  transition: box-shadow 0.2s;
}
.product-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.product-card.featured { border: 2px solid var(--teal); }
.product-badge {
  display: inline-block; font-size: 10px; font-weight: 700;
  padding: 3px 10px; border-radius: 20px; margin-bottom: 10px;
}
.product-name {
  font-size: 15px; font-weight: 700; color: var(--charcoal);
  margin-bottom: 4px;
}
.product-sub { font-size: 12px; color: var(--teal); font-weight: 500; margin-bottom: 8px; }
.product-desc { font-size: 13px; color: var(--slate); line-height: 1.55; margin-bottom: 12px; }
.product-specs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.product-spec {
  font-size: 10px; font-weight: 600; color: var(--slate);
  background: var(--offwhite); padding: 3px 8px; border-radius: 20px;
  border: 1px solid var(--border);
}
.product-link {
  font-size: 12px; font-weight: 600; color: var(--teal);
  display: inline-flex; align-items: center; gap: 4px;
}
.product-link::after { content: '→'; }
.view-all-wrap { text-align: center; margin-top: 2rem; }
.btn-ghost {
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  color: var(--charcoal); background: transparent;
  padding: 11px 28px; border-radius: 8px;
  border: 1px solid var(--border); cursor: pointer;
  transition: all 0.15s;
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }

/* ── TOOLS ───────────────────────────────── */
.tools-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.tool-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 1.2rem;
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
}
.tool-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); transform: translateY(-2px); }
.tool-card.live { border: 2px solid var(--purple); background: var(--purplepale); }
.tool-icon {
  width: 38px; height: 38px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px; font-size: 17px;
}
.tool-header { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.tool-name { font-size: 13px; font-weight: 700; color: var(--charcoal); }
.tool-name-purple { color: var(--purple); }
.tool-live-badge {
  font-size: 9px; font-weight: 700;
  color: #EEEDFE; background: var(--purple);
  padding: 2px 7px; border-radius: 20px;
}
.tool-desc { font-size: 12px; color: var(--slate); line-height: 1.5; margin-bottom: 10px; }
.tool-try { font-size: 12px; font-weight: 600; color: var(--teal); }
.tool-try-purple { color: var(--purple); }

/* ── CASE STUDIES ────────────────────────── */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.case-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  transition: box-shadow 0.2s;
}
.case-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.case-thumb {
  height: 90px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
}
.case-body { padding: 1rem; }
.case-sector-tag {
  display: inline-block; font-size: 10px; font-weight: 700;
  padding: 2px 8px; border-radius: 20px; margin-bottom: 8px;
}
.case-title { font-size: 14px; font-weight: 700; color: var(--charcoal); margin-bottom: 4px; }
.case-client { font-size: 12px; color: var(--slate); }

/* ── TRUST BAR ───────────────────────────── */
.trust-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin-bottom: 2rem;
}
.trust-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.2rem; text-align: center;
}
.trust-val {
  font-family: var(--serif);
  font-size: 1.8rem; font-weight: 400;
  color: var(--charcoal); line-height: 1; margin-bottom: 4px;
}
.trust-label { font-size: 11px; color: var(--slate); }

/* ── LUMA CALLOUT ────────────────────────── */
.luma-callout {
  background: var(--tealpale);
  border: 1px solid #9FE1CB;
  border-radius: 14px; padding: 2rem 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.luma-left h3 {
  font-family: var(--serif);
  font-size: 1.4rem; font-weight: 400;
  color: #085041; margin-bottom: 6px;
}
.luma-left p { font-size: 14px; color: var(--teal); line-height: 1.6; max-width: 500px; }
.luma-btns { display: flex; gap: 10px; flex-wrap: wrap; flex-shrink: 0; }
.btn-teal {
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  color: var(--tealpale); background: var(--teal);
  padding: 10px 20px; border-radius: 8px; border: none;
  cursor: pointer; transition: background 0.15s;
}
.btn-teal:hover { background: var(--tealmid); }
.btn-teal-outline {
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  color: var(--teal); background: transparent;
  padding: 10px 20px; border-radius: 8px;
  border: 1px solid var(--teal); cursor: pointer;
  transition: all 0.15s;
}
.btn-teal-outline:hover { background: var(--teal); color: var(--tealpale); }

/* ── FOOTER ──────────────────────────────── */
.footer { background: var(--navy); padding: 3rem 2rem 1.5rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 2.5rem;
}
.footer-brand { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.footer-tagline { font-size: 12px; color: #85B7EB; line-height: 1.65; margin-bottom: 1rem; }
.footer-award {
  display: inline-block; font-size: 10px; font-weight: 700;
  color: var(--amberdk); background: var(--amber);
  padding: 4px 10px; border-radius: 20px;
}
.footer-col-title {
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--tealacc);
  margin-bottom: 12px;
}
.footer-link {
  display: block; font-size: 13px; color: #85B7EB;
  margin-bottom: 8px; transition: color 0.15s;
}
.footer-link:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.2rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
}
.footer-bottom-text { font-size: 11px; color: #85B7EB; }

/* ── SAL BONDS BANNER ───────────────────── */
.bonds-banner {
  background: var(--navylt);
  border: 1px solid var(--navymid);
  border-radius: 12px; padding: 1.4rem 1.8rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2rem;
}
.bonds-left { display: flex; align-items: center; gap: 14px; }
.bonds-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--teal); display: flex; align-items: center;
  justify-content: center; font-size: 20px; flex-shrink: 0;
}
.bonds-text h4 { font-size: 14px; font-weight: 700; color: var(--tealacc); margin-bottom: 2px; }
.bonds-text p { font-size: 12px; color: #85B7EB; }
.bonds-btn {
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  color: var(--tealacc); background: transparent;
  padding: 8px 16px; border-radius: 7px;
  border: 1px solid var(--teal); cursor: pointer;
  transition: all 0.15s; white-space: nowrap;
}
.bonds-btn:hover { background: var(--teal); color: var(--tealpale); }

/* ── RESPONSIVE ─────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .trust-bar { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .nav-award { display: none; }
  .hero { padding: 3rem 1.2rem; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .section { padding: 3rem 1.2rem; }
  .sectors-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr; }
  .trust-bar { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .finder-inner { flex-direction: column; align-items: stretch; }
  .finder-selects { flex-direction: column; }
}

/* ── ANIMATIONS ─────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .fade-up {
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }
  .fade-up.visible { opacity: 1; transform: translateY(0); }
}
