/* CSS RESET & NORMALIZE: Scandinavian Clean 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, 
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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #F9F6EF;
  color: #17375E;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *::before, *::after { box-sizing: inherit; }
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #17375E;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F2B134;
  outline: none;
}
ul, ol {
  list-style: disc inside;
  margin-left: 1.2em;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}

/* TYPOGRAPHY: Scandinavian clean */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #17375E;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem; /* 40px */
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;   /* 32px */
  font-weight: 600;
  line-height: 1.20;
}
h3 {
  font-size: 1.5rem; /* 24px */
  font-weight: 600;
}
h4 {
  font-size: 1.125rem; /* 18px */
  font-weight: 500;
}
h5, h6 {
  font-size: 1rem;
  font-weight: 500;
}
p, li, blockquote {
  font-size: 1rem; /* 16px */
  font-family: 'Roboto', Arial, sans-serif;
  color: #30435B;
  margin-bottom: 12px;
}
blockquote {
  font-style: italic;
  color: #17375E;
  border-left: 4px solid #F2B134;
  padding: 12px 20px;
  margin-bottom: 12px;
  background: #FFF;
  border-radius: 6px;
}
strong, b {
  color: #17375E;
  font-weight: 600;
}

/* CONTAINERS */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* HEADER & NAVIGATION */
header {
  background: #FFF;
  box-shadow: 0 2px 8px rgba(23,55,94,0.04);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 1500;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 24px;
}
.logo img {
  height: 40px;
  width: auto;
  display: block;
}
nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #17375E;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 5px;
  transition: background 0.15s, color 0.15s;
}
nav a:hover, nav a:focus {
  background: #F9F6EF;
  color: #F2B134;
}

.cta-btn {
  padding: 12px 28px;
  background: #F2B134;
  color: #17375E;
  border: none;
  border-radius: 25px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(23,55,94,0.08);
  transition: background 0.18s, color 0.18s, box-shadow 0.2s;
  margin-left: 20px;
  text-align: center;
  outline: none;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #17375E;
  color: #FFF;
  box-shadow: 0 4px 18px rgba(23,55,94,0.13);
}

/* MOBILE MENU STYLES */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #17375E;
  cursor: pointer;
  margin-left: 16px;
  z-index: 1700;
  transition: color 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #F2B134;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(249, 246, 239, 0.98);
  box-shadow: 0 4px 20px rgba(23,55,94,0.08);
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(.86,0,.07,1);
  z-index: 2000;
  padding: 32px 28px 28px 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #17375E;
  align-self: flex-end;
  margin-bottom: 24px;
  cursor: pointer;
  z-index: 2100;
  transition: color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #F2B134;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  margin-top: 24px;
}
.mobile-nav a {
  font-size: 1.25rem;
  font-weight: 500;
  color: #17375E;
  padding: 12px 0;
  border-radius: 8px;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F2B134;
  color: #FFF;
}

@media (max-width: 991px) {
  header .container nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 992px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none;
  }
}

/* SECTIONS, GRID & SPACING (see spacing/alignment specs) */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFF;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(23,55,94,0.07);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px;
  min-width: 270px;
  flex: 1 1 260px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(23,55,94,0.15);
  transform: translateY(-5px) scale(1.02);
}
.content-grid, .features-grid, .webinar-list, .course-list, .blog-posts, .blog-highlights, .footer-contact {
  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: #FFF;
  border-radius: 10px;
  margin-bottom: 20px;
  min-width: 250px;
  box-shadow: 0 2px 10px rgba(23,55,94,0.06);
  border: 1px solid #F2B13422;
  transition: box-shadow 0.16s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 16px rgba(23,55,94,0.11);
}
.feature-item, .feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FFF;
  border-radius: 10px;
  padding: 20px 18px;
  box-shadow: 0 1px 8px rgba(23,55,94,0.06);
  flex: 1 1 210px;
  transition: box-shadow 0.15s;
  margin-bottom: 20px;
  border: 1px solid #F9F6EF;
}
.feature:hover {
  box-shadow: 0 3px 16px rgba(23,55,94,0.11);
}

/* HERO SECTION */
.hero {
  padding: 56px 0 40px 0;
  background: linear-gradient(99deg, #F9F6EF 60%, #FFF 100%);
}
.hero .container {
  align-items: center;
  justify-content: center;
  min-height: 280px;
}
.hero h1 {
  margin-bottom: 20px;
  color: #17375E;
  font-size: 2.8rem;
  font-weight: 800;
}
.hero p {
  font-size: 1.25rem;
  max-width: 580px;
  color: #30435B;
  margin-bottom: 28px;
}
.hero .cta-btn {
  font-size: 1.05rem;
  padding: 14px 32px;
}

/* FEATURE/COURSE/WEBINAR CARDS */
.course, .webinar-item, .post-summary {
  background: #FFF;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(23,55,94,0.07);
  margin-bottom: 20px;
  padding: 28px 22px;
  flex: 1 1 260px;
  min-width: 240px;
  transition: box-shadow 0.18s, transform 0.18s;
  border: 1px solid #F9F6EF;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.course:hover, .webinar-item:hover, .post-summary:hover {
  box-shadow: 0 6px 24px rgba(23,55,94,0.13);
  transform: translateY(-5px) scale(1.019);
}

/* BUTTONS & LINKS */
button, .cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, box-shadow 0.18s;
  outline: none;
}
button:focus, .cta-btn:focus {
  outline: 2px solid #F2B134;
}

/* BLOG FILTERS */
.blog-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
}
.blog-filter span {
  color: #17375E;
  font-weight: 500;
}
.blog-filter a {
  background: #F2B13411;
  color: #17375E;
  padding: 6px 15px;
  border-radius: 16px;
  font-size: 0.98rem;
  margin-right: 4px;
  transition: background 0.15s, color 0.15s;
}
.blog-filter a.selected, .blog-filter a:hover {
  background: #F2B134;
  color: #FFF;
}

/* BLOG HIGHLIGHTS LIST */
.blog-highlights ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 18px 0 0 0;
  padding-left: 18px;
}

/* CONTACT DETAILS */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-details div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.02rem;
  color: #17375E;
}

.location-map {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F9F6EF;
  border: 1px solid #E0DFDB;
  border-radius: 12px;
  min-height: 120px;
  margin: 24px 0 16px 0;
  padding: 24px;
}

.contact-invite {
  background: #FFF;
  border-radius: 10px;
  padding: 20px 16px;
  box-shadow: 0 1.5px 8px rgba(23,55,94,0.05);
  margin-bottom: 16px;
  color: #30435B;
}

/* BEFORE-AFTER SECTION */
.before-after {
  background: #FFF;
  border-radius: 10px;
  padding: 22px 18px;
  box-shadow: 0 1px 7px rgba(23,55,94,0.07);
  margin-bottom: 24px;
}
.before-after ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

/* FOOTER */
footer {
  background: #17375E;
  min-height: 120px;
  padding: 34px 0 30px 0;
  color: #F9F6EF;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
.logo-footer img {
  height: 36px;
  margin-bottom: 10px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 18px;
}
.footer-nav a {
  color: #F9F6EF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  opacity: 0.86;
  transition: color 0.15s, opacity 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #F2B134;
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 0.96rem;
  color: #F9F6EF;
  min-width: 220px;
}
.footer-contact div {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 3000;
  background: #FFF;
  color: #17375E;
  border-top: 2px solid #F2B134;
  box-shadow: 0 -1px 8px rgba(23,55,94,0.07);
  padding: 22px 18px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: cookieSlideIn 0.35s cubic-bezier(.86,0,.07,1);
}
@keyframes cookieSlideIn {
  from { transform: translateY(160px); opacity: 0.2; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 6px;
}
.cookie-banner .cookie-btn {
  border-radius: 25px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 9px 24px;
  border: none;
  cursor: pointer;
  background: #F9F6EF;
  color: #17375E;
  box-shadow: 0 1px 4px rgba(23,55,94,0.07);
  transition: background 0.18s, color 0.18s, box-shadow 0.2s;
}
.cookie-banner .cookie-btn.accept {
  background: #F2B134;
  color: #17375E;
}
.cookie-banner .cookie-btn.reject {
  background: #17375E;
  color: #FFF;
}
.cookie-banner .cookie-btn.settings {
  background: #F9F6EF;
  color: #17375E;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #17375E;
  color: #F9F6EF;
}
.cookie-banner .cookie-btn.accept:hover, .cookie-banner .cookie-btn.accept:focus {
  background: #FFF;
  color: #F2B134;
  border: 2px solid #F2B134;
}

/* COOKIE MODAL STYLES */
.cookie-modal {
  position: fixed;
  z-index: 3500;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(23, 55, 94, 0.12);
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: all;
  animation: cookieModalFadeIn 0.32s cubic-bezier(.86,0,.07,1);
}
@keyframes cookieModalFadeIn {
  from { opacity: 0.25; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #FFF;
  color: #17375E;
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(23,55,94,0.14);
  max-width: 410px;
  width: 100%;
  padding: 36px 26px 24px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  gap: 12px;
  animation: cookieModalPop 0.33s cubic-bezier(.86,0,.07,1);
}
@keyframes cookieModalPop {
  from { transform: scale(0.93); opacity:0; }
  to { transform: scale(1); opacity:1; }
}
.cookie-modal-close {
  position: absolute;
  right: 18px; top: 16px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #17375E;
  cursor: pointer;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #F2B134;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  width: 100%;
  margin: 10px 0;
  font-size: 1rem;
  justify-content: space-between;
}
.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 22px;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #E4E1D6;
  border-radius: 22px;
  transition: background 0.18s;
}
.cookie-toggle input:checked + .cookie-slider {
  background: #F2B134;
}
.cookie-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 2px;
  background: #FFF;
  border-radius: 50%;
  transition: transform 0.18s;
  box-shadow: 0 1px 4px rgba(23,55,94,0.13);
}
.cookie-toggle input:checked + .cookie-slider:before {
  transform: translateX(22px);
}
.cookie-category .description {
  color: #30435B;
  font-size: 0.97rem;
}
.cookie-category .essential {
  color: #818181;
  font-size: 0.95rem;
}

/* MICROS-ANIMATION & HOVER EFFECTS */
.cta-btn, button, .feature, .card, .testimonial-card, .post-summary, .course, .webinar-item {
  transition: box-shadow 0.18s, background 0.17s, color 0.18s, transform 0.12s;
}
.cta-btn:active, button:active, .feature:active, .card:active {
  transform: scale(0.99);
}

/* RESPONSIVE DESIGN: MOBILE FIRST */
@media (max-width: 991px) {
  .container {
    padding: 0 12px;
    max-width: 100vw;
  }
  .content-grid, .features-grid, .webinar-list, .course-list, .blog-posts, .blog-highlights, .footer-contact {
    flex-direction: column;
    gap: 22px;
    align-items: stretch;
  }
  .section, section {
    padding: 30px 4vw;
  }
  .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .card, .feature, .testimonial-card, .webinar-item, .course, .post-summary {
    min-width: unset;
    width: 100%;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 0 16px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.35rem;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero p {
    font-size: 1.07rem;
  }
  .cta-btn {
    padding: 11px 17px;
    font-size: 1rem;
  }
  .testimonial-card, .before-after, .feature {
    padding: 16px 12px;
  }
  .cookie-modal-content {
    padding: 26px 9vw 18px 9vw;
  }
}
@media (max-width: 425px) {
  .section, section {
    padding: 22px 3vw;
  }
  .cookie-banner {
    padding: 18px 4vw;
  }
  .cookie-modal-content {
    padding: 15vw 3vw 10vw 3vw;
  }
  h1 {
    font-size: 1.45rem;
  }
  h2 {
    font-size: 1.09rem;
  }
}

/* MISCELLANEOUS SCANDINAVIAN ELEMENTS */
hr {
  border: 0;
  border-top: 1.5px solid #EDE6D9;
  margin: 32px 0 24px 0;
}
::-webkit-scrollbar {
  width: 8px;
  background: #F9F6EF;
}
::-webkit-scrollbar-thumb {
  background: #EDE6D9;
  border-radius: 8px;
}

/* Hide visually if not needed */
[hidden] { display: none !important; }

/* FONTS: Import (place this in the HTML file or at build time) */
/* @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Roboto:wght@400;500;700&display=swap'); */
