/* =====================
   CSS 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, 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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}
body {
  line-height: 1.6;
  background-color: #F5F6FA; /* Accent */
  color: #20426A; /* Primary */
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section {
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}

/* =====================================
   BASE TYPOGRAPHY & SCANDINAVIAN STYLE
======================================== */
:root {
  --color-primary: #20426A;
  --color-secondary: #659D5E;
  --color-accent: #F5F6FA;
  --color-white: #fff;
  --color-gray-light: #E7ECEF;
  --color-gray-dark: #33475B;
  --color-success: #659D5E;
  --color-error: #C34436;
  --shadow-main: 0 3px 16px 0 rgba(32,66,106,0.06);
  --radius: 12px;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  line-height: 1.3;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.33rem;
  line-height: 1.35;
  margin-bottom: 12px;
}
p, ul li, ol li {
  font-family: var(--font-body);
  font-size: 1.06rem;
  margin-bottom: 12px;
  color: #33475B;
}
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }
strong, b { font-weight: 700; }

.text-section ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 20px;
}
.text-section ul li { margin-bottom: 8px; }
.text-section p {
  margin-bottom: 16px;
}
/* Additional simple styling for icons in text */
li img, p img { vertical-align: middle; margin-right: 8px; }

/* ========== GLOBAL UTILITY CLASSES ========== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: var(--radius);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-white);
  box-shadow: var(--shadow-main);
  border-radius: var(--radius);
  padding: 28px 24px 24px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.25s;
}
.card:hover {
  box-shadow: 0 8px 28px 0 rgba(32,66,106,0.12);
}
.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: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-main);
  margin-bottom: 20px;
  font-style: italic;
  position: relative;
  transition: box-shadow 0.22s;
  min-width: 0;
}
.testimonial-card p {
  color: #20426A;
  font-size: 1.15rem;
  font-family: var(--font-body);
  margin-bottom: 0;
  font-style: italic;
}
.testimonial-card span {
  color: #659D5E;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px 0 rgba(32,66,106,0.15);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  padding: 24px 18px;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px 0 rgba(32,66,106,0.04);
  transition: box-shadow 0.18s, transform 0.2s;
}
.feature-item img { width: 38px; height: 38px; margin-bottom: 6px; }
.feature-item:hover {
  box-shadow: 0 6px 28px 0 rgba(101,157,94,0.14);
  transform: translateY(-4px) scale(1.025);
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}

.faq-mini {
  background: var(--color-gray-light);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 20px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-accordion > div {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 1px 8px 0 rgba(32,66,106,0.05);
  padding: 20px;
  transition: box-shadow 0.2s;
}
.faq-accordion > div:hover {
  box-shadow: 0 4px 22px 0 rgba(32,66,106,0.11);
}

.school-list h3 {
  margin-top: 14px;
  margin-bottom: 8px;
  color: var(--color-secondary);
}
.school-list ul {
  padding-left: 20px;
  margin-bottom: 5px;
}

.school-categories {
  background: #fff;
  box-shadow: var(--shadow-main);
  border-radius: var(--radius);
  padding: 16px 12px;
  margin-top: 20px;
}
.school-categories ul li {
  font-family: var(--font-display);
  color: var(--color-primary);
  margin-bottom: 8px;
}

.concept-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 22px;
}
.concept-grid > div {
  flex: 1 1 240px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 1px 8px 0 rgba(32,66,106,0.05);
  padding: 22px 16px;
}

/* ============ BUTTONS, LINKS, CTA =========== */
.cta-btn, .content-wrapper a.cta-btn {
  display: inline-block;
  padding: 14px 30px;
  background: var(--color-secondary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 26px;
  box-shadow: 0 2px 14px 0 rgba(101,157,94,0.08);
  cursor: pointer;
  text-align: center;
  letter-spacing: 0.01em;
  transition: background 0.2s, box-shadow 0.2s, transform 0.18s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #20426A;
  color: #fff;
  box-shadow: 0 8px 32px 0 rgba(32,66,106,0.16);
  transform: translateY(-2px) scale(1.03);
}
.content-wrapper a:not(.cta-btn) {
  color: var(--color-secondary);
  font-weight: 500;
  transition: color 0.2s;
}
.content-wrapper a:not(.cta-btn):hover, .content-wrapper a:not(.cta-btn):focus {
  color: var(--color-primary);
  text-decoration: underline;
}

/**********************************
  HEADER & NAVIGATION
***********************************/
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(32,66,106,0.04);
  display: flex;
  align-items: center;
  padding: 0 24px;
  height: 80px;
  position: sticky;
  top: 0;
  z-index: 50;
}
header > a img {
  height: 46px;
  margin-right: 34px;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-left: 12px;
  flex-grow: 1;
}
.main-nav a {
  color: var(--color-primary);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  padding: 10px 6px;
  border-radius: 4px;
  transition: background 0.13s, color 0.17s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}
header .cta-btn {
  margin-left: 18px;
}

/********** MOBILE NAVIGATION ***********/
.mobile-menu-toggle {
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 2.2rem;
  cursor: pointer;
  display: none;
  align-items: center;
  padding: 6px;
  z-index: 60;
  border-radius: 8px;
  position: relative;
  transition: background 0.14s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-gray-light);
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 94vw;
  max-width: 380px;
  height: 100vh;
  background: #fff;
  z-index: 1002;
  box-shadow: -4px 0 28px 0 rgba(32,66,106,0.17);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.85,0.12,0.19,1.04);
  display: flex;
  flex-direction: column;
  padding: 24px 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 0 22px 16px 0;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.14s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 8px 34px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.13rem;
  color: var(--color-primary);
  padding: 10px 2px;
  border-radius: 6px;
  transition: background 0.16s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}

@media (max-width: 1100px) {
  .container {
    max-width: 960px;
  }
}
@media (max-width: 900px) {
  .container { max-width: 680px; }
}
@media (max-width: 768px) {
  header {
    padding: 0 9px;
    height: 66px;
  }
  header > a img { height: 38px; margin-right: 20px; }
  .main-nav,
  header .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
    margin-left: auto;
  }
}

/* Show menu overlay background on open */
.mobile-menu-backdrop {
  display: none;
}
.mobile-menu.open ~ .mobile-menu-backdrop {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: rgba(32,66,106,0.13);
  animation: fadeIn 0.18s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/***********************
  MAIN CONTENT STYLES
************************/
main {
  min-height: 60vh;
  background-color: var(--color-accent);
  padding-top: 14px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: var(--radius);
  box-shadow: 0 1px 7px 0 rgba(32,66,106,0.03);
}
.section:last-child, section:last-child {
  margin-bottom: 0;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/******** QUICK LINKS & SNIPPETS ******/
.quick-links {
  margin-top: 8px;
  font-size: 1.04rem;
  color: var(--color-secondary);
  display: flex;
  gap: 8px;
}
.quick-links a {
  font-weight: 600;
  transition: color 0.14s;
}
.quick-links a:hover, .quick-links a:focus {
  color: var(--color-primary);
}
.contact-snippet {
  font-size: 1.11rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--color-primary);
}
.contact-snippet img {
  width: 22px;
  vertical-align: middle;
  margin-right: 7px;
}

/*****************
   FOOTER SECTION
******************/
footer {
  background: #fff;
  padding: 38px 0 22px 0;
  box-shadow: 0 -2px 12px 0 rgba(32,66,106,0.04);
  margin-top: 48px;
  border-top: 2px solid var(--color-accent);
}
.footer-nav {
  display: flex;
  gap: 24px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 0.98rem;
  border-radius: 4px;
  padding: 7px 8px;
  transition: background 0.13s, color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}
.footer-contact {
  color: #33475B;
  font-size: 1rem;
  font-family: var(--font-body);
  margin-top: 8px;
}
.footer-contact img {
  width: 20px;
  vertical-align: middle;
  margin-right: 7px;
}

/*******************
   COOKIE BANNER
********************/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  border-top: 2px solid var(--color-accent);
  box-shadow: 0 -3px 18px 0 rgba(32,66,106,0.11);
  z-index: 1200;
  padding: 20px 10px 16px 10px;
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-family: var(--font-body);
  transition: transform 0.32s cubic-bezier(0.77,0,0.18,1);
}
.cookie-banner .banner-text {
  max-width: 680px;
  color: var(--color-primary);
}
.cookie-banner .banner-actions {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-banner button {
  min-width: 125px;
  padding: 10px 20px;
  border-radius: 22px;
  font-family: var(--font-display);
  font-weight: 600;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(32,66,106,0.07);
  transition: background 0.16s,color 0.13s,box-shadow 0.16s;
}
.cookie-banner .accept {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-banner .accept:hover,.cookie-banner .accept:focus {
  background: var(--color-primary);
}
.cookie-banner .reject {
  background: #E7ECEF;
  color: var(--color-primary);
}
.cookie-banner .reject:hover,.cookie-banner .reject:focus {
  background: #F2F4F7;
  color: var(--color-secondary);
}
.cookie-banner .settings {
  background: #fff;
  color: var(--color-primary);
  border: 1px solid var(--color-secondary);
}
.cookie-banner .settings:hover,.cookie-banner .settings:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}
.cookie-banner.hide {
  transform: translateY(120%);
}

/* ============ COOKIE MODAL ============ */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1300;
  inset: 0;
  background: rgba(32,66,106,0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.25s;
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius);
  max-width: 370px;
  width: 92vw;
  box-shadow: 0 8px 36px 0 rgba(32,66,106,0.17);
  padding: 30px 26px 20px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-family: var(--font-body);
  animation: modalIn 0.3s;
}
@keyframes modalIn {
  from { transform: translateY(60px) scale(0.97); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 10px 0 16px 0;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}
.cookie-category label {
  font-family: var(--font-body);
  font-size: 1rem;
}
.cookie-category .always-on {
  color: var(--color-secondary);
  font-size: 0.97rem;
  margin-left: 5px;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 6px;
  justify-content: flex-end;
}
.cookie-modal button {
  min-width: 110px;
  padding: 8px 12px;
  border-radius: 18px;
  font-family: var(--font-display);
  font-weight: 600;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(32,66,106,0.06);
  transition: background 0.15s, color 0.11s;
}
.cookie-modal .save {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-modal .save:hover, .cookie-modal .save:focus {
  background: var(--color-primary);
}
.cookie-modal .cancel {
  background: #E7ECEF;
  color: var(--color-primary);
}
.cookie-modal .cancel:hover, .cookie-modal .cancel:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}
.cookie-modal .close-x {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--color-primary);
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.13s;
}
.cookie-modal .close-x:hover, .cookie-modal .close-x:focus {
  background: var(--color-accent);
}

/******************************************
   MEDIA QUERIES (Mobile First Responsive)
*******************************************/
@media (max-width: 900px) {
  .feature-grid, .concept-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .testimonial-card, .card {
    flex-direction: column;
    gap: 12px;
    padding: 18px 12px;
  }
}
@media (max-width: 768px) {
  .section, section {
    padding: 25px 8px;
    margin-bottom: 34px;
    border-radius: 8px;
  }
  .content-wrapper,
  .text-section {
    gap: 12px;
    padding: 0 2px;
  }
  .feature-grid,
  .concept-grid,
  .content-grid {
    flex-direction: column;
    gap: 15px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .testimonial-card { gap: 9px; }
  .card,
  .faq-accordion > div {
    padding: 14px 7px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 18px 6px 14px 6px;
  }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.16rem; }
  h3 { font-size: 1.02rem; }
  .container { padding: 0 5px; }
  .footer-contact { font-size: 0.95rem; }
  .cookie-banner .banner-actions button,
  .cookie-banner button {
    width: 100%;
    min-width: 0;
    margin-bottom: 4px;
  }
  .cookie-modal {
    padding: 17px 5vw 18px 5vw;
    font-size: 0.97rem;
  }
}

/*********************
  MICRO-INTERACTIONS
**********************/
.card, .feature-item, .testimonial-card, .faq-accordion > div {
  transition: box-shadow 0.22s, transform 0.18s;
}
.card:active,
.feature-item:active,
.testimonial-card:active {
  transform: scale(0.98);
}
.cta-btn:active {
  transform: scale(0.97);
}
.testimonial-card:focus-within {
  box-shadow: 0 0 0 3px var(--color-secondary);
}

/******************
    SCROLLBARS
*******************/
html {
  scrollbar-width: thin;
  scrollbar-color: var(--color-secondary) #eee;
}
::-webkit-scrollbar {
  width: 10px;
  background: #E7ECEF;
}
::-webkit-scrollbar-thumb {
  background: var(--color-secondary);
  border-radius: 9px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/********************************************
  CUSTOM CHECKBOXES & TOGGLES for Cookies UI
*********************************************/
.cookie-modal input[type="checkbox"] {
  accent-color: var(--color-secondary);
  width: 1.2em;
  height: 1.2em;
}
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #E7ECEF;
  border-radius: 22px;
  transition: background 0.22s;
}
.toggle-switch input:checked + .toggle-slider {
  background-color: var(--color-secondary);
}
.toggle-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px; bottom: 3px;
  background-color: #fff;
  border-radius: 50%;
  transition: transform 0.20s;
}
.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(16px);
}

/* ==========================
   ACCESSIBLE FOCUS INDICATOR
============================= */
a:focus, button:focus, .cta-btn:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/************************************************
        PRINT SUPPORT (optional, minimal)
*************************************************/
@media print {
  header, footer, .cookie-banner, .mobile-menu, .mobile-menu-toggle { display: none !important; }
  section, .container, main { box-shadow: none !important; background: #fff !important; color: #20426A; }
}

/* =============================
   END OF EDUCATION BRIDGE STYLES
=============================== */
