/* RESET & STANDARDIZATION */
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,
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.55;
  background: #F5F5F5;
  color: #1B2233;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #003366;
  text-decoration: none;
  transition: color 0.22s;
}
a:hover, a:focus { color: #7CB518; outline: none; }
ul, ol {
  padding-left: 24px;
  margin-bottom: 18px;
}
li + li { margin-top: 10px; }

/* TYPOGRAPHY */
h1, .h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
  color: #003366;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.18;
  margin-bottom: 20px;
  color: #003366;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #002D5A;
}
h4, .h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: #003366;
}
p, .body, .text-section {
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-bottom: 16px;
  color: #212733;
}
strong, b { font-weight: 700; }
small { font-size: 0.93rem; color: #76829e; }

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(18, 37, 77, 0.04);
  position: relative;
  z-index: 21;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 70px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #003366;
  font-weight: 500;
  padding: 7px 10px;
  border-radius: 7px;
  transition: background 0.18s, color 0.18s;
}
header nav a:hover, header nav a.active {
  background: #E8FFD4;
  color: #7CB518;
}
.cta-btn {
  display: inline-block;
  background: linear-gradient(90deg, #7CB518 0%, #003366 100%);
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 24px;
  padding: 11px 28px;
  box-shadow: 0 2px 12px rgba(123,181,24,0.13);
  cursor: pointer;
  transition: background 0.25s, transform 0.16s, box-shadow 0.16s;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #003366 0%, #7CB518 100%);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 16px rgba(0, 51, 102, 0.17);
  color: #fff;
  outline: none;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: #E8FFD4;
  border: none;
  font-size: 2.1rem;
  color: #003366;
  border-radius: 7px;
  margin-right: 11px;
  cursor: pointer;
  height: 45px;
  width: 45px;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:hover {
  background: #7CB518;
  color: #fff;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 601;
  padding: 0;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.66,.04,.16,.94);
}
.mobile-menu.open { display: flex; transform: translateX(0); animation: slideInMobileMenu 0.38s cubic-bezier(.66,.04,.16,.94); }
@keyframes slideInMobileMenu {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 24px 0 0;
  font-size: 2rem;
  background: #E8FFD4;
  color: #003366;
  border: none;
  border-radius: 10px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0,51,102,0.06);
  transition: background 0.16s;
}
.mobile-menu-close:hover { background: #7CB518; color: #fff; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 21px;
  padding: 40px 34px 24px 34px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.18rem;
  color: #003366;
  font-weight: 600;
  border-radius: 7px;
  padding: 11px 6px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:active, .mobile-nav a:focus,
.mobile-nav a:hover {
  background: #E8FFD4;
  color: #7CB518;
}

/* HERO SECTION */
.hero {
  min-height: 340px;
  padding: 64px 0 38px 0;
  background: linear-gradient(98deg, #F5F5F5 42%, #E8FFD4 102%);
  display: flex;
}
.hero .container { display: flex; flex-direction: column; align-items: flex-start; }
.hero .content-wrapper {
  align-items: flex-start;
  gap: 19px;
  max-width: 670px;
}
.hero h1, .hero h2 { color: #003366; }

/* FEATURES, CARDS & GRID COMPONENTS */
.feature-grid, .feature-items, .card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 10px;
}
.feature-grid > div, .feature-item, .card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 18px rgba(0,51,102,0.05);
  padding: 22px 20px 20px 20px;
  flex: 1 1 260px;
  min-width: 220px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.18s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.feature-grid > div:hover, .feature-item:hover, .card:hover {
  box-shadow: 0 8px 32px rgba(0,51,102,0.08);
  transform: translateY(-3px) scale(1.02);
}
.card-container { margin-bottom: 24px; }
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.card { position: relative; }
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 24px;
}
.text-image-section {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 20px;
}
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* TESTIMONIALS */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 22px;
  background: #fff;
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 4px 22px rgba(0, 51, 102, 0.06);
  color: #18253B;    /* dark text for contrast */
  max-width: 560px;
  transition: box-shadow 0.19s, transform 0.18s;
}
.testimonial-card p {
  color: #18253B;
  font-style: italic;
  font-size: 1.1rem;
}
.testimonial-card span {
  color: #003366;
  font-size: 1rem;
  font-weight: 600;
}
.testimonial-card:hover {
  box-shadow: 0 9px 36px rgba(0, 51, 102, 0.09);
  transform: translateY(-2px) scale(1.01);
}

/* VALUE ICONS & TAGS */
.value-icons {
  display: flex;
  flex-direction: row;
  gap: 34px;
  margin: 14px 0 22px 0;
  align-items: center;
}
.tag {
  display: inline-block;
  background: #E8FFD4;
  color: #7CB518;
  font-size: 0.96rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border-radius: 10px;
  padding: 4px 12px;
  margin-bottom: 8px;
  margin-right: 8px;
}

/* BUTTONS & FORMS */
button, .cta-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.21s, box-shadow 0.16s, color 0.15s;
}
button:focus-visible, .cta-btn:focus-visible {
  box-shadow: 0 0 0 2px #7CB518aa;
}

/* CTA SECTIONS */
.cta {
  background: linear-gradient(90deg, #7CB518 0%, #003366 100%);
  border-radius: 32px;
  padding: 56px 0;
  margin-bottom: 64px;
}
.cta .container { display: flex; flex-direction: column; align-items: center; }
.cta .content-wrapper { align-items: center; }
.cta h2, .cta p {
  color: #fff;
  text-align: center;
}
.cta .cta-btn { margin-top: 14px; }

/* FOOTER */
footer {
  background: #003366;
  color: #fff;
  padding: 24px 0 14px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  text-align: center;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
footer nav a {
  color: #E8FFD4;
  font-weight: 500;
  transition: color 0.16s;
}
footer nav a:hover, footer nav a:focus { color: #7CB518; }
footer address {
  color: #d9ecdc;
  font-style: normal;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: 7px;
}
footer small {
  color: #b4c8bb;
  font-size: 0.93rem;
}

/* FORMS (general, if present in future) */
input[type='text'], input[type='email'], textarea {
  width: 100%;
  padding: 10px 13px;
  border: 1px solid #d3e7d6;
  border-radius: 7px;
  font-size: 1rem;
  background: #F5F5F5;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  margin-bottom: 13px;
  transition: border 0.17s;
}
input[type='text']:focus, input[type='email']:focus, textarea:focus {
  border: 1.5px solid #7CB518;
  outline: none;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  box-shadow: 0 -1px 14px rgba(0,51,102,0.13);
  padding: 23px 24px 19px 24px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  animation: slideInCookieBanner 0.34s;
}
@keyframes slideInCookieBanner {
  from { transform: translateY(100%);} to { transform: translateY(0); }
}
.cookie-banner p {
  color: #212733;
  font-size: 1rem;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 7px;
}
.cookie-banner button, .cookie-banner .btn {
  min-width: 128px;
  padding: 9px 24px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: 600;
}
.cookie-banner .accept { background: #7CB518; color: #fff; }
.cookie-banner .accept:hover { background: #558b13; }
.cookie-banner .reject { background: #e4eff7; color: #003366; }
.cookie-banner .reject:hover { background: #003366; color: #fff; }
.cookie-banner .settings {
  background: #F5F5F5;
  color: #003366;
  border: 1px solid #7CB518;
}
.cookie-banner .settings:hover {
  background: #E8FFD4;
}


/* COOKIE CONSENT MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,51,102,0.23);
  z-index: 9050;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInCookieModal 0.22s;
}
@keyframes fadeInCookieModal {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 48px rgba(0,51,102,0.10);
  padding: 38px 26px 26px 26px;
  width: 95vw;
  max-width: 420px;
  z-index: 9051;
  display: flex;
  flex-direction: column;
  gap: 19px;
  animation: modalBounce 0.35s;
}
@keyframes modalBounce {
  0% { transform: scale(0.9); }
  65% { transform: scale(1.03); }
  100% { transform: scale(1); }
}
.cookie-modal h2 {
  font-size: 1.3rem;
  color: #003366;
  font-weight: 700;
  margin-bottom: 6px;
}
.cookie-modal .cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.cookie-modal .cookie-toggle {
  width: 50px;
  height: 28px;
  background: #E8FFD4;
  border-radius: 18px;
  position: relative;
  cursor: pointer;
  transition: background 0.18s;
  border: 1px solid #7CB518;
}
.cookie-modal .cookie-toggle.enabled {
  background: #7CB518;
  border-color: #7CB518;
}
.cookie-modal .cookie-toggle::before {
  content: "";
  display: block;
  position: absolute;
  top: 3px; left: 4px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 6px rgba(0,0,0,0.11);
  transition: left 0.21s, background 0.18s;
}
.cookie-modal .cookie-toggle.enabled::before {
  left: 25px;
  background: #fff;
}
.cookie-modal .close-modal {
  align-self: flex-end;
  font-size: 1.25rem;
  background: none;
  color: #003366;
  border: none;
  cursor: pointer;
  margin-top: -20px;
}
.cookie-modal .close-modal:hover {
  color: #7CB518;
}
.cookie-modal .cookie-btns {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 11px;
}
.cookie-modal .accept, .cookie-modal .reject {
  padding: 9px 19px;
  border-radius: 17px;
}
.cookie-modal .accept { background: #7CB518; color: #fff; }
.cookie-modal .accept:hover { background: #558b13; }
.cookie-modal .reject { background: #E8FFD4; color: #003366; }
.cookie-modal .reject:hover { background: #003366; color: #fff; }

/* RESPONSIVE DESIGN (MOBILE FIRST) */
@media (max-width: 1200px) {
  .container {
    max-width: 94vw;
  }
}
@media (max-width: 992px) {
  .feature-grid, .content-grid, .card-container {
    gap: 20px;
  }
  .feature-grid > div, .feature-item, .card {
    min-width: 170px;
    padding: 17px 12px;
  }
}
@media (max-width: 768px) {
  h1, .h1 { font-size: 1.75rem; }
  h2, .h2 { font-size: 1.23rem; }
  h3, .h3 { font-size: 1.06rem; }
  .section {
    margin-bottom: 36px;
    padding: 28px 7px;
  }
  .container {
    max-width: 99vw;
    padding-left: 10px; padding-right: 10px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .hero {
    padding: 32px 0 14px 0;
    min-height: 180px;
  }
  .cta {
    padding: 34px 0;
    border-radius: 14px;
    margin-bottom: 34px;
  }
  .feature-grid, .content-grid, .card-container {
    gap: 16px;
  }
  .feature-grid {
    flex-direction: column;
  }
  .feature-grid > div, .feature-item, .card {
    min-width: 98%;
    width: 100%;
    margin-bottom: 20px;
    padding: 13px 12px;
  }
  .testimonial-card {
    max-width: 100%;
    padding: 15px 11px;
    font-size: 0.96rem;
  }
  .value-icons {
    gap: 18px;
  }
}
@media (max-width: 600px) {
  .content-grid, .value-icons {
    flex-direction: column;
    gap: 13px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 9px;
    padding: 0 10px;
    min-height: 60px;
  }
  .cta-btn {
    padding: 10px 16px;
    font-size: 0.95rem;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    margin-left: auto;
    margin-top: 5px;
  }
}
@media (min-width: 769px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
  header nav { display: flex; }
}
@media (max-width: 480px) {
  .hero {
    padding: 14px 0;
    min-height: 100px;
  }
}
@media (max-width: 400px) {
  .cookie-banner {
    padding: 12px 4px 11px 4px;
  }
  .cookie-modal {
    padding: 18px 4px 12px 4px;
  }
}

/* MICRO INTERACTIONS & ACCESSIBILITY ENHANCEMENTS */
*:focus { outline: none; box-shadow: 0 0 0 2px #7CB51844; }
svg, img.icon { vertical-align: middle; }
input, button, select, textarea { font-family: inherit; }
::-webkit-input-placeholder { color: #7c8ca2; opacity: 1; }
::-moz-placeholder { color: #7c8ca2; opacity: 1; }
:-ms-input-placeholder { color: #7c8ca2; opacity: 1; }
::placeholder { color: #7c8ca2; opacity: 1; }

/* Z-INDEX STACKING FOR NAV/MODALS/COOKIE */
header { z-index: 20; }
.mobile-menu { z-index: 601; }
.cookie-banner { z-index: 9000; }
.cookie-modal-overlay { z-index: 9050; }

/* UTILITY CLASSES */
.hide { display: none !important; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.align-center { align-items: center; }

