/* 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;
}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section,main {
  display: block;
}
body {
  line-height: 1;
  min-height: 100vh;
}
ol,ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
}
::-webkit-input-placeholder { color: #757575; }
::-moz-placeholder { color: #757575; }
:-ms-input-placeholder { color: #757575; }
::placeholder { color: #757575; }

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

/* BRAND COLORS */
:root {
  --primary: #163963;
  --secondary: #5C8EAE;
  --accent: #F2F4F9;
  --fun-blue: #2176FF;
  --fun-yellow: #FFC857;
  --fun-orange: #FF9F1C;
  --fun-green: #43B98E;
  --fun-pink: #FF729F;
  --white: #fff;
  --black: #22242A;
  --shadow: rgba(22, 57, 99, 0.08);
}

html {
  font-size: 16px;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--black);
  background: var(--accent);
  font-size: 1rem;
  min-height: 100vh;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--primary);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--fun-blue);
  text-shadow: 2px 4px 0 var(--fun-yellow), 1px 2px 5px var(--shadow);
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--primary);
}
h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--fun-orange);
}
h4,
h5,
h6 {
  font-size: 1rem;
}

p,ul,li {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 10px;
}
strong {
  font-weight: bold;
}

/* LAYOUT STRUCTURE & CONTAINER */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 4px 24px var(--shadow);
  padding: 40px 24px;
  margin: 20px 0;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* NAVIGATION */
header {
  background: var(--primary);
  color: var(--white);
  width: 100%;
  box-shadow: 0 2px 16px var(--shadow);
  z-index: 10;
  position: relative;
}
header .container {
  align-items: center;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 20px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--accent);
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 8px 12px;
  border-radius: 9px;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s;
}
header nav a:hover, header nav a:focus {
  background: var(--fun-yellow);
  color: var(--primary);
  box-shadow: 0 2px 12px var(--fun-yellow);
  outline: none;
}
header img {
  max-height: 48px;
  margin-right: 12px;
}

/* BUTTONS */
.button {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 13px 32px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 24px;
  border: none;
  background: var(--fun-blue);
  color: var(--white);
  box-shadow: 0 4px 14px var(--shadow);
  cursor: pointer;
  margin: 10px 0 10px 0;
  transition: background 0.18s, color 0.18s, transform 0.1s;
  display: inline-block;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 1;
}
.button.primary {
  background: var(--fun-pink);
  color: var(--white);
}
.button.primary:hover, .button.primary:focus {
  background: var(--fun-blue);
  color: var(--white);
  transform: translateY(-2px) scale(1.06) rotate(-2deg);
  box-shadow: 0 8px 22px var(--fun-yellow);
}
.button.secondary {
  background: var(--fun-yellow);
  color: var(--primary);
}
.button.secondary:hover, .button.secondary:focus {
  background: var(--fun-green);
  color: var(--white);
  transform: translateY(-1px) scale(1.04) rotate(1.5deg);
  box-shadow: 0 6px 18px var(--fun-pink);
}
.button:active {
  transform: scale(0.98);
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: var(--fun-yellow);
  color: var(--primary);
  border-radius: 18px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-left: 16px;
  transition: box-shadow 0.15s, background 0.2s;
  box-shadow: 0 2px 8px var(--fun-yellow);
  z-index: 101;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--fun-pink);
  background: var(--fun-pink);
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 100vh;
  width: 100vw;
  background: var(--white);
  box-shadow: 0 8px 44px 6px var(--shadow);
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(0.86, 0.12, 0.48, 1.2);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 40px 24px 24px 24px;
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  background: var(--fun-pink);
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  align-self: flex-end;
  margin-bottom: 18px;
  transition: background 0.2s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--fun-yellow);
  color: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.33rem;
  font-weight: 700;
  color: var(--fun-blue);
  padding: 12px 16px;
  border-radius: 10px;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--fun-yellow);
  color: var(--primary);
}

/* HERO SECTION */
.hero {
  background: linear-gradient(90deg, var(--fun-yellow) 0%, var(--fun-blue) 100%);
  padding: 0;
  min-height: 350px;
  display: flex;
  align-items: center;
}
.hero .container {
  display: flex;
  flex-direction: column;
}
.hero .content-wrapper {
  margin: 40px 0;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 6px 34px var(--fun-blue);
  border-radius: 30px;
  padding: 48px 32px;
  align-items: flex-start;
  animation: playful-bounce-in 0.9s cubic-bezier(.29,1.17,.62,.98);
}
.hero h1 {
  font-size: 2.5rem;
  color: var(--fun-blue);
  margin-bottom: 18px;
}
.hero p {
  font-size: 1.18rem;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 24px;
  color: var(--primary);
}

@keyframes playful-bounce-in {
  0% { opacity:0; transform: translateY(-60px) scale(0.85); }
  75% { opacity:.7; transform: translateY(10px) scale(1.05); }
  100% { opacity:1; transform: translateY(0) scale(1); }
}

/* FEATURES */
.features-grid, .features {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
  margin-bottom: 20px;
}
.features-grid > div {
  background: var(--fun-yellow);
  border-radius: 22px;
  box-shadow: 0 4px 24px var(--fun-orange);
  padding: 28px 18px 24px 18px;
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.16s, box-shadow 0.16s;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.features-grid > div:hover {
  transform: translateY(-5px) scale(1.02) rotate(-1deg);
  box-shadow: 0 12px 36px var(--fun-pink);
}
.features-grid img {
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  display: inline-block;
  filter: drop-shadow(0 2px 8px var(--fun-blue));
  animation: playful-spin 4s linear infinite;
}

@keyframes playful-spin { 0% { transform: rotate(0);} 100% {transform: rotate(360deg);} }

.features-grid h3, .features-grid h2 {
  font-size: 1.22rem;
  color: var(--primary);
  margin-bottom: 8px;
  font-weight: bold;
  font-family: 'Montserrat', Arial, sans-serif;
  text-shadow: 1px 2px 0 var(--white);
}
.features-grid p {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 0;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 2px 16px var(--shadow);
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.2s, transform 0.15s;
}
.card:hover { box-shadow: 0 6px 36px var(--fun-blue); transform: scale(1.03) rotate(0.7deg); }

.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--fun-green);
  color: var(--black);
  border-radius: 18px;
  box-shadow: 0 3px 14px var(--shadow);
  margin-bottom: 20px;
  flex-wrap: wrap;
  transition: transform 0.1s;
  position: relative;
  font-size: 1rem;
  min-width: 240px;
  max-width: 630px;
}
.testimonial-card blockquote {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 0;
}
.testimonial-card div {
  font-size: 0.98rem;
}
.testimonial-card:before {
  content: '★';
  color: var(--fun-yellow);
  font-size: 1.9rem;
  margin-right: 12px;
  filter: drop-shadow(0 3px 5px var(--fun-orange));
  animation: playful-bounce 2s infinite;
}
@keyframes playful-bounce {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(6px); }
}

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

/* BLOG LIST */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.blog-list article {
  background: var(--white);
  box-shadow: 0 2px 12px var(--shadow);
  border-radius: 17px;
  padding: 30px 18px;
  margin-bottom: 12px;
  transition: box-shadow 0.13s, transform 0.13s;
  border-left: 6px solid var(--fun-pink);
}
.blog-list article:hover {
  box-shadow: 0 8px 24px var(--fun-yellow);
  transform: translateY(-3px) scale(1.02);
  border-left: 6px solid var(--fun-blue);
}

/* TEAM LIST */
.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  margin-top: 10px;
}
.team-member {
  background: var(--fun-orange);
  padding: 28px 18px;
  border-radius: 16px;
  box-shadow: 0 3px 18px var(--shadow);
  min-width: 220px;
  max-width: 330px;
  flex: 1 1 240px;
  margin-bottom: 20px;
  transition: transform 0.11s, box-shadow 0.11s;
  color: var(--primary);
}
.team-member:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 28px var(--fun-pink);
  background: var(--fun-yellow);
}

/* CTA SECTION */
.cta {
  background: linear-gradient(91deg, var(--fun-pink) 0%, var(--fun-blue) 100%);
  padding: 0;
}
.cta .container {
  align-items: center;
  justify-content: center;
}
.cta .content-wrapper {
  background: var(--white);
  border-radius: 26px;
  box-shadow: 0 6px 34px var(--fun-pink);
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
  animation: playful-bounce-in 0.5s cubic-bezier(.29,1.17,.62,.98);
}
.cta h2 {
  color: var(--primary);
  margin-bottom: 26px;
}

.trust-signs {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin: 20px 0 12px 0;
}
.trust-signs img {
  width: 54px;
  height: 54px;
  display: block;
  filter: drop-shadow(0 3px 12px var(--fun-blue));
  animation: playful-bounce 3.8s infinite;
}

/* CONTACT */
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-methods ul {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-methods li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.contact-methods img {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 1px 5px var(--fun-green));
}
.contact-methods a {
  color: var(--fun-blue);
  font-weight: 700;
  border-bottom: 2px dashed var(--fun-pink);
  transition: color 0.13s, border 0.12s;
}
.contact-methods a:hover, .contact-methods a:focus {
  color: var(--fun-pink);
  border-bottom: 2px solid var(--fun-yellow);
}

/* FOOTER */
footer {
  background: var(--primary);
  color: var(--white);
  border-radius: 42px 42px 0 0;
  box-shadow: 0 -2px 18px var(--shadow);
  padding: 44px 0 16px 0;
  margin-top: 60px;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
footer nav a {
  color: var(--fun-yellow);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: bold;
  padding: 7px 11px;
  border-radius: 6px;
  transition: background 0.14s, color 0.13s;
}
footer nav a:hover, footer nav a:focus {
  background: var(--fun-pink);
  color: var(--white);
}
footer .text-section {
  font-size: 0.97rem;
  color: var(--accent);
  text-align: center;
}

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  width: 100vw;
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 -4px 26px var(--shadow);
  padding: 24px 16px 20px 16px;
  z-index: 3500;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: playful-slide-up 0.55s cubic-bezier(.44,1.16,.5,1);
}
@keyframes playful-slide-up {
  0% { transform: translateY(140px); opacity: 0; }
  65% { opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-top: 7px;
}
.cookie-consent-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 22px;
  font-size: 1.06rem;
  font-weight: 700;
  border-radius: 15px;
  border: none;
  cursor: pointer;
  transition: background .15s, color .13s;
}
.cookie-consent-banner .accept {
  background: var(--fun-green);
  color: var(--white);
}
.cookie-consent-banner .accept:hover,
.cookie-consent-banner .accept:focus {
  background: var(--fun-blue);
}
.cookie-consent-banner .reject {
  background: var(--fun-pink);
  color: var(--white);
}
.cookie-consent-banner .reject:hover,
.cookie-consent-banner .reject:focus {
  background: var(--fun-yellow);
  color: var(--primary);
}
.cookie-consent-banner .settings {
  background: var(--fun-yellow);
  color: var(--primary);
}
.cookie-consent-banner .settings:hover,
.cookie-consent-banner .settings:focus {
  background: var(--fun-blue);
  color: var(--white);
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-bg {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(22, 57, 99, 0.14);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade-in 0.13s;
}
@keyframes fade-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 8px 66px 9px var(--shadow);
  max-width: 430px;
  width: 95vw;
  padding: 38px 27px 24px 27px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modal-slide-in 0.39s cubic-bezier(.29,1.17,.62,.98);
  z-index: 4100;
}
@keyframes modal-slide-in {
  0% { transform: translateY(-70px) scale(0.93); opacity: 0; }
  55% { opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  margin-top: 0;
  font-size: 1.3rem;
  color: var(--fun-blue);
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 7px;
}
.cookie-modal .cookie-category label {
  font-weight: bold;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-size: 1.03rem;
}
.cookie-modal .cookie-category input[type="checkbox"] {
  width: 1.2em;
  height: 1.2em;
  accent-color: var(--fun-green);
  margin-right: 2px;
}
.cookie-modal .cookie-category.essential label {
  color: var(--fun-grey, #888);
}
.cookie-modal .cookie-category.essential input {
  accent-color: var(--fun-yellow);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal .close-modal {
  background: var(--fun-yellow);
  color: var(--primary);
  border-radius: 11px;
  padding: 8px 18px;
  font-weight: 700;
}
.cookie-modal .close-modal:hover,
.cookie-modal .close-modal:focus {
  background: var(--fun-pink);
  color: var(--white);
}

/* FORMS (future-proof for contact forms) */
form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 20px;
}
input, select, textarea {
  padding: 12px;
  border-radius: 12px;
  border: 1.5px solid var(--fun-blue);
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--primary);
  background: var(--accent);
  box-shadow: 0 1px 6px var(--shadow);
  margin-bottom: 8px;
  transition: border .12s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border: 2px solid var(--fun-pink);
}

/* ANIMATIONS */
.fade-in {
  animation: fade-in 0.8s;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1100px) {
  .container {
    max-width: 960px;
  }
  .features-grid > div, .team-member {
    min-width: 180px;
    max-width: 280px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding: 0 11px;
  }
  .hero .content-wrapper, .cta .content-wrapper {
    padding: 28px 7px;
  }
  .content-wrapper {
    padding: 26px 7px;
  }
  .team-list, .features-grid {
    gap: 14px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  header .container {
    flex-direction: row;
    gap: 14px;
    padding: 0 8px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .content-wrapper, .hero .content-wrapper, .cta .content-wrapper {
    padding: 18px 4px;
    margin: 14px 0;
  }
  .section {
    padding: 28px 8px;
  }
  .features-grid, .team-list, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .features-grid > div, .team-member, .card {
    min-width: 0;
    max-width: 100%;
  }
  .testimonial-card {
    max-width: unset;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .hero {
    min-height: 220px;
    padding: 0;
  }
  .cta h2, .hero h1 {
    font-size: 1.4rem;
  }
  .blog-list article, .team-member, .features-grid > div {
    padding: 20px 8px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  .container {
    padding: 0 4px;
  }
  h1 {
    font-size: 1.3rem;
  }
  h2 {
    font-size: 1.1rem;
  }
}

/* ACCESSIBILITY */
a:focus {
  outline: 2px dashed var(--fun-pink);
  background: var(--accent);
}
button:focus {
  outline: 2px solid var(--fun-blue);
}

/* Z-INDEX LAYERING */
header { z-index: 10; }
.mobile-menu { z-index: 2000; }
.cookie-consent-banner { z-index: 3500; }
.cookie-modal-bg { z-index: 4000; }

/* PREVENT OVERLAPPING */
.card, .features-grid > div, .team-member, .testimonial-card, .blog-list article {
  margin-bottom: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}