/* ============================================================
   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, 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, 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 { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #202432;
  color: #F5F6FA;
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
}
a { color: #6DB9C2; text-decoration: none; transition: color .2s; }
a:hover, a:focus { color: #F5F6FA; text-decoration: underline; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; vertical-align: middle; }
table { border-collapse: collapse; width: 100%; }
th, td { padding: 12px 16px; text-align: left; }

/* =================================================================
   BRAND TYPOGRAPHY — Industrial Modern Style
   =================================================================*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Black', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #F5F6FA;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
h1 { font-size: 2.5rem; line-height: 1.18; margin-bottom: 18px; }
h2 { font-size: 2rem; line-height: 1.22; margin-bottom: 18px; }
h3 { font-size: 1.25rem; line-height: 1.25; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1.1rem; }
p, li, small {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #DBE4EE;
  font-weight: 400;
  line-height: 1.7;
}
strong { font-weight: 700; letter-spacing: .3px; color: #DFE5F1; }
small { font-size: 0.92em; color: #AEB8C8; }

/* Decorative accents (industrial feel) */
hr {
  border: 0;
  border-top: 2px solid #454F67;
  margin: 36px 0;
}

/* Metallic accent for highlights */
::-webkit-selection, ::selection {
  background: #6DB9C2;
  color: #202432;
}

/* =================================================================
   LAYOUT STRUCTURE
   =================================================================*/
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Spacing for sections */
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  background: none;
}
.section { margin-bottom: 60px; padding: 40px 20px; }
.section:last-child, section:last-child { margin-bottom: 0; }

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

/* Industrial Modern Card Layouts */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #232636;
  border: 1px solid #262E44;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(25,33,54,0.08);
  margin-bottom: 20px;
  position: relative;
  padding: 24px;
  transition: box-shadow .24s;
  display: flex;
  flex-direction: column;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(109,185,194,0.15);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

/* Feature Grid (flexbox!) */
.feature-grid, .testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div, .testimonial-grid > div {
  flex: 1 1 240px;
  min-width: 230px;
  background: #262E44;
  border-radius: 10px;
  border: 1px solid #384357;
  box-shadow: 0 2px 10px rgba(44,56,96,0.10);
  padding: 24px;
  margin-bottom: 20px;
  transition: transform .20s, box-shadow .20s;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.feature-grid > div:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 36px rgba(109,185,194,0.10);
}

/* Inner spacing, general */
.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;
}

/* Feature item */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Testimonial Card - must guarantee light contrast */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F5F6FA;
  border-radius: 8px;
  box-shadow: 0 0 14px rgba(44,56,96,0.05);
  min-width: 220px;
  color: #232636;
  border: 1px solid #D7DCE5;
}
.testimonial-card p, .testimonial-card strong {
  color: #232636;
}
.testimonial-card .stars {
  display: flex;
  gap: 2px;
  margin-bottom: 4px;
}

.testimonial-carousel {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}

.trust-badges {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 20px;
}

/* FAQ Layouts */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.faq-list > div {
  background: #272B3B;
  padding: 18px 24px;
  border-radius: 8px;
  border-left: 4px solid #6DB9C2;
  box-shadow: 0 1px 5px rgba(44,56,96,0.05);
}
.faq-list h3 { color: #6DB9C2; font-size: 1.12rem; margin-bottom: 4px; }

/* Pricing Table (Tarifs) */
.pricing_table {
  width: 100%;
  background: #232636;
  border: 1.5px solid #384357;
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(44,56,96,0.13);
  overflow: hidden;
  margin-bottom: 24px;
  font-size: 1rem;
  color: #F5F6FA;
}
.pricing_table th {
  background: #2C3860;
  color: #fff;
  border: none;
  letter-spacing: .5px;
  font-size: 1.1em;
}
.pricing_table td {
  color: #DBE4EE;
  background: #232636;
  border-top: 1px solid #384357;
}
.pricing_table tr:last-child td {
  border-bottom: none;
}

/* ================================================================
   BUTTONS & INTERACTIVE ELEMENTS
   ================================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  padding: 14px 32px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  background: linear-gradient(90deg, #2C3860 85%, #6DB9C2 100%);
  color: #F5F6FA;
  border: none;
  border-radius: 8px;
  letter-spacing: 1px;
  box-shadow: 0 2px 8px rgba(44,56,96,.08);
  cursor: pointer;
  transition: background .18s, transform .15s, box-shadow .18s;
  text-transform: uppercase;
  text-decoration: none;
  margin-top: 14px;
  margin-bottom: 8px;
  gap: 8px;
}
.btn-primary:focus, .btn-primary:hover {
  background: linear-gradient(90deg, #6DB9C2 10%, #2C3860 100%);
  color: #232636;
  outline: none;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 24px rgba(109,185,194,0.16);
}

/* Secondary and ghost variant for banners/modals/cookies */
.btn-secondary, .cookie-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 10px 24px;
  font-size: .98rem;
  border: 1.5px solid #6DB9C2;
  background: transparent;
  color: #6DB9C2;
  border-radius: 6px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  cursor: pointer;
  margin-left: 10px;
  margin-right: 10px;
  transition: background .2s, color .18s;
}
.btn-secondary:hover, .cookie-btn-secondary:hover {
  background: #6DB9C2;
  color: #1c243a;
}

/* for cookie accept btn (dark on light bg)*/
.cookie-btn-primary {
  border: none;
  background: #2C3860;
  color: #fff;
  font-weight: 600;
  border-radius: 6px;
  padding: 10px 24px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  cursor: pointer;
  margin-left: 10px;
  transition: background .14s, color .12s;
}
.cookie-btn-primary:hover, .cookie-btn-primary:focus {
  background: #6DB9C2;
  color: #1c243a;
}

/* ================================================================
   NAVIGATION STYLES (Desktop & Mobile)
   ================================================================ */
header {
  background: #202432;
  border-bottom: 2.5px solid #262E44;
  box-shadow: 0 3px 12px rgba(44,56,96,0.11);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 18px 0;
  gap: 18px;
}
.main-nav > a img {
  height: 48px;
  width: auto;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.main-nav ul li a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #F5F6FA;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background .15s;
  letter-spacing: .6px;
  text-transform: uppercase;
}
.main-nav ul li a:hover, .main-nav ul li a:focus {
  background: #2C3860;
  color: #6DB9C2;
  outline: none;
}
.main-nav .btn-primary {
  margin-left: 16px;
}

/* Hamburger menu */
.mobile-menu-toggle {
  display: none;
  background: #232636;
  color: #F5F6FA;
  border: 0;
  border-radius: 7px;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  z-index: 1201;
  transition: background .16s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #6DB9C2;
  color: #232636;
  outline: none;
}

/* Mobile overlay menu (hidden by default) */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #1a1d29E6;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  transform: translateX(-100vw);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  z-index: 2000;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}

.mobile-menu-close {
  background: none;
  border: none;
  color: #6DB9C2;
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 20px 36px 0 0;
  cursor: pointer;
  transition: color .16s;
  z-index: 2050;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #F5F6FA;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  padding: 30px 36px;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #F5F6FA;
  background: #232636;
  border-radius: 7px;
  padding: 13px 20px;
  margin-bottom: 8px;
  width: 100%;
  display: block;
  transition: background .12s, color .12s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #6DB9C2;
  color: #232636;
  outline: none;
}

/* Hide desktop nav on mobile, hide mobile on desktop */
@media(max-width: 1024px) {
  .main-nav ul, .main-nav .btn-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media(min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* Main content spacing adjustment under sticky header */
main { padding-top: 10px; }

/* ================================================================
   FOOTER + SOCIAL LINKS
   ================================================================ */
footer {
  background: #232636;
  color: #AEB8C8;
  font-size: 1rem;
  padding: 32px 0 18px 0;
  border-top: 2px solid #2C3860;
}
footer .container { padding: 0 20px; }
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav {
  display: flex;
  gap: 32px;
}
footer nav ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
footer nav ul li a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #AEB8C8;
  font-weight: 600;
  font-size: 1em;
  padding: 6px 0;
  border-radius: 3px;
  transition: color .15s;
}
footer nav ul li a:hover, footer nav ul li a:focus{
  color: #6DB9C2;
  text-decoration: underline;
}
footer .text-section { flex: 1 1 200px; }
footer .social-media-links {
  display: flex;
  gap: 16px;
  align-items: center;
}
footer .social-media-links a {
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: #262E44;
  transition: background .13s;
}
footer .social-media-links a:hover {
  background: #6DB9C2;
}
footer .social-media-links img {
  width: 21px; height: 21px;
}

/* ================================================================
   COOKIE CONSENT BANNER & MODAL
   ================================================================ */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  width: 100vw;
  background: #202432;
  color: #F5F6FA;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  padding: 22px 18px 22px 32px;
  box-shadow: 0 -3px 18px rgba(44,56,96,.18);
  font-size: 1.03em;
  z-index: 3000;
  animation: slideInCookie .55s cubic-bezier(.64,-0.01,.39,1.02);
}
.cookie-consent-banner .cookie-text {
  flex: 1;
  color: #F5F6FA;
  margin-right: 12px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
@keyframes slideInCookie {
  from { transform: translateY(60px); opacity: 0; } to { transform: translateY(0); opacity: 1; }
}

/* Settings Modal for cookies */
#cookie-settings-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(27, 29, 39,0.80);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3100;
  animation: fadeIn .33s;
}
#cookie-settings-modal.open {
  display: flex;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.cookie-modal-content {
  background: #F5F6FA;
  color: #232636;
  border-radius: 14px;
  padding: 34px 32px 32px 32px;
  box-shadow: 0 8px 48px rgba(44,56,96,0.4);
  max-width: 430px;  width: 96vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
.cookie-modal-content h2 { color: #232636; font-size: 1.3em; font-weight: bold; margin-bottom: 6px; }
.cookie-modal-content .close-modal {
  position: absolute;
  top: 16px;
  right: 19px;
  background: none;
  border: none;
  font-size: 1.8em;
  color: #2C3860;
  cursor: pointer;
}
.cookie-modal-content .cookie-options {
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.cookie-option-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #D7DCE5;
  padding: 10px 0 6px 0;
}
.cookie-option-row:last-child { border-bottom: none; }
.cookie-option-row label {
  font-size: 1em;
  color: #232636;
  font-weight: 600;
}
.cookie-option-row .cookie-toggle {
  accent-color: #2C3860;
}
.essential-label {
  color: #8d97a8;
  font-size: .97em;
  font-weight: 500;
  letter-spacing: .2px;
}

/* ================================================================
   RESPONSIVENESS (MOBILE FIRST) + FLEX DIRECTION SWAPS
   ================================================================ */
@media (max-width: 1024px) {
  .main-nav {
    gap: 10px;
    padding: 13px 0;
  }
}
@media (max-width: 880px) {
  .container { max-width: 99%; padding: 0 12px; }
}
@media (max-width: 768px) {
  .container {
    padding-left: 7px;
    padding-right: 7px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  .content-wrapper,
  .feature-grid,
  .testimonial-grid,
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  section, .section { padding: 28px 6px; }
  .feature-grid > div, .testimonial-grid > div { min-width: 98%; }
  .testimonial-card { min-width: 100%; }
  .main-nav > a img { height: 40px; }
  .trust-badges { flex-direction: row; gap: 12px; margin-top: 14px; }
  .faq-list > div { padding: 14px 10px; }
  .pricing_table th, .pricing_table td { font-size: .92rem; padding: 9px 6px; }
  .footer .content-wrapper,
  footer .content-wrapper {
    flex-direction: column;
    gap: 24px;
  }
  .footer .social-media-links,
  footer .social-media-links {
    margin-top: 6px;
  }
  .cookie-consent-banner { flex-direction: column; gap: 10px; padding: 18px 7px; align-items: flex-start; }
}
@media (max-width: 520px) {
  h1 { font-size: 1.43rem; }
  h2 { font-size: 1.13rem; }
  .btn-primary, .btn-secondary, .cookie-btn-primary, .cookie-btn-secondary {
    min-width: 94px;
    font-size: .92rem;
    padding: 10px 11px;
  }
}

/* =========================
   MISC HELPERS & UTILITIES
   ========================= */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-8 { margin-top: 8px !important; }
.mb-8 { margin-bottom: 8px !important; }
.mt-16 { margin-top: 16px !important; }
.mb-16 { margin-bottom: 16px !important; }
.p-0 { padding: 0 !important; }
.text-center { text-align: center !important; }
.flex-row { display: flex; flex-direction: row !important; }
.flex-col { display: flex; flex-direction: column !important; }

/* =========================
   FORMS (if present)
   ========================= */
input, select, textarea {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  padding: 10px 12px;
  border: 1.5px solid #6DB9C2;
  border-radius: 6px;
  background: #262E44;
  color: #F5F6FA;
  font-size: 1rem;
  margin-bottom: 14px;
}
input:focus, textarea:focus, select:focus {
  border-color: #2C3860;
  outline: none;
  background: #232636;
}
label { font-weight: 600; color: #AEB8C8; }

/* =============================
   SPECIAL BLOCKS & ICONS
   ============================= */
.map, .contact-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.map img,
.contact-details img { width: 20px; height: 20px; margin-right: 10px; vertical-align: middle; filter: grayscale(85%) brightness(0.96) contrast(1.2); }

/* Badge row (mini-icons) */
.trust-badges img {
  width: 38px; height: 38px;
  border-radius: 7px;
  background: #232636;
  padding: 6px;
  box-shadow: 0 1px 6px rgba(44,56,96,.10);
  border: 1px solid #384357;
  transition: background .16s;
}
.trust-badges img:hover { background: #6DB9C2; }

/* =========================
   PRINT (light bg for docs)
   ========================= */
@media print {
  * { box-shadow:none!important; }
  body { background:#fff!important; color:#232636!important; }
}
