/* ---------- CSS RESET & NORMALIZATION ---------- */
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,
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
  background: #FFFBF2;
  font-family: 'Roboto', Arial, sans-serif;
  color: #202144;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.02em;
}
::selection {
  background: #FFD600;
  color: #1A237E;
}
/* ---------- COLOR VARIABLES (with fallbacks) ---------- */
:root {
  --primary: #1A237E;
  --secondary: #43A047;
  --accent: #FFD600;
  --bg: #FFFBF2;
  --text: #202144;
  --footer-bg: #1A237E;
  --footer-text: #FFD600;
  --card-bg: #fffbe9;
  --shadow: 0 2px 16px rgba(30,50,130,0.08);
}
/* ---------- CONTAINER & FLEX LAYOUTS ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--card-bg);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 24px 32px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 4px 24px rgba(26,35,126,0.16);
}
.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: #fffbe9;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(26,35,126,0.07);
  min-width: 240px;
  margin-bottom: 20px;
  border-left: 6px solid var(--accent);
}
.testimonial-card p {
  font-size: 1.1rem;
  color: #1A237E;
  text-align: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.testimonial-card span {
  font-size: 1rem;
  color: #202144;
  font-family: 'Roboto', Arial, sans-serif;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--card-bg);
  padding: 24px;
  border-radius: 18px;
  box-shadow: 0 1px 6px rgba(30,50,130,0.09);
  margin-bottom: 20px;
}
/* ---------- HEADER & NAVBAR ---------- */
header {
  background: #fff;
  border-bottom: 4px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 40;
}
header .container {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}
header a img {
  height: 48px;
  margin-right: 12px;
  vertical-align: middle;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--primary);
  padding: 12px 10px;
  border-radius: 16px;
  transition: background 0.18s, color 0.18s;
  position: relative;
}
.main-nav a:after {
  content: '';
  display: block;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  width: 0;
  margin: 0 auto;
  transition: width 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #f8edc6;
  color: var(--secondary);
}
.main-nav a:hover:after,
.main-nav a:focus:after {
  width: 70%;
}
.cta-button {
  background: var(--accent);
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  border-radius: 30px;
  padding: 13px 28px;
  font-size: 1.1rem;
  margin-left: 14px;
  letter-spacing: 0.06em;
  box-shadow: 0 2px 10px rgba(67,160,71,0.10);
  border: none;
  cursor: pointer;
  transition: background 0.17s, color 0.17s, transform 0.13s;
  outline: none;
  text-shadow: 0 1px 0 #fff;
  will-change: transform;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: var(--secondary);
  color: #fff;
  transform: translateY(-3px) scale(1.04) rotate(-3deg);
}
/* ---------- MOBILE NAVIGATION ---------- */
.mobile-menu-toggle {
  display: none;
  background: var(--accent);
  border: none;
  font-size: 2.1rem;
  padding: 8px 18px;
  border-radius: 18px;
  color: var(--primary);
  cursor: pointer;
  margin-left: 6px;
  z-index: 52;
  transition: background 0.19s, color 0.19s;
}
.mobile-menu-toggle:focus {
  outline: 3px solid var(--secondary);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fffbe9;
  z-index: 60;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(.77,0,.175,1);
  box-shadow: 2px 0 30px rgba(26,35,126,0.15);
  display: flex;
  flex-direction: column;
  padding-top: 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--accent);
  color: var(--primary);
  border: none;
  font-size: 2.2rem;
  border-radius: 20px;
  padding: 9px 19px 4px 19px;
  position: absolute;
  top: 18px;
  right: 24px;
  cursor: pointer;
  z-index: 61;
  box-shadow: 0 1px 6px rgba(67,160,71,0.07);
  transition: background 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--secondary);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin: 68px 0 0 0;
  padding: 0 32px;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  color: var(--primary);
  padding: 15px 10px;
  border-radius: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: background 0.16s, color 0.16s;
  margin: 0 -10px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #f8edc6;
  color: var(--secondary);
}
/* ------- Responsive NAV (mobile-first) ------- */
@media (max-width: 990px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 991px) {
  .mobile-menu {
    display: none !important;
  }
}
/* ---------- TYPOGRAPHY ---------- */
h1 {
  font-size: 2.3rem;
  color: var(--primary);
  line-height: 1.12;
  margin-bottom: 14px;
}
h2 {
  font-size: 1.75rem;
  color: var(--secondary);
  line-height: 1.14;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.23rem;
  color: var(--primary);
  margin-bottom: 10px;
}
p, li, span {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.06rem;
  color: var(--text);
  line-height: 1.67;
  font-weight: 400;
  letter-spacing: 0.01em;
}
ul {
  margin-left: 12px;
  margin-bottom: 12px;
}
ul li {
  display: flex;
  align-items: center;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.06rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 11px;
  gap: 10px;
  background: #fffbe9;
  border-radius: 10px;
  padding: 7px 13px;
}
ul li img {
  width: 26px;
  height: 26px;
  margin-right: 9px;
}
strong {
  color: var(--primary);
  font-weight: bold;
}
/* ---------- BUTTONS & INTERACTIVE ---------- */
button, .cta-button, .mobile-menu-toggle, .mobile-menu-close {
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
  border: none;
  outline: none;
  transition: box-shadow 0.14s, background 0.14s, color 0.14s, transform 0.15s;
}
button:focus, .cta-button:focus {
  outline: 3px solid var(--secondary);
  background: #fffde3;
}
/* ---------- MAIN SECTIONS & SPACING ---------- */
main {
  padding-top: 28px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fffdf5;
  border-radius: 28px;
  box-shadow: 0 0 20px rgba(255,214,0,0.05);
  transition: background 0.18s;
  position: relative;
}
/* Fun colored floating dots for playful accent */
.section::before {
  content: '';
  display: block;
  position: absolute;
  left: 34px;
  top: -22px;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.25;
  z-index: 1;
  animation: floatDot 2.7s infinite ease-in-out alternate;
}
@keyframes floatDot {
  to { transform: translateY(16px) scale(1.12) rotate(16deg); }
}
.section:nth-child(2)::before {
  background: var(--secondary);
  left: auto;
  right: 40px;
  top: -18px;
  opacity: 0.18;
  animation-delay: 0.6s;
}
.section:nth-child(3)::before {
  background: var(--primary);
  left: 30px;
  top: -10px;
  opacity: 0.16;
  animation-delay: 1.1s;
}
/* ---------- CARDS & HIERARCHY ---------- */
.card, .feature-item {
  background: #fffbe9;
  border-radius: 22px;
  box-shadow: 0 2px 14px rgba(26,35,126,0.09);
  transition: box-shadow 0.2s, background 0.19s;
}
.card:hover, .feature-item:hover {
  box-shadow: 0 6px 30px rgba(67,160,71,0.13);
  background: #fffbe3;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
/* ---------- FOOTER ---------- */
footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 40px 0 22px 0;
  border-top: 7px solid var(--accent);
}
footer .container {
  display: flex;
  flex-direction: column;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px 50px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand img {
  height: 62px;
  margin-bottom: 8px;
}
.footer-contact,
.footer-menu {
  color: var(--footer-text);
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.08rem;
}
.footer-contact img {
  width: 19px;
  vertical-align: middle;
  margin-right: 4px;
  margin-left: 3px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin-bottom: 13px;
  letter-spacing: 0.01em;
  font-size: 1.02rem;
}
.footer-menu a {
  color: var(--footer-text);
  padding: 6px 8px;
  border-radius: 9px;
  transition: background 0.13s, color 0.13s;
}
.footer-menu a:hover, .footer-menu a:focus {
  background: var(--accent);
  color: var(--primary);
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 17px;
}
.footer-social a img {
  width: 31px;
  height: 31px;
  filter: brightness(0) saturate(100%) invert(91%) sepia(17%) saturate(2843%) hue-rotate(355deg) brightness(109%) contrast(106%);
  transition: filter 0.12s, transform 0.09s;
}
.footer-social a:hover img {
  filter: brightness(0) saturate(100%) invert(30%) sepia(86%) saturate(756%) hue-rotate(87deg) brightness(105%) contrast(101%);
  transform: rotate(-4deg) scale(1.08);
}
/* ---------- RESPONSIVE DESIGN ---------- */
@media (max-width: 1100px) {
  .content-wrapper, .footer .content-wrapper{
    gap: 21px;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .content-wrapper {
    gap: 18px;
  }
  .section {
    padding: 30px 8px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 99vw;
    padding: 0 10px;
  }
  .content-wrapper {
    align-items: stretch;
    gap: 13px;
  }
  .section {
    margin-bottom: 40px;
    padding: 32px 4px;
  }
  .content-grid,
  .card-container {
    flex-direction: column;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  h1 { font-size: 1.48rem; }
  h2 { font-size: 1.21rem; }
  h3 { font-size: 1.05rem; }
  .main-nav {
    display: none !important;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 1.18rem; }
  h2 { font-size: 0.98rem; }
}
/* ---------- ANIMATION & MICRO-INTERACTIONS ---------- */
.cta-button, button, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.2s, color 0.18s, transform 0.13s, box-shadow 0.17s;
}
.cta-button:hover, .cta-button:focus {
  animation: bounceBtn 0.8s cubic-bezier(.45,1.7,.62,.98) 1;
}
@keyframes bounceBtn {
  0% { transform: scale(1) rotate(-3deg); }
  35% { transform: scale(0.94) rotate(8deg); }
  50% { transform: scale(1.06) rotate(-9deg); }
  100% { transform: scale(1) rotate(-3deg); }
}
li img, .feature-item img, .footer-contact img, .footer-social a img {
  transition: transform 0.12s, filter 0.12s;
}
ul li:hover img, .feature-item:hover img {
  transform: rotate(8deg) scale(1.13); }

/* ---------- COOKIE CONSENT BANNER & MODAL ---------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fffbe9;
  color: var(--primary);
  box-shadow: 0 -2px 24px rgba(26,35,126,0.13);
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: stretch;
  justify-content: center;
  padding: 22px 14px 13px 14px;
  transition: transform 0.33s, opacity 0.21s, box-shadow 0.18s;
  border-top: 5px solid var(--accent);
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner-content {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 500;
  margin-bottom: 6px;
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: flex-start;
  margin-top: 2px;
}
.cookie-btn {
  padding: 11px 22px;
  font-size: 1rem;
  border-radius: 19px;
  border: none;
  background: var(--accent);
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  transition: background 0.15s, color 0.14s, box-shadow 0.14s;
  box-shadow: 0 1px 4px rgba(1,9,39,0.07);
  margin-right: 8px;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--secondary);
  color: #fff;
}
.cookie-btn.reject {
  background: #eb4866; /* a playful magenta for reject */
  color: #fff;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #1A237E;
  color: #FFD600;
}
.cookie-btn.settings {
  background: #43A047;
  color: #fff;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #FFD600;
  color: #1A237E;
}
/* COOKIE MODAL POPUP */
.cookie-modal {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 140;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26,35,126,0.22);
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.23s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fffdf5;
  border-radius: 21px;
  box-shadow: 0 6px 34px rgba(67,160,71,0.14);
  padding: 42px 24px 28px 24px;
  min-width: 280px;
  max-width: 98vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  animation: slideModal 0.34s cubic-bezier(.22,.62,.6,1) 1;
}
@keyframes slideModal {
  0% {transform: translateY(-40px) scale(0.93); opacity: 0; }
  100% {transform: none; opacity: 1;}
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 8px 0;
}
.cookie-category label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
  color: var(--primary);
}
.cookie-switch {
  appearance: none;
  background: #d1d1d1;
  width: 43px;
  height: 25px;
  border-radius: 13px;
  position: relative;
  outline: none;
  transition: background 0.14s;
}
.cookie-switch:checked {
  background: var(--secondary);
}
.cookie-switch::before {
  content: '';
  display: block;
  position: absolute;
  left: 3px;
  top: 3px;
  width: 19px;
  height: 19px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 6px rgba(1,9,39,0.08);
  transition: left 0.16s, background 0.16s;
}
.cookie-switch:checked::before {
  left: 21px;
  background: #b3e584;
}
.cookie-modal-actions {
  display: flex;
  gap: 17px;
  margin-top: 12px;
}
.cookie-modal-close {
  background: var(--accent);
  color: var(--primary);
  font-size: 1.55rem;
  border: none;
  border-radius: 14px;
  padding: 6px 18px;
  cursor: pointer;
  align-self: flex-end;
  transition: background 0.15s, color 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--secondary);
  color: #fff;
}
.cookie-modal-title {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-size: 1.3rem;
  font-weight: 700;
}
/* ---------- MISCELLANEOUS ---------- */
::-webkit-input-placeholder { color: #bbae71; }
::-moz-placeholder { color: #bbae71; }
:-ms-input-placeholder { color: #bbae71; }
::placeholder { color: #bbae71; }
/* Prevent overlapping */
section, .card, .testimonial-card, ul, .feature-item, .content-wrapper {
  margin-bottom: 20px;
}
/* Accentuate visual hierarchy with fun font weights */
h1, h2, h3 { font-weight: 900; }
h4, h5, h6 { font-weight: 800; }
/* Hide elements visually (accessibility helpers) */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; border: 0; clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap; }

/* ------ PLAYFUL, DYNAMIC COLOR GADGETS (for visual authenticity) ------ */
.section {
  box-shadow: 0 1.5px 14px rgba(255, 214, 0, 0.12);
}
main a.cta-button {
  margin-top: 15px;
  margin-bottom: 10px;
}

/* --------- END OF STYLE --------- */
