/* --- 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,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;
}
article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section {
  display: block;
}
body {
  line-height: 1.5;
  background: linear-gradient(120deg, #f5f7fa 0%, #e3ecf5 100%);
  color: #16354D;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: #4BA3C3;
  transition: color 0.25s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #16354D;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  text-align: left;
  padding: 12px 8px;
}
th {
  background: #4BA3C3;
  color: #fff;
  font-weight: 700;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 16px;
}
td {
  background: #fff;
  color: #16354D;
  font-size: 15px;
}
tr:not(:last-child) td {
  border-bottom: 1px solid #e3ecf5;
}

/* --- BRAND FONTS --- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: 0.01em;
  color: #16354D;
  font-weight: 700;
}
h1 {
  font-size: 32px;
  margin-bottom: 18px;
  line-height: 1.15;
}
h2 {
  font-size: 24px;
  margin-bottom: 16px;
  line-height: 1.16;
}
h3 {
  font-size: 18px;
  margin-bottom: 10px;
  line-height: 1.2;
}
h4, h5, h6 {
  font-size: 16px;
  margin-bottom: 8px;
}
p, ul, ol, li, span, label, small {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #16354D;
  font-size: 16px;
}
small { font-size: 14px; color: #4BA3C3; }

/* --- CONTAINER --- */
.container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* --- HEADER --- */
header {
  background: #16354D;
  color: #fff;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  box-shadow: 0 4px 20px -10px rgba(22,53,77,0.08);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo img {
  height: 38px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  color: #fff;
  font-size: 16px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  padding: 6px 8px;
  border-radius: 6px;
  transition: background 0.22s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #4BA3C3;
  color: #fff;
}
.button.button-primary {
  background: linear-gradient(90deg,#4Ba3c3 0%,#1B5781 100%);
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 16px;
  border: none;
  border-radius: 40px;
  padding: 12px 32px;
  box-shadow: 0 2px 16px -3px rgba(76,163,195,0.18);
  cursor: pointer;
  margin-left: 12px;
  transition: background 0.2s, box-shadow 0.23s, transform 0.18s;
  outline: none;
  display: inline-block;
  letter-spacing: 0.01em;
}
.button.button-primary:hover, .button.button-primary:focus {
  background: linear-gradient(90deg,#1B5781 0%,#4Ba3c3 100%);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 26px -8px rgba(76,163,195,0.24);
}
.button {
  background: #e3ecf5;
  color: #16354D;
  font-family: inherit;
  border-radius: 32px;
  padding: 10px 26px;
  font-size: 15px;
  border: none;
  box-shadow: 0 1px 8px -2px #c8dae8;
  cursor: pointer;
  outline: none;
  margin: 0 4px;
  transition: background 0.2s, color 0.18s, box-shadow 0.18s, transform 0.15s;
  letter-spacing: 0.01em;
}
.button:not(.button-primary):hover, .button:not(.button-primary):focus {
  background: #4BA3C3;
  color: #fff;
  transform: translateY(-1px);
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 30px;
  color: #4BA3C3;
  margin-left: 12px;
  cursor: pointer;
  transition: color 0.22s;
  z-index: 1002;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #4BA3C3;
}
.mobile-menu {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: #16354D;
  color: #fff;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.55,0,.2,1);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  box-shadow: 0 0 24px rgba(22,53,77,0.18);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 34px;
  align-self: flex-end;
  margin: 22px 22px 10px 0;
  cursor: pointer;
  transition: color 0.18s;
  z-index: 2001;
}
.mobile-menu-close:focus {
  outline: 2px solid #4BA3C3;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 32px;
}
.mobile-nav a {
  color: #fff;
  font-size: 20px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 3px;
  width: 100%;
  transition: background 0.18s, color 0.16s;
}
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #4BA3C3;
  color: #fff;
}

/* --- MAIN LAYOUT SECTIONS --- */
main {
  margin-top: 0;
  margin-bottom: 0;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (min-width: 900px) {
  .content-wrapper {
    gap: 28px;
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* CARD-CONTAINER & CARD --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 14px -5px rgba(76,163,195,0.13);
  margin-bottom: 20px;
  padding: 28px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.21s, transform 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px -10px #16354d33, 0 1.5px 7px -2px #4ba3c335;
  transform: translateY(-2px) scale(1.009);
}

/* --- VISUAL HIERARCHY --- */
.section > .container > h2 {
  margin-bottom: 30px;
}
.section .feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #f5f7fa;
  border-radius: 14px;
  padding: 22px 16px;
  margin-bottom: 18px;
  box-shadow: 0 2px 10px -4px rgba(76,163,195,0.09);
}

.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;
}

@media (max-width: 768px) {
  .content-grid, .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* --- TRUST BADGES --- */
.trust-badges {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 16px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

/* --- UL/LIST STYLE IN FEATURE BOXES --- */
section ul {
  list-style: none;
  margin-top: 10px;
  margin-bottom: 15px;
  padding: 0;
}
section ul li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  font-size: 16px;
  color: #16354D;
  margin-bottom: 10px;
}
section ul li img {
  width: 28px; height: 28px; min-width: 28px;
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  margin-bottom: 20px;
  background: #f5f7fa;
  border-radius: 16px;
  box-shadow: 0 2px 10px -4px #c7def355;
  color: #16354D;
  min-width: 0;
  transition: box-shadow 0.18s, transform 0.15s;
}
.testimonial-card p {
  font-size: 18px;
  color: #16354D;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  margin-bottom: 6px;
  line-height: 1.65;
}
.testimonial-card span {
  color: #4BA3C3;
  font-size: 15px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 26px -8px #4ba3c335;
  transform: scale(1.012);
}

/* --- FOOTER --- */
footer {
  background: #16354D;
  color: #fff;
  padding-top: 36px;
  padding-bottom: 28px;
  margin-top: 68px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: #4BA3C3;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 15px;
  margin-right: 14px;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-contact p {
  color: #e3ecf5;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.footer-cta {
  margin: 0 0 12px 0;
}
footer small {
  display: block;
  color: #f5f7fa;
  margin-top: 18px;
}

@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #16354D;
  color: #fff;
  box-shadow: 0 -2px 16px -5px #16354d4f;
  z-index: 4000;
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  animation: cookieIn 0.45s cubic-bezier(.45,0,.15,1);
}
@keyframes cookieIn {
  from { transform: translateY(140px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #fff;
  font-size: 16px;
  margin: 0 0 6px 0;
}
.cookie-banner-buttons {
  display: flex;
  gap: 18px;
}
.cookie-banner .button {
  font-size: 15px;
  border-radius: 28px;
  transition: background 0.2s, color 0.15s, box-shadow 0.18s;
  border: none;
  box-shadow: 0 1px 6px -3px #4ba3c350;
}
.cookie-banner .button-primary {
  background: #4BA3C3;
  color: #fff;
}
.cookie-banner .button-primary:hover { background: #2e7e99; }
.cookie-banner .button-settings { background: #fff; color: #16354D; }
.cookie-banner .button-settings:hover { background: #e3ecf5; color: #16354D; }

/* --- COOKIE MODAL --- */
.cookie-modal-overlay {
  position: fixed; z-index: 4100;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(16,39,56,0.72);
  display: flex; align-items: center; justify-content: center;
  animation: modalFadeIn 0.25s cubic-bezier(.4,0,.2,1);
}
@keyframes modalFadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #16354D;
  border-radius: 18px;
  box-shadow: 0 6px 32px 0 #4ba3c340;
  max-width: 430px;
  width: 92vw;
  padding: 30px 22px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: modalIn 0.18s cubic-bezier(.7,0,.15,1);
}
@keyframes modalIn {
  from { transform: scale(0.96); opacity: 0; } to { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 20px;
  margin-bottom: 6px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-toggle {
  width: 36px; height: 22px;
  appearance: none;
  background: #e3ecf5;
  border-radius: 22px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.22s;
}
.cookie-toggle:checked {
  background: #4BA3C3;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  top: 2px; left: 3px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.22s;
}
.cookie-toggle:checked:before {
  transform: translateX(14px);
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 6px;
}
.cookie-modal .button {
  min-width: 100px;
  border-radius: 22px;
  font-size: 15px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 18px;
  background: none;
  border: none;
  font-size: 27px;
  color: #4BA3C3;
  cursor: pointer;
}
.cookie-modal-close:focus {
  outline: 2px solid #4BA3C3;
}

/* --- TABLES --- */
table {
  margin-bottom: 16px;
  border-radius: 10px;
  overflow: hidden; /* for consistency */
  box-shadow: 0 3px 14px -7px #4ba3c328;
}
@media (max-width: 650px) {
  th,
  td {
    font-size: 14px;
    padding: 10px 4px;
  }
}

/* --- RESPONSIVE --- */
@media (max-width: 1100px) {
  .container { max-width: 97vw; }
  .main-nav { gap: 18px; }
}
@media (max-width: 900px) {
  header .container { flex-wrap: wrap; gap: 10px; }
}

@media (max-width: 820px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .button.button-primary { margin-left: auto; margin-right: 8px; }
}
@media (max-width: 600px) {
  h1 { font-size: 22px; }
  h2 { font-size: 19px; }
  h3 { font-size: 15.5px; }
  section { padding: 28px 7px; }
  .container { padding-left: 7px; padding-right: 7px; }
  .testimonial-card { padding: 14px 8px; }
}

/* --- UTILITIES & INTERACTION --- */
::-webkit-scrollbar {
  width: 8px;
  background: #e3ecf5;
}
::-webkit-scrollbar-thumb {
  background: #c8dae8;
  border-radius: 8px;
}
[tabindex]:focus, button:focus, input:focus, select:focus, textarea:focus {
  outline: 2px solid #4BA3C3;
  outline-offset: 2px;
}

/* --- MICROINTERACTIONS --- */
.button, .card, .testimonial-card, th, .mobile-menu-toggle, .mobile-menu-close {
  transition: box-shadow 0.18s, background 0.18s, color 0.2s, transform 0.14s;
}

/* --- VISUAL EFFECTS --- */
.card, .testimonial-card, .feature-item {
  background: #fff;
  border-radius: 15px;
}
.card {
  border: 1px solid #e3ecf5;
  box-shadow: 0 2px 17px -7px #c7def339;
}
.feature-item {
  border: 1px solid #e3ecf5;
  background: #f5f7fa;
  box-shadow: 0 2px 12px -7px #c7def339;
}

/* --- MISC: SECTION SPACING --- */
.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; }

/* --- ACCESSIBILITY: HIGH CONTRAST IN REVIEWS --- */
.testimonial-card, .testimonial-card p, .testimonial-card span {
  color: #16354D;
  background-color: #f5f7fa;
}
.testimonial-card strong { color: #16354D; }

/* --- MINIMUM SPACING BETWEEN CARDS --- */
.card, .testimonial-card, .feature-item {
  margin-bottom: 20px;
}
.content-wrapper > *:not(:last-child) {
  margin-bottom: 20px;
}

/* --- FORM ELEMENTS (for Possible Contact Forms) --- */
input, textarea, select {
  font-family: inherit;
  border: 1px solid #c8dae8;
  border-radius: 9px;
  padding: 12px;
  font-size: 16px;
  width: 100%;
  margin-bottom: 18px;
  background: #f5f7fa;
  transition: border-color 0.2s;
}
input:focus, textarea:focus, select:focus {
  border-color: #4BA3C3;
}

/* --- Z-INDEX --- */
header { z-index: 101; position: relative; }
footer { z-index: 100; position: relative; }

/* --- HIDE MOBILE MENU WHEN NOT OPEN --- */
.mobile-menu { display: flex; }
@media (min-width: 821px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* END OF CSS */
