/* CSS RESET + BASE  -------------------------------------------- */
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; }
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {
  display: block; }
ul { list-style: none; }
blockquote,q { quotes: none; }
blockquote:before,blockquote:after,q:before,q:after { content: none; }
table { border-collapse: collapse; border-spacing: 0; }
img { display:block; max-width: 100%;height:auto; }

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

body {
  color: #2B3C32;
  background: #F7FAFC;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  line-height: 1.6;
  font-size: 16px;
  min-height:100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #236983;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}
h1 { font-size: 2.5rem; line-height: 1.15; }
h2 { font-size: 2rem; line-height: 1.2; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.125rem; }
}

p, ul, ol, li, blockquote {
  font-size: 1rem;
  color: #314944;
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}
strong { color: #17735a; font-weight:700; }
a {
  color: #236983;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus { color: #17735a; text-decoration-thickness: 2px; }

/* LAYOUT ---------------------------------------------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 2px 16px rgba(50,80,68,0.05);
  transition: box-shadow 0.25s;
}

@media (max-width: 768px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 36px;
  }
  .container { padding-left: 8px; padding-right: 8px; }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.card {
  background: #F7FAFC;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(50,80,68,0.08);
  padding: 30px 24px;
  margin-bottom: 20px;
  min-width: 240px;
  flex: 1 1 250px;
  transition: box-shadow 0.2s;
  position: relative;
}
.card:hover {
  box-shadow: 0 4px 24px rgba(34, 105, 131, 0.13);
}
.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;
  }
}

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

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #F7FAFC;
  border-radius: 24px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(23, 115, 90, 0.08);
  border-left: 6px solid #50A99A;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px rgba(35, 105, 131, 0.10);
  border-color: #17735a;
}
.testimonial-card blockquote {
  font-size: 1.125rem;
  color: #23513F;
  font-style: italic;
  margin: 0 0 8px 0;
  line-height:1.5;
}
.testimonial-card footer {
  align-self: flex-end;
  font-size: 1rem;
  color: #236983;
  font-weight:500;
}
.testimonial-card footer span {
  color: #FFB300;
  margin-left: 7px;
  letter-spacing:2px;
}

/* ICONS, FEATURES & LISTS ------------------- */
.features-section ul, .features-section .content-wrapper ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 18px;
  padding-left:0;
  flex-direction: column;
}
.features-section ul li {
  display: flex;
  align-items: center;
  gap: 17px;
  font-size: 1rem;
  background: #E7F5EA;
  border-radius: 13px;
  padding: 16px 14px;
  color: #236983;
  margin-bottom: 0;
  transition: box-shadow 0.16s;
  box-shadow:0 1px 6px rgba(80, 169, 154, 0.05);
}
.features-section ul li img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.features-section ul ul {
  margin-left: 2.5em;
  gap: 8px;
  background: none;
  box-shadow: none;
  padding: 0;
}
.features-section ul ul li {
  background: none;
  padding: 0;
  font-size: 0.97rem;
  color: #355C47;
  box-shadow: none;
}
@media (min-width: 700px) {
  .features-section ul, .features-section .content-wrapper ul { flex-direction: row; }
  .features-section ul li { flex: 1 1 350px; }
}

/* BUTTONS & CTA ---------------------------------------- */
.cta-btn, .cta-btn:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85em 2.2em;
  background: #17735a;
  color: #fff!important;
  border: none;
  border-radius: 32px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: 0.025em;
  cursor: pointer;
  margin-top: 6px;
  box-shadow: 0 2px 8px rgba(23, 115, 90, 0.13);
  transition: background 0.22s, box-shadow 0.22s, transform 0.16s;
  text-decoration: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #236983;
  box-shadow: 0 4px 16px rgba(35, 105, 131, 0.14);
  transform: translateY(-1px) scale(1.035) rotate(-1deg);
}

button:not(.mobile-menu-toggle):not(.mobile-menu-close),
input[type="submit"],
input[type="button"],
input[type="reset"] {
  background: #50A99A;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 0.7em 1.8em;
  font-family: 'Montserrat',sans-serif;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 8px;
  transition: background 0.18s, transform 0.13s;
}
button:hover:not(.mobile-menu-toggle):not(.mobile-menu-close),
input[type="submit"]:hover, input[type="button"]:hover, input[type="reset"]:hover {
  background: #17735a;
  transform: translateY(-2px) scale(1.045) rotate(-.6deg);
}

/* HEADER + NAVIGATION ----------------------------------- */
header {
  background: #F7FAFC;
  box-shadow: 0 1px 10px rgba(35, 105, 131, 0.04);
  position: sticky;
  top: 0;
  z-index: 60;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.logo img { height: 48px; width: auto; }
nav {
  display: flex;
  gap: 22px;
}
nav a {
  font-family: 'Montserrat',sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #236983;
  background: none;
  border: none;
  transition: color 0.18s, border-bottom 0.16s;
  padding: 6px 2px;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
nav a:hover, nav a:focus,
nav a.active {
  color: #17735a;
  border-bottom: 2px solid #50A99A;
  text-decoration: none;
}

@media (max-width: 980px) {
  header .container { gap: 8px; }
  nav { gap: 10px; }
}
@media (max-width: 820px) {
  header nav {
    display: none;
  }
  .cta-btn { display: none; }
  .mobile-menu-toggle { display: block; }
}

/* -------------- MOBILE MENU ------------------ */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  color: #236983;
  font-size: 2.2rem;
  line-height: 1;
  border: none;
  padding: 2px 13px;
  cursor: pointer;
  z-index: 189;
  border-radius: 8px;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #E7F5EA;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #E7F5EA;
  z-index: 180;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transform: translateX(102vw);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.38s cubic-bezier(.7,.09,.64,.99), opacity 0.2s;
  box-shadow: 0 5px 26px rgba(23, 115, 90, 0.13);
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 22px 0 0;
  background: transparent;
  border: none;
  color: #236983;
  font-size: 2.1rem;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 191;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #17735a;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 32px 0 0 30px;
}
.mobile-nav a {
  font-size: 1.3rem;
  letter-spacing: 0.018em;
  color: #236983;
  text-decoration: none;
  font-family: 'Montserrat',sans-serif;
  font-weight: 600;
  padding: 8px 0;
  border-radius: 8px;
  transition: background 0.2s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #17735a;
  color: #fff;
}
@media (max-width: 820px) {
  .mobile-menu-toggle { display: block; }
}
@media (min-width: 821px) {
  .mobile-menu, .mobile-menu-toggle { display: none!important; }
}

/* HERO & SECTION VARIATIONS ----------------------------- */
.hero-section {
  background: #e3f3e6 url('../assets/texture-leaf-bg.svg') center bottom/cover repeat-x;
  padding-top: 40px;
  padding-bottom: 40px;
  border-radius: 0 0 36px 36px;
  margin-bottom: 60px;
}
.hero-section .container {
  min-height: 220px;
}
.hero-section h1 {
  color: #17735a;
}
.hero-section p {
  font-size: 1.18rem;
  margin-bottom: 22px;
  color: #236983;
}
@media (max-width: 768px) {
  .hero-section {
    padding-top: 22px;
    padding-bottom: 22px;
    border-radius: 0 0 18px 18px;
    margin-bottom: 32px;
  }
  .hero-section .container {
    min-height: 90px;
  }
}

.contact-section, .contact-brief-section {
  background: #E7F5EA;
  border-radius: 24px;
  margin-bottom: 60px;
}
.contact-section a.cta-btn {
  margin-top: 16px;
}

.services-section {
  background: #FEF8F0;
  border-radius: 20px;
  margin-bottom: 60px;
}
.services-section ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.services-section ul li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #236983;
  background: #fff;
  padding: 14px 14px;
  border-radius: 12px;
  font-size: 1.07rem;
  box-shadow: 0 1px 4px rgba(80,169,154,0.06);
  justify-content: space-between;
}
.services-section ul li span { color: #50A99A; font-weight:600; margin-left: 16px; }

.text-section {
  font-size: 1.07rem;
  line-height: 1.7;
  color: #314944;
  margin-bottom: 8px;
}
.text-section a { color:#50A99A; text-decoration: underline; }

.footer-section { padding: 40px 0 0 0; }

/* FOOTER -------------------------------------------------- */
footer {
  background: #236983;
  color: #fff;
  padding-top: 40px;
  padding-bottom: 24px;
  margin-top: 80px;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
footer nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
footer nav a {
  color: #B2E5C2;
  text-decoration: none;
  font-family: 'Montserrat',sans-serif;
  font-size: 0.98rem;
  font-weight: 500;
  transition: color 0.18s;
  border-bottom: 2px solid transparent;
}
footer nav a:hover, footer nav a:focus {
  color: #fff;
  border-bottom: 2px solid #50A99A;
}
footer img { height: 40px; margin-bottom: 8px; }
footer p { color: #d0ecd7; font-size: 0.91rem; margin-top: 8px; text-align: center; }

@media (max-width: 600px) {
  footer .container { padding-bottom: 18px; }
  footer nav { gap: 8px; }
}

/* ORGANIC & DECORATIVE TOUCHES ------------------------ */
.hero-section, .features-section, .services-section, .testimonials-section, .contact-section, .about-section {
  box-shadow: 0 2px 18px rgba(40, 77, 67, 0.047);
  /* Generous spacing */
}
/* Subtle organic leaf shadow on hover for cards */
.card::before {
  content: '';
  position: absolute;background: url('../assets/leaf-shape-deco.svg') no-repeat center/60% auto; opacity: 0.08;
  width:80px;height:80px; left:-12px; bottom:-16px; pointer-events:none;
}

/* Animations & Micro-interactions ----------------------- */
.cta-btn, button:not(.mobile-menu-toggle):not(.mobile-menu-close) {
  transition: background 0.22s, box-shadow 0.18s, transform 0.15s, color 0.2s;
}
.features-section ul li,
.card,
.testimonial-card {
  transition: box-shadow 0.17s, border-color 0.18s, background 0.15s;
}
.features-section ul li:hover {
  box-shadow: 0 4px 14px rgba(23, 115, 90, 0.10);
  background: #d3f2d8;
}

/* FORM ELEMENTS STYLING --------------------------------- */
input[type="text"], input[type="email"], input[type="tel"], textarea {
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid #B2E5C2;
  font-size: 1rem;
  font-family: 'Roboto',sans-serif;
  width: 100%;
  background: #fff;
  margin-bottom: 16px;
  color: #23513F;
  transition: border 0.16s;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus, textarea:focus {
  border: 1.5px solid #50A99A;
  outline: none;
}

label { color: #236983; font-weight:500; font-size: 1rem; margin-bottom: 5px; display:block; }

/* RESPONSIVE DESIGN ------------------------------------- */
@media (max-width: 1000px) {
  .container { max-width: 96vw; }
}
@media (max-width: 700px) {
  .container { max-width: 99vw; }
  .card, .services-section ul li, .features-section ul li, .testimonial-card { min-width:150px; }
  .footer-section, .section { padding-left:6px; padding-right:6px; }
}

/* COOKIE CONSENT BANNER --------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 3000;
  width: 100vw;
  background: #236983;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 22px 16px 16px 16px;
  box-shadow: 0 -2px 24px rgba(35, 105, 131, 0.20);
  gap: 26px;
  font-size: 1rem;
  animation: cookie-slidein 0.66s cubic-bezier(.5,1.53,.62,.97);
}
@keyframes cookie-slidein {
  from { transform: translateY(70px); opacity:0; }
  to { transform:translateY(0); opacity:1; }
}
.cookie-banner p {color: #fff; font-size:1rem; margin-right:12px;}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-banner button {
  border-radius: 19px;
  border: none;
  background: #50A99A;
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 17px;
  cursor: pointer;
  margin-left: 3px;
  box-shadow: 0 1px 6px rgba(23, 115, 90, 0.08);
  transition: background 0.16s,box-shadow 0.12s, color 0.14s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #17735a;
  color: #fff;
}
.cookie-banner .cookie-settings-btn {
  background: #fff;
  color: #236983;
  border: 1px solid #50A99A;
}
.cookie-banner .cookie-settings-btn:hover {
  background: #50A99A;
  color: #fff;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    font-size:0.97rem;
    padding: 14px 3vw 9px 5vw;
  }
  .cookie-banner .cookie-actions {
    width: 100%;
    gap: 9px;
  }
}

/* COOKIE MODAL -------------------------------------- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 3050;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(44, 82, 67, 0.21);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity:0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.open {
  opacity:1;
  pointer-events: auto;
}
.cookie-modal {
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 8px 48px rgba(35,105,131,0.18);
  max-width: 340px;
  width: 98vw;
  padding: 36px 22px 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modal-popup 0.4s cubic-bezier(.68,-0.25,.54,1.2);
}
@keyframes modal-popup {
  0% {transform: scale(0.88) translateY(20px); opacity:0;}
  100% {transform: scale(1) translateY(0); opacity:1;}
}
.cookie-modal h3 {
  color: #236983;
  font-weight:600;
  font-size: 1.18rem;
  margin-bottom: 6px;
}
.cookie-preference-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 4px;
  margin-bottom: 15px;
}
.cookie-preference {
  display: flex;
  align-items: center;
  gap: 9px;
}
.cookie-preference input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #17735a;
  border-radius: 5px;
}
.cookie-preference label {
  font-size: 1rem;
  color: #236983;
  font-family: 'Montserrat',sans-serif;
  font-weight: 500;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal .modal-actions button {
  padding: 9px 16px;
  font-size: 1rem;
  border-radius: 16px;
  background: #50A99A;
  color: #fff;
  border: none;
  font-family:'Montserrat',sans-serif;
  font-weight:500;
  cursor:pointer;
  transition: background 0.12s;
}
.cookie-modal .modal-actions button:last-child {
  background: #fff;
  color: #236983;
  border: 1.3px solid #236983;
}
.cookie-modal .modal-actions button:last-child:hover {
  background: #E7F5EA;
}

/* NO GRID! FLEXBOX ONLY for all layouts ----------------- */
/* Ensured by only using display:flex; with gap, justify, etc */

/* EXTRA: ORGANIC SHAPES ------------------------------------ */
.section, .services-section, .features-section, .contact-section, .testimonials-section, .about-section, .hero-section {
  border-radius: 24px 44px 14px 34px/18px 32px 38px 19px;
}

/* LEAF DECORATION HOVER for .cta-btn (subtle) */
.cta-btn::after {
  content: '';
  display: block;
  width: 36px;
  height: 18px;
  background: url('../assets/icons/icon-leaf.svg') no-repeat center/contain;
  opacity: 0;
  transition: opacity 0.28s;
  margin-left: 9px;
}
.cta-btn:hover::after { opacity: .6; }

/* SCROLLBAR STYLING --------------------------------------- */
::-webkit-scrollbar {
  width: 8px;
  background: #E7F5EA;
}
::-webkit-scrollbar-thumb {
  background: #b2e5c2;
  border-radius: 18px;
}
::-webkit-scrollbar-thumb:hover {
  background: #50A99A;
}

/* Miscellaneous ------------------------------------------ */
::-moz-selection { background: #B2E5C2; color: #236983; }
::selection { background: #B2E5C2; color: #236983; }

/* Hide outline for mouse, keep for keyboard nav ------------ */
:focus:not(:focus-visible) { outline: none; }

/* Accessibility, readable testimonials --------------------- */
.testimonial-card, .testimonial-card blockquote, .testimonial-card footer { color: #1e3632 !important; background: inherit; }

@media (max-width: 700px) {
  .features-section ul { flex-direction: column; gap: 13px; }
  .card-container { flex-direction: column; gap:14px; }
  .services-section ul { flex-direction: column; gap:10px; }
}
