/* RESET & NORMALIZE */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  background: #F3F3F6;
  color: #142A3B;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  line-height: 1.6;
  font-size: 1rem;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg {
  max-width: 100%;
  vertical-align: middle;
}
a {
  color: #5EC57E;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #142A3B;
  text-decoration: underline;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 20px;
}
li {
  margin-bottom: 8px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
  color: #142A3B;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 16px;
}
h4, h5, h6 {
  font-size: 1rem;
}
p {
  margin-bottom: 16px;
  font-size: 1.06rem;
  color: #142A3B;
}
strong, b {
  font-weight: 700;
  color: #142A3B;
}
em, i {
  color: #5EC57E;
}

/* ----- LAYOUT & CONTAINERS ----- */
.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(20,42,59,0.07);
}
@media (max-width: 768px) {
  .section {
    padding: 32px 10px;
    margin-bottom: 40px;
    border-radius: 14px;
  }
}

/* HEADER */
header {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(20,42,59,0.05);
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo {
  display: flex;
  align-items: center;
  height: 48px;
  margin-right: 24px;
}
nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.07rem;
  font-weight: 700;
  color: #142A3B;
  position: relative;
  padding: 4px 8px;
}
nav a:hover, nav a:focus {
  color: #5EC57E;
  text-decoration: none;
}
.cta-primary {
  padding: 12px 28px;
  background: #5EC57E;
  color: #142A3B;
  border-radius: 30px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 20px 0 rgba(94,197,126,0.14);
  transition: background 0.2s, color 0.2s, transform 0.12s;
  border: 2px solid #5EC57E;
  margin-left: 24px;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: #142A3B;
  color: #fff;
  border-color: #142A3B;
  transform: translateY(-2px) scale(1.04);
}
@media (max-width: 1024px) {
  nav {
    gap: 14px;
  }
  .cta-primary {
    margin-left: 10px;
  }
  .logo {
    height: 38px;
  }
}

/* ----- MOBILE MENU ----- */
.mobile-menu-toggle {
  display: none;
  background: none;
  font-size: 2.25rem;
  color: #142A3B;
  margin-left: 14px;
  cursor: pointer;
  z-index: 2101;
  padding: 10px;
  border-radius: 8px;
  transition: background .2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #e5f6ec;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 85vw;
  max-width: 350px;
  height: 100vh;
  background: #fff;
  box-shadow: -8px 0 32px 0 rgba(20,42,59,0.15);
  transform: translateX(100%);
  transition: transform 0.37s cubic-bezier(.61,.09,.22,.91);
  z-index: 2100;
  display: flex;
  flex-direction: column;
  padding: 36px 22px 24px 22px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 1.7rem;
  background: #5EC57E;
  color: #142A3B;
  border-radius: 20px;
  border: none;
  padding: 6px 12px;
  cursor: pointer;
  z-index: 2102;
  transition: background .2s, color .2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #142A3B;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #142A3B;
  padding: 10px 0;
  width: 100%;
  border-radius: 8px;
  transition: background .18s, color .16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #e5f6ec;
  color: #5EC57E;
}
@media (max-width: 1024px) {
  nav, .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ----- HERO & FEATURE GRIDS ----- */
.feature-grid,
.sector-grid,
.service-grid,
.support-levels-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  margin-bottom: 16px;
  justify-content: flex-start;
}
.feature-grid > div,
.sector-grid > div,
.service-grid > div,
.support-levels-grid > div {
  background: #F3F3F6;
  border-radius: 16px;
  box-shadow: 0 2px 8px 0 rgba(20,42,59,0.06);
  flex: 1 1 260px;
  min-width: 245px;
  max-width: 100%;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 0;
  position: relative;
  transition: box-shadow 0.2s, transform 0.15s;
  border: 2px solid #E1EDDF;
}
.feature-grid > div:hover, .sector-grid > div:hover, .service-grid > div:hover, .support-levels-grid > div:hover {
  box-shadow: 0 10px 32px 0 rgba(94,197,126,0.19);
  transform: translateY(-3px) scale(1.03);
  border-color: #5EC57E;
}
.feature-grid img, .sector-grid img {
  width: 42px;
  height: 42px;
  margin-bottom: 8px;
}
@media (max-width: 900px) {
  .feature-grid > div, .sector-grid > div, .service-grid > div, .support-levels-grid > div {
    min-width: 180px;
    padding: 18px 10px;
  }
  .feature-grid, .sector-grid, .service-grid, .support-levels-grid {
    gap: 14px;
  }
}
@media (max-width: 600px) {
  .feature-grid, .sector-grid, .service-grid, .support-levels-grid {
    flex-direction: column;
    gap: 16px;
  }
}

/* ----- TESTIMONIALS ----- */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0 18px 0;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 26px 26px 22px 32px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 38px 0 rgba(20,42,59,0.13);
  margin-bottom: 24px;
  min-width: 260px;
  max-width: 410px;
  position: relative;
  border-left: 8px solid #5EC57E;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  box-shadow: 0 14px 48px 0 rgba(94,197,126,0.24);
  border-left: 8px solid #142A3B;
}
.testimonial-card p {
  color: #142A3B;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0;
}
.testimonial-card span {
  color: #5EC57E;
  font-size: 1rem;
  font-weight: 700;
}
@media (max-width: 700px) {
  .testimonial-slider {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card {
    padding: 18px 12px 14px 16px;
    min-width: 0;
    width: 100%;
  }
}

.company-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin-top: 16px;
}
.company-logos img {
  height: 38px;
  width: auto;
  opacity: 0.78;
}

/* ----- CARDS & FLEX WRAPPERS ----- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  margin-bottom: 20px;
  position: relative;
  border-radius: 16px;
  box-shadow: 0 6px 28px 0 rgba(20,42,59,0.07);
  padding: 26px;
  transition: box-shadow .2s, transform .18s;
  border: 2px solid #E1EDDF;
}
.card:hover { 
  box-shadow: 0 12px 36px 0 rgba(94,197,126,0.19);
  border-color: #5EC57E;
}
/* for content grouping */
.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: 18px;
  }
}

/* ----- FEATURE ITEM ----- */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ------ BUTTONS ------ */
button, .btn, input[type="submit"] {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 30px;
  background: #5EC57E;
  color: #142A3B;
  padding: 12px 30px;
  font-size: 1.08rem;
  cursor: pointer;
  transition: background .17s, color .13s, transform .15s;
  outline: none;
  margin-right: 10px;
  margin-top: 8px;
}
button:hover, button:focus, .btn:hover, .btn:focus, input[type="submit"]:hover, input[type="submit"]:focus {
  background: #142A3B;
  color: #fff;
  transform: translateY(-1.5px) scale(1.04);
}


/* ------ FORMS ------ */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  background: #F3F3F6;
  border: 2px solid #E1EDDF;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  margin-bottom: 14px;
  width: 100%;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.15s;
  color: #142A3B;
}
input:focus, textarea:focus {
  border-color: #5EC57E;
  box-shadow: 0 2px 14px 0 rgba(94,197,126,0.13);
}

/* ------ FOOTER ------ */
footer {
  background: #142A3B;
  color: #fff;
  margin-top: 36px;
  padding-top: 20px;
  padding-bottom: 20px;
}
footer p {
  color: white;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 12px;
  justify-content: center;
}
.footer-nav a {
  color: #5EC57E;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin: 0 2px;
  padding: 2px 6px;
  border-radius: 6px;
  transition: background .17s, color .14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #e5f6ec;
  color: #142A3B;
}
.footer-contact {
  text-align: center;
  font-size: 1rem;
  color: #fff;
  opacity: 0.93;
}
.footer-legal {
  text-align: center;
  font-size: 0.97rem;
  color: #F3F3F6;
  opacity: 0.8;
}
footer img {
  height: 1.2em;
  width: auto;
  display: inline-block;
  margin: 0 .2em -.3em .2em;
  opacity: 0.75;
}
@media (max-width: 700px) {
  .footer-nav {
    flex-direction: column;
    gap: 10px;
  }
  footer .container {
    gap: 14px;
  }
}

/* ----- COOKIE CONSENT BANNER ----- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #142A3B;
  color: #fff;
  width: 100vw;
  z-index: 2200;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 0;
  padding: 24px 8px 24px 16px;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -2px 16px 0 rgba(20,42,59,0.16);
  font-size: 1.1rem;
  transition: transform .3s, opacity .19s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(130%);
}
.cookie-banner-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  max-width: 1120px;
  width: 100%;
}
.cookie-banner-text {
  flex: 1 1 auto;
}
.cookie-buttons {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-banner button, .cookie-banner .btn {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 12px 22px;
  border-radius: 24px;
  font-weight: 700;
  cursor: pointer;
  outline: none;
  border: none;
  margin-top: 0;
  box-shadow: 0 2px 9px 0 rgba(94,197,126,0.13);
  transition: background .16s, color .14s, box-shadow .13s;
}
.cookie-btn-accept {
  background: #5EC57E;
  color: #142A3B;
}
.cookie-btn-accept:hover, .cookie-btn-accept:focus {
  background: #fff;
  color: #142A3B;
}
.cookie-btn-reject {
  background: #fff;
  color: #142A3B;
  border: 2px solid #5EC57E;
}
.cookie-btn-reject:hover, .cookie-btn-reject:focus {
  background: #5EC57E;
  color: #fff;
}
.cookie-btn-settings {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.cookie-btn-settings:hover, .cookie-btn-settings:focus {
  background: #5EC57E;
  color: #142A3B;
  border-color: #5EC57E;
}
@media (max-width: 700px) {
  .cookie-banner {
    padding: 18px 2px 18px 2px;
    border-radius: 10px 10px 0 0;
  }
  .cookie-banner-content {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .cookie-buttons {
    gap: 9px;
  }
}

/* ------ COOKIE SETTINGS MODAL ------ */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2300;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(20,42,59,0.54);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity .2s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #142A3B;
  border-radius: 22px;
  box-shadow: 0 10px 50px 0 rgba(20,42,59,0.18);
  max-width: 420px;
  width: 95vw;
  padding: 34px 30px 24px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: cookie-modal-slide 0.34s cubic-bezier(.61,.09,.22,.91);
}
@keyframes cookie-modal-slide {
  0% { transform: translateY(60px) scale(.88); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 20px; right: 28px;
  font-size: 1.5rem;
  background: none;
  color: #142A3B;
  border: none;
  cursor: pointer;
  opacity: 0.75;
  transition: color .18s, opacity .17s;
  z-index: 2310;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #5EC57E;
  opacity: 1;
}
.cookie-modal h2 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}
.cookie-cat {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
  padding: 10px 0;
}
.cookie-cat-label {
  font-weight: 700;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  color: #142A3B;
}
.cookie-cat-desc {
  font-size: .95rem;
  color: #555D6D;
}
.cookie-cat input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #5EC57E;
}
.cookie-cat input:disabled {
  cursor: not-allowed;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.cookie-modal-actions button {
  min-width: 120px;
}
@media (max-width: 500px) {
  .cookie-modal {
    padding: 16px 6px 12px 8px;
    max-width: 95vw;
    border-radius: 14px;
  }
  .cookie-modal h2 {
    font-size: 1.09rem;
  }
}

/* ------ Z-INDEX FOR OVERLAYS ------ */
.mobile-menu,
.mobile-menu-toggle,
.mobile-menu-close {
  z-index: 2100;
}
.cookie-banner, .cookie-modal-overlay, .cookie-modal {
  z-index: 2200;
}

/* ----- MISC UTILS FOR SPACING/ALIGNMENT ----- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0!important; }
.mt-24 { margin-top: 24px !important; }
.mb-24 { margin-bottom: 24px !important; }

/* ----- ACCESSIBILITY / FOCUS OUTLINE ENHANCEMENTS ----- */
a:focus, button:focus, input:focus, .cta-primary:focus {
  outline: 2px solid #5EC57E;
  outline-offset: 1.5px;
}

/* ------ SCROLLBAR --------- */
::-webkit-scrollbar {
  width: 9px;
  background: #F3F3F6;
}
::-webkit-scrollbar-thumb {
  background: #E1EDDF;
  border-radius: 10px;
}

/* ------ ANIMATIONS/MICRO-INTERACTIONS ------- */
.cta-primary, .btn, button, input[type="submit"], .card, .testimonial-card, nav a, .footer-nav a {
  transition: background .17s, color .13s, box-shadow .15s, transform .18s;
}

/* ------ RESPONSIVE TYPOGRAPHY AND LAYOUT ------ */
@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.46rem;
  }
  h3 {
    font-size: 1.13rem;
  }
  body {
    font-size: .95rem;
  }
  .cta-primary {
    font-size: .99rem;
    padding: 12px 16px;
  }
}

/* ------ GEOMETRIC SHAPES/ACCENTS (OPTIONAL) - example only ------ */
.accent-bar {
  width: 54px;
  height: 7px;
  background: #5EC57E;
  border-radius: 6px;
  margin-bottom: 16px;
}

/* ------ GENERIC CARD STYLING (EXTRA) ------ */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* PROXIMITY: minimum 20px between cards/sections already ensured above */

/* --- END --- */
