/* 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F5F7FA;
  color: #143047;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}

/* Import Google Fonts (Lato & Open Sans) */
@import url('https://fonts.googleapis.com/css?family=Lato:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

a {
  color: #143047;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #EFC936;
}

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

header {
  background: #fff;
  border-bottom: 1px solid #e8edf2;
  box-shadow: 0 2px 8px rgba(20,48,71,0.06);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  position: relative;
  gap: 24px;
}
header img {
  height: 42px;
  width: auto;
}
nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 8px 0;
  color: #143047;
  position: relative;
}
nav a:hover, nav a:focus {
  color: #EFC936;
}

.button-primary {
  background: #143047;
  color: #fff;
  padding: 12px 34px;
  border-radius: 28px;
  border: none;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.5px;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 6px rgba(20, 48, 71, 0.08);
  cursor: pointer;
  display: inline-block;
}
.button-primary:hover, .button-primary:focus {
  background: #254a68;
  box-shadow: 0 4px 16px rgba(20, 48, 71, 0.10);
  color: #fff;
}
.button-secondary {
  background: #fff;
  color: #143047;
  border: 2px solid #143047;
  padding: 10px 24px;
  border-radius: 24px;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.1em;
  transition: background .2s, color .2s, box-shadow .2s;
  cursor: pointer;
}
.button-secondary:hover, .button-secondary:focus {
  background: #EFC936;
  color: #143047;
  border-color: #EFC936;
}

main {
  flex: 1 0 auto;
  margin-top: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(20, 48, 71, 0.04);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(120deg, #143047 86%, #EFC936 130%);
  color: #fff;
  padding: 64px 0 48px 0;
}
.hero-section .content-wrapper {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  padding: 20px;
}
.hero-section h1 {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 2.8rem;
  line-height: 1.08;
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: -1px;
}
.hero-section p {
  font-size: 1.25rem;
  font-family: 'Open Sans', Arial, sans-serif;
  max-width: 600px;
}
.hero-section .button-primary {
  margin-top: 16px;
}

/* Content Sections */
.section, .content-wrapper, .text-section {
  background: #fff;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 0;
}
.text-section {
  padding-top: 18px;
  gap: 20px;
}

h1, h2, h3, h4 {
  font-family: 'Lato', Arial, sans-serif;
  color: #143047;
  line-height: 1.13;
}
h1 {
  font-size: 2.6rem;
  font-weight: 900;
  margin-bottom: 10px;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

p, ul, li, blockquote, cite {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #143047;
  font-size: 16px;
}
ul {
  list-style-type: disc;
  margin-left: 22px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
li {
  margin-bottom: 0;
}
strong {
  font-weight: 700;
  color: #143047;
}

/* Feature Grid & Cards */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  margin-top: 14px;
}
.features-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F5F7FA;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(20, 48, 71, 0.06);
  padding: 32px 24px;
  border: 1px solid #dde5eb;
  flex: 1 1 260px;
  min-width: 260px;
  max-width: 350px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.features-grid > div:hover {
  box-shadow: 0 4px 22px rgba(20, 48, 71, 0.12);
  transform: translateY(-4px) scale(1.02);
}
.features-grid img {
  height: 48px;
  width: 48px;
  object-fit: contain;
}
.features-grid h3 {
  margin-bottom: 8px;
}
.features-grid p {
  font-size: 15px;
  color: #37526a;
}

/* Card Containers */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  box-shadow: 0 1px 8px rgba(20,48,71,0.05);
  border-radius: 14px;
  margin-bottom: 20px;
  position: relative;
  padding: 24px 20px;
  transition: box-shadow .2s, transform .2s;
}
.card:hover {
  box-shadow: 0 3px 24px rgba(20,48,71,0.10);
  transform: translateY(-2px) scale(1.01);
}

.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 & Review Styles */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 32px 20px 28px;
  background: #f7fafc;
  color: #143047;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 1px 8px rgba(20,48,71,0.06);
  flex-direction: row;
  min-width: 0;
}
.testimonial-card blockquote {
  margin: 0;
  font-size: 1.1rem;
  color: #143047;
  font-style: italic;
  line-height: 1.6;
}
.testimonial-card cite {
  margin-left: 16px;
  font-size: 0.98rem;
  color: #254a68;
  font-style: normal;
  font-weight: 700;
}
.testimonial-highlight {
  background: #EFC936;
  color: #143047;
  padding: 28px 34px;
  border-radius: 16px;
  font-size: 1.15rem;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(20,48,71,0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-left: 8px solid #143047;
}
.testimonial-highlight blockquote {
  color: #143047;
  font-weight: 700;
}
.rating-summary {
  margin-top: 10px;
  padding: 14px 28px;
  background: #d7e3ef;
  border-radius: 14px;
  color: #143047;
  font-size: 1.08rem;
  font-weight: 700;
}

/* Contact Block */
.contact-block {
  background: #f6f8fb;
  border: 1px solid #dde5eb;
  border-radius: 14px;
  padding: 22px 24px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Footer Styles */
footer {
  background: #143047;
  color: #fff;
  padding: 46px 0 26px 0;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  box-shadow: 0 -2px 14px rgba(20,48,71, 0.04);
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 36px;
}
.footer-menu {
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: flex-end;
}
.footer-menu a {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}
.footer-menu a:hover {
  opacity: 1;
  color: #EFC936;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 360px;
  font-size: 0.98rem;
}
.footer-contact p {
  color: #d7e3ef;
}
.footer-contact a { color: #EFC936; word-break: break-all; }
.brand-tagline {
  margin-top: 11px;
  font-style: italic;
  font-size: 1.07rem;
  font-family: 'Lato', Arial, sans-serif;
  color: #EFC936;
}

/* Hamburger Mobile Menu */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 18px;
  right: 26px;
  z-index: 1500;
  background: transparent;
  color: #143047;
  border: none;
  font-size: 2.1rem;
  cursor: pointer;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  transition: background .2s, color .2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #e4ebf3;
  color: #143047;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: -6px 0 22px rgba(20,48,71,0.16);
  z-index: 2000;
  transform: translateX(100vw);
  transition: transform 0.34s cubic-bezier(0.51,0.09,0.52,0.87);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0;
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}
.mobile-menu-close {
  position: absolute;
  right: 22px;
  top: 18px;
  background: transparent;
  color: #143047;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10120;
  padding: 8px;
  transition: background .2s, color .2s;
  border-radius: 50%;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #e4ebf3;
  color: #EFC936;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  margin-top: 80px;
  padding: 38px 32px 0 42px;
}
.mobile-nav a {
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #143047;
  padding: 12px 0;
  border-bottom: 1px solid #e6eaf0;
  width: 100%;
  transition: background .17s, color .17s, padding-left .2s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #e9eefa;
  color: #EFC936;
  padding-left: 8px;
}

/* Cookie Consent Banner */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #143047;
  color: #fff;
  z-index: 1800;
  box-shadow: 0 -4px 24px rgba(20,48,71,0.13);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 25px 20px 22px 20px;
  flex-direction: row;
  gap: 30px;
  transition: transform .4s cubic-bezier(0.6,0,0.55,1), opacity .3s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-consent-banner.hide {
  transform: translateY(120px);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-banner p {
  color: #fff;
  font-size: 1rem;
  margin-right: 26px;
}
.cookie-consent-buttons {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-consent-banner .button-primary {
  padding: 10px 26px;
  font-size: 16px;
  background: #EFC936;
  color: #143047;
  font-weight: 700;
}
.cookie-consent-banner .button-primary:hover {
  background: #254a68;
  color: #fff;
}
.cookie-consent-banner .button-secondary {
  background: #fff;
  color: #143047;
  border: 2px solid #EFC936;
}
.cookie-consent-banner .button-secondary:hover {
  background: #EFC936;
  color: #143047;
}

/* Cookie Settings Modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2200;
  background: rgba(20, 48, 71, 0.47);
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  max-width: 440px;
  width: 95vw;
  padding: 38px 28px 28px 28px;
  box-shadow: 0 6px 36px rgba(20,48,71, 0.18);
  color: #143047;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  animation: modalIn .44s cubic-bezier(0.52,0.1,0.85,1);
}
@keyframes modalIn {
  0% {   opacity: 0; transform: scale(0.83) translateY(105px); }
  85% {  opacity: 0.95; transform: scale(1.01) translateY(-12px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h2 {
  margin-bottom: 8px;
  font-size: 1.4rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-bottom: 12px;
}
.cookie-category label {
  font-size: 1.06rem;
  flex: 1;
}
.cookie-category input[type=checkbox] {
  width: 22px;
  height: 22px;
  accent-color: #EFC936;
}
.cookie-category .always-on {
  color: #254a68;
  font-size: 0.96rem;
  font-weight: 600;
  margin-left: auto;
}
.cookie-modal-actions {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  margin-top: 20px;
}
.cookie-modal .button-primary,
.cookie-modal .button-secondary {
  font-size: 16px;
  padding: 9px 22px;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.65rem;
  color: #143047;
  cursor: pointer;
}
.cookie-modal-close:hover {
  color: #EFC936;
}

/* Spacing & Flex Patterns */
.section { margin-bottom: 60px; padding: 40px 20px; }
.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; }
.text-image-section { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.testimonial-card { display: flex; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* Miscellaneous */
::-webkit-input-placeholder { color: #b0bac7; }
::-moz-placeholder { color: #b0bac7; }
:-ms-input-placeholder { color: #b0bac7; }
::placeholder { color: #b0bac7; }

/* Responsive Styles */
@media (max-width: 1100px) {
  header .container { max-width: 98vw; }
  .footer-contact { max-width: 95vw; }
  .features-grid > div { min-width: 220px; }
}
@media (max-width: 900px) {
  footer .container { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer-menu { margin-bottom: 12px; }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    max-width: 98vw;
    min-width: 0;
    gap: 0;
    padding-right: 72px; /* for burger */
  }
  nav { display: none; }
  .button-primary { font-size: 17px; padding: 11px 20px; }
  .mobile-menu-toggle {
    display: flex;
  }
  .hero-section {
    padding: 44px 0 30px 0;
  }
  .content-wrapper {
    gap: 20px;
  }
  .section {
    padding: 28px 8px;
  }
  .features-grid {
    flex-direction: column;
    gap: 22px;
  }
  .features-grid > div {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 20px 14px;
  }
  .testimonial-card { flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px; }
  .testimonial-highlight { padding: 18px 18px 18px 20px; border-left: 5px solid #143047; font-size: 1.06rem; }
  .cookie-consent-banner { flex-direction: column; align-items: flex-start; gap: 18px; padding: 18px 10px; }
  .cookie-consent-banner p { margin-right: 0; font-size: 0.99rem; }
  .cookie-modal { padding: 18px 7vw 13px 7vw; gap: 13px; }
}
@media (max-width: 540px) {
  .footer-contact, .footer-menu {
    font-size: 0.95rem;
    gap: 10px;
    flex-direction: column;
  }
  .features-grid > div { padding: 15px 6px; font-size: 15px; }
  .hero-section h1 { font-size: 2.0rem; }
  h2 { font-size: 1.37rem; }
}
section {
  padding: 15px;
}