/* ------------ CSS RESET & NORMALIZATION ------------ */
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 {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}
body {
  background: #F3F6F4;
  color: #184053;
  line-height: 1.55;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  font-weight: 400;
  letter-spacing: 0.02em;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s cubic-bezier(0.4,0,0.2,1);
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  color: inherit;
}
:focus {
  outline: 2px solid #45A291;
  outline-offset: 2px;
}
::-webkit-input-placeholder { color: #8faabf; }
::-moz-placeholder          { color: #8faabf; }
:-ms-input-placeholder      { color: #8faabf; }
::placeholder              { color: #8faabf; }

/* ------------ TYPOGRAPHY (GEOMETRIC STRUCTURED) ------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial', Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #184053;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.75rem;
  line-height: 1.22;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  line-height: 1.22;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}
p {
  font-size: 1rem;
  margin-bottom: 16px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
strong {
  font-weight: 700;
}

/* Visual accent for geometric style on headings */
h1, h2 {
  position: relative;
  padding-left: 18px;
}
h1:before, h2:before {
  content: '';
  display: inline-block;
  width: 9px;
  height: 36px;
  background: #45A291;
  clip-path: polygon(0 0, 65% 0, 100% 100%, 35% 100%);
  position: absolute;
  left: 0; top: -2px;
  border-radius: 1px;
}

/* Typography scale on smaller screens */
@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem;}
  h3 { font-size: 1.1rem;}
  body { font-size: 15px; }
}

/* ------------ LAYOUT CONTAINERS ------------ */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.content-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

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

/* ------------- HEADER & NAVIGATION ------------- */
header {
  background: #fff;
  box-shadow: 0 3px 18px rgba(24, 64, 83, 0.05);
  border-bottom: 3px solid #45A291;
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 72px;
}
header img {
  height: 44px;
  margin-right: 12px;
}
.main-nav {
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #184053;
  padding: 7px 14px;
  border-radius: 7px;
  transition: background 0.16s cubic-bezier(0.4,0,0.2,1), color 0.16s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #45A291;
  color: #fff;
}
.main-nav a.cta {
  background: #184053;
  color: #fff;
  border-radius: 16px 3px 16px 3px;
  padding: 8px 23px;
  font-size: 1.08rem;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(69,162,145,0.11);
  letter-spacing: 0.04em;
  transition: background 0.16s, color 0.16s, transform 0.11s;
}
.main-nav a.cta:hover, .main-nav a.cta:focus {
  background: #45A291;
  color: #fff;
  transform: translateY(-1.5px) scale(1.025);
}

/* ------------ MOBILE NAVIGATION ------------ */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  background: #45A291;
  color: #fff;
  border-radius: 10px;
  padding: 4px 14px;
  cursor: pointer;
  margin-left: 12px;
  transition: background 0.17s, box-shadow 0.13s;
  border: none;
}
.mobile-menu-toggle:active {
  background: #184053;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #184053;
  color: #fff;
  z-index: 1200;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-100%);
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1), opacity 0.18s;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}
.mobile-menu.open {
  display: flex;
  pointer-events: all;
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 24px 0 0;
  font-size: 2.15rem;
  color: #fff;
  background: transparent;
  border: none;
  padding: 0 11px 2px 11px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #45A291;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin-top: 12vh;
  width: 100%;
  padding-left: 28px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.30rem;
  font-weight: 600;
  color: #fff;
  background: transparent;
  border-radius: 13px;
  padding: 10px 14px;
  letter-spacing: 0.02em;
  transition: background 0.13s;
  min-width: 180px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #45A291;
  color: #fff;
}
@media (max-width: 1080px) {
  header .container { gap: 8px; }
}
@media (max-width: 900px) {
  header .container { padding-left: 8px; padding-right: 8px; height: 65px; }
  header img { height: 36px; }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ------------ HERO & SECTIONS ------------ */
.hero {
  background: linear-gradient(120deg, #F3F6F4 83%, #45A29114 100%);
  border-bottom: 2px solid #45A291;
  padding: 54px 0 44px 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 210px;
}
.hero h1 { color: #184053; }
.hero p { font-size: 1.17rem; color: #235c7a; margin-bottom: 18px; }

/* ------------ FLEX SPACING STRUCTURE ------------ */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
.card {
  background: #fff;
  border-radius: 18px 3px 18px 3px;
  box-shadow: 0 4px 32px rgba(24, 64, 83, 0.09);
  padding: 28px 20px 22px 20px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.14s, transform 0.12s;
  min-width: 270px;
  max-width: 415px;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(69, 162, 145, 0.13);
  transform: translateY(-3px) scale(1.018);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

/* ----------- FEATURE GRID & CARDS ------------ */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  margin-bottom: 18px;
}
.feature-grid > div,
.feature-grid > a {
  background: #fff;
  border-radius: 15px 3px 15px 3px;
  box-shadow: 0 2px 18px rgba(24,64,83,0.08);
  padding: 23px 18px 21px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 210px;
  max-width: 295px;
  text-align: left;
  transition: box-shadow 0.15s, transform 0.13s, background 0.14s;
  margin-bottom: 20px;
}
.feature-grid > div:hover,
.feature-grid > a:hover {
  box-shadow: 0 4px 36px rgba(69,162,145,0.13);
  background: #F3F6F4;
  transform: translateY(-2.5px) scale(1.012);
}
.feature-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 7px;
  border-radius: 6px 2px 6px 2px;
  background: #45A29122;
  padding: 5px;
}
.feature-grid h3 {
  font-size: 1.13rem;
  color: #184053;
}

/* ----------- TESTIMONIALS & LISTS ------------ */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-radius: 12px 1.5px 12px 1.5px;
  box-shadow: 0 2px 14px rgba(24, 64, 83, 0.13);
  padding: 20px 26px 18px 26px;
  min-width: 270px;
  max-width: 370px;
  margin-bottom: 20px;
  border-left: 7px solid #45A291;
}
.testimonial-card p {
  color: #184053;
  font-size: 1.08rem;
  margin-bottom: 0;
  line-height: 1.4;
  font-style: italic;
}
.testimonial-card span {
  font-size: 0.99rem;
  color: #45A291;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* --------- CATEGORY TAGS, SEARCH, CTA --------- */
.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 15px;
  margin-bottom: 12px;
}
.tag {
  background: #45A291;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.93rem;
  border-radius: 14px 2px 14px 2px;
  padding: 6px 15px;
  letter-spacing: 0.03em;
  transition: background 0.12s;
  user-select: none;
}
.tag:hover {
  background: #184053;
}
.blog-search {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 12px 0;
}
.blog-search input {
  border: 1.4px solid #45A291;
  border-radius: 10px 3px 10px 3px;
  padding: 7px 16px;
  font-size: 1.04rem;
  width: 210px;
  transition: border 0.13s;
  background: #F3F6F4;
}
.blog-search input:focus {
  border-color: #184053;
  background: #fff;
}

.cta {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  background: #45A291;
  border-radius: 16px 3px 16px 3px;
  padding: 12px 28px;
  margin-top: 12px;
  box-shadow: 0 2px 14px rgba(69,162,145,0.11);
  letter-spacing: 0.03em;
  border: none;
  cursor: pointer;
  transition: background 0.17s, color 0.17s, transform 0.13s;
  text-align: center;
}
.cta:hover, .cta:focus {
  background: #184053;
  color: #fff;
  transform: scale(1.04) translateY(-2px);
}

/* ------------ LISTS & GENERAL UI ------------ */
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 16px;
  font-size: 1rem;
}
ul li, ol li {
  margin-bottom: 7px;
  line-height: 1.47;
  padding-left: 8px;
  position: relative;
}
ul li:before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #45A291;
  border-radius: 1.5px;
  margin-right: 14px;
  vertical-align: middle;
}

/* ------------ CONTACT DETAILS BLOCK ------------ */
.contact-details, .address-block {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-bottom: 20px;
}
.contact-details > div, .address-block {
  display: flex;
  align-items: center;
  gap: 8px;
}
.address-block img, .contact-details img {
  width: 22px; height: 22px;
}
.address-block span {
  font-size: 1.01rem;
  color: #184053;
  letter-spacing: 0.01em;
}

/* ------------- DOWNLOAD/TOOLKIT/TEASERS/CTA --------------- */
.downloads-teaser, .motivation-cta, .toolkit-download, .meditation-teaser {
  background: #45A29111;
  border-left: 5px solid #45A291;
  border-radius: 7px 3px 7px 3px;
  padding: 18px 18px 14px 20px;
  margin-top: 19px;
  margin-bottom: 13px;
  font-size: 1rem;
  box-shadow: 0 2px 12px rgba(24,64,83,0.05);
}
.downloads-teaser a, .motivation-cta a, .toolkit-download a, .meditation-teaser a {
  margin-left: 10px;
}

/* ------------- FOOTER ------------- */
footer {
  margin-top: 40px;
  background: #184053;
  color: #fff;
  font-size: 0.97rem;
  padding: 38px 0 0 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
footer .content-wrapper {
  width: 100%;
  max-width: 880px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin: 0 auto;
  padding-bottom: 24px;
}
.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #45A291;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 7px 2px 7px 2px;
  padding: 5px 13px;
  transition: background 0.15s, color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #45A291;
  color: #fff;
}
footer .address-block span { color: #fff; font-weight: 400; }
footer .copyright {
  font-size: 0.9rem;
  margin-top: 26px;
  margin-bottom: 0;
  color: #8ec0b5;
  width: 100%;
}
@media (max-width: 900px) {
  footer .content-wrapper { flex-direction: column; align-items: flex-start; }
  .footer-nav { gap: 12px; margin-bottom: 8px; }
}

/* ------------- RESPONSIVE FLEX & LAYOUT ------------- */
@media (max-width: 1020px) {
  .feature-grid {
    justify-content: flex-start;
    gap: 20px;
  }
  .testimonial-list {
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .hero { padding: 38px 0 25px 0; }
  .feature-grid { gap: 14px; }
  .testimonial-list { gap: 15px; }
  .footer-nav { font-size: 0.96rem; }
}
@media (max-width: 480px) {
  .content-wrapper, .container {
    padding-left: 6px;
    padding-right: 6px;
  }
  .feature-grid, .testimonial-list, .category-tags {
    flex-direction: column;
    gap: 10px;
  }
  .footer-nav { flex-direction: column; gap: 7px; }
}

/* ------------- COOKIE CONSENT BANNER ------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: #184053;
  border-top: 3px solid #45A291;
  box-shadow: 0 -3px 18px rgba(24, 64, 83, 0.11);
  z-index: 9999;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 24px 20px 18px 20px;
  font-size: 1rem;
  justify-content: space-between;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.22s cubic-bezier(0.4,0,0.2,1), opacity 0.18s;
}
.cookie-banner.closed {
  opacity: 0;
  transform: translateY(110%);
  pointer-events: none;
}
.cookie-banner__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border-radius: 12px 2px 12px 2px;
  padding: 8px 21px;
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 1.01rem;
  background: #45A291;
  color: #fff;
  border: none;
  margin-right: 0;
  cursor: pointer;
  transition: background 0.13s, color 0.13s, transform 0.13s;
}
.cookie-btn.settings {
  background: #fff;
  color: #184053;
  border: 1.3px solid #45A291;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #184053;
  color: #fff;
  transform: scale(1.045) translateY(-1.1px);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #45A291;
  color: #fff;
}

/* ----------- COOKIE PREFERENCES MODAL ----------- */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,64,83, 0.54);
  z-index: 10001;
  justify-content: center;
  align-items: center;
  animation: fadeInCookieModal 0.28s cubic-bezier(0.4,0,0.2,1);
}
@keyframes fadeInCookieModal {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal__content {
  background: #fff;
  border-radius: 20px 5px 20px 5px;
  padding: 40px 30px 32px 30px;
  min-width: 320px;
  max-width: 95vw;
  box-shadow: 0 8px 40px rgba(24,64,83,0.22);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  opacity: 1;
  animation: cookieModalContentSlideIn 0.29s cubic-bezier(0.4,0,0.2,1);
}
@keyframes cookieModalContentSlideIn {
  from { opacity: 0; transform: translateY(60px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-modal__header {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
  margin-bottom: 22px;
}
.cookie-modal__header h2 {
  font-size: 1.32rem;
  margin: 0;
}
.cookie-modal__close {
  font-size: 1.8rem;
  background: transparent;
  color: #184053;
  border: none;
  cursor: pointer;
  border-radius: 9px;
  padding: 4px 10px;
  transition: background 0.14s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: #45A29144;
}
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
  width: 100%;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
}
.cookie-category input[type="checkbox"] {
  accent-color: #45A291;
  width: 22px; height: 22px;
}
.cookie-category.essential label {
  color: #184053;
  font-weight: 600;
}
.cookie-category.essential input[type="checkbox"] {
  accent-color: #184053;
  pointer-events: none;
}
.cookie-modal__actions {
  display: flex;
  gap: 14px;
}
.cookie-modal__desc {
  font-size: 1.03rem;
  color: #184053;
  margin-bottom: 15px;
  line-height: 1.44;
}
@media (max-width: 480px) {
  .cookie-modal__content {
    padding: 20px 7vw 22px 7vw;
    min-width: unset;
  }
}

/* ------------ MISC & UTILITIES ------------ */
.section { /* already provided above for spacing */ }
.card-container { /* flex/gap already above */ }
.card { /* gap, margin, etc. above */ }
.content-grid { /* above */ }
.text-image-section { /* above */ }
.testimonial-card { /* above */ }
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ------------- GENERAL ANIMATIONS/TRANSITIONS ------------- */
.cta, .main-nav a, .feature-grid > div, .feature-grid > a, .card, .tag,
.footer-nav a, .cookie-btn {
  transition: background 0.15s cubic-bezier(.4,0,.2,1),
              color 0.15s cubic-bezier(.4,0,.2,1),
              box-shadow 0.13s cubic-bezier(.4,0,.2,1),
              transform 0.15s cubic-bezier(.4,0,.2,1);
}

/* ------------- A11Y: HIDE TEXT FOR VISUALLY HIDDEN LABELS ------------- */
.visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/* ----------- PRINT/SELECTION ----------- */
::selection {
  background: #45A291;
  color: #fff;
}

/* ------------ END OF CSS ------------ */
