/* ====================================================
   CSS RESET & BASE STYLES
==================================================== */
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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  background: #F4F7FA;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F4F7FA;
  color: #213047;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  color: #217257;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.6,.1,.3,1.2);
}
a:hover,
a:focus {
  color: #289672;
  text-decoration: underline;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
strong, b {
  font-weight: bold;
}

/* ====================================================
   BRAND COLORS & VARIABLES
==================================================== */
:root {
  --color-primary: #213047;
  --color-secondary: #F4F7FA;
  --color-accent: #289672;
  --color-accent-dark: #217257;
  --color-white: #FFFFFF;
  --color-gray: #E5EAF2;
  --color-lightgray: #F4F7FA;
  --color-shadow: rgba(33,48,71,0.06);
}

/* ====================================================
   TYPOGRAPHY
==================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}
h1 {
  font-size: 2.2rem;   /* 35px */
  margin-bottom: 16px;
  line-height: 1.15;
}
h2 {
  font-size: 1.7rem;   /* 27px */
  margin-bottom: 16px;
  line-height: 1.16;
}
h3 {
  font-size: 1.25rem;  /* 20px */
  margin-bottom: 10px;
}
h4 {
  font-size: 1.12rem;
}
.hero h1 {
  font-size: 2.5rem;
  color: var(--color-accent-dark);
  text-shadow: 0 4px 24px rgba(33,114,87,0.10);
}
p {
  font-size: 1.05rem;
  margin-bottom: 16px;
}
blockquote {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--color-primary);
  margin-bottom: 8px;
  border-left: 4px solid var(--color-accent);
  padding-left: 20px;
}
.footer-contact p {
  font-size: 0.95rem;
  color: #4A5D80;
}
tbody td, thead th {
  padding: 6px 12px;
}

/* Artistic display font for headlines */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500;700&display=swap');

/* Artistic touches for main headlines */
h1, h2 {
  background-image: linear-gradient(90deg, #289672 30%, #217257 70%, #168279 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

/* Unmistakably creative/artistic touch - accent brush underline */
h1::after {
  content: '';
  display: block;
  width: 56px;
  height: 8px;
  margin-top: 8px;
  background: linear-gradient(90deg, #217257 20%, #289672 70%, #168279 100%);
  border-radius: 8px;
  opacity: 0.54;
}


/* ====================================================
  LAYOUT & CONTAINERS
==================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}
.content-wrapper {
  margin: 0 auto;
  max-width: 900px;
  padding: 0 0 0 0;
}

/* Section spacing & layout */
.section,
main > section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-white);
  border-radius: 24px;
  box-shadow: 0 8px 28px var(--color-shadow);
  position: relative;
}
.hero {
  padding: 0;
  margin-bottom: 50px;
  background: radial-gradient(circle at 70% 40%, #B9F4E8 0%, #F4F7FA 100%);
}
.hero .container {
  padding-top: 56px;
  padding-bottom: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  text-align: center;
}

.features-grid,
.solution-tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  margin-top: 28px;
}
.features-grid > div,
.solution-tiles > div {
  background: var(--color-lightgray);
  border-radius: 18px;
  box-shadow: 0 3px 16px var(--color-shadow);
  padding: 28px 24px;
  flex: 1 1 260px;
  min-width: 240px;
  max-width: 360px;
  text-align: center;
  position: relative;
  margin-bottom: 20px;
  transition: transform 0.22s cubic-bezier(.44,.11,.3,1.16), box-shadow 0.22s;
  will-change: transform,box-shadow;
}
.features-grid > div:hover,
.solution-tiles > div:hover {
  transform: translateY(-10px) scale(1.028) rotate(-0.5deg);
  box-shadow: 0 10px 32px 0 rgba(40,150,114,0.12);
}
.features-grid img,
.solution-tiles img {
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 4px 20px var(--color-shadow);
  padding: 28px 24px;
  transition: box-shadow 0.18s, transform 0.13s;
}
.card:hover {
  box-shadow: 0 8px 30px #b9f4e840;
  transform: scale(1.02) translateY(-6px);
}

.card-content { 
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 120px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 3px 20px var(--color-shadow);
  margin-bottom: 20px;
  position: relative;
  min-width: 220px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  border-left: 8px solid var(--color-accent);
}
.testimonial-card blockquote {
  font-style: italic;
  color: #222;
  font-size: 1.13rem;
  margin-bottom: 0px;
}
.testimonial-card footer {
  font-weight: 600;
  color: var(--color-accent-dark);
}
.testimonial-card div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.09rem;
  color: #28313b;
  font-weight: 500;
}
.testimonial-card img {
  width: 24px;
  height: 24px;
}

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

.footer-contact {
  margin-top: 20px;
  line-height: 1.5;
}

/* ====================================================
   HEADER & NAVIGATION
==================================================== */
header {
  background: #FFFFFF;
  box-shadow: 0 2px 16px var(--color-shadow);
  position: sticky;
  top: 0;
  z-index: 80;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding-top: 8px;
  padding-bottom: 8px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 1.04rem;
}
header nav .cta {
  background: linear-gradient(90deg, #217257 0%, #289672 100%);
  color: #FFF;
  font-weight: 700;
  padding: 10px 23px;
  border-radius: 20px;
  margin-left: 10px;
  box-shadow: 0 3px 19px #21967221;
  transition: background 0.2s, transform .14s;
  letter-spacing: 0.01em;
}
header nav .cta:hover,
.cta:hover {
  background: #289672;
  transform: scale(1.056) skewX(-3deg);
  color: #FFF;
  text-shadow: 0 2px 8px #28967233;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  cursor: pointer;
  margin-left: 18px;
  color: #213047;
  z-index: 250;
  transition: color 0.18s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #289672;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #F4F7FA;
  box-shadow: 0 3px 48px #0001;
  z-index: 300;
  transform: translateX(-110vw);
  transition: transform 0.38s cubic-bezier(.88,.01,.19,1), visibility .26s;
  visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.4rem;
  color: #217257;
  align-self: flex-end;
  margin: 22px 30px 6px 0;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:focus {
  outline: 2px solid #289672;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 30px;
  padding-left: 36px;
  gap: 18px;
}
.mobile-nav a {
  color: #217257;
  font-size: 1.36rem;
  padding: 16px 0;
  border-radius: 6px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background 0.16s, color 0.12s;
}
.mobile-nav a:active,
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: #DCF6F0;
  color: #1d604a;
}

/* Hamburger on mobile */
@media (max-width: 992px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 993px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ====================================================
   MAIN BUTTONS, LINKS, INTERACTION
==================================================== */
.cta, .button, button, input[type=submit], input[type=button] {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  background: linear-gradient(90deg, #217257 10%, #289672 88%);
  color: #FFF;
  border: none;
  border-radius: 22px;
  padding: 12px 32px;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: background 0.19s, transform 0.13s, box-shadow 0.17s;
  cursor: pointer;
  box-shadow: 0 3px 16px #28967222;
  margin-top: 18px;
  margin-bottom: 10px;
  display: inline-block;
}
.cta:focus, .button:focus, button:focus {
  outline: 2px solid #289672;
}
.button:hover, .cta:hover, button:hover {
  background: #168279;
  color: #FFF;
  transform: scale(1.045) rotate(-1deg);
  box-shadow: 0 5px 22px #28967238, 0 2px 0 #28967218 inset;
}
.cta:active {
  background: #168269;
}

/* ====================================================
   TABLE STYLES
==================================================== */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 32px 0;
  background: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 7px #21304711;
}
thead th {
  background: #E5EAF2;
  color: #217257;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
}
tbody td {
  font-size: 0.99rem;
  color: #213047;
}
tbody tr:nth-child(odd) {
  background: #F8FAFB;
}
tbody tr:nth-child(even) {
  background: #F3F8F6;
}
td, th {
  border: none;
  padding: 10px 12px;
}

/* ====================================================
   FOOTER
==================================================== */
footer {
  margin-top: 50px;
  background: #213047;
  color: #FFF;
  padding: 40px 0 16px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: start;
  gap: 32px;
  padding: 0 24px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-right: 32px;
}
footer nav a {
  color: #B9F4E8;
  font-size: 1.05rem;
  font-family: 'Montserrat',sans-serif;
  margin-bottom: 4px;
  transition: color .13s;
}
footer nav a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-contact {
  color: #EBFFFB;
  line-height: 1.55;
  font-size: 0.97rem;
  opacity: 0.92;
}
footer img {
  height: 48px;
  width: auto;
  margin-bottom: 14px;
  filter: drop-shadow(0 1px 8px #26a5a633);
}

/* ====================================================
   RESPONSIVE STYLES (Mobile-First)
==================================================== */
@media (max-width: 900px) {
  .features-grid, .solution-tiles, .card-container, .footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .features-grid > div,
  .solution-tiles > div {
    min-width: unset;
    max-width: unset;
    width: 100%;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .section, main > section {
    padding: 32px 8px;
    margin-bottom: 36px;
  }
  .content-wrapper {
    padding: 0;
  }
  .features-grid, .solution-tiles {
    flex-direction: column;
    gap: 18px;
    min-width: auto;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 14px;
  }
  .footer-contact {
    font-size: 0.92rem;
  }
  .hero .container {
    padding-top: 36px;
    padding-bottom: 36px;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.14rem; }
  h3 { font-size: 1.02rem; }
  .hero h1 { font-size: 1.55rem; }
  .section, main > section { padding: 20px 3px; }
  .testimonial-card { max-width: 100%; border-left-width: 5px; }
}
@media (max-width: 480px) {
  .container { padding-left: 5px; padding-right: 5px; }
  .section, main > section { border-radius: 12px; }
  .testimonial-card { padding: 11px; }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
}

/* ====================================================
   COOKIE BANNER & MODAL
==================================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 600;
  background: #fff;
  border-top: 3px solid #289672;
  box-shadow: 0 -2px 22px #28967218;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 17px 18px 17px;
  font-size: 1.01rem;
  animation: cookieBannerIn .52s cubic-bezier(.71,-0.13,.54,1.34) 1;
}
@keyframes cookieBannerIn {
  0% { transform: translateY(120px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  max-width: 460px;
  text-align: center;
  margin-bottom: 18px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
}
.cookie-banner button {
  padding: 8px 22px;
  border-radius: 14px;
  font-size: 1.05rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  margin-top: 0;
  background: linear-gradient(90deg,#217257 10%,#289672 100%);
  color: #fff;
  transition: background .13s, box-shadow .15s, transform .11s;
  box-shadow: 0 2px 6px #21725712;
}
.cookie-banner .cookie-settings {
  background: #F4F7FA;
  color: #217257;
  border: 1.5px solid #217257;
}
.cookie-banner button:hover {
  background: #168279;
}
.cookie-banner .cookie-settings:hover {
  background: #DCF6F0;
  color: #168279;
}

.cookie-modal-overlay {
  position: fixed;
  z-index: 800;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(33,48,71,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn .23s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 46px #2172571f;
  padding: 32px 26px 24px 26px;
  max-width: 420px;
  width: 96vw;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  position: relative;
  animation: modalIn .29s cubic-bezier(.62,-0.13,.47,1.22);
}
@keyframes modalIn {
  from { transform: scale(.87) translateY(38px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  color: #217257;
  font-size: 1.16rem;
  margin-bottom: 17px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 10px 0;
  border-bottom: 1px solid #E5EAF2;
  font-size: 1.04rem;
}
.cookie-modal .cookie-category:last-child {
  border-bottom: none;
}
.cookie-modal label {
  font-weight: 500;
  color: #213047;
  margin-right: 12px;
}
.cookie-modal input[type=checkbox] {
  accent-color: #217257;
  width: 20px;
  height: 20px;
}
.cookie-modal .cookie-buttons {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  justify-content: flex-end;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  color: #217257;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  padding: 2px 8px;
}
.cookie-modal .close-modal:hover {
  color: #289672;
}

@media (max-width: 600px) {
  .cookie-modal { padding: 18px 7px 16px 7px; }
}

/* ====================================================
   ANIMATION & MICRO-INTERACTIONS
==================================================== */
.button,.cta,button,input[type=submit],input[type=button] {
  transition: background 0.19s, transform 0.15s, box-shadow 0.15s, color 0.15s;
}
a, .mobile-nav a, header nav a {
  transition: color 0.18s, background 0.16s;
}
.features-grid > div, .solution-tiles > div, .card {
  transition: box-shadow 0.18s, transform 0.16s, background 0.16s;
}

/* ====================================================
   MISCELLANEOUS
==================================================== */
::-webkit-input-placeholder { color: #8DB5A6; }
:-moz-placeholder { color: #8DB5A6; }
::-moz-placeholder { color: #8DB5A6; }
:-ms-input-placeholder { color: #8DB5A6; }
::placeholder { color: #8DB5A6; }

/* Remove outlines except for keyboard/tab navigation */
*:focus:not(:focus-visible) { outline: none; }
*:focus-visible {
  outline: 2px dashed #217257;
  outline-offset: 2px;
}

/* Artistic SVG highlight under accent words (for future customizations) */
.mark-artistic {
  background: linear-gradient(98deg,#DCF6F0 40%,#E1F2EE 77%);
  border-radius: 3px 13px 13px 3px;
  padding: 0 6px;
  color: #217257;
  font-weight: 700;
}

/* Hide accessibly */
.visually-hidden { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0; }
