/*--------------------------------------------------------
 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;
  outline: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background: #fff;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #294462;
  font-size: 16px;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img {
  border-style: none;
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #294462;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #5A892C;
  outline: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
}
ul, ol {
  list-style: none;
}

/*--------------------------------------------------------
 FONT IMPORTS
--------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&family=Roboto+Slab:wght@700&display=swap');

/*--------------------------------------------------------
 ROOT & COLOR VARS
--------------------------------------------------------*/
:root {
  --color-primary: #294462;
  --color-secondary: #ffffff;
  --color-accent: #5A892C;
  --color-accent-light: #78B145;
  --color-muted: #f5f8fa;
  --color-light-gray: #e7edf3;
  --color-dark: #1A2842;
  --shadow-light: 0 2px 6px rgba(41,68,98,0.08);
  --shadow-hover: 0 4px 20px rgba(90,137,44,0.12);
}

/*--------------------------------------------------------
 GEOMETRIC STRUCTURED TYPOGRAPHY
--------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', serif;
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.375rem; /* 38px */
  margin-bottom: 20px;
}
h2 {
  font-size: 1.625rem; /* 26px */
  margin-bottom: 14px;
  border-left: 8px solid var(--color-accent);
  padding-left: 18px;
  background: linear-gradient(90deg, var(--color-accent-light) 0 8px, transparent 8px 100%);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%);
}
h3 {
  font-size: 1.1875rem; /* 19px */
  margin-bottom: 12px;
}
h4 {
  font-size: 1rem;
  margin-bottom: 10px;
}
section h1, section h2, section h3 {
  letter-spacing: 0.02em;
}
p, ul, ol, li, span, label {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--color-dark);
}
strong, b {
  font-weight: 700;
}
small {
  font-size: 0.85rem;
  color: #607598;
}

/*--------------------------------------------------------
 GENERAL LAYOUT & GEOMETRIC GRID SECTIONS
--------------------------------------------------------*/
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  position: relative;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-secondary);
  border-radius: 24px;
  box-shadow: var(--shadow-light);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.text-section {
  max-width: 680px;
  margin: 0 auto;
  align-items: center;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--color-secondary);
  border-radius: 14px;
  box-shadow: var(--shadow-light);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  min-width: 280px;
  flex: 1 1 300px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/*--------------------------------------------------------
 MAIN NAV & HEADER
--------------------------------------------------------*/
header {
  background: var(--color-primary);
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  gap: 20px;
}
header img {
  max-height: 48px;
  margin-right: 18px;
}
header nav {
  display: flex;
  gap: 22px;
}
header nav a {
  color: var(--color-secondary);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 7px 0;
  border-bottom: 2.5px solid transparent;
  transition: border-color 0.2s,color 0.2s;
  position: relative;
}
header nav a:hover,
header nav a.active {
  border-bottom: 2.5px solid var(--color-accent);
  color: var(--color-accent-light);
}
.cta-button {
  display: inline-flex;
  align-items: center;
  font-family: 'Roboto Slab', serif;
  font-size: 1.10rem;
  letter-spacing: .03em;
  background: var(--color-accent);
  color: var(--color-secondary);
  padding: 13px 36px;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: 0 2px 7px rgba(90,137,44,0.08);
  cursor: pointer;
  transition: background 0.2s, transform 0.18s, box-shadow 0.22s;
  margin-left: 16px;
}
.cta-button:hover, .cta-button:focus {
  background: var(--color-accent-light);
  transform: translateY(-3px) scale(1.04);
  box-shadow: var(--shadow-hover);
  color: var(--color-secondary);
}

/*--------------------------------------------------------
 MOBILE MENU
--------------------------------------------------------*/
.mobile-menu-toggle {
  display: none;
  background: var(--color-primary);
  color: var(--color-secondary);
  border: none;
  font-size: 2rem;
  padding: 10px 20px;
  cursor: pointer;
  z-index: 110;
  border-radius: 7px;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--color-accent);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-secondary);
  box-shadow: 0 0 0 9999px rgba(41,68,98,0.3);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  opacity: 0;
  transition: transform 0.28s cubic-bezier(.63,.01,.66,.99), opacity 0.22s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 22px;
  background: none;
  color: var(--color-primary);
  font-size: 2.0rem;
  border: none;
  cursor: pointer;
  z-index: 300;
  transition: color 0.14s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 29px;
  margin-top: 90px;
  margin-left: 36px;
}
.mobile-nav a {
  font-size: 1.15rem;
  color: var(--color-primary);
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 2.5px solid transparent;
  transition: color 0.17s, border-color 0.18s;
}
.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--color-accent);
  border-bottom: 2.5px solid var(--color-accent);
}

/*--------------------------------------------------------
 MAIN CONTENT STRUCTURE
--------------------------------------------------------*/
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.feature-grid, .service-cards, .service-overview-grid, .feature-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: stretch;
  justify-content: flex-start;
}
.feature-item, .service-item, .feature-bullet {
  background: var(--color-muted);
  border-radius: 18px;
  box-shadow: var(--shadow-light);
  padding: 28px 24px 22px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  min-width: 210px;
  max-width: 320px;
  flex: 1 1 220px;
  position: relative;
}
.feature-bullet {
  flex-direction: row;
  gap: 14px;
  align-items: center;
  background: var(--color-light-gray);
}
.feature-item img, .service-item img, .feature-bullet img {
  width: 38px;
  height: 38px;
  min-width: 38px;
  margin-bottom: 4px;
}
.service-cards .service-item {
  background: var(--color-secondary);
}

/*--------------------------------------------------------
 TESTIMONIALS & REVIEW CARDS
--------------------------------------------------------*/
.testimonial-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 32px 22px 32px;
  background: var(--color-muted);
  border-radius: 16px;
  box-shadow: var(--shadow-light);
  min-width: 250px;
  max-width: 390px;
  margin-bottom: 20px;
  flex: 1 1 320px;
}
.testimonial-card p {
  font-size: 1.08rem;
  color: #1A2842;
}
.testimonial-card span {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1.02rem;
}  
.testimonial-author {
  font-size: 0.98rem;
  color: #294462;
  margin-top: 5px;
  font-style: italic;
}

/*--------------------------------------------------------
 FOOTER
--------------------------------------------------------*/
footer {
  background: var(--color-primary);
  color: var(--color-secondary);
  padding: 44px 0 20px 0;
  box-shadow: 0 -1px 8px rgba(41,68,98,0.04);
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}
footer nav a {
  color: var(--color-accent-light);
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  text-decoration: underline dotted;
  transition: color 0.13s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-accent);
}
.footer-contact {
  margin: 5px 0 0 0;
  color: #cfe4db;
  font-size: 0.97rem;
}
.footer-note {
  margin-top: 10px;
  font-size: 0.84rem;
  color: #ced3db;
}
footer img {
  max-height: 40px;
  margin-bottom: 9px;
}

/*--------------------------------------------------------
 CARDS, LISTS, & TABLES
--------------------------------------------------------*/
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
ul {
  list-style: none;
  margin-bottom: 18px;
}
ul li, ol li {
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 0;
  color: #1A2842;
  font-size: 1rem;
}
ul li img {
  width: 24px; height: 24px;
  margin-right: 3px;
}
.quicklinks ul {
  display: flex;
  gap: 17px;
  flex-wrap: wrap;
  margin-left: 0;
}
.quicklinks a {
  color: var(--color-accent);
  font-weight: 700;
  text-underline-offset: 3px;
}
.quicklinks a:hover {
  color: var(--color-accent-light);
}

.case-studies ul {
  border-left: 4px solid var(--color-accent);
  padding-left: 14px;
  margin-left: 2px;
}
.case-studies li {
  margin-bottom: 9px;
}

.value-proposition {
  margin-top: 24px;
  background: var(--color-light-gray);
  padding: 16px 20px;
  border-radius: 13px;
  color: #294462;
}

/*--------------------------------------------------------
 FAQ DESIGN
--------------------------------------------------------*/
.faq-list li {
  background: var(--color-muted);
  border-radius: 13px;
  box-shadow: var(--shadow-light);
  padding: 18px 18px;
  margin-bottom: 18px;
  position: relative;
}
.faq-list h2 {
  font-size: 1.12rem;
  margin-bottom: 6px;
  border: none;
  padding-left: 0;
  background: none;
  clip-path: none;
}
.faq-list p {
  font-size: 0.99rem;
  color: var(--color-dark);
}
.faq-list a {
  color: var(--color-accent);
  font-weight: 700;
}

/*--------------------------------------------------------
 BUTTONS
--------------------------------------------------------*/
button, .button {
  outline: none;
  border: none;
  cursor: pointer;
  background: var(--color-accent);
  color: var(--color-secondary);
  padding: 12px 32px;
  border-radius: 50px;
  font-family: 'Roboto Slab', serif;
  font-size: 1.08rem;
  font-weight: 700;
  transition: background 0.16s, transform 0.13s, box-shadow 0.2s;
}
button:hover, .button:hover,
button:focus, .button:focus {
  background: var(--color-accent-light);
  color: var(--color-secondary);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 2px 10px rgba(90,137,44,.12);
}

.cta-row {
  margin-top: 22px;
  display: flex;
  gap: 13px;
}

/*--------------------------------------------------------
 RESPONSIVE FLEXBOX LAYOUTS
--------------------------------------------------------*/
@media (max-width: 1020px) {
  .feature-grid, .service-cards, .service-overview-grid, .feature-icons,
  .testimonial-slider, .testimonial-list {
    gap: 18px;
  }
  .feature-item, .service-item, .feature-bullet,
  .testimonial-card {
    min-width: 175px;
    padding-left: 14px;
    padding-right: 14px;
  }
}
@media (max-width: 920px) {
  .container {
    padding: 0 10px;
  }
}
@media (max-width: 768px) {
  html, body {
    font-size: 15px;
  }
  .container,
  header .container,
  footer .container {
    flex-direction: column;
    align-items: stretch;
    padding: 0 10px;
    min-width: 0;
  }
  header .container {
    height: auto;
    gap: 8px;
  }
  header nav {
    display: none;
  }
  .cta-button {
    margin-left: 0;
    margin-top: 11px;
    align-self: flex-start;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 18px;
    top: 15px;
  }
  .section {
    padding: 26px 7px;
    margin-bottom: 34px;
    border-radius: 14px;
  }
  .content-wrapper, .card-container, .content-grid, .service-cards, .feature-grid, .service-overview-grid, .feature-icons, .testimonial-slider, .testimonial-list {
    flex-direction: column;
    gap: 17px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 17px;
    align-items: stretch;
  }
}
@media (max-width: 540px) {
  html, body {
    font-size: 14px;
  }
  h1 {
    font-size: 1.31rem;
  }
  h2 {
    font-size: 1.13rem;
    padding-left: 9px;
    border-left-width: 5px;
    background: linear-gradient(90deg, var(--color-accent-light) 0 4px, transparent 4px 100%);
  }
  .feature-item, .service-item, .feature-bullet,
  .testimonial-card {
    padding: 16px 7px;
    min-width: 120px;
  }
}

/*--------------------------------------------------------
 COOKIE CONSENT BANNER & MODAL
--------------------------------------------------------*/
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: var(--color-light-gray);
  color: #1A2842;
  box-shadow: 0 -2px 24px rgba(41,68,98, 0.12);
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 26px;
  padding: 26px 20px 22px 28px;
  border-top-right-radius: 27px;
  border-top-left-radius: 27px;
  font-size: 1rem;
  transition: transform 0.31s cubic-bezier(.63,.01,.66,.99), opacity 0.17s;
}
.cookie-consent-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-banner .consent-buttons {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.cookie-consent-banner button {
  min-width: 118px;
  padding: 10px 20px;
  border-radius: 22px;
  font-size: 1rem;
  font-family: 'Roboto Slab', serif;
}
.cookie-consent-banner .settings {
  background: var(--color-accent-light);
  color: var(--color-secondary);
}
.cookie-consent-banner .settings:hover {
  background: var(--color-accent);
  color: var(--color-secondary);
}
.cookie-consent-banner .reject {
  background: #b82b26;
  color: #fff;
  font-weight: 700;
}
.cookie-consent-banner .reject:hover {
  background: #da1313;
}
.cookie-consent-banner .accept {
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
}
.cookie-consent-banner .accept:hover {
  background: var(--color-accent-light);
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(41,68,98,0.52);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.22s;
}
.cookie-modal {
  background: var(--color-secondary);
  border-radius: 22px;
  box-shadow: 0 8px 56px rgba(41,68,98,0.20);
  padding: 38px 32px;
  max-width: 380px;
  width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 17px;
  position: relative;
  font-size: 1rem;
  color: var(--color-dark);
  animation: popup-modal 0.44s cubic-bezier(.73,0,0,.99);
}
@keyframes popup-modal {
  0% { opacity: 0; transform: scale(0.88) translateY(12px) }
  100% {opacity: 1; transform: scale(1) translateY(0)}
}
.cookie-modal h2 {
  margin-bottom: 12px; font-size: 1.19rem; font-family: 'Roboto Slab', serif;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.cookie-category label {
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
}
.cookie-modal .essential {
  opacity: 0.7;
}
.cookie-modal .toggle-switch {
  width: 46px;
  height: 26px;
  border-radius: 14px;
  background: var(--color-light-gray);
  position: relative;
  margin-right: 6px;
  flex-shrink:0;
}
.cookie-modal .toggle-switch input[type="checkbox"] {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-modal .toggle-slider {
  position: absolute; top: 3px; left: 3px;
  width: 20px; height: 20px;
  background: var(--color-accent);
  border-radius: 50%;
  transition: left 0.19s, background 0.18s;
}
.cookie-modal .toggle-switch input:checked + .toggle-slider {
  left: 23px;
  background: var(--color-accent-light);
}
.cookie-modal .modal-buttons {
  display: flex;
  gap: 15px;
  margin-top: 17px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  color: var(--color-accent);
  font-size: 2.2rem;
  padding: 0;
  border: none;
  cursor: pointer;
}
.cookie-modal .close-modal:hover {
  color: #b82b26;
}
@media (max-width: 540px) {
  .cookie-modal {
    padding: 21px 7px 16px 13px;
    border-radius: 11px;
    max-width: 98vw;
  }
}

/*--------------------------------------------------------
 ANIMATIONS & MICRO-INTERACTIONS
--------------------------------------------------------*/
.cta-button, button, .feature-item, .service-item, .testimonial-card, .faq-list li {
  transition: box-shadow 0.26s, transform 0.18s, background 0.16s;
}
.cta-button:active, button:active {
  transform: scale(0.98);
}
.feature-item:hover, .service-item:hover,
.testimonial-card:hover, .faq-list li:hover {
  box-shadow: 0 3px 13px rgba(88,137,44,.09), 0 6px 20px rgba(41,68,98,.10);
  background: #eef5ef;
  transform: translateY(-3px) scale(1.01);
}

/*--------------------------------------------------------
 ACCESSIBILITY & FOCUS VISIBILITY
--------------------------------------------------------*/
a:focus-visible, .cta-button:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--color-accent-light);
  outline-offset: 2px;
}

/*--------------------------------------------------------
 SCROLLBAR DESIGN (WEBKIT)
--------------------------------------------------------*/
::-webkit-scrollbar {
  width: 8px;
  background: #eaeff3;
}
::-webkit-scrollbar-thumb {
  background: #bcd3c1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {background: #8fc07e;}

/*--------------------------------------------------------
 UTILITY CLASSES
--------------------------------------------------------*/
.mt-0    { margin-top: 0 !important; }
.mb-0    { margin-bottom: 0 !important; }
.mt-24   { margin-top: 24px !important; }
.mb-24   { margin-bottom: 24px !important; }
.text-center { text-align: center !important; }
.d-flex  { display: flex !important; }
.flex-col{ flex-direction: column !important; }

/*--------------------------------------------------------
 END OF CSS
--------------------------------------------------------*/
