/* 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;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: #F3F7F0;
  font-family: 'Roboto', Arial, sans-serif;
  color: #173559;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  position: relative;
}
img, picture, svg {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: #173559;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #8FB339;
  outline-offset: 2px;
}
strong { font-weight: 700; }
em { font-style: italic; }

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #173559;
  letter-spacing: 0.01em;
  line-height: 1.2;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #173559 80%, #8FB339 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  position: relative;
}
h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 4px;
  background: #8FB339;
  margin-top: 8px;
  border-radius: 2px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #8FB339;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.subheadline {
  font-size: 1.2rem;
  color: #556782;
  margin-bottom: 24px;
  font-family: 'Roboto', Arial, sans-serif;
  letter-spacing: 0.01em;
}

ul, ol {
  margin-left: 20px;
  margin-bottom: 16px;
}
ul li, ol li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 0.5em;
}
ul li::before {
  content: '•';
  color: #8FB339;
  font-size: 1.1em;
  margin-right: 8px;
  position: absolute;
  left: -16px;
}

/* Brand Button Styles */
.cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 34px;
  background: #8FB339;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 50px;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 14px rgba(143, 179, 57, 0.15);
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, color 0.18s, transform 0.18s;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.cta-btn:hover, .cta-btn:focus {
  background: #173559;
  color: #8FB339;
  box-shadow: 0 4px 24px rgba(23, 53, 89, 0.15);
  transform: translateY(-2px) scale(1.03) rotate(-0.5deg);
}

button, .btn {
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 24px;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
  padding: 10px 22px;
  font-size: 1rem;
  background: #173559;
  color: #fff;
  margin: 4px 0;
}
button:hover, .btn:hover {
  background: #8FB339;
  color: #173559;
  box-shadow: 0 2px 10px rgba(143, 179, 57, 0.10);
  transform: scale(1.05);
}

/* Containers & Layout */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 14px rgba(23,53,89,0.09);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(23,53,89,0.09);
  margin-bottom: 20px;
  position: relative;
  min-width: 240px;
  flex: 1 1 280px;
  padding: 24px 20px;
  transition: box-shadow 0.18s, transform 0.16s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(143,179,57,0.11), 0 2px 8px rgba(23,53,89,0.08);
  transform: translateY(-2px) scale(1.01) rotate(-1deg);
}

.feature-grid, .tip-highlight-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: stretch;
}
.feature-grid > div, .tip-highlight-grid > .text-section {
  background: #F3F7F0;
  border-radius: 16px;
  box-shadow: 0 1px 4px rgba(23,53,89,0.06);
  flex: 1 1 250px;
  padding: 24px 14px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.18s, background 0.18s;
  min-width: 210px;
}
.feature-grid > div:hover, .tip-highlight-grid > .text-section:hover {
  box-shadow: 0 6px 24px rgba(143,179,57,0.09), 0 2px 10px rgba(23,53,89,0.07);
  background: #fff;
}

.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;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 32px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(23,53,89,0.09);
  margin-bottom: 24px;
  border-left: 8px solid #8FB339;
  color: #173559;
  max-width: 700px;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 26px rgba(23,53,89,0.15);
}
.testimonial-card p {
  font-size: 1.1rem;
  font-style: italic;
  color: #173559;
}
.testimonial-card span {
  align-self: flex-end;
  color: #8FB339;
  font-weight: 700;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
}

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

.text-section {
  background: none;
  padding: 0 !important;
  color: #173559;
  font-family: 'Roboto', Arial, sans-serif;
}
.text-section h3 {
  color: #173559;
  font-size: 1.1rem;
  margin-bottom: 6px;
  background: none;
}
.text-section ul {
  margin-bottom: 8px;
}

/* HERO STYLES */
.hero {
  padding: 60px 0 32px 0;
  background: linear-gradient(110deg, #8FB339 14%, #173559 100%);
  color: #fff;
  border-bottom-left-radius: 90px 36px;
  border-bottom-right-radius: 90px 36px;
  box-shadow: 0 12px 40px rgba(23,53,89,0.16);
  min-height: 290px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
}
.hero .container {
  display: flex;
  flex-direction: column;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.hero h1, .hero .subheadline {
  color: #fff;
  background: none;
  -webkit-text-fill-color: #fff;
}
.hero .cta-btn {
  margin-top: 16px;
  background: #173559;
  color: #fff;
}
.hero .cta-btn:hover { background: #8FB339; color: #173559; }

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(23,53,89,0.07);
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 20px;
}
header img {
  height: 48px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #173559;
  font-weight: 500;
  padding: 4px 9px;
  border-radius: 14px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #8FB339;
  color: #fff;
}

/* Hide nav for mobile, show burger */
.mobile-menu-toggle {
  display: none;
  background: #8FB339;
  color: #fff;
  font-size: 2.2rem;
  border-radius: 50%;
  border: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 7px rgba(143,179,57,0.15);
  margin-left: 8px;
  transition: background 0.18s, color 0.18s, transform 0.14s;
  z-index: 1501;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #173559;
  color: #8FB339;
  transform: scale(1.06) rotate(1deg);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(23,53,89,0.98);
  z-index: 2200;
  transform: translateX(100%);
  transition: transform 0.40s cubic-bezier(.68,-0.55,.27,1.55);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  color: #8FB339;
  font-size: 2.4rem;
  align-self: flex-end;
  margin: 18px 26px 8px 0;
  border: none;
  cursor: pointer;
  transition: color 0.15s, transform 0.13s;
  z-index: 2210;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
  transform: scale(1.09);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin: 20px 0 0 36px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin: 0.5em 0;
  padding: 7px 0;
  border-radius: 8px;
  width: 100%;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #8FB339;
  color: #173559;
}

/* Responsive Breakpoints */
@media (max-width: 1080px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 10px;
  }
  .container {
    padding-left: 9px; padding-right: 9px;
  }
}
@media (max-width: 768px) {
  body { font-size: 15px; }
  .container { padding: 0 4vw; }
  .hero {
    min-height: 140px;
    padding: 32px 0 20px 0;
    border-bottom-left-radius: 44px 16px;
    border-bottom-right-radius: 44px 16px;
  }
  .main-nav { display: none; }
  .cta-btn { font-size: 1.08rem; padding: 12px 20px; }
  .mobile-menu-toggle { display: flex; }
  .feature-grid, .tip-highlight-grid {
    gap: 16px;
    flex-direction: column;
  }
  .card-container, .content-grid {
    gap: 12px;
    flex-direction: column;
  }
  .section {
    margin-bottom: 40px;
    padding: 22px 8px;
    border-radius: 16px;
  }
  .testimonial-card {
    padding: 16px 16px;
    border-radius: 12px;
  }
  .content-wrapper {gap: 12px;}
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 15px; }
}
@media (max-width: 500px) {
  h1 {font-size: 1.6rem;}
  h2 {font-size: 1.2rem;}
  .hero {padding: 20px 0 14px 0;}
}

/* Footer */
footer {
  background: #173559;
  color: #fff;
  border-top-left-radius: 48px 14px;
  border-top-right-radius: 48px 14px;
  box-shadow: 0 -2px 20px rgba(23,53,89,.09);
  padding-top: 36px;
  margin-top: 50px;
  font-size: 1rem;
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 18px;
}
.footer-nav {
  display: flex;
  gap: 18px;
  margin-bottom: 9px;
}
.footer-nav a {
  color: #8FB339;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.97rem;
  text-decoration: underline;
  transition: color 0.18s;
}
.footer-nav a:hover { color: #fff; }
.contact-footer {
  color: #F3F7F0;
  font-size: 0.98rem;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.contact-footer a { color: #8FB339; text-decoration: underline; margin: 0 4px; }
.contact-footer a:hover { color: #fff; }

@media (max-width: 700px) {
  footer .footer-nav {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .contact-footer {flex-direction: column; gap: 2px;}
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 3000;
  background: #fff;
  color: #173559;
  box-shadow: 0 -2px 18px rgba(23,53,89,0.12);
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  font-size: 1.02rem;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  animation: fadeInUp 0.41s cubic-bezier(.43,.96,.34,1.41);
}
@keyframes fadeInUp {
  from { opacity:0; transform: translateY(60px); }
  to   { opacity:1; transform: none; }
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 14px;
  margin-bottom: 2px;
}
.cookie-banner .cookie-btn-accept {
  background: #8FB339;
  color: #fff;
  border-radius: 18px;
}
.cookie-banner .cookie-btn-accept:hover {background: #173559;color:#8FB339;}
.cookie-banner .cookie-btn-reject {
  background: #173559;
  color: #fff;
  border-radius: 18px;
}
.cookie-banner .cookie-btn-reject:hover {background: #8FB339;color:#173559;}
.cookie-banner .cookie-btn-settings {
  background: transparent;
  color: #173559;
  border: 2px solid #8FB339;
  border-radius: 18px;
  transition: background .18s, color .15s, border .18s;
}
.cookie-banner .cookie-btn-settings:hover { background: #8FB339; color: #fff; border-color:#173559; }

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 3100;
  left: 0; right:0; top:0; bottom:0;
  background: rgba(23,53,89,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: #173559;
  border-radius: 24px;
  max-width: 420px;
  width: 92vw;
  padding: 32px 26px 22px 26px;
  box-shadow: 0 8px 36px rgba(23,53,89,0.13);
  position: relative;
  display: flex;
  flex-direction: column;
  animation: scaleIn .32s cubic-bezier(.48,1.3,.32,1);
  gap: 17px;
}
@keyframes scaleIn {
  from {opacity:0; transform:scale(0.91) translateY(60px);}
  to {opacity:1;transform:none;}
}
.cookie-modal h3 {
  margin-bottom: 4px;
  font-size: 1.2rem;
  color: #173559;
}
.cookie-modal ul {
  list-style: none;
  margin-left: 0;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 1.02rem;
}
.cookie-modal .cookie-switch-label {
  flex: 1;
}
.cookie-modal .cookie-switch {
  width: 38px;
  height: 18px;
  background: #e1eec5;
  border-radius: 12px;
  position: relative;
  transition: background 0.14s;
  cursor: pointer;
  border: 1px solid #8FB339;
}
.cookie-modal .cookie-switch[data-on="true"] {
  background: #8FB339;
}
.cookie-modal .cookie-switch::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 2px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.18s, background 0.18s;
  box-shadow: 0 1px 4px rgba(23,53,89,0.08);
}
.cookie-modal .cookie-switch[data-on="true"]::after {
  left: 19px;
  background: #173559;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 9px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 18px;
  background: transparent;
  border: none;
  font-size: 1.46rem;
  color: #173559;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal .cookie-modal-close:hover {color:#8FB339;}

@media (max-width: 600px) {
  .cookie-modal { max-width: 99vw; padding: 19px 7vw 13px 8vw;}
}

/* Animations, Microinteractions */
.card, .feature-grid > div, .tip-highlight-grid > .text-section, .testimonial-card {
  transition: box-shadow 0.19s, transform 0.15s, background 0.17s;
}
.section, .hero, .footer-nav, .contact-footer {
  transition: background 0.18s, color 0.14s;
}

/* Custom Decorative Artistic Touches */
h2 {
  position: relative;
}
h2:before {
  content: '';
  display: inline-block;
  width: 18px; height: 18px;
  background: #8FB339;
  border-radius: 5px;
  position: absolute;
  left: -30px;
  top: 0.3em;
  opacity: 0.15;
  transform: rotate(-16deg);
}

.feature-grid img {
  width: 42px; height: 42px;
  margin-bottom: 8px;
  filter: drop-shadow(0 1px 0 #17355933);
}

/* Artistic Divider */
hr {
  border: none;
  border-top: 2px dashed #8FB339;
  margin: 32px 0;
  opacity: 0.6;
}

/* VISUAL CONSISTENCY for CORE PADDING/MARGIN (per instructions) */
.section { margin-bottom: 60px; padding: 40px 20px; }
.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; }

/* Remove outline on mouse click but show on tab for accessibility */
:focus:not(:focus-visible) {
  outline: none;
}
:focus-visible {
  outline: 2px solid #8FB339;
  outline-offset: 2px;
}

/* Utility */
.mt-0 { margin-top: 0!important; }
.mb-0 { margin-bottom: 0!important; }
.m-0 { margin: 0!important; }
.text-center { text-align: center!important; }

/* Hide visually but keep for screen readers */
.sr-only {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}
