/* =====================
   CSS RESET & BASELINE
   ===================== */
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: #f7faf8; /* Off-white, scandinavian light */
  color: #19344c;
  font-family: 'Source Sans Pro', Arial, 'Helvetica Neue', Helvetica, sans-serif;
  min-height: 100vh;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  text-decoration: none;
  color: #22527A;
  transition: color 0.15s;
}
a:hover, a:focus {
  color: #7BBB41;
}
ul, ol {
  list-style: none;
  margin: 0 0 20px 0;
  padding: 0;
}
img {
  max-width: 100%;
  display: inline-block;
  height: auto;
}
button,
input,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  outline: none;
}


/* =====================
   BRAND FONTS & SCALE
   ===================== */
@import url('https://fonts.googleapis.com/css?family=Quicksand:600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,700&display=swap');
h1,
h2,
h3,
h4,
h5 {
  font-family: 'Quicksand', Arial, 'Helvetica Neue', Helvetica, sans-serif;
  color: #22527A;
  line-height: 1.15;
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-rendering: optimizeLegibility;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 1.625rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
h5 {
  font-size: 1rem;
  margin-bottom: 6px;
}
p, li, blockquote {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  color: #20384b;
  font-size: 1rem;
  margin-bottom: 16px;
  font-weight: 400;
  line-height: 1.7;
}
blockquote {
  font-style: italic;
  background: #f0f4f9;
  border-left: 4px solid #7BBB41;
  padding: 16px 20px;
  margin: 0 0 10px 0;
  color: #22527A;
  border-radius: 8px;
}
strong {
  font-weight: 700;
}


/* =====================
   CONTAINER & LAYOUT
   ===================== */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
}
.section,
main > section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
main > section:last-child, .section:last-child {
  margin-bottom: 0;
}

.text-section {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(34, 82, 122, 0.03);
  padding: 32px 24px;
  margin-bottom: 24px;
}

/* For content grids and features */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 28px 0 8px 0;
}
.features-grid > div {
  flex: 1 1 230px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(34, 82, 122, 0.05);
  padding: 24px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  transition: box-shadow 0.18s;
  margin-bottom: 0;
}
.features-grid > div:hover,
.features-grid > div:focus-within {
  box-shadow: 0 4px 16px rgba(34, 82, 122, 0.09);
}
.features-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
}


/* =====================
   HEADER & NAVIGATION
   ===================== */
header {
  background: #fff;
  box-shadow: 0 2px 14px 0 rgba(48, 64, 87, 0.04);
  position: sticky;
  top: 0;
  z-index: 22;
  width: 100%;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 16px;
  padding-bottom: 16px;
}
header img {
  height: 48px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  font-family: 'Quicksand', Arial, sans-serif;
  color: #22527A;
  font-weight: 600;
  letter-spacing: 0.01em;
  font-size: 1rem;
  padding: 6px 10px;
  border-radius: 7px;
  transition: background 0.13s, color 0.13s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #ecf5e6;
  color: #7BBB41;
}

.cta-primary {
  background: #7BBB41;
  color: #fff;
  font-family: 'Quicksand', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  border: none;
  outline: none;
  border-radius: 23px;
  padding: 11px 28px;
  cursor: pointer;
  box-shadow: 0 2px 14px 0 rgba(123, 187, 65, 0.13);
  transition: background 0.15s, transform 0.12s, box-shadow 0.15s;
  margin-left: 8px;
  margin-right: 8px;
  display: inline-block;
}
.cta-primary:hover,
.cta-primary:focus {
  background: #62A129;
  color: #fff;
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 8px 22px 0 rgba(123, 187, 65, 0.20);
}


/* Hamburger mobile menu button */
.mobile-menu-toggle {
  background: none;
  border: none;
  color: #22527A;
  font-size: 2rem;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  line-height: 1;
  display: none;
  transition: background 0.17s, color 0.15s;
  z-index: 26;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #e2eaf1;
  color: #7BBB41;
}


/* =====================
   MOBILE MENU OVERLAY
   ===================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34, 82, 122, 0.95);
  z-index: 50;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.75,0,.3,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100vw;
  height: 100vh;
  padding: 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  color: #fff;
  font-size: 2.2rem;
  background: none;
  border: none;
  margin: 26px 24px 10px 18px;
  cursor: pointer;
  align-self: flex-start;
  z-index: 60;
  transition: color 0.15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #7BBB41;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin: 0 0 0 34px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.2rem;
  font-family: 'Quicksand', Arial, sans-serif;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 5px;
  margin-bottom: 2px;
  transition: background 0.13s, color 0.14s;
  display: block;
}
.mobile-nav a:active,
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: #7BBB41;
  color: #fff;
}


/* ====================
   HERO SECTION
   ==================== */
.hero-section {
  background: linear-gradient(101deg, #f8fbfa 69%, #e4efe9 100%);
  border-radius: 0 0 26px 26px;
  margin-bottom: 48px;
  min-height: 240px;
  box-shadow: 0 2px 16px 0 rgba(123, 187, 65, .05);
}
.hero-section .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.hero-section .content-wrapper {
  padding-top: 22px;
  padding-bottom: 32px;
  max-width: 700px;
}
.hero-section h1 {
  color: #22527A;
  font-family: 'Quicksand', Arial, sans-serif;
  font-size: 2.25rem;
  margin-top: 8px;
}
.hero-section p {
  font-size: 1.12rem;
  margin-bottom: 26px;
  color: #466788;
}
.hero-section .cta-primary {
  font-size: 1.11rem;
  padding: 12px 32px;
}


/* =====================
   FEATURE & CARD LAYOUTS
   ===================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(34, 82, 122, 0.06);
  padding: 26px 22px;
  position: relative;
  min-width: 220px;
  transition: box-shadow 0.17s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 6px 22px rgba(34,82,122,0.14);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.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 {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(34, 82, 122, 0.06);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  margin-bottom: 24px;
  min-width: 0;
  max-width: 650px;
  color: #12304b;
  border-left: 5px solid #7BBB41;
  word-break: break-word;
}
.testimonial-card blockquote {
  background: transparent;
  border: none;
  padding: 0 0 0 0;
  color: #22527A;
  font-style: italic;
}
.testimonial-card p {
  margin-bottom: 0;
  color: #466788;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.event-listings {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 18px;
}
.event-listings > div {
  background: #f9fcfa;
  border-radius: 10px;
  box-shadow: 0 1.5px 7px rgba(41,87,122,0.05);
  padding: 18px 16px;
  margin-bottom: 0;
}


/* ==========================
   FOOTER
   ========================== */
footer {
  background: #fff;
  border-top: 2px solid #e7f1ea;
  padding: 30px 0 22px 0;
  margin-top: 50px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #22527A;
  font-family: 'Quicksand', Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 4px 8px;
  border-radius: 5px;
  transition: background 0.14s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  background: #e0f7cf;
  color: #7BBB41;
}
footer p {
  color: #466788;
  font-size: 0.95rem;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  margin-bottom: 0;
}


/* =============================
   RESPONSIVE BREAKPOINTS
   ============================= */
@media (max-width: 950px) {
  .hero-section .content-wrapper {
    max-width: 98vw;
  }
  .features-grid > div {
    flex: 1 1 260px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 6px;
    padding-top: 9px;
    padding-bottom: 9px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .section, main > section {
    padding: 28px 0 36px 0;
    margin-bottom: 34px;
  }
  .features-grid {
    flex-direction: column;
    gap: 18px;
  }
  .features-grid > div,
  .card,
  .testimonial-card {
    width: 100%;
    min-width: 0;
    padding-left: 12px;
    padding-right: 12px;
  }
  .testimonial-card {
    padding: 16px 11px;
  }
  .event-listings > div {
    padding: 13px 7px;
  }
  .footer-nav {
    gap: 12px;
  }
  .content-grid {
    flex-direction: column;
    gap: 15px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .text-section {
    padding: 17px 8px;
  }
}
@media (max-width: 540px) {
  h1 {
    font-size: 1.52rem;
  }
  h2 {
    font-size: 1.13rem;
  }
  .hero-section .content-wrapper {
    padding: 8px 0 15px;
  }
  .footer-nav {
    gap: 6px;
  }
  header img {
    height: 39px;
  }
  .cta-primary {
    font-size: 0.98rem;
    padding: 9px 16px;
    margin-left: 3px;
    margin-right: 3px;
  }
}


/* ============================
   FORM ELEMENTS (If used)
   ============================ */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  padding: 9px 14px;
  border-radius: 7px;
  border: 1px solid #b1beca;
  background: #f2f8f2;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 1rem;
  color: #20384b;
  outline: none;
  margin-bottom: 20px;
  box-shadow: 0 1.5px 5px rgba(34,82,122,0.07);
  transition: border 0.15s, background 0.16s;
}
input:focus, textarea:focus {
  border: 1.8px solid #7BBB41;
  background: #fff;
}
label {
  display: block;
  margin-bottom: 7px;
  font-family: 'Quicksand', Arial, sans-serif;
  color: #22527A;
  font-weight: 600;
  font-size: 1rem;
}


/* =============================
   LISTS & ICONS
   ============================= */
ul li, li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 32px;
  line-height: 1.625;
}
ul li img {
  position: absolute;
  left: 0;
  top: 3px;
  width: 19px;
  height: 19px;
  filter: grayscale(25%);
}
ul li strong {
  color: #22527A;
  font-family: 'Quicksand', Arial, sans-serif;
}

.text-section ul li,
.card ul li {
  padding-left: 32px;
  margin-bottom: 10px;
}


/* =============================
   ANIMATIONS & TRANSITIONS
   ============================= */
.section,
.text-section,
.hero-section,.card,.testimonial-card {
  transition: box-shadow 0.18s, background 0.18s, border-color 0.18s;
}
.cta-primary,.main-nav a,.mobile-menu-close,.mobile-menu-toggle {
  transition: background 0.15s, color 0.14s, box-shadow 0.15s, transform 0.16s;
}


/* =============================
   COOKIE CONSENT BANNER
   ============================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2000;
  background: #fff;
  box-shadow: 0 -3px 24px 0 rgba(34,82,122,0.13);
  border-top: 3px solid #7BBB41;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 26px;
  padding: 19px 28px;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 1rem;
  color: #20384b;
  transition: transform 0.25s cubic-bezier(.8,0,.3,1), opacity 0.25s;
  opacity: 1;
  visibility: visible;
}
.cookie-banner.hidden {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}
.cookie-banner__text {
  flex: 1 1 60%;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.cookie-btn,
.cookie-settings-btn {
  padding: 9px 18px;
  border-radius: 21px;
  border: none;
  font-family: 'Quicksand', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  margin-left: 0;
  margin-right: 0;
}
.cookie-btn--accept {
  background: #7BBB41;
  color: #fff;
  box-shadow: 0 1px 8px rgba(123,187,65,0.09);
}
.cookie-btn--accept:hover,
.cookie-btn--accept:focus {
  background: #62A129;
}
.cookie-btn--reject {
  background: #eff2f7;
  color: #22527A;
  border: 1.2px solid #e0e9ed;
}
.cookie-btn--reject:hover,
.cookie-btn--reject:focus {
  background: #e3e9e1;
  color: #7BBB41;
}
.cookie-settings-btn {
  background: transparent;
  color: #22527A;
  border: 1.4px solid #7BBB41;
}
.cookie-settings-btn:hover,
.cookie-settings-btn:focus {
  background: #eaffef;
}

@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 14px 7px;
    font-size: 0.98rem;
  }
  .cookie-banner__actions {
    gap: 7px;
  }
}

/* Cookie modal */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34, 82, 122, 0.33);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2200;
  pointer-events: all;
  opacity: 1;
  /* Slide in/out animation */
  transition: opacity 0.23s;
}
.cookie-modal.hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.19s;
}
.cookie-modal__content {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 16px 44px rgba(34,82,122,0.18);
  padding: 36px 24px 27px 24px;
  min-width:320px;
  max-width: 90vw;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  color: #19344c;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 19px;
  margin: 0 12px;
}
.cookie-modal__close {
  position: absolute;
  top: 21px;
  right: 18px;
  background: none;
  border: none;
  color: #19344c;
  font-size: 2.2rem;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal__close:hover,
.cookie-modal__close:focus {
  color: #62A129;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  margin-bottom: 9px;
}
.cookie-category__label {
  flex: 1 1 70%;
  font-weight: 600;
  color: #22527A;
  font-family: 'Quicksand', Arial, sans-serif;
}
.cookie-category__switch {
  display: flex;
  align-items: center;
  gap: 6px;
}
/* Simple switch for toggles */
.switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 23px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.switch-slider {
  position: absolute;
  cursor: pointer;
  background: #d2e7c2;
  border-radius: 24px;
  top: 0; left: 0; right: 0; bottom: 0;
  transition: background 0.18s;
}
.switch-slider:before {
  position: absolute;
  content: '';
  height: 17px;
  width: 17px;
  left: 3px;
  bottom: 3px;
  background: #7BBB41;
  border-radius: 50%;
  transition: transform 0.16s;
}
.switch input:checked + .switch-slider {
  background: #7BBB41;
}
.switch input:checked + .switch-slider:before {
  transform: translateX(18px);
  background: #fff;
}
.switch[aria-disabled="true"], .switch input[disabled] + .switch-slider {
  background: #dde3e9;
  opacity: .65;
}
.switch[aria-disabled="true"] .switch-slider:before {
  background: #bbbbbb;
}

.cookie-modal__actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 12px;
  justify-content: flex-end;
}
@media (max-width: 600px) {
  .cookie-modal__content {
    padding: 22px 8px 16px 8px;
    min-width: 0;
  }
  .cookie-modal__close {
    top: 13px;
    right: 9px;
  }
}


/* =============================
   UTILITY CLASSES
   ============================= */
.hide-desktop {
  display: none;
}
@media (max-width: 768px) {
  .hide-desktop {
    display: inline-block;
  }
  .hide-mobile {
    display: none;
  }
}

/* =============================
   SCANDINAVIAN CLEAN VISUALS
   ============================= */
section,
.text-section,
.card,
.testimonial-card,
.features-grid > div,
.event-listings > div {
  box-shadow: 0 2px 7px 0 rgba(41, 87, 122, 0.03);
  border-radius: 14px;
}
.card, .testimonial-card, .text-section {
  background: #fff;
  border: 1.5px solid #f0f4f0;
}
.event-listings > div {
  border-radius: 10px;
  border: 1.3px solid #f0f4f3;
}

/* Subtle hover micro-interactions */
.card:focus-within, .card:hover, .testimonial-card:hover, .features-grid > div:hover {
  box-shadow: 0 10px 23px 0 rgba(34, 82, 122, 0.10), 0 2px 7px 0 rgba(123, 187, 65, 0.05);
  border-color: #e2efe1;
}

/* =============================
   OVERRIDES & FINAL TOUCHES
   ============================= */
::-webkit-scrollbar {
  width: 8px;
  background: #eef7f6;
}
::-webkit-scrollbar-thumb {
  background: #e4efe9;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #d3e5d9;
}

::selection {
  background: #b6eb94;
  color: #22527A;
}

/* ================
   MISC UTILITIES
   ================ */
.text-center {
  text-align: center !important;
}
.gap-24 { gap: 24px !important; }
.gap-18 { gap: 18px !important; }
.mb-16 { margin-bottom: 16px !important; }

/* ==========================
   END OF STYLE SHEET
   ========================== */
