/* ----------------------------------------------------------------------
   CSS RESET & NORMALIZATION
----------------------------------------------------------------------- */
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: inherit;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #F5F7F1;
  color: #27332A;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #225C3F;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #295C49;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.25em;
}
strong, b {
  font-weight: 700;
}
hr {
  border: none;
  border-top: 1px solid #D9E3D6;
  margin: 32px 0;
}

/* ----------------------------------------------------------------------
   FONT IMPORTS & TYPOGRAPHY SETUP
----------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,400|Roboto:400,500,700&display=swap');

body {
  font-family: 'Roboto', Arial, sans-serif;
  background-color: #F5F7F1;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #163447;
  line-height: 1.15;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}
p {
  font-size: 1.06rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* Responsive Typography */
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.08rem; }
  p  { font-size: 0.99rem; }
}

/* ----------------------------------------------------------------------
   COLOR SCHEME & BASE VARIABLES
----------------------------------------------------------------------- */
:root {
  --color-primary: #163447;
  --color-secondary: #59C8A3;
  --color-accent: #F3F8FB;
  --color-bg: #F5F7F1;
  --color-earth: #9EB49B;
  --color-dark-brown: #413D32;
  --color-green: #4B875D;
  --color-leaf: #A1C89E;
  --color-text-main: #27332A;
  --color-text-dark: #163447;
  --color-text-muted: #618068;
  --color-white: #fff;
  --color-grey: #E8ECE4;
  --color-shadow: rgba(57, 91, 61, 0.07);
  --shadow-card: 0 4px 22px var(--color-shadow);
  --radius-main: 22px;
  --radius-small: 11px;
}

/* ----------------------------------------------------------------------
   UPPER LAYOUT: HEADER & NAVIGATION
----------------------------------------------------------------------- */
header {
  background: var(--color-white);
  box-shadow: 0 2px 18px rgba(25, 56, 31, 0.06);
  position: sticky;
  top: 0;
  z-index: 110;
  width: 100%;
}

header nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: flex-start;
  padding: 16px 20px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: var(--color-primary);
  padding: 8px 14px;
  border-radius: var(--radius-small);
  font-size: 1.01rem;
  letter-spacing: 0.01em;
  transition: background 0.15s, color 0.2s, box-shadow 0.18s;
  position: relative;
}
header nav a:hover,
header nav a:focus {
  background: var(--color-leaf);
  color: var(--color-green);
  outline: none;
}
header nav a.cta-primary {
  background: var(--color-secondary);
  color: #fff;
  margin-left: auto;
  padding: 9px 24px;
  font-weight: 700;
  border-radius: var(--radius-main);
  box-shadow: 0 2px 12px rgba(83,179,121,0.09);
  transition: background 0.18s, color 0.19s;
}
header nav a.cta-primary:hover,
header nav a.cta-primary:focus {
  background: var(--color-green);
  color: #fff;
}
header nav img {
  height: 44px;
  margin-right: 11px;
  border-radius: 8px;
  background: var(--color-accent);
  padding: 3px 6px;
}

/* MOBILE HEADER NAV */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.9rem;
  color: var(--color-primary);
  margin-left: 16px;
  cursor: pointer;
  padding: 2px 6px 2px 2px;
  border-radius: 10px;
  transition: background 0.13s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-leaf);
}
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 16px;
    right: 20px;
    z-index: 120;
  }
}
/* ----------------------------------------------------------------------
   MOBILE MENU DESIGN
----------------------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-accent);
  z-index: 5000;
  transform: translateX(-110vw);
  transition: transform 0.42s cubic-bezier(.78,.16,.26,.96);
  box-shadow: 0 0 32px 8px rgba(57,91,61,0.13);
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 0;
  will-change: transform;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--color-secondary);
  border: none;
  color: #fff;
  font-size: 2.0rem;
  padding: 8px 18px;
  border-radius: var(--radius-main);
  position: absolute;
  right: 22px;
  top: 22px;
  cursor: pointer;
  z-index: 5050;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 4px 18px rgba(68, 153, 110, 0.11);
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--color-green);
  color: #fff;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 64px 32px 24px 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: var(--color-primary);
  font-size: 1.23rem;
  padding: 14px 8px 10px 0;
  border-radius: 0 18px 18px 0;
  transition: background 0.13s, color 0.16s;
  display: block;
  min-width: 180px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-leaf);
  color: var(--color-green);
}

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

/* ----------------------------------------------------------------------
   MAIN LAYOUT CONTAINERS & SECTIONS
----------------------------------------------------------------------- */
main {
  padding: 0 0 44px 0;
  min-height: 60vh;
}
.container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0 14px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: var(--radius-main);
  box-shadow: 0 4px 20px var(--color-shadow);
  position: relative;
}
.content-wrapper {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 6px;
  }
  .section {
    margin-bottom: 40px;
    padding: 24px 8px;
  }
  .content-wrapper {
    gap: 15px;
  }
}

/* ----------------------------------------------------------------------
   FLEXBOX CARD, GRID, & LIST LAYOUTS
----------------------------------------------------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-white);
  box-shadow: 0 2px 10px rgba(80,122,95,0.07);
  border-radius: var(--radius-main);
  margin-bottom: 20px;
  padding: 24px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.23s, transform 0.23s;
}
.card:hover {
  box-shadow: 0 8px 30px rgba(53,91,67,0.14);
  transform: translateY(-4px) scale(1.015);
}
.card h3 {
  color: var(--color-green);
}

.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) {
  .content-grid, .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Feature Grid / Cards (Services, Solutions, Features) */
.feature-grid, .service-cards, .service-grid, .solution-cards, .case-study-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
  margin-top: 18px;
}
.feature-grid > div, .service-cards > div, .service-grid > div, .solution-cards > div, .case-study-cards > div {
  flex: 1 1 270px;
  min-width: 230px;
  background: var(--color-white);
  border-radius: var(--radius-main);
  box-shadow: 0 2px 12px rgba(75,135,93,0.08);
  margin-bottom: 20px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.15s;
}
.feature-grid > div:hover, .service-cards > div:hover,
.service-grid > div:hover, .solution-cards > div:hover,
.case-study-cards > div:hover {
  box-shadow: 0 10px 32px rgba(57,91,61,0.13);
  transform: translateY(-5px) scale(1.012);
}
.feature-grid img, .icon-features img {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
  filter: brightness(0.8) contrast(1.1) hue-rotate(-18deg) saturate(0.9);
}

/* Distinctive 'card' for embedded testimonials (in case studies) */
.case-study-cards .testimonial-card {
  background: var(--color-accent);
  margin: 14px 0 0 0;
  padding: 18px 16px;
  border-radius: var(--radius-small);
  box-shadow: 0 2px 10px rgba(97,128,104,0.07);
  font-size: 1rem;
}

/* Icon Features (Solutions Section) */
.icon-features {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 18px 0 10px 0;
}
@media (max-width: 650px) {
  .feature-grid, .service-cards, .service-grid, .solution-cards, .case-study-cards {
    flex-direction: column;
    gap: 15px;
  }
  .icon-features {
    gap: 15px;
    flex-wrap: wrap;
  }
}

/* ----------------------------------------------------------------------
   FEATURE ITEMS/FLEX-LIST, TESTIMONIALS, FAQS & ACCORDION
----------------------------------------------------------------------- */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 20px;
  margin-bottom: 20px;
  background: var(--color-white);
  color: var(--color-primary);
  border-radius: var(--radius-main);
  box-shadow: 0 2px 12px rgba(67,153,85,0.08);
  font-size: 1.07rem;
  transition: box-shadow 0.22s;
}
.testimonial-card strong {
  font-weight: 700;
  color: var(--color-green);
}
.testimonial-card span[aria-label] {
  color: #EBC43B;
  letter-spacing: 0.1em;
  margin-left: 4px;
}
.testimonial-card p {
  margin-bottom: 5px;
  color: var(--color-dark-brown);
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 10px 0 10px 0;
}
.faq-accordion > div {
  background: var(--color-white);
  padding: 15px 18px;
  border-radius: var(--radius-small);
  box-shadow: 0 1px 8px rgba(74,135,83,0.06);
}
.faq-accordion h3 {
  font-size: 1.07rem;
}

/* ----------------------------------------------------------------------
   BUTTONS, CTAs & INTERACTIVE ELEMENTS
----------------------------------------------------------------------- */
.cta-primary,
button, .button {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 11px 28px;
  border-radius: var(--radius-main);
  background-color: var(--color-secondary);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  box-shadow: 0 2px 10px rgba(58, 153, 104, 0.09);
  cursor: pointer;
  transition: background .19s, box-shadow .17s, color 0.14s, transform 0.11s;
  display: inline-block;
  margin-top: 8px;
}
.cta-primary:hover, .cta-primary:focus,
button:hover, button:focus, .button:hover, .button:focus {
  background-color: var(--color-green);
  color: #fff;
  box-shadow: 0 9px 35px rgba(50,116,88,0.17);
  transform: translateY(-1.5px) scale(1.022);
  outline: none;
}
button:disabled, .button[disabled], .cta-primary[disabled] {
  background: #bde2d2;
  color: #9EB49B;
  cursor: not-allowed;
}

/* ----------------------------------------------------------------------
   LISTS & LINKS
----------------------------------------------------------------------- */
ul, ol {
  color: var(--color-text-main);
  font-size: 1.07rem;
  margin-bottom: 14px;
}
ul li, ol li {
  margin-bottom: 8px;
  line-height: 1.6;
  position: relative;
  padding-left: 1.1em;
}
ul li:before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--color-green);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0.6em;
}

/* ----------------------------------------------------------------------
   FOOTER
----------------------------------------------------------------------- */
footer {
  background: #eaf2ea;
  color: var(--color-dark-brown);
  box-shadow: 0 -1px 10px rgba(97,128,104,0.05);
  font-size: 0.96rem;
  padding: 25px 0 19px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
footer nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 6px;
}
footer nav a {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 2px 9px;
  border-radius: 6px;
  transition: background 0.13s;
}
footer nav a:hover, footer nav a:focus {
  background: var(--color-leaf);
  color: var(--color-green);
}

/* ----------------------------------------------------------------------
   COOKIE CONSENT BANNER & MODAL
----------------------------------------------------------------------- */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  background: var(--color-accent);
  color: var(--color-text-main);
  box-shadow: 0 -3px 24px rgba(67,153,85,0.08);
  border-top-left-radius: var(--radius-main);
  border-top-right-radius: var(--radius-main);
  z-index: 7000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 22px 10px;
  gap: 22px;
  font-size: 1.07rem;
  transition: transform 0.35s cubic-bezier(0.65,0,0.35,1);
  transform: translateY(0);
}
.cookie-consent-banner.hide {
  transform: translateY(160px);
  pointer-events: none;
}
.cookie-consent-banner .cookie-text {
  flex: 1 1 330px;
  max-width: 560px;
  margin-right: 18px;
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cookie-consent-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 16px;
  font-size: 0.98rem;
  border-radius: 18px;
  border: none;
  margin: 0;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, color 0.12s;
}
.cookie-consent-banner .accept {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-consent-banner .accept:hover,
.cookie-consent-banner .accept:focus {
  background: var(--color-green);
  color: #fff;
}
.cookie-consent-banner .reject {
  background: #fff;
  color: var(--color-text-main);
  border: 1px solid #c7d7c4;
}
.cookie-consent-banner .reject:hover,
.cookie-consent-banner .reject:focus {
  background: var(--color-leaf);
  color: var(--color-green);
}
.cookie-consent-banner .settings {
  background: var(--color-leaf);
  color: var(--color-primary);
}
.cookie-consent-banner .settings:hover,
.cookie-consent-banner .settings:focus {
  background: var(--color-green);
  color: #fff;
}

@media (max-width: 700px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    font-size: 0.99rem;
    padding: 18px 4px;
  }
  .cookie-consent-banner .cookie-text {
    margin-right: 0;
    max-width: 100vw;
  }
}

/* Cookie settings modal popup */
#cookie-modal {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  background: rgba(37,68,37, 0.13);
  justify-content: center;
  align-items: center;
  pointer-events: all;
}
#cookie-modal.active {
  display: flex;
  animation: fadeInScale 0.25s cubic-bezier(.4,.9,.12,1);
}
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}
.cookie-modal-content {
  background: var(--color-accent);
  border-radius: var(--radius-main);
  box-shadow: 0 8px 40px rgba(97,128,104,0.22);
  padding: 34px 28px 26px 28px;
  max-width: 380px;
  width: 98vw;
  color: var(--color-text-main);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.cookie-modal-content h2 {
  font-size: 1.29rem;
  margin-bottom: 8px;
}
.cookie-modal-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 12px;
}
.cookie-modal-content ul li {
  margin: 0 0 9px 0;
  padding-left: 0;
  position: relative;
}
.cookie-modal-content label {
  font-size: 1.01rem;
  cursor: pointer;
  color: var(--color-green);
}
.cookie-modal-content input[type=checkbox] {
  margin-right: 10px;
  accent-color: var(--color-green);
  width: 17px;
  height: 17px;
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 16px;
  font-size: 1.4rem;
  color: var(--color-green);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  padding: 8px 12px;
  transition: background 0.14s;
  z-index: 10001;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: var(--color-leaf);
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 15px;
  justify-content: flex-end;
}
.cookie-modal-actions button {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 14px;
  font-size: 1.01rem;
  border-radius: 15px;
}

/* ----------------------------------------------------------------------
   ORGANIC DECOR & STYLE ACCENTS — EARTHY VIBES
----------------------------------------------------------------------- */
/* Radius for organic shapes */
.section, .card, .feature-grid > div,
.solution-cards > div, .service-cards > div, .testimonial-card, .case-study-cards > div, .faq-accordion > div {
  border-radius: var(--radius-main);
}
.card, .feature-grid > div, .service-cards > div, .solution-cards > div, .testimonial-card, .faq-accordion > div {
  box-shadow: 0 2px 12px var(--color-shadow);
}

/* Organic background patterns */
.section {
  position: relative;
  background: var(--color-accent);
  overflow: hidden;
}
.section:before {
  content: '';
  display: block;
  position: absolute;
  z-index: 1;
  left: -40px;
  top: -44px;
  width: 160px;
  height: 120px;
  background: radial-gradient(ellipse 90% 61% at 80% 60%, var(--color-leaf) 65%, transparent 97%);
  opacity: 0.20;
  pointer-events: none;
}
.section:after {
  content: '';
  display: block;
  position: absolute;
  z-index: 1;
  right: -38px;
  bottom: -40px;
  width: 120px;
  height: 90px;
  background: radial-gradient(ellipse 70% 50% at 35% 80%, var(--color-secondary) 55%, transparent 90%);
  opacity: 0.11;
  pointer-events: none;
}

@media (max-width: 700px) {
  .section:before,
  .section:after {
    display: none;
  }
}

/* ----------------------------------------------------------------------
   ACCESSIBILITY & VISUAL HIERARCHY
----------------------------------------------------------------------- */
:focus-visible {
  outline: 2.5px solid var(--color-secondary);
  outline-offset: 2px;
}

/* ----------------------------------------------------------------------
   MISCELLANEOUS (FORMS, TABLES, ETC)
----------------------------------------------------------------------- */
input, textarea, select {
  font-family: inherit;
  font-size: 1.02rem;
  padding: 10px 14px;
  border: 1.2px solid var(--color-leaf);
  border-radius: var(--radius-small);
  margin-bottom: 14px;
  background: var(--color-white);
  transition: border 0.14s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-secondary);
  outline: none;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--color-green);
  margin-bottom: 5px;
  display: inline-block;
}

/* ----------------------------------------------------------------------
   MEDIA QUERIES - RESPONSIVE DESIGN
----------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  main, .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}
@media (max-width: 600px) {
  .feature-grid > div,
  .service-cards > div,
  .service-grid > div,
  .solution-cards > div,
  .case-study-cards > div {
    min-width: 94vw;
    padding: 16px 10px;
  }
  .content-wrapper {
    gap: 8px;
    padding: 0 0 2px 0;
  }
}

/* ----------------------------------------------------------------------
   SCROLLBAR STYLING (EARTHY)
----------------------------------------------------------------------- */
::-webkit-scrollbar {
  width: 11px;
  background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--color-leaf);
  border-radius: 12px;
}

/* ----------------------------------------------------------------------
   TRANSITIONS / MICRO-INTERACTIONS
----------------------------------------------------------------------- */
a,
.cta-primary, .card, .feature-grid > div,
.service-cards > div, .service-grid > div,
.solution-cards > div, .case-study-cards > div,
button, .button, .mobile-menu, .cookie-consent-banner {
  transition: background 0.21s, box-shadow 0.22s, color 0.15s, transform 0.18s, opacity 0.19s;
}

/* ----------------------------------------------------------------------
   END OF NATURE_ORGANIC CSS FUSE VERTEX
----------------------------------------------------------------------- */
