/* RESET & BASE STYLES */
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 {
  font-family: 'Roboto', Arial, sans-serif;
  background-color: #fff;
  color: #222;
  scroll-behavior: smooth;
}
body {
  font-size: 16px;
  background: #fff;
  color: #1a3d6d;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #1A3D6D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #5E9BD2;
  outline: none;
}
ul, ol {
  margin: 16px 0 16px 24px;
  padding: 0;
}
li {
  margin-bottom: 8px;
}
strong, b {
  font-weight: 600;
}
small {
  font-size: 87%;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1A3D6D;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.18;
}
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; }
h5, h6 { font-size: 1rem; }
p {
  margin-bottom: 16px;
  color: #1A3D6D;
  font-size: 1.07rem;
}

/* CONTAINER & LAYOUT */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 22px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(26,61,109,0.04);
}
@media (max-width: 1024px) {
  .container {
    padding: 0 12px;
  }
  .section {
    padding: 32px 8px;
  }
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 36px;
    padding: 22px 4px;
  }
  .content-wrapper {
    gap: 18px;
  }
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: #F5F7FA;
  border-bottom: 1px solid #e4e7ec;
  box-shadow: 0 2px 8px rgba(26,61,109,0.05);
  position: sticky;
  top: 0;
  z-index: 900;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 0;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #1A3D6D;
  opacity: 0.95;
  padding: 6px 6px;
  border-radius: 3px;
  transition: background 0.12s, color 0.12s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #E9F1FB;
  color: #5E9BD2;
}
.cta-btn {
  background: #1A3D6D;
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 10px 28px;
  font-size: 1.12rem;
  border-radius: 20px;
  margin-left: 18px;
  box-shadow: 0 2px 9px rgba(26,61,109,0.06);
  transition: background 0.22s, color 0.22s, box-shadow 0.17s;
  border: none;
  cursor: pointer;
  text-align: center;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #5E9BD2;
  color: #fff;
  outline: none;
  box-shadow: 0 3px 15px rgba(26,61,109,0.11);
}
header img[alt="KodBlomma"] {
  height: 34px;
  width: auto;
  margin-right: 24px;
  user-select: none;
}

/* HAMBURGER & MOBILE NAV */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #1A3D6D;
  cursor: pointer;
  z-index: 999;
  outline: none;
  padding: 8px 12px;
  transition: background 0.15s;
  border-radius: 4px;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #e9f1fb;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(245,247,250,0.98);
  z-index: 10000;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(0.77, 0, 0.175, 1);
  padding: 0 30px;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #1A3D6D;
  font-size: 2.2rem;
  position: absolute;
  top: 24px;
  right: 22px;
  cursor: pointer;
  transition: background 0.18s;
  z-index: 11001;
  padding: 4px 10px;
  border-radius: 4px;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #e9f1fb;
}
.mobile-nav {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.38rem;
  color: #1A3D6D;
  padding: 8px 0;
  border-radius: 3px;
  width: 100%;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E9F1FB;
  color: #5E9BD2;
}
@media (max-width: 1024px) {
  .main-nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 18px;
    right: 18px;
  }
  header .container {
    min-height: 62px;
  }
}
@media (min-width: 1025px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}


/* FLEX LAYOUTS & MISC */
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.card {
  background: #fff;
  border-radius: 13px;
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px;
  box-shadow: 0 2px 16px rgba(26,61,109, 0.06);
  transition: box-shadow 0.22s, transform 0.15s;
  width: 100%;
  max-width: 346px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card:hover, .card:focus {
  box-shadow: 0 6px 24px rgba(26,61,109,0.10);
  transform: translateY(-3px);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 11px;
  padding: 16px 18px;
  box-shadow: 0 2px 9px rgba(26,61,109,0.06);
  margin-bottom: 20px;
}

/* FEATURE GRID (VANLIGT I HTML) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  margin-top: 6px;
}
.feature-grid > div {
  flex: 1 1 220px;
  min-width: 220px;
  background: #fff;
  border-radius: 11px;
  padding: 21px 22px;
  box-shadow: 0 2px 8px rgba(26,61,109, 0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 20px;
  transition: box-shadow 0.16s, transform 0.15s;
}
.feature-grid img {
  height: 38px;
  width: 38px;
  object-fit: contain;
  margin-bottom: 2px;
}
.feature-grid > div:hover, .feature-grid > div:focus {
  box-shadow: 0 7px 22px rgba(26,61,109, 0.12);
  transform: translateY(-2px) scale(1.013);
}
@media (max-width: 900px) {
  .feature-grid {
    gap: 18px;
  }
  .feature-grid > div {
    min-width: 170px;
    padding: 18px 10px;
    font-size: 1rem;
  }
}
@media (max-width: 600px) {
  .feature-grid {
    flex-direction: column;
    gap: 14px;
  }
}

/* TESTIMONIAL & REVIEW CARDS */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #F5F7FA;
  border-radius: 12px;
  padding: 20px 30px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(26,61,109, 0.07);
  border-left: 5px solid #5E9BD2;
  flex-wrap: wrap;
  transition: box-shadow 0.18s;
}
.testimonial-card p {
  color: #1A3D6D;
  font-size: 1.12rem;
  font-style: italic;
  flex: 1 1 auto;
  margin-bottom: 0;
}
.testimonial-details {
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: #1A3D6D;
  font-size: 1.05rem;
  font-weight: 500;
}
.testimonial-details strong {
  color: #1A3D6D;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
}
.testimonial-details span {
  color: #5E9BD2;
  font-weight: 600;
  letter-spacing: 2px;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 6px 18px rgba(26,61,109, 0.13);
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 12px;
  }
}

/* FAQ LIST (FOR VANLIGA FRAGOR) */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.faq-list > div {
  background: #F5F7FA;
  border-radius: 9px;
  padding: 15px 18px;
  box-shadow: 0 1px 6px rgba(26,61,109,0.04);
}

/* TAGS AND CATEGORIES */
.tag, .category {
  background: #e9f1fb;
  color: #1A3D6D;
  font-size: 0.95em;
  padding: 2px 10px;
  border-radius: 9px;
  font-weight: 500;
  margin-left: 8px;
  margin-right: 6px;
  display: inline-block;
}

/* FOOTER */
footer {
  background: #F5F7FA;
  border-top: 1px solid #e4e7ec;
  box-shadow: 0 -2px 8px rgba(26,61,109,0.03);
  padding: 30px 0 22px 0;
  color: #1A3D6D;
  margin-top: auto;
  font-size: 0.98rem;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 160px;
}
.footer-nav a {
  color: #1A3D6D;
  opacity: 0.9;
  font-weight: 500;
  font-size: 1rem;
  padding: 4px 0;
  transition: color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #5E9BD2;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-contact p {
  display: flex;
  align-items: center;
  margin-bottom: 0;
}
.footer-contact img {
  height: 19px;
  width: 19px;
  margin-right: 10px;
}
@media (max-width: 850px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
  }
  .footer-nav {
    flex-direction: row;
    gap: 20px;
    margin-bottom: 12px;
  }
}

/* CONTENT/COURSES CARDS SUPPORT (if needed) */
ul > li {
  margin-bottom: 8px;
}

/* FORMS & BUTTONS */
button, input[type="submit"], .cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  outline: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.13s;
}
button:focus, .cta-btn:focus {
  outline: 2px solid #5E9BD2;
  outline-offset: 1px;
}

/* SPECIALS FOR CONTACT DETAILS */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.contact-details p {
  font-size: 1.04rem;
  color: #1A3D6D;
  margin-bottom: 0;
}
.contact-details img {
  height: 20px;
  width: 20px;
  margin-right: 8px;
}

/* TABLES */
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  padding: 12px 16px;
  border-bottom: 1px solid #e8eaef;
  text-align: left;
}
th {
  background: #F5F7FA;
}

/* SELECTION */
::selection {
  background: #E9F1FB;
  color: #1A3D6D;
}

/* MEDIA RESPONSIVENESS */
@media (max-width: 700px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.25rem; }
  .container {
    padding: 0 6px;
  }
}
@media (max-width: 520px) {
  .section {
    padding: 13px 1px;
    margin-bottom: 18px;
  }
  .feature-grid > div, .card {
    padding: 11px 7px;
  }
}

/* TRANSITIONS & ANIMATION */
[tabindex],
button,
a {
  transition-property: box-shadow, color, background, outline, border, opacity, transform;
  transition-duration: 0.2s;
}

/* COOKIE BANNER */
.cookie-banner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #F5F7FA;
  color: #1A3D6D;
  box-shadow: 0 -2px 12px rgba(26,61,109, 0.08);
  padding: 19px 24px;
  z-index: 11010;
  border-radius: 14px 14px 0 0;
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
  transition: opacity 0.32s, transform 0.35s;
  font-size: 1.08rem;
}
.cookie-banner.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-banner .cookie-msg {
  flex: 1 1 auto;
  color: #1A3D6D;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  align-items: center;
}
.cookie-banner button {
  background: #1A3D6D;
  color: #fff;
  padding: 8px 18px;
  border-radius: 15px;
  font-size: 1rem;
  border: none;
  box-shadow: 0 2px 6px rgba(26,61,109,0.10);
  transition: background 0.15s, color 0.16s, box-shadow 0.11s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #5E9BD2;
  color: #fff;
}
.cookie-banner .reject-btn {
  background: #E9F1FB;
  color: #1A3D6D;
  border: 1px solid #d2deee;
}
.cookie-banner .reject-btn:hover, .cookie-banner .reject-btn:focus {
  background: #fff;
  color: #5E9BD2;
}
.cookie-banner .settings-btn {
  background: #fff;
  color: #1A3D6D;
  border: 1px solid #d2deee;
}
.cookie-banner .settings-btn:hover, .cookie-banner .settings-btn:focus {
  background: #e9f1fb;
  color: #1a3d6d;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    padding: 14px 6px;
    font-size: 0.97rem;
  }
  .cookie-banner .cookie-actions {
    gap: 9px;
    flex-wrap: wrap;
  }
}

/* COOKIE MODAL */
.cookie-modal {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: fixed;
  left: 50%;
  top: 50%;
  background: #fff;
  color: #1A3D6D;
  box-shadow: 0 8px 36px rgba(26,61,109,0.18);
  border-radius: 13px;
  padding: 36px 38px 28px 38px;
  min-width: 320px;
  z-index: 12000;
  transform: translate(-50%, -50%) scale(0.97);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s, transform 0.23s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-modal h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 17px 0 16px 0;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  background: #F5F7FA;
  border-radius: 8px;
  padding: 10px 14px;
}
.cookie-category label {
  font-size: 1rem;
  color: #1A3D6D;
  flex: 1 1 auto;
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #5E9BD2;
}
.cookie-category.essential label {
  color: #b2b8c6;
}
.cookie-category.essential input[type="checkbox"] {
  accent-color: #5E9BD2;
}
.cookie-modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 10px;
  justify-content: flex-end;
}
.cookie-modal button {
  background: #1A3D6D;
  color: #fff;
  padding: 8px 20px;
  border-radius: 15px;
  border: none;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-modal button.secondary {
  background: #E9F1FB;
  color: #1A3D6D;
}
.cookie-modal button.secondary:hover, .cookie-modal button.secondary:focus {
  background: #cbe1fe;
  color: #1A3D6D;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: #5E9BD2;
  color: #fff;
}
.cookie-modal .close-modal {
  background: none;
  border: none;
  color: #1A3D6D;
  position: absolute;
  font-size: 2em;
  top: 18px;
  right: 20px;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 5px;
  transition: background 0.15s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: #e9f1fb;
}
@media (max-width: 520px) {
  .cookie-modal {
    min-width: 92vw;
    max-width: 98vw;
    padding: 20px 5vw 16px 5vw;
  }
}

/* SCROLLBAR STYLES (MINIMAL) */
::-webkit-scrollbar {
  width: 8px;
  background: #e4e7ec;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb {
  background: #CFE1F9;
  border-radius: 5px;
}

/* UTILITY CLASSES */
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.m-0 {
  margin: 0;
}
.mt-1 { margin-top: 8px; }
.mb-2 { margin-bottom: 16px; }
.mt-3 { margin-top: 24px; }

/* ACCESSIBILITY */
:focus-visible {
  outline: 2px solid #5E9BD2;
  outline-offset: 2px;
}

/* VISUAL SEPARATORS */
.hr {
  border: none;
  border-top: 1px solid #e4e7ec;
  margin: 28px 0 22px 0;
}

/* END */