/* 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, menu, 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, 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, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #191C20;
  color: #F5F3EE;
}
html, body {
  height: 100%;
}
a {
  color: #FFD375;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #205081;
  outline: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}

/* BRAND FONTS */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;900&display=swap');
body {
  font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
  font-size: 16px;
  background: #191C20; /* Strong industrial dark base */
}
h1, h2, h3, h4, h5, h6, .brand {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #F5F3EE;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 24px;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.16;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}
h4, h5 {
  font-size: 1.1rem;
}
p, li, input, button, label {
  font-size: 1rem;
  color: #E6E4DF;
}
strong, b {
  color: #FFD375;
}

/* INDUSTRIAL MODERN VISUAL BASE */
:root {
  --primary: #205081;
  --secondary: #FFD375;
  --accent: #F5F3EE;
  --dark-bg: #191C20;
  --card-bg: #23262B;
  --border: #2b3140;
  --shadow: 0 4px 24px 0 rgba(32,40,50,0.10);
}

/* HEADER & NAVIGATION */
header {
  background: #191C20;
  border-bottom: 2px solid #23262B;
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}
.logo img {
  height: 42px;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  color: var(--accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 4px 0;
  position: relative;
  transition: color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--secondary);
}
.button-primary {
  background: linear-gradient(90deg, #FFD375 65%, #F5F3EE 100%);
  color: #191C20;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 4px;
  padding: 12px 30px;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 2px 16px rgba(205,170,50,0.10);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  margin-left: 16px;
  text-align: center;
  display: inline-block;
}
.button-primary:hover,
.button-primary:focus {
  background: #205081;
  color: #FFD375;
  box-shadow: 0 2px 16px rgba(32,80,129,0.24);
}
.button-link {
  display: inline-block;
  color: #FFD375;
  font-weight: 600;
  padding: 0 2px;
  border-bottom: 2px solid #FFD375;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: 16px;
  letter-spacing: 0.04em;
  transition: color 0.2s, border 0.2s;
}
.button-link:hover {
  color: #205081;
  border-bottom: 2px solid #205081;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  color: #FFD375;
  font-size: 2.1rem;
  border: none;
  margin-left: 12px;
  cursor: pointer;
  padding: 4px 12px;
  z-index: 104;
  transition: color 0.15s;
}
.mobile-menu-toggle:focus {
  color: #205081;
}

/* MOBILE NAVIGATION */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #191C20;
  box-shadow: 2px 0 32px rgba(32,80,129,0.20);
  z-index: 120;
  transform: translateX(-100vw);
  transition: transform 0.3s cubic-bezier(.54,.01,.57,1.28);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 20px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #FFD375;
  font-size: 2.3rem;
  margin-left: auto;
  margin-right: 24px;
  margin-top: 4px;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 121;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: #205081;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding: 32px 32px 24px 32px;
  width: 100%;
}
.mobile-nav a {
  color: #F5F3EE;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 12px 0;
  width: 100%;
  transition: color 0.20s;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  color: #FFD375;
}

/* HERO */
.hero {
  background: #23262B url('../assets/industrial-bg.jpg') center/cover no-repeat;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  min-height: 320px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  padding: 40px 20px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 220px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 680px;
}

/* FLEXBOX: CORE LAYOUT PATTERNS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--card-bg);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 22px;
}
.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;
  background: #fff;
  color: #1a1c1f;
  border-radius: 7px;
  margin-bottom: 24px;
  box-shadow: 0 3px 18px rgba(40,44,52,0.07), 0 0.5px 0 #C7B290;
  border-left: 7px solid #FFD375;
  max-width: 600px;
}
.testimonial-card p {
  color: #23262B;
  font-size: 1.07rem;
  line-height: 1.72;
}
.testimonial-author span {
  font-weight: bold;
  color: #205081;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--card-bg);
  border-radius: 6px;
  box-shadow: var(--shadow);
  padding: 26px 18px 20px 18px;
  min-width: 220px;
  flex: 1 1 280px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s,border 0.2s;
  border-left: 5px solid transparent;
}
.feature-item:hover {
  border-left: 5px solid #FFD375;
  box-shadow: 0 5px 24px rgba(32,80,129,.16);
}

/* LAYOUT & CONTAINERS */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* FEATURES/PROJECTS/ARTICLES LAYOUTS  */
.feature-grid,
.project-list,
.article-teasers {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.feature-grid {
  margin-bottom: 16px;
}
.feature-item img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  margin-bottom: 10px;
  filter: grayscale(60%) brightness(1.1) contrast(1.3);
}
.project-item, .teaser {
  background: var(--card-bg);
  border-radius: 6px;
  box-shadow: var(--shadow);
  padding: 20px 18px 17px 18px;
  min-width: 220px;
  flex: 1 1 280px;
  border-left: 5px solid #205081;
  min-height: 136px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.project-item:hover, .teaser:hover {
  box-shadow: 0 6px 30px #20508111;
  border-left: 5px solid #FFD375;
}

/* COMPLETED/IN-PROGRESS LISTS, TIPS ETC */
.completed-vs-in-progress ul, .tips-highlight ul, .checklists ul, .recommendations ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.completed-vs-in-progress li, .tips-highlight li, .checklists li, .recommendations li {
  background: #FFD375;
  color: #23262B;
  border-radius: 4px;
  padding: 7px 18px;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 5px;
  list-style: none;
}
.tips-highlight li {
  background: #205081;
  color: #FFD375;
}

/* FAQ and LEGAL PAGES LAYOUTS */
.faq-list, .question-answer-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.legal {
  background: #191C20;
  color: #FFD375;
  border-radius: 7px;
  box-shadow: 0 2px 16px rgba(32,80,129,0.09);
  padding: 18px 18px 28px 18px;
}
.legal h2 {
  color: #FFD375;
  font-size: 1.25rem;
}

/* CTA SECTION */
.cta {
  background: #205081;
  color: #FFD375;
  padding: 36px 20px;
  border-radius: 7px;
  box-shadow: 0 3px 18px #20508122;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta h2 {
  color: #FFD375;
  margin-bottom: 20px;
}
.cta .button-primary {
  background: #FFD375;
  color: #205081;
}
.cta .button-primary:hover {
  color: #FFD375;
  background: #205081;
}

/* SEARCH BARS */
.search-bar {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-bottom: 20px;
}
.search-bar input {
  border: 1px solid #2b3140;
  border-radius: 4px;
  padding: 10px 16px;
  font-size: 1rem;
  background: #23262B;
  color: #FFD375;
  outline: none;
  width: 100%;
  transition: border 0.2s;
}
.search-bar input:focus {
  border-color: #FFD375;
}

.topic-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.topic-filters span {
  color: #FFD375;
  font-weight: 700;
  margin-right: 8px;
}
.topic-filters button {
  background: var(--card-bg);
  color: #FFD375;
  border: 1.5px solid #FFD375;
  border-radius: 4px;
  padding: 6px 18px;
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.97rem;
  font-weight: 600;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.topic-filters button:hover, .topic-filters button:focus {
  background: #FFD375;
  color: #205081;
  border-color: #205081;
}

/* CONTACT/LOCATION SECTIONS */
.contact-info, .map-embed {
  background: var(--card-bg);
  border-radius: 7px;
  box-shadow: var(--shadow);
  padding: 19px 21px;
  color: #FFD375;
  font-size: 1.08rem;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.call-to-action {
  margin: 17px 0;
}
.map-embed img {
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
}

/* CONFIRMATION PAGE */
.confirmation {
  background: #23262b;
  border-radius: 7px;
  box-shadow: 0 2px 14px #633d1e12;
  padding: 45px 20px;
  color: #ffd375;
  margin-bottom: 60px;
}
.confirmation .next-steps ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.confirmation .button-primary {
  margin-top: 18px;
}

/* FOOTER */
footer {
  background: #1a1c1f;
  color: #FFD375;
  padding: 0 0 14px 0;
  border-top: 2px solid #23262B;
}
footer section .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 18px 0;
  padding-top: 36px;
  padding-bottom: 18px;
}
.footer-navigation {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 9px;
}
.footer-navigation a {
  color: #FFD375;
  font-size: 1rem;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.18s, color 0.15s;
  padding-bottom: 2px;
}
.footer-navigation a:hover,
.footer-navigation a:focus {
  border-bottom: 1.5px solid #205081;
  color: #205081;
}
.contact-brief {
  color: #C7B290;
  margin-bottom: 8px;
  font-size: 0.98rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-brief img {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 8px;
}
.social-media-icons {
  display: flex;
  gap: 20px;
  padding: 2px 0 0 0;
}
.social-media-icons img {
  width: 26px;
  height: 26px;
  filter: grayscale(100%) brightness(1.1);
  transition: filter 0.2s;
  cursor: pointer;
}
.social-media-icons img:hover {
  filter: none;
}
.small-branding {
  font-size: 0.92rem;
  color: #8A939D;
  margin-top: 10px;
}

/* COOKIE BANNER STYLES */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  background: #23262B;
  color: #FFD375;
  display: flex;
  flex-direction: row;
  align-items: center;
  box-shadow: 0 -2px 34px rgba(32, 80, 129, 0.18);
  padding: 18px 18px 18px 18px;
  gap: 30px;
  font-size: 1.02rem;
  transition: transform 0.20s;
  min-height: 76px;
  max-width: 100vw;
}
.cookie-banner.hide {
  transform: translateY(110%);
  pointer-events: none;
  opacity: 0;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 13px;
}
.cookie-banner button {
  background: #FFD375;
  color: #205081;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 3px;
  padding: 8px 22px;
  font-size: 1rem;
  margin: 0;
  cursor: pointer;
  transition: background 0.14s, color 0.16s;
  box-shadow: none;
}
.cookie-banner button:focus,
.cookie-banner button:hover {
  background: #205081;
  color: #FFD375;
}
.cookie-banner .cookie-settings {
  background: none;
  border: 1.5px solid #FFD375;
  color: #FFD375;
  margin-left: 8px;
  padding: 8px 18px;
  font-weight: 700;
  transition: background 0.14s, color 0.14s;
}
.cookie-banner .cookie-settings:hover {
  background: #FFD375;
  color: #205081;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(25, 28, 32, 0.89);
  z-index: 201;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.22s;
}
.cookie-modal {
  background: #23262B;
  color: #FFD375;
  border-radius: 10px;
  box-shadow: 0 8px 44px #20508135;
  max-width: 450px;
  width: 95vw;
  padding: 34px 22px 18px 22px;
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: modalSlideIn 0.4s cubic-bezier(.62,-0.13,.51,1.11);
}
@keyframes modalSlideIn {
  0% { opacity: 0; transform: translateY(80px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-modal h2 {
  color: #FFD375;
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 12px;
}
.cookie-category .toggle-switch {
  position: relative;
  display: inline-block;
  width: 36px; height: 22px;
}
.cookie-category .toggle-switch input {
  opacity: 0; width: 0; height: 0;
}
.cookie-category .slider {
  position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0;
  background: #205081;
  border-radius: 13px;
  transition: background 0.2s;
}
.cookie-category .slider:before {
  position: absolute; content: "";
  height: 16px; width: 16px; left: 3px; bottom: 3px;
  background: #FFD375;
  border-radius: 50%; transition: .2s;
}
.cookie-category .toggle-switch input:checked + .slider {
  background: #FFD375;
}
.cookie-category .toggle-switch input:checked + .slider:before {
  transform: translateX(14px);
  background: #205081;
}
.cookie-category label {
  color: #FFD375;
  font-weight: 600;
  font-size: 1rem;
}
.cookie-modal .essential .slider {
  background: #205081;
  opacity: 0.64;
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal-actions button {
  padding: 8px 17px;
  font-size: 1rem;
  border-radius: 3px;
  border: none;
  color: #205081;
  background: #FFD375;
  font-weight: 600;
  transition: background 0.13s,color 0.13s;
}
.cookie-modal-actions button:focus, .cookie-modal-actions button:hover {
  background: #205081;
  color: #FFD375;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 12px;
  right: 17px;
  color: #FFD375;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal .close-modal:hover {
  color: #205081;
}

/* ARTICLE LIST */
.article-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.article-list li {
  background: #23262B;
  padding: 14px 13px;
  border-radius: 4px;
  color: #FFD375;
  border-left: 3px solid #205081;
  font-size: 1rem;
  margin-bottom: 4px;
}

/* MISC/LIST SPACING */
ul, ol {
  list-style: disc inside;
  margin-bottom: 15px;
}
li {
  margin-bottom: 6px;
}

/* MICRO-INTERACTIONS & ANIMATIONS */
.button-primary, .button-link, .feature-item, .mobile-menu, .testimonial-card, .card, .project-item, .teaser, .contact-info, .map-embed, .cookie-banner {
  transition: box-shadow 0.18s, border 0.15s, background 0.20s, transform 0.14s;
}
.button-primary:active { transform: scale(0.98); }
.feature-item:active, .project-item:active, .teaser:active { transform: scale(0.99); }

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .feature-grid, .project-list, .article-teasers {
    flex-direction: column;
    gap: 20px;
  }
  .main-nav {
    gap: 16px;
  }
  .container {
    padding: 0 8px;
    max-width: 96vw;
  }
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .button-primary {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 97vw;
    gap: 12px;
    padding-left: 4px; padding-right: 4px;
  }
  .hero, .section, .cta {
    padding: 24px 8px;
    min-height: 0;
  }
  .content-wrapper {
    gap: 14px;
  }
  h1 {
    font-size: 2.0rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  .feature-grid, .project-list, .article-teasers {
    gap: 10px;
  }
  .feature-item, .project-item, .teaser {
    min-width: 0;
    padding: 14px 11px 11px 11px;
    font-size: 0.98rem;
  }
  .card-container, .card-grid, .content-grid {
    gap: 10px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 15px;
  }
  .cta {
    border-radius: 6px;
    padding: 22px 4px;
  }
}
@media (max-width: 500px) {
  body, input, button {
    font-size: 15px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    font-size: 0.99rem;
  }
  .card, .feature-item, .project-item, .teaser {
    padding: 10px 7px;
    font-size: 0.97rem;
  }
}

/* SCROLLBAR STYLING FOR INDUSTRIAL FLAIR */
::-webkit-scrollbar {
  width: 7px;
  background: #23262B;
}
::-webkit-scrollbar-thumb {
  background: #FFD375;
  border-radius: 7px;
}

/* OVERRIDE FOR WHITE TESTIMONIAL CARDS ON DARK BG */
.testimonials {
  background: #23262B;
  border-radius: 8px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: var(--shadow);
}
.testimonials h2 {
  color: #FFD375;
}

/* Ensuring NO overlap, with sufficient gaps */
.card, .feature-item, .project-item, .teaser {
  margin-bottom: 20px !important;
}

/* End CSS */
