/* ---------------------
   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, 
main, 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-size: 16px;
  scroll-behavior: smooth;
}
body {
  background: #F5F7FA;
  color: #1A2233;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  line-height: 1.55;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
  padding: 0;
  appearance: none;
}
a {
  color: #225587;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #DBA506;
}

ul, ol {
  list-style: none;
}

/* ---------------------
   BASE TYPOGRAPHY
--------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #225587;
  font-weight: 800;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.125rem;
}
p, li, blockquote {
  font-size: 1rem;
  color: #334259;
}
blockquote {
  font-style: italic;
  color: #2A3050;
  padding-left: 18px;
  border-left: 5px solid #DBA506;
  background: #fff7e2;
  border-radius: 8px;
}
strong {
  font-weight: 700;
}

/* Fun & Playful Font Tweaks */
h1, h2, h3 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  text-shadow: 1px 3px 0 rgba(219,165,6, 0.08);
  /* little jumpy for playful dynamic */
  animation: popIn 0.8s cubic-bezier(.07,.82,.17,1);
}

@keyframes popIn {
  0% { opacity: 0; transform: scale(0.95) translateY(16px); }
  80% { opacity: 1; transform: scale(1.03) translateY(-4px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* ---------------------
   LAYOUT CONTAINERS
--------------------- */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 18px;
}

.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 28px rgba(34,85,135,0.05);
  position: relative;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 9px rgba(34,85,135,0.09);
  padding: 24px 16px;
  margin-bottom: 20px;
  position: relative;
  transition: transform .18s cubic-bezier(.7,1.6,.58,.98), box-shadow .18s;
  will-change: transform;
}
.card:hover {
  transform: translateY(-7px) scale(1.03) rotate(-2deg);
  box-shadow: 0 8px 40px rgba(34,85,135,.10);
}

.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: #F5F7FA;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(34,85,135,0.06);
  min-width: 240px;
  max-width: 480px;
  color: #1A2233;
  margin-bottom: 20px;
  transition: box-shadow .22s, transform .22s;
}
.testimonial-card blockquote {
  color: #28304A;
  background: #FFE9AD;
  border-left-color: #225587;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px rgba(219,165,6,0.13);
  transform: scale(1.02) rotate(0.5deg);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.inforgraphic, .infographic {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 18px 0 8px 0;
}

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

.footer-contact {
  margin-top: 16px;
  font-size: 0.97rem;
  color: #2A3050;
}

/* ----------------------
   HEADER & NAVIGATION
---------------------- */
header {
  background: #225587;
  color: #fff;
  position: relative;
  z-index: 10;
  box-shadow: 0 4px 24px rgba(34,85,135,0.05);
  margin-bottom: 0;
}
.header .container,
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
}
header .container {
  min-height: 68px;
}

header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
header nav a {
  color: #fff;
  padding: 10px 14px;
  font-size: 1rem;
  border-radius: 22px;
  font-weight: 600;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  background: transparent;
  transition: background .16s, color .13s, box-shadow .15s;
}
header nav a:hover,
header nav a:focus {
  background: #DBA506;
  color: #225587;
  box-shadow: 0 1px 15px rgba(219,165,6,0.14);
}
.header .cta-btn {
  background: #DBA506;
  color: #fff;
  border-radius: 26px;
  padding: 12px 30px;
  font-size: 1.17rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  margin-left: 18px;
  box-shadow: 0 2px 18px rgba(219,165,6,0.14);
  transition: background .15s, color .13s, box-shadow .17s, transform 0.16s;
  position: relative;
  cursor: pointer;
}
.header .cta-btn:hover,
.header .cta-btn:focus {
  background: #225587;
  color: #fff;
  box-shadow: 0 6px 36px rgba(34,85,135,0.14);
  transform: scale(1.05) rotate(-1deg);
}

header a img {
  height: 40px;
}

/* --------------------
   FOOTER
--------------------- */
footer {
  background: #fff;
  color: #225587;
  border-top: 2px solid #EDEDED;
  margin-top: 60px;
  padding: 34px 0 14px 0;
  box-shadow: 0 -1px 32px rgba(34,85,135,0.06);
  position: relative;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
footer nav a {
  color: #225587;
  padding: 4px 13px;
  border-radius: 18px;
  font-weight: 500;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  transition: background .15s, color .15s;
}
footer nav a:hover,
footer nav a:focus {
  background-color: #DBA506;
  color: #fff;
}
footer img {
  height: 37px;
}


/* --------------------
   BUTTONS
--------------------- */
.cta-btn {
  background: #DBA506;
  color: #fff;
  border-radius: 28px;
  padding: 14px 32px;
  font-size: 1.20rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 800;
  box-shadow: 0 2px 13px rgba(219,165,6,0.14);
  cursor: pointer;
  outline: none;
  border-width: 0;
  display: inline-block;
  margin-top: 14px;
  transition: background .14s, color .14s, transform .15s, box-shadow .13s;
  position: relative;
}
.cta-btn:hover, .cta-btn:focus {
  background: #225587;
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(34,85,135,0.17);
}

button,
input[type="button"],
input[type="submit"] {
  border: none;
  border-radius: 21px;
  background: #225587;
  color: #fff;
  padding: 10px 22px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin: 8px 3px;
  box-shadow: 0 2px 8px rgba(34,85,135,0.11);
  transition: background .18s, color .14s, transform .15s;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
  background: #DBA506;
  color: #225587;
  transform: translateY(-2px) scale(1.04);
}

/* --------------------
   SPECIAL FLEX LAYOUTS
--------------------- */
@media (min-width: 900px) {
  .content-wrapper {
    flex-direction: row;
  }
}

@media (max-width: 899px) {
  .content-wrapper {
    flex-direction: column;
  }
}

.content-grid > div,
.card-container > *,
.text-image-section > *,
.feature-item > * {
  margin-right: 0;
}

/* Spacing for cards and content blocks */
.content-wrapper > *,
.card-container > .card,
.content-grid > * {
  margin-bottom: 20px;
}

.content-wrapper > *:last-child,
.card-container > .card:last-child,
.content-grid > *:last-child {
  margin-bottom: 0;
}

/* Padding for clarity in info sections */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/***** ICONS & IMAGES *****/
.content-wrapper ul li img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: inline-block;
  margin-bottom: 8px;
}

/* List Styles */
.content-wrapper ul, .content-wrapper ol {
  margin: 12px 0 20px 0;
}
.content-wrapper ul li, .content-wrapper ol li {
  font-size: 1rem;
  margin-bottom: 13px;
  line-height: 1.5;
  padding-left: 0.4em;
  color: #334259;
}
.content-wrapper ul li strong {
  color: #DBA506;
}
.content-wrapper ol {
  padding-left: 1.4em;
  /* disc / decimal intentionally omitted for playful appearance */
}

/***** FUN ANIMATIONS & PLAYFUL MICROINTERACTIONS *****/
.cta-btn, button, .mobile-menu-toggle, .mobile-menu-close {
  transition: background .18s, color .17s, transform .17s, box-shadow .16s;
}
.cta-btn:active, button:active,
.mobile-menu-toggle:active, .mobile-menu-close:active {
  transform: scale(0.97);
}

.cta-btn {
  /* a little floating jump on hover */
  animation: ctaFloat 3.5s infinite .19s cubic-bezier(.74,.18,.66,.89);
}
@keyframes ctaFloat {
  0%, 100% { box-shadow: 0 2px 13px rgba(219,165,6,0.14); transform: translateY(0); } 
  12% { box-shadow: 0 13px 30px rgba(219,165,6,0.26); transform: translateY(-4px); }
  50% { box-shadow: 0 5px 22px rgba(219,165,6,0.13); }
  80% { transform: translateY(3px); }
}

.testimonial-card {
  animation: fadeInTestimonial .81s both;
}
@keyframes fadeInTestimonial {
  0% { opacity: 0; transform: scale(0.92) translateY(25px); }
  80% { opacity: 1; transform: scale(1.03) translateY(-6px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}


/* ===========================================
  RESPONSIVE & MOBILE STYLES (MOBILE FIRST!)
=========================================== */

/* Layout: column first, then switch to row */
.content-wrapper,
.text-image-section,
.card-container,
.content-grid {
  flex-direction: column;
}

@media (min-width: 768px) {
  .content-wrapper,
  .card-container,
  .content-grid {
    flex-direction: row;
  }
  .section {
    margin-bottom: 60px;
    padding: 48px 36px;
  }
}

@media (max-width: 768px) {
  .container {
    padding-right: 8px;
    padding-left: 8px;
  }
  .content-wrapper, .content-grid, .card-container, .text-image-section {
    flex-direction: column !important;
    gap: 16px;
  }
  header .container, footer .container {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  header nav, 
  footer nav {
    flex-direction: column;
    gap: 8px;
  }
  .header .cta-btn { margin-left: 0; width: 100%; }
  .content-wrapper ul li img {
    width: 32px; height: 32px;
  }
  .section {
    padding: 28px 6px;
    margin-bottom: 40px;
  }
}

/* -----------------------------------------
   MOBILE NAVIGATION (Hamburger Menu Overlay)
----------------------------------------- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 21px;
  right: 22px;
  z-index: 120;
  background: #DBA506;
  color: #fff;
  font-size: 2rem;
  width: 47px;
  height: 47px;
  border-radius: 50%;
  border: none;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 18px rgba(219,165,6,.22);
  cursor: pointer;
  transition: background .2s, transform .17s;
}
@media (max-width: 1023px) {
  header nav, .header .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1024px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  background: #fff;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 300;
  transform: translateX(110vw);
  opacity: 0;
  transition: opacity .25s, transform .34s cubic-bezier(.69,.14,.29,.95);
  box-shadow: 0 16px 60px rgba(34,85,135,0.13);
  padding: 28px 22px 18px 22px;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  background: #225587;
  color: #fff;
  font-size: 2rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  margin-bottom: 22px;
  margin-right: 2px;
  cursor: pointer;
  transition: background .22s;
  z-index: 400;
}
.mobile-menu-close:hover {
  background: #DBA506;
  color: #225587;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  margin-top: 12px;
}
.mobile-nav a {
  color: #225587;
  font-size: 1.14rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  padding: 12px 7px 12px 16px;
  border-radius: 18px;
  font-weight: 700;
  background: none;
  transition: background .14s, color .16s;
  margin: 0 0 2px 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #DBA506;
  color: #fff;
}

/* Make sure mobile menu overlays everything */
.mobile-menu,
.mobile-menu.open {
  box-shadow: 0 9px 40px rgba(34,85,135,0.11);
  z-index: 301;
}

/* ----------------------------------------
   COOKIE CONSENT BANNER & MODAL
---------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100vw - 16px);
  max-width: 480px;
  background: #fffbe9;
  color: #1A2233;
  border-radius: 26px 26px 0 0;
  box-shadow: 0 -2px 26px rgba(34,85,135, 0.22), 0 1.5px 11px #DBA50633;
  padding: 22px 28px 18px 28px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  animation: fadeInCookie .7s cubic-bezier(.67,.13,.53,.94);
}
@keyframes fadeInCookie {
  from { opacity: 0; transform: translateY(120px) translateX(-50%); }
  to { opacity: 1; transform: translateY(0) translateX(-50%);} 
}
.cookie-banner p {
  font-size: 1rem;
  color: #2A3050;
  margin-bottom: 7px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 6px;
}
.cookie-banner button {
  padding: 10px 24px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  border-radius: 22px;
  border: none;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background .17s, color .13s, transform .13s;
}
.cookie-banner .accept {
  background: #225587;
  color: #fff;
}
.cookie-banner .accept:hover {
  background: #DBA506; color: #225587;
}
.cookie-banner .reject {
  background: #DBA506;
  color: #fff;
}
.cookie-banner .reject:hover {
  background: #225587; color: #fff;
}
.cookie-banner .settings {
  background: #fff;
  color: #AB7B00;
  border: 1.5px solid #DBA506;
}
.cookie-banner .settings:hover {
  background: #fff7e2; color: #225587;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1999;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(26,34,51, .17);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .26s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fffbe9;
  color: #1A2233;
  border-radius: 23px;
  max-width: 365px;
  width: 92vw;
  box-shadow: 0 6px 40px rgba(34,85,135, 0.20);
  padding: 34px 30px 24px 30px;
  position: relative;
  animation: modalPop .23s cubic-bezier(.64,.16,.56,1.04);
}
@keyframes modalPop {
  from {transform: scale(0.93) translateY(66px); opacity: 0;}
  to {transform: scale(1) translateY(0); opacity: 1;}
}
.cookie-modal h3 {
  font-size: 1.25rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #225587;
  margin-bottom: 12px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 14px;
}
.cookie-modal label {
  font-size: 1rem;
  color: #234;
  font-weight: 600;
}
.cookie-modal .toggle {
  width: 30px; height: 18px;
  border-radius: 17px;
  background: #E2E6F2;
  position: relative;
  margin-right: 8px;
  cursor: pointer;
  display: inline-block;
  vertical-align: middle;
  transition: background .16s;
}
.cookie-modal .toggle.checked {
  background: #DBA506;
}
.cookie-modal .toggle-btn {
  position: absolute;
  left: 2px; top: 2px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: left .14s;
  box-shadow: 0 1px 7px rgba(34,85,135,.11);
}
.cookie-modal .toggle.checked .toggle-btn {
  left: 14px;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 11px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 13px; right: 14px;
  background: #225587;
  color: #fff;
  border-radius: 50%;
  font-size: 1.4rem;
  width: 30px; height: 30px;
  display: flex;
  align-items: center; justify-content: center;
  cursor: pointer;
  border: none;
  outline: none;
  transition: background .16s;
}
.cookie-modal .close-modal:hover {
  background: #DBA506;
  color: #225587;
}
.cookie-modal .cookie-category.disabled label {
  color: #A1A5B6;
}

/* ----------------------------------------
   MISCELLANEOUS
---------------------------------------- */
.infographic img {
  max-width: 240px;
  border-radius: 15px;
  margin-top: 8px;
}

hr {
  border: none;
  border-top: 1px solid #E4E8F4;
  margin: 26px 0;
}

::-webkit-input-placeholder { color: #B7B9C2; }
:-ms-input-placeholder { color: #B7B9C2; }
::placeholder { color: #B7B9C2; }

/* ----------------------------------------
   FORM ELEMENTS (to be extended as needed)
---------------------------------------- */
input[type='text'], input[type='email'], textarea {
  width: 100%;
  border: 1.5px solid #E4E8F4;
  border-radius: 13px;
  padding: 12px 16px;
  font-size: 1rem;
  margin-bottom: 16px;
  background: #fff;
  color: #1A2233;
  transition: border .14s;
}
input[type='text']:focus, input[type='email']:focus, textarea:focus {
  border-color: #AB7B00;
}

/* ----------------------------------------
   VISUAL DIVIDERS/SECTION BG
---------------------------------------- */
section {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(34,85,135,0.05);
  margin-bottom: 48px;
}
section:last-child {margin-bottom: 0;}

@media (max-width: 540px) {
  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.22rem;
  }
  .section {margin-bottom: 14px; padding: 18px 4px;}
  .testimonial-card {padding: 12px;}
}

/* ----------------------------------------
   COLOR/BRAND VARIANTS
---------------------------------------- */
.bg-accent {
  background: #DBA506;
  color: #fff;
}
.bg-primary {
  background: #225587;
  color: #fff;
}
.bg-secondary {
  background: #F5F7FA;
  color: #1A2233;
}

/* ----------------------------------------
   PLAYFUL DYNAMIC VISUALS & EFFECTS
---------------------------------------- */
.card, .testimonial-card, section, .cookie-banner, .cookie-modal {
  border-radius: 22px;
  box-shadow: 0 2px 20px rgba(219,165,6,0.03), 0 4px 30px rgba(34,85,135,0.13);
}

.card:nth-child(odd),
.testimonial-card:nth-child(2n) {
  /* Alternate playful highlight for cards */
  border: 1.5px solid #DBA50630;
}

.card:hover {
  outline: 3px solid #DBA506AA;
}

section {
  position: relative;
  overflow: visible;
}
section::before, section::after {
  content: '';
  position: absolute;
  top: -32px;
  right: -21px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #DBA50611;
  z-index: 0;
  pointer-events: none;
  animation: bubbleFloat 7s infinite alternate-reverse cubic-bezier(.73,.11,.34,.98);
}
section::after {
  top: auto; bottom: -29px;
  right: auto; left: -19px;
  width: 34px; height: 34px;
  background: #2255870C;
  animation-delay: 2.2s;
}
@keyframes bubbleFloat {
  0% { transform: translateY(0) scale(1); opacity: 0.75; }
  75% { transform: translateY(-38px) scale(1.07); opacity: 1; }
  100% { transform: translateY(0) scale(1.11); opacity: 0.63; }
}

/* ----------------------------------------
   ACCESSIBILITY & CONTRAST
---------------------------------------- */
.testimonial-card, .testimonial-card p, .testimonial-card blockquote {
  color: #21223A !important;
}

/* ---------------------------
   PRINT STYLES (optional)
---------------------------- */
@media print {
  header, footer, .mobile-menu-toggle, .cookie-banner, .cookie-modal-overlay {
    display: none !important;
  }
  section, .container {
    box-shadow: none;
    border-radius: 0;
    background: #fff;
    color: #000;
  }
}
