/* ========== CSS RESET & BASE ========== */
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, 
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, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #242c32;
  color: #f6f8fa;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

/* ========== BRAND TYPOGRAPHY ========== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,500&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #F6F8FA;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
p, ul, ol, li {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #d7e1eb;
}
strong {
  font-weight: 700;
  color: #f6f8fa;
}

blockquote {
  font-style: italic;
  color: #242c32;
  background: #F6F8FA;
  border-left: 4px solid #4E97D1;
  margin: 0 0 8px 0;
  padding: 16px 20px;
  border-radius: 4px;
}
dt {
  font-weight: 700;
  margin-bottom: 4px;
}
dd {
  margin-bottom: 16px;
  color: #d7e1eb;
}

/* ========== FLEXBOX - CONTAINER LAYOUTS ========== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(44,51,58,0.96);
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(30,36,42,0.16);
  border: 1.5px solid #242c32;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #232b32;
  border-radius: 12px;
  border: 1.5px solid #232f3e;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 2px 10px 0 rgba(34,40,48,0.12);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 20px;
}

.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;
  flex-direction: column;
  align-items: flex-start;
  background: #F6F8FA;
  box-shadow: 0 2px 16px 0 rgba(34,40,48,0.12);
  border-radius: 12px;
  gap: 20px;
  padding: 20px;
  margin-bottom: 24px;
  color: #242c32;
  min-width: 260px;
  max-width: 580px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 0;
  margin-bottom: 20px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-menu,
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.footer-menu {
  margin-bottom: 12px;
}
.social-links a {
  display: flex;
  align-items: center;
  background: #232b32;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  justify-content: center;
  transition: background 0.15s;
}
.social-links a:hover {
  background: #4E97D1;
}

/* ========== HEADER + MAIN NAV ========== */
header {
  width: 100%;
  background: #232b32;
  box-shadow: 0 2px 16px 0 rgba(44,51,58,0.14);
  border-bottom: 2px solid #2A3640;
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 10px 18px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #F6F8FA;
  padding: 6px 10px 7px;
  border-radius: 6px;
  position: relative;
  transition: background 0.15s, color 0.11s, box-shadow 0.15s;
}
header nav a:hover, header nav a.active {
  background: #4E97D1;
  color: #232b32;
}
header nav a.cta {
  background: linear-gradient(90deg, #4E97D1 0%, #647481 100%);
  color: #F6F8FA;
  font-weight: 700;
  border-radius: 8px;
  padding: 9px 22px;
  box-shadow: 0 2px 8px 0 rgba(44,51,58,0.08);
  transition: background 0.16s, color 0.14s, box-shadow 0.16s;
}
header nav a.cta:hover, header nav a.cta:focus {
  background: #fff;
  color: #232b32;
  box-shadow: 0 2px 16px 0 rgba(78,151,209,0.17);
  outline: 0;
}

/* ========== MOBILE MENU (BURGER + OVERLAY) ========== */
.mobile-menu-toggle {
  display: none;
  background: #4E97D1;
  color: #232b32;
  border: none;
  font-size: 2rem;
  padding: 7px 13px 10px;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.18s, color 0.12s, box-shadow 0.16s;
  margin-left: 22px;
  z-index: 1201;
}
.mobile-menu-toggle:focus {
  outline: 3px solid #4E97D1;
  background: #3c4b56;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(32,38,44,0.99);
  z-index: 1200;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 28px 32px 24px 20px;
  transition: transform 0.32s cubic-bezier(.71,0,.48,1);
  transform: translateX(-100%);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #4E97D1;
  font-size: 2.35rem;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 30px;
  transition: color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 21px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  color: #F6F8FA;
  text-transform: uppercase;
  padding: 13px 5px 12px 0;
  border-bottom: 1px solid #2A3640;
  transition: background 0.13s, color 0.11s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #4E97D1;
  color: #232b32;
  border-radius: 7px;
}

@media (max-width: 1024px) {
  header .container nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 1024px) {
  .mobile-menu {
    display: flex;
    transform: translateX(-100%);
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .section {
    padding: 20px 8px;
    margin-bottom: 36px;
  }
}

/* ========== BUTTONS & CTA ========== */
.cta, a.cta, button.cta, input[type="submit"], button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #2A3640 0%, #4E97D1 100%);
  color: #f6f8fa;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.12rem;
  border: none;
  border-radius: 8px;
  padding: 11px 30px;
  margin: 0 4px 2px 0;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px 0 rgba(34,44,52,0.14);
  cursor: pointer;
  transition: background 0.18s, color 0.09s, box-shadow 0.17s;
  letter-spacing: 0.04em;
  z-index: 1;
}
.cta:hover, .cta:focus, a.cta:hover, a.cta:focus {
  background: #4E97D1;
  color: #232b32;
  box-shadow: 0 2px 16px 0 rgba(78,151,209,0.19);
  outline: none;
}
button, input[type="submit"] {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* ========== ICON LISTS, SOCIALS, INPUTS ========== */
ul li, ol li {
  display: flex;
  align-items: center;
  gap: 14px;
  line-height: 1.6;
  font-size: 1rem;
  margin-bottom: 16px;
  background: none;
}
ul li img, ol li img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: grayscale(72%) contrast(1.21);
}
ul li:last-child, ol li:last-child {
  margin-bottom: 0;
}
input[type="search"], select {
  background: #232b32;
  border-radius: 6px;
  border: 1px solid #4E97D1;
  padding: 9px 14px;
  color: #f6f8fa;
  font-size: 1rem;
  font-family: inherit;
  margin-right: 9px;
  margin-bottom: 6px;
  box-shadow: 0 2px 8px 0 rgba(44,51,58,0.08);
  transition: border 0.18s, box-shadow 0.18s;
}
input[type="search"]:focus, select:focus {
  border: 1.5px solid #F6F8FA;
  outline: none;
  box-shadow: 0 2px 24px 0 rgba(78,151,209,0.17);
}

/* ========== TESTIMONIALS: PROPER CONTRAST ========== */
.testimonial-card {
  background: #F6F8FA;
  color: #242c32;
  border: 1px solid #4e97d1;
  box-shadow: 0 2px 18px 0 rgba(78,151,209,0.11);
}
.testimonial-card blockquote {
  background: none;
  color: #1b232a;
  font-size: 1.08rem;
  border-left: 4px solid #2A3640;
  margin-bottom: 6px;
  border-radius: 0;
}
.testimonial-card strong {
  color: #2A3640;
}

/* ========== FOOTER ========== */
footer {
  background: #2A3640;
  color: #f6f8fa;
  border-top: 2px solid #232b32;
  padding: 42px 0 15px 0;
  font-size: 1rem;
}
footer .container {
  flex-direction: column;
  gap: 13px;
  align-items: flex-start;
}
.footer-menu a {
  color: #f6f8fa;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1rem;
  padding: 6px 10px;
  transition: color 0.15s, background 0.15s;
  border-radius: 6px;
}
.footer-menu a:hover, .footer-menu a:focus {
  background: #4E97D1;
  color: #232b32;
}
.contact-info {
  color: #9ba9b9;
  font-size: 0.97rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 6px;
}
.contact-info img {
  width: 18px;
  height: 18px;
  margin-right: 7px;
  vertical-align: middle;
  display: inline-block;
  filter: grayscale(70%) brightness(1.4);
}

/* ========== COOKIE CONSENT BANNER ========== */
#cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #232b32;
  box-shadow: 0 -2px 28px 0 rgba(44,51,58,0.15);
  color: #F6F8FA;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 22px 18px 22px 18px;
  gap: 24px;
  z-index: 9999;
  font-size: 1rem;
  animation: fadeInCookie .45s ease;
}
@keyframes fadeInCookie {
  from { opacity: 0; transform: translateY(90px); }
  to { opacity: 1; transform: none; }
}
#cookie-banner p {
  color: #F6F8FA;
  margin-right: 18px;
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 150%;
}
#cookie-banner .cookie-btn {
  background: #4E97D1;
  color: #232b32;
  border: none;
  padding: 10px 20px;
  border-radius: 7px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-right: 12px;
  margin-left: 0;
  cursor: pointer;
  transition: background 0.14s, color 0.14s, box-shadow 0.14s;
}
#cookie-banner .cookie-btn:last-child {
  margin-right: 0;
}
#cookie-banner .cookie-btn:focus, #cookie-banner .cookie-btn:hover {
  background: #F6F8FA;
  color: #2A3640;
  box-shadow: 0 2px 14px 0 rgba(78,151,209,0.16);
  outline: none;
}

/* ========== COOKIE SETTINGS MODAL ========== */
#cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 12001;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,38,46,0.93);
  align-items: center;
  justify-content: center;
}
#cookie-modal-overlay.open {
  display: flex;
}
#cookie-modal {
  background: #F6F8FA;
  color: #232b32;
  border-radius: 16px;
  max-width: 430px;
  min-width: 280px;
  padding: 36px 30px 30px 30px;
  box-shadow: 0 6px 32px 0 rgba(44,51,58,0.18);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: fadeInModal .39s cubic-bezier(.6,0,.35,1);
}
@keyframes fadeInModal {
  from { opacity: 0; transform: scale(0.91) translateY(30px); }
  to { opacity: 1; transform: none; }
}
#cookie-modal h2 {
  color: #2A3640;
  margin-bottom: 10px;
  font-size: 1.34rem;
  text-transform: uppercase;
}
#cookie-modal label {
  color: #2A3640;
  font-size: 1rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  cursor: pointer;
  margin-bottom: 10px;
}
#cookie-modal .cookie-toggle {
  margin-right: 8px;
  accent-color: #4E97D1;
}
#cookie-modal .cookie-modal-btn-group {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
#cookie-modal .cookie-btn {
  background: #4E97D1;
  color: #232b32;
  padding: 8px 16px;
  border-radius: 7px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}
#cookie-modal .cookie-btn:focus, #cookie-modal .cookie-btn:hover {
  background: #232b32;
  color: #F6F8FA;
  outline: none;
}
#cookie-modal .cookie-modal-close {
  position: absolute;
  right: 17px;
  top: 11px;
  font-size: 1.6rem;
  color: #4E97D1;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1;
}
#cookie-modal .cookie-modal-close:focus, #cookie-modal .cookie-modal-close:hover {
  color: #232b32;
  outline: none;
}

/* ========== MEDIA QUERIES: RESPONSIVENESS ========== */
@media (max-width: 768px) {
  .content-wrapper, .footer-menu, .social-links, .card-container, .content-grid {
    flex-direction: column;
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .testimonial-card {
    min-width: unset;
    max-width: 100%;
  }
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.22rem; margin-bottom: 16px; }
  .section {
    margin-bottom: 30px;
    padding: 16px 4px;
  }
  header .container {
    min-height: 56px;
    flex-direction: row;
    gap: 10px;
    padding: 7px 4px;
  }
  .contact-info {
    font-size: 0.93rem;
  }
  #cookie-modal {
    max-width: 98vw;
    padding: 24px 7vw 22px 7vw;
  }
  #cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 19px 6vw 19px 6vw;
    gap: 15px;
  }
  .mobile-nav a {
    font-size: 0.98rem;
    padding: 10px 4px 10px 0;
  }
}

/* ========== UTILITY ========== */
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.text-center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }


/* ========== INDUSTRIAL MODERN DETAILS ========== */
.section, .card, .testimonial-card, .cta, input[type="search"], select, .mobile-menu, header, footer {
  /* Metallic accent: subtle inner shadow to simulate metallic edge */
  box-shadow: 0 2px 14px 0 rgba(44,51,58,0.09), 0 1px 2.5px 0 #525e6a33;
  border: 1.5px solid #232f3e;
}
.section {
  /* Slight background noise texture (SVG Data URL for subtle grain) */
  background-image: url("data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjEiIHdpZHRoPSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxjaXJjbGUgY3g9IjIuNSIgY3k9IjguNSIgcj0iLjUiIGZpbGw9IiNlZWVlZWUiIG9wYWNpdHk9Ii4wOCIvPjwvc3ZnPg==");
  background-repeat: repeat;
}
.card, .testimonial-card {
  background-color: #232b32;
  border: 1.5px solid #394146;
  box-shadow: 0 2px 14px 0 rgba(44,51,58,0.11), 0 1px 4px 0 #3c434933;
}
.cta, a.cta, button.cta, input[type="submit"] {
  letter-spacing: 0.05em;
  border: 1.5px solid #BCC9D8;
  box-shadow: 0 2px 12px 0 #4e97d120;
}
header, footer, .mobile-menu {
  /* Slight steel blue overlay */
  box-shadow: 0 2px 24px 0 #39414616, 0 1px 3px 0 #24304855;
}

/* ========== TRANSITIONS FOR INTERACTIONS ========== */
a, .cta, button, .footer-menu a, .mobile-nav a, input, select {
  transition: background 0.13s, color 0.12s, box-shadow 0.11s, border 0.11s;
}

/* ========== HOVER/ACTIVE STATE ========== */
a:active, .cta:active, button:active {
  filter: brightness(1.13);
}
input[type="search"]:active, select:active {
  border-color: #4E97D1;
}

/* ========== FOCUS ACCESSIBILITY ========== */
a:focus, button:focus, .cta:focus, input:focus, select:focus, .mobile-nav a:focus, .footer-menu a:focus {
  outline: 2px solid #4E97D1;
  outline-offset: 2px;
}

/* ========== Z-INDEX COORDINATION ========== */
header, .mobile-menu, #cookie-banner, #cookie-modal-overlay, #cookie-modal {
  z-index: 1200;
}
.mobile-menu {
  z-index: 1200;
}
#cookie-modal-overlay, #cookie-modal { z-index: 12001; }

/* ========== MISC IMPROVEMENTS ========== */
::-webkit-scrollbar {
  width: 10px;
  background: #232b32;
}
::-webkit-scrollbar-thumb {
  background: #394146; 
  border-radius: 4px;
}

/* ========== PRINT SUPPORT ========== */
@media print {
  header, footer, #cookie-banner, .mobile-menu { display: none !important; }
  body { background: #fff; color: #222; }
  .section { box-shadow: none; border: none; color: #222; }
}
