/* === CSS 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,b,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,main,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;
}
article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section {
  display: block;
}
body {
  line-height: 1;
  background: #181B23;
  color: #E5E5E5;
}
ol,ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  height: auto;
}
button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* == VARIABLES, FONTS, BASE STYLES == */
:root {
  --brand-primary: #14213D;
  --brand-secondary: #FCA311;
  --brand-accent: #E5E5E5;
  --brand-bg: #181B23;
  --brand-surface: #232733;
  --brand-surface-light: #282C37;
  --brand-metal: #7A7A7A;
  --brand-metal-dark: #232326;
  --text-body: #E5E5E5;
  --text-light: #fff;
  --text-dark: #232326;
  --shadow-dark: 0 3px 20px rgba(20,33,61,0.22);
  --shadow-subtle: 0 1px 6px rgba(20,33,61,0.10);
  --radius: 10px;
  --gap-section: 60px;
  --gap-card: 24px;
  --gap-small: 16px;
  --gap-xs: 8px;
  --gap-lg: 32px;
}
@supports (font-variation-settings: normal) {
  html {
    font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  }
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: var(--brand-bg);
  color: var(--text-body);
  min-height: 100vh;
  letter-spacing: 0.1px;
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  line-height: 1.1;
  color: var(--brand-accent);
  letter-spacing: 1px;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 24px;
  color: var(--brand-secondary);
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
@media (min-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
}
p, li, blockquote {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-body);
}
strong {
  color: var(--brand-accent);
  font-weight: bold;
}
blockquote {
  color: var(--brand-secondary);
  font-style: italic;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  margin-bottom: 4px;
}
.tagline {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--brand-secondary);
  font-size: 1.1rem;
  letter-spacing: 1px;
  margin: 20px 0 0 0;
}

/* === CONTAINER & SECTION LAYOUTS === */
.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--gap-lg);
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
/* Pattern: card container */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--brand-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-subtle);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.content-grid, .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.feature-grid > div {
  background: var(--brand-surface-light);
  border-radius: var(--radius);
  padding: 32px 24px 24px 24px;
  flex: 1 1 270px;
  box-shadow: var(--shadow-subtle);
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  margin-bottom: 20px;
  border-top: 4px solid var(--brand-metal);
  transition: box-shadow 0.2s,border-top-color .25s;
}
.feature-grid > div:hover {
  border-top: 4px solid var(--brand-secondary);
  box-shadow: var(--shadow-dark);
  z-index: 1;
}
/* Spacing and alignment patterns */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--brand-accent);
  color: var(--text-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow-dark);
  margin-bottom: 20px;
  position: relative;
  min-width: 0;
  max-width: 600px;
}
.testimonial-card strong, .testimonial-card span[aria-label=rating] {
  color: var(--brand-primary);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === HEADER, NAVIGATION & MENU === */
header {
  width: 100%;
  background: var(--brand-primary);
  box-shadow: 0 2px 16px rgba(20,33,61,.11);
  position: sticky;
  top: 0;
  z-index: 120;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}
nav ul {
  display: flex;
  gap: 20px;
  align-items: center;
}
nav ul li a {
  color: var(--brand-accent);
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  letter-spacing: 1px;
  padding: 8px 4px;
  border-radius: 5px;
  transition: background 0.17s, color 0.15s;
  font-weight: 600;
}
nav ul li a:hover, nav ul li a:focus {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
nav a.btn-primary {
  margin-left: 24px;
}
nav a img {
  height: 38px;
  margin-right: 18px;
  filter: brightness(1.15) drop-shadow(0px 2px 4px #2228); /* industrial/urban accent */
}

/* =============== BUTTONS =============== */
.btn-primary {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 15px 34px;
  border-radius: 7px;
  font-size: 1.05rem;
  font-weight: bold;
  letter-spacing: 1.1px;
  box-shadow: 0 2px 12px rgba(252,163,17,0.08), 0 1px 2px #0003;
  border: 2px solid var(--brand-secondary);
  transition: background 0.18s, color 0.18s, box-shadow .14s, border-color 0.15s;
  display: inline-block;
  cursor: pointer;
  text-align: center;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--brand-primary);
  color: var(--brand-secondary);
  border-color: var(--brand-accent);
  box-shadow: 0 4px 24px var(--brand-secondary), 0 0 1px #0006;
}

.btn-secondary {
  background: var(--brand-primary);
  color: var(--brand-accent);
  padding: 12px 28px;
  border-radius: 7px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 1.1px;
  border: 2px solid var(--brand-accent);
  font-weight: 600;
  transition: background .19s, color .19s, border-color .13s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  border-color: var(--brand-secondary);
}

.btn-link {
  background: none;
  color: var(--brand-secondary);
  border: none;
  padding: 0;
  font-size: 1rem;
  text-decoration: underline;
  font-family: 'Montserrat',Arial,sans-serif;
  transition: color .16s;
  cursor: pointer;
}
.btn-link:hover {
  color: var(--brand-accent);
}

/* ========== MOBILE BURGER MENU STYLES ========= */
.mobile-menu-toggle {
  display: inline-flex;
  background: none;
  color: var(--brand-secondary);
  border: none;
  font-size: 2.2rem;
  padding: 7px 13px;
  border-radius: 5px;
  margin-left: auto;
  margin-right: 12px;
  align-items: center;
  justify-content: center;
  z-index: 230;
  transition: background 0.15s, color 0.16s, box-shadow .08s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  outline: none;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(20, 33, 61, 0.94);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 44px 24px 24px 32px;
  transition: transform 0.32s cubic-bezier(.73,.11,.36,1.19);
  transform: translateX(100%);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
  visibility: visible;
}
.mobile-menu-close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 2rem;
  color: var(--brand-accent);
  background: none;
  border: none;
  border-radius: 5px;
  padding: 9px 11px;
  transition: background 0.17s;
  z-index: 10001;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  outline: 2px solid var(--brand-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
  width: 100%;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.35rem;
  color: var(--brand-accent);
  letter-spacing: 1.1px;
  padding: 12px 6px 12px 0;
  border-radius: 4px;
  font-weight: 700;
  width: 100%;
  transition: color 0.17s, background .14s;
  display: flex;
  align-items: center;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
@media (max-width: 1150px) {
  nav ul {
    gap: 12px;
  }
}
@media (max-width: 991px) {
  nav ul {
    gap: 8px;
  }
  nav {
    gap: 8px;
  }
}
@media (max-width: 840px) {
  nav ul {
    gap: 5px;
  }
}
@media (max-width: 768px) {
  nav ul,
  nav a.btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 769px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* === FLEXBOX RESPONSIVE LAYOUT ADJUSTMENTS === */
@media (max-width: 1050px) {
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .content-wrapper, .feature-grid, .content-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .testimonial-card {
    max-width: 100%;
    padding: 16px 11px;
  }
  section {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* === FOOTER === */
footer {
  background: var(--brand-primary);
  color: var(--brand-accent);
  font-size: 0.95rem;
  box-shadow: 0 -2px 14px #0001;
  width: 100%;
  margin-top: 80px;
  letter-spacing: 0.05px;
}
footer .container {
  padding-top: 28px;
  padding-bottom: 16px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
footer nav {
  display: flex;
  gap: 18px;
}
footer nav a {
  color: var(--brand-accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.16s;
}
footer nav a:hover {
  color: var(--brand-secondary);
}
footer p {
  color: var(--brand-accent);
  font-size: 0.95rem;
}

/* === LISTS & TEXT === */
ul, ol {
  margin-left: 20px;
  margin-bottom: 10px;
}
ul li, ol li {
  list-style: disc inside;
  margin-bottom: 6px;
  color: var(--text-body);
  padding-left: 0;
  line-height: 1.65;
}
.text-section ul li strong, .feature-item strong {
  color: var(--brand-secondary);
}
.text-section span {
  display: inline-block;
  font-size: 1rem;
}

/* === CARDS & PROGRAMS === */
.card, .feature-grid > div {
  border: 1.5px solid #232326;
}
.card {
  background: var(--brand-surface-light);
}
/* ===== TESTIMONIALS === */
.testimonial-card {
  border-left: 6px solid var(--brand-secondary);
  background: var(--brand-accent);
  color: var(--text-dark);
  margin-bottom: 24px;
  transition: box-shadow 0.16s;
}
.testimonial-card blockquote {
  color: var(--brand-primary);
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 5px;
}
.testimonial-card:hover {
  box-shadow: 0 6px 26px #14213d23;
}

/* === ICONS IN FEATURES === */
.feature-grid img {
  height: 38px;
  min-width: 38px;
  margin-bottom: 8px;
  filter: grayscale(55%) contrast(1.2) brightness(1.3) drop-shadow(0 2px 2px #23232655);
}

/* === LINKS === */
a, .btn-link {
  color: var(--brand-secondary);
  transition: color 0.14s;
}
a:hover, a:focus {
  color: var(--brand-accent);
}

/* === FORM ELEMENTS (if present on other pages) === */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  padding: 11px 14px;
  border-radius: 6px;
  border: 1.5px solid var(--brand-surface-light);
  background: var(--brand-surface);
  color: var(--brand-accent);
  margin-bottom: 16px;
  transition: border-color 0.16s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--brand-secondary);
  outline: none;
}

/* === MICRO-INTERACTIONS & TRANSITIONS === */
section, .card, .feature-grid > div, .btn-primary, .testimonial-card {
  transition: box-shadow 0.18s, background 0.21s, border 0.17s;
}
nav ul li a, .footer nav a, .btn-primary, .btn-secondary {
  transition: color 0.19s, background 0.19s, border-color 0.14s, box-shadow 0.16s;
}

/* === UTILITIES === */
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mb-3 { margin-bottom: 24px; }
.pb-3 { padding-bottom: 24px; }
.hidden { display: none !important; }

/* =============== COOKIE CONSENT BANNER ============== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--brand-surface-light);
  color: var(--brand-accent);
  border-top: 3.5px solid var(--brand-secondary);
  z-index: 11000;
  padding: 28px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 -4px 18px #14213d23;
  font-size: 1rem;
  opacity: 1;
  transition: transform .36s cubic-bezier(.68,-0.1,.19,1.19), opacity 0.21s;
}
.cookie-banner.hide {
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 6px;
  font-weight: bold;
  padding: 10px 20px;
  margin-right: 4px;
}
.cookie-btn-accept {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  border: 2px solid var(--brand-secondary);
  transition: background 0.17s, color 0.16s, border-color 0.15s;
}
.cookie-btn-accept:hover, .cookie-btn-accept:focus {
  background: var(--brand-primary);
  color: var(--brand-secondary);
  border-color: var(--brand-accent);
}
.cookie-btn-reject {
  background: var(--brand-surface);
  color: var(--brand-accent);
  border: 2px solid var(--brand-metal);
  transition: background 0.16s, color 0.15s, border-color 0.12s;
}
.cookie-btn-reject:hover, .cookie-btn-reject:focus {
  background: var(--brand-primary);
  color: var(--brand-secondary);
  border-color: var(--brand-secondary);
}
.cookie-btn-settings {
  background: transparent;
  color: var(--brand-secondary);
  border: none;
  text-decoration: underline;
  font-weight: normal;
  transition: color 0.15s;
}
.cookie-btn-settings:hover {
  color: var(--brand-accent);
}

/* ========= COOKIE MODAL ========== */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(20,33,61, 0.90);
  z-index: 12001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s, visibility 0.2s;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: all;
  visibility: visible;
}
.cookie-modal-dialog {
  background: var(--brand-surface-light);
  color: var(--brand-accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-dark);
  padding: 38px 28px 28px 28px;
  min-width: 340px;
  max-width: 97vw;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cookie-modal-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.22rem;
  color: var(--brand-secondary);
  font-weight: 700;
}
.cookie-modal-close {
  font-size: 1.55rem;
  color: var(--brand-accent);
  background: none;
  border: none;
  padding: 6px 12px;
  border-radius: 5px;
  cursor: pointer;
  position: absolute;
  top: 13px;
  right: 18px;
  transition: background 0.14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.cookie-category-toggle {
  margin-top: 2px;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--brand-secondary);
  width: 20px; height: 20px;
  border-radius: 5px;
  margin-right: 10px;
}
.cookie-category label {
  font-size: 1rem;
  color: var(--brand-accent);
}
.cookie-category .cookie-essential {
  color: var(--brand-metal);
  font-style: italic;
  font-size: 0.97rem;
}
.cookie-modal-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
}
@media (max-width: 600px) {
  .cookie-modal-dialog {
    min-width: 0;
    width: 97vw;
    padding: 19px 6px 12px 4px;
  }
  .cookie-modal-title { font-size: 1.05rem; }
}

/* === MISC === */
::-webkit-scrollbar {
  width: 9px;
  background: var(--brand-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--brand-surface);
  border-radius: 12px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--brand-secondary);
}

/*=======================================
 SECTION SPACING (overrides, if needed)
=======================================*/
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
@media (max-width: 575px) {
  section {
    padding: 24px 4px;
    margin-bottom: 36px;
  }
  .container {
    padding: 0 6px;
  }
}

/* =======================
 ACCESSIBILITY
========================*/
:focus-visible {
  outline: 2px solid var(--brand-secondary);
  outline-offset: 2px;
}

/*==============================
 INDUSTRIAL MODERN AESTHETIC
==============================*/
h1,h2,h3,h4,.btn-primary,nav ul li a,footer nav a {
  text-transform: uppercase;
  letter-spacing: 1.4px;
}
.card, .feature-grid > div, .testimonial-card, .cookie-modal-dialog, .cookie-banner {
  box-shadow: 0 2px 12px #13192516, 0 1px 1px #191f28;
}
.feature-grid > div {
  border-left: 7px solid var(--brand-metal);
  border-top: 3.5px solid var(--brand-metal-dark);
}
.feature-grid > div:hover {
  border-left: 7px solid var(--brand-secondary);
  border-top: 3.5px solid var(--brand-secondary);
}
.card {
  border-left: 6px solid var(--brand-secondary);
}

/* Decorative accent bar for section headers */
section h2:before {
  content: "";
  display: inline-block;
  width: 36px;
  height: 7px;
  background: var(--brand-secondary);
  border-radius: 2px;
  margin-right: 14px;
  vertical-align: middle;
  box-shadow: 0 1px 2px #191f280c;
}

/* For cards/sections with metallic accents */
.card, .feature-grid > div {
  border-bottom: 2px solid var(--brand-metal-dark);
  outline: 1px dashed #373c4c;
  outline-offset: -5px;
}

/* Industrial/urban faded edge for testimonials */
.testimonial-card {
  box-shadow: 0 2px 14px #23232630, 0 8px 14px #e5e5e524;
  border-right: 2.5px solid var(--brand-secondary);
  border-bottom: 2.5px solid var(--brand-secondary);
}

/* ========== END ========== */
