/* ==== 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, 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 {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #fff;
}
body {
  background: #fff;
  color: #222;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  position: relative;
}
*::selection {
  background: #1a3a5d;
  color: #fff;
}

/* ==== TYPOGRAPHY ==== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #1a1a1a;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.375rem; /* 38px */
  margin-bottom: 20px;
}
h2 {
  font-size: 1.75rem; /* 28px */
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
h4, h5, h6 {
  font-size: 1.12rem;
}
p, ul, ol {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-bottom: 16px;
}
a {
  color: #1a3a5d;
  transition: color 0.2s cubic-bezier(.55,0,.1,1);
  text-decoration: none;
}
a:hover,
a:focus {
  color: #217665;
  text-decoration: underline;
}
.subheadline,
.introduction,
.mission {
  font-size: 1.125rem;
  color: #555;
  margin-bottom: 24px;
}

/* ==== LAYOUT & CONTAINERS ==== */
.container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #f7f7f8;
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(50,58,69,.08);
}
.hero {
  background: #fff;
  border-bottom: 1px solid #ececec;
  margin-bottom: 40px;
  min-height: 320px;
}
.hero .container {
  align-items: center;
  justify-content: center;
  min-height: 280px;
}
.hero h1 {
  color: #111;
  margin-bottom: 18px;
}
.cta-section {
  background: #1a3a5d;
  color: #fff;
  border-radius: 24px;
  margin-bottom: 0 !important;
}
.cta-section .button,
.cta-section a.button.primary {
  margin-top: 14px;
  background: #fff;
  color: #1a3a5d;
  border: none;
}
.cta-section .button:hover {
  background: #217665;
  color: #fff;
}

/* ==== HEADER ==== */
header {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(20,20,20,.06);
  position: relative;
  z-index: 40;
}
header > .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 18px;
  padding-bottom: 18px;
}
header img {
  height: 44px;
  width: auto;
}
header nav {
  display: flex;
  gap: 20px;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #222;
  font-weight: 500;
  line-height: 1;
  padding: 4px 10px;
  position: relative;
  transition: color 0.2s;
}
header nav a:hover, header nav a:focus {
  color: #217665;
}
header .button.primary {
  font-size: 1rem;
  padding: 10px 22px;
  border-radius: 32px;
  background: #1a3a5d;
  color: #fff;
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-left: 12px;
  box-shadow: 0 1px 3px 0 rgba(0,0,0,.04);
  transition: background 0.2s;
}
header .button.primary:hover,
header .button.primary:focus {
  background: #217665;
  color: #fff;
}
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  color: #1a3a5d;
  display: none;
  align-items: center;
  cursor: pointer;
  margin-right: 8px;
  z-index: 120;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #217665;
}

/* ==== MOBILE MENU ==== */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(20, 30, 40, 0.98);
  box-shadow: 0 12px 32px 0 rgba(20,30,40,0.22);
  z-index: 200;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.56,0,.21,1);
  padding: 38px 22px 22px 22px;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
  transition: transform 0.38s cubic-bezier(.56,0,.21,1), opacity 0.32s;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.4rem;
  color: #fff;
  cursor: pointer;
  margin-bottom: 8px;
  margin-right: 2px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.24rem;
  color: #f7f7f7;
  padding: 12px 0 12px 2px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #1a3a5d;
  color: #fff;
}

/* ==== MAIN ==== */
main {
  flex: 1 0 auto;
  margin-bottom: 40px;
}

/* ==== FLEXBOX SPACING & PATTERNS ==== */
.feature-grid, .card-container, .content-grid, .articles .article-list, .faq-list, .trust-points, .benefit-points {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 24px 0 rgba(25,38,56,.07);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 38px 0 rgba(25,40,65,.12);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: #f7f7f8;
  border-radius: 14px;
  box-shadow: 0 2px 8px 0 rgba(25,38,56,.06);
  margin-bottom: 20px;
  flex: 1 1 330px;
  min-width: 280px;
  transition: box-shadow 0.2s;
}
.testimonial-card p {
  color: #181a1a;
  font-size: 1.09rem;
  font-weight: 500;
}
.testimonial-card span {
  margin-left: auto;
  font-size: 0.99rem;
  color: #1a3a5d;
  font-weight: 700;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* CRITICAL FLEX LAYOUTS: NO GRID/COLUMN */
.step-list, .faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}
.timeline-visual {
  margin-top: 12px;
  padding-left: 5px;
  font-style: italic;
  color: #222;
}
.articles .article-list {
  list-style: none;
}
.articles .article-list li {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px 0 rgba(25,38,56,.07);
  padding: 24px 22px;
  margin-bottom: 20px;
  flex: 1 1 320px;
}

/* ==== LISTS & BADGES ==== */
ul, ol {
  padding-left: 28px;
  margin-bottom: 20px;
}
ul.feature-list, ul.feature-grid, ul.trust-badges, ul.trust-points, ul.benefit-points {
  list-style: none;
  padding-left: 0;
}
ul.feature-grid li, ul.feature-list li {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(20,30,39,.06);
  padding: 24px 20px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 230px;
  flex: 1 1 280px;
  gap: 12px;
  transition: box-shadow 0.18s, transform 0.18s;
}
ul.feature-grid li:hover, ul.feature-list li:hover {
  box-shadow: 0 8px 32px 0 rgba(34,34,44,.11);
  transform: translateY(-2px) scale(1.01);
}
.trust-badges {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-bottom: 10px;
}
.trust-badges li {
  background: #1a3a5d;
  color: #fff;
  border-radius: 30px;
  font-size: 1.05rem;
  padding: 8px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: .01em;
}
.trust-points, .benefit-points {
  list-style: disc inside none;
  color: #2c2c2c;
  font-size: 1.08rem;
  padding-left: 22px;
  gap: 8px;
}
.benefit-points li {
  padding-left: 0;
  margin-top: 0;
  margin-bottom: 6px;
}

/* ==== ICON LIST ==== */
.icon-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}
.icon-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}
.icon-list img {
  width: 22px;
  height: 22px;
  display: inline-block;
}

/* ==== BUTTONS ==== */
.button, a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 32px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border-radius: 32px;
  border: none;
  background: #1a3a5d;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 2px 8px 0 rgba(25,38,56,.06);
  transition: background 0.19s, color 0.19s, box-shadow 0.14s, border 0.16s;
}
.button.primary {
  background: #1a3a5d;  
  color: #fff;
}
.button.primary:hover, .button.primary:focus {
  background: #217665;
  color: #fff;
  box-shadow: 0 4px 18px 0 rgba(33,118,101,.13);
}
.button.secondary, a.button.secondary {
  background: #fff;
  color: #1a3a5d;
  border: 1px solid #1a3a5d;
  box-shadow: none;
}
.button.secondary:hover, .button.secondary:focus {
  background: #1a3a5d;
  color: #fff;
  box-shadow: 0 2px 10px 0 rgba(33,118,101,.09);
}
.button:active {
  filter: brightness(0.95);
}

/* ==== FOOTER ==== */
footer {
  background: #22242b;
  color: #f7f7fa;
  padding: 38px 0 18px 0;
  border-top: 1px solid #ececec;
  font-size: 0.97rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
footer img {
  height: 34px;
  margin-bottom: 10px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
footer nav a {
  color: #e5f0fa;
}
footer nav a:hover {
  color: #44a08d;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #e5f0fa;
  font-size: 0.94rem;
  margin-top: 10px;
}

/* ==== SPECIAL COMPONENTS ==== */
.values {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-bottom: 14px;
  list-style: none;
}
.values li {
  background: #fff;
  border: 1.5px solid #1a3a5d;
  color: #1a3a5d;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
  font-weight: 500;
  padding: 7px 19px;
}
.team-profile-short {
  background: #f7f7f8;
  border-radius: 14px;
  padding: 19px 18px;
  margin-top: 18px;
}
.legal-text {
  background: #fafbfc;
  border-radius: 12px;
  padding: 26px 22px;
  box-shadow: 0 1px 4px 0 rgba(12,20,24,.05);
  margin-bottom: 16px;
}

/* === MISCELLANEOUS === */
.thankyou {
  text-align: center;
  padding: 48px 0;
}
.thankyou .button {
  margin-top: 24px;
}

/* === FAQ === */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}
.faq-item {
  background: #f7f7f8;
  border-radius: 10px;
  padding: 19px 18px;
  box-shadow: 0 1px 4px 0 rgba(12,20,24,.05);
}
.faq-item h3 {
  color: #1a3a5d;
  font-size: 1.13rem;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1100px) {
  .container {
    max-width: 96vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  .footer .container {
    max-width: 99vw;
  }
}
@media (max-width: 900px) {
  header > .container {
    gap: 14px;
  }
  .content-wrapper {
    gap: 15px;
  }
  .trust-badges {
    gap: 10px;
  }
}
@media (max-width: 768px) {
  header > .container {
    flex-direction: row;
    gap: 10px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .section,
  .content-wrapper {
    padding: 24px 6px;
  }
  .feature-grid, .card-container, .content-grid, .articles .article-list, .faq-list, .trust-points, .benefit-points {
    gap: 12px;
  }
  .card {
    padding: 18px 10px;
  }
  .values, .trust-badges {
    flex-direction: column;
    gap: 10px;
  }
  .text-image-section,
  .testimonial-list {
    flex-direction: column;
    gap: 16px;
  }
  .team-profile-short {
    padding: 14px 7px;
  }
  footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}
@media (max-width: 510px) {
  body {
    font-size: 15px;
  }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.15rem; }
  p, .subheadline, .introduction { font-size: 1rem; }
  .button, a.button { font-size: 0.93rem; padding: 8px 17px; }
  .card, .articles .article-list li { padding: 12px 2vw; }
}

/* ==== ANIMATIONS ==== */
.button, a.button, .card, .testimonial-card {
  transition: box-shadow 0.22s, background 0.16s, color 0.19s, transform 0.19s;
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -2px 18px 0 rgba(34,34,44,0.10);
  color: #161616;
  padding: 20px 14px 20px 14px;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 1rem;
  border-radius: 10px 10px 0 0;
  animation: banner-fadein 0.42s cubic-bezier(.73,0,.3,1);
}
@keyframes banner-fadein {
  from { opacity: 0; transform: translateY(48px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-consent-banner p {
  margin: 0 12px 0 0;
  flex: 1 1 auto;
  color: #161616;
}
.cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}
.cookie-actions .button {
  min-width: 120px;
  padding: 8px 22px;
  border-radius: 22px;
  font-size: 1rem;
}
.cookie-actions .button.accept {
  background: #1a3a5d;
  color: #fff;
}
.cookie-actions .button.accept:hover { background: #217665; }
.cookie-actions .button.reject {
  background: #fff;
  color: #1a3a5d;
  border: 1.5px solid #1a3a5d;
}
.cookie-actions .button.reject:hover { background: #fafafa; }
.cookie-actions .button.settings {
  background: #f7f7f8;
  color: #333;
  border: 1.5px solid #1a3a5d;
}
.cookie-actions .button.settings:hover {
  background: #e5f0fa;
  color: #1a3a5d;
}

/* ==== COOKIE PREFERENCES MODAL ==== */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -60%);
  min-width: 320px;
  max-width: 98vw;
  background: #fff;
  z-index: 600;
  border-radius: 17px;
  box-shadow: 0 22px 84px 0 rgba(20,34,44,0.26);
  display: flex;
  flex-direction: column;
  padding: 30px 24px 22px 24px;
  animation: modal-pop 0.36s cubic-bezier(.65,0,.28,1);
}
@keyframes modal-pop {
  from { opacity: 0; transform: translate(-50%, -90%) scale(.8); }
  to   { opacity: 1; transform: translate(-50%, -60%) scale(1); }
}
.cookie-modal h2 {
  margin-bottom: 8px;
  color: #1a3a5d;
}
.cookie-modal .cookie-modal-desc {
  color: #191c1c;
  font-size: 1rem;
  margin-bottom: 14px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-category label {
  color: #111;
  font-size: 1.01rem;
  font-weight: 500;
}
.cookie-category input[type="checkbox"] {
  accent-color: #1a3a5d;
  width: 21px;
  height: 21px;
  margin-right: 4px;
}
.cookie-modal .category-desc {
  font-size: 0.96rem;
  color: #666;
  margin-left: 36px;
  margin-top: 2px;
  margin-bottom: 0;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 12px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-actions .button {
  padding: 8px 22px;
  border-radius: 22px;
  font-size: 1rem;
}
@media (max-width: 480px) {
  .cookie-modal {
    padding: 13px 2vw 10px 2vw;
    min-width: unset;
  }
}

/* ==== Z-INDEX layering for menus and modals ==== */
header, .mobile-menu, .cookie-consent-banner, .cookie-modal {
  z-index: 200;
}
.cookie-consent-banner { z-index: 500; }
.cookie-modal { z-index: 600; }

/* ==== UTILITY CLASSES ==== */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.center-text, .text-center { text-align: center; }
.text-right { text-align: right; }
.nowrap { white-space: nowrap; }
.dark { color: #1a3a5d; }

/* ==== HIDE UTILITIES ==== */
[hidden] { display: none !important; }

/* ==== ACCESSIBILITY ==== */
a:focus-visible, button:focus-visible {
  outline: 2px dotted #44a08d;
  outline-offset: 2px;
}

/* ==== END OF STYLE.CSS ==== */
