/* 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, font, 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;
}
/* Set block display for HTML5 elements */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #FAF3E3;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #245A34;
  min-height: 100vh;
  background-image: linear-gradient(135deg, rgba(53,92,125,0.065), rgba(36,90,52,0.04));
  background-repeat: no-repeat;
  background-attachment: fixed;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #355C7D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #245A34;
  text-decoration: underline;
}
ul, ol {
  margin-left: 24px;
}
strong, b {
  font-weight: 600;
}
/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #245A34;
  margin-bottom: 16px;
  font-weight: 800;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.125rem;
}
p {
  font-size: 1rem;
  margin-bottom: 16px;
}
.subheadline {
  color: #355C7D;
  font-size: 1.25rem;
  margin-bottom: 24px;
}

/* Layout containers */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: white;
  border-radius: 18px;
  box-shadow: 0 4px 28px 0 rgba(53,92,125,0.08);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Hero section */
.hero {
  background: linear-gradient(120deg, #FAF3E3 60%, #355C7D 100%);
  border-radius: 0 0 32px 32px;
  min-height: 260px;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  box-shadow: 0 8px 32px 0 rgba(53,92,125,0.08);
  position: relative;
  z-index: 1;
}
.hero h1,
.hero .subheadline {
  color: #245A34;
}
.hero .cta-primary {
  margin-top: 18px;
}

/* Navigation */
header {
  background: white;
  box-shadow: 0 2px 18px 0 rgba(53,92,125,0.09);
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 20px;
}
header img {
  height: 48px;
  margin-right: 20px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 8px 14px;
  border-radius: 7px;
  color: #355C7D;
  font-weight: 600;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #FAF3E3;
  color: #245A34;
}
.main-nav .cta-primary {
  background: linear-gradient(90deg,#355C7D 0%, #245A34 100%);
  color: #FAF3E3;
  border-radius: 18px;
  padding: 10px 24px;
  margin-left: 14px;
  font-weight: 700;
  box-shadow: 0 2px 12px 0 rgba(53,92,125,0.12);
  transition: background 0.2s, color 0.18s, transform 0.15s;
}
.main-nav .cta-primary:hover, .main-nav .cta-primary:focus {
  background: #245A34;
  color: #FAF3E3;
  transform: translateY(-2px) scale(1.04);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #355C7D;
  cursor: pointer;
  margin-left: 16px;
  z-index: 1202;
  line-height: 1;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #245A34;
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(53,92,125, 0.93);
  color: #FAF3E3;
  z-index: 1200;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #FAF3E3;
  font-size: 2.2rem;
  padding: 24px 24px 10px 24px;
  cursor: pointer;
  align-self: flex-end;
  margin-top: 4px;
  margin-right: 8px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 25px;
  width: 100%;
  align-items: flex-start;
  padding-left: 36px;
}
.mobile-nav a {
  color: #FAF3E3;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.18s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #245A34;
  color: #FAF3E3;
}

@media (max-width: 1080px) {
  .container { max-width: 97vw; }
}

@media (max-width: 900px) {
  .main-nav {
    gap: 12px;
  }
  header img {
    height: 38px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
}

@media (max-width: 768px) {
  .container {
    padding: 0 6vw;
  }
  header .container {
    flex-direction: row;
    gap: 8px;
    padding-top: 5px;
    padding-bottom: 5px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .mobile-menu {
    display: flex;
  }
  .hero {
    min-height: 130px;
    padding-top: 20px;
    padding-bottom: 20px;
    border-radius: 0 0 16px 16px;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 10px; }
  .section { padding: 28px 6px; }
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.1rem; }
  h3 { font-size: 1rem; }
}


/* Spacing - mandatory patterns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2.5px 13px 0 rgba(53,92,125, 0.10);
  display: flex;
  flex-direction: column;
  padding: 24px 18px 18px 18px;
  transition: box-shadow 0.17s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 4px 26px 0 rgba(53,92,125, 0.19);
  transform: translateY(-3px) scale(1.017);
}
.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: 18px;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 20px 28px 22px 24px;
  background: #FAF3E3;
  border-radius: 14px;
  box-shadow: 0 2px 11px 0 rgba(53,92,125, 0.08);
  margin-bottom: 20px;
  min-width: 0;
  position: relative;
}
.testimonial-card p {
  color: #245A34;
  font-size: 1rem;
}
.testimonial-author {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #355C7D;
  font-size: 0.97rem;
  font-weight: 600;
  margin-top: 2px;
  margin-bottom: 2px;
}
.star-rating {
  color: #F6C700;
  letter-spacing: 1.5px;
  font-size: 1.2rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 0 0 20px 0;
}

/* Feature grid for topic cards */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
  align-items: stretch;
}
.feature-grid > div {
  flex: 1 1 220px;
  min-width: 210px;
  padding: 32px 20px 26px 20px;
  background: white;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 2px 15px 0 rgba(53,92,125,0.10);
  transition: box-shadow 0.19s, transform 0.19s;
  margin-bottom: 0;
}
.feature-grid > div:hover {
  box-shadow: 0 4px 24px 0 rgba(53,92,125,0.20);
  transform: translateY(-2.5px) scale(1.015);
}
.feature-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  filter: drop-shadow(0 2px 4px rgba(53,92,125,0.07));
}

/* Text sections */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.text-section ul {
  margin-bottom: 10px;
}
.text-section li {
  margin-bottom: 7px;
  line-height: 1.4;
}

/* Buttons & CTAs */
.cta-primary {
  display: inline-block;
  background: linear-gradient(90deg,#355C7D 0%, #245A34 100%);
  color: #FAF3E3 !important;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: 21px;
  box-shadow: 0 2px 14px 0 rgba(36,90,52,0.19);
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  border: none;
  cursor: pointer;
  text-align: center;
  outline: none;
  transition: background 0.2s, box-shadow 0.2s, color 0.15s, transform 0.1s;
}
.cta-primary:hover, .cta-primary:focus {
  background: #245A34;
  color: #FAF3E3 !important;
  box-shadow: 0 4px 26px 0 rgba(36,90,52,0.25);
  transform: translateY(-2px) scale(1.045);
}

/* Footer */
footer {
  background: #245A34;
  color: #FAF3E3;
  padding: 38px 0 14px 0;
  margin-top: 48px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 22px;
  justify-content: center;
}
.footer-nav a {
  color: #FAF3E3;
  opacity: 0.83;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  transition: color 0.18s, opacity 0.18s;
  padding: 3px 6px;
  border-radius: 6px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #F9E8CC;
  opacity: 1;
  background: #355C7D;
}
.footer-info {
  text-align: center;
  color: #FAF3E3;
  font-size: 0.98rem;
  opacity: 0.76;
  margin-bottom: 0;
}

@media (max-width: 760px) {
  .footer-nav {
    flex-direction: column;
    gap: 11px;
    align-items: center;
  }
}

/* Cookie consent banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: linear-gradient(90deg, #355C7D 80%, #245A34 100%);
  color: #FAF3E3;
  padding: 24px 10vw 18px 10vw;
  box-shadow: 0 -4px 16px 0 rgba(53,92,125,0.13);
  z-index: 2000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  opacity: 1;
  transition: opacity 0.25s;
  font-size: 1.01rem;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-text {
  max-width: 720px;
}
.cookie-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cookie-btn {
  background: #FAF3E3;
  color: #245A34;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 9px;
  padding: 10px 26px;
  cursor: pointer;
  margin: 0 2px;
  font-size: 1rem;
  transition: background 0.15s, color 0.15s, transform 0.13s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #355C7D;
  color: #FAF3E3;
  transform: translateY(-1px) scale(1.025);
}

.cookie-btn.settings {
  background: transparent;
  border: 2px solid #FAF3E3;
  color: #FAF3E3;
  padding: 10px 18px;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #FAF3E3;
  color: #245A34;
}

@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 4vw;
    font-size: 0.96rem;
  }
  .cookie-actions {
    align-self: flex-end;
  }
}

/* Cookie modal */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 2100;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(36,90,52,0.51);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.23s;
}
.cookie-modal-backdrop.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #245A34;
  border-radius: 17px;
  min-width: 320px;
  max-width: 97vw;
  padding: 34px 28px 26px 28px;
  box-shadow: 0 4px 42px 0 rgba(53,92,125,0.27);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: fadeInUpModal 0.23s cubic-bezier(.77,0,.18,1) 1;
}
@keyframes fadeInUpModal {
  0% {
    transform: translateY(35px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
.cookie-modal h2 {
  font-size: 1.45rem;
  color: #355C7D;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.cookie-category label {
  font-size: 1rem;
  color: #245A34;
}
.cookie-switch {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #eee;
  border-radius: 15px;
  outline: none;
  cursor: pointer;
  position: relative;
  transition: background 0.15s;
}
.cookie-switch:checked {
  background: linear-gradient(90deg, #355C7D 0%, #245A34 100%);
}
.cookie-switch::before {
  content: '';
  position: absolute;
  top: 3.5px; left: 4px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.15s;
  box-shadow: 0 2px 6px 0 rgba(53,92,125,0.10);
}
.cookie-switch:checked::before {
  transform: translateX(14px);
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 18px;
  background: none;
  border: none;
  color: #355C7D;
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.95;
  padding: 2px 7px;
  transition: color 0.17s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #245A34;
}

/* Miscellaneous */
::-webkit-input-placeholder { color: #91aac8; }
::-moz-placeholder { color: #91aac8; }
:-ms-input-placeholder { color: #91aac8; }
::placeholder { color: #91aac8; }

/* Spacing, white space, breathing room */
.section + .section, .card-container + .card-container, .feature-grid + .feature-grid, .testimonial-card + .testimonial-card {
  margin-top: 60px;
}

/* Accessibility: Focus outline */
a:focus, button:focus, input:focus {
  outline: 2px solid #355C7D;
  outline-offset: 2px;
}
button {
  font-family: inherit;
}

/* Responsive feature grid: column on mobile */
@media (max-width: 900px) {
  .feature-grid {
    gap: 18px;
  }
  .feature-grid > div {
    padding: 24px 12px 18px 12px;
    min-width: 160px;
    font-size: 0.96rem;
  }
}
@media (max-width: 650px) {
  .feature-grid {
    flex-direction: column;
    gap: 14px;
  }
  .feature-grid > div {
    min-width: 0;
    width: 100%;
  }
}

/* Responsive content grid */
@media (max-width: 650px) {
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
}

/* Form (if present in future) */
input, textarea, select {
  border: 1px solid #d7dbe4;
  border-radius: 7px;
  padding: 8px 12px;
  font-size: 1rem;
  margin-bottom: 16px;
  background: #f8fafc;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #245A34;
}
input:focus, textarea:focus, select:focus {
  border-color: #355C7D;
  background: #fff;
}

/* Animations for micro-interactions */
.card, .feature-grid > div, .testimonial-card, .cta-primary, .cookie-btn {
  transition: box-shadow 0.22s, background 0.17s, color 0.13s, transform 0.17s;
}

/* Hide visually (utility class) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Hide Cookie Modal on mobile with smooth fade */
@media (max-width: 440px) {
  .cookie-modal {
    min-width: 90vw;
    padding: 22px 6vw 18px 6vw;
    font-size: 0.97rem;
  }
}
