/* RESET & NORMALIZE */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
body {
  line-height: 1.5;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color .2s;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}
:focus {
  outline: 2px solid #F6B800;
  outline-offset: 2px;
}

/* VARIABLES: Brand + Industrial Modern */
:root {
  --color-primary: #005572;
  --color-secondary: #F6B800;
  --color-accent: #FFFFFF;
  --color-dark-bg: #151A1E;
  --color-dark-alt: #23282D;
  --color-grey: #22282B;
  --color-metal: #8B959E;
  --color-shadow: rgba(0,0,0,.42);
  --font-display: 'Oswald', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Roboto', 'Segoe UI', Arial, sans-serif;
}

/* BASE BODY */
body {
  background: var(--color-dark-bg);
  color: var(--color-accent);
  font-family: var(--font-body);
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* CONTAINER LAYOUT */
.container {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 1220px;
  padding: 0 20px;
  margin: 0 auto;
}
/* Spacing for main content wrappers */
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 0;
  padding-bottom: 0;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5 {
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.1;
  text-transform: uppercase;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 14px;
  margin-top: 0;
}
h2 {
  font-size: 1.7rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.24rem;
  margin-bottom: 10px;
}
h4, h5 { font-size: 1rem; }

p, li, ul, ol {
  color: #E0E6EA;
  font-size: 1rem;
}
p {
  margin-bottom: 18px;
  line-height: 1.72;
}
strong { font-weight: bold; color: var(--color-accent); }
em { color: var(--color-metal); }
blockquote {
  font-style: italic;
  color: var(--color-primary);
  background: var(--color-dark-alt);
  padding: 18px 22px;
  border-left: 4px solid var(--color-secondary);
  border-radius: 4px;
  margin: 0 0 10px 0;
}

/* HEADER / NAV */
header {
  background: var(--color-grey);
  box-shadow: 0 3px 18px var(--color-shadow);
  position: relative;
  z-index: 50;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 48px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-left: 20px;
}
nav a {
  font-family: var(--font-display);
  font-size: 1.03rem;
  text-transform: uppercase;
  letter-spacing: .01em;
  padding: 7px 13px;
  color: var(--color-accent);
  position: relative;
  transition: color .18s, background .18s;
  border-radius: 4px;
}
nav a:hover,
nav a.active{
  color: var(--color-primary);
  background: var(--color-secondary);
}
nav .cta-btn {
  background: var(--color-secondary);
  color: var(--color-dark-bg) !important;
  border-radius: 6px;
  padding: 9px 22px;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: .09em;
  margin-left: 22px;
  border: none;
  transition: background .19s, color .17s, box-shadow .22s;
  box-shadow: 0 2px 10px rgba(246,184,0,.10);
}
nav .cta-btn:hover {
  background: var(--color-primary);
  color: var(--color-secondary) !important;
  box-shadow: 0 2px 10px 0 var(--color-primary);
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-size: 2rem;
  padding: 5px 16px;
  border-radius: 8px;
  margin-left: 14px;
  transition: background .17s, color .13s;
  z-index: 1002;
}
.mobile-menu-toggle:hover {
  background: var(--color-primary);
  color: var(--color-secondary);
}
.mobile-menu {
  position: fixed;
  right: 0; top: 0; bottom: 0;
  width: 90vw;
  max-width: 340px;
  background: var(--color-dark-bg);
  box-shadow: -8px 0 32px 0 var(--color-shadow);
  z-index: 1001;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.77,0,.175,1);
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 24px 14px 24px 34px;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  font-size: 2.3rem;
  color: var(--color-secondary);
  background: transparent;
  align-self: flex-end;
  margin-bottom: 18px;
  border-radius: 4px;
  transition: background .15s;
}
.mobile-menu-close:hover {
  background: var(--color-primary);
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  margin-top: 10px;
  width: 100%;
}
.mobile-nav a {
  display: block;
  width: 100%;
  padding: 12px 8px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  border-radius: 4px;
  color: var(--color-accent);
  text-align: left;
  transition: background .14s, color .14s;
}
.mobile-nav a:hover,
.mobile-nav a.active {
  background: var(--color-secondary);
  color: var(--color-primary);
}

@media (max-width: 1024px) {
  nav {
    gap: 9px;
    margin-left: 12px;
  }
  nav .cta-btn {
    margin-left: 12px;
  }
}
@media (max-width: 900px) {
  header .container {
    flex-direction: row;
  }
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* MAIN SECTIONS & LAYOUT */
main {
  min-height: calc(100vh - 100px);
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-dark-alt);
  border-radius: 16px;
  box-shadow: 0 2px 18px 0 var(--color-shadow);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}
section:last-child {
  margin-bottom: 0;
}

/* FLEXBOX LAYOUTS (MANDATED) */
.features-grid, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature {
  flex: 1 1 260px;
  min-width: 220px;
  padding: 24px 20px;
  background: var(--color-grey);
  border-radius: 14px;
  box-shadow: 0 1px 6px var(--color-shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  border: 1.5px solid #222f35;
  transition: box-shadow .19s, border-color .16s, transform .19s;
}
.feature img {
  width: 44px;
  height: 44px;
  filter: grayscale(20%) contrast(1.08) brightness(1.04);
}
.feature:hover { 
  border-color: var(--color-primary); 
  box-shadow: 0 4px 22px var(--color-primary); 
  transform: translateY(-4px) scale(1.03);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  background: var(--color-grey);
  border-radius: 12px;
  box-shadow: 0 1px 10px var(--color-shadow);
  margin-bottom: 20px;
  padding: 28px 24px;
  min-width: 240px;
  flex: 1 1 320px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.content-grid {
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section, .features-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature { min-width: 0; }
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 22px var(--color-shadow);
  color: #23282D;
  margin-bottom: 20px;
  border: 1.2px solid var(--color-metal);
  flex-direction: column;
  min-width: 235px;
  max-width: 540px;
  width: 100%;
  transition: box-shadow .18s, border .16s, transform .17s;
}
.testimonial-card blockquote {
  color: var(--color-primary);
  background: #f8f8f8;
  border-left: 5px solid var(--color-secondary);
}
.testimonial-card footer {
  font-family: var(--font-display);
  color: var(--color-dark-bg);
  font-size: 1rem;
  margin-top: 2px;
}
.testimonial-card:hover {
  border-color: var(--color-secondary);
  box-shadow: 0 6px 28px var(--color-metal);
  transform: translateY(-2px) scale(1.027);
}

/* Responsive card stacking */
@media (max-width: 860px) {
  .testimonial-card { max-width: 100%; }
}

/* Buttons and CTAs */
.cta-btn, .cookie-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  padding: 14px 32px;
  border-radius: 7px;
  font-weight: 700;
  background: var(--color-secondary);
  color: var(--color-dark-bg);
  box-shadow: 0 2px 8px rgba(232,185,0,0.17);
  border: none;
  cursor: pointer;
  letter-spacing: .052em;
  transition: background .18s, color .12s, box-shadow .21s, outline .13s;
  text-transform: uppercase;
}
.cta-btn:hover,
.cookie-btn:hover {
  background: var(--color-primary);
  color: var(--color-secondary) !important;
  outline: none;
  box-shadow: 0 2px 18px 0 var(--color-primary);
  text-shadow: 0px 1px 2px #222;
}

/* Guide/Blog List Styling */
.guide-list, .blog-post-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 16px;
}
.guide-list li, .blog-post-list li {
  background: var(--color-grey);
  padding: 18px 18px;
  border-radius: 8px;
  font-size: 1.06rem;
  box-shadow: 0 1px 4px var(--color-shadow);
  color: var(--color-accent);
  border-left: 4px solid var(--color-primary);
  transition: border .14s, background .17s;
}
.guide-list li:hover, .blog-post-list li:hover {
  border-left-color: var(--color-secondary);
  background: var(--color-primary);
  color: var(--color-secondary);
}

.topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.topic-tags span {
  background: var(--color-metal);
  color: #222;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.95em;
  letter-spacing: .01em;
  font-family: var(--font-body);
  margin-bottom: 4px;
}

/* Address/Contact details styling */
.company-details, .contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--color-metal);
  font-size: 1em;
}
.address-map {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-metal);
  font-size: 1em;
  margin-top: 16px;
}
.contact-info img {
  width: 22px;
  height: 22px;
  margin-right: 8px;
  vertical-align: middle;
}

/* Feature-item pattern */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* Spacing for sections and cards */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.content-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }
.text-image-section { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.testimonial-card { display: flex; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* Footer */
footer {
  background: var(--color-grey);
  padding: 38px 0 20px 0;
  color: var(--color-metal);
  font-size: 0.98rem;
  border-top: 2.5px solid var(--color-primary);
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.logo-footer {
  margin-bottom: 12px;
  display: flex;
}
footer nav {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 8px;
}
footer nav a {
  color: var(--color-metal);
  font-family: var(--font-display);
  font-size: .94rem;
  transition: color .11s;
}
footer nav a:hover {
  color: var(--color-secondary);
}
footer .contact-info {
  margin-bottom: 12px;
  color: var(--color-accent);
  align-items: flex-start;
  gap: 6px;
  font-size: .99em;
}
footer p {
  color: var(--color-metal);
  text-align: center;
}

/* RESPONSIVE LAYOUTS */
@media (max-width: 720px) {
  .container {
    padding: 0 7px;
  }
  section {
    padding: 28px 4px;
    border-radius: 10px;
  }
  .card, .feature {
    padding: 22px 10px;
  }
  .feature {
    border-radius: 7px;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.12rem; }
  .container { padding: 0 2px; }
  section { padding: 17px 1px; border-radius: 6px; }
  .testimonial-card { padding: 14px 6px; }
}

/* MICRO-INTERACTIONS & ANIMATIONS */
.cta-btn, .cookie-btn, nav a, .feature, .card, .testimonial-card {
  transition: background .19s, color .16s, box-shadow .23s, transform .17s;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100vw;
  background: var(--color-dark-alt);
  border-top: 2px solid var(--color-primary);
  color: var(--color-accent);
  font-size: 1em;
  box-shadow: 0 -3px 24px var(--color-shadow);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 22px 16px 22px 16px;
  animation: slideUp .38s cubic-bezier(.77,0,.175,1);
}
@keyframes slideUp {
  from { transform: translateY(80px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-content {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.cookie-btn {
  font-size: 1em;
  padding: 10px 20px;
  border-radius: 7px;
  font-family: var(--font-display);
  font-weight: 600;
  border: none;
  background: var(--color-secondary);
  color: var(--color-primary);
  transition: background .14s, color .15s;
}
.cookie-btn.reject {
  background: var(--color-metal);
  color: var(--color-dark-bg);
}
.cookie-btn.settings {
  background: transparent;
  border: 2px solid var(--color-secondary);
  color: var(--color-secondary);
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: var(--color-primary);
  color: var(--color-secondary);
}
.cookie-btn.reject:hover { background: #9AA0A6; color: #23282D; }
.cookie-btn.settings:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
}

/* Cookie Banner Responsive */
@media (max-width: 540px) {
  .cookie-banner {
    padding: 14px 2px;
  }
  .cookie-actions {
    gap: 8px;
  }
}

/* Cookie Modal */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 1110;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(29, 32, 38, 0.77);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadein .38s cubic-bezier(.68,0,.235,1);
}
@keyframes fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: var(--color-dark-bg);
  border: 2.5px solid var(--color-secondary);
  border-radius: 10px;
  box-shadow: 0 6px 44px 0 var(--color-shadow);
  max-width: 428px;
  min-width: 236px;
  padding: 32px 24px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: var(--color-accent);
  z-index: 1200;
  position: relative;
}
.cookie-modal h2 {
  color: var(--color-secondary);
  font-size: 1.3rem;
  margin-bottom: 7px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 17px;
  font-size: 1.08em;
}
.cookie-category label {
  font-weight: 500;
  letter-spacing: .01em;
}
.cookie-category input[type="checkbox"] {
  width: 22px; height: 22px;
  accent-color: var(--color-secondary);
  border-radius: 2px;
}
.cookie-modal-close {
  position: absolute;
  top: 7px; right: 17px;
  background: transparent;
  color: var(--color-secondary);
  font-size: 2.1rem;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  transition: background .13s;
}
.cookie-modal-close:hover {
  background: var(--color-primary);
  color: var(--color-accent);
}
.cookie-save {
  margin-top: 18px;
  display: inline-flex;
  background: var(--color-secondary);
  color: #23282D;
  border-radius: 8px;
  padding: 10px 26px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.09em;
  letter-spacing: .04em;
  border: none;
  box-shadow: 0 1px 6px #c6ab36ba;
  transition: background .14s;
}
.cookie-save:hover {
  background: var(--color-primary);
  color: var(--color-secondary);
}

/* Hiding modal/banner when not active, for script usage */
.cookie-banner.hide, .cookie-modal-backdrop.hide {
  display: none !important;
  pointer-events: none;
}

/* MISC */
::-webkit-scrollbar {
  width: 11px;
}
::-webkit-scrollbar-thumb {
  background: var(--color-metal);
  border-radius: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-dark-bg);
}

a {
  transition: color .14s, background .12s;
}
a:focus { outline: 2px dashed var(--color-secondary); outline-offset: 2px; }

/* Animations for testimonials and cards */
.card, .feature, .testimonial-card {
  animation: fadeCardIn .8s cubic-bezier(.25,.64,.31,1) both;
}
@keyframes fadeCardIn {
  from { opacity: 0; transform: translateY(40px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

/* Hide mobile menu and banner overlays by default in desktop */
@media (min-width: 900px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}
