/* ============================================================
   Luminar Build – modern_bold style CSS (Flexbox-Only, Responsive)
   Brand Colors: Primary #163650, Secondary #45AEB1, Accent #FFFFFF
   Fonts: Display - Montserrat, Body - Open Sans
   Strict: Flexbox only (no grid/columns)
   ============================================================ */

/* ---------- 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, 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;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  color: #163650;
  background: #F6F9FB;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
  position: relative;
  font-size: 1rem;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #45AEB1;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 600;
}
a:hover, a:focus {
  color: #163650;
  outline: none;
}
strong, b {
  font-weight: 700;
}
ul, ol {
  list-style: none;
}

/* ---------- BRAND FONTS (Load via Google Fonts externally) ---------- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: -0.01em;
  line-height: 1.1;
  font-weight: 800;
  color: #163650;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5, h6 { font-size: 1.125rem; }
p, li {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 14px;
  font-family: 'Open Sans', Arial, sans-serif;
}

/* ---------- LAYOUT CONTAINER CLASSES ---------- */
.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0; /* always control gaps with child flex containers */
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 28px rgba(22, 54, 80, 0.07), 0 1.5px 4px rgba(69, 174, 177, 0.13);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 16px;
  position: relative;
  box-shadow: 0 6px 24px rgba(22, 54, 80, 0.08);
  transition: box-shadow 0.2s;
  padding: 24px;
  min-width: 260px;
}
.card:hover {
  box-shadow: 0 12px 40px rgba(22, 54, 80, 0.16);
}
.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;
  gap: 20px;
  padding: 20px;
  background: #F6F9FB;
  border-radius: 16px;
  box-shadow: 0 3px 12px rgba(22, 54, 80, 0.07);
  margin-bottom: 20px;
  border-left: 6px solid #45AEB1;
  min-width: 240px;
  max-width: 460px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 36px rgba(22,54,80,0.18);
  border-left-color: #163650;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ---------- HEADER / NAVIGATION ---------- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(22,54,80,0.08);
  z-index: 1100;
  position: sticky;
  top: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.logo img {
  max-height: 44px;
  width: auto;
  display: block;
}
.main-navigation {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
.main-navigation a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #163650;
  padding: 7px 12px;
  border-radius: 8px;
  position: relative;
  transition: background 0.16s, color 0.19s;
}
.main-navigation a:hover,
.main-navigation a:focus {
  background: #F6F9FB;
  color: #45AEB1;
}
.cta-button {
  background: #45AEB1;
  color: #fff;
  border: none;
  border-radius: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 1.125rem;
  padding: 11px 30px;
  box-shadow: 0 2px 8px rgba(69,174,177,0.13);
  transition: background 0.2s, box-shadow 0.16s, transform 0.15s;
  cursor: pointer;
  margin-left: 14px;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: #163650;
  color: #fff;
  box-shadow: 0 6px 24px rgba(22,54,80,0.15);
  transform: translateY(-3px) scale(1.03);
}

/* ---------- MOBILE MENU ---------- */
.mobile-menu-toggle {
  display: none;
  background: #45AEB1;
  color: #fff;
  border: none;
  padding: 10px 14px;
  font-size: 2rem;
  border-radius: 8px;
  margin-left: 18px;
  cursor: pointer;
  z-index: 1202;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #163650;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(22,54,80,0.92);
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  margin: 26px 30px 12px 0;
  cursor: pointer;
  z-index: 1250;
  transition: color 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #45AEB1;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-left: 32px;
  margin-top: 40px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  padding: 12px 0;
  border-radius: 0 24px 24px 0;
  transition: background 0.17s, color 0.18s;
  min-width: 170px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #45AEB1;
  background: rgba(255,255,255,0.08);
}

/* Hamburger / Nav Hide Show for Responsive */
@media (max-width: 1000px) {
  .main-navigation {
    display: none;
  }
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 1001px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ---------- FOOTER ---------- */
footer {
  background: #163650;
  color: #fff;
  padding: 32px 0 18px 0;
  margin-top: 60px;
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.footer-navigation {
  display: flex;
  flex-direction: row;
  gap: 30px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.footer-navigation a {
  color: #45AEB1;
  font-weight: 700;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  opacity: 1;
  transition: color 0.2s, opacity 0.19s;
}
.footer-navigation a:hover, .footer-navigation a:focus {
  color: #fff;
  opacity: 0.9;
}
.footer-contact span {
  display: block;
  opacity: 0.83;
  font-size: 0.95rem;
  margin-bottom: 3px;
}

/* ---------- HERO, SECTIONS, CTA ---------- */
section {
  margin-bottom: 60px;
  padding-top: 40px;
  padding-bottom: 40px;
}
section .container {
  margin-bottom: 0;
}
section .content-wrapper {
  margin-bottom: 0;
}
@media (max-width: 480px) {
  section {
    padding-top: 22px;
    padding-bottom: 22px;
  }
}

/* High contrast bold hero */
section:first-of-type {
  background: #163650;
  color: #fff;
  border-radius: 0 0 38px 38px;
  box-shadow: 0 14px 40px -10px rgba(22, 54, 80, 0.25);
  margin-bottom: 50px;
}
section:first-of-type h1, section:first-of-type h2, section:first-of-type p {
  color: #fff;
}
section:first-of-type a.cta-button {
  background: #45AEB1;
  color: #fff;
}
section:first-of-type a.cta-button:hover {
  background: #fff;
  color: #163650;
}

/* ---------- ICONS & LISTS ---------- */
ul li {
  position: relative;
  margin-bottom: 13px;
  padding-left: 36px;
  min-height: 32px;
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: #163650;
}
ul li img {
  position: absolute;
  left: 0;
  width: 24px;
  height: 24px;
  margin-right: 10px;
  filter: drop-shadow(0 2px 6px rgba(69, 174, 177, 0.22));
}
ul li strong {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #163650;
}
section ul {
  margin-top: 6px;
}

/* ---------- TABLES ---------- */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(22,54,80,0.13);
  margin-bottom: 24px;
  margin-top: 8px;
}
thead {
  background: #163650;
}
thead th {
  color: #fff;
  padding: 13px 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  text-align: left;
  letter-spacing: 0.02em;
}
tbody td {
  color: #163650;
  padding: 14px 10px;
  font-size: 1rem;
  border-bottom: 1px solid #F3F4F9;
}
tbody tr:last-child td {
  border-bottom: none;
}
@media (max-width: 600px) {
  table,thead,tbody,tr,th,td {
    display: block;
    width: 100%;
  }
  th, td { padding: 11px 7px; font-size: 0.99rem; }
  thead tr { display: none; }
  tbody td { border-bottom: 0; }
}

/* ---------- TESTIMONIALS & REVIEWS ---------- */
.testimonial-card {
  background: #fff;
  color: #163650;
  border-radius: 16px;
  margin-right: 24px;
}
.testimonial-author {
  font-weight: 800;
  color: #45AEB1;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  margin-top: 8px;
}
.testimonial-rating {
  color: #FFA900;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.13em;
  font-size: 1.15rem;
}
.testimonial-card p {
  color: #163650;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.08rem;
}

/* ---------- CARDS (Flexible, Modern) ---------- */
.card {
  border: 2px solid #F3F4F9;
  min-width: 220px;
  flex: 1 1 220px;
}
.card h3 {
  margin-bottom: 10px;
}

/* ---------- SEARCH BAR & CATEGORY FILTER ---------- */
.search-bar {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-top: 16px;
  margin-bottom: 20px;
  width: 100%;
}
.search-bar input[type='text'] {
  font-size: 1.06rem;
  border: 2px solid #45AEB1;
  border-radius: 10px;
  padding: 11px 18px;
  width: 100%;
  background: #F6F9FB;
  outline: none;
  transition: border 0.18s;
}
.search-bar input[type='text']:focus {
  border-color: #163650;
}
.categories-filter {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  margin-top: 0;
}
.categories-filter span {
  font-weight: 700;
  font-size: 1rem;
  color: #163650;
  margin-right: 6px;
}
.categories-filter a {
  font-size: 1rem;
  color: #45AEB1;
  font-weight: 800;
  margin-right: 8px;
  transition: color 0.19s;
}
.categories-filter a:hover {
  color: #163650;
}

/* ---------- FORMS ---------- */
input[type='text'],input[type='email'],textarea {
  font-size: 1rem;
  border: 2px solid #45AEB1;
  border-radius: 10px;
  padding: 11px 18px;
  width: 100%;
  background: #F6F9FB;
  outline: none;
  margin-bottom: 16px;
  transition: border 0.2s;
}
input[type='text']:focus, input[type='email']:focus, textarea:focus {
  border-color: #163650;
}
button, input[type="submit"] {
  background: #163650;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 11px;
  padding: 11px 24px;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.19s;
  margin-top: 10px;
}
button:hover, input[type="submit"]:hover, button:focus {
  background: #45AEB1;
  color: #fff;
  box-shadow: 0 3px 18px rgba(22,54,80,0.11);
}

/* ---------- COOKIE CONSENT BANNER ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  z-index: 1600;
  background: #163650;
  color: #fff;
  box-shadow: 0 -6px 48px rgba(22, 54, 80, 0.19);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 20px 30px;
  gap: 24px;
  border-radius: 20px 20px 0 0;
  opacity: 0.99;
  font-family: 'Open Sans', Arial, sans-serif;
}
.cookie-banner__text {
  font-size: 1rem;
  color: #fff;
  max-width: 540px;
  margin-right: 12px;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
}
.cookie-btn {
  background: #45AEB1;
  color: #fff;
  border: none;
  border-radius: 9px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  padding: 9px 18px;
  font-size: 1rem;
  margin-right: 7px;
  cursor: pointer;
  transition: background 0.19s, transform 0.15s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #fff;
  color: #163650;
  transform: translateY(-2px) scale(1.05);
}
.cookie-settings-btn {
  background: none;
  border: 2px solid #45AEB1;
  color: #45AEB1;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 1rem;
  transition: background 0.17s, color 0.17s;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #45AEB1;
  color: #fff;
}
section.docs * {
  color: white;
}
/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(22,54,80,0.73);
  z-index: 1650;
  opacity: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  transition: opacity 0.22s;
  display: none;
}
.cookie-banner.hidden {
  display: none;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
  display: flex;
}
.cookie-modal {
  width: 98vw;
  max-width: 420px;
  background: #fff;
  color: #163650;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 0 32px rgba(69,174,177,0.15);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 32px 26px 25px 26px;
  border: 3px solid #45AEB1;
  position: relative;
  transform: translateY(120px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s, transform 0.33s cubic-bezier(.62,0,.36,1);
}
.cookie-modal.open {
  pointer-events: all;
  opacity: 1;
  transform: translateY(0);
}
.cookie-modal h2 {
  color: #163650;
  font-size: 1.45rem;
  margin-bottom: 13px;
}
.cookie-modal .cookie-categories {
  width: 100%;
  margin: 12px 0 18px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 11px 0;
}
.cookie-category-label {
  font-weight: 700;
  font-size: 1rem;
  color: #163650;
  margin-right: 8px;
}
.cookie-toggle {
  appearance: none;
  width: 40px;
  height: 24px;
  background: #F3F4F9;
  border: 2px solid #45AEB1;
  border-radius: 15px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.2s, border 0.2s;
}
.cookie-toggle:checked {
  background: #45AEB1;
  border-color: #163650;
}
.cookie-toggle:before {
  content: '';
  display: block;
  position: absolute;
  height: 17px;
  width: 17px;
  left: 2px;
  top: 1.5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 7px rgba(22,54,80,0.10);
  transition: left 0.22s, background 0.19s;
}
.cookie-toggle:checked:before {
  left: 20px;
  background: #45AEB1;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  margin-top: 12px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 18px;
  background: none;
  border: none;
  color: #45AEB1;
  font-size: 1.7rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.19s;
}
.cookie-modal-close:focus, .cookie-modal-close:hover {
  color: #163650;
}

/* ---------- RESPONSIVE FLEXBOX & SPACING ---------- */
@media (max-width: 900px) {
  .main-navigation{gap: 14px;}
  .footer-navigation{gap: 17px;}
}
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding-left: 14px;
    padding-right: 14px;
  }
  .content-wrapper {
    padding: 0;
  }
  .content-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .testimonials-section,
  .text-image-section,
  .feature-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .section {
    padding: 24px 8px;
    margin-bottom: 38px;
  }
  .testimonial-card {
    max-width: 98vw;
    margin-right: 0;
    gap: 12px;
    padding: 14px;
  }
}
@media (max-width: 500px) {
  .section {
    padding: 10px 0;
    margin-bottom: 22px;
    border-radius: 8px;
  }
  h1 {
    font-size: 1.45rem;
    margin-bottom: 10px;
  }
  h2 {
    font-size: 1.1rem;
    margin-bottom: 7px;
  }
  .testimonial-card {
    min-width: 0;
    max-width: 99vw;
    padding: 7px;
    border-radius: 8px;
  }
  .cookie-modal {
    max-width: 96vw;
    border-radius: 8px 8px 0 0;
    padding: 18px 7px 12px 7px;
  }
  .cookie-banner__text {
    font-size: 0.97rem;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 7px 13px 7px;
    border-radius: 8px 8px 0 0;
  }
}

/* ---------- VISUAL EFFECTS, BOLDS & SHADOWS ---------- */
.card, .testimonial-card, .section {
  box-shadow: 0 4px 18px rgba(69,174,177,0.08);
}
.card:hover, .cta-button:hover, .testimonial-card:hover {
  box-shadow: 0 12px 24px rgba(22,54,80,0.13);
}
.card, .testimonial-card, .section, .cookie-banner, .cookie-modal {
  border-radius: 16px;
}

/* ---------- MICRO-INTERACTIONS ---------- */
.cta-button, .cookie-btn, .cookie-settings-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.19s, color 0.18s, box-shadow 0.15s, transform 0.13s;
}
.card, .testimonial-card {
  transition: box-shadow 0.17s, border-color 0.17s;
}
.mobile-nav a {
  transition: color 0.15s, background 0.19s;
}

/* Focus Outline for Accessibility */
:focus {
  outline: 2px solid #45AEB1 !important;
  outline-offset: 0px !important;
}

/* ---------- UTIL CLASSES & MISC ---------- */
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mt-40 { margin-top: 40px !important; }
.mb-40 { margin-bottom: 40px !important; }
.d-flex { display: flex !important; }
.jc-center { justify-content: center !important; }
.jc-between { justify-content: space-between !important; }
.ai-center { align-items: center !important; }
.ai-start { align-items: flex-start !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }
.text-bold { font-weight: 900 !important; }

/* ---------- Extra: Hide/Show Utility for Mobile Script ---------- */
.hide { display: none !important; }
.show { display: block !important; }

/* ============= END Luminar Build modern_bold CSS ============= */
