/* ============================================================
  CSS RESET & NORMALIZATION
============================================================ */
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;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  background: #141d26;
  color-scheme: dark;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  background: #141d26;
  color: #f8f9fa;
  line-height: 1.65;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
  border-style: none;
}

ul, ol {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

a {
  color: #4bb45a;
  text-decoration: none;
  transition: color 0.18s;
}

a:hover, a:focus {
  color: #f8f9fa;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}

::-webkit-input-placeholder { color: #7e8a96; }
::-moz-placeholder { color: #7e8a96; }
:-ms-input-placeholder { color: #7e8a96; }
::placeholder { color: #7e8a96; }


/* ============================================================
  TYPOGRAPHY
============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #e3e4e6;
  letter-spacing: 0.5px;
  line-height: 1.15;
}

h1 {
  font-size: 2.5rem; /* 40px */
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;    /* 32px */
  margin-bottom: 16px;
}
h3 {
  font-size: 1.5rem;  /* 24px */
  margin-bottom: 14px;
}
h4 {
  font-size: 1.125rem; /* 18px */
  margin-bottom: 10px;
}

p, ul, ol {
  margin-bottom: 16px;
  color: #e5e7ea;
}

strong, b {
  font-weight: 700;
  color: #f8f9fa;
}

.text-section h3 {
  color: #4bb45a;
  font-size: 1.25rem;
}

/* Hierarchy for buttons and calls to action */
.btn-primary,
button.btn-primary,
input[type="submit"].btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: #18364b;
  color: #f8f9fa;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(24,54,75,0.15),0 1px 0 #385872 inset;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.09s;
  margin-top: 10px;
  text-shadow: 0 1px 0 rgba(20,32,40,0.23);
  gap: 8px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #282f38;
  color: #4bb45a;
  box-shadow: 0 4px 14px rgba(24,54,75,0.23);
  transform: translateY(-2px) scale(1.037);
  text-decoration: none;
}

.btn-secondary {
  padding: 13px 24px;
  background: #4bb45a;
  color: #18364b;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 6px;
  font-size: 1rem;
  border: none;
  box-shadow: 0 1px 6px rgba(75,180,90,0.10);
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #357d3f;
  color: #f8f9fa;
}

.btn-tertiary {
  padding: 12px 22px;
  border: 2px solid #4bb45a;
  color: #4bb45a;
  background: transparent;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 5px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.btn-tertiary:hover, .btn-tertiary:focus {
  background: #4bb45a;
  color: #18364b;
}

/* ============================================================
  LAYOUT & INDUSTRIAL MODERN STRUCTURE
============================================================ */

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  margin: 0 auto;
  width: 100%;
  max-width: 880px;
}

.section {
  background: #1d2329;
  border-radius: 14px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 2px 16px rgba(24,54,75,0.13);
  position: relative;
}

/* Feature Grid & Card Flexbox */
.feature-grid, .card-container, .card-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-top: 10px;
  margin-bottom: 8px;
}

.card, .feature-item {
  background: #232c34;
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 26px 22px;
  position: relative;
  box-shadow: 0 1.5px 8px rgba(14,18,22,0.05), 0 0.5px 0 #2e3740 inset;
  transition: box-shadow 0.17s, transform 0.17s;
  color: #f8f9fa;
}
.card:hover, .feature-item:hover {
  box-shadow: 0 4px 24px rgba(75,180,90,0.08), 0 0.5px 0 #4bb45a inset;
  transform: translateY(-2px) scale(1.012);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-height: 120px;
}

/* Text-Image (side-by-side) Flex Section */
.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;
  background: #f8f9fa;
  color: #18364b;
  padding: 20px;
  border-radius: 9px;
  box-shadow: 0 2px 12px rgba(24,54,75,0.11);
  margin-bottom: 20px;
  border: 1.5px solid #c2cbd1;
  transition: box-shadow 0.18s, border 0.15s, transform 0.12s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 22px rgba(24,54,75,0.16);
  border: 1.5px solid #4bb45a;
  transform: scale(1.016);
}
.testimonial-card p {
  color: #24364a;
  font-style: italic;
}
.testimonial-card strong {
  color: #18364b;
  font-size: 1.08rem;
  font-weight: 700;
}

.features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.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;
}


/* ============================================================
  HEADER, NAVIGATION, LOGO
============================================================ */
header {
  width: 100%;
  background: #181d22;
  border-bottom: 2px solid #22344a;
  box-shadow: 0 2px 18px rgba(24,54,75,0.09);
  position: relative;
  z-index: 60;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 18px 18px;
}
header img {
  height: 48px;
}
header nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #f8f9fa;
  letter-spacing: 0.05em;
  padding: 8px 10px;
  border-radius: 4px;
  transition: color 0.14s, background 0.14s;
}
header nav a:hover, header nav a.active {
  color: #4bb45a;
  background: #232c34;
}
header .btn-primary {
  margin-left: 18px;
}

/* Mobile menu toggle ('☰') */
.mobile-menu-toggle {
  display: none;
  background: none;
  font-size: 2.1rem;
  color: #4bb45a;
  border: none;
  padding: 6px 16px;
  cursor: pointer;
  line-height: 1;
  z-index: 200;
}
.mobile-menu {
  display: none;
}


/* ============================================================
  FOOTER
============================================================ */
footer {
  background: #181d22;
  border-top: 2px solid #22344a;
  padding: 46px 0 24px 0;
}
footer .container {
  flex-direction: column;
  gap: 22px;
  align-items: center;
  text-align: center;
}
footer img {
  height: 36px;
  margin-bottom: 12px;
}
footer nav {
  display: flex;
  gap: 18px;
  margin-bottom: 6px;
}
footer nav a {
  color: #adb3b7;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.15s;
  padding: 5px 10px;
  border-radius: 4px;
}
footer nav a:hover {
  color: #4bb45a;
  background: #191e23;
}
footer .text-section p {
  color: #8d98a3;
  margin-bottom: 4px;
}

/* ============================================================
  LISTS, TABLES, FORMS
============================================================ */
ul, ol {
  padding-left: 18px;
}
li {
  margin-bottom: 10px;
  font-size: 1rem;
}

strong {
  color: #4bb45a;
  font-weight: bold;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #222d37;
  color: #f8f9fa;
  margin-bottom: 2rem;
}
th, td {
  padding: 10px 18px;
  border: 1px solid #303c4a;
}
th {
  background: #1d2329;
  color: #4bb45a;
  font-family: 'Montserrat', Arial, sans-serif;
}

input, textarea, select {
  background: #232c34;
  color: #f8f9fa;
  border: 1.5px solid #2e3c47;
  border-radius: 6px;
  padding: 12px 12px;
  margin-bottom: 16px;
  font-size: 1rem;
  width: 100%;
  transition: border 0.17s, background 0.17s;
}
input:focus, textarea:focus, select:focus {
  border-color: #4bb45a;
  background: #20272e;
}

label {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #adb3b7;
  font-size: 1rem;
  margin-bottom: 4px;
  display: block;
}

/* ============================================================
  RESPONSIVE & FLEXBOX ADJUSTMENTS
============================================================ */
@media (max-width: 1024px) {
  .container, .content-wrapper {
    max-width: 99vw;
  }
  .card, .feature-item {
    min-width: 260px;
  }
}

@media (max-width: 900px) {
  .container {
    padding: 0 8px;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.15rem; }
  .section {
    padding: 28px 8px;
    margin-bottom: 38px;
  }
  .content-wrapper {
    padding: 0 6px;
  }
  .feature-grid, .card-grid, .card-container, .content-grid, .features {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  header .container, footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 10px 8px;
  }
  header nav {
    display: none;
  }
  header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 17px;
    right: 25px;
    z-index: 202;
  }
}

@media (max-width: 520px) {
  html { font-size: 15px; }
  .container, .content-wrapper {
    padding: 0 2px;
  }
  .section {
    padding: 18px 2px;
    margin-bottom: 18px;
  }
}


/* ============================================================
  MOBILE BURGER MENU / SLIDE IN NAV
============================================================ */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  background: #181d22;
  z-index: 998;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(.75,0,.25,1);
  box-shadow: 4px 0 40px rgba(24,54,75,0.2);
  padding: 0;
  opacity: 1;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  color: #4bb45a;
  background: none;
  border: none;
  align-self: flex-end;
  margin: 18px 24px 6px 0;
  cursor: pointer;
  transition: color 0.16s;
  z-index: 12;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #f8f9fa;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 18px 32px 24px 32px;
  gap: 11px;
}
.mobile-nav a {
  color: #f8f9fa;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.16rem;
  font-weight: 500;
  padding: 12px 0;
  border-radius: 4px;
  transition: color 0.2s, background 0.17s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: #22344a;
  color: #4bb45a;
}


/* ============================================================
  COOKIE CONSENT BANNER & MODAL
============================================================ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  background: #232c34;
  color: #f8f9fa;
  padding: 24px 14px;
  box-shadow: 0 -2px 16px rgba(24,54,75,0.14);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 65px;
  font-size: 1rem;
  transition: transform 0.25s cubic-bezier(.68,-0.55,.27,1.55);
}
@media (max-width: 540px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    font-size: 0.96rem;
    padding: 18px 6px;
    gap: 12px;
  }
}
.cookie-banner.hide {
  transform: translateY(160%);
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-banner .btn-secondary, .cookie-banner .btn-primary, .cookie-banner .btn-tertiary {
  font-size: 1rem;
  padding: 10px 18px;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(24,54,75,0.08);
}

/* Modal Overlay for Cookie Settings */
.cookie-modal {
  position: fixed;
  z-index: 1200;
  top: 0; left: 0; right:0; bottom:0;
  width: 100vw;
  height: 100vh;
  background: rgba(24, 54, 75, 0.90);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.31s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal .modal-content {
  background: #f8f9fa;
  color: #1d2329;
  border-radius: 10px;
  box-shadow: 0 6px 36px rgba(24,54,75,0.16);
  padding: 32px 28px 28px 28px;
  max-width: 420px;
  width: 90vw;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  position: relative;
  animation: fadeinpop 0.45s cubic-bezier(.16,1,.3,1.07) 1;
}

@keyframes fadeinpop {
  0%   { opacity: 0; transform: scale(0.98) translateY(24px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.cookie-modal .close-modal-btn {
  position: absolute;
  top: 15px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #4bb45a;
  cursor: pointer;
  z-index: 3;
}
.cookie-modal h3 {
  color: #4bb45a;
  font-size: 1.2rem;
  margin-bottom: 2px;
  margin-top: 0;
}
.cookie-preferences-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: #ebeeee;
  color: #18232a;
  padding: 13px 16px;
  border-radius: 7px;
  font-size: 1rem;
}
.cookie-category input[type='checkbox'] {
  accent-color: #4bb45a;
  width: 22px;
  height: 22px;
}
.cookie-category .essential {
  color: #18364b;
  font-weight: 600;
}

.cookie-modal .btn-primary, .cookie-modal .btn-secondary {
  min-width: 128px;
  font-size: 1rem;
}


/* ============================================================
  INDUSTRIAL MODERN EXTRAS & DETAILS
============================================================ */
.section {
  border: 1.5px solid #24364a;
  box-shadow: 0 2px 16px rgba(75,180,90,0.05), 0 1.5px 0 #1a262f inset;
  position: relative;
}
.card, .feature-item {
  box-shadow: 0 2px 10px rgba(24,54,75,0.06), 0 0.5px 0 #365076 inset;
  border: 1px solid #24364a;
  background: linear-gradient(109deg, #232c34 86%, #24364a 100%);
}

/* Subtle metallic accent: used for separation lines */
hr {
  border: none;
  border-top: 1px solid #677b8e;
  margin: 20px 0;
  opacity: 0.9;
}

/* SVG icon coloring and image wrappers in card or contact: a faint industrial chrome style */
.card img, .feature-grid img, .content-wrapper img {
  filter: grayscale(38%) brightness(0.9) contrast(1.23) drop-shadow(0px 2px 4px #0a181f33);
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(36,86,110,0.07);
  margin-bottom: 10px;
  max-width: 48px;
  min-width: 40px;
}

/* List dots for certain features */
ul li::before {
  content: '';
  display: inline-block;
  margin-right: 9px;
  vertical-align: middle;
  background: #4bb45a;
  width: 8px; height: 8px;
  border-radius: 3px;
}

ol {
  counter-reset: num;
}
ol li {
  counter-increment: num;
}
ol li::before {
  content: counter(num) '.';
  color: #4bb45a;
  font-weight: 700;
  margin-right: 7px;
}


/* ============================================================
  MICRO-INTERACTIONS & ANIMATIONS
============================================================ */
a, .btn-primary, .btn-secondary, .btn-tertiary {
  transition: background 0.16s, color 0.16s, box-shadow 0.14s, transform 0.12s;
}

.section, .card, .feature-item, .testimonial-card {
  transition: box-shadow 0.2s, border 0.15s, transform 0.12s, background 0.14s;
}

.card:hover, .feature-item:hover, .testimonial-card:hover {
  box-shadow: 0 6px 26px rgba(75,180,90,0.11), 0 2px 0 #4bb45a inset;
  transform: scale(1.013);
  border-color: #4bb45a;
  background: linear-gradient(109deg, #232c34 86%, #2d4737 100%);
}

input[type='checkbox'], input[type='radio'] {
  accent-color: #4bb45a;
}


/* ============================================================
  UTILITIES
============================================================ */
.d-none {
  display: none !important;
}
.hidden {
  display: none !important;
  visibility: hidden !important;
}
.center {
  justify-content: center !important;
  align-items: center !important;
}
.justify-between {
  justify-content: space-between !important;
}
.mx-auto {
  margin-left: auto !important;
  margin-right: auto !important;
}
.mt-0 {margin-top: 0 !important;}
.mt-2 {margin-top: 16px !important;}
.mt-4 {margin-top: 32px !important;}
.mb-0 {margin-bottom:0 !important;}
.mb-2 {margin-bottom:16px !important;}
.mb-4 {margin-bottom:32px !important;}

/* ========== Z-INDEXS ========== */
header { z-index: 60; }
.mobile-menu { z-index: 998; }
.cookie-banner { z-index: 1100; }
.cookie-modal { z-index: 1200; }

/* ============================================================
  END OF CSS
============================================================ */