/* 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;
}
html {
  line-height: 1.2;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  background-color: #f7f6f2;
}
body {
  font-family: 'Roboto', Georgia, serif;
  font-size: 16px;
  background: #f7f6f2;
  color: #2B372E;
  min-height: 100vh;
}

/* GENERAL TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Georgia', serif;
  color: #1E4A2C;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.250rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.750rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 14px;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 10px;
}
p, ul, ol, li {
  font-family: 'Roboto', Georgia, serif;
  font-size: 1rem;
  line-height: 1.65;
  color: #2B372E;
  margin-bottom: 10px;
}
strong {
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 600;
  color: #1E4A2C;
}
a {
  color: #235C37;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F1B733;
  text-decoration: underline;
}

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

img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  vertical-align: middle;
  display: inline-block;
  background: #f1f4ef;
}

cite {
  font-style: italic;
  color: #888;
  font-size: 0.97em;
}

/* CONTAINER */
.container {
  width: 100%;
  max-width: 1100px;
  padding-left: 18px;
  padding-right: 18px;
  margin: 0 auto;
}

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

.content-wrapper {
  margin-bottom: 20px;
}

.text-section {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* HEADER & NAVIGATION */
header {
  background: #ffffff;
  border-bottom: 1px solid #D9E6D1;
  box-shadow: 0 2px 13px rgba(30, 74, 44, 0.03);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
}
header a img {
  max-height: 44px;
  margin-right: 22px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.02rem;
  padding: 4px 0;
  color: #235C37;
  font-weight: 600;
  position: relative;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #F1B733;
}

.btn-primary {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: #235C37;
  border-radius: 8px;
  border: none;
  padding: 12px 32px;
  margin-left: 18px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(35, 92, 55, 0.07);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  display: inline-block;
  letter-spacing: 0.02em;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #F1B733;
  color: #1E4A2C;
  box-shadow: 0 4px 14px rgba(241, 183, 51, 0.15);
}

.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  color: #1E4A2C;
  display: none;
  cursor: pointer;
  padding: 6px 12px;
  margin-left: 14px;
  transition: color 0.2s;
  z-index: 1302;
}
.mobile-menu-toggle:focus {
  color: #F1B733;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(35, 92, 55, 0.96);
  z-index: 1300;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  padding: 0;
  visibility: hidden;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  align-self: flex-end;
  margin: 26px 24px 0 0;
  padding: 6px 14px;
  cursor: pointer;
  z-index: 1302;
  transition: color 0.2s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #F1B733;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  margin-top: 54px;
  padding-left: 44px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.22rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  padding: 12px 0;
  width: 100%;
  border-radius: 6px;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F1B733;
  color: #1E4A2C;
}

/* Hide nav on mobile, burger only */
@media (max-width: 990px) {
  .main-nav, .btn-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 991px) {
  .mobile-menu {
    display: none !important;
  }
}


/* SECTIONS & FLEX LAYOUTS */
.section {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 24px rgba(30, 74, 44, 0.07);
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFFFFF;
  border-radius: 15px;
  box-shadow: 0 2px 18px rgba(35, 92, 55, 0.09);
  padding: 30px 24px;
  flex: 1 1 280px;
  min-width: 250px;
  max-width: 370px;
  transition: box-shadow 0.21s, transform 0.21s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(35,92,55,0.18);
  transform: translateY(-4px) scale(1.025);
  z-index: 2;
}
.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;
  background: #F6F6F1;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(30, 74, 44, 0.08);
  margin-bottom: 20px;
  flex-direction: row;
  color: #1E4A2C;
}
.testimonial-card p {
  font-family: 'Montserrat', 'Georgia', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: #1A3E1E;
  margin-bottom: 0;
}
.testimonial-card span {
  color: #F1B733;
  font-size: 1.15rem;
  margin-right: 8px;
  font-family: 'Montserrat', 'Georgia', serif;
}
.testimonial-card cite {
  color: #235C37;
  font-style: normal;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 22px;
}

/* CARDS UL */
.content-wrapper > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 38px;
  list-style: none;
  margin-top: 22px;
  margin-bottom: 8px;
}
.content-wrapper > ul > li {
  background: #ffffff;
  border-radius: 13px;
  box-shadow: 0 1.5px 10px rgba(30,74,44,0.06);
  min-width: 240px;
  max-width: 340px;
  flex: 1 1 270px;
  padding: 20px 22px 20px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  margin-bottom: 8px;
  gap: 12px;
  position: relative;
  border: 1px solid #D9E6D1;
  transition: box-shadow 0.19s, border 0.17s;
}
.content-wrapper > ul > li:hover {
  border: 1.5px solid #235C37;
  box-shadow: 0 6px 20px rgba(35,92,55,0.12);
}
.content-wrapper > ul > li img {
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
}
.content-wrapper > ul > li strong {
  font-size: 1.07rem;
  margin-bottom: 5px;
}

/* NEWSLETTER & SOCIAL */
.newsletter-signup {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 17px 0;
}
.social-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  margin-top: 7px;
}
.social-links a img {
  width: 26px;
  height: 26px;
  transition: filter 0.15s;
}
.social-links a:hover img {
  filter: brightness(1.2) drop-shadow(0 0 8px #F1B73377);
}
.quick-contact {
  font-size: 1.01em;
  margin-top: 14px;
}

/* TIMELINE */
.timeline {
  margin-top: 16px;
  padding-left: 0;
}
.timeline ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 0;
}
.timeline ul li {
  position: relative;
  padding-left: 22px;
  font-size: 0.97em;
  color: #235C37;
}
.timeline ul li:before {
  content: '';
  position: absolute;
  left: 6px; top: 10px;
  width: 8px; height: 8px;
  background: #F1B733;
  border-radius: 50%;
}

/* CATEGORY NAVIGATIONS */
.category-navigation, .blog-categories {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.category-navigation a, .blog-categories a {
  color: #235C37;
  background: #D9E6D1;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 1em;
  margin-right: 2px;
  transition: background 0.18s, color 0.18s;
}
.category-navigation a:hover, .blog-categories a:hover {
  background: #F1B733;
  color: #1E4A2C;
}

/* FOOTER */
footer {
  background: #1E4A2C;
  color: #fff;
  padding: 0 0 0 0;
  letter-spacing: 0.005em;
  border-radius: 0 0 13px 13px;
}
footer .container {
  display: flex;
  flex-direction: row;
  gap: 64px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 30px 18px 16px 18px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: #F1B733;
  font-family: 'Montserrat',Georgia,serif;
  font-size: 1em;
  transition: color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #D9E6D1;
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-size: 0.98em;
  margin-bottom: 7px;
}
.footer-contact img {
  width: 20px;
  height: 20px;
  filter: invert(87%) sepia(36%) saturate(224%) hue-rotate(43deg) brightness(97%) contrast(91%);
  margin-right: 5px;
}
footer a {
  color: #F1B733;
}
footer a:hover {
  color: #fff;
}


/* BUTTONS GENERIC */
button, .btn, .btn-primary {
  outline: none;
  border: none;
}
button:focus, .btn:focus, .btn-primary:focus {
  box-shadow: 0 0 0 3px #F1B73355;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1600;
  background: #fffbe7;
  color: #235C37;
  box-shadow: 0 -2px 30px 0 rgba(35, 92, 55, 0.14);
  padding: 26px 14px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 27px;
  min-height: 66px;
  font-size: 1.01rem;
  border-top: 2.5px solid #D9E6D1;
  animation: cookieBannerAppear 620ms cubic-bezier(.77,0,.18,1);
}
@keyframes cookieBannerAppear {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat',Georgia,serif;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  padding: 9px 22px;
  margin: 0 2px;
  cursor: pointer;
  transition: background 0.18s, color 0.17s, box-shadow 0.15s;
}
.cookie-btn.accept {
  background: #235C37;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #F1B733;
  color: #1E4A2C;
}
.cookie-btn.reject {
  background: #D9E6D1;
  color: #235C37;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #fff;
  color: #1E4A2C;
  border: 1px solid #235C37;
}
.cookie-btn.settings {
  background: #fffbe7;
  color: #1E4A2C;
  border: 1.5px solid #F1B733;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #F1B733;
  color: #1E4A2C;
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 1700;
  background: rgba(35, 92, 55, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s;
  opacity: 0;
  visibility: hidden;
}
.cookie-modal.open {
  opacity: 1;
  visibility: visible;
}
.cookie-modal-content {
  background: #fff;
  color: #235C37;
  border-radius: 13px;
  box-shadow: 0 8px 60px rgba(35,92,55,.18);
  padding: 36px 28px 18px 28px;
  width: 96%;
  max-width: 450px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal-content h3 {
  margin-bottom: 5px;
}
.cookie-toggle-group {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F7F6F2;
  border-radius: 7px;
  padding: 11px 18px;
  font-size: 1em;
}
.cookie-toggle input[type="checkbox"] {
  width: 22px; height: 22px;
  accent-color: #235C37;
}
.cookie-modal-close {
  position: absolute;
  top: 15px;
  right: 17px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #1E4A2C;
  cursor: pointer;
  padding: 3px 5px;
  transition: color 0.18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #F1B733;
}

/* MODALS/ANIMATIONS */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* FORMS (Newsletter etc.) */
input, textarea, select {
  font-family: 'Roboto', serif;
  font-size: 1rem;
  border-radius: 8px;
  border: 1.2px solid #D9E6D1;
  padding: 10px 12px;
  outline: none;
  background: #f8f8f2;
  margin: 7px 0;
  transition: border-color 0.14s;
}
input:focus, textarea:focus, select:focus {
  border-color: #235C37;
  box-shadow: 0 0 0 2.5px #F1B73344;
}

/* RESPONSIVENESS (MOBILE FIRST) */
@media (max-width: 990px) {
  .container, footer .container {
    flex-direction: column;
    gap: 24px;
    padding-left: 8px; padding-right: 8px;
  }
  .footer-contact {
    font-size: 0.97em;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.48rem; }
  h2 { font-size: 1.2rem; }
  h3 { font-size: 1rem; }
  .container {
    padding-left: 7px; padding-right: 7px;
  }
  .footer-contact p {
    font-size: 0.91em;
  }
  .section {
    padding: 27px 7px;
    margin-bottom: 38px;
    border-radius: 8px;
  }
  .content-wrapper > ul {
    flex-direction: column;
    gap: 16px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 15px;
  }
  .feature-item {
    gap: 8px;
  }
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 7px;
    padding-bottom: 10px;
    padding-top: 10px;
  }
  .newsletter-signup {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
@media (max-width: 480px) {
  .testimonial-card {
    font-size: 0.99em;
  }
  .footer-contact p {
    font-size: 0.88em;
  }
  .section {
    padding: 14px 3px;
    margin-bottom: 26px;
    border-radius: 6px;
  }
}

/* MICRO-INTERACTIONS & TRANSITIONS */
.card, .content-wrapper > ul > li, .testimonial-card, .btn-primary, .btn, .cookie-btn, .mobile-menu, .mobile-menu-toggle {
  transition: box-shadow 0.2s, color 0.17s, background 0.18s, transform 0.18s, border 0.16s;
}

/* SCROLLBAR CUSTOMIZATION */
body::-webkit-scrollbar {
  width: 10px;
  background: #D9E6D1;
}
body::-webkit-scrollbar-thumb {
  background: #235C37;
  border-radius: 8px;
}

/* Z-INDEX MANAGEMENT AT INTERACTIVES */
.mobile-menu,
.cookie-banner,
.cookie-modal {
  z-index: 1600;
}

/* ACCESSIBILITY */
a, button, input, .btn-primary, .cookie-btn {
  outline-color: #F1B733;
  outline-width: 2px;
  outline-style: solid;
  outline-offset: 1px;
}
:focus {
  box-shadow: 0 0 6px 2px #F1B73377 !important;
}

/* MISC */
.featured-guides, .recent-posts {
  margin-top:12px;
  font-size: 1em;
}
.featured-guides a, .recent-posts a {
  color: #235C37;
  text-decoration: underline;
  margin-right: 10px;
  transition: color 0.18s;
}
.featured-guides a:hover, .recent-posts a:hover {
  color: #F1B733;
}

/* Hide last margin for testimonial cards */
.testimonial-card:last-child {
  margin-bottom: 0;
}

/* Decorative icon inline */
p img, span img {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 5px;
  vertical-align: middle;
}

/* END OF CSS */
