/* ==================== RESET & BASE ==================== */
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;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #FAFAF9;
  color: #263238;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  list-style-position: inside;
}
a {
  color: #197278;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #1b4548;
  text-decoration: underline;
}
*:focus {
  outline: 2px solid #bdf2ec;
  outline-offset: 1px;
}

/* ==================== SOFT PASTEL PALETTE ==================== */
:root {
  --color-primary: #263238;
  --color-secondary: #197278;
  --color-accent: #F2F2F2;
  --color-pastel-blue: #bdf2ec;
  --color-pastel-lilac: #F6E9FF;
  --color-pastel-peach: #FFEEE3;
  --color-pastel-yellow: #fff9db;
  --color-pastel-green: #e5fff7;
  --color-shadow: rgba(38,50,56,0.07);
  --color-shadow-strong: rgba(38,50,56, 0.14);
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
  --container-max-width: 1200px;
}

/* ==================== TYPOGRAPHY ==================== */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  letter-spacing: 0.01em;
  font-weight: 700;
  line-height: 1.12;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.7rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 16px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p, ul, ol, li {
  font-size: 1rem;
}
p {
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
}
em {
  font-style: italic;
}
.text-section h1,
.text-section h2,
.text-section h3 {
  color: var(--color-secondary);
}

/* ==================== LAYOUT ==================== */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
main {
  min-height: 60vh;
  padding-top: 48px;
}
.content-wrapper {
  background: #fff;
  border-radius: 24px;
  padding: 40px 32px;
  box-shadow: 0 8px 32px var(--color-shadow);
  margin-bottom: 36px;
}
.text-section {
  background: var(--color-pastel-blue);
}

@media (max-width: 900px) {
  .container {
    padding: 0 10px;
  }
  .content-wrapper {
    padding: 28px 10px;
  }
}
@media (max-width: 600px) {
  .content-wrapper {
    border-radius: 12px;
    padding: 18px 3vw;
  }
}

/* ========= MANDATORY SPACING & ALIGNMENT PATTERNS ========= */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: none;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  background: #fff;
  border-radius: 20px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 4px 16px var(--color-shadow);
  padding: 32px 24px;
  min-width: 240px;
  max-width: 350px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px var(--color-shadow-strong);
  transform: translateY(-6px) scale(1.02);
}
.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(--color-pastel-lilac);
  border-radius: 18px;
  margin-bottom: 24px;
  box-shadow: 0 2px 14px var(--color-shadow);
  min-width: 240px;
  color: #263238;
  font-size: 1rem;
}
.testimonial-card > *:last-child {
  margin-left: auto;
  font-weight: 600;
  color: var(--color-secondary);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 768px) {
  .content-grid,
  .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}

/* ==================== HEADER & NAV ==================== */
header {
  background: linear-gradient(90deg, #FFEEE3 0%, #F6E9FF 100%);
  box-shadow: 0 2px 12px var(--color-shadow);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}
nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  font-family: var(--font-display);
}
nav a {
  color: var(--color-primary);
  font-weight: 500;
  font-size: 1rem;
  padding: 7px 10px;
  border-radius: 8px;
  position: relative;
  transition: background 0.2s, color 0.2s;
}
nav a:hover,
nav a.active {
  background: var(--color-pastel-blue);
  color: var(--color-secondary);
}
nav a.cta-primary {
  background: linear-gradient(90deg, #bdf2ec 0%, #F6E9FF 100%);
  color: var(--color-secondary);
  font-weight: 700;
  border-radius: 16px;
  box-shadow: 0 1px 8px var(--color-shadow);
  padding: 10px 20px;
  margin-left: 14px;
  transition: background 0.15s, color 0.15s, box-shadow 0.2s;
  border: none;
}
nav a.cta-primary:hover,
nav a.cta-primary:focus {
  background: linear-gradient(90deg,#fff9db 0%,#bdf2ec 100%);
  color: #197278;
  box-shadow: 0 4px 16px var(--color-shadow-strong);
}

header nav img {
  height: 40px;
  margin-right: 28px;
}

/* MOBILE HEADER */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 18px;
  right: 20px;
  z-index: 45;
  background: var(--color-secondary);
  color: #fff;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 12px;
  font-size: 2rem;
  cursor: pointer;
  box-shadow: 0 4px 24px var(--color-shadow);
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: var(--color-primary);
}

@media (max-width: 980px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* ==================== MOBILE MENU ==================== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(120deg,#F6E9FF 0%,#bdf2ec 100%);
  z-index: 1001;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.8,.1,.32,1) 0s;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: 0 4px 48px var(--color-shadow-strong);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.0rem;
  color: var(--color-secondary);
  align-self: flex-end;
  margin: 26px 28px 18px 0;
  cursor: pointer;
  transition: color 0.21s;
}
.mobile-menu-close:hover {
  color: var(--color-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  margin-top: 40px;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--color-primary);
  background: #fff;
  border-radius: 12px;
  padding: 13px 24px;
  min-width: 220px;
  text-align: center;
  box-shadow: 0 2px 12px var(--color-shadow);
  margin: 0;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-pastel-blue);
  color: var(--color-secondary);
}

/* Overlay background (if desired) as support */
@media (max-width: 980px) {
  body.menu-open {
    overflow: hidden;
  }
}

/* ==================== SECTIONS & CARDS ==================== */
section {
  width: 100%;
}
.card {
  background: #fff;
}
.text-section {
  background: var(--color-pastel-blue);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

@media (max-width: 600px) {
  .card, .testimonial-card {
    min-width: unset;
    padding: 16px 2vw;
  }
}

/* ==================== BUTTONS & CTA ==================== */
.cta-primary,
button.cta-primary {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-secondary);
  background: linear-gradient(90deg, #bdf2ec 0%, #F6E9FF 100%);
  padding: 13px 32px;
  border-radius: 18px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px var(--color-shadow);
  margin-top: 8px;
  transition: background 0.2s, color 0.2s, box-shadow 0.19s, transform 0.18s;
  min-width: 185px;
  text-align: center;
}
.cta-primary:hover,
.cta-primary:focus,
button.cta-primary:hover,
button.cta-primary:focus {
  background: linear-gradient(90deg,#fff9db 0%,#eae6f8 100%);
  color: var(--color-primary);
  box-shadow: 0 4px 20px var(--color-shadow-strong);
  transform: translateY(-3px) scale(1.02);
}

.cta-secondary,
button.cta-secondary {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-primary);
  background: linear-gradient(90deg, #fff9db 0%, #e5fff7 100%);
  padding: 11px 24px;
  border-radius: 14px;
  border: none;
  margin-top: 10px;
  box-shadow: 0 1px 4px var(--color-shadow);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.16s;
}
.cta-secondary:hover,
.cta-secondary:focus,
button.cta-secondary:hover,
button.cta-secondary:focus {
  background: linear-gradient(90deg, #bdf2ec 0%, #F6E9FF 100%);
  color: var(--color-secondary);
  box-shadow: 0 3px 12px var(--color-shadow-strong);
}

/* For links styled as buttons */
a.cta-primary, a.cta-secondary { text-decoration: none; }

/* ==================== TESTIMONIAL CARDS ==================== */
.testimonial-card {
  background: linear-gradient(90deg, #F6E9FF 90%, #bdf2ec 100%);
  color: #263238;
  border-radius: 18px;
  padding: 24px 28px;
  box-shadow: 0 2px 14px var(--color-shadow);
  font-size: 1.06rem;
  min-width: 280px;
  max-width: 640px;
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 24px;
  line-height: 1.5;
}
.testimonial-card p {
  flex: 2 1 auto;
}
.testimonial-card strong {
  color: var(--color-secondary);
}
@media (max-width:600px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 8px;
    min-width: unset;
    max-width: unset;
  }
}

/* ==================== FOOTER ==================== */
footer {
  background: linear-gradient(90deg, #F6E9FF 0%, #bdf2ec 100%);
  color: var(--color-primary);
  padding: 28px 0 14px 0;
  margin-top: 64px;
  font-size: 1rem;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -2px 24px var(--color-shadow);
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
footer nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 6px;
}
footer nav a {
  background: none;
  color: var(--color-primary);
  font-size: 0.98rem;
  padding: 4px 10px;
  border-radius: 6px;
  transition: background 0.15s;
}
footer nav a:hover {
  background: var(--color-pastel-yellow);
}

@media (max-width: 480px) {
  footer nav {
    flex-direction: column;
    gap: 7px;
  }
  footer {
    font-size: 0.96rem;
    border-radius: 12px 12px 0 0;
  }
}


/* ==================== COOKIE CONSENT BANNER ==================== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  min-height: 60px;
  z-index: 1050;
  background: linear-gradient(90deg, #F6E9FF 80%, #bdf2ec 100%);
  box-shadow: 0 -3px 24px var(--color-shadow-strong);
  padding: 18px 16px 18px 16px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 1rem;
  animation: fadeIn 0.6s;
}
.cookie-banner p {
  flex: 1 1 340px;
  color: var(--color-primary);
  font-family: var(--font-body);
  margin: 0;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.cookie-banner button, .cookie-banner .cta-secondary {
  font-size: 1rem;
  padding: 9px 20px;
  border-radius: 13px;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  background: linear-gradient(90deg, #bdf2ec 40%, #F6E9FF 100%);
  color: var(--color-secondary);
  box-shadow: 0 1px 4px var(--color-shadow);
  transition: background 0.14s, color 0.14s;
}
.cookie-banner button:hover, .cookie-banner .cta-secondary:hover {
  background: linear-gradient(90deg,#fff9db 20%,#bdf2ec 100%);
  color: var(--color-primary);
}
.cookie-banner .cookie-settings {
  background: linear-gradient(90deg, #fff9db 0%, #e5fff7 100%);
  color: var(--color-secondary);
  border: 1px solid #ebe9fa;
}
.cookie-banner .cookie-settings:hover {
  background: linear-gradient(90deg, #bdf2ec 0%, #F6E9FF 100%);
}
@media (max-width: 480px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.97rem;
    padding: 13px 6px;
  }
  .cookie-banner .cookie-actions {
    width: 100%;
    gap: 10px;
  }
}

/* ==================== COOKIE MODAL ==================== */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 94vw;
  max-width: 420px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 48px var(--color-shadow-strong);
  padding: 36px 24px 28px 24px;
  z-index: 2000;
  transform: translate(-50%, -50%) scale(0.92);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.23s, transform 0.23s;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal.open {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
  animation: popIn 0.33s cubic-bezier(.61,-0.22,.47,1.38);
}
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 7px;
  color: var(--color-secondary);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 0;
}
.cookie-category label {
  flex: 1;
  font-size: 1.06rem;
  font-family: var(--font-body);
  color: var(--color-primary);
}
.cookie-category input[type="checkbox"],
.cookie-category input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: var(--color-secondary);
}
.cookie-actions-modal {
  display: flex;
  gap: 18px;
  margin-top: 20px;
  align-items: center;
  justify-content: flex-end;
}
.cookie-modal button {
  padding: 9px 22px;
  border-radius: 13px;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  background: linear-gradient(90deg, #bdf2ec 40%, #F6E9FF 100%);
  color: var(--color-secondary);
  box-shadow: 0 1px 4px var(--color-shadow);
  transition: background 0.16s, color 0.16s;
}
.cookie-modal button:hover {
  background: linear-gradient(90deg, #fff9db 0%, #e5fff7 100%);
  color: var(--color-primary);
}
.cookie-modal .close-modal {
  position: absolute;
  top: 13px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--color-secondary);
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal .close-modal:hover {
  color: var(--color-primary);
}

/* Modal Overlay */
.cookie-modal-backdrop {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(185, 229, 220, 0.38);
  z-index: 1999;
  opacity: 0;
  transition: opacity 0.22s;
  pointer-events: none;
}
.cookie-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(50px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes popIn {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.82); }
  80% { transform: translate(-50%, -50%) scale(1.06); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* ==================== MISC ==================== */
::-webkit-scrollbar {
  width: 11px;
  background: #f2faff;
}
::-webkit-scrollbar-thumb {
  background: #eaf8f7;
  border-radius: 40px;
}
::-webkit-scrollbar-thumb:hover {
  background: #d3efed;
}

hr {
  border: 0;
  border-top: 1.5px solid #e5ecec;
  margin: 22px 0;
}

/* Spacing for all major sections */
section + section {
  margin-top: 10px;
}

/* ============= CUSTOM LIST STYLES (soft pastel bullets) ============= */
ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
}
ul li:before {
  content: '';
  position: absolute;
  left: 0; top: 0.72em;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: linear-gradient(120deg,#bdf2ec 35%, #F6E9FF 87%);
  box-shadow: 0 1px 5px var(--color-shadow);
}

ol {
  counter-reset: pastelcounter;
}
ol li {
  counter-increment: pastelcounter;
  position: relative;
  padding-left: 31px;
}
ol li:before {
  content: counter(pastelcounter) '.';
  position: absolute;
  left: 0; top: 0; color: var(--color-secondary);
  font-weight: 600;
  font-family: var(--font-display);
}

/* ========== Blockquote/Quotes ========== */
blockquote, .testimonial-card p {
  font-style: italic;
}
blockquote {
  background: var(--color-pastel-peach);
  border-radius: 12px;
  padding: 18px 22px;
  margin: 18px 0;
  border-left: 4px solid var(--color-pastel-blue);
  color: var(--color-primary);
}


/* ========== Responsive Headings & Bodies ========== */
@media(max-width:480px){
  h1{font-size:1.6rem}
  h2{font-size:1.22rem}
  h3{font-size:1.07rem}
  .cta-primary, .cta-secondary, button.cta-primary, button.cta-secondary{font-size:1rem; padding:10px 13px;}
}

/* ========== Accessibility helper for links and buttons ========== */
[tabindex]:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2.5px solid var(--color-pastel-blue);
  outline-offset: 1.5px;
}

/* === Hide cookie modal on print === */
@media print {
  .cookie-banner, .cookie-modal, .cookie-modal-backdrop, .mobile-menu { display: none!important; }
}

/* ========== Utility classes ========== */
.mt-2 { margin-top: 16px!important; }
.mt-4 { margin-top: 32px!important; }
.mb-2 { margin-bottom: 16px!important; }
.mb-4 { margin-bottom: 32px!important; }

/* ==================== END ==================== */
