/* =====================================================
   CSS RESET + BASE TYPOGRAPHY
   ===================================================== */

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;
  font-size: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.55;
  font-family: 'Roboto', Arial, sans-serif;
  color: #194569;
  background: #F5F6FA;
  min-height: 100vh;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =========================
   TYPOGRAPHY SCALE
   ========================= */
h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 2.25rem;
  line-height: 1.17;
  color: #194569;
  margin-bottom: 20px;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.22;
  color: #194569;
  margin-bottom: 16px;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.25;
  color: #194569;
  margin-bottom: 12px;
}
h4, h5, h6 { font-family: 'Montserrat', Arial, sans-serif; color: #194569; }
p, ul, ol, li {
  font-size: 1rem;
  color: #194569;
}
strong { font-weight: 600; }

/* =========================
   CONTAINER & BASE LAYOUT
   ========================= */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(25,69,105,0.04);
}

@media (max-width: 900px) {
  .container { padding: 0 12px; }
  .section { padding: 28px 8px; }
}

/* =========================
   HEADER
   ========================= */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(25,69,105,0.06);
  position: sticky;
  top: 0;
  z-index: 101;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}
header nav {
  display: flex;
  gap: 20px;
}
header nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 6px 2px;
  border-radius: 5px;
  color: #194569;
  transition: background 0.2s, color 0.2s;
}
header nav a:hover,
header nav a:focus {
  background: #F6B21118;
  color: #F6B211;
}
.cta-primary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 32px;
  font-size: 1rem;
  padding: 12px 32px;
  color: #fff;
  background: #194569;
  border: none;
  box-shadow: 0 2px 8px rgba(25,69,105,0.10);
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
  cursor: pointer;
}
.cta-primary:hover, .cta-primary:focus {
  background: #1a2838;
  color: #fff;
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 6px 18px rgba(25,69,105,0.15);
}

.mobile-menu-toggle {
  display: none;
}

@media (max-width: 900px) {
  header nav { display: none; }
  .cta-primary { display: none; }
  .mobile-menu-toggle {
    display: block;
    font-size: 2rem;
    background: none;
    border: none;
    color: #194569;
    margin-left: 12px;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 400;
  }
  .mobile-menu-toggle:hover { color: #F6B211; }
}

/* =========================
   MOBILE MENU
   ========================= */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 500;
  box-shadow: 0 6px 32px rgba(25,69,105,0.15);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.53,0.17,0.29,0.99);
  display: flex;
  flex-direction: column;
  padding: 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  margin: 22px 22px 8px 0;
  background: none;
  border: none;
  color: #194569;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover { color: #F6B211; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px 44px;
  justify-content: flex-start;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  padding: 10px 0;
  width: 100%;
  border-radius: 8px;
  background: none;
  color: #194569;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F6B21118;
  color: #F6B211;
}

@media (max-width: 900px) {
  .mobile-menu { display: flex; }
}

@media (min-width: 901px) {
  .mobile-menu { display: none !important; }
}

/* =========================
   HERO SECTION (HOME & THANK YOU)
   ========================= */
.hero, .thank-you-hero {
  background: linear-gradient(120deg, #F5F6FA 80%, #DDEAF2 100%);
  padding: 60px 0 40px 0;
  margin-bottom: 60px;
}
.hero .container, .thank-you-hero .container {
  display: flex;
  flex-direction: column;
}
.hero .content-wrapper, .thank-you-hero .content-wrapper {
  max-width: 670px;
  margin: 0 auto;
  align-items: flex-start;
  gap: 20px;
  text-align: left;
}
.hero h1, .thank-you-hero h1 {
  font-size: 2.7rem;
  font-weight: 800;
  color: #194569;
  margin-bottom: 10px;
}
.hero p, .thank-you-hero p {
  color: #194569;
  font-size: 1.22rem;
}
@media (max-width: 700px) {
  .hero, .thank-you-hero { padding: 36px 0 20px 0; }
  .hero h1, .thank-you-hero h1 { font-size: 1.4rem; }
  .hero .container, .thank-you-hero .container {
    padding-left: 4px;
    padding-right: 4px;
  }
}

/* =========================
   FLEX LAYOUT UTILITY CLASSES
   ========================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  flex: 1 1 260px;
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(25,69,105,0.07);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.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; align-items: flex-start; gap: 20px; }
  .content-grid { flex-direction: column; gap: 16px; }
}


/* =========================
   FEATURES, VALUES, TEAM, ETC.
   ========================= */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.feature-grid > div {
  flex: 1 1 230px;
  min-width: 220px;
  max-width: 280px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(25,69,105,0.07);
  padding: 28px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow 0.22s, border-color 0.2s;
  border: 1.5px solid #f5f6fa;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 22px rgba(25,69,105,0.13);
  border-color: #ddeaf2;
}
.feature-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 9px;
  object-fit: contain;
  background: #F5F6FA;
  border-radius: 10px;
  padding: 7px;
}

/* =========================
   FAQ ACCORDION STYLES
   ========================= */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.faq-accordion > div {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(25,69,105,0.06);
  padding: 20px 22px;
  transition: box-shadow 0.2s;
}
.faq-accordion > div:hover {
  box-shadow: 0 6px 18px rgba(25,69,105,0.13);
}
.faq-accordion h3 {
  font-size: 1.11rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #194569;
}
.faq-accordion p {
  font-size: 1rem;
  color: #194569;
}

/* =========================
   CTA SECTION
   ========================= */
.cta {
  background: #194569;
  border-radius: 16px;
  padding: 40px 20px;
  margin-bottom: 60px;
  box-shadow: 0 4px 22px rgba(25,69,105,0.09);
  color: #fff;
}
.cta .container { text-align: center; }
.cta h2, .cta p {
  color: #fff;
  margin-left: auto;
  margin-right: auto;
}
.cta .cta-primary {
  margin-top: 18px;
  background: #F6B211;
  color: #194569;
  box-shadow: 0 2px 8px rgba(246,178,17,0.10);
}
.cta .cta-primary:hover, .cta .cta-primary:focus {
  background: #cf9504;
  color: #fff;
  transform: scale(1.03);
}

/* =========================
   TESTIMONIALS
   ========================= */
.testimonials {
  background: #FAFBFC;
  padding: 40px 0;
  margin-bottom: 60px;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border-radius: 14px;
  padding: 20px 28px;
  min-width: 240px;
  flex: 1 1 260px;
  box-shadow: 0 2px 14px rgba(25,69,105,0.07);
  margin-bottom: 20px;
  transition: box-shadow 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px rgba(25,69,105,0.13);
}
.testimonial-card .stars {
  color: #F6B211;
  font-size: 1.13rem;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 1px;
}
.testimonial-card p {
  font-size: 1rem;
  color: #194569;
}
.testimonial-card .author {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.97rem;
  color: #7B8796;
  margin-top: 8px;
  font-style: italic;
  font-weight: 500;
}

@media (max-width: 900px) {
  .testimonial-slider {
    flex-direction: column;
    gap: 14px;
  }
}

/* =========================
   VALUES, STEPS, TEAM ETC. (ICONS LISTS)
   ========================= */
ul li, ol li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 10px;
  font-size: 1rem;
  color: #194569;
  background: none;
}
ul li img, ol li img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  margin-right: 5px;
}
ol li {
  counter-increment: list-item;
  position: relative;
}
ol li:before {
  content: '';
  display: none;
}

/* =========================
   CONTACT INFO & MAP
   ========================= */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 18px;
}
.contact-info p img {
  width: 21px; height: 21px; margin-right: 9px; vertical-align: middle;
  position: relative; top: 3px;
}
.map-location {
  margin-top: 10px;
  margin-bottom: 20px;
  font-size: 1rem;
}

/* =========================
   FOOTER
   ========================= */
footer {
  background: #F5F6FA;
  padding: 34px 0 18px 0;
  border-top: 1px solid #ddeaf2;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 42px;
  justify-content: space-between;
}
footer img { width: 60px; height: auto; margin-bottom: 10px; }
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 8px;
}
footer nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #194569;
  font-size: 1rem;
  transition: color 0.12s;
  opacity: 0.87;
}
footer nav a:hover, footer nav a:focus { color: #F6B211; opacity: 1; }
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.98rem;
  color: #194569;
}
.contact-details div {
  display: flex;
  align-items: center;
  gap: 6px;
}
.contact-details img {
  width: 18px; height: 18px; object-fit: contain;
}

@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 25px;
    align-items: flex-start;
  }
}

/* =========================
   COOKIE CONSENT BANNER
   ========================= */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #fff;
  border-top: 2px solid #ddeaf2;
  box-shadow: 0 -2px 24px rgba(25,69,105,0.08);
  padding: 24px 30px 18px 30px;
  z-index: 1200;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  justify-content: space-between;
  font-size: 1rem;
  transition: transform 0.32s cubic-bezier(0.36,0.02,0.53,1), opacity 0.32s;
}
.cookie-consent-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-banner .cookie-text {
  color: #194569;
  font-size: 1rem;
  max-width: 540px;
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  gap: 14px;
}
.cookie-consent-banner button {
  border: none;
  outline: none;
  border-radius: 30px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 26px;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, box-shadow 0.16s;
}
.cookie-consent-banner .accept-btn {
  background: #F6B211;
  color: #194569;
  font-weight: bold;
}
.cookie-consent-banner .accept-btn:hover, .cookie-consent-banner .accept-btn:focus {
  background: #cf9504;
  color: #fff;
}
.cookie-consent-banner .reject-btn {
  background: #ddeaf2;
  color: #194569;
  font-weight: 500;
}
.cookie-consent-banner .reject-btn:hover,
.cookie-consent-banner .reject-btn:focus {
  background: #bbb;
  color: #fff;
}
.cookie-consent-banner .settings-btn {
  background: #fff;
  border: 2px solid #F6B211;
  color: #194569;
  font-weight: 500;
}
.cookie-consent-banner .settings-btn:hover,
.cookie-consent-banner .settings-btn:focus {
  background: #F6B21118;
  color: #194569;
  border-color: #cf9504;
}
@media (max-width: 700px) {
  .cookie-consent-banner{
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
    padding: 21px 8px 13px 8px;
  }
  .cookie-consent-banner .cookie-buttons{
    flex-wrap: wrap;
    gap: 9px;
  }
}

/* =========================
   COOKIE PREFERENCE MODAL
   ========================= */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1300;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(25,69,105,0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 36px rgba(25,69,105,0.17);
  max-width: 410px;
  width: 92vw;
  padding: 32px 26px 20px 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.22rem;
  margin-bottom: 10px;
  color: #194569;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-categories label {
  font-size: 1rem;
  color: #194569;
  display: flex;
  align-items: center;
  gap: 13px;
  cursor: pointer;
}
.cookie-categories .cookie-switch {
  width: 36px;
  height: 20px;
  border-radius: 14px;
  background: #ddeaf2;
  position: relative;
  transition: background 0.16s;
  display: inline-block;
}
.cookie-categories input[type="checkbox"]:checked + .cookie-switch {
  background: #F6B211;
}
.cookie-categories .cookie-switch:after {
  content: '';
  display: block;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 2px; top: 2px;
  transition: left 0.18s;
}
.cookie-categories input[type="checkbox"]:checked + .cookie-switch:after {
  left: 18px;
}
.cookie-categories input[type="checkbox"] {
  display: none;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 18px; right: 18px;
  background: none;
  border: none;
  font-size: 1.38rem;
  color: #194569;
  cursor: pointer;
  opacity: 0.85;
  z-index: 2;
}
.cookie-modal .modal-close:hover { color: #F6B211; }
.cookie-modal .cookie-modal-actions {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-actions button {
  border: none;
  outline: none;
  border-radius: 30px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  padding: 9px 22px;
  cursor: pointer;
  background: #F6B211;
  color: #194569;
  font-weight: bold;
  transition: background 0.16s, color 0.16s;
}
.cookie-modal .cookie-modal-actions button:hover, .cookie-modal .cookie-modal-actions button:focus {
  background: #cf9504;
  color: #fff;
}

/* =========================
   MISC & UTILITY STYLES
   ========================= */
::-webkit-input-placeholder { color: #7B8796; }
::-moz-placeholder { color: #7B8796; }
:-ms-input-placeholder { color: #7B8796; }
::placeholder { color: #7B8796; }

hr {
  border: none;
  border-top: 1px solid #ddeaf2;
  margin: 34px 0;
}

/* Spacing for all list blocks */
ul, ol {
  margin-bottom: 28px;
}

/* Card spacing utility */
.card-container > .card, .feature-grid > div { margin-bottom: 20px; }

/* Visual feedback for buttons/links */
button:focus, .cta-primary:focus, a:focus {
  outline: 2px solid #F6B211;
  outline-offset: 2px;
}

/* Subtle hover effect for all li blocks with icons */
ul li:hover, ol li:hover {
  background: #F6B21114;
  border-radius: 5px;
  transition: background 0.18s;
}

/* =================================
   RESPONSIVE HEADINGS AND LAYOUTS
   ================================= */
@media (max-width: 600px) {
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.1rem; }
}

/********************************************
   SCANDINAVIAN CLEAN - VISUALS & EFFECTS
*********************************************/
.section, .feature-grid > div, .card, .testimonial-card, .faq-accordion > div {
  box-shadow: 0 2px 12px rgba(25,69,105,0.048);
  border-radius: 14px;
  background: #fff;
}

/********************************************
 FLEXBOX GAP/PADDING SPACING CONSISTENCY
*********************************************/
.section, .testimonials, .cta, .feature-grid, .card-container, .content-grid, .faq-accordion {
  margin-bottom: 60px;
}
.card-container, .feature-grid, .testimonial-slider, .content-grid, .faq-accordion {
  gap: 24px;
}
.card, .testimonial-card {
  margin-bottom: 20px;
}
.text-image-section {
  gap: 30px;
}
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/********************************************
   FORMS - (for future development)
*********************************************/
input, select, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 14px;
  border: 1.5px solid #ddeaf2;
  border-radius: 6px;
  margin-bottom: 14px;
  background: #FAFBFC;
  transition: border-color 0.18s, box-shadow 0.18s;
}
input:focus, select:focus, textarea:focus {
  border-color: #F6B211;
  box-shadow: 0 2px 10px rgba(246,178,17,0.12);
  outline: none;
}

/********************************************
   TRANSITIONS, MICRO-INTERACTIONS
*********************************************/
.card, .feature-grid > div, .testimonial-card, .faq-accordion > div, .cta-primary, .cookie-consent-banner, .cookie-modal {
  transition: box-shadow 0.18s, background 0.18s, border-color 0.18s, color 0.15s, transform 0.11s;
}

@media (max-width: 600px) {
  .card-container { flex-direction: column; gap: 15px; }
  .feature-grid { flex-direction: column; gap: 13px; }
  .testimonial-slider { flex-direction: column; gap: 14px; }
  .content-grid { flex-direction: column; gap: 13px; }
}
