/* --- CSS RESET & BASE STYLES --- */
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;
}
body {
  line-height: 1.4;
  background: #F2F4F7;
  color: #232C54;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}
img, svg {
  max-width: 100%;
  display: block;
}
* {
  box-sizing: border-box;
}
a {
  color: #32A89A;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus, a:hover {
  color: #232C54;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6  {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, Helvetica, sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.1;
  color: #232C54;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  color: #32A89A;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p, li {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #333454;
  margin-bottom: 14px;
}
strong {
  color: #232C54;
  font-weight: 700;
}
.subheadline {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: #232C54;
  margin-bottom: 22px;
  letter-spacing: .01em;
}

/* --- LAYOUT CONTAINER STYLES --- */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.text-section {
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 16px 0 rgba(35,44,84,0.08);
  padding: 24px;
  transition: transform 0.25s cubic-bezier(.68,1.4,.5,1), box-shadow 0.2s;
  min-width: 260px;
}
.card:hover {
  transform: translateY(-8px) scale(1.025) rotate(-1deg);
  box-shadow: 0 6px 32px 0 rgba(50,168,154,0.14);
}

.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: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(35,44,84,0.08);
  margin-bottom: 20px;
  min-width: 240px;
  width: 100%;
  transition: box-shadow 0.2s, transform 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px 0 rgba(50,168,154,0.15);
  transform: translateY(-6px) scale(1.015) rotate(1deg);
}
.testimonial-card p {
  color: #232C54;
  font-size: 1rem;
  font-style: italic;
  flex: 1;
}
.testimonial-card span {
  color: #32A89A;
  font-weight: bold;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-left: 10px;
}

.feature-item {
  background: #fff;
  border-radius: 20px;
  padding: 28px 22px 18px 22px;
  box-shadow: 0 2px 13px 0 rgba(35,44,84,0.07);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  flex: 1 1 220px;
  min-width: 200px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.15s;
}
.feature-item img {
  width: 42px;
  height: 42px;
  animation: pop-icon 1.1s cubic-bezier(.7,1.6,.7,1.16) 1;
}
.feature-item:hover {
  box-shadow: 0 8px 32px 0 rgba(35,44,84,0.14);
  transform: translateY(-6px) scale(1.04) rotate(2deg);
}

@keyframes pop-icon {
  0% { transform: scale(0.7) rotate(-12deg); opacity: 0.1; }
  70% { transform: scale(1.12) rotate(10deg); opacity: 1; }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 8px;
}

.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
  margin-top: 6px;
}
.service-item {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 13px 0 rgba(50,168,154,0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 24px 20px 20px 20px;
  margin-bottom: 20px;
  min-width: 210px;
  flex: 1 1 220px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.13s;
}
.service-item:hover {
  box-shadow: 0 8px 32px 0 rgba(50,168,154,0.13);
  transform: scale(1.03) rotate(-1deg);
}
.price {
  background: #32A89A;
  color: #fff;
  font-size: 1.05rem;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 99px;
  padding: 4px 16px;
  font-weight: bold;
  margin-top: 8px;
  align-self: flex-start;
}

.branding {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

/* --- HEADER / NAVBAR & MOBILE NAV --- */
header {
  background: #fff;
  box-shadow: 0 4px 12px 0 rgba(50,168,154,0.03);
  margin-bottom: 0px;
  z-index: 40;
  position: sticky;
  top: 0;
  width: 100%;
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px 12px 20px;
}
.navbar > a img {
  height: 48px;
  width: auto;
  margin-right: 16px;
}
nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
nav a {
  color: #232C54;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1rem;
  padding: 8px 14px;
  border-radius: 18px;
  transition: background 0.18s, color 0.18s;
  position: relative;
}
nav a:hover, nav a:focus {
  background: #32A89A;
  color: #fff;
}

.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  background: #32A89A;
  color: #fff;
  border: none;
  border-radius: 18px;
  font-size: 1rem;
  padding: 10px 28px;
  margin-left: 18px;
  cursor: pointer;
  box-shadow: 0 2px 10px 0 rgba(50,168,154,0.10);
  transition: background 0.16s, transform 0.16s, box-shadow 0.16s;
  letter-spacing: 0.02em;
  outline: none;
  position: relative;
}
.cta-btn:focus, .cta-btn:hover {
  background: #232C54;
  color: #fff;
  transform: scale(1.06) translateY(-2px);
  box-shadow: 0 4px 21px 0 rgba(35,44,84,0.08);
}

.mobile-menu-toggle {
  display: none;
  background: #FFBE4D;
  color: #232C54;
  font-size: 2rem;
  border: none;
  border-radius: 12px;
  padding: 6px 18px 6px 14px;
  margin-left: 10px;
  cursor: pointer;
  transition: background 0.15s, color 0.13s, box-shadow 0.2s;
  box-shadow: 0 2px 8px 0 rgba(255,190,77,0.08);
  line-height: 1;
  z-index: 120;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #232C54;
  color: #fff;
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(35,44,84,0.95);
  z-index: 140;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 36px;
  padding-left: 0;
  transform: translateX(-110vw);
  transition: transform 0.36s cubic-bezier(0.87,1.35,0.41,0.89);
  box-shadow: 0 0 0 16px rgba(35,44,84,0.08);
}
.mobile-menu.open {
  transform: translateX(0);
  transition: transform 0.4s cubic-bezier(0.5,0.92,0.55,1.2);
}
.mobile-menu-close {
  align-self: flex-end;
  margin-right: 32px;
  margin-bottom: 14px;
  background: #FF5F57;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 9px 0 rgba(255,95,87,0.09);
  padding: 8px 20px 8px 18px;
  cursor: pointer;
  transition: background 0.15s, color 0.17s;
  z-index: 200;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #232C54;
  color: #FF5F57;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-left: 32px;
  margin-top: 16px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.20rem;
  font-weight: bold;
  padding: 12px 4px;
  border-radius: 14px;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #32A89A;
  color: #fffbe5;
}

/* --- SECTIONS & CARDS --- */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 18px;
  font-size: 1rem;
}
li {
  margin-bottom: 10px;
  list-style: disc;
}

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

/* --- FOOTER --- */
footer {
  background: #232C54;
  color: #fff;
  box-shadow: 0 -4px 24px 0 rgba(35,44,84,0.03);
  padding: 40px 0 18px 0;
  font-size: 1rem;
  margin-top: 24px;
}
footer .container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
footer nav a {
  color: #fffbe5;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 16px;
  transition: background 0.13s, color 0.13s;
}
footer nav a:hover, footer nav a:focus {
  background: #32A89A;
  color: #fff;
}
footer .branding img {
  height: 32px;
  width: auto;
}
footer .branding span {
  color: #fffbe5;
  font-size: 1rem;
  font-weight: 600;
  margin-left: 6px;
}

/* --- COOKIE CONSENT BANNER + MODAL --- */
.cookie-consent {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #fffbe5;
  color: #232C54;
  border-top: 3px solid #32A89A;
  box-shadow: 0 -3px 12px 0 rgba(35,44,84,0.06);
  padding: 22px 16px;
  z-index: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 1rem;
  animation: cookieFadeIn 0.7s cubic-bezier(.7,1.3,.4,1.09);
}
@keyframes cookieFadeIn {
  from { opacity: 0; transform: translateY(100px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-consent-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: bold;
  margin: 2px 7px 2px 0;
  padding: 9px 18px;
  border-radius: 16px;
  border: 0;
  transition: background 0.11s, color 0.13s, transform 0.11s, box-shadow 0.09s;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(50,168,154,0.08);
}
.cookie-consent-btn.accept {
  background: #32A89A;
  color: #fff;
}
.cookie-consent-btn.accept:hover, .cookie-consent-btn.accept:focus {
  background: #232C54;
  color: #fff;
  transform: scale(1.03);
}
.cookie-consent-btn.reject {
  background: #eb2f3a;
  color: #fff;
}
.cookie-consent-btn.reject:hover, .cookie-consent-btn.reject:focus {
  background: #232C54;
  color: #fff;
  transform: scale(1.03);
}
.cookie-consent-btn.settings {
  background: #ffbe4d;
  color: #232C54;
}
.cookie-consent-btn.settings:hover, .cookie-consent-btn.settings:focus {
  background: #232C54;
  color: #ffbe4d;
  transform: scale(1.03);
}

.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(35,44,84,0.64);
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeModalIn 0.3s cubic-bezier(.61,1.11,.5,.97);
}
@keyframes fadeModalIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal-content {
  background: #fffbe5;
  color: #232C54;
  padding: 36px 28px 26px 28px;
  border-radius: 22px;
  box-shadow: 0 8px 40px 0 rgba(50,168,154,0.12);
  min-width: 300px;
  max-width: 98vw;
  font-size: 1.03rem;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: popupBounceIn 0.43s cubic-bezier(.82,1.81,.39,.97);
}
@keyframes popupBounceIn {
  0% { transform: scale(0.6) rotate(-4deg); opacity: 0; }
  65% { transform: scale(1.09) rotate(3deg); }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}
.cookie-modal-content h2 {
  color: #32A89A;
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.cookie-toggle-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-pref-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.cookie-pref-category label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #232C54;
}
.cookie-modal-close {
  background: #FF5F57;
  color: #fff;
  font-size: 1.5rem;
  border: none;
  border-radius: 50%;
  padding: 4px 13px 4px 13px;
  align-self: flex-end;
  cursor: pointer;
  transition: background 0.1s, color 0.1s;
  margin-bottom: 10px;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #232C54;
  color: #FF5F57;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1120px) {
  .container {
    max-width: 98vw;
    padding: 0 12px;
  }
}
@media (max-width: 920px) {
  .features-grid,
  .services-list {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }
  .card-container {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .navbar nav,
  .navbar .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .testimonial-card,
  .feature-item,
  .service-item {
    min-width: 128px;
    max-width: 100%;
    width: 100%;
  }
  .container {
    padding: 0 7px;
  }
  section {
    padding: 32px 0;
    margin-bottom: 36px;
  }
  .content-grid,
  .features-grid,
  .card-container,
  .services-list {
    flex-direction: column;
    gap: 16px;
  }
  .content-wrapper {
    gap: 13px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  footer .content-wrapper {
    gap: 16px;
  }
}

@media (max-width: 540px) {
  .navbar {
    padding: 6px 4px 5px 6px;
  }
  .navbar > a img {
    height: 34px;
  }
  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.2rem;
  }
  .section {
    padding: 18px 3px;
    margin-bottom: 21px;
  }
  .content-wrapper {
    gap: 7px;
  }
  .feature-item, .service-item, .testimonial-card {
    padding: 13px 7px;
    font-size: .98rem;
  }
  .cookie-modal-content {
    padding: 18px 7px 12px 12px;
    font-size: 0.95rem;
  }
}

/* --- PLAYFUL & DYNAMIC VISUAL ACCENTS --- */
.feature-item:after, .service-item:after {
  content: '';
  display: block;
  position: absolute;
  top: -12px; right: -12px;
  width: 32px; height: 32px;
  background: #FFF58F;
  opacity: 0.22;
  border-radius: 50%;
  animation: playful-bounce 3.2s infinite cubic-bezier(.62,1.3,.62,1.3);
  z-index: 0;
}
@keyframes playful-bounce {
  0% { transform: scale(.95) translateY(0); opacity: .22; }
  18% { transform: scale(1.07) translateY(-5px) rotate(-10deg); opacity: .34; }
  48% { transform: scale(.97) translateY(0); opacity: .24; }
  100% { transform: scale(1) translateY(0); opacity: .22; }
}

.cta-btn:after {
  content: '+';
  position: absolute;
  top: -12px; right: 14px;
  font-size: 1.4rem;
  color: #FFA24B;
  font-family:'Montserrat', Arial, sans-serif;
  font-weight: 900;
  pointer-events: none;
  opacity: 0.32;
  animation: pulseplus 1.6s infinite ease-in-out;
}
@keyframes pulseplus {
  0% { transform: scale(1); opacity: .32; }
  48% { transform: scale(1.22) rotate(7deg); opacity: .47; }
  100% { transform: scale(1); opacity: .32; }
}

/* For fun fonts/titles, playful bubbles (decorative only) */
.section h1, .section h2 {
  position: relative;
  z-index: 2;
}
.section h1:before, .section h2:before {
  content: '';
  display: inline-block;
  background: #FFF58F;
  border-radius: 50%;
  width: 24px; height: 24px;
  position: absolute;
  left: -36px; top: 0px;
  opacity: 0.19;
  z-index: 0;
}
.section h2:before { width: 21px; height: 21px; left: -30px; }

/* --- FORM ELEMENTS (if any) --- */
input, select, textarea, button {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 12px;
  border: 1.7px solid #EDEDED;
  outline: none;
  padding: 8px 13px;
  margin-bottom: 10px;
  transition: border 0.16s, box-shadow 0.13s;
}
input:focus,
select:focus,
textarea:focus {
  border: 1.7px solid #32A89A;
  box-shadow: 0 0 0 2px #32A89A33;
}
button:focus {
  outline: 2px solid #32A89A;
}

/* --- SCROLLBAR (for playful vibe) --- */
body::-webkit-scrollbar {
  width: 11px;
  background: #FFF58F;
}
body::-webkit-scrollbar-thumb {
  background: #32A89A;
  border-radius: 10px;
}

/* --- MICRO-INTERACTIONS & TRANSITIONS --- */
a, button, .cta-btn, .feature-item, .service-item, .testimonial-card {
  transition: box-shadow 0.2s, background 0.16s, color 0.13s, transform 0.12s;
}

/* --- Z-INDEX MANAGEMENT --- */
header, .mobile-menu, .cookie-consent, .cookie-modal {
  z-index: 1001;
}

/* --- UTILITY CLASSES --- */
.d-none { display: none !important; }
.d-block { display: block !important; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.gap-8 { gap: 8px !important; }
.gap-16 { gap: 16px !important; }
.gap-24 { gap: 24px !important; }

/* --- ACCESSIBILITY --- */
:focus-visible {
  outline: 2.8px dashed #32A89A;
  outline-offset: 2px;
}

/* --- END --- */
