/* CSS RESET & BASE TYPOGRAPHY */
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 {
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #222;
  background: #F6F7F9;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: #20487A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #5ED6C0;
  outline: none;
}
button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}

/* BRAND FONTS */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #20487A;
  font-weight: 700;
  line-height: 1.2;
}
h1 { font-size: 2.1rem; margin-bottom: 20px; }
h2 { font-size: 1.75rem; margin-bottom: 16px; }
h3 { font-size: 1.2rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1.05rem; margin-bottom: 8px; }

p, li, table, th, td, span {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #222;
}

strong { font-weight: 700; color: #20487A; }

/* CONTAINER & LAYOUT */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

/* SPACING & SECTION PATTERNS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 18px rgba(32,72,122,0.03);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 10px rgba(32,72,122,0.05);
  margin-bottom: 20px;
  padding: 28px 22px;
  min-width: 300px;
  max-width: 100%;
  flex: 1 1 300px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 4px 30px rgba(32,72,122,0.13);
}
.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;
  background: #F6F7F9;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(32,72,122,0.05);
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 600px;
}
.testimonial-card p {
  font-size: 1.08rem;
  color: #20487A;
  margin-bottom: 0;
  flex: 1 1 auto;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: #616C7A;
  font-family: 'Montserrat', Arial, sans-serif;
  flex: none;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* BUTTONS */
.btn-primary {
  background: #20487A;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
  padding: 13px 28px;
  border-radius: 24px;
  box-shadow: 0 1px 4px rgba(32,72,122,0.1);
  transition: background 0.19s, box-shadow 0.19s, color 0.16s;
  border: none;
  display: inline-block;
  margin-top: 10px;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #5ED6C0;
  color: #20487A;
  box-shadow: 0 6px 26px rgba(32,72,122,0.07);
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(32,72,122,0.07);
  position: sticky;
  top: 0;
  z-index: 110;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  gap: 24px;
  height: 70px;
}
header nav {
  display: flex;
  gap: 16px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #20487A;
  padding: 8px 12px;
  font-weight: 500;
  border-radius: 7px;
  transition: background 0.18s, color 0.16s;
}
header nav a:hover,
header nav a:focus {
  background: #5ED6C0;
  color: #20487A;
}
header img {
  height: 35px;
  width: auto;
}
header .btn-primary {
  margin-top: 0;
  margin-left: 18px;
}
header .mobile-menu-toggle {
  display: none;
  background: #20487A;
  color: #fff;
  border-radius: 8px;
  font-size: 2.1rem;
  padding: 2px 16px 4px 16px;
  margin-left: 10px;
}

/* MOBILE BURGER MENU */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(32,72,122, 0.97);
  z-index: 9999;
  transition: transform 0.32s cubic-bezier(.77,.2,.05,1.0);
  will-change: transform;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}
.mobile-menu.active {
  display: flex;
  animation: mobileSlideIn 0.33s cubic-bezier(.77,.2,.05,1.0);
}
@keyframes mobileSlideIn {
  0% { transform: translateX(100%); }
  100% { transform: translateX(0); }
}
.mobile-menu-close {
  color: #fff;
  background: transparent;
  border: none;
  font-size: 2.2rem;
  margin: 20px 0 0 20px;
  align-self: flex-start;
  z-index: 10001;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 44px 0 0 36px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 8px 0;
  border-radius: 4px;
  transition: color 0.16s, background 0.16s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #5ED6C0;
  color: #20487A;
}

/* FOOTER */
footer {
  background: #20487A;
  padding: 40px 0 0 0;
  color: #F6F7F9;
}
footer .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 100px;
  padding-bottom: 28px;
}
footer img {
  height: 38px;
  margin-bottom: 15px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: #F6F7F9;
  font-size: 0.98rem;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.16s;
  margin-bottom: 2px;
  border-radius: 5px;
  padding: 2px 6px;
}
footer nav a:hover,
footer nav a:focus {
  color: #5ED6C0;
  background: #fff;
}
.footer-contact {
  font-size: 0.95rem;
  color: #e3ecef;
  font-family: 'Roboto', Arial, sans-serif;
  margin-top: 6px;
  line-height: 1.6;
}

/* CUSTOM COMPONENTS & PAGE SECTIONS */
ul li, ol li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #222;
}
ul li img, ol li img {
  height: 22px;
  width: 22px;
  flex-shrink: 0;
}

/* Blog/Advice Articles */
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.blog-list article {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 8px rgba(32,72,122,0.06);
  padding: 26px 22px 22px 22px;
  width: 300px;
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: flex-start;
  transition: box-shadow 0.18s;
}
.blog-list article:hover {
  box-shadow: 0 6px 26px rgba(32,72,122,0.10);
}
.blog-list article h3 {
  color: #20487A;
  font-size: 1.14rem;
}
.blog-list article a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #5ED6C0;
  font-weight: 500;
  margin-top: auto;
  align-self: flex-start;
}
.blog-list article a:hover {
  color: #20487A;
}

.category-filters {
  font-size: 1rem;
  margin-top: 12px;
}
.category-filters a {
  color: #20487A;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.12s, color 0.15s;
}
.category-filters a:hover,
.category-filters a:focus {
  background: #5ED6C0;
  color: #fff;
}

/* PRICING TABLE */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 1rem;
}
thead tr {
  background: #E5EFF4;
}
th, td {
  padding: 13px 18px;
  border: 1px solid #e1e5eb;
  text-align: left;
}
th {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #20487A;
  font-weight: 700;
  background: #E5EFF4;
}
tbody tr:nth-child(even) {
  background: #f7fafb;
}
tbody tr:hover {
  background: #d0f5ed4f;
}

/* CORE SECTION OVERLAPS */
main {
  display: flex;
  flex-direction: column;
  gap: 30px;
  min-height: 65vh;
  padding-top: 10px;
  padding-bottom: 70px;
}
section {
  margin-bottom: 32px;
  padding-top: 5px;
  padding-bottom: 5px;
}

/* MICRO-INTERACTIONS: SHADOWS, HOVERS, TRANSITIONS */
.card, .blog-list article, .testimonial-card, .btn-primary, .feature-item {
  transition: box-shadow 0.19s, background 0.19s, color 0.16s;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 6px 16px rgba(32,72,122,0.09);
  background: #e9f3f2;
}

/* RESPONSIVENESS (MOBILE FIRST) */
@media (max-width: 1024px) {
  .container { max-width: 98%; }
}
@media (max-width: 900px) {
  .card, .blog-list article {
    width: 100%;
    flex: 1 1 100%;
  }
  .container {
    padding: 0 6px;
  }
}
@media (max-width: 768px) {
  header nav, header .btn-primary {
    display: none;
  }
  header .mobile-menu-toggle {
    display: block;
  }
  .mobile-menu {
    display: none;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
  }
  .mobile-menu.active {
    display: flex;
  }
  .container {
    max-width: 100vw;
    flex-direction: column;
  }
  .content-wrapper {
    gap: 13px;
  }
  .section {
    padding: 24px 7px 24px 7px;
    margin-bottom: 38px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .blog-list {
    flex-direction: column;
    gap: 13px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 15px;
    min-width: 0;
    width: 100%;
  }
  .footer-contact { margin-top: 24px; }
  footer .container {
    gap: 24px;
    flex-direction: column;
    align-items: flex-start;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
}
@media (max-width: 500px) {
  h1 { font-size: 1.37rem; }
  h2 { font-size: 1.13rem; }
  .section, .card, .testimonial-card {
    padding-left: 6px;
    padding-right: 6px;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  display: flex;
  flex-direction: column;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100vw;
  background: #20487A;
  color: #fff;
  z-index: 20000;
  box-shadow: 0 -4px 24px rgba(32,72,122,0.17);
  padding: 20px 12px 20px 12px;
  gap: 14px;
  transition: transform 0.22s, opacity 0.21s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
}
.cookie-banner-content {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.cookie-banner-message {
  flex: 1 1 auto;
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.btn-cookie {
  background: #5ED6C0;
  color: #20487A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 21px;
  margin-top: 0;
  border-radius: 24px;
  border: none;
  transition: background 0.17s, color 0.17s, box-shadow 0.17s;
}
.btn-cookie:hover,
.btn-cookie:focus {
  background: #fff;
  color: #20487A;
  box-shadow: 0 2px 10px rgba(94,214,192,0.07);
}
.btn-cookie.secondary {
  background: #eee;
  color: #20487A;
  border: 1px solid #E5EFF4;
}
.btn-cookie.secondary:hover {
  background: #5ED6C0;
  color: #20487A;
}

/* COOKIE SETTINGS MODAL POPUP */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(32,72,122,0.45);
  z-index: 20001;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal {
  width: 98vw;
  max-width: 440px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 44px rgba(32,72,122, 0.18);
  padding: 36px 22px 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 23px;
  animation: cookiesModalIn 0.29s cubic-bezier(.77,.2,.05,1.0);
}
@keyframes cookiesModalIn {
  from { transform: translateY(80px) scale(0.96); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  color: #20487A;
  margin-bottom: 0;
  font-size: 1.2rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 8px;
}
.cookie-category-label {
  flex: 1 1 auto;
  font-weight: 500;
  color: #20487A;
}
.cookie-category-toggle {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 7px;
}
.cookie-toggle-input {
  accent-color: #5ED6C0;
  width: 22px; height: 22px;
  border-radius: 19px;
  vertical-align: middle;
  background: #eee;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  width: 100%;
  justify-content: flex-end;
}
.cookie-modal .btn-cookie {
  margin-top: 0;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 18px; right: 18px;
  background: #eee;
  border-radius: 60px;
  font-size: 1.15rem;
  color: #20487A;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  border: none;
}

/* Utility Classes */
.text-center {
  text-align: center;
}
.text-start {
  text-align: left;
}
.text-end {
  text-align: right;
}
.gap-8  { gap: 8px  !important; }
.gap-16 { gap: 16px !important; }
.gap-24 { gap: 24px !important; }
.gap-30 { gap: 30px !important; }
.mb-20  { margin-bottom: 20px !important; }
.mb-32  { margin-bottom: 32px !important; }

/* Hide visually but remain accessible */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}

/* Table responsiveness */
@media (max-width: 700px) {
  table, thead, tbody, th, td, tr {
    display: block;
    width: 100%;
  }
  thead {
    display: none;
  }
  tr {
    margin-bottom: 13px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(32,72,122,0.05);
  }
  td {
    border: none;
    position: relative;
    padding-left: 45%;
    min-height: 42px;
    box-sizing: border-box;
    font-size: 1rem;
    background: none;
  }
  td:before {
    position: absolute;
    top: 0; left: 0;
    width: 44%;
    padding-left: 14px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    color: #616C7A;
    white-space: pre;
    content: attr(data-label);
  }
}

/* SCROLLBAR STYLING */
::-webkit-scrollbar {
  width: 8px;
  background: #F6F7F9;
}
::-webkit-scrollbar-thumb {
  background: #e0e8ef;
  border-radius: 7px;
}

/* END OF CSS */
