/* RESET & BASE TYPOGRAPHY */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; margin: 0; padding: 0; border: 0; font: inherit; vertical-align: baseline; }
body {
  background: #F8F9FA;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #204052;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #204052;
  font-weight: 700;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.5rem; margin-bottom: 12px; }
h4 { font-size: 1.2rem; margin-bottom: 10px; }

p, ul, ol, table { margin-bottom: 16px; }
ul, ol { padding-left: 24px; }
li { margin-bottom: 10px; }
a { color: #204052; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #F6C244; }

img { max-width: 100%; height: auto; }

/* FLEX/LAYOUT PRESETS */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

.section { margin-bottom: 60px; padding: 40px 20px; background: #fff; border-radius: 28px; box-shadow: 0 4px 32px rgba(32,64,82,0.07); }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; background: #fff; border-radius: 24px; box-shadow: 0 2px 16px rgba(246,194,68,0.14); padding: 24px; transition: box-shadow .3s cubic-bezier(.5,-0.2,.2,1); }
.card:hover, .card:focus-within { box-shadow: 0 4px 32px rgba(246,194,68,0.20); }
.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; flex-direction: column; align-items: flex-start; gap: 20px; padding: 20px; background: #f9f7f4; border-radius: 24px; box-shadow: 0 2px 12px rgba(32,64,82,0.06); margin-bottom: 20px; min-width: 220px; max-width: 460px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; padding: 18px 16px; background: #f3f7fb; border-radius: 18px; }

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.text-section { display: flex; flex-direction: column; gap: 14px; }

/* HEADER & NAVIGATION STYLES */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 1px 12px rgba(246,194,68,0.07);
  z-index: 11;
}
header nav {
  display: flex;
  align-items: center;
  padding: 16px 0;
  justify-content: space-between;
  gap: 28px;
  position: relative;
}
header nav > a img {
  height: 40px;
  width: auto;
  vertical-align: middle;
}
header nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin: 0;
}
header nav ul li {
  display: flex;
  align-items: center;
}
header nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 4px 10px;
  border-radius: 7px;
  transition: background 0.21s, color 0.20s;
}
header nav ul li a:hover, header nav ul li a:focus {
  background: #F6C244;
  color: #204052;
  outline: none;
}
header .cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #F6C244;
  color: #204052;
  padding: 12px 26px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 2px 12px rgba(246,194,68,0.18);
  transition: background 0.17s, box-shadow 0.17s, color 0.14s, transform .13s;
  position: relative;
  cursor: pointer;
  border: none;
  outline: none;
  margin-left: 12px;
}
header .cta-btn:hover, header .cta-btn:focus {
  background: #FFD861;
  color: #204052;
  box-shadow: 0 4px 24px rgba(246,194,68,0.44);
  transform: translateY(-3px) scale(1.04) rotate(-2deg);
}

/* --- Hamburger menu for mobile --- */
.mobile-menu-toggle {
  display: none;
  background: #F6C244;
  color: #204052;
  font-size: 2rem;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 1101;
  border: none;
  box-shadow: 0 2px 8px rgba(246,194,68,0.20);
  position: relative;
  transition: background .13s, color .12s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover { background: #FFD861; color: #204052; }
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.8,-0.17,.56,1.03);
  box-shadow: -4px 0 16px 0 rgba(32,64,82,0.07);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 36px 28px 18px 34px;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  background: #F6C244;
  color: #204052;
  border-radius: 50%;
  font-size: 2rem;
  width: 46px;
  height: 46px;
  border: none;
  position: absolute;
  top: 22px; right: 24px;
  cursor: pointer;
  transition: background .16s, color .12s;
  z-index: 1202;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { background: #FFD861; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 38px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  color: #204052;
  padding: 14px 6px;
  border-radius: 12px;
  font-weight: bold;
  background: none;
  transition: background 0.18s, color 0.16s;
  text-align: left;
  width: 100%;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus { background: #FFD861; color: #204052; }

/* MAIN SECTIONS & FLEX LAYOUTS */
main > section, .section { margin-bottom: 60px; padding: 40px 20px; background: #fff; border-radius: 28px; box-shadow: 0 4px 32px rgba(32,64,82,0.07); }
main > section:last-child, .section:last-child { margin-bottom: 0; }

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fdf7e4;
  border-radius: 22px;
  box-shadow: 0 2px 12px rgba(246,194,68,0.10);
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 480px;
  color: #1b3042;
}
.testimonial-card p { font-size: 1.06rem; font-style: italic; color: #1b3042; }
.testimonial-card div { font-size: 1rem; font-weight: bold; color: #234253; }

.feature-item img, .testimonial-card img {
  width: 42px; height: 42px;
  border-radius: 12px; background: #fffbe7; margin-right: 8px;
}

/* TABLES */
table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  background: #fffefb;
  box-shadow: 0 1px 8px rgba(246,194,68,0.06);
  margin-bottom: 28px;
  border-radius: 16px;
  font-size: 1rem;
  overflow: hidden;
}
table th, table td {
  padding: 16px 14px;
}
table th {
  background: #F6C244;
  color: #204052;
  text-align: left;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
}
table tr:nth-child(even) td { background: #faf6e8; }
table td { border-bottom: 1px solid #f3e2a3; }
table tr:last-child td { border-bottom: none; }

/* BUTTONS */
.cta-btn, button, input[type="submit"] {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #F6C244;
  color: #204052;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1.12rem;
  cursor: pointer;
  border: none;
  outline: none;
  box-shadow: 0 2px 12px rgba(246,194,68,0.08);
  transition: background .17s, box-shadow .15s, transform .12s, color .13s;
}
.cta-btn:hover, .cta-btn:focus, button:hover, button:focus, input[type="submit"]:hover {
  background: #FFD861;
  color: #204052;
  box-shadow: 0 4px 22px rgba(32,64,82,0.17);
  transform: translateY(-3px) scale(1.03);
}

/* FORMS & INPUTS (Not directly present but for future-proof) */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 10px;
  padding: 10px 14px;
  background: #f9fbfc;
  border: 1px solid #e7dbb5;
  color: #204052;
  margin-bottom: 18px;
  box-shadow: 0 1px 5px rgba(246,194,68,0.04);
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #f6c244;
  outline: none;
  background: #fffbe8;
}

/* FOOTER */
footer {
  background: #204052;
  color: #F8F9FA;
  padding: 34px 0 20px 0;
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 26px;
}
footer nav {
  flex: 1 0 220px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
footer nav a {
  color: #FCDE8C;
  font-size: 1rem;
  text-decoration: underline;
  transition: color .14s;
}
footer nav a:hover, footer nav a:focus { color: #FFD861; }
footer img {
  margin-bottom: 12px;
  max-width: 54px;
}
footer div > div {
  font-size: .97rem;
  line-height: 1.4;
  color: #F8F9FA;
  margin-top: 6px;
}

/* PLAYFUL & DYNAMIC EFFECTS */
.section, .card, .testimonial-card, footer {
  transition: box-shadow .30s cubic-bezier(.7,.2,.39,.99), background .20s;
}
h1, h2, h3 {
  position: relative;
  z-index: 2;
}
h1:after, h2:after {
  content: '';
  display: inline-block;
  margin-left: .3em;
  vertical-align: bottom;
  width: 34px; height: 12px;
  background: #FFD861;
  border-radius: 8px;
  opacity: 0.65;
  position: absolute;
  left: -10px; bottom: -7px;
  z-index: -1;
  animation: playfulLightBar 2.2s infinite alternate cubic-bezier(.86,-0.41,.3,1.24);
}
h2:after {
  width: 24px; height: 8px; left: -4px; bottom: -5px;
}
@keyframes playfulLightBar {
  0% { opacity: 0.38; transform: scaleX(.97) rotate(-2deg); }
  100% { opacity: 0.80; transform: scaleX(1.16) rotate(1.2deg); }
}

.cta-btn {
  position: relative;
  overflow: hidden;
}
.cta-btn:before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: rgba(255,255,255,0.22);
  opacity: 0;
  transform: rotate(20deg) translateY(30px);
  pointer-events: none;
  transition: opacity .18s, transform .18s;
}
.cta-btn:hover:before, .cta-btn:focus:before {
  opacity: 1; transform: rotate(10deg) translateY(-5px);
}

/* ANIMATIONS FOR FUN AND ENERGY */
@keyframes playfulBounce {
  0%,100%{ transform:translateY(0); }
  40%{ transform:translateY(-12px); }
  70%{ transform:translateY(2px) scale(1.02); }
}
.card:hover, .testimonial-card:hover {
  animation: playfulBounce 0.9s cubic-bezier(.61,-0.21,.7,1.2) 1;
}

/* ICON STYLES */
ul li img, ol li img {
  margin-right: 10px;
  width: 36px;
  height: 36px;
  vertical-align: middle;
  border-radius: 12px;
  background: #fffbe7;
  box-shadow: 0 1px 6px rgba(246,194,68,0.19);
}

/* LISTS IN FEATURES, ULTRA PLAYFUL */
ul li b { color: #204052; font-family: 'Montserrat', Arial, sans-serif; }
ul li, ol li { font-size: 1.05rem; position: relative; padding-left: 2px; }

/* BREADCRUMB / STEPPER-LIST for lists using OL: playful numbers */
ol li {
  counter-increment: playfulList;
  position: relative;
  margin-bottom: 12px;
}
ol { counter-reset: playfulList; }
ol li:before {
  content: counter(playfulList) '.';
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #F6C244;
  margin-right: 7px;
  font-size: 1.1em;
}

/* RESPONSIVE DESIGN */
@media (max-width: 991px) {
  header nav ul { gap: 16px; }
  .container { max-width: 960px; }
}
@media (max-width: 768px) {
  .container { max-width: 99%; padding: 0 7px; }
  main > section, .section { padding: 26px 6px; border-radius: 18px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.17rem; }
  .content-wrapper, .card-container, .content-grid, .text-image-section {
    flex-direction: column !important;
    gap: 15px !important;
    align-items: flex-start !important;
  }
  .testimonial-card {
    min-width: 0;
    max-width: 100%;
    padding: 13px;
  }
  footer .container {
    flex-direction: column;
    gap: 16px;
  }

  /* Header Mobile Navigation */
  header nav ul, header .cta-btn { display: none; }
  .mobile-menu-toggle { display: flex !important; align-items: center; justify-content: center; }
}
@media (max-width: 520px) {
  h1 { font-size: 1.32rem; }
  h2 { font-size: 1.07rem; }
  .container { padding: 0 3px; }
}

/* SHOW MOBILE MENU (JS toggles .open class) */
.mobile-menu { display: flex; }
.mobile-menu:not(.open) { pointer-events: none; }

/* --- Cookie Consent Banner --- */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  right: 0;
  z-index: 10000;
  background: #fffbe7;
  color: #204052;
  box-shadow: 0 -2px 22px rgba(246,194,68,0.22);
  padding: 26px 18px 16px 22px;
  border-radius: 22px 22px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  animation: bannerSlideIn .4s cubic-bezier(.9,-0.17,.51,1.02);
}
@keyframes bannerSlideIn {
  from { opacity: 0; transform: translateY(44px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner__text { font-size: 1rem; max-width: 540px; }
.cookie-banner__buttons {
  display: flex; gap: 14px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #F6C244;
  color: #204052;
  font-weight: 700;
  padding: 9px 19px;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  font-size: 1.02rem;
  box-shadow: 0 1px 7px rgba(246,194,68,0.13);
  transition: background 0.13s, color .13s, box-shadow .14s;
}
.cookie-banner button:hover, .cookie-banner button:focus { background: #FFD861; }

/* --- Cookie Preferences Modal --- */
.cookie-modal__backdrop {
  display: none;
  position: fixed;
  z-index: 12000;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(32,64,82,0.18);
  align-items: center;
  justify-content: center;
  transition: opacity .22s;
}
.cookie-modal__backdrop.open { display: flex; }
.cookie-modal {
  background: #fffefb;
  border-radius: 18px;
  box-shadow: 0 6px 48px rgba(32,64,82,0.17);
  min-width: 320px; max-width: 94vw;
  padding: 36px 28px 28px 26px;
  position: relative;
  animation: modalSlideIn .3s cubic-bezier(.8,-0.1,.25,1.25);
}
@keyframes modalSlideIn {
  from { opacity: 0; transform: translateY(40px) scale(.88); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal__close {
  position: absolute;
  right: 14px; top: 14px;
  background: #F6C244;
  color: #204052;
  border-radius: 50%;
  width: 38px; height: 38px;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background .12s;
  text-align: center;
  line-height: 38px;
}
.cookie-modal__close:hover, .cookie-modal__close:focus { background: #FFD861; }
.cookie-modal h3 {
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.cookie-prefs-list {
  list-style: none;
  margin-top: 8px;
  margin-bottom: 14px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-pref-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-pref-item .custom-switch {
  margin-left: auto;
}
.custom-switch input[type="checkbox"] {
  display: none;
}
.custom-switch label {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
  background: #f3e2a3;
  border-radius: 13px;
  cursor: pointer;
  transition: background .18s;
}
.custom-switch label:before {
  content: '';
  position: absolute;
  left: 2px; top: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #FFD861;
  transition: left .18s, background .16s;
  box-shadow: 0 1px 5px rgba(246,194,68,0.11);
}
.custom-switch input:checked + label:before {
  left: 20px;
  background: #F6C244;
}
.custom-switch input:checked + label {
  background: #f6c244;
}
.cookie-pref-item .category-name { font-weight: bold; }
.cookie-pref-item .category-desc { font-size: .98em; color: #4867af; margin-left: 6px; }
.cookie-pref-item[aria-disabled="true"] {
  opacity: 0.60;
  pointer-events: none;
}
.cookie-modal__actions {
  display: flex; gap: 14px; margin-top: 24px;
  flex-wrap: wrap;
}
.cookie-modal__actions button {
  font-size: 0.98rem;
  padding: 8px 17px;
}

@media (max-width: 700px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cookie-banner__text { margin-bottom: 12px; }
  .cookie-banner__buttons { width: 100%; justify-content: flex-start; }
  .cookie-modal { padding: 26px 9px 20px 9px; }
}

/* OTHER ACCESSIBILITY & OVERRIDES */
:focus {
  outline: 2px solid #F6C244;
  outline-offset: 2px;
}
::-webkit-input-placeholder { color: #9ea9b5; }
::-moz-placeholder { color: #9ea9b5; }
:-ms-input-placeholder { color: #9ea9b5; }
::placeholder { color: #9ea9b5; }

[hidden], .hidden { display: none !important; }

/* ELEVATE THE BRAND WITH COLOR POPS IN ELEMENTS */
.section:nth-child(2n) { background: #fafdff; box-shadow: 0 4px 32px rgba(32,64,82,0.06); }
.section:nth-child(2n) h2:after{ background: #B1E1FF; }
.card-container .card:nth-child(2n) { background: #fdf7e4; box-shadow: 0 4px 12px rgba(246,194,68,0.10); }
.card-container .card:nth-child(3n) { background: #e9f1fd; box-shadow: 0 2px 12px rgba(177,225,255,0.09); }

/* "PLAYFUL" FONT WEIGHT & ACCENT FONT, IF NOT LOADED via <link> — suggest fallback */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 900;
  src: local('Montserrat'), url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;900&display=swap');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400 700;
  src: local('Open Sans'), url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap');
}

/* Add a small wobble on icons for playful look */
ul li img, ol li img {
  animation: playfulWobble 2.7s infinite cubic-bezier(.22,.37,.73,1.01);
}
@keyframes playfulWobble {
  0% { transform: rotate(-7deg) scale(1); }
  5% { transform: rotate(-11deg) scale(1.06); }
  8% { transform: rotate(5deg) scale(1.09); }
  15% { transform: rotate(-4deg) scale(1.07); }
  20% { transform: rotate(0) scale(1); }
  100% { transform: rotate(0) scale(1); }
}

/* VISUAL HIERARCHY (sizes, weights) */
h1, h2, .cta-btn { letter-spacing: 1.2px; }
h1 { font-size: 2.5rem; font-weight: 900; }
h2 { font-size: 2rem; font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }

/* White space for cards/sections */
.section, .card, .testimonial-card, .feature-item {
  margin-bottom: 20px;
}
.section:last-child, .card:last-child, .testimonial-card:last-child, .feature-item:last-child { margin-bottom: 0; }

/* --- END --- */
