/* 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #F8F6F0;
  color: #234564;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #F8F6F0;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: 1em;
  outline: none;
  border-radius: 8px;
  border: none;
  background: none;
  appearance: none;
}

ul, ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
li {
  margin-bottom: 8px;
}

/* BRAND COLORS & FONTS */
:root {
  --color-primary: #26597A;
  --color-secondary: #37B574;
  --color-accent: #F8F6F0;
  --color-pink: #FFE2F0;
  --color-lavender: #E4EAFE;
  --color-mint: #D8F5E5;
  --color-yellow: #FFF7D6;
  --color-blue: #D8ECF8;
  --color-shadow: rgba(38,89,122,0.07);
  --color-shadow-dark: rgba(38, 89, 122, 0.14);
  --border-radius: 18px;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* ==================
    STRUCTURAL LAYOUTS
   ================== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 24px var(--color-shadow);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.text-section {
  max-width: 720px;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.footer-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
  padding: 40px 0 20px 0;
  border-top: 1.5px solid #e7e3e0;
}

@media (max-width: 880px) {
  .footer-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  .header-flex {
    gap: 8px;
  }
}

main {
  margin-bottom: 60px;
}

/* FLEX CONTAINERS/FLEXBOX PATTERNS */
.card-container,.features-grid,.tools-grid,.guides-grid,.blog-posts-grid,.team-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.features-grid { gap: 32px; }
.tools-grid { gap: 32px; }
.guides-grid,.blog-posts-grid { gap: 24px; }
.team-grid { gap: 32px; }

.card { margin-bottom: 20px; position: relative; }

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

@media (max-width: 768px) {
  .content-wrapper,
  .section,
  .card-container,
  .features-grid,
  .tools-grid,
  .guides-grid,
  .blog-posts-grid,
  .team-grid,
  .content-grid,
  .text-image-section {
    flex-direction: column !important;
    gap: 20px !important;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 3px 20px var(--color-shadow);
  margin-bottom: 20px;
  transition: box-shadow 0.28s;
}

.testimonial-card:hover {
  box-shadow: 0 8px 32px var(--color-shadow-dark);
  transform: translateY(-2px);
}

.feature-item {
  background: var(--color-lavender);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 210px;
  padding: 26px 24px 22px 24px;
  border-radius: var(--border-radius);
  min-width: 220px;
  max-width: 330px;
  box-shadow: 0 2px 14px var(--color-shadow);
  margin-bottom: 16px;
  transition: box-shadow 0.27s, transform 0.18s;
}
.feature-item img {
  width: 40px; height: 40px;
}
.feature-item:hover {
  box-shadow: 0 6px 28px var(--color-shadow-dark);
  background: var(--color-blue);
  transform: translateY(-3px) scale(1.02);
}

.team-member {
  background: var(--color-pink);
  padding: 16px 20px 20px 20px;
  border-radius: var(--border-radius);
  box-shadow: 0 1.5px 12px var(--color-shadow);
  text-align: center;
  flex: 1 1 220px;
  margin-bottom: 20px;
  min-width: 210px;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: box-shadow 0.22s, background 0.19s;
}
.team-member:hover {
  background: var(--color-mint);
  box-shadow: 0 6px 24px var(--color-shadow-dark);
}
.team-member img {
  width: 48px; height: 48px;
}

.guide-card, .tool-item, .blog-post {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 12px var(--color-shadow);
  flex: 1 1 210px;
  min-width: 220px;
  max-width: 330px;
  padding: 20px 20px 18px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.guide-card:hover, .tool-item:hover, .blog-post:hover {
  box-shadow: 0 8px 32px var(--color-shadow-dark);
  transform: translateY(-2px) scale(1.01);
}

.tool-item img {
  width: 40px; height: 40px; margin-bottom: 10px;
}

.review-counters {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  color: #26597A;
  font-size: 16px;
}

.brand-values {
  margin-top: 28px;
  background: var(--color-yellow);
  padding: 18px 22px;
  border-radius: var(--border-radius);
  box-shadow: 0 0.5px 8px var(--color-shadow);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
}

.footer-contact img {
  width: 18px;
  margin-right: 8px;
  vertical-align: middle;
}

/* NAVIGATION */
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.main-nav a {
  color: #234564;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  transition: color 0.19s;
  padding: 5px 0;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-secondary);
}

.cta-button {
  display: inline-block;
  background: linear-gradient(90deg,#37B574 0%,#82D6B2 100%);
  color: #fff !important;
  font-family: var(--font-display);
  font-weight: 600;
  border: none;
  border-radius: 32px;
  padding: 12px 36px;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 3px 12px var(--color-shadow);
  transition: background 0.20s, transform 0.12s, box-shadow 0.16s;
  margin-left: 20px;
  text-align: center;
  text-decoration: none;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(90deg,#26597A 0%,#37B574 100%);
  color: #fff !important;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 32px var(--color-shadow-dark);
}
.cta-button.secondary {
  background: linear-gradient(90deg,#FFE2F0 0%,#D8F5E5 100%);
  color: #234564 !important;
  box-shadow: 0 2px 12px var(--color-shadow);
}
.cta-button.secondary:hover, .cta-button.secondary:focus {
  background: linear-gradient(90deg,#D8ECF8 0%,#FFF7D6 100%);
  color: var(--color-secondary) !important;
}

footer nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
footer nav a {
  color: #26597A;
  text-decoration: none;
  font-size: 15px;
  font-family: var(--font-display);
  transition: color 0.19s;
  font-weight: 500;
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-secondary);
  text-decoration: underline;
}

/* HERO SECTIONS */
.hero {
  padding: 52px 0 32px 0;
  background: linear-gradient(120deg, #E4EAFE 64%, #D8F5E5 100%);
  border-radius: 0 0 var(--border-radius) var(--border-radius);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 18px;
  letter-spacing: -1px;
  line-height: 1.1;
}
.hero p {
  font-size: 20px;
  color: #26597A;
  margin-bottom: 24px;
  font-family: var(--font-body);
}

/* TYPOGRAPHY */
h1,h2,h3,h4,h5 {
  font-family: var(--font-display);
  margin-bottom: 12px;
  font-weight: 700;
  color: var(--color-primary);
}
h1 { font-size: 40px; }
h2 { font-size: 32px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
h5 { font-size: 18px; }

@media (max-width: 768px) {
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  h3 { font-size: 18px; }
  body { font-size: 15px; }
  .hero h1 { font-size: 26px; }
}

p, li, blockquote, label, span, div {
  font-family: var(--font-body);
  color: #234564;
  font-size: 16px;
  line-height: 1.6;
}

blockquote {
  background: #E4EAFE;
  border-left: 4px solid #26597A;
  padding: 20px 24px;
  margin: 22px 0;
  border-radius: var(--border-radius);
  color: #26597A;
  font-style: italic;
}

strong { font-weight: 700; color: #234564; }

a {
  color: var(--color-secondary);
  text-decoration: underline;
  transition: color 0.17s;
}
a:hover, a:focus {
  color: var(--color-primary);
}

/* FAQ ACCORDION */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px var(--color-shadow);
  padding: 18px 22px;
  transition: box-shadow 0.19s;
}
.faq-item h3 {
  font-size: 18px;
  cursor: pointer;
  font-weight: 600;
  color: var(--color-primary);
}
.faq-item div {
  margin-top: 8px;
  color: #234564;
  font-size: 16px;
}
.faq-item.open {
  box-shadow: 0 6px 24px var(--color-shadow-dark);
  background: var(--color-yellow);
}

.categories-filter, .filter-cats {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 20px 0;
  flex-wrap: wrap;
}
.categories-filter span, .filter-cats span {
  color: #26597A;
  font-weight: 600;
  font-size: 15px;
}
.categories-filter a, .filter-cats a {
  background: var(--color-mint);
  color: #234564;
  text-decoration: none;
  padding: 5px 15px;
  border-radius: 16px;
  font-size: 15px;
  font-family: var(--font-display);
  transition: background 0.14s, color 0.15s;
}
.categories-filter a:hover, .categories-filter a:focus,
.filter-cats a:hover, .filter-cats a:focus {
  background: var(--color-secondary);
  color: #fff;
}

/* CONTACT DETAILS */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 18px 0 10px 0;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.contact-item img {
  width: 22px;
  margin-right: 3px;
}

/* POLICY SECTIONS */
.policy {
  margin-bottom: 48px;
  padding: 44px 20px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 20px var(--color-shadow);
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: #fff;
  font-size: 28px;
  padding: 8px 13px 8px 13px;
  border-radius: 50%;
  cursor: pointer;
  border: none;
  z-index: 110;
  transition: background 0.18s, color 0.15s, transform 0.15s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-primary);
  color: #fff;
  transform: scale(1.1);
}
@media (max-width: 992px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(38, 89, 122, 0.10);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.88,.13,.26,1.13), opacity 0.27s;
  opacity: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--color-primary);
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  border-radius: 50%;
  padding: 8px 13px;
  margin: 20px 30px 16px 0;
  border: none;
  z-index: 21;
  transition: background 0.17s, transform 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-secondary);
  transform: scale(1.1);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 0 36px;
  margin-top: 22px; margin-bottom: 40px;
}
.mobile-nav a {
  font-size: 20px;
  font-family: var(--font-display);
  color: #234564;
  text-decoration: none;
  padding: 10px 0;
  border-radius: 11px;
  width: 100%;
  transition: background 0.12s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-lavender);
  color: var(--color-secondary);
}

/* MOBILE ADJUSTMENTS */
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .footer-flex,
  .header-flex {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .footer-contact {
    font-size: 14px;
  }
  .cta-button {
    margin-left: 0;
    margin-top: 12px;
  }
  .hero {
    padding: 29px 0 16px 0;
    border-radius: 0 0 16px 16px;
  }
}

/* SCROLLBAR STYLING */
::-webkit-scrollbar {
  width: 8px;
  background: #f5f5f5;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb {
  background: #E4EAFE;
  border-radius: 6px;
}

/* MICRO-INTERACTIONS */
.card, .feature-item, .team-member, .guide-card, .tool-item, .testimonial-card, .blog-post {
  transition: box-shadow 0.19s, background 0.16s, transform 0.14s;
}

/* BUTTON & INPUT BASE STYLES */
button {
  font-family: var(--font-display);
  font-size: 16px;
  padding: 10px 22px;
  border-radius: 24px;
  border: none;
  background: var(--color-secondary);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 1.5px 6px var(--color-shadow);
  transition: background 0.15s, color 0.13s, transform 0.14s;
}
button:hover, button:focus {
  background: var(--color-primary);
  color: #fff;
  transform: scale(1.06);
}

input, textarea {
  border-radius: 10px;
  border: 1.5px solid #d3d3d3;
  padding: 12px 18px;
  background: #fff;
  font-size: 16px;
  margin-bottom: 10px;
}
input:focus, textarea:focus {
  border-color: var(--color-primary);
  outline: none;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: rgba(228,234,254,0.98);
  box-shadow: 0 -4px 24px var(--color-shadow);
  z-index: 3000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 24px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  transition: transform 0.32s, opacity 0.27s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-btn {
  font-family: var(--font-display);
  padding: 9px 24px;
  margin-left: 16px;
  border-radius: 26px;
  background: var(--color-secondary);
  color: #fff;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.17s, color 0.18s;
}
.cookie-banner .cookie-btn.settings {
  background: var(--color-yellow);
  color: #26597A;
}
.cookie-banner .cookie-btn.reject {
  background: var(--color-pink);
  color: #26597A;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: var(--color-primary);
  color: #fff;
}

@media (max-width: 680px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    font-size: 14px;
  }
  .cookie-banner .cookie-btn {
    margin-left: 0; margin-top: 8px;
  }
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(38, 89, 122, 0.17);
  z-index: 3100;
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 6px 32px var(--color-shadow-dark);
  width: 96vw; max-width: 420px;
  padding: 32px 26px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 21px;
  margin-bottom: 3px;
  color: var(--color-primary);
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}
.cookie-modal .cookie-category label {
  font-size: 16px;
  font-weight: 500;
}
.cookie-modal .cookie-category input[type=checkbox] {
  accent-color: var(--color-secondary);
  width: 22px; height: 22px;
}
.cookie-modal .cookie-btn-row {
  display: flex;
  gap: 15px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 12px; right: 19px;
  background: var(--color-primary);
  color: #fff;
  font-size: 27px;
  padding: 2px 9px 3px 9px;
  cursor: pointer;
  border-radius: 50%;
  border: none;
  transition: background 0.16s, transform 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--color-secondary);
  transform: scale(1.12);
}

/* =========== PAGE SPECIFICS & UTILITIES =========== */
.callout, .cta, .callout.section {
  background: linear-gradient(110deg, #D8F5E5 64%, #FFE2F0 100%);
  border-radius: var(--border-radius);
  box-shadow: 0 3px 18px var(--color-shadow-dark);
  padding: 40px 28px;
  margin-bottom: 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.callout .cta-button, .cta .cta-button {
  margin-top: 22px;
}

.tips {
  background: var(--color-mint);
  border-radius: 12px;
  padding: 16px 22px;
  margin: 14px 0 18px 0;
  font-size: 15px;
}
.tips h3 {
  margin-bottom: 7px;
}

/* THANK YOU PAGE */
.thank-you {
  background: var(--color-mint);
  border-radius: var(--border-radius);
  box-shadow: 0 3px 22px var(--color-shadow);
  margin-top: 48px;
  margin-bottom: 30px;
  padding: 40px 20px;
  text-align: center;
}

@media (max-width: 580px) {
  .callout, .cta, .section {
    padding: 18px 5px;
  }
  .thank-you {
    padding: 18px 6px;
    font-size: 15px;
  }
}

.review-counters img {
  width: 20px; vertical-align: middle; margin-right: 3px;
}

/* HELPER CLASSES */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-18 { margin-top: 18px!important; }
.mb-18 { margin-bottom: 18px!important; }

/**************************************
 SOFT PASTEL ATMOSPHERE EXTRAS
**************************************/
body, .section, .policy, .callout, .cta, .thank-you, .feature-item, .team-member, .brand-values, .testimonial-card, .faq-item {
  box-shadow: 0 2px 14px var(--color-shadow);
}

.section, .policy, .callout, .brand-values, .thank-you {
  border-radius: var(--border-radius);
}

*:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/*************************************
 RESPONSIVE TUNING
*************************************/
@media (max-width: 480px) {
  .main-nav, footer nav {
    flex-direction: column;
    gap: 12px;
  }
  .footer-contact {
    font-size: 13px;
    gap: 9px;
  }
  .brand-values, .callout, .section, .policy, .content-wrapper {
    padding: 10px 3px;
    font-size: 15px;
  }
}

/*************************************
 COLOR ACCESSIBILITY (TESTIMONIALS ETC)
*************************************/
.testimonial-card, .faq-item, .blockquote, .review-counters {
  color: #222b35;
  background: #fff;
}
.testimonial-card p, .testimonial-card div, .review-counters {
  color: #1d2c36;
}
.testimonial-card strong {
  color: var(--color-primary);
}

/****************************
 PASTEL GRADIENT DECORATIVE EFFECTS
*****************************/
/* Only for decorative SVG/absolute, not for content! */

/*************************************
 FINAL: ENSURE NO GRID, NO COLUMNS!
*************************************/
/* (No grid, no columns used anywhere strictly) */
