/* 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,
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: 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.5;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #fff;
  color: #1a2233;
  min-height: 100vh;
  font-size: 16px;
}
a {
  color: #224280;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #FFD700;
  outline: none;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
ul, ol {
  padding-left: 1.3em;
  margin-bottom: 1em;
}
li + li {
  margin-top: 8px;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}
th, td {
  padding: 12px 8px;
  text-align: left;
  border-bottom: 1px solid #eee;
}
th {
  background: #f7f7f7;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* BRAND TYPOGRAPHY */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #224280;
  margin-bottom: 20px;
  line-height: 1.15;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #224280;
  margin-bottom: 18px;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #224280;
  margin-bottom: 12px;
}
h4, .h4 {
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
p, li, td, th {
  font-size: 1rem;
  color: #222a37;
  font-family: 'Open Sans', Arial, sans-serif;
}
strong {
  font-weight: 700;
  color: #224280;
}
small {
  font-size: 0.875rem;
  color: #656e81;
}

/* CONTAINER & SECTIONS (Spacing rules) */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  align-items: flex-start;
}
.text-section {
  flex: 1 1 320px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(34, 66, 128, 0.04);
  padding: 32px 24px;
  transition: box-shadow .18s;
  min-width: 260px;
}
.card:hover, .card:focus {
  box-shadow: 0 6px 32px rgba(34,66,128,.12);
  z-index: 2;
}
.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: #f7f7f7;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(34, 66, 128, 0.06);
  margin-bottom: 20px;
  max-width: 480px;
  flex: 1 1 320px;
  transition: box-shadow .16s, background .18s;
}
.testimonial-card span {
  color: #FFD700;
  font-size: 1.25rem;
  letter-spacing: 1px;
  font-weight: 700;
}
.testimonial-card strong {
  color: #224280;
  font-weight: 600;
}
.testimonial-card p {
  color: #1a2233;
  font-size: 1.08rem;
  font-style: italic;
  line-height: 1.55;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* HEADER */
header {
  background: #fff;
  border-bottom: 1px solid #f2f2f2;
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}
header nav {
  display: flex;
  gap: 24px;
}
header nav a {
  padding: 8px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #224280;
  font-weight: 500;
  border-radius: 4px;
  transition: background .18s, color .18s;
}
header nav a:hover, header nav a:focus {
  background: #f7f7f7;
  color: #FFD700;
}
.cta-btn {
  display: inline-block;
  background: #224280;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 32px;
  padding: 12px 32px;
  margin-left: 24px;
  transition: background .18s, box-shadow .18s, color .18s;
  border: none;
  cursor: pointer;
  font-size: 1.08rem;
  box-shadow: 0 2px 8px rgba(34,66,128,0.04);
  letter-spacing: .03em;
}
.cta-btn:hover, .cta-btn:focus {
  background: #FFD700;
  color: #224280;
  box-shadow: 0 4px 16px rgba(34,66,128,0.10);
  outline: none;
}

/* HAMBURGER MENU (mobile-menu) */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #224280;
  line-height: 1;
  cursor: pointer;
  padding: 6px 14px 6px 0;
  z-index: 21;
  transition: color .18s;
}
.mobile-menu-toggle:focus {
  color: #FFD700;
  outline: none;
}
.mobile-menu {
  position: fixed;
  z-index: 100;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34,66,128,0.97);
  transform: translateX(-100%);
  transition: transform .35s cubic-bezier(.77,.2,.05,1); 
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: flex-start;
  padding-top: 32px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  position: absolute;
  top: 18px;
  right: 28px;
  z-index: 110;
  cursor: pointer;
  transition: color .2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #FFD700;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 48px;
  margin-left: 32px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 0;
  border-radius: 6px;
  font-weight: 500;
  transition: background .16s, color .18s;
  min-width: 140px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFD700;
  color: #224280;
}

/* HERO, CTA SECTIONS, CARDS & FEATURES */
section {
  margin-bottom: 60px;
  padding: 40px 0;
  background: transparent;
}
section:nth-child(even) {
  background: #f7f7f7;
}
.card {
  border: 1px solid #e8eaeF;
}
.content-wrapper > div, .content-wrapper > ul {
  margin-bottom: 0;
}
.content-wrapper > * + * {
  margin-left: 0;
}
ul li img {
  height: 40px;
  width: 40px;
  object-fit: contain;
  margin-bottom: 8px;
}

/* TABLE */
table {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(34,66,128,0.03);
  margin-bottom: 32px;
  overflow: hidden;
}
th, td {
  font-size: 1rem;
  border-bottom: 1px solid #eee;
  color: #224280;
}
th {
  background: #f7f7f7;
  font-weight: 600;
}
thead tr {
  border-radius: 8px 8px 0 0;
}
tr:last-child td {
  border-bottom: none;
}

/* FOOTER */
footer {
  background: #fff;
  border-top: 1px solid #f2f2f2;
  margin-top: 64px;
  padding: 32px 0 16px;
  transition: background .2s;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: #224280;
  font-size: 0.95rem;
  border-radius: 4px;
  padding: 3px 0;
  transition: background .16s, color .18s;
}
footer nav a:hover, footer nav a:focus {
  background: #FFD700;
  color: #224280;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: #224280;
  box-shadow: 0 -2px 20px rgba(34,66,128,0.13);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  z-index: 3000;
  font-size: 1rem;
  min-height: 60px;
  justify-content: center;
  animation: cookie-fadein .5s cubic-bezier(.8,0,.4,1);
}
@keyframes cookie-fadein {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
}
.cookie-btn {
  padding: 10px 28px;
  background: #224280;
  color: #fff;
  border: none;
  border-radius: 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  cursor: pointer;
  margin-right: 4px;
  transition: background .18s, color .18s, box-shadow .12s;
}
.cookie-btn.accept {
  background: #224280;
  color: #fff;
}
.cookie-btn.reject {
  background: transparent;
  color: #224280;
  border: 1.5px solid #224280;
}
.cookie-btn.settings {
  background: #FFD700;
  color: #224280;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #FFD700;
  color: #224280;
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(34,66,128,0.2);
  z-index: 4000;
  animation: modal-fadein .2s;
}
@keyframes modal-fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(0.98);
  background: #fff;
  color: #1a2233;
  z-index: 4100;
  width: 92vw;
  max-width: 420px;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(34,66,128,.12);
  padding: 32px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modal-zoom .33s cubic-bezier(.7,.1,.39,.95);
}
@keyframes modal-zoom {
  from { opacity: 0; transform: translate(-50%,-50%) scale(0.92); }
  to { opacity: 1; transform: translate(-50%,-50%) scale(1); }
}
.cookie-modal-header {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: #224280;
  margin-bottom: 0;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 8px;
  font-size: 1.08rem;
}
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #e4e8ef;
  border-radius: 20px;
  transition: background .18s;
}
.cookie-switch input:checked + .cookie-slider {
  background: #224280;
}
.cookie-slider:before {
  content: '';
  position: absolute;
  height: 16px; width: 16px;
  left: 3px; bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s;
  box-shadow: 0 0 4px rgba(34,66,128,0.07);
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(18px);
}
.cookie-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 16px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1150px) {
  .container {
    max-width: 98vw;
  }
}

@media (max-width: 980px) {
  header .container {
    flex-direction: column;
    gap: 14px;
    min-height: 92px;
    align-items: stretch;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  .content-wrapper {
    flex-direction: column;
    gap: 28px;
  }
}

@media (max-width: 820px) {
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.35rem; }
}

@media (max-width: 768px) {
  .content-wrapper,
  .card-container,
  .content-grid,
  .text-image-section {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 22px;
  }
  .section {
    padding: 30px 8px;
    margin-bottom: 38px;
  }
  .card {
    padding: 22px 14px;
    min-width: 180px;
  }
  .testimonial-card {
    min-width: 140px;
    padding: 16px 10px;
  }
  .cta-btn {
    padding: 10px 22px;
    font-size: 0.98rem;
    margin-left: 0;
  }
  header .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    min-height: 60px;
    padding-left: 10px;
    padding-right: 10px;
  }
  header nav {
    display: none; /* Hide main nav for mobile */
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (max-width: 600px) {
  h1, .h1 { font-size: 1.45rem; }
  h2, .h2 { font-size: 1.13rem; }
  .container { padding-left: 7px; padding-right: 7px; }
  .section { padding: 20px 3px; }
}

/* MISC UTILS */
::-webkit-input-placeholder { color: #aaa; opacity: 1; }
::-moz-placeholder { color: #aaa; opacity: 1; }
:-ms-input-placeholder { color: #aaa; opacity: 1; }
::placeholder { color: #aaa; opacity: 1; }

/* MICRO-INTERACTIONS */
.cta-btn, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close, header nav a, .mobile-nav a, footer nav a {
  transition: background .18s, color .18s, box-shadow .14s, outline .14s;
}
.card, .testimonial-card {
  transition: box-shadow .18s, background .16s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(34,66,128,0.11);
}

/* ACCESSIBILITY, FOCUS */
a:focus-visible, .cta-btn:focus-visible, .cookie-btn:focus-visible, .mobile-menu-toggle:focus-visible, .mobile-menu-close:focus-visible {
  outline: 2px solid #FFD700;
  outline-offset: 2px;
}

/* Hide elements visually but accessible for screen-readers */
.sr-only {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

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