/* 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, menu, 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, 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 {
  height: 100%;
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  min-height: 100vh;
  background-color: #F2EADA;
  color: #23487A;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: 0.02em;
}

img {
  max-width: 100%;
  display: block;
  border: 0;
}

button, input, select, textarea {
  font: inherit;
  outline: none;
  background: none;
  border: none;
  box-sizing: border-box;
}

a {
  color: #23487A;
  text-decoration: none;
  background: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #52B788;
  text-decoration: underline;
}

/* TYPOGRAPHY -- Playful dynamic scale & fun headings */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  color: #23487A;
  letter-spacing: 0.02em;
  margin-bottom: 0.5em;
  line-height: 1.2;
  text-shadow: 2px 3px 0 #FFDD54, 2px 2px 8px #23487A10;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #23487A;
  text-shadow: 2px 5px 0 #52B78820;
}

h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #52B788;
  margin-bottom: 20px;
  font-weight: 700;
}

p {
  margin-bottom: 18px;
  font-size: 1rem;
  color: #23487A;
}

ul, ol {
  margin-bottom: 18px;
  padding-left: 25px;
}
li {
  margin-bottom: 12px;
  font-size: 1rem;
  position: relative;
}
li img {
  width: 20px;
  margin-right: 10px;
  vertical-align: middle;
  display: inline-block;
}
li strong {
  font-weight: 700;
  color: #52B788;
}

/* STRUCTURE & CONTAINERS */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 0;
  /* No background by default */
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* BRILLIUMINA PLAYFUL SECTIONS */
section {
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 6px 32px 0 #23487A12, 0 1.5px 9px #52B78812;
  margin-bottom: 60px;
  padding: 40px 20px;
  transition: box-shadow 0.25s;
}
section:hover {
  box-shadow: 0 10px 40px 0 #52B78818, 0 3px 15px #23487A18;
}

/* FEATURE: FLEX WRAPS & GAP PRESCRIPTIONS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background-color: #F2EADA;
  border-radius: 22px;
  box-shadow: 0 3px 14px #52B78814;
  margin-bottom: 20px;
  padding: 24px;
  position: relative;
  flex: 1 1 280px;
  min-width: 240px;
  transition: transform 0.18s, box-shadow 0.18s;
}
.card:hover {
  transform: translateY(-5px) scale(1.03) rotate(-2deg);
  box-shadow: 0 8px 36px #23487A22;
  background-color: #fffbe3;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 10px #23487A18;
  padding: 20px 28px;
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 400px;
  flex: 1 1 270px;
  color: #23487A;
  position: relative;
  z-index: 1;
}

.testimonial-card p {
  font-style: italic;
  color: #23487A;
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.testimonial-meta strong {
  color: #52B788;
  font-weight: 700;
  font-size: 1rem;
}
.testimonial-meta span {
  color: #FFD500;
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

ul {
  list-style: none;
  padding-left: 0;
}
ul li::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
}
ul li img {
  vertical-align: middle;
  margin-right: 6px;
}

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

/* TABLES */
table {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 5px #23487A08;
  margin-bottom: 20px;
}
thead {
  background: #52B78815;
}
th, td {
  padding: 14px 16px;
  text-align: left;
}
th {
  color: #23487A;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
}
tbody tr:nth-child(odd) {
  background-color: #F2EADA44;
}
tbody tr:nth-child(even) {
  background-color: #fff;
}
td {
  color: #23487A;
  font-size: 1rem;
}

/* BUTTONS & CTA */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  background: #52B788;
  color: #23487A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.16rem;
  border-radius: 30px;
  font-weight: 900;
  letter-spacing: 0.06em;
  box-shadow: 0 2px 8px #23487A24;
  border: 2.5px solid #23487A16;
  text-shadow: 1px 1px 0 #fff9cebe;
  margin-top: 18px;
  margin-bottom: 18px;
  transition: background 0.18s, color 0.18s, transform 0.18s, box-shadow 0.18s;
  position: relative;
  cursor: pointer;
}
.cta-button::after {
  content: '';
  display: block;
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 6px;
  height: 4px;
  background: #FFD50044;
  border-radius: 4px;
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}
.cta-button:hover, .cta-button:focus {
  background: #FFD500;
  color: #23487A;
  transform: scale(1.05) rotate(-1deg);
  box-shadow: 0 6px 24px #52B78840;
  text-decoration: none;
}

button, .button {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 12px 22px;
  border-radius: 21px;
  background: #52B788;
  color: #23487A;
  font-weight: bold;
  font-size: 1rem;
  margin: 8px 4px;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 8px #23487A22;
  outline: none;
}
button:hover, .button:hover {
  background: #23487A;
  color: #fff;
  box-shadow: 0 4px 20px #52B78844;
}
button:active, .button:active {
  background: #FFD500;
  color: #23487A;
}

/* HEADER */
header {
  width: 100%;
  background-color: #fff;
  padding: 0 0 6px 0;
  box-shadow: 0 2px 16px #23487A0C;
  position: sticky;
  top: 0;
  z-index: 109;
  min-height: 60px;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px 10px 16px;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 16px;
  border-radius: 12px;
  background: #fff;
  padding: 2px;
  box-shadow: 0 2px 4px #52B78807;
}
nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  color: #23487A;
  font-weight: 700;
  padding: 7px 9px;
  border-radius: 15px;
  transition: background 0.15s, color 0.14s;
}
nav a:hover, nav a.active {
  background: #52B78822;
  color: #52B788;
}

/* Hamburger Menu */
.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  color: #23487A;
  background: #FFD500;
  border-radius: 50%;
  border: 2px solid #52B78833;
  box-shadow: 0 2px 7px #23487A15;
  position: absolute;
  top: 15px;
  right: 18px;
  cursor: pointer;
  z-index: 111;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #52B788;
  color: #fff;
  border: 2px solid #23487A44;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #23487A;
  color: #fff;
  z-index: 1200;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.78, 0.18, 0.42, 1.14);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 60px;
  padding-left: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  display: inline-flex;
  position: absolute;
  top: 11px;
  right: 21px;
  font-size: 2.4rem;
  border-radius: 50%;
  background: #FFD500;
  border: 2px solid #52B78833;
  color: #23487A;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  z-index: 2001;
  transition: background 0.18s, color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #52B788;
  color: #fff;
  border-color: #FFD50060;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
  padding-left: 44px;
  width: 82vw;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.2rem;
  padding: 12px 0;
  font-weight: 900;
  border-radius: 9px;
  transition: background 0.19s, color 0.19s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: #52B788;
  color: #23487A;
  padding-left: 16px;
}
@media (max-width: 1000px) {
  header nav, header .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1001px) {
  .mobile-menu {
    display: none !important;
  }
}

/* HERO & CALL TO ACTION STYLES */
section:first-of-type {
  background: linear-gradient(110deg, #FFD50020 0%, #fff 100%);
  box-shadow: 0 8px 36px #52B78822, 0 0.5px 5px #23487A0A;
}
section:last-of-type .content-wrapper {
  align-items: center;
  text-align: center;
}

/* FOOTER */
footer {
  width: 100%;
  background: #23487A;
  color: #fff;
  padding: 36px 0 18px 0;
  font-size: 1rem;
  box-shadow: 0 -2px 14px #23487A13;
  z-index: 20;
}
footer p {
  color: white;
}
footer .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
}
.footer-logo {
  flex: 1 0 130px;
  min-width: 120px;
  margin-bottom: 24px;
}
.footer-logo img {
  width: 60px;
  height: auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 9px #52B78811;
}
footer nav {
  flex: 2 1 200px;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
footer nav a {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 5px 0;
  border-radius: 6px;
  transition: background 0.19s, color 0.18s;
}
footer nav a:hover {
  color: #FFD500;
  background: #52B78833;
}
.footer-contact {
  flex: 2 1 320px;
  min-width: 230px;
  color: #E7F9F0;
  font-size: 0.97rem;
}
.footer-contact a {
  color: #FFD500;
  font-weight: 700;
  text-decoration: underline;
  background: none;
  transition: color 0.18s;
}
.footer-contact a:hover {
  color: #52B788;
}
@media (max-width: 980px) {
  footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 1300;
  background: #fffefa;
  color: #23487A;
  box-shadow: 0 -2px 18px #23487A24;
  padding: 24px 16px 22px 16px;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  animation: cookie-slidein 0.55s cubic-bezier(0.55,0.14,0.34,1.27);
}
@keyframes cookie-slidein {
  from {transform: translateY(110%); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}
.cookie-banner p {
  color: #23487A;
  font-size: 1rem;
  margin-bottom: 0;
  margin-right: 18px;
}
.cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 8px;
}
.cookie-button {
  padding: 10px 26px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 17px;
  border: none;
  margin-right: 4px;
  margin-left: 0;
  background: #52B788;
  color: #23487A;
  font-weight: 700;
  box-shadow: 0 2px 6px #52B78819;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: background 0.16s, color 0.14s;
}
.cookie-button:last-child {
  margin-right: 0;
}
.cookie-button.accept {
  background: #FFD500;
  color: #23487A;
}
.cookie-button.reject {
  background: #FF8EA1;
  color: #fff;
}
.cookie-button.settings {
  background: #52B788;
  color: #23487A;
}
.cookie-button:hover {
  background: #23487A;
  color: #FFD500;
}

.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 1400;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: #23487ACC;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open {
  display: flex;
  animation: fadein 0.3s;
}
@keyframes fadein {
  from {opacity: 0;}
  to {opacity: 1;}
}
.cookie-modal {
  background: #fffefa;
  border-radius: 18px;
  box-shadow: 0 8px 40px #23487A88;
  padding: 36px 28px 28px 28px;
  min-width: 300px;
  max-width: 94vw;
  margin: 0 10px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: popin 0.36s;
}
@keyframes popin {
  from {transform: scale(0.8); opacity: 0.3;}
  to {transform: scale(1); opacity: 1;}
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin-bottom: 13px;
}
.cookie-category input[type="checkbox"] {
  accent-color: #52B788;
  width: 22px;
  height: 22px;
  margin-right: 7px;
}
.cookie-category label {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #23487A;
  margin-right: 9px;
}
.cookie-modal-actions {
  margin-top: 17px;
  display: flex;
  flex-direction: row;
  gap: 8px;
  justify-content: flex-end;
}
.cookie-modal-actions .cookie-button {
  min-width: 110px;
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 17px 8px 17px 8px;
  }
  .cookie-banner p {
    margin-right: 0;
  }
}
@media (max-width: 480px) {
  .cookie-modal {
    padding: 20px 8px 16px 8px;
  }
}

/* RESPONSIVENESS & LAYOUT FLEXIBILITY */
@media (max-width: 1020px) {
  .container {
    max-width: 98vw;
    padding: 0 6px;
  }
  section {
    padding: 30px 6px;
  }
}
@media (max-width: 820px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.45rem;
  }
  .footer-contact {
    font-size: 0.92rem;
  }
}
@media (max-width: 700px) {
  .container {
    max-width: 100vw;
    padding: 0 2vw;
  }
  section {
    padding: 23px 4px;
    border-radius: 14px;
  }
  .card {
    padding: 14px 9px;
    border-radius: 14px;
  }
  .testimonial-card {
    padding: 11px 7px;
    border-radius: 14px;
    font-size: 0.91rem;
  }
  h1 {
    font-size: 1.3rem;
  }
  h2 {
    font-size: 1.1rem;
  }
  .cta-button,
  button,
  .cookie-button {
    font-size: 1rem;
    padding: 11px 16px;
  }
}
@media (max-width: 600px) {
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    min-width: 0;
    width: 98vw;
    max-width: 99vw;
  }
}

/* SMALL UI ANIMATION DECORATIONS */
.cta-button, .button, .cookie-button {
  box-shadow: 0 2px 8px #23487A12;
  position: relative;
}
.cta-button:active, .button:active, .cookie-button:active {
  transform: scale(0.97);
}
.cta-button::before {
  content: '';
  display: block;
  width: 100%;
  height: 9px;
  position: absolute;
  bottom: 0;
  left: 0;
  background: #52B78833;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  opacity: 0.3;
  z-index: 0;
}

/* TABLE RESPONSIVENESS */
@media (max-width: 600px) {
  table, thead, tbody, th, td, tr {
    display: block;
  }
  thead {
    display: none;
  }
  tr {
    margin-bottom: 1em;
    border-bottom: 2px solid #52B78833;
    box-shadow: 0 2px 12px #52B78814;
    border-radius: 9px;
  }
  td {
    padding: 10px 13px;
    text-align: left;
    position: relative;
    width: 100%;
  }
  td:before {
    content: attr(data-label);
    font-weight: 700;
    color: #23487A;
    display: block;
    margin-bottom: 3px;
  }
}

/* UTILITY & STATE CLASSES */
.gap-m {
  gap: 24px;
}
.text-center {
  text-align: center;
}
.d-flex {
  display: flex;
}
.align-center {
  align-items: center;
}
.flex-row {
  flex-direction: row;
}
.flex-col {
  flex-direction: column;
}
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

/*---- PLAYFUL MICRO-INTERACTIONS ----*/
.cta-button, .button, .cookie-button {
  transition: background 0.19s, color 0.19s, transform 0.13s, box-shadow 0.13s;
}
.cta-button:focus, .button:focus, .cookie-button:focus {
  outline: 2.5px solid #FFD500;
  outline-offset: 1.5px;
}
.cta-button::after,
.cta-button::before {
  pointer-events: none;
}

/* Decorative bubbles for sections */
section {
  position: relative;
  overflow: visible;
}
section::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -24px;
  width: 56px;
  height: 56px;
  background: #52B78833;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  animation: bounce-bubble 4s infinite linear;
}
section:nth-child(even)::after {
  content: '';
  position: absolute;
  bottom: -28px;
  right: -20px;
  width: 38px;
  height: 38px;
  background: #FFD50028;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  animation: bounce-bubble-r 5.2s infinite linear;
}
@keyframes bounce-bubble {
  0% { transform: translateY(0)   scale(1); }
  42% { transform: translateY(14px) scale(1.15); }
  77% { transform: translateY(0)   scale(1); }
 100% { transform: translateY(0)   scale(1); }
}
@keyframes bounce-bubble-r {
  0% { transform: translateY(0) scale(1); }
  55% { transform: translateY(-10px) scale(1.1); }
  90% { transform: translateY(0) scale(1); }
 100% { transform: translateY(0) scale(1); }
}

/* Hide deco bubbles on mobile for space */
@media (max-width: 600px) {
  section::before, section::after {
    display: none;
  }
}

/* --- END of CSS --- */
