/* 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,
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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  line-height: 1.15;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  background: #F8F9FA;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  color: #23282B;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F8F9FA;
  font-size: 16px;
}
img, picture {
  max-width: 100%;
  height: auto;
  display: block;
}
*, *::before, *::after {
  box-sizing: inherit;
}
a {
  color: #1A4D8F;
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}
a:hover, a:focus {
  color: #FFD600;
  outline: none;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
}
button, .btn-primary {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
}

/* FONT IMPORTS & BASE TYPOGRAPHY */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1A4D8F;
  letter-spacing: 0.03em;
  font-weight: 700;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #1A4D8F;
}
h4, h5, h6 {
  font-size: 1rem;
}
p, ul, li {
  font-family: 'Roboto', Arial, sans-serif;
  color: #23282B;
  font-size: 1rem;
  letter-spacing: 0.02em;
  line-height: 1.6;
  margin-bottom: 10px;
}
strong {
  font-weight: 500;
}

/* SCANDINAVIAN CLEAN LAYOUT UTILS */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(50,70,100,0.04);
  /* Use natural whitespace for breathing room */
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  margin-bottom: 20px;
  border-radius: 16px;
  background: #FFF;
  box-shadow: 0 2px 8px rgba(34,61,84,0.07);
  position: relative;
  padding: 28px 26px 26px 26px;
  flex: 1 1 260px;
  min-width: 220px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .card:focus {
  box-shadow: 0 8px 24px rgba(44,80,160,0.14);
  transform: translateY(-2px) scale(1.014);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.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: #FFF;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(34,61,84,0.08);
  margin-bottom: 20px;
  flex: 1 1 280px;
  min-width: 240px;
  transition: box-shadow 0.2s, transform 0.2s;
  color: #23282B;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 6px 22px rgba(34,77,168,0.09);
  transform: translateY(-1px);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO & CTA SECTIONS */
.hero {
  background: #F2F5F8;
  padding: 48px 0;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  border-bottom: 1.5px solid #E6ECF4;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.cta {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #EAF3FB;
  border-radius: 18px;
  display: flex;
  align-items: center;
}
.cta .content-wrapper {
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* FEATURES & SERVICES UL */
.features ul,
.services ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0 0 0;
  padding: 0;
  justify-content: center;
}
.features ul li,
.services ul li {
  background: #FFF;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(50,80,140,0.08);
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 320px;
  padding: 26px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.2s;
  margin-bottom: 20px;
}
.features ul li:hover,
.services ul li:hover {
  box-shadow: 0 8px 24px rgba(34,77,143,0.12);
  transform: translateY(-2px);
}
.features ul li img,
.services ul li img {
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
}

/* GENERAL BUTTON STYLES */
.btn-primary {
  display: inline-block;
  background: #1A4D8F;
  color: #FFF;
  border-radius: 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1.15rem;
  padding: 12px 32px;
  margin-top: 16px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(34,77,143,0.09);
  transition: background 0.18s, box-shadow 0.18s, color 0.18s, transform 0.18s;
  border: none;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: #FFD600;
  color: #1A4D8F;
  transform: scale(1.033) translateY(-1px);
  box-shadow: 0 6px 18px rgba(26,77,143,0.10);
}

/* HEADER NAVIGATION */
header {
  width: 100%;
  background: #FFF;
  box-shadow: 0 1px 10px rgba(40,60,90,0.05);
  z-index: 1100;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 24px;
}
header nav {
  display: flex;
  gap: 18px;
}
header nav a {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #1A4D8F;
  font-size: 1rem;
  border-radius: 6px;
  padding: 8px 16px;
  transition: background 0.16s, color 0.18s;
  margin: 0 3px;
}
header nav a:hover, header nav a:focus {
  background: #EAF3FB;
  color: #FFD600;
}
header img {
  height: 40px;
}
header .btn-primary {
  margin-top: 0;
  margin-left: 13px;
  font-size: 1rem;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  color: #1A4D8F;
  font-size: 2.1rem;
  border: none;
  z-index: 2204;
  margin-left: 12px;
  padding: 8px 14px 8px 8px;
  border-radius: 6px;
  transition: background 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F2F5F8;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(245,247,250,0.98);
  z-index: 2100;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(0.65,0.06,0.35,1);
  box-shadow: 0 8px 30px rgba(26,77,143,0.07);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #1A4D8F;
  align-self: flex-end;
  margin: 30px 28px 28px 0;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #F0F2F6;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  align-items: flex-start;
  margin: 42px 0 0 28px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #1A4D8F;
  font-size: 1.15rem;
  background: none;
  padding: 8px 6px 8px 6px;
  border-radius: 6px;
  transition: background 0.12s, color 0.14s;
  margin-bottom: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #EAF3FB;
  color: #FFD600;
}

@media (max-width: 1050px) {
  header .container nav {
    display: none;
  }
  header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* FORCED SHOW/HIDE FOR MOBILE MENU OVERLAY */
@media (max-width: 1050px) {
  header nav,
  header .btn-primary {
    display: none !important;
  }
}

/* FOOTER */
footer {
  background: #F2F5F8;
  border-top: 1.5px solid #E6ECF4;
  padding: 36px 0 30px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
}
footer a img {
  height: 36px;
  margin-bottom: 10px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
footer nav a {
  color: #1A4D8F;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 0;
  padding: 0;
  transition: color 0.14s;
}
footer nav a:hover, footer nav a:focus {
  color: #FFD600;
  text-decoration: underline;
}
.footer-contact p {
  font-size: 0.98rem;
  color: #728199;
  margin-bottom: 3px;
  font-family: 'Roboto', Arial, sans-serif;
}

/* ADDITIONAL STRUCTURE / UTILITIES */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* TESTIMONIALS */
.testimonial-card {
  background: #FFF;
  border-left: 7px solid #1A4D8F;
  color: #23282B;
  font-size: 1.1rem;
  font-style: italic;
}
.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1A4D8F;
  font-size: 0.97rem;
  font-weight: 500;
  margin-left: 14px;
}

/* BLOG LIST & ARTICLES */
.blog-list .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: flex-start;
}
.blog-list article {
  background: #FFF;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(34,77,143,0.05);
  padding: 24px 18px 20px 18px;
  flex: 1 1 270px;
  min-width: 230px;
  margin-bottom: 10px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.blog-list article:hover {
  box-shadow: 0 5px 18px rgba(34,77,143,0.11);
  transform: translateY(-1px);
}
.featured-post {
  background: #FFD600;
  border-radius: 12px;
  padding: 18px 14px;
  color: #23282B;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  flex: 1 1 200px;
  margin-bottom: 12px;
  box-shadow: 0 2px 10px rgba(170,150,0,0.07);
}
.categories ul {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.categories li {
  background: #EAF3FB;
  color: #1A4D8F;
  padding: 3px 12px;
  border-radius: 14px;
  font-size: 0.92rem;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* COMPARISON TABLE (SCANDI STYLE) */
table {
  border-collapse: separate;
  border-spacing: 0 6px;
  width: 100%;
  background: #FFF;
  margin: 18px 0 18px 0;
  border-radius: 12px;
  box-shadow: 0 2.5px 8px rgba(30,77,143,0.05);
  overflow: hidden;
}
thead {
  background: #EAF3FB;
  color: #1A4D8F;
}
th, td {
  padding: 12px 14px;
  text-align: left;
  font-size: 1rem;
}
th {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #1A4D8F;
}
tr {
  border-bottom: 1px solid #ECECEC;
}
tr:last-child {
  border-bottom: none;
}

/* LEGAL PAGE TYPOGRAPHY */
.legal .content-wrapper {
  max-width: 850px;
  margin: 0 auto;
}
.legal .text-section ul {
  padding-left: 24px;
  margin-top: 14px;
  list-style: disc inside;
}
.legal .text-section p, .legal .text-section li {
  color: #23282B;
  font-size: 1rem;
}

/* CONTACT SECTION */
.contact .text-section ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact .text-section li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}
.contact .text-section img {
  height: 22px;
  width: 22px;
  opacity: 0.75;
}

/* CONFIRMATION PAGE */
.confirmation {
  margin-bottom: 60px;
  padding: 50px 20px;
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 3px 14px rgba(30,77,143,0.04);
}
.confirmation h1 {
  color: #1A4D8F;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.1rem;
  margin-bottom: 20px;
}

/* FAQ SECTION LISTS */
.faq ul, .text-section ul {
  margin-left: 0;
  padding-left: 20px;
  list-style-type: disc;
}
.faq ul li {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #23282B;
}

/* QUICK OVERVIEW CARD */
.quick-overview {
  background: #EAF3FB;
  border-radius: 10px;
  padding: 20px 15px 15px 15px;
  color: #1A4D8F;
  font-weight: 500;
  min-width: 220px;
  margin-top: 24px;
  font-family: 'Roboto', Arial, sans-serif;
  box-shadow: 0 2px 8px rgba(26,77,143,0.08);
}
.quick-overview ul {
  margin-top: 10px;
  padding-left: 22px;
  list-style-type: disc;
  color: #23282B;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100%;
  z-index: 3000;
  background: #F2F5F8;
  color: #23282B;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  box-shadow: 0 -2px 14px rgba(26,77,143,0.07);
  padding: 26px 16px 18px 16px;
  border-radius: 16px 16px 0 0;
  gap: 14px;
  transition: transform 0.28s cubic-bezier(0.7,0.09,0.4,1);
}
.cookie-banner.hide {
  transform: translateY(110%);
  pointer-events: none;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 18px;
  margin-top: 8px;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.cookie-banner button {
  border-radius: 20px;
  padding: 8px 28px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: #1A4D8F;
  color: #FFF;
  border: none;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
  margin-right: 8px;
}
.cookie-banner button.accept {
  background: #FFD600;
  color: #1A4D8F;
}
.cookie-banner button.accept:hover, .cookie-banner button.accept:focus {
  background: #1A4D8F;
  color: #FFD600;
}
.cookie-banner button.reject {
  background: #D1D9E6;
  color: #23282B;
}
.cookie-banner button.reject:hover, .cookie-banner button.reject:focus {
  background: #A6B4C9;
  color: #FFF;
}
.cookie-banner button.settings {
  background: #1A4D8F;
  color: #FFF;
}
.cookie-banner button.settings:hover, .cookie-banner button.settings:focus {
  background: #FFD600;
  color: #1A4D8F;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  left: 0;right: 0;top: 0;bottom: 0;
  z-index: 3050;
  background: rgba(44,77,110,0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  opacity: 1;
  transition: opacity 0.22s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-inner {
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 7px 32px rgba(20,48,80,0.17);
  max-width: 370px;
  width: 97vw;
  padding: 34px 26px 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: none;
  border: none;
  color: #1A4D8F;
  font-size: 1.7rem;
  z-index: 3;
  cursor: pointer;
  border-radius: 5px;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: #F2F6FC;
}
.cookie-modal h3 {
  color: #1A4D8F;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  margin-bottom: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0 7px 0;
  border-bottom: 1px solid #F3F3F3;
}
.cookie-category:last-child { border-bottom: none; }
.cookie-category label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #23282B;
  margin-right: 10px;
}
.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: #D1D9E6;
  border-radius: 12px;
  transition: 0.2s;
}
.cookie-toggle input:checked + .slider {
  background: #FFD600;
}
.cookie-toggle .slider:before {
  position: absolute;
  content: '';
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background: #FFF;
  border-radius: 50%;
  transition: 0.2s;
  box-shadow: 0 1.5px 3px rgba(40,60,90,0.08);
}
.cookie-toggle input:checked + .slider:before {
  transform: translateX(16px);
}

/* Accessibility: focus outlines */
:focus-visible {
  outline: 2px dashed #1A4D8F;
  outline-offset: 2px;
}

/* SPACING AND ALIGNMENT - CRITICAL */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container, .card-grid, .features ul, .services ul, .blog-list .content-wrapper {
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.content-grid {
  gap: 20px;
  display: flex;
  flex-wrap: wrap;
  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;
}

/* RESPONSIVE DESIGN */
@media (max-width: 900px) {
  .container {
    padding: 0 14px;
  }
  .hero .container, .cta .content-wrapper, .legal .content-wrapper {
    padding: 0 10px;
  }
  .content-grid, .footer .container {
    flex-direction: column;
    gap: 20px;
  }
  .features ul, .services ul, .blog-list .content-wrapper {
    gap: 16px;
  }
  .card-container, .card-grid {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.2rem;
  }
  .section, .cta {
    padding: 24px 7px;
    margin-bottom: 36px;
  }
  .hero {
    padding: 33px 0;
  }
  .card, .features ul li, .services ul li, .testimonial-card, .blog-list article, .featured-post {
    min-width: 95vw;
    max-width: 97vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  .card,
  .features ul li,
  .services ul li,
  .testimonial-card,
  .quick-overview,
  .blog-list article {
    flex: 1 1 99vw;
  }
  .content-grid, .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch !important;
  }
  footer .container {
    flex-direction: column;
    gap: 20px;
  }
  .categories ul {
    gap: 8px;
  }
  .mobile-menu {
    align-items: stretch;
  }
}
@media (max-width: 500px) {
  .hero {
    padding: 14px 0 28px 0;
  }
  .container {
    padding: 0 5px;
  }
  h1, h2, h3 {
    font-size: 1.02rem;
  }
  .cta, .section {
    padding: 14px 4px;
  }
}

/* MICROINTERACTIONS & SMOOTH TRANSITIONS */
.card, .features ul li, .services ul li, .testimonial-card, .blog-list article, .btn-primary, .cookie-banner, .cookie-banner button, .mobile-menu, .mobile-nav a {
  transition: box-shadow 0.22s, background 0.17s, color 0.16s, transform 0.19s;
}

/* NATURAL MATERIALS (SUBTLE EFFECT) */
.section {
  background: linear-gradient(135deg, #FAFCFF 70%, #F3F6F9 100%);
}

/* ENSURE NO ABSOLUTE POSITIONING FOR CONTENT */
.card, .testimonial-card, .features ul li, .services ul li, .blog-list article {
  position: relative;
}

/* Z-INDEX FOR LAYERS */
header { z-index: 1100; position: relative; }
.mobile-menu { z-index: 2100; }
.cookie-banner { z-index: 3000; }
.cookie-modal { z-index: 3050; }

/* HIDE COOKIE MODAL INITIALLY */
.cookie-modal {
  display: none;
}
.cookie-modal.open {
  display: flex;
  opacity: 1;
}

/* Miscellaneous Fixes */
::-webkit-input-placeholder {
  color: #96A0AF;
}
::-moz-placeholder {
  color: #96A0AF;
}
:-ms-input-placeholder {
  color: #96A0AF;
}
::placeholder {
  color: #96A0AF;
}

/* Remove grid/column props: FORBIDDEN */
/* End of stylesheet */
