/* === 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, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F5F5F5;
  min-height: 100vh;
  color: #231B38;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  scroll-behavior: smooth;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  color: #29A0B1;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #1A2233;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

/* === BRAND COLORS & FONT VARS === */
:root {
  --brand-primary: #1A2233;
  --brand-secondary: #29A0B1;
  --brand-accent: #F5F5F5;
  --brand-yellow: #FFD600;
  --brand-coral: #FF7043;
  --brand-pink: #E040FB;
  --brand-green: #00E676;
  --text-dark: #231B38;
  --text-light: #FCFCFC;
  --shadow: 0 4px 20px 0 rgba(26, 162, 177, 0.10);
  --radius: 18px;
  --transition: 0.28s cubic-bezier(.77,-0.08,.55,0.95);
}

/* === BODY & TYPOGRAPHY === */
h1, h2, h3, h4, h5 {
  font-family: 'Roboto', 'Comic Sans MS', cursive, sans-serif;
  color: var(--brand-primary);
  letter-spacing: 0.01em;
  margin-bottom: 20px;
}
h1 {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--brand-pink);
  animation: popIn 0.6s;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-yellow);
}
h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--brand-coral);
}
p, li, dd {
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--brand-primary);
  font-size: 1rem;
  margin-bottom: 12px;
}
strong {
  color: var(--brand-secondary);
}
.text-section h2,
.text-section h3 {
  margin-top: 24px;
  margin-bottom: 10px;
}

/* === CONTAINERS & SECTIONS === */
.container {
  width: 100%;
  max-width: 1050px;
  padding: 0 14px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  animation: fadeInUp 0.7s;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(54px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes popIn {
  0% { opacity: 0; transform: scale(0.7) rotate(-7deg); }
  70% { opacity: 1; transform: scale(1.08) rotate(2deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}

/* === LAYOUT FLEX PATTERNS ===*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  background: var(--brand-accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
  padding: 28px 22px;
}
.card:hover {
  box-shadow: 0 10px 24px 0 rgba(41,160,177,0.14);
  transform: translateY(-3px) scale(1.03) rotate(-1deg);
}
.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;
  border-radius: var(--radius);
  background: #FFFCEA;
  box-shadow: 0 2px 12px rgba(41,160,177,0.09);
  margin-bottom: 20px;
  font-family: 'Roboto', cursive, sans-serif;
  font-size: 1.07rem;
  color: var(--brand-primary);
  transition: box-shadow var(--transition), transform var(--transition);
  min-width: 0;
}
.testimonial-card:hover {
  box-shadow: 0 6px 20px 0 rgba(255,208,65,0.22);
  transform: scale(1.03) rotate(-0.7deg);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* For icon + text in feature list */
.feature-item img, ul li img {
  width: 28px;
  height: 28px;
  margin-right: 13px;
  vertical-align: middle;
  position: relative;
  top: 5px;
  filter: drop-shadow(1px 1.5px 3px #FFD60066);
}
.section ul, .section ol {
  margin-left: 0;
}
.section ul li, .section ol li {
  margin-bottom: 14px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  font-family: 'Open Sans', Arial, sans-serif;
  gap: 10px;
}
.section ol {
  list-style-type: decimal;
  margin-left: 24px;
}

/* === NAVIGATION & HEADER === */
header {
  background: var(--brand-primary);
  color: var(--text-light);
  width: 100%;
  position: relative;
  z-index: 20;
  box-shadow: 0 2px 12px rgba(41,160,177,0.16);
  padding: 0 0 0 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 18px;
}
header img {
  height: 48px;
  margin-right: 20px;
}
nav {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
header nav a {
  font-family: 'Roboto', cursive, sans-serif;
  color: #fff;
  font-weight: 500;
  font-size: 1.04rem;
  padding: 8px 6px;
  border-radius: 9px;
  transition: background 0.2s, color 0.2s;
}
header nav a:hover,
header nav a.active {
  background: var(--brand-yellow);
  color: var(--brand-primary);
}
header .btn.primary {
  margin-left: 14px;
}

/* === BUTTONS & CTAs === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 34px;
  border-radius: 30px;
  font-family: 'Roboto', cursive, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  outline: none;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  box-shadow: 0 1px 11px rgba(41,160,177,0.11);
  text-decoration: none;
  margin: 10px 0 0 0;
}
.btn.primary {
  background: linear-gradient(90deg, #FFD600, #E040FB 80%);
  color: var(--brand-primary);
  box-shadow: 0 3px 12px rgba(255,214,0,0.09);
}
.btn.primary:hover, .btn.primary:focus {
  background: linear-gradient(90deg, #E040FB 10%, #FFD600 100%);
  color: var(--text-light);
  transform: translateY(-2px) scale(1.05);
}
.btn.secondary {
  background: var(--brand-secondary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(41,160,177,0.18);
}
.btn.secondary:hover, .btn.secondary:focus {
  background: var(--brand-yellow);
  color: var(--brand-primary);
}

/* === LISTS FOR PLAYFUL LOOK === */
.section ul li:before {
  content: '\2605';
  color: var(--brand-coral);
  font-size: 1em;
  margin-right: 11px;
  display: inline-block;
  vertical-align: middle;
  font-family: 'Roboto', cursive, sans-serif;
  opacity: 0.7;
  transform: rotate(-11deg);
}
.section ul li img {
  margin-left: 0;
}
.section ul li img + *, .feature-item img + * {
  margin-left: 2px;
}
.section ul li:has(img) {
  padding-left: 0;
}

/* === MICRO-INTERACTIONS & ANIMATION EFFECTS === */
.btn, .card, .testimonial-card, .mobile-menu, .mobile-menu-toggle, .mobile-nav a, .cookie-banner, .cookie-modal {
  transition: all var(--transition);
}

/* === MOBILE NAVIGATION === */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  right: 22px;
  top: 18px;
  z-index: 88;
  background: var(--brand-secondary);
  color: #fff;
  font-size: 2.3rem;
  border: none;
  border-radius: 15px;
  padding: 7px 20px 11px 20px;
  box-shadow: 0 4px 14px #29A0B166;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.22s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--brand-yellow);
  color: var(--brand-primary);
  box-shadow: 0 7px 20px #FFD60044;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 128;
  padding: 35px 30px 0 30px;
  transform: translateX(-105vw);
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 7px 32px #1A223333;
  transition: transform 0.35s cubic-bezier(.51,-0.04,.72,1.14), opacity 0.27s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--brand-coral);
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 11px;
  padding: 7px 12px 8px 12px;
  margin-bottom: 16px;
  box-shadow: 0 2px 12px #E040FB44;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--brand-yellow);
  color: var(--brand-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 8px;
  width: 100%;
}
.mobile-nav a {
  color: var(--brand-primary);
  font-family: 'Roboto', cursive, sans-serif;
  font-size: 1.1rem;
  padding: 15px 0;
  border-radius: 9px;
  text-align: left;
  width: 100%;
  background: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFD60088;
  color: var(--brand-coral);
}

/* === RESPONSIVE BREAKPOINTS === */
@media (max-width: 1080px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }
  header nav {
    gap: 10px;
  }
}
@media (max-width: 768px) {
  header {
    padding: 0 0 0 0;
  }
  .container {
    padding: 0 7px;
  }
  .section {
    padding: 22px 7px;
  }
  .content-wrapper {
    gap: 14px;
  }
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .btn.primary {
    display: none;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* === FOOTER === */
footer {
  background: var(--brand-primary);
  color: #fff;
  padding: 28px 0 12px 0;
  font-size: 1rem;
  letter-spacing: 0.01em;
  margin-top: 42px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: flex-start;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 1rem;
  color: inherit;
}
footer nav a {
  color: #fff;
  opacity: 0.95;
  font-family: 'Roboto', 'Comic Sans MS', cursive, sans-serif;
}
footer nav a:hover {
  color: var(--brand-yellow);
  text-decoration: underline;
}
footer .text-section {
  color: #D3DEF4;
  font-size: 0.97rem;
  font-family: 'Open Sans', Arial, sans-serif;
  letter-spacing: 0.01em;
}

/* === SPECIAL SECTIONS & EFFECTS === */
h1, .btn.primary, .testimonial-card {
  animation: popIn .74s cubic-bezier(.47,1.64,.41,.8);
}

/* === FORM ELEMENTS (for future-proof) === */
input, textarea, select {
  background: #fff;
  border: 2px solid #D8ECF3;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 1rem;
  margin-bottom: 18px;
  width: 100%;
  transition: border var(--transition), box-shadow var(--transition);
}
input:focus, textarea:focus, select:focus {
  border: 2px solid var(--brand-coral);
  box-shadow: 0 2px 7px #E040FB22;
}

/* === TABLES & DL === */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 17px 0;
  border-radius: var(--radius);
}
th, td {
  border: 1px solid #E6EAF7;
  padding: 13px;
}
th {
  background: var(--brand-accent);
  font-weight: bold;
  color: var(--text-dark);
}
dt {
  font-weight: 600;
  color: var(--brand-secondary);
  margin-top: 18px;
}
dd {
  margin-left: 0;
  margin-bottom: 11px;
  color: var(--brand-primary);
}

/* === COOKIE CONSENT BANNER & MODAL === */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  min-height: 60px;
  background: #FFFCEA;
  color: var(--brand-primary);
  box-shadow: 0 -1px 10px #FFD60026;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 22px 12vw 22px 7vw;
  z-index: 333;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  animation: popIn 0.9s;
}
.cookie-banner .btn {
  margin: 0 12px;
  font-size: 1rem;
  padding: 10px 16px;
  border-radius: 14px;
  min-width: 120px;
}
.cookie-banner .btn.primary {
  background: var(--brand-yellow);
  color: var(--brand-primary);
}
.cookie-banner .btn.primary:hover,
.cookie-banner .btn.primary:focus {
  background: var(--brand-coral);
  color: #fff;
}
.cookie-banner .btn.secondary {
  background: var(--brand-secondary);
  color: #fff;
}
.cookie-banner .btn.secondary:hover,
.cookie-banner .btn.secondary:focus {
  background: var(--brand-pink);
}
.cookie-banner .btn.outline {
  background: transparent;
  border: 2px solid var(--brand-secondary);
  color: var(--brand-secondary);
}
.cookie-banner .btn.outline:hover {
  background: var(--brand-secondary);
  color: #fff;
}
@media (max-width: 900px) {
  .cookie-banner {
    flex-direction: column;
    gap: 13px;
    padding: 18px 4vw 16px 4vw;
    align-items: flex-start;
  }
}
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(41,160,177,0.13);
  z-index: 9999;
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(1);
  background: #fff;
  color: var(--brand-primary);
  padding: 40px 32px 26px 32px;
  border-radius: 22px;
  box-shadow: 0 12px 48px #FFD60020;
  z-index: 10001;
  width: 97vw;
  max-width: 400px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  animation: fadeInUp 0.2s;
}
.cookie-modal h2 {
  color: var(--brand-primary);
  font-size: 1.2rem;
  margin-bottom: 15px;
}
.cookie-modal .cookie-category {
  margin-bottom: 19px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-modal .cookie-toggle {
  display: inline-flex;
  align-items: center;
  padding: 2px 0 2px 0;
}
.cookie-modal .cookie-toggle input[type='checkbox'] {
  appearance: none;
  width: 26px;
  height: 14px;
  background: #ddd;
  border-radius: 10px;
  position: relative;
  outline: none;
  margin-right: 7px;
  transition: background 0.2s;
}
.cookie-modal .cookie-toggle input[type='checkbox']:checked {
  background: var(--brand-secondary);
}
.cookie-modal .cookie-toggle input[type='checkbox']::after {
  content: '';
  display: block;
  width: 13px;
  height: 13px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 2px #8883;
  position: absolute;
  left: 0px;
  top: 0.5px;
  transition: left 0.2s;
}
.cookie-modal .cookie-toggle input[type='checkbox']:checked::after {
  left: 13px;
}
.cookie-modal .btn {
  margin: 8px 7px 0 0;
  padding: 8px 18px;
  min-width: 0;
  font-size: 1rem;
}
.cookie-modal .btn.primary { background: var(--brand-yellow); color: var(--brand-primary); }
.cookie-modal .btn.secondary { background: var(--brand-secondary); color: #fff; }

@media (max-width: 480px) {
  .cookie-modal { padding: 23px 7px 14px 7px; }
}

/* === MISCELLANEOUS === */
::-webkit-scrollbar {
  width: 11px;
  background: #F5F5F5;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(120deg, #FFD60055, #29A0B133, #E040FB33);
  border-radius: 9px;
}

/* Playful extra touch for section backgrounds */
.section:nth-child(2n) {
  background: #FFF3FE;
  box-shadow: 0 7px 28px #E040FB18;
}
.section:nth-child(3n) {
  background: #F0F9FB;
  box-shadow: 0 7px 28px #29A0B114;
}

/* --- VISUAL HIERARCHY SPACING ---- */
h1, h2, h3, h4 {
  margin-top: 12px;
}
.section {
  margin-top: 22px;
  margin-bottom: 60px;
}
.card, .testimonial-card, .feature-item, .card-container > * {
  margin-bottom: 20px;
}
.content-wrapper, .card-container, .content-grid, .testimonial-card, .feature-item, .text-image-section {
  gap: 20px;
}

/* --- ACCESSIBILITY/CONTRAST IN TESTIMONIALS --- */
.testimonial-card {
  color: var(--brand-primary);
  background: #FFFCEA;
  border-left: 6px solid var(--brand-yellow);
  font-weight: 500;
}
.testimonial-card strong {
  color: var(--brand-coral);
}
.testimonial-card span {
  font-size: 0.99rem;
  color: var(--brand-coral);
  margin-left: 8px;
}

/* === Z-INDEX for overlays === */
.mobile-menu, .cookie-modal, .cookie-modal-backdrop { z-index: 10009; }

/* --- UTILITIES --- */
.hide { display: none !important; }

/* --- TRANSITIONS/MICRO-INTERACTIONS EXAMPLES --- */
.card:active, .btn:active {
  transform: scale(0.96) rotate(-2deg);
}

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