/* CSS RESET & NORMALIZE FOR COMPATIBILITY */
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 {
  font-family: 'Open Sans', Arial, Verdana, sans-serif;
  background: #F9F8F3;
  color: #0C3C55;
  font-size: 16px;
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #0C3C55; text-decoration: none; transition: color 0.20s; }
a:hover, a:focus { color: #91C73E; outline: none; }
ul, ol { padding-left: 24px; margin-bottom: 16px; }
li { margin-bottom: 8px; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #0C3C55;
}
h1 { font-size: 2.25rem; margin-bottom: 16px; }
h2 { font-size: 1.5rem; margin-bottom: 16px; }
h3 { font-size: 1.125rem; margin-bottom: 10px; }
h4, h5, h6 { font-size: 1rem; }
p, .tagline { margin-bottom: 14px; }
strong, b { font-weight: 700; }
em { font-style: italic; }

/* GEOMETRIC STRUCTURED STYLE COLORS & FONTS */
:root {
  --color-primary: #0C3C55;
  --color-secondary: #91C73E;
  --color-accent: #F9F8F3;
  --color-neutral: #f3f6f9;
  --color-grey: #E4E8EE;
  --color-dark: #071723;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper { margin: 0 auto; }
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(12,60,85,0.06);
}
@media (max-width: 768px) {
 .section {
    padding: 28px 8px;
    margin-bottom: 40px;
  }
}

/* MAIN NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 2px 14px rgba(12,60,85,0.05);
  border-bottom: 4px solid var(--color-secondary);
  z-index: 60;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 32px;
}
.main-nav > a img {
  height: 44px;
  width: auto;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
}
.nav-list li { margin: 0; }
.nav-list a {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.03em;
  padding: 8px 18px 8px 18px;
  border-radius: 32px;
  transition: background 0.18s, color 0.18s;
  position: relative;
}
.nav-list a:not(.btn-primary):hover {
  background: var(--color-secondary);
  color: #fff;
}
.nav-list .btn-primary {
  background: var(--color-secondary);
  color: #0C3C55;
  font-weight: 700;
  border: 2px solid var(--color-secondary);
  box-shadow: 0 1px 8px rgba(12,60,85,0.09);
  transition: background 0.18s, color 0.18s, border 0.18s, transform 0.18s;
}
.nav-list .btn-primary:hover, .nav-list .btn-primary:focus {
  background: #fff;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
  transform: translateY(-2px) scale(1.05);
}

@media (max-width: 1020px) {
  .main-nav {
    gap: 12px;
  }
  .nav-list {
    gap: 3px;
  }
  .nav-list a {
    padding: 8px 8px;
    font-size: 0.99rem;
  }
}

/* MOBILE MENU - HAMBURGER */
.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: #fff;
  border: none;
  font-size: 2.1rem;
  border-radius: 8px;
  padding: 6px 16px;
  cursor: pointer;
  margin-left: 12px;
  transition: background 0.18s;
  z-index: 1030;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #6a9c21;
}

@media (max-width: 950px) {
  .nav-list { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (min-width: 951px) {
  .mobile-menu { display: none !important; }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(12,60,85,0.96);
  z-index: 1200;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(0.44,0.12,0.22,1);
  box-shadow: 2px 0 24px rgba(12,60,85,0.43);
  padding: 32px 24px 24px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.3rem;
  position: absolute;
  right: 22px; top: 16px;
  cursor: pointer;
  line-height: 1;
  z-index: 1205;
  padding: 4px 10px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #425b68;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 64px;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.30rem;
  font-weight: bold;
  color: #fff;
  padding: 12px 0;
  border-bottom: 1px solid rgba(145,199,62,0.12);
  transition: color 0.21s, background 0.21s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-secondary);
  background: rgba(255,255,255,0.05);
}

/* HEADER LOGO ADJUST FOR MOBILE */
@media (max-width: 950px) {
  .main-nav > a img {
    height: 38px;
  }
}

/* HERO & SECTION LAYOUTS */
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
@media (max-width: 768px) {
  .content-wrapper { gap: 14px; }
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: stretch; gap: 20px; }
}

/* GEOMETRIC STRUCTURED CARDS/FEATURES */
.feature-grid, .card-container, .features, .team-bios {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 -6px;
}
.feature-item, .card, .team-bios > div {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.08);
  padding: 32px 24px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 240px;
  max-width: 340px;
  flex: 1 1 220px;
  gap: 15px;
  border: 2.5px solid var(--color-grey);
  transition: border 0.22s, box-shadow 0.22s, transform 0.17s;
}
.card:hover, .feature-item:hover, .team-bios > div:hover {
  border-color: var(--color-secondary);
  box-shadow: 0 5px 26px rgba(12,60,85,0.11);
  transform: translateY(-3px) scale(1.02);
}

/* Ensuring geometric/structured shape */
.feature-item img {
  width: 56px; height: 56px;
  align-self: center;
  margin-bottom: 8px;
  background: var(--color-neutral);
  border-radius: 12px 12px 28px 12px;
  box-shadow: 0 2px 8px rgba(145,199,62,0.09);
  padding: 10px;
}

.team-bios > div {
  min-width: 240px;
  flex: 1 1 240px;
  max-width: 350px;
}

.card-container { gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.content-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }

/* TESTIMONIALS */
.testimonial-card {
  background: #fff;
  color: #0C3C55;
  border-radius: 16px;
  border: 2px solid var(--color-secondary);
  box-shadow: 0 2px 18px rgba(145,199,62,0.07);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  flex: 1 1 320px;
  transition: border 0.17s, box-shadow 0.19s;
}
.testimonial-card p {
  font-size: 1.09rem;
  font-style: italic;
  margin-bottom: 8px;
}
.testimonial-card strong {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-primary);
  font-weight: 800;
  margin-bottom: 0;
}
.testimonial-card:hover {
  border-color: #0C3C55;
  box-shadow: 0 6px 36px rgba(12,60,85,0.15);
  background: #f9fefa;
}

/* PRICING BADGES */
.price {
  display: inline-block;
  background: var(--color-secondary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: bold;
  border-radius: 8px;
  padding: 4px 14px;
  margin-top: 10px;
  margin-bottom: 6px;
  box-shadow: 0 2px 8px rgba(12,60,85,0.08);
}

/* BUTTONS */
.btn-primary, .mobile-nav a.btn-primary {
  background: var(--color-secondary);
  color: #0C3C55 !important;
  font-family: var(--font-display);
  font-weight: 800;
  border: 2.5px solid var(--color-secondary);
  border-radius: 30px;
  display: inline-block;
  padding: 12px 32px;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(145,199,62,0.09);
  transition: background 0.15s, color 0.15s, border 0.16s, transform 0.14s;
  margin-top: 6px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #fff;
  color: var(--color-secondary) !important;
  border: 2.5px solid var(--color-secondary);
  transform: translateY(-2px) scale(1.05);
}

/* FOOTER STRUCTURE */
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 54px 0 0 0;
  font-size: 1rem;
  margin-top: 60px;
  border-top: 6px solid var(--color-secondary);
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 20px;
  flex-direction: row;
}
.footer-logo img {
  height: 54px;
  margin-bottom: 18px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
footer nav a {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.01rem;
  letter-spacing: 0.03em;
  margin-bottom: 4px;
  transition: color 0.18s;
}
footer nav a:hover { color: var(--color-secondary); }
legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
}
.legal-links li { margin-bottom: 0; }
.legal-links a {
  color: #b3e3cb;
  font-size: 0.95rem;
  text-decoration: underline dotted;
  transition: color 0.15s;
}
.legal-links a:hover { color: var(--color-secondary); }
.footer-social {
  display: flex;
  gap: 14px;
  align-items: center;
}
.footer-social img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #fff;
  padding: 3px;
  box-shadow: 0 1px 6px rgba(145,199,62,0.07);
  transition: box-shadow 0.15s;
}
.footer-social img:hover {
  box-shadow: 0 2px 12px rgba(145,199,62,0.18);
  background: var(--color-secondary);
}
footer small {
  width: 100%;
  display: block;
  text-align: center;
  color: #c9e3f8;
  margin-top: 18px;
  font-size: 0.97rem;
}

@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
}

/* FORMS AND CONTACT DETAILS */
.text-section {
  margin-bottom: 16px;
  font-size: 1rem;
  color: #0C3C55;
  background: #f6faf3;
  border-radius: 10px;
  padding: 18px 22px;
  box-shadow: 0 1px 4px rgba(12,60,85,0.04);
}
.text-section strong {
  color: var(--color-primary);
}
.text-section a {
  color: var(--color-secondary);
  font-weight: bold;
  word-break: break-all;
}

.benefit-list {
  margin-top: 14px;
  background: #eafbe0;
  border-radius: 8px;
  padding: 14px 18px 8px;
  color: #186d31;
  font-size: 1rem;
}

/* POLICY/TEXTUAL PAGES */
.text-section ul li {
  margin-bottom: 7px;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: #0C3C55;
  border-top: 3.5px solid var(--color-secondary);
  box-shadow: 0 -2px 16px rgba(12,60,85,0.12);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 10px 15px 10px;
  gap: 14px;
  animation: bannerSlideIn 0.47s cubic-bezier(.53,.02,.15,.99);
}
@keyframes bannerSlideIn {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin: 0 0 6px 0;
  font-size: 1rem;
  text-align: center;
}
.cookie-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-btn {
  border: none;
  outline: none;
  padding: 10px 20px;
  border-radius: 24px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: #0C3C55;
  background: var(--color-secondary);
  transition: background 0.15s, color 0.14s, transform 0.15s;
  cursor: pointer;
  margin-bottom: 0;
  box-shadow: 0 1px 6px rgba(145,199,62,0.08);
  letter-spacing: 0.03em;
}
.cookie-btn:hover, .cookie-btn:focus { background: #7ead1d; color: #fff; }
.cookie-btn.settings { background: #E4E8EE; color: #0C3C55; }
.cookie-btn.settings:hover, .cookie-btn.settings:focus { background: #cfeaab; }

/* COOKIE MODAL FOR SETTINGS */
.cookie-modal-overlay {
  position: fixed;
  z-index: 3900;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(12,60,85,0.62);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: overlayFadeIn 0.32s;
}
@keyframes overlayFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 19px;
  box-shadow: 0 2px 32px rgba(12,60,85,0.23);
  max-width: 410px;
  width: 95vw;
  padding: 32px 18px 24px 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: modalPopIn 0.28s cubic-bezier(.7,-0.1,.44,1.12);
}
@keyframes modalPopIn {
  from { transform: scale(0.96) translateY(30px); opacity:0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.35rem;
  color: var(--color-primary);
  margin-bottom: 4px;
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f3f6f9;
  border-radius: 13px;
  padding: 10px 14px 10px 14px;
  margin-bottom: 10px;
  font-size: 1rem;
}
.cookie-category.essential { background: #eafbe0; color: #678a57; }
.cookie-toggle {
  width: 38px;
  height: 20px;
  background: #E4E8EE;
  border-radius: 12px;
  position: relative;
  display: inline-block;
}
.cookie-toggle input {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  background: #fff;
  left: 2px; top: 2.5px;
  width: 15px; height: 15px;
  border-radius: 50%;
  transition: 0.18s;
  border: 1.4px solid #c9e3f8;
}
.cookie-toggle input:checked + .cookie-slider {
  transform: translateX(16px);
  background: var(--color-secondary);
  border-color: var(--color-secondary);
}
.cookie-modal .cookie-close {
  position: absolute;
  right: 15px; top: 10px;
  font-size: 1.7rem;
  color: #0C3C55;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 7px;
  padding: 3px 10px;
  transition: background 0.15s;
}
.cookie-modal .cookie-close:hover, .cookie-modal .cookie-close:focus {
  background: #E4E8EE;
}

/* RESPONSIVE RULES */
@media (max-width: 768px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.23rem; }
  h3 { font-size: 1.05rem; }
  .footer-logo img { height: 36px; }
  .feature-item, .card, .team-bios > div, .testimonial-card {
    min-width: 95vw;
    max-width: 100vw;
    border-radius: 12px;
    padding-left: 10px; padding-right: 10px;
  }
  .container {
    padding-left: 5px; padding-right: 5px;
  }
  .content-wrapper {
    gap: 10px;
  }
}

/* GENERAL UTILITY SPACING */
.mt-16 { margin-top: 16px; }
.mb-24 { margin-bottom: 24px; }
.pt-32 { padding-top: 32px; }
.pb-16 { padding-bottom: 16px; }

/* ACCESSIBILITY FOCUS STATES */
a:focus, button:focus { outline: 2px solid #91C73E; outline-offset: 2px; }

/* GEOMETRIC DECORATIVE SHAPES (EXAMPLE) */
.decorative-shape {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  width: 68px; height: 68px;
  background: var(--color-secondary);
  clip-path: polygon(50% 0, 100% 38%, 82% 100%, 18% 100%, 0 38%);
  opacity: 0.11;
}

/* MICRO-INTERACTIONS & ANIMATIONS */
.btn-primary, .feature-item, .card, .testimonial-card, .mobile-menu,
.mobile-nav a, .cookie-btn, .footer-social img {
  transition: background 0.18s, color 0.18s, border 0.18s, box-shadow 0.18s, transform 0.18s;
}

/* VISUAL HIERARCHY & SPACING SYSTEM (8-16-24-32-60) */
.section, .content-wrapper, .feature-grid, .card-container, .features,
.team-bios, .text-image-section, .testimonial-card {
  margin-bottom: 24px;
}
section { margin-bottom: 32px; }

/* CLAUSE - Never use display:grid/grid-column/columns */
/* This stylesheet strictly uses flex layouts and gap/margin for spacing */

