/* === 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,
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F7FBF5;
  color: #241C15;
  min-height: 100vh;
  font-family: 'Lato', Arial, sans-serif;
}
a {
  color: #003366;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #4A7756;
  text-decoration: underline;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
img {
  max-width: 100%;
  display: inline-block;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}

/* ====== BRAND TYPOGRAPHY ====== */
h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #003366;
  margin-bottom: 24px;
  line-height: 1.15;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #4A7756;
  margin-bottom: 20px;
  line-height: 1.2;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: #476647;
  margin-bottom: 12px;
  line-height: 1.18;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #59706b;
}
p, li, blockquote {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  color: #241C15;
}
blockquote {
  font-style: italic;
  background: #F7DFB9;
  color: #2B2E1C;
  border-left: 6px solid #80A1C1;
  margin: 0 0 16px 0;
  padding: 18px 24px;
  border-radius: 12px 24px 24px 12px;
}
strong {
  font-weight: 700;
}

/* ====== NATURE ORGANIC COLOR PALETTE EXTENSIONS ====== */
:root {
  --color-primary: #003366;
  --color-secondary: #80A1C1;
  --color-accent: #F7DFB9;
  --color-green: #4A7756;
  --color-earth: #774D2C;
  --color-sand: #F2E6C4;
  --color-bg: #F7FBF5;
  --color-text: #241C15;
  --color-card-bg: #fff;
  --color-border: #d2ccb6;
  --shadow-card: 0 6px 16px rgba(76,89,76,0.07);
}

/* ====== LAYOUT CONTAINER ====== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

/* ====== SECTIONS & SPACING ====== */
section {
  background: var(--color-card-bg);
  border-radius: 36px 30px 36px 30px;
  box-shadow: var(--shadow-card);
  margin-bottom: 60px;
  padding: 40px 20px;
  transition: box-shadow 0.25s;
}
section:last-child {
  margin-bottom: 32px;
}
@media (max-width: 768px) {
  section {
    border-radius: 22px 20px 22px 20px;
    padding: 28px 8px;
    margin-bottom: 40px;
  }
}

/* ====== HEADER STYLES ====== */
header {
  width: 100%;
  background: #e9eae0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  box-shadow: 0 1.5px 12px rgba(44, 69, 53, 0.06);
  position: relative;
  z-index: 30;
  min-height: 70px;
}
header > a img {
  max-height: 45px;
}
nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #476647;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 6px 0;
  border-radius: 3px;
  transition: color 0.2s, background 0.2s;
}
header nav a:hover, header nav a:focus {
  background: #EAF7E1;
  color: #2c6237;
}
.cta-btn {
  background: linear-gradient(90deg,#F7DFB9,#EAF7E1);
  color: #2c6237;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 13px 32px;
  border-radius: 35px 30px 35px 30px;
  border: none;
  box-shadow: 0 3px 12px rgba(67, 82, 70, 0.12);
  margin-left: 24px;
  margin-right: 10px;
  letter-spacing: 0.02em;
  outline: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.12s;
  cursor: pointer;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #4A7756;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 24px rgba(53,92,65,0.13);
}

/* ====== MOBILE MENU (BURGER) ====== */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  color: #4A7756;
  background: #EAF7E1;
  border-radius: 11px;
  padding: 6px 16px;
  margin-left: 18px;
  border: none;
  cursor: pointer;
  transition: background 0.19s;
  z-index: 120;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F7DFB9;
  color: #003366;
}
@media (max-width: 1120px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  nav {
    gap: 15px;
  }
  .cta-btn {
    padding: 11px 22px;
    margin-right: 4px;
    font-size: 0.98rem;
  }
}
@media (max-width: 880px) {
  header nav {
    display: none;
  }
  .cta-btn {
    margin-left: 7px;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(247,251,245,0.98);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.34s cubic-bezier(0.56,0.04,0.41,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: #4A7756;
  color: #fff;
  font-size: 2rem;
  border-radius: 32px 18px 30px 18px;
  margin: 28px 0 18px 22px;
  padding: 11px 19px 12px 19px;
  align-self: flex-end;
  transition: background 0.21s, color 0.21s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #003366;
  color: #F7DFB9;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 90vw;
  gap: 18px;
  margin-left: 24px;
  margin-top: 16px;
}
.mobile-nav a {
  font-size: 1.20rem;
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #476647;
  background: #F7DFB9;
  padding: 14px 20px; 
  border-radius: 16px 24px 26px 18px;
  margin-bottom: 4px;
  box-shadow: 0 2px 6px rgba(56,90,66,0.09);
  transition: background 0.19s, color 0.17s;
  outline: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #EAF7E1;
  color: #003366;
}
@media (max-width: 480px) {
  .mobile-nav {
    width: 96vw;
    margin-left: 8vw;
  }
  .mobile-menu-close {
    margin-left: 12px;
    padding: 11px 12px 12px 12px;
    font-size: 1.5rem;
  }
}

/* ====== FLEXBOX UTILS & MANDATORY LAYOUTS ====== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card-bg);
  border-radius: 22px 24px 20px 22px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--color-border);
}
.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;
  background: #F7DFB9;
  color: #2B2E1C;
  padding: 20px;
  border-radius: 27px 22px 24px 20px;
  box-shadow: 0 4px 22px rgba(67,87,56,0.08);
  margin-bottom: 22px;
  transition: box-shadow 0.24s, transform 0.15s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 32px rgba(67,87,56,0.15);
  transform: translateY(-2px) scale(1.01);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 16px;
}

/* ====== FEATURE GRID SPECIFIC (cards inside .feature-grid) ====== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-top: 18px;
  margin-bottom: 12px;
}
.feature-grid > li,
.feature-grid > div {
  flex: 1 1 270px;
  background: var(--color-sand);
  border-radius: 22px 28px 18px 22px;
  box-shadow: 0 2px 10px rgba(56,90,66,0.06);
  padding: 22px 18px 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--color-border);
  transition: box-shadow 0.2s;
  min-width: 250px;
}
.feature-grid > li img, .feature-grid > div img {
  width: 36px;
  height: 36px;
}
.feature-grid > li:hover, .feature-grid > div:hover {
  box-shadow: 0 7px 22px rgba(67,87,56,0.16);
}
@media (max-width: 888px) {
  .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid > li, .feature-grid > div {
    min-width: 0;
    width: 100%;
  }
}

/* ====== TAG, BADGES (E.G. BLOG) ====== */
.tag {
  display: inline-block;
  background: #EAF7E1;
  color: #476647;
  font-size: 0.92em;
  padding: 2px 12px;
  border-radius: 9px;
  vertical-align: middle;
  margin-left: 7px;
}

/* ====== FOOTER ====== */
footer {
  background: #e9eae0;
  padding: 54px 0 24px 0;
  border-top: 2px solid var(--color-border);
  margin-top: 30px;
  font-size: 0.97rem;
}
footer .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 34px;
  justify-content: space-between;
  align-items: center;
}
.brand-info {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.brand-info img {
  max-height: 35px;
  margin-bottom: 8px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
}
.footer-nav a {
  color: #476647;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  transition: color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #003366;
  text-decoration: underline;
}
@media (max-width: 800px) {
  footer .container {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  .brand-info {
    align-items: flex-start;
  }
}

/* ====== BUTTONS GENERAL ====== */
button, .cta-btn, .mobile-menu-close {
  transition: background 0.18s, color 0.18s, transform 0.12s;
}
button:active, .cta-btn:active, .mobile-menu-close:active {
  transform: translateY(1px) scale(0.97);
}

/* ====== COOKIE CONSENT BANNER ====== */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: rgba(247,223,185,0.97);
  color: #272A12;
  box-shadow: 0 -1px 16px rgba(37,44,35,0.08);
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  padding: 28px 5vw 22px 5vw;
  font-size: 1.06em;
  border-radius: 22px 22px 0 0;
  animation: cookieSlideUp 0.55s cubic-bezier(.39,.58,.57,1.39);
}
@keyframes cookieSlideUp {
  0% {transform: translateY(100%); opacity:0; }
  100% {transform: translateY(0); opacity: 1;}
}
.cookie-consent-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 12px 29px;
  border-radius: 22px 16px 20px 16px;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  margin-left: 0;
  margin-right: 0;
  box-shadow: 0 1.5px 8px rgba(80,117,86,0.11);
  transition: background 0.18s, color 0.18s;
}
.cookie-btn.accept {
  background: #4A7756;
  color: #FFFFFA;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #003366;
  color: #F7DFB9;
}
.cookie-btn.reject {
  background: #fff;
  color: #774D2C;
  border: 1.5px solid #caae7c;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #F7DFB9;
  color: #003366;
}
.cookie-btn.settings {
  background: #EAF7E1;
  color: #476647;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #cbe0ad;
  color: #003366;
}
@media (max-width: 700px) {
  .cookie-consent-banner {
    flex-direction: column;
    gap: 12px;
    padding: 22px 3vw 14px 3vw;
    font-size: 0.97em;
  }
  .cookie-consent-banner .cookie-btns {
    width: 100%;
    justify-content: flex-start;
  }
}
/* == Cookie Modal == */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.28);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  opacity: 1;
  animation: fadeInModal 0.3s;
}
@keyframes fadeInModal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal .modal-content {
  background: #F7DFB9;
  color: #2B2E1C;
  border-radius: 29px 22px;
  box-shadow: 0 4px 32px rgba(67,87,56,0.15);
  padding: 34px 38px 26px 38px;
  max-width: 470px;
  width: 90vw;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.cookie-modal .modal-content h3 {
  color: #003366;
  margin-bottom: 10px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 12px;
  right: 18px;
  background: #4A7756;
  color: #fff;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  border: none;
  font-size: 1.45rem;
  transition: background 0.16s, color 0.14s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: #003366;
  color: #F7DFB9;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 11px;
}
.cookie-category input[type=checkbox],
.cookie-category input[type=radio] {
  accent-color: #4A7756;
  width: 20px;
  height: 20px;
}
.cookie-category label {
  font-size: 1rem;
  color: #476647;
}
.cookie-category .always-on {
  color: #4A7756;
  font-size: 0.97em;
  margin-left: 3px;
}

@media (max-width: 520px) {
  .cookie-modal .modal-content {
    padding: 16px 8vw 17px 8vw;
    max-width: 99vw;
  }
}

/* ====== RESPONSIVE FLEXBOX UTILITIES ====== */
@media (max-width: 768px) {
  .content-grid,
  .card-container,
  .footer-nav {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .text-image-section {
    flex-direction: column;
    gap: 19px;
  }
  .section {
    padding: 26px 6px;
    margin-bottom: 32px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 14px 12px;
  }
}

/* ====== GENERIC CARDS, SHADOWS, EFFECTS ====== */
.card {
  transition: box-shadow 0.22s, transform 0.13s;
}
.card:hover {
  box-shadow: 0 10px 35px rgba(67,87,56,0.13);
  transform: translateY(-2.5px) scale(1.012);
}

/* ====== LISTS ====== */
ul li, ol li {
  margin-bottom: 10px;
  color: #273826;
  font-size: 1rem;
  line-height: 1.62;
  letter-spacing: 0.02em;
  position: relative;
}
ul li:before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  background: #80A1C1;
  border-radius: 50%;
  margin-right: 12px;
  vertical-align: middle;
  margin-bottom: 2px;
}
ul li img {
  vertical-align: middle;
  margin-right: 8px;
  width: 22px;
  height: 22px;
}

/* ====== FORMS/INPUTS (If any in the project) ====== */
input, textarea, select {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  padding: 12px 16px;
  border: 1px solid #c8c2ad;
  border-radius: 13px 13px 12px 12px;
  background: #f8f7f0;
  color: #241C15;
  margin-bottom: 14px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.14s, box-shadow 0.16s;
}
input:focus, textarea:focus, select:focus {
  border-color: #4A7756;
  box-shadow: 0 0 0 2px #EAF7E1;
  outline: none;
}

/* ====== MICRO-INTERACTIONS ====== */
.cta-btn, .cookie-btn, .mobile-nav a {
  transition: background 0.19s, color 0.19s, box-shadow 0.2s, transform 0.14s;
}

/**** SCROLLBAR STYLES ****/
body, .mobile-menu {
  scrollbar-color: #4A7756 #F7DFB9;
  scrollbar-width: thin;
}
body::-webkit-scrollbar, .mobile-menu::-webkit-scrollbar {
  width:12px;
}
body::-webkit-scrollbar-thumb, .mobile-menu::-webkit-scrollbar-thumb {
  background: #C0C4A0;
  border-radius: 12px;
}
body::-webkit-scrollbar-track, .mobile-menu::-webkit-scrollbar-track {
  background: #F7FBF5;
}

/* === TEXT SELECT COLORS === */
::selection {
  background: #EAF7E1;
  color: #003366;
}

/* === ACCESSIBILITY (Focus Rings) === */
a:focus, button:focus, .cta-btn:focus, .mobile-nav a:focus, .cookie-btn:focus {
  box-shadow: 0 0 0 3px #80A1C1;
  outline: none;
}

/* === MISC ORGANIC DECORATIVE EFFECTS === */
section {
  position: relative;
  overflow: visible;
}
section:before {
  content: '';
  display: block;
  width: 58px;
  height: 58px;
  position: absolute;
  top: -35px;
  right: -30px;
  background: #EAF7E1;
  opacity: 0.33;
  border-radius: 50% 34% 52% 46%;
  filter: blur(3px);
  z-index: 0;
}
section:after {
  content: '';
  display: block;
  width: 48px;
  height: 97px;
  position: absolute;
  bottom: -47px;
  left: -40px;
  background: #80A1C1;
  opacity: 0.17;
  border-radius: 43% 58% 60% 55%;
  filter: blur(2px);
  z-index: 0;
}
@media (max-width: 700px) {
  section:before, section:after {
    display: none;
  }
}

/* === ORGANIC BUTTON SHAPES === */
.cta-btn, .cookie-btn, .mobile-menu-close {
  border-radius: 30px 21px 30px 16px / 22px 16px 25px 17px;
}

/**** PRINT STYLES (LIMITED) ****/
@media print {
  header, footer, .mobile-menu, .cookie-consent-banner, .cookie-modal { display: none !important; }
  section, .container { box-shadow: none !important; background: #fff !important; }
}
