/* === 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%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { height: 100%; }
body { min-height: 100vh; height: 100%; background: #F5F7FA; line-height: 1.5; -webkit-font-smoothing: antialiased; }
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section {
  display: block;
}
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; transition: color 0.25s; }
img, svg { display: block; max-width: 100%; height: auto; }
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  background: none;
  border: none;
  color: inherit;
}
button { cursor: pointer; }

/* === CUSTOM PROPERTIES (STATIC FALLBACKS) === */
:root {
  --primary: #212f4a;
  --secondary: #4ab989;
  --accent: #F5F7FA;
  --yellow: #ffd600;
  --coral: #fd7462;
  --teal: #36d1c4;
  --violet: #7C5CFF;
  --pink: #fd56a4;
  --card-shadow: 0 4px 18px rgba(33,47,74,0.10);
  --border-radius: 22px;
}

/* === TYPOGRAPHY === */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: #212f4a;
  background: var(--accent);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--primary);
}
h1 { font-size: 2.7rem; line-height: 1.17; margin-bottom: 18px; }
h2 { font-size: 2rem; line-height: 1.2; margin-bottom: 14px; }
h3 { font-size: 1.4rem; line-height: 1.3; margin-bottom: 10px; }

p, ul, li, ol {
  font-size: 1rem;
  line-height: 1.7;
  color: #374774;
}
p { margin-bottom: 18px; }
strong { color: var(--secondary); font-weight: 700; }

.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* === CONTAINERS === */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.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;
  width: 100%;
}

/* === HEADER === */
header {
  background: #fff;
  box-shadow: var(--card-shadow);
  z-index: 999;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  gap: 0;
}
header nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 4px 2px;
  border-radius: 7px;
  position: relative;
  transition: color 0.15s, background 0.25s;
}
header nav a:hover, header nav a:focus {
  color: var(--secondary);
  background: #F1FFF9;
}

.cta-button {
  padding: 12px 30px;
  background: var(--yellow);
  color: var(--primary);
  border-radius: 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  box-shadow: 0 3px 12px rgba(77,143,122,0.15);
  transition: background 0.22s, color 0.22s, transform 0.12s, box-shadow 0.20s;
  border: 2px solid var(--yellow);
  outline: none;
}
.cta-button:hover, .cta-button:focus {
  background: var(--coral);
  color: #fff;
  border-color: var(--coral);
  transform: translateY(-2px) scale(1.04) rotate(-2deg);
  box-shadow: 0 6px 24px rgba(253,116,98,0.13);
}

/* === MOBILE NAVIGATION === */
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: #fff;
  font-size: 2.2rem;
  border-radius: 8px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 1400;
  transition: background 0.2s;
  border: none;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--violet);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  box-shadow: 0 0 100px rgba(33,47,74,0.13);
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(.71,1.7,.67,1);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: var(--coral);
  font-size: 2.1rem;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  width: 48px;
  height: 48px;
  margin: 24px 24px 0 auto;
  cursor: pointer;
  transition: background 0.23s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--secondary);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 40px 0 0 0;
  align-items: flex-start;
  padding: 0 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1.28rem;
  color: var(--primary);
  padding: 11px 0;
  border-radius: 6px;
  width: 100%;
  transition: background 0.22s, color 0.22s, transform 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--yellow);
  color: var(--coral);
  transform: translateX(10px) scale(1.04) rotate(-1.2deg);
}

@media (max-width: 1000px) {
  header .container nav,
  header .container .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

@media (min-width: 1001px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* === MAIN STRUCTURE === */
main {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* --- SECTION STYLES --- */
section {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  margin-bottom: 60px;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.18s;
}
section:hover {
  box-shadow: 0 10px 32px rgba(76,185,137,0.14);
  transform: translateY(-2px) scale(1.016) rotate(-0.2deg);
}
@media (max-width: 600px) {
  section { padding: 24px 6px; }
}

/* --- CARDS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 12px rgba(33,47,74,0.07);
  padding: 24px 22px;
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  max-width: 380px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 10px 26px rgba(124,92,255,0.11);
  transform: translateY(-3px) scale(1.025) rotate(-2deg);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 11px;
}

/* --- FEATURES --- */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff7e0;
  border-radius: 18px;
  padding: 18px 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 7px rgba(255,214,0,0.12);
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fdfcff;
  border-left: 7px solid var(--secondary);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 18px rgba(76,185,137,0.12);
  transition: box-shadow 0.21s, border-color 0.23s;
}
.testimonial-card p {
  color: #212f4a;
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 0;
}
.testimonial-card span {
  font-weight: bold;
  color: var(--secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.99rem;
}
.testimonial-card:hover {
  border-left: 7px solid var(--coral);
  box-shadow: 0 8px 30px 0 rgba(253,116,98,0.15);
}

/* --- LISTS --- */
ul li, ol li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 28px;
}
ul li:before {
  content: '';
  display: inline-block;
  width: 15px;
  height: 15px;
  background: var(--secondary);
  border-radius: 50%;
  margin-right: 9px;
  position: absolute;
  left: 0;
  top: 3px;
  box-shadow: 0 1px 4px rgba(76,185,137,0.12);
  transition: background 0.16s;
}
ol li:before {
  content: counter(li, decimal) '.';
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--coral);
  margin-right: 8px;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 1.05em;
  background: none;
  border-radius: 0;
  box-shadow: none;
}

/* --- FOOTER --- */
footer {
  background: #fff;
  border-top: 4px solid var(--secondary);
  margin-top: 36px;
  box-shadow: 0 -1px 12px rgba(76,185,137,0.07);
}
footer .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding: 20px 18px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
footer nav a {
  font-size: 1rem;
  color: var(--primary);
  padding: 3px 6px;
  border-radius: 5px;
  transition: color 0.15s, background 0.19s;
}
footer nav a:hover {
  color: #fff;
  background: var(--secondary);
}
footer .text-section p {
  font-size: 0.96rem;
  color: #374774;
}

@media (max-width: 700px) {
  footer .container {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 7px;
  }
  footer nav { gap: 11px; }
}

/* === SPACING & FLEX PATTERNS === */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* === ANIMATIONS === */
@keyframes cta-bounce {
  0% { transform: scale(1) rotate(-1deg); }
  40% { transform: scale(1.09) rotate(2deg); }
  70% { transform: scale(0.97) rotate(-2deg); }
  100% { transform: scale(1) rotate(0); }
}
.cta-button:hover, .cta-button:focus {
  animation: cta-bounce 0.22s linear 1;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
section, .card, .testimonial-card {
  animation: fadeInUp 0.55s cubic-bezier(.61,.19,.38,.98) 1;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1000px) {
  .container {
    max-width: 92vw;
    flex-direction: column !important;
  }
  header .container {
    max-width: 98vw;
    flex-direction: row;
    gap: 0;
  }
}
@media (max-width: 768px) {
  .content-grid, .card-container {
    flex-direction: column !important;
    align-items: stretch;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }
  .container {
    padding-left: 7px;
    padding-right: 7px;
  }
  .section {
    padding: 24px 4px;
  }
}

/* === UTILITY CLASSES === */
.mt-24 { margin-top: 24px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mt-12 { margin-top: 12px !important; }
.mb-12 { margin-bottom: 12px !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }
.text-bold { font-weight: bold !important; }

/* === FORM ELEMENTS (for contact, future forms) === */
input, textarea, select {
  border-radius: 7px;
  border: 2px solid #ddd;
  padding: 10px 14px;
  font-size: 1.07rem;
  transition: border-color 0.17s;
  margin-bottom: 20px;
  background: #fff;
  width: 100%;
}
input:focus, textarea:focus {
  border-color: var(--secondary);
  outline: none;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  display: block;
  margin-bottom: 6px;
}

/* === LINKS === */
a {
  color: var(--primary);
  transition: color 0.14s, background 0.14s;
}
a:hover, a:focus {
  color: var(--coral);
  text-decoration: underline wavy 1.2px;
}

/* === COOKIE CONSENT BANNER === */
#cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  z-index: 2500;
  background: #fffbe6;
  color: #212f4a;
  box-shadow: 0 -2px 22px rgba(33,47,74,0.11);
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 20px 24px;
  gap: 18px;
  justify-content: center;
  animation: fadeInUp 0.7s cubic-bezier(.61,.19,.38,.98);
}
#cookie-banner p {
  margin-bottom: 0;
  font-size: 1.06rem;
}
#cookie-banner .cookie-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-left: 16px;
}
#cookie-banner button {
  padding: 8px 19px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 18px;
  border: 2px solid #ebebeb;
  font-size: 1rem;
  background: var(--yellow);
  color: var(--primary);
  cursor: pointer;
  margin-bottom: 0;
  transition: background 0.2s, box-shadow 0.19s, color 0.15s, border 0.22s;
}
#cookie-banner button:hover, #cookie-banner button:focus {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
  box-shadow: 0 2px 8px rgba(76,185,137,0.17);
}
#cookie-banner .cookie-settings-btn {
  background: var(--teal);
  color: #fff;
  border: 2px solid var(--teal);
}
#cookie-banner .cookie-settings-btn:hover {
  background: var(--coral);
  border-color: var(--coral);
}

@media (max-width: 720px) {
  #cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 8px;
    gap: 13px;
  }
  #cookie-banner .cookie-buttons {
    margin-left: 0;
  }
}

/* COOKIE PREFERENCES MODAL */
#cookie-modal {
  display: none;
  position: fixed;
  z-index: 3000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(33, 47, 74, 0.35);
  align-items: center;
  justify-content: center;
  transition: background 0.22s;
}
#cookie-modal.open {
  display: flex;
  animation: fadeInUp 0.18s;
}
#cookie-modal .modal-content {
  background: #fff;
  border-radius: 28px;
  padding: 32px 28px;
  width: 99vw;
  max-width: 410px;
  box-shadow: 0 13px 44px rgba(33,47,74,0.18);
  display: flex;
  flex-direction: column;
  gap: 21px;
  position: relative;
  animation: fadeInUp 0.46s;
}
#cookie-modal .modal-content h2 { font-size: 1.36rem; margin-bottom: 8px; }
#cookie-modal label {
  font-family: 'Roboto', Arial, sans-serif;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1.07rem;
  margin-bottom: 10px;
}
#cookie-modal input[type="checkbox"] {
  width: 19px;
  height: 19px;
  accent-color: var(--secondary);
}
#cookie-modal .modal-buttons {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}
#cookie-modal .modal-close {
  background: var(--coral);
  color: #fff;
  border: 2px solid var(--coral);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 1.4rem;
  line-height: 35px;
  text-align: center;
  padding: 0;
  cursor: pointer;
  transition: background 0.18s;
}
#cookie-modal .modal-close:hover, #cookie-modal .modal-close:focus {
  background: var(--secondary);
  border-color: var(--secondary);
}

/* === SCROLLBAR (for webkit) === */
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 10px;
}
::-webkit-scrollbar-track {
  background: #F5F7FA;
}

/* === PLAYFUL DECORATIVE ELEMENTS === */
/* Spray color balls */
section::before, section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.14;
  z-index: 1;
}
section::before {
  width: 95px;
  height: 95px;
  background: var(--violet);
  top: -50px;
  left: -38px;
}
section::after {
  width: 56px;
  height: 56px;
  background: var(--coral);
  bottom: -33px;
  right: -30px;
}
@media (max-width: 480px) {
  section::before, section::after { display: none; }
}

/* Dotted playful line (demo for testimonials/CTA) */
.section > h2::after {
  content: '';
  display: block;
  width: 44px;
  height: 7px;
  margin-top: 8px;
  border-radius: 5px;
  background: repeating-linear-gradient(90deg, var(--secondary), var(--secondary) 10px, transparent 10px, transparent 22px);
  opacity: 0.93;
}

/* === COLORFUL FUN FONTS / EFFECTS (Headings) === */
h1, h2, h3 {
  position: relative;
  z-index: 2;
  transition: color 0.14s;
}
h1::after, h2::after {
  content: '';
  position: absolute;
  left: 0; top: 100%;
  width: 80px; height: 7px;
  background: var(--yellow);
  border-radius: 7px;
  margin-top: 5px;
  opacity: 0.57;
  z-index: -1;
  animation: fadeInUp 0.8s 0.2s;
}
h2::after {
  width: 32px; height: 7px;
  margin-top: 7px;
  background: var(--teal);
}

/* === ENSURE ADEQUATE GAPS/MARGINS === */
.card + .card,
.testimonial-card + .testimonial-card,
.feature-item + .feature-item,
.section + .section,
.content-wrapper > ul + a.cta-button {
  margin-top: 24px;
}

/* === TABLES (for policy pages) === */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}
th, td {
  border: 1.5px solid #E3E6ED;
  padding: 12px 8px;
  text-align: left;
}
th { background: #f5f7fa; font-weight: bold; }

/* ENERGETIC HOVER SHADOWS (Buttons, Cards, Sections) === */
.cta-button:active {
  box-shadow: 0 1px 5px rgba(124,92,255,0.20) !important;
  transform: scale(0.97);
}
.card:active, section:active {
  box-shadow: 0 2px 8px rgba(253,116,98,0.13) !important;
  transform: scale(0.98) rotate(-1deg);
}

/* === FOCUS STATES === */
:focus-visible {
  outline: 3px dashed var(--violet); outline-offset: 2px;
}

/* === DARK TEXT IN TESTIMONIAL/REVIEW === */
.testimonial-card, .testimonial-card p, .testimonial-card span {
  color: #212f4a;
  background: #fdfcff;
}

/* === ACCESSIBILITY TWEAKS === */
@media (max-width: 460px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.2rem; }
}

/* === END OF STYLE.CSS === */
