/* 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, main, 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 { box-sizing: border-box; height: 100%; }
*, *:before, *:after { box-sizing: inherit; }
body {
  min-height: 100vh;
  background: #F8FAFB;
  color: #1A2633;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border: none;
}
a {
  color: #2762A8;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #179C75;
  text-decoration: underline;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  padding: 0;
  margin: 0;
}
ul, ol {
  list-style: none;
}

/* BRAND & SCANDINAVIAN TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #18334D;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4 { font-size: 1.125rem; margin-bottom: 10px; }

@media (max-width: 540px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.2rem; }
  h3 { font-size: 1rem; }
}
p, li, ul, ol {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 12px;
  color: #38485B;
}
strong { font-weight: bold; color: #2762A8; }

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  margin: 0 auto;
  max-width: 680px;
  padding: 0;
}
@media (max-width: 900px) {
  .container { max-width: 98%; }
  .content-wrapper { max-width: 98vw; }
}

/* SECTIONS & CARDS SPACING */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(34,55,66,0.06);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(34,55,66,0.04);
  margin-bottom: 20px;
  flex: 1 1 250px;
  min-width: 220px;
  padding: 24px 20px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(39,98,168,0.10), 0 2px 10px rgba(34,55,66,0.08);
  transform: translateY(-3px) scale(1.02);
}

.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: #E5F0FB;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(39,98,168,0.09);
}
.testimonial-card p {
  color: #19334F;
  font-size: 1.08rem;
  flex: 1 1 auto;
  margin-bottom: 0;
}
.testimonial-meta {
  color: #2762A8;
  font-size: 0.96rem;
  white-space: nowrap;
  padding-left: 10px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(39,98,168,0.04);
  padding: 18px 16px;
  margin-bottom: 20px;
}

/* PRIMARY CTA BUTTON */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75em 2em;
  border-radius: 100px;
  background: #2762A8;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 10px rgba(39,98,168,0.07);
  border: none;
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
  margin-top: 8px;
  cursor: pointer;
  text-align: center;
}
.btn-primary:hover, .btn-primary:focus {
  background: #179C75;
  color: #fff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 4px 16px rgba(23,156,117,0.11);
  text-decoration: none;
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(34,55,66,0.07);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #2762A8;
  padding: 6px 10px;
  border-radius: 7px;
  transition: background 0.16s, color 0.16s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #E5F0FB;
  color: #179C75;
}
header .btn-primary {
  font-size: 1rem;
  margin-left: 10px;
  padding: 0.6em 1.6em;
}

/* HAMBURGER & MOBILE NAV */
.mobile-menu-toggle {
  display: none;
  background: #2762A8;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 1.5rem;
  cursor: pointer;
  margin-left: 0.8em;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  z-index: 130;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #179C75;
  color: #fff;
  box-shadow: 0 2px 10px rgba(39,98,168,0.13);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255,255,255,0.97);
  z-index: 140;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.45,0,.55,1);
  box-shadow: 0 2px 32px rgba(39,98,168,0.10);
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  background: #2762A8;
  color: #fff;
  font-size: 2rem;
  padding: 6px 20px;
  border: none;
  border-radius: 100px;
  margin: 20px 24px 8px 0;
  cursor: pointer;
  transition: background 0.13s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #179C75;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 30px 32px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #2762A8;
  font-weight: 600;
  padding: 10px 0 10px 3px;
  border-radius: 5px;
  transition: color 0.15s, background 0.15s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #E5F0FB;
  color: #179C75;
}
@media (max-width: 1100px) {
  header .container { gap: 15px; }
  .main-nav { gap: 16px; }
}
@media (max-width: 900px) {
  .main-nav { gap: 8px; }
  header .btn-primary { margin-left: 0; }
}
@media (max-width: 820px) {
  .main-nav,
  header .btn-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}

/* MAIN LAYOUTS & FLEXBOX GRIDS */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 10px;
}
.feature-grid > div {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 10px rgba(39,98,168,0.05);
  flex: 1 1 240px;
  min-width: 220px;
  padding: 20px 18px 16px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.19s, transform 0.19s;
}
.feature-grid > div:hover {
  box-shadow: 0 4px 20px rgba(39,98,168,0.14);
  transform: translateY(-2px) scale(1.01);
}
.feature-grid img {
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
  filter: none;
}
@media (max-width: 900px) {
  .feature-grid {
    gap: 16px;
  }
  .feature-grid > div {
    min-width: 180px;
    padding: 14px 9px 13px;
  }
}
@media (max-width: 600px) {
  .feature-grid, .content-grid, .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid > div { min-width: 100%; }
  .section { margin-bottom: 36px; padding: 28px 8px; }
  .testimonial-card, .feature-item, .card { padding: 15px 10px; }
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 10px;
}
.text-section ul {
  margin-left: 18px;
  margin-bottom: 8px;
  color: #38485B;
  list-style: disc inside;
}
.text-section li {
  padding-left: 0;
  margin-bottom: 6px;
}
.info-box {
  background: #E5F0FB;
  color: #18334D;
  border-radius: 10px;
  padding: 14px 18px;
  margin: 14px 0;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  box-shadow: 0 1px 8px rgba(23,156,117,0.06);
}

/* FOOTER */
footer {
  background: #F8FAFB;
  padding-top: 38px;
  padding-bottom: 32px;
  margin-top: 60px;
  border-top: 1px solid #E5F0FB;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 36px;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: #2762A8;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  text-decoration: none;
  padding: 4px 0;
  border-radius: 3px;
  transition: color 0.15s, background 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #179C75;
  background: #E5F0FB;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.99rem;
  color: #38485B;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  margin-right: 6px;
  vertical-align: middle;
  opacity: 0.6;
}
.footer-contact a {
  color: #2762A8;
  text-decoration: underline;
  transition: color 0.2s;
}
.footer-contact a:hover {
  color: #179C75;
}
@media (max-width: 900px) {
  footer .container {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .footer-nav, .footer-contact { font-size: 0.97rem; }
}
@media (max-width: 600px) {
  footer .container {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  .footer-nav, .footer-contact { padding-left: 0; }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  padding: 22px 18px 18px 18px;
  background: #fff;
  box-shadow: 0 -2px 24px rgba(39,98,168,0.07);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  z-index: 2000;
  border-radius: 14px 14px 0 0;
  transition: transform 0.36s cubic-bezier(.45,0,.55,1), opacity 0.22s;
  font-size: 1rem;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner-content { color: #18334D; font-size: 1em; max-width: 840px; }
.cookie-banner-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
}
.btn-cookie {
  border: none;
  border-radius: 40px;
  padding: 0.7em 2.1em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  background: #E5F0FB;
  color: #18334D;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.btn-cookie.accept {
  background: #2762A8;
  color: #fff;
}
.btn-cookie.accept:hover,
.btn-cookie.accept:focus {
  background: #179C75;
  color: #fff;
}
.btn-cookie.reject {
  background: #DDEAF7;
  color: #2762A8;
}
.btn-cookie.reject:hover,
.btn-cookie.reject:focus {
  background: #fff5f5;
  color: #179C75;
}
.btn-cookie.settings {
  background: #E5F0FB;
}
.btn-cookie.settings:hover,
.btn-cookie.settings:focus {
  background: #D9EFE5;
  color: #179C75;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 3000;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,51,77,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 50px rgba(23,156,117,0.17);
  padding: 32px 24px 24px 24px;
  max-width: 420px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: cookieModalAppear 0.38s cubic-bezier(.45,0,.55,1);
}
@keyframes cookieModalAppear {
  0% { opacity: 0; transform: scale(0.93) translateY(50px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal-close {
  position: absolute;
  right: 14px;
  top: 10px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #179C75;
  cursor: pointer;
  line-height: 1;
  padding: 4px 10px;
  border-radius: 100px;
  transition: background 0.14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #E5F0FB;
}
.cookie-modal h2 {
  font-size: 1.28rem;
  color: #18334D;
  margin-bottom: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-category label {
  font-size: 1rem;
  color: #184266;
  font-weight: 500;
}
.cookie-category input[type="checkbox"] {
  accent-color: #2762A8;
  width: 19px;
  height: 19px;
  border-radius: 7px;
  margin-top: 0;
}
.cookie-category.essential label {
  color: #127356;
}

/* RESPONSIVE -- MOBILE-FIRST */
@media (max-width: 540px) {
  .section { padding: 17px 6px; margin-bottom: 26px; border-radius: 11px; }
  .card, .feature-grid > div, .testimonial-card, .feature-item { border-radius: 8px; padding: 12px 7px; }
  .cookie-modal { padding: 16px 5px 12px 7px; min-width: 0; }
  .cookie-modal h2 { font-size: 1.08rem; }
}


/* MICRO-INTERACTIONS & TRANSITIONS */
.card, .feature-item, .testimonial-card, .feature-grid > div, .btn-primary, .btn-cookie {
  transition: box-shadow 0.19s, transform 0.18s, background 0.19s, color 0.16s;
}

/* FORM ELEMENTS (if any forms are in the content) */
input[type="text"], input[type="email"], textarea {
  background: #F8FAFB;
  border: 1.4px solid #E5F0FB;
  border-radius: 7px;
  font-size: 1rem;
  padding: 10px 13px;
  width: 100%;
  margin-bottom: 18px;
  transition: border-color 0.15s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: #2762A8;
  outline: none;
}

/* SCANDINAVIAN LIGHT EFFECTS */
.section, .card, .feature-item, .testimonial-card {
  border: 1px solid #E5F0FB;
}

/************************
    Z-INDEX MANAGEMENT
************************/
.mobile-menu { z-index: 140; }
header { z-index: 120; }
.cookie-banner { z-index: 2000; }
.cookie-modal-overlay { z-index: 3000; }

/***********************************
     SCANDINAVIAN TWEAKS
***********************************/
body { background: #F8FAFB; }
.section, .card, .feature-item, .testimonial-card {
  background: #fff;
}
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
}

/***************************************
     A11Y ACCESSIBLE FOCUS STYLES
***************************************/
:focus-visible {
  outline: 2px solid #2762A8 !important;
  outline-offset: 1px;
}

/*********************************
    PREVENT UNDESIRABLE OVERLAP
*********************************/
.section, .card, .testimonial-card, .feature-grid > div, .feature-item {
  margin-bottom: 20px;
}
@media (max-width: 500px) {
  .section, .card, .testimonial-card, .feature-grid > div, .feature-item {
    margin-bottom: 15px;
  }
}

/*********************************
     UTILITY CLASSES (if needed)
*********************************/
.mt-32 { margin-top: 32px; }
.mt-20 { margin-top: 20px; }
.mb-32 { margin-bottom: 32px; }
.text-center { text-align: center; }

/*********************************
    SCANDINAVIAN ICON STYLING
*********************************/
img[alt*='icon'], img.icon {
  filter: grayscale(0.11) contrast(1.04) brightness(1.02);
  opacity: 0.92;
}

/**** CLEARFIX (if needed for float fix) ****/
.clearfix::after { content: ""; display: block; clear: both; }

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

