/* 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 {
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  background: #fff;
  color: #233145;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
}
*, *:before, *:after { box-sizing: inherit; }
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #0277F9;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #8C7F57;
  outline: none;
}
ul, ol {
  list-style: none;
}

/* FONT IMPORTS */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500;700&display=swap');

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #1C2237;
  font-weight: 900;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 700;
}
.section h2 {
  margin-bottom: 24px;
}
p, li, blockquote {
  font-size: 1rem;
  color: #233145;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
blockquote {
  font-style: italic;
  quotes: '“' '”' '‘' '’';
  background: #FFFEEE;
  border-left: 8px solid #FFC837;
  padding: 16px 24px;
  margin-bottom: 8px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* CONTAINER & STRUCTURAL LAYOUTS */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  margin-bottom: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.section:not(:last-child) {
  border-bottom: 6px dotted #FFD75B33;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FDF8E5;
  border-radius: 20px;
  box-shadow: 0 3px 14px 0 #FFD75B44;
  margin-bottom: 20px;
  padding: 32px 24px;
  position: relative;
  transition: transform 0.18s cubic-bezier(.4,1.3,.3,1), box-shadow 0.18s;
}
.card:hover {
  transform: translateY(-5px) scale(1.025) rotate(-2deg);
  box-shadow: 0 6px 24px 0 #FFD75B99, 0 0 0 6px #FFB52322;
}
.card-content {
  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;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FFFEEE;
  border-radius: 20px;
  box-shadow: 0 3px 14px 0 #FFD75B44;
  margin-bottom: 24px;
  max-width: 560px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section ul, .content-wrapper ul {
  margin-left: 18px;
  margin-bottom: 12px;
}
.text-section li, .content-wrapper li {
  margin-bottom: 8px;
  padding-left: 0.5em;
  position: relative;
}
.text-section ul li::before, .content-wrapper ul li::before {
  content: '⦿';
  color: #6EC1E4;
  font-size: 1em;
  font-weight: bold;
  margin-right: 6px;
}

/* BUTTONS & CTA */
.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: #FFD75B;
  color: #233145;
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: bold;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  margin-top: 16px;
  letter-spacing: 1px;
  box-shadow: 0 2px 8px #FFD75B55, 0 4px 24px #E8E6DF80;
  transition: background 0.2s, transform 0.14s, box-shadow 0.18s;
  position: relative;
  outline: none;
}
.cta-primary:hover, .cta-primary:focus {
  background: #233145;
  color: #FFD75B;
  transform: scale(1.07) rotate(-2deg);
  box-shadow: 0 6px 24px #FFD75B99;
}

/* HEADER & NAVIGATION */
header {
  background: #E8E6DF;
  box-shadow: 0 2px 12px #FFD75B22;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #233145;
  background: none;
  font-size: 1rem;
  padding: 8px 0;
  border-radius: 8px;
  transition: color 0.18s, background 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #FFD75B;
  color: #233145;
}
header a img {
  display: block;
  height: 48px;
  width: auto;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: #FFD75B;
  color: #233145;
  border: none;
  padding: 12px 18px;
  font-size: 1.75rem;
  border-radius: 12px;
  margin-left: 14px;
  cursor: pointer;
  transition: background 0.18s, transform 0.14s;
  z-index: 3100;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #233145;
  color: #FFD75B;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #FFD75B;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.6,-0.6,.3,1.6);
  z-index: 3200;
  box-shadow: 0 12px 24px #23314522;
  padding: 32px 20px 24px 20px;
}
.mobile-menu.open {
  transform: translateX(0);
  animation: slideInMenu 0.35s cubic-bezier(.6,-0.6,.3,1.6) forwards;
}
@keyframes slideInMenu {
  from { transform: translateX(-100vw); }
  to { transform: translateX(0); }
}
@keyframes slideOutMenu {
  from { transform: translateX(0); }
  to { transform: translateX(-100vw); }
}
.mobile-menu-close {
  background: #233145;
  color: #FFD75B;
  border: none;
  font-size: 2rem;
  align-self: flex-start;
  border-radius: 12px;
  margin-bottom: 30px;
  padding: 7px 18px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #FFD75B;
  color: #233145;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  color: #233145;
  font-size: 1.25rem;
  background: #FFFEEE;
  padding: 14px 22px;
  border-radius: 10px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  transition: background 0.18s, color 0.18s;
  margin-bottom: 6px;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #233145;
  color: #FFD75B;
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .cta-primary {
    padding: 12px 20px;
    font-size: 1rem;
  }
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none!important;
  }
}

/* FOOTER */
footer {
  background: #233145;
  color: #FFD75B;
  padding: 44px 0 20px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
footer a {
  color: #FFD75B;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-right: 18px;
  transition: color 0.16s;
}
footer a:hover, footer a:focus {
  color: #8C7F57;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 4px;
}
footer img {
  height: 42px;
  width: auto;
}
footer p {
  color: #FFD75B;
  opacity: 0.92;
  font-size: 0.96rem;
}

/* TESTIMONIAL CARD CONTRAST */
.testimonial-card {
  background: #FFFEEE;
  color: #233145;
  border-left: 8px solid #FFD75B;
  box-shadow: 0 6px 16px #FFD75B55;
}
.testimonial-card blockquote {
  color: #1C2237;
}
.testimonial-card p {
  color: #233145;
  font-weight: 500;
}

/* FORMS (if present) */
input, textarea, select {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1em;
  border: 2px solid #FFD75B;
  border-radius: 13px;
  padding: 12px;
  transition: border 0.18s, box-shadow 0.18s;
  margin-bottom: 16px;
  background: #fff;
}
input:focus, textarea:focus, select:focus {
  border: 2px solid #8C7F57;
  box-shadow: 0 0 0 2px #FFD75B33;
  outline: none;
}
label {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.06em;
  font-weight: 600;
  margin-bottom: 4px;
  display: block;
}

/* ICONS & IMAGES */
.text-section img, .content-wrapper img {
  vertical-align: middle;
  margin-right: 7px;
  height: 23px;
  width: auto;
}

/* SPACING & WHITE SPACE */
main > section {
  margin-bottom: 40px;
  padding: 32px 0 10px 0;
}
main > section:last-child {
  margin-bottom: 0;
}

/* MICRO-INTERACTIONS */
.section, .card, .cta-primary, .mobile-menu, .mobile-menu-close, .feature-item, .testimonial-card {
  transition: box-shadow 0.18s, transform 0.16s, background 0.23s, color 0.2s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 14px 64px #FFD75B33, 0 0 0 10px #FFB52312;
  transform: scale(1.025) rotate(-1.5deg);
  z-index: 3;
}

/* ANIMATIONS */
.cta-primary {
  animation: popfadein 0.95s cubic-bezier(.6,1.45,.2,1.05);
}
@keyframes popfadein {
  0% {
    transform: scale(0.85);
    opacity: 0;
  }
  55% {
    transform: scale(1.13) rotate(-2deg);
    opacity: 1;
  }
  90% {
    transform: scale(0.96);
  }
  100% {
    transform: scale(1);
  }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: #233145;
  color: #FFD75B;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 32px 20px 24px 20px;
  box-shadow: 0 -4px 24px #23314533;
  animation: cookieBannerIn 0.5s cubic-bezier(.44,1.36,.38,1) forwards;
}
@keyframes cookieBannerIn {
  from { transform: translateY(120%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #FFD75B;
  margin-bottom: 0;
  font-size: 1.02em;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
.cookie-controls {
  display: flex;
  gap: 18px;
  align-items: center;
}
.cookie-controls button {
  border: none;
  border-radius: 18px;
  font-size: 1em;
  padding: 10px 24px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  margin-left: 2px;
  margin-right: 4px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
  box-shadow: 0 2px 8px #FFD75B44;
}
.cookie-controls .accept {
  background: #FFD75B;
  color: #233145;
}
.cookie-controls .accept:hover, .cookie-controls .accept:focus {
  background: #8C7F57;
  color: #fff;
}
.cookie-controls .reject {
  background: #F05454;
  color: #fff;
}
.cookie-controls .reject:hover, .cookie-controls .reject:focus {
  background: #be2c2c;
}
.cookie-controls .settings {
  background: #E8E6DF;
  color: #233145;
  border: 2px solid #FFD75B;
}
.cookie-controls .settings:hover, .cookie-controls .settings:focus {
  background: #FFD75B;
  color: #233145;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  min-width: 320px;
  max-width: 95vw;
  width: 400px;
  background: #FFFEEE;
  color: #233145;
  transform: translate(-50%, -50%) scale(0.96);
  border-radius: 22px;
  box-shadow: 0 12px 32px #FFD75B55;
  z-index: 6000;
  display: flex;
  flex-direction: column;
  padding: 40px 30px 24px 30px;
  gap: 20px;
  animation: cookieModalShow 0.35s cubic-bezier(.6,-0.6,.3,1.6) forwards;
}
@keyframes cookieModalShow {
  from { transform: translate(-50%, 120%) scale(0.6); opacity: 0; }
  to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.32em;
  color: #233145;
  margin-bottom: 12px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFD75B22;
  padding: 13px 15px;
  border-radius: 10px;
  font-size: 1em;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
.cookie-category b {
  font-weight: 700;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #233145;
}
.cookie-modal-toggle {
  accent-color: #FFD75B;
  margin-left: 17px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 18px;
  right: 22px;
  background: #233145;
  color: #FFD75B;
  border: none;
  border-radius: 50%;
  font-size: 1.4rem;
  padding: 4px 9px;
  cursor: pointer;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: #FFD75B;
  color: #233145;
}
.cookie-modal .cookie-controls {
  justify-content: flex-end;
  gap: 15px;
  margin-top: 19px;
}

/* DARK OVERLAY for MODAL */
#cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #233145bb;
  z-index: 1000;
  display: none;
  opacity: 0;
  transition: opacity 0.23s;
}
#cookie-modal-overlay.show {
  display: block;
  opacity: 1;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1100px) {
  .container {
    max-width: 92vw;
    padding: 0 10px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.35rem;
  }
  .section {
    padding: 24px 8px;
  }
  .content-wrapper {
    margin-bottom: 18px;
  }
  .card {
    padding: 20px 10px;
    border-radius: 15px;
  }
  .testimonial-card {
    max-width: none;
    border-left: 6px solid #FFD75B;
    padding: 15px 9px;
    border-radius: 14px;
  }
  .footer-nav {
    gap: 10px;
  }
  footer img {
    height: 33px;
  }
  .cookie-modal {
    padding: 30px 8px 12px 10px;
    border-radius: 13px;
    min-width: 180px;
    max-width: 99vw;
    width: 90vw;
  }
  main > section {
    padding-top: 18px;
    padding-bottom: 2px;
  }
}
@media (max-width: 600px) {
  .container {
    padding: 0 4px;
    max-width: 98vw;
  }
  .header, .footer, nav.main-nav, .content-wrapper {
    padding-left: 4px;
    padding-right: 4px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 10px;
  }
  .card-container, .content-grid, .text-image-section {
    flex-direction: column;
    gap: 18px !important;
  }
  .section {
    margin-bottom: 38px;
  }
}
@media (max-width: 480px) {
  body {
    font-size: 14px;
  }
  h1 {
    font-size: 1.22rem;
  }
}

/* FLEXBOX LAYOUT ENSURED */
.card-container, .content-grid, .text-image-section, .feature-item, .footer-nav, .testimonial-card {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.text-image-section {
  align-items: center;
}
@media (max-width: 768px) {
  .text-image-section, .content-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
}

/* PLAYFUL DYNAMIC ACCENTS */
.card, .testimonial-card, .cta-primary, .main-nav a, .mobile-nav a {
  box-shadow: 0 2px 8px #FFD75B66, 0 8px 24px #FFD75B22;
  border-radius: 20px;
}
.card:before {
  content: '';
  position: absolute;
  top: -1.7em; left: -1.2em;
  width: 45px; height: 45px;
  border-radius: 46% 54% 42% 58%/60% 55% 45% 40%;
  background: #6EC1E4;
  z-index: 1;
  opacity: 0.22;
  pointer-events: none;
  animation: wildblob 14s infinite linear alternate;
}
@keyframes wildblob {
  0% { transform: scale(1) rotate(-5deg) }
  40% { transform: scale(1.2, 0.9) rotate(12deg) }
  60% { transform: scale(1,1.15) rotate(-3deg); }
  100% { transform: scale(0.9,1.12) rotate(-12deg) }
}

.cta-primary:after {
  content: '→';
  display: inline-block;
  margin-left: 13px;
  font-weight: bold;
  font-size: 1.05em;
  transition: margin-left 0.18s, color 0.13s;
}
.cta-primary:hover:after, .cta-primary:focus:after {
  margin-left: 26px;
  color: #FFD75B;
}

/* PLAYFUL FONT COMBINATIONS */
h1, h2, h3, .cta-primary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* OVERRIDE/ENSURE FLEXBOX FOR ALL LAYOUT CONTAINERS */
.card-container, .content-grid, .text-image-section, .footer-nav, .feature-item, .testimonial-card {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* Avoid overlap, set spacing */
.card, .testimonial-card {
  margin-bottom: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* Z-INDEX CONTROLS FOR MENUS/BANNERS */
header, .mobile-menu, .cookie-banner, .cookie-modal {
  z-index: 3000;
}

/* PRINT STYLES (optional) */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal, #cookie-modal-overlay { display: none !important; }
}

/* ==== END CSS ==== */
