/* 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;
  background: linear-gradient(135deg,#f4f9f4 0%, #cbe8e6 100%);
  color: #22577A;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #22577A;
  text-decoration: none;
  transition: color 0.3s;
}
a:hover {
  color: #38A3A5;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 16px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
input, textarea, button, select {
  font-family: inherit;
  font-size: 100%;
  margin: 0;
  outline: none;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #22577A;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.4rem; margin-bottom: 10px; }
h4 { font-size: 1.2rem; margin-bottom: 8px; }
p, li { font-size: 1rem; line-height: 1.7; color: #22577A; }
strong { font-weight: 700; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.1rem; }
}

/* LAYOUT & CONTAINERS */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  section {
    padding: 28px 8px;
    margin-bottom: 32px;
  }
  .container {
    padding: 0 8px;
  }
}

/* HEADER & NAVIGATION */
header {
  background: #22577A;
  color: #fff;
  box-shadow: 0 2px 16px 0 rgba(34,87,122,0.06);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  height: 72px;
}
.logo img {
  height: 38px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  color: #f4f9f4;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
  transition: color 0.2s;
}
.main-nav a:not(.btn-primary):after {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(90deg,#38a3a5 10%, #57cc99 90%);
  transform: scaleX(0);
  transition: transform 0.2s;
  margin-top: 0.2em;
}
.main-nav a:hover:not(.btn-primary):after {
  transform: scaleX(1);
}
.main-nav .btn-primary {
  margin-left: 20px;
}
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #f4f9f4;
  cursor: pointer;
  margin-left: 16px;
  outline: none;
  border-radius: 6px;
}
.mobile-menu-toggle:focus {
  box-shadow: 0 0 0 2px #38A3A5;
}
@media (max-width: 1020px) {
  .main-nav a {
    padding: 8px 3px;
    font-size: 0.97rem;
    gap: 8px;
  }
  .main-nav {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #22577A;
  color: #fff;
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.8,.3,.19,1.15);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: #f4f9f4;
  font-size: 2rem;
  margin: 28px 0 24px 24px;
  align-self: flex-start;
  cursor: pointer;
  border-radius: 6px;
  outline: none;
}
.mobile-menu-close:focus {
  box-shadow: 0 0 0 2px #38A3A5;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  padding-left: 40px;
}
.mobile-nav a {
  color: #f4f9f4;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 12px 0;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:active, .mobile-nav a:hover {
  background: #2c7198;
  color: #38a3a5;
}

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

/* BUTTONS */
.btn-primary, .btn-secondary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 11px 28px;
  font-size: 1rem;
  border: none;
  border-radius: 28px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.3s;
  box-shadow: 0 4px 12px 0 rgba(34,87,122,0.07);
  outline: none;
  text-align: center;
}
.btn-primary {
  background: linear-gradient(90deg, #38A3A5 5%, #57CC99 95%);
  color: #fff;
}
.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(90deg, #22577A 10%, #38A3A5 90%);
  color: #fff;
  box-shadow: 0 6px 20px 0 rgba(34,87,122,0.13);
}
.btn-secondary {
  background: transparent;
  color: #22577A;
  border: 2px solid #38A3A5;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: #38A3A5;
  color: #fff;
  border-color: #38A3A5;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(135deg,#d7f9f2 0%, #ffffff 100%);
  border-radius: 24px;
  margin-top: 32px;
  margin-bottom: 60px;
  box-shadow: 0 6px 28px 0 rgba(56,163,165,0.04);
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 26px;
}
.hero p {
  max-width: 560px;
  font-size: 1.25rem;
}
.hero .btn-primary {
  margin-top: 8px;
}
@media (max-width: 768px) {
  .hero {
    border-radius: 16px;
    margin-top: 14px;
  }
}

/* FEATURES & CARDS */
.features {
  background: #f4f9f4;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(34,87,122,0.03);
}
.features-grid, .blog-teasers-grid, .module-grid, .benefits-list, .footer-links, .footer-social, .featured-articles {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.features-grid {
  justify-content: space-between;
}
.feature {
  flex: 1 1 200px;
  min-width: 260px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(34,87,122,0.04);
  padding: 28px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.22s, transform 0.22s;
}
.feature img {
  width: 38px;
  height: 38px;
  border-radius: 7px;
  margin-bottom: 8px;
}
.feature:hover {
  box-shadow: 0 6px 22px 0 rgba(56,163,165,0.10);
  transform: translateY(-3px) scale(1.02);
}
@media (max-width: 900px) {
  .features-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature {
    min-width: 0;
    padding: 20px 12px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(34,87,122,0.04);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 7px 24px 0 rgba(34,87,122,0.14);
  transform: translateY(-2px) scale(1.01);
}

/* TESTIMONIALS */
.testimonials {
  background: linear-gradient(90deg, #f4f9f4 60%, #e9fcf7 100%);
  border-radius: 18px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px;
  margin-bottom: 22px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 14px 0 rgba(34,87,122,0.07);
  border-left: 7px solid #38A3A5;
}
.testimonial-card p {
  font-size: 1.08rem;
  color: #1b334a;
  font-style: italic;
}
.testimonial-card span {
  color: #22577A;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
@media (max-width: 768px) {
  .testimonial-card {
    padding: 14px 9px;
    margin-bottom: 19px;
  }
}

/* CTA SECTION */
.cta {
  background: linear-gradient(90deg, #38A3A5 10%, #57CC99 100%);
  border-radius: 18px;
  color: #fff;
  text-align: center;
  box-shadow: 0 2px 18px 0 rgba(56,163,165,0.15);
}
.cta h2, .cta p {
  color: #fff;
}
.cta .btn-primary {
  background: #fff;
  color: #22577A;
  border: none;
  font-weight: 700;
}
.cta .btn-primary:hover {
  background: #f4f9f4;
  color: #38A3A5;
}
@media (max-width: 768px) {
  .cta {
    border-radius: 12px;
    padding: 22px 4px;
  }
}

/* ABOUT SNAPSHOT */
.about-snapshot {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 14px 0 rgba(34,87,122,0.02);
  margin-bottom: 50px;
}
.about-snapshot ul {
  margin-bottom: 18px;
}
.about-snapshot .btn-secondary {
  margin-top: 10px;
}

/* FAQ ACCORDION */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.faq-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 8px 0 rgba(34,87,122,0.04);
  padding: 18px 22px;
  margin-bottom: 10px;
}
.faq-item h3 {
  font-size: 1.1rem;
  color: #38A3A5;
  margin-bottom: 0.5em;
}

/* BLOG TEASERS */
.blog-teasers-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.blog-teaser {
  flex: 1 1 270px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(56,163,165,0.07);
  padding: 24px 19px 20px 19px;
  transition: box-shadow 0.21s, transform 0.18s;
}
.blog-teaser:hover {
  box-shadow: 0 6px 22px 0 rgba(56,163,165,0.13);
  transform: translateY(-2px) scale(1.02);
}
.blog-teaser h3 {
  margin-bottom: 8px;
}
.blog-teaser a {
  margin-top: 12px;
  color: #38A3A5;
  font-weight: 700;
  font-size: 1rem;
}

.topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}
.topic-tags span {
  background: #eaf6f7;
  color: #38A3A5;
  font-size: 0.97rem;
  padding: 6px 16px;
  border-radius: 24px;
  font-weight: 500;
}

.featured-articles > div {
  background: #fbfbfb;
  border-radius: 10px;
  box-shadow: 0 0 6px 0 rgba(34,87,122,0.02);
  padding: 16px 14px;
  margin-bottom: 10px;
}

/* NEWSLETTER SIGNUP */
.newsletter-signup {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.newsletter-signup strong {
  font-weight: 700;
  color: #22577A;
  font-size: 1rem;
}
.newsletter-signup input[type='email'] {
  border-radius: 22px;
  border: 1.5px solid #38A3A5;
  padding: 11px 16px;
  font-size: 1rem;
  min-width: 220px;
  margin-right: 10px;
  transition: border 0.2s;
}
.newsletter-signup input[type='email']:focus {
  border: 1.5px solid #22577A;
}
.newsletter-signup button {
  margin-left: 6px;
}
.newsletter-signup > div {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

/* COURSE MODULES & BENEFITS */
.module-grid, .benefits-list {
  gap: 24px;
  margin-top: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.course-module, .benefit {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(56,163,165,0.06);
  padding: 22px 17px 18px 17px;
  flex: 1 1 190px;
  min-width: 210px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.course-module img, .benefit img {
  width: 30px;
  height: 30px;
  margin-bottom: 8px;
}
.course-module:hover, .benefit:hover {
  box-shadow: 0 5px 16px 0 rgba(56,163,165,0.13);
  transform: translateY(-2px) scale(1.02);
}

/* LISTS/ICONS IN SECTIONS */
.method-icons {
  display: flex;
  flex-direction: row;
  gap: 23px;
  align-items: center;
}
.method-icons img {
  width: 38px;
  height: 38px;
}

/* CONTACT & SUPPORT LISTS */
section ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
  font-size: 1rem;
  color: #22577A;
}
section ul li img {
  width: 22px;
  height: 22px;
}


/* FOOTER */
footer {
  background: #22577A;
  color: #f4f9f4;
  padding: 42px 0 18px 0;
  border-radius: 32px 32px 0 0;
  margin-top: 38px;
}
footer .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 320px;
}
.footer-brand img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
}
.brand-info span {
  display: block;
  margin-bottom: 5px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
}
.brand-info address {
  font-style: normal;
  font-size: 0.97rem;
  color: #f4f9f4;
  margin-bottom: 8px;
}
.brand-info a {
  color: #38A3A5;
  font-weight: 600;
  transition: color 0.18s;
}
.brand-info a:hover {
  color: #fff;
}
.footer-links, .footer-social {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  color: #f4f9f4;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 2px;
  transition: color 0.18s;
}
.footer-links a:hover {
  color: #38A3A5;
}
.footer-social {
  flex-direction: row;
  gap: 16px;
  margin-top: 10px;
}
.footer-social a img {
  width: 28px;
  height: 28px;
  filter: brightness(1.2) saturate(1.15);
  transition: filter 0.18s;
}
.footer-social a:hover img {
  filter: brightness(2) saturate(2);
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  footer {
    border-radius: 21px 21px 0 0;
    padding: 32px 0 10px;
  }
}

/* MANDATORY SPACING PATTERNS */
.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;
}
@media (max-width: 768px) {
  .content-grid, .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 600px) {
  .features, .about-snapshot, .testimonials, .cta, .course-module, .benefit, .blog-teaser, section, .footer-brand, .card {
    border-radius: 9px !important;
    padding: 14px 6px !important;
    margin-top: 0;
  }
  .hero, .footer {
    border-radius: 12px;
  }
}

/* ANIMATIONS & TRANSITIONS */
.btn-primary, .btn-secondary,
.main-nav a, .footer-links a, .blog-teaser, .feature, .card, .course-module, .benefit, .testimonial-card {
  transition: background 0.23s, color 0.23s, box-shadow 0.23s, border 0.18s, transform 0.23s;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #22577A;
  color: #f4f9f4;
  z-index: 2000;
  box-shadow: 0 -2px 16px 0 rgba(34,87,122,0.16);
  padding: 18px 25px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.28s, transform 0.3s;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner-message {
  font-size: 1rem;
  max-width: 540px;
  line-height: 1.6;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-btn-accept {
  background: linear-gradient(90deg,#38a3a5 10%, #57cc99 90%);
  color: #fff;
  font-weight: 700;
  border: none;
  padding: 10px 26px;
  border-radius: 22px;
  cursor: pointer;
}
.cookie-btn-accept:hover,
.cookie-btn-accept:focus {
  background: linear-gradient(90deg,#22577a 8%, #38a3a5 92%);
  color: #fff;
}
.cookie-btn-reject {
  background: transparent;
  color: #fff;
  border: 2px solid #57CC99;
  padding: 10px 22px;
  border-radius: 22px;
  font-weight: 600;
  cursor: pointer;
}
.cookie-btn-reject:hover,
.cookie-btn-reject:focus {
  background: #38A3A5;
  color: #fff;
  border: 2px solid #38A3A5;
}
.cookie-btn-settings {
  background: #fff;
  color: #38A3A5;
  border: none;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 22px;
  cursor: pointer;
}
.cookie-btn-settings:hover,
.cookie-btn-settings:focus {
  background: #f4f9f4;
  color: #22577A;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 15px 8px;
  }
  .cookie-banner-actions {
    flex-direction: column;
    gap: 9px;
    width: 100%;
  }
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2200;
  width: 100vw;
  height: 100vh;
  background: rgba(34,87,122,0.44);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.25s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #f4f9f4;
  color: #22577A;
  border-radius: 18px;
  width: 95%;
  max-width: 410px;
  padding: 32px 25px 21px 25px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 8px 38px 0 rgba(34,87,122,0.15);
  position: relative;
  animation: cookieModalIn 0.45s cubic-bezier(.19,1,.22,1);
}
@keyframes cookieModalIn {
  from { transform: translateY(38px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  right: 15px;
  top: 14px;
  background: transparent;
  color: #22577A;
  font-size: 1.7rem;
  border: none;
  cursor: pointer;
}
.cookie-modal h2 {
  font-size: 1.3rem;
  color: #22577A;
  margin-bottom: 5px;
}
.cookie-modal-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 6px 0 rgba(56,163,165,0.04);
  padding: 13px 15px 13px 11px;
}
.cookie-category span {
  flex: 1 1 auto;
  font-size: 1rem;
  color: #22577A;
}
.cookie-category label {
  font-weight: 500;
  margin-left: 7px;
}
.cookie-toggle {
  width: 42px;
  height: 22px;
  background: #e0ede9;
  border-radius: 14px;
  position: relative;
  cursor: pointer;
  margin-left: 8px;
  display: inline-block;
}
.cookie-toggle input[type='checkbox']{
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.cookie-toggle-slider {
  position: absolute;
  left: 3px; top: 3px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.18s;
  box-shadow: 0 1px 2px rgba(56,163,165,0.08);
}
.cookie-toggle input[type='checkbox']:checked + .cookie-toggle-slider {
  transform: translateX(20px);
  background: #38A3A5;
}
.cookie-toggle input[disabled]+.cookie-toggle-slider {
  background: #b7d7d2;
}
.cookie-modal .btn-primary {
  align-self: flex-end;
  margin-top: 18px;
}

/* Accessibility & Misc */
:focus-visible {
  outline: 2px solid #38A3A5;
  outline-offset: 2px;
}

::-webkit-input-placeholder { color: #aacad9; }
::-moz-placeholder { color: #aacad9; }
:-ms-input-placeholder { color: #aacad9; }
::placeholder { color: #aacad9; }