/* ------------------------------------------------------ */
/* CSS RESET AND BASELINE 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;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #20242B;
  color: #F3F3F3;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #F6C342;
  outline-offset: 2px;
}

/* ------------------------------------------------------ */
/* BRAND & INDUSTRIAL MODERN COLOR & TYPOGRAPHY           */
/* ------------------------------------------------------ */
:root {
  --color-primary: #286090;
  --color-secondary: #F6C342;
  --color-accent: #F3F3F3;
  --color-bg: #20242B;
  --color-card: #23262E;
  --color-metallic-dark: #4d535b;
  --color-metallic: #B0BEC5;
  --color-ink: #24292f;
  --color-light-80: #d6dbe1;
  --color-dark-shadow: rgba(0,0,0,0.16);
  --color-section: #23262E;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: var(--color-bg);
  color: var(--color-accent);
  font-size: 16px;
  letter-spacing: 0.02em;
}
h1, h2, h3, h4 {
  font-family: 'Nunito', 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--color-secondary);
  font-weight: 800;
  text-shadow: 1px 1px 0 var(--color-metallic-dark);
}
h1 {
  font-size: 2.5rem;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
  color: var(--color-metallic);
  text-shadow: none;
}
h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}
p, ul, ol {
  font-size: 1rem;
  color: var(--color-light-80);
  margin-bottom: 12px;
}
strong {
  color: var(--color-accent);
  font-weight: 700;
}

/* ------------------------------------------------------ */
/* CORE LAYOUT CLASSES / FLEXBOX-ONLY                     */
/* ------------------------------------------------------ */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-section);
  border-radius: 12px;
  box-shadow: 0 4px 22px var(--color-dark-shadow);
}
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card);
  border-radius: 10px;
  box-shadow: 0 2px 8px var(--color-dark-shadow);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  min-width: 280px;
  max-width: 350px;
  flex: 1 1 320px;
  transition: box-shadow 0.2s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 6px 32px #24405c80;
  border-color: var(--color-secondary);
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}
.feature-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: var(--color-card);
  padding: 24px 22px;
  border-radius: 9px;
  min-width: 200px;
  max-width: 260px;
  flex: 1 1 200px;
  box-shadow: 0 2px 8px var(--color-dark-shadow);
  transition: transform 0.18s, box-shadow 0.18s;
}
.feature-grid > div img {
  width: 44px; height: 44px; margin-bottom: 10px;
  filter: contrast(1.15) brightness(1.1);
}
.feature-grid > div:hover,
.feature-grid > div:focus-within {
  transform: translateY(-4px) scale(1.025);
  background: #2c3240;
  box-shadow: 0 8px 36px #24405c6c;
}
.text-section {
  background: none;
  box-shadow: none;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* For main content spacing between 'cards' */
ul > li, .content-wrapper > ul > li {
  margin-bottom: 14px;
  padding-left: 18px;
  position: relative;
}
ul > li:before {
  content: '';
  display: inline-block;
  width: 7px; height: 7px;
  background: var(--color-secondary);
  border-radius: 1px;
  margin-right: 12px;
  margin-left: -18px;
  vertical-align: middle;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.contact-info div {
  display: flex; align-items: center; gap: 12px;
  background: #23262E;
  border-radius: 6px;
  padding: 12px 20px;
  color: var(--color-accent);
  min-width: 220px;
  box-shadow: 0 1px 5px var(--color-dark-shadow);
  font-weight: 600;
}
.contact-info img {
  width: 24px; height: 24px; filter: grayscale(0.1) brightness(1.11);
}

/* Testimonials & Slider */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.testimonial-card {
  background: #fff;
  color: #24292f;
  border-radius: 12px;
  box-shadow: 0 2px 18px #12213015;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  min-width: 260px; max-width: 345px;
  flex: 1 1 280px;
  margin-right: 0;
  margin-bottom: 0;
}
.testimonial-card p {
  color: #161a1e;
  font-size: 1.06rem;
  font-weight: 600;
  font-style: italic;
  margin-bottom: 8px;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: #4d535b;
}
.testimonial-card strong {
  color: #286090;
}

/* Footer */
footer {
  background: #191B21;
  color: var(--color-light-80);
  padding: 36px 0 20px;
  margin-top: 60px;
}
footer nav,
footer nav a {
  font-size: 1rem;
  color: var(--color-metallic);
  margin-bottom: 14px;
}
footer nav a:hover {
  color: var(--color-secondary);
  text-decoration: underline wavy 1.5px;
}
.footer-info {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid #323a44;
}
.footer-info img {
  width: 38px; height: 38px;
}

/* ------------------------------------------------------ */
/* BUTTONS, LINKS, AND INTERACTIVE ELEMENTS               */
/* ------------------------------------------------------ */
.button-primary {
  display: inline-flex;
  align-items: center;
  font-family: 'Nunito', 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.125rem;
  font-weight: 800;
  color: #23262E;
  background: var(--color-secondary);
  border: none;
  border-radius: 34px;
  padding: 12px 32px;
  margin-top: 12px;
  box-shadow: 0 2px 14px #f6c34230, 0 1px 2px #00000010;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.17s, color 0.15s, box-shadow 0.16s, transform 0.15s;
  outline: none;
  z-index: 1;
}
.button-primary:hover,
.button-primary:focus {
  background: #ffda72;
  color: #286090;
  box-shadow: 0 4px 32px #f6c34266;
  transform: translateY(-2px) scale(1.04);
}

/* Utility classes for metallic and accent buttons */
.button-metal {
  background: var(--color-metallic); color: #23262E;
  font-weight: 700; border-radius: 7px; padding: 8px 26px;
  box-shadow: 0 2px 7px #b0bec550;
  transition: background 0.15s, color 0.12s, box-shadow 0.12s;
}
.button-metal:hover,
.button-metal:focus {
  background: #d3e0e9;
  color: #286090;
}
.button-secondary {
  background: var(--color-primary);
  color: var(--color-accent);
  border-radius: 7px;
  padding: 8px 26px;
  margin-left: 10px;
  font-weight: 700;
  transition: background 0.15s, color 0.14s;
}
.button-secondary:hover,
.button-secondary:focus {
  background: #194C7A; color: #fff;
}

/* ------------------------------------------------------ */
/* NAVIGATION & HEADER STYLING                            */
/* ------------------------------------------------------ */
header {
  background: #20242B;
  border-bottom: 2px solid #23262e;
  position: relative;
  z-index: 11;
}
header nav {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 16px 0;
  flex-wrap: wrap;
}
header nav > a img {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 0 4px #16202e44);
  margin-right: 6px;
}
header nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-left: 16px;
}
header nav ul li {
  display: flex;
}
header nav ul li a {
  color: #CDD4DA;
  font-family: 'Nunito', 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 5px 0;
  position: relative;
  transition: color 0.18s;
}
header nav ul li a.active,
header nav ul li a:hover,
header nav ul li a:focus {
  color: var(--color-secondary);
}
header nav ul li a.active:after,
header nav ul li a:hover:after {
  content: '';
  display: block;
  height: 3px;
  background: var(--color-secondary);
  width: 70%;
  margin: 2px auto 0;
  border-radius: 2px;
}
header nav > .button-primary {
  margin-left: auto;
  margin-right: 8px;
}

/* ------------------------------------------------------ */
/* MOBILE BURGER MENU                                     */
/* ------------------------------------------------------ */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--color-secondary);
  cursor: pointer;
  z-index: 101;
  position: absolute;
  right: 20px;
  top: 14px;
}
.mobile-menu {
  position: fixed;
  background: #23262E;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  transform: translateX(-105vw);
  transition: transform 0.33s cubic-bezier(.86,0,.07,1);
  z-index: 120;
  display: flex;
  flex-direction: column;
  /* Default hidden */
  box-shadow: 8px 0 48px #000a;
  padding-top: 20px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin-right: 22px;
  font-size: 2.3rem;
  background: none;
  border: none;
  color: var(--color-secondary);
  cursor: pointer;
  margin-bottom: 20px;
  transition: color 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #fff700;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 10px 22px;
  margin-top: 10px;
  align-items: flex-start;
}
.mobile-nav a {
  color: var(--color-secondary);
  font-family: 'Nunito', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  padding: 10px 0;
  letter-spacing: 0.03em;
  width: 100%;
  border-radius: 7px;
  transition: background 0.15s, color 0.16s;
  outline: none;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #2b3240;
  color: var(--color-accent);
}

/* Hide desktop nav/show mobile nav for screens <900px */
@media (max-width: 900px) {
  header nav ul,
  header nav > .button-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
/* Make header nav responsive spacing for logo+toggle */
@media (max-width: 900px) {
  header nav {
    justify-content: flex-start;
    gap: 10px;
  }
}

/* ------------------------------------------------------ */
/* COOKIE CONSENT BANNER & MODAL                          */
/* ------------------------------------------------------ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #23262E;
  color: var(--color-accent);
  padding: 22px 20px 18px 20px;
  box-shadow: 0 -4px 30px #000a;
  z-index: 3001;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(.7,0,.4,1), opacity 0.21s;
  border-top: 3px solid var(--color-secondary);
  font-size: 1rem;
}
.cookie-banner .cookie-buttons {
  display: flex; gap: 12px;
  margin-left: 20px; flex-wrap: wrap;
}
.cookie-banner button {
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 7px;
  cursor: pointer;
  padding: 8px 20px;
  margin-bottom: 2px;
  transition: background 0.15s, color 0.15s, box-shadow 0.13s;
}
.cookie-accept {
  background: var(--color-secondary);
  color: #23262E;
  margin-right: 8px;
  box-shadow: 0 1px 8px #f6c34280;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #ffe089;
  color: #194C7A;
}
.cookie-decline {
  background: var(--color-metallic-dark);
  color: #fff;
}
.cookie-decline:hover, .cookie-decline:focus {
  background: #444b53;
}
.cookie-settings {
  background: #23262E;
  border: 1.5px solid var(--color-secondary);
  color: var(--color-secondary);
}
.cookie-settings:hover, .cookie-settings:focus {
  background: var(--color-secondary);
  color: #23262E;
}

/* Cookie modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: clamp(290px, 90vw, 390px);
  transform: translate(-50%,-52%) scale(0.98);
  background: #191B21;
  color: var(--color-accent);
  border-radius: 16px;
  box-shadow: 0 8px 42px #000b;
  z-index: 4020;
  padding: 34px 24px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s, transform 0.2s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%,-52%) scale(1);
}
.cookie-modal h3 {
  color: var(--color-secondary);
  margin-bottom: 7px;
}
.cookie-category {
  display: flex; gap: 10px; align-items: center;
  margin-bottom: 9px;
  font-size: 1rem;
  font-weight: 700;
}
.cookie-switch {
  appearance: none;
  width: 36px; height: 19px;
  border-radius: 20px;
  background: #3c4154;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.2s;
}
.cookie-switch:checked {
  background: var(--color-secondary);
}
.cookie-switch:disabled {
  opacity: 0.5; cursor: not-allowed;
}
.cookie-switch::after {
  content: '';
  display: block;
  width: 15px; height: 15px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 2px; top: 2px;
  transition: left 0.17s, background 0.11s;
}
.cookie-switch:checked::after {
  left: 19px;
  background: #23262E;
}
.cookie-modal-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
.cookie-modal-close {
  font-size: 1.9rem;
  color: var(--color-secondary);
  background: none;
  border: none;
  position: absolute;
  top: 14px; right: 22px;
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-modal-close:hover {
  color: #ffd900;
}

/* Cookie backdrop overlay */
.cookie-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.38);
  z-index: 4019;
  display: none;
}
.cookie-backdrop.open {
  display: block;
}

/* ------------------------------------------------------ */
/* RESPONSIVE ADJUSTMENTS & FLEXBOX LAYOUT                */
/* ------------------------------------------------------ */
@media (max-width: 1200px) {
  .container { max-width: 98vw; }
  .feature-grid { gap: 22px; }
}
@media (max-width: 900px) {
  .feature-grid { justify-content: flex-start; }
  .container { padding: 0 10px; }
}
@media (max-width: 768px) {
  h1 { font-size: 2.04rem; }
  h2 { font-size: 1.6rem; }
  .section {
    padding: 28px 5px;
    margin-bottom: 38px;
    border-radius: 8px;
  }
  .feature-grid { gap: 18px; }
  .testimonial-slider { gap: 12px; }
  .testimonial-card {
    min-width: 90vw; max-width: 98vw; padding: 16px 3vw;
  }
  .contact-info { gap: 12px; }
  .text-image-section { flex-direction: column; gap: 18px; }
  .content-grid { flex-direction: column; gap: 16px; }
}
@media (max-width: 600px) {
  .container { padding: 0 2vw; }
  .footer-info span {
    font-size: 0.98rem;
  }
  .cookie-banner {
    padding: 16px 7vw 12px 7vw;
    flex-direction: column;
    gap: 8px;
    font-size: 0.97rem;
  }
}

/* ------------------------------------------------------ */
/* ACCESSIBILITY: FOCUS STYLES, CONTRAST, etc.            */
/* ------------------------------------------------------ */
a:focus-visible, .button-primary:focus-visible, .button-metal:focus-visible, .button-secondary:focus-visible {
  outline: 2.5px solid var(--color-secondary) !important;
  outline-offset: 3px;
}

/* ------------------------------------------------------ */
/* MICRO-INTERACTIONS AND SUBTLE ANIMATIONS               */
/* ------------------------------------------------------ */
.card, .feature-grid > div, .testimonial-card, .button-primary, .button-metal, .button-secondary {
  transition: box-shadow 0.18s, transform 0.14s, background 0.15s, color 0.16s;
}
.card:hover, .feature-grid > div:hover, .testimonial-card:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 8px 36px #24405c6c;
}
.button-primary:active {
  transform: scale(0.97);
}
.section {
  animation: fadeinUp 0.7s cubic-bezier(.22,1,.36,1.02);
}
@keyframes fadeinUp {
  0% { opacity: 0; transform: translateY(30px); }
  90% { opacity: 1; transform: translateY(-1px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ------------------------------------------------------ */
/* CLASSES - AS REQUESTED FOR SPECIFIC FLEX LAYOUTS        */
/* ------------------------------------------------------ */
/* Already used above as part of overall structure. */
.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; }
.section { margin-bottom: 60px; padding: 40px 20px; }

/* ------------------------------------------------------ */
/* FORM VARIABLE CLASSES (for when contact form added)     */
/* ------------------------------------------------------ */
input, textarea, select {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 10px 13px;
  background: #192028;
  color: #f3f3f3;
  border: 1.5px solid #2d3242;
  border-radius: 5px;
  margin-bottom: 14px;
  transition: border-color 0.15s, background 0.14s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-secondary);
  outline: none;
}
label {
  font-size: 1rem;
  color: var(--color-secondary);
  font-weight: 700;
  margin-bottom: 4px;
  display: block;
}

/* ------------------------------------------------------ */
/* PRINT STYLES                                           */
/* ------------------------------------------------------ */
@media print {
  * { background: none !important; color: #23262E !important; box-shadow: none !important; }
  nav, .mobile-menu, .cookie-banner, .cookie-modal, .footer-info img { display: none !important; }
}
