/* 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.4;
  background: #181F24;
  color: #e0e0e0;
  font-family: 'Open Sans', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #2176AE;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.77,0,.175,1);
}
a:hover, a:focus { color: #27AE60; }
ul, ol {
  margin-left: 1.4em;
  margin-bottom: 1em;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: 100%;
  box-sizing: border-box;
  background: none;
  border: none;
  outline: none;
}

/* TYPOGRAPHY ------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.03em;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}
h2 {
  font-size: 1.9rem;
  margin-bottom: 18px;
  color: #d6e3ed;
}
h3 {
  font-size: 1.22rem;
  margin-bottom: 16px;
  color: #aabacf;
}
h4 {
  font-size: 1.08rem;
  margin-bottom: 12px;
}
p, ul, ol, address {
  font-size: 1rem;
  color: #e0e0e0;
  line-height: 1.65;
  margin-bottom: 14px;
}
strong { color: #fff; font-weight: 700; }

/* LAYOUT CONTAINER CLASSES FROM MANDATE --------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: #232B32;
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 rgba(40,41,45,0.14);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s cubic-bezier(.77,0,.175,1),transform 0.18s cubic-bezier(.77,0,.175,1);
}
.card:hover {
  box-shadow: 0 6px 28px 0 rgba(48,56,64,0.33);
  transform: translateY(-2px) scale(1.02);
}
.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: #2176ae;
  color: #232B32;
  border-radius: 10px;
  box-shadow: 0 2px 8px 0 rgba(65,68,75,0.11);
  margin-bottom: 24px;
  flex: 1 1 310px;
  min-width: 230px;
  max-width: 650px;
  border-left: 6px solid #2176AE;
  transition: box-shadow 0.2s cubic-bezier(.77,0,.175,1),transform 0.18s cubic-bezier(.77,0,.175,1);
}
.testimonial-card:hover {
  box-shadow: 0 4px 18px 0 rgba(60,96,148,0.16);
  transform: translateY(-1px) scale(1.015);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
}

/* HEADER ---------------------------------------------- */
header {
  width: 100%;
  padding: 0 0 0 0;
  background: #161b20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 20;
  border-bottom: 3px solid #232B32;
  min-height: 70px;
}
header > a img {
  height: 54px;
  width: auto;
  margin: 10px 0 10px 0;
}
header nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
header nav a {
  color: #e0e0e0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
header nav a:hover,
header nav a:focus {
  border-bottom: 2px solid #27AE60;
  color: #27AE60;
}
.button.primary {
  background: linear-gradient(98deg, #2176AE 0%, #143D52 100%);
  color: #fff;
  padding: 12px 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 28px;
  box-shadow: 0 2px 8px 0 rgba(33,118,174,0.18);
  border: none;
  cursor: pointer;
  margin-left: 30px;
  letter-spacing: 0.05em;
  transition: background 0.15s cubic-bezier(.77,0,.175,1), box-shadow 0.18s, color 0.18s;
  display: inline-block;
  outline: none;
}
.button.primary:hover, .button.primary:focus {
  background: linear-gradient(101deg, #27AE60 0%, #2176ae 100%);
  color: #232b32;
  box-shadow: 0 4px 22px 0 rgba(33,174,74,0.18);
}

/* MOBILE MENU ------------------------------------- */
.mobile-menu-toggle {
  background: #232B32;
  color: #fff;
  font-size: 2rem;
  border: 2px solid #3a4650;
  border-radius: 10px;
  padding: 0.25em 0.5em;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  margin-left: 26px;
  box-shadow: 0 1px 4px 0 rgba(48,56,62,0.08);
  transition: border-color 0.22s, background 0.2s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #181F24;
  color: #27AE60;
  border-color: #27AE60;
}
.mobile-menu {
  position: fixed;
  z-index: 1100;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: #21282e;
  box-shadow: -1px 0 16px 4px rgba(20,20,22,0.22);
  padding: 36px 26px 24px 26px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.77,0,.175,1);
  display: flex;
  flex-direction: column;
  gap: 24px;
  opacity: 1;
}
.mobile-menu.open { transform: translateX(0%); }
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: #fff;
  border: none;
  font-size: 1.9rem;
  margin-bottom: 24px;
  cursor: pointer;
  padding: 0 2px;
  transition: color 0.23s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { color: #27AE60; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 22px;
}
.mobile-nav a {
  color: #eee;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 6px;
  border-left: 4px solid transparent;
  border-radius: 8px;
  transition: color 0.17s, border-color 0.2s, background 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #27ae60;
  background: #131a1e;
  border-left: 4px solid #27ae60;
}

/* MAIN & SECTIONS ----------------------------------- */
main { min-height: 450px; background: transparent; }
.content-wrapper {
  max-width: 880px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 28px 0 8px 0;
}
.feature-grid > div {
  flex: 1 1 185px;
  background: #232B32;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(48,56,62,0.13);
  padding: 24px 20px;
  transition: box-shadow 0.19s, transform 0.18s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-width: 220px;
  max-width: 270px;
  border-left: 4px solid #2176AE;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 20px 0 rgba(48,96,174,0.18);
  transform: translateY(-1px) scale(1.015);
  border-left-color: #27AE60;
}
.feature-grid img {
  filter: grayscale(100%) brightness(1.1) contrast(1.3) drop-shadow(0 2px 2px #0002);
  width: 40px; height: 40px;
}

/* BUTTONS, LINKS ----------------------------------- */
.button {
  background: #2176AE;
  color: #fff;
  border-radius: 24px;
  padding: 12px 26px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.09rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-block;
  border: none;
  box-shadow: 0 1px 7px 0 rgba(33, 118, 174, 0.08);
  letter-spacing: 0.04em;
  margin-top: 13px;
  margin-bottom: 13px;
  transition: background 0.13s, color 0.13s, box-shadow 0.16s, transform 0.17s;
}
.button:hover, .button:focus {
  background: #27AE60;
  color: #101418;
  transform: scale(1.03);
  box-shadow: 0 3px 18px 0 rgba(33, 174, 96, 0.15);
}
/* COOKIE CONSENT BANNER ---------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2000;
  background: #232B32;
  color: #fff;
  padding: 26px 18px 18px 18px;
  border-top: 3px solid #2176ae;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  box-shadow: 0 -2px 32px 0 rgba(21,33,56,0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(60px);
  transition: opacity 0.22s cubic-bezier(.77,0,.175,1), transform 0.21s cubic-bezier(.77,0,.175,1);
}
.cookie-banner.show {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.cookie-banner p { margin-bottom: 7px; color: #fff; }
.cookie-banner .cookie-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.cookie-banner button {
  background: #2176AE;
  color: #fff;
  padding: 8px 20px;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  text-transform: none;
  cursor: pointer;
  margin-right: 3px;
  border: none;
  transition: background 0.16s, color 0.18s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #27ae60;
  color: #181f24;
}
.cookie-banner .cookie-settings-btn {
  background: none;
  color: #27AE60;
  border: 1.5px solid #27AE60;
}
.cookie-banner .cookie-settings-btn:hover { background: #181F24; color: #fff; }

/* Cookie Modal */
.cookie-modal-overlay {
  background: rgba(32, 34, 36, 0.85);
  position: fixed;
  z-index: 3000;
  left:0;right:0;top:0;bottom:0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s cubic-bezier(.77,0,.175,1);
}
.cookie-modal-overlay.active {
  opacity: 1; pointer-events: all;
}
.cookie-modal {
  background: #20262C;
  color: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 36px 0 rgba(33,39,52,0.22);
  max-width: 400px;
  width: 96vw;
  padding: 30px 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  z-index: 3010;
  position: relative;
  animation: cookie-modal-in 0.32s cubic-bezier(.77,0,.175,1);
}
@keyframes cookie-modal-in {
  0% { opacity: 0; transform: translateY(66px) scale(0.92); }
  95%{ opacity: 1; }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h2 {
  font-size: 1.28rem;
  color: #d6e3ed;
  margin-bottom: 7px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
}
.cookie-modal .cookie-category label {
  font-size: 1rem;
  color: #fff;
  font-weight: 500;
}
.cookie-modal .category-toggle {
  width: 36px; height: 20px;
  border-radius: 12px;
  background: #2176AE;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
  border: none;
  margin-left: 14px;
  appearance: none;
}
.cookie-modal .category-toggle:checked {
  background: #27AE60;
}
.cookie-modal .category-toggle:before {
  content: '';
  display: block;
  position: absolute;
  left: 3px; top: 3px;
  background: #fff;
  width: 14px; height: 14px;
  border-radius: 50%;
  transition: left 0.18s cubic-bezier(.77,0,.175,1);
}
.cookie-modal .category-toggle:checked:before {
  left: 19px;
}
.cookie-modal .close-modal {
  position: absolute;
  right: 13px; top: 13px;
  background: none;
  color: #fff;
  border: none;
  font-size: 1.6em;
  cursor: pointer;
  transition: color 0.19s;
  padding: 1px 8px;
  z-index: 2;
}
.cookie-modal .close-modal:hover,
.cookie-modal .close-modal:focus { color: #27AE60; }
.cookie-modal .cookie-actions {
  display: flex;
  gap: 15px;
}
.cookie-modal .cookie-actions button {
  background: #2176AE;
  color: #fff;
  border-radius: 22px;
  padding: 8px 18px;
  margin: 0;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.97rem;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
}
.cookie-modal .cookie-actions button:hover {
  background: #27AE60;
  color: #232b32;
}

/* LISTS ---------------------------------------------- */
ul, ol {
  margin-bottom: 17px;
  margin-left: 18px;
  padding-left: 8px;
  color: #b4bfc9;
}
ul li, ol li {
  margin-bottom: 7px;
  line-height: 1.6;
}
ul li strong, ol li strong {
  color: #fff;
  font-weight: 700;
}

/* CARDS & TESTIMONIALS ------------------------------ */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 13px;
  padding: 24px 22px 18px 22px;
}

/* FOOTER ------------------------------------------ */
footer {
  background: #232B32;
  color: #fff;
  padding: 36px 20px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 60px;
}
footer img {
  height: 42px;
  margin-bottom: 13px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
}
footer nav a {
  color: #d4e1ed;
  font-size: 0.97rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.18s;
}
footer nav a:hover, footer nav a:focus { color: #27ae60; }
footer address {
  font-style: normal;
  font-size: 0.99rem;
  color: #b1bbc2;
  margin-bottom: 8px;
  line-height: 1.67;
}
footer address a {
  color: #27AE60;
  text-decoration: underline dotted 1.2px;
  font-weight: 600;
  transition: color 0.2s;
}
footer address a:hover { color: #2176ae; }
footer p { font-size: 0.96rem; color: #b1bbc2; }

/* ICONS IN TEXT ------------------------------------ */
ul li img, ol li img {
  height: 22px;
  width: 22px;
  margin-right: 8px;
  vertical-align: text-bottom;
  display: inline-block;
}

/* RESPONSIVE ---------------------------------------- */
@media (max-width: 1200px) {
  .container { padding-left: 4vw; padding-right: 4vw; }
}
@media (max-width: 950px) {
  .feature-grid {
    gap: 20px;
  }
  .feature-grid > div {
    min-width: 180px;
    max-width: 99vw;
  }
}
@media (max-width: 900px) {
  header nav { gap: 13px; }
  .container { max-width: 98vw; }
  .content-wrapper { max-width: 96vw; }
}
@media (max-width: 800px) {
  .feature-grid { gap: 7vw; }
}
@media (max-width: 768px) {
  /* Layout: switch columns to single */
  .text-image-section, .feature-grid, .content-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  header nav { display: none; }
  .button.primary { margin-left: 8px; font-size:1rem; }
  .mobile-menu-toggle { display: flex; margin-left: auto; }
  .feature-grid > div {
    min-width: 94vw;
    max-width: none;
    padding: 18px 15px;
  }
  footer { padding: 28px 10px 16px 10px; }
  .container { padding-left: 6vw; padding-right: 6vw; }
  .section, section { padding: 25px 9px; }
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.18rem; }
  h3 { font-size: 1.01rem; }
}
@media (max-width: 540px) {
  header { flex-wrap: wrap; min-height: 48px !important; }
  header > a img { height: 36px; margin: 4px 0; }
  .button.primary, .button { padding: 10px 18px; font-size: 0.97rem; }
  .mobile-menu-toggle { font-size: 1.6rem; border-radius: 8px; }
  .feature-grid > div { min-width: 92vw; }
  .testimonial-card { min-width: 128px; padding: 12px 9px; font-size: 0.98rem; }
  .testimonial-card span { font-size: 0.95em; }
  .cookie-banner { padding: 13px 6px 10px 8px; font-size: 0.96em; }
  .cookie-modal { padding: 17px 6px 12px 10px; }
  .cookie-modal .cookie-actions button { font-size: 0.91rem; padding: 6px 12px; }
  .feature-grid { gap: 10px; }
}

/* FOCUS STATES (Accessibility) ---------------------- */
a:focus, .button:focus, button:focus,
.mobile-menu-toggle:focus, .mobile-menu-close:focus,
.cookie-banner button:focus, .cookie-modal .close-modal:focus, .cookie-modal .cookie-actions button:focus {
  outline: 2.5px solid #27AE60;
  outline-offset: 2.5px;
}

/* INDUSTRIAL MODERN ACCENTS ------------------------- */
.section, section, .card, .feature-grid > div, .testimonial-card {
  border: 1.5px solid #232B32;
  box-shadow: 0 1px 8px 0 rgba(48,56,62,0.10);
}
.section, section { background: #181F24; border-radius: 14px; }
.card, .feature-grid > div, .testimonial-card {
  position: relative;
  overflow: hidden;
}
.card:after, .feature-grid > div:after {
  content: '';
  position: absolute;
  right: -38px; bottom: -26px;
  width: 74px; height: 35px;
  background: linear-gradient(122deg,rgba(39,174,96,0.07) 0%,rgba(33,118,174,0.09) 100%);
  filter: blur(2.5px);
  border-radius: 50px 70px 100px 50px/33px 26px 22px 45px;
  pointer-events: none;
}

/* MICRO-INTERACTIONS ------------------------------- */
.button, .button.primary, .feature-grid > div, .testimonial-card, .card {
  transition: box-shadow 0.24s cubic-bezier(.77,0,.175,1), background 0.19s, color 0.17s, transform 0.18s;
}
.button:active { transform: scale(0.97); }

/* VISUAL HIERARCHY ---------------------------------- */
h1, .button.primary { text-shadow: 0 2px 8px rgba(30,40,48,0.08); }

/* INDUSTRIAL FONTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

/* MISC */
::-webkit-scrollbar {
  width: 8px; background: #181f24;
}
::-webkit-scrollbar-thumb {
  background: #232B32; border-radius: 10px;
}

/* MODAL/BANNER Z-INDEXS for topping everything */
.mobile-menu, .cookie-modal-overlay, .cookie-banner { z-index: 1500; }

/* Ensure minimum 20px margin between all cards & sections */
.card + .card, .section + .section, section + section,
.feature-grid > div + div, .testimonial-card + .testimonial-card {
  margin-top: 20px !important;
}

/* Prevent overlapping */
.card, .feature-grid > div, .testimonial-card, .section, section {
  margin-bottom: 24px;
}

/* Prevent absolute for main content, only for decoration */
