/* ---- 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 {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  font-size: 16px;
  background: #F1F3F6;
  color: #1B365D;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  background-image: linear-gradient(135deg, #F1F3F6 60%, #e0ecc8 100%);
}

/* ---- FONT FACE (Google Fonts import needed in HTML or @import) ---- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700&family=Roboto:wght@400;500;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #1B365D;
  margin-bottom: 16px;
  font-weight: 700;
}
h1 {
  font-size: 2.4rem;
  line-height: 1.15;
  margin-bottom: 20px;
}
@media (min-width: 768px) {
  h1 {
    font-size: 3rem;
  }
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  font-weight: 600;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
p, ul, ol, table, .text-section a {
  color: #1B365D;
  margin-bottom: 16px;
  font-size: 1rem;
}

strong {
  font-weight: 700;
}
a {
  color: #5CA047;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover, a:focus {
  color: #388C25;
  text-decoration: underline;
}

/* Visual Hierarchy Lists */
ul, ol {
  margin-left: 20px;
  margin-bottom: 20px;
}
ul {
  list-style: disc inside;
}
ol {
  list-style: decimal inside;
}
li {
  margin-bottom: 8px;
}

/* ---- CONTAINER ---- */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ---- HEADER & NAV ---- */
header {
  background: linear-gradient(90deg,#1B365D 75%, #5CA047 100%);
  color: #fff;
  box-shadow: 0 4px 24px rgba(27,54,93,0.07);
  padding: 0 0 0 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 16px;
}
header a img {
  display: block;
  height: 44px;
}
nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
nav a {
  color: #fff;
  text-decoration: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border 0.25s;
}
nav a.cta {
  background: #5CA047;
  color: #fff;
  padding: 8px 22px;
  border-radius: 32px;
  font-weight: 700;
  margin-left: 10px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(92,160,71,0.16);
}
nav a.cta:hover {
  background: #388C25;
  color: #fff;
  box-shadow: 0 4px 24px rgba(92,160,71,0.23);
}
nav a:hover {
  border-bottom: 2px solid #5CA047;
}
nav a:focus {
  outline: 2px solid #5CA047;
}

.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  z-index: 1001;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.15s;
}
.mobile-menu-toggle:focus {
  background: rgba(255,255,255,0.14);
  outline: 2px solid #5CA047;
}

@media (max-width: 1100px) {
  nav {
    gap: 16px;
    font-size: 0.98rem;
  }
}
@media (max-width: 900px) {
  nav {
    gap: 6px;
  }
  .container {
    padding: 0 8px;
  }
}
/* ---- MOBILE NAV ---- */
@media (max-width: 900px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #1B365D;
  color: #fff;
  z-index: 9999;
  transform: translateX(100vw);
  transition: transform 0.40s cubic-bezier(0.77,0.21,0.33,0.94);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 0;
  padding-bottom: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: -4px 0 16px rgba(27,54,93,0.11);
}
.mobile-menu-close {
  font-size: 2.1rem;
  background: none;
  color: #fff;
  border: none;
  margin: 20px 0 16px 20px;
  cursor: pointer;
  align-self: flex-start;
  z-index: 10001;
  border-radius: 10px;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: rgba(255,255,255,0.12);
  outline: 2px solid #5CA047;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  padding: 12px 28px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.18rem;
  padding: 12px 0 8px 6px;
  border-radius: 6px;
  transition: background 0.19s, color 0.14s;
  text-decoration: none;
}
.mobile-nav a:active, .mobile-nav a:hover {
  background: #5CA047;
  color: #fff;
}

/* ---- MAIN SECTION LAYOUTS ---- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
section:nth-child(even) {
  background: #fff;
}

@media (max-width: 768px) {
  section {
    padding: 28px 4vw;
    margin-bottom: 36px;
  }
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ---- FLEXBOX SECTIONS & PATTERNS ---- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(27,54,93,0.13);
  padding: 32px 26px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 260px;
}

.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, .content-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  color: #1B365D;
  box-shadow: 0 6px 24px rgba(27,54,93,0.06);
  border-radius: 18px;
  padding: 20px 30px;
  margin-bottom: 24px;
  min-width: 240px;
  max-width: 720px;
}
.testimonial-card p {
  flex: 1 1 auto;
  color: #1B365D;
  font-style: italic;
  font-size: 1.13rem;
  margin-bottom: 0;
}
.testimonial-card span {
  min-width: 160px;
  font-size: 0.97rem;
  color: #485a6e;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  padding-left: 14px;
  border-left: 3px solid #5CA047;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 12px rgba(27,54,93,0.10);
  padding: 28px 16px 24px 16px;
  min-width: 220px;
  flex: 1 1 180px;
  margin-bottom: 20px;
}
.feature-item img {
  height: 36px;
  width: 36px;
  margin-bottom: 6px;
}
.feature-item h3 {
  color: #5CA047;
  font-size: 1.12rem;
}
.feature-item p {
  color: #1B365D;
  font-size: 1rem;
}

/* ---- PAGE-SPECIFIC FLEX WRAPPERS ---- */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.services-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.service-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(27,54,93,0.09);
  padding: 26px 22px 20px 22px;
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 240px;
  border-left: 6px solid #5CA047;
  transition: box-shadow 0.22s, transform 0.22s;
}
.service-card:hover {
  box-shadow: 0 12px 36px rgba(92,160,71,0.13), 0 5px 20px rgba(27,54,93,0.14);
  transform: translateY(-4px) scale(1.018);
}
.service-card h3 {
  color: #1B365D;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 4px;
}
.service-card strong {
  color: #5CA047;
  font-weight: 700;
  font-size: 1.1rem;
}
.service-card a {
  color: #5CA047;
  margin-top: 6px;
  font-weight: 600;
  align-self: flex-end;
}
.service-card ul {
  list-style: none;
  margin-left: 0;
  margin-bottom: 4px;
  padding-left: 0;
}
.service-card ul li::before {
  content: '✓';
  color: #5CA047;
  font-size: 1.13em;
  margin-right: 8px;
}

.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 12px;
}
.faq-item {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 10px rgba(27,54,93,0.13);
  padding: 20px 18px;
  flex: 1 1 250px;
  min-width: 250px;
  margin-bottom: 20px;
}
.faq-item h3 {
  margin-bottom: 8px;
  color: #1B365D;
}
.faq-item p {
  color: #485A6E;
}

.case-study {
  background: linear-gradient(100deg,#f1f3f6, #e8f8dc);
  box-shadow: 0 2px 12px rgba(92,160,71,0.09);
  border-radius: 14px;
  padding: 18px 18px 12px 18px;
  margin-bottom: 15px;
  min-width: 220px;
  max-width: 650px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.case-study h3 {
  color: #1B365D;
  font-size: 1.13rem;
}
.case-study ul {
  margin-left: 0;
}
.case-study li {
  line-height: 1.6;
}

/* ---- TABLES ---- */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 32px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(27,54,93,0.08);
  border-radius: 16px;
  overflow: hidden;
}
table th, table td {
  padding: 16px 12px;
  text-align: left;
  border: none;
  font-size: 1rem;
}
table thead tr {
  background: #5CA047;
  color: #fff;
}
table th {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: 1px;
}
table tbody tr:nth-child(even) {
  background: #f1f7e7;
}
table tbody tr:nth-child(odd) {
  background: #fff;
}
table td {
  vertical-align: top;
  color: #1B365D;
}

/* ---- TIMELINE & LISTS ---- */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  padding-left: 0;
  margin-left: 0;
  border-left: 5px solid #5CA047;
  margin-bottom: 20px;
  padding-left: 16px;
}
.timeline li {
  position: relative;
  padding-left: 10px;
  font-size: 1.04rem;
  color: #485A6E;
}
.timeline li strong {
  color: #1B365D;
}

/* ---- CTA BUTTONS ---- */
a.cta, .cta {
  background: linear-gradient(90deg,#5CA047 40%, #1B365D 100%);
  color: #fff !important;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.07rem;
  padding: 13px 36px;
  border-radius: 32px;
  border: none;
  display: inline-block;
  box-shadow: 0 2px 18px rgba(92,160,71,0.10);
  margin-top: 12px;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
  transition: background 0.17s, color 0.17s, box-shadow 0.19s, transform 0.17s;
  cursor: pointer;
}
a.cta:hover, .cta:hover, a.cta:focus, .cta:focus {
  background: linear-gradient(90deg, #388C25 38%, #1B365D 98%);
  color: #fff !important;
  box-shadow: 0 8px 36px rgba(27,54,93,0.14),0 2px 14px rgba(92,160,71,0.15);
  transform: translateY(-2px) scale(1.022);
  text-decoration: none !important;
  outline: none;
}

/* ---- FOOTER ---- */
footer {
  background: #142646;
  color: #fff;
  padding: 38px 0 22px 0;
}
footer .container {
  flex-direction: column;
  gap: 18px;
}
.footer-nav {
  text-align: center;
  font-size: 1rem;
}
.footer-nav a {
  color: #fff;
  margin: 0 6px;
  text-decoration: underline;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #5CA047;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  align-items: center;
}
.footer-contact img {
  height: 20px;
  margin-right: 6px;
  vertical-align: text-bottom;
}
.footer-cta {
  text-align: center;
  margin: 18px 0 0 0;
}
.footer-cta .cta {
  font-size: 1rem;
  padding: 10px 28px;
}

/* ---- Misc Spacing & Responsive ---- */
@media (max-width: 900px) {
  .services-overview, .services-grid, .features-grid, .faq-list, .card-container {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 8px;
    padding: 16px 12px;
    max-width: 100%;
  }
}
@media (max-width: 700px) {
  .footer-contact {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }
  h2 {
    font-size: 1.15rem;
    margin-bottom: 10px;
  }
  .feature-item, .service-card, .faq-item, .case-study {
    padding: 14px 12px;
    min-width: 0;
    max-width: 100%;
  }
  table th, table td {
    padding: 10px 6px;
    font-size: 0.97rem;
  }
}

/* ---- IMAGES & ICONS ---- */
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
ul li img, .footer-contact img {
  vertical-align: middle;
}

/* ---- ACCESSIBILITY STATES ---- */
a:focus-visible, button:focus-visible, .cta:focus-visible {
  outline: 2px solid #5CA047;
  outline-offset: 2px;
}

/* ---- COOKIE CONSENT BANNER ---- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 90000;
  background: #fff;
  color: #1B365D;
  padding: 22px 16px 16px 16px;
  box-shadow: 0 -8px 32px rgba(27,54,93,0.13);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  justify-content: center;
  transition: transform 0.34s cubic-bezier(0.77,0.17,0.25,0.88), opacity 0.34s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__text {
  flex: 1 1 260px;
  font-size: 1.01rem;
  color: #1B365D;
  margin-right: 8px;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-banner button {
  background: #fff;
  color: #1B365D;
  border: 1.5px solid #1B365D;
  border-radius: 99px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 9px 26px;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, border 0.16s;
  margin-bottom: 0;
}
.cookie-banner button.accept {
  background: #5CA047;
  color: #fff;
  border: none;
}
.cookie-banner button.accept:hover, .cookie-banner button.accept:focus {
  background: #388C25;
}
.cookie-banner button.reject {
  background: #fff;
  border: 1.5px solid #5CA047;
  color: #5CA047;
}
.cookie-banner button.reject:hover, .cookie-banner button.reject:focus {
  background: #f7f7f7;
  color: #388C25;
  border-color: #388C25;
}
.cookie-banner button.settings {
  background: #F1F3F6;
  border: 1.5px solid #5CA047;
  color: #388C25;
}
.cookie-banner button.settings:hover, .cookie-banner button.settings:focus {
  background: #e8f8dc;
  border-color: #388C25;
}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 10px 8px 8px;
    gap: 14px;
  }
  .cookie-banner__actions {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
}

/* ---- COOKIE PREFERENCES MODAL ---- */
.cookie-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(27,54,93,0.20);
  z-index: 99991;
  display: none;
}
.cookie-modal__backdrop.show {
  display: block;
}
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(0.94);
  background: #fff;
  color: #1B365D;
  z-index: 99992;
  min-width: 340px;
  max-width: 95vw;
  width: 420px;
  border-radius: 18px;
  box-shadow: 0 10px 64px rgba(27,54,93,0.15);
  padding: 40px 28px 20px 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s, transform 0.28s;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-modal.show {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%,-50%) scale(1);
}
.cookie-modal__close {
  position: absolute;
  top: 14px; right: 18px;
  font-size: 1.7rem;
  background: none;
  border: none;
  color: #1B365D;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.13s;
  padding: 2px 8px;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: #e8f8dc;
  outline: 2px solid #5CA047;
}
.cookie-modal h2 {
  font-size: 1.38rem;
  margin-bottom: 2px;
}
.cookie-modal__categories {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-cat-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
}
.cookie-cat-row label {
  flex: 1 1 auto;
}
.cookie-cat-row input[type="checkbox"] {
  transform: scale(1.18);
  accent-color: #5CA047;
  margin-right: 2px;
}
.cookie-cat-row .locked {
  color: #1B365D;
  font-weight: 600;
  font-size: 1.02em;
  margin-left: 3px;
}
.cookie-modal__actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 16px;
  justify-content: flex-end;
}
.cookie-modal__actions button {
  padding: 9px 24px;
}

@media (max-width: 500px) {
  .cookie-modal {
    padding: 15px 7vw 20px 7vw;
    min-width: 0;
    width: 96vw;
    max-width: 96vw;
  }
}

/* ---- Animations & Micro-interactions ---- */
.card, .feature-item, .service-card, .faq-item, .case-study {
  transition: box-shadow 0.23s, transform 0.23s;
}
.card:focus-within, .feature-item:focus-within, .service-card:focus-within {
  box-shadow: 0 8px 50px rgba(92,160,71,0.11), 0 3px 10px rgba(27,54,93,0.13);
  outline: 2px solid #5CA047;
  outline-offset: 2px;
}

/* ---- Utility Margins ---- */
.mt-10 { margin-top: 10px; }
.mb-10 { margin-bottom: 10px; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/* ---- Print Support ---- */
@media print {
  header, footer, .cookie-banner, .cookie-modal__backdrop, .cookie-modal { display: none !important; }
  section, .container { padding: 0 !important; margin: 0 !important; }
}

/* ---- End of style.css ---- */
