/* === 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, main, 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 {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  background: #F2F4F8;
  color: #254D70;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #254D70;
  text-decoration: none;
  transition: color 0.18s;
}
@media (hover: hover) {
  a:hover {
    color: #5A8646;
  }
}
ul, ol {
  list-style: none;
}
button,input,select,textarea {
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  border: none;
  background: none;
}

/* === BRAND COLORS & TYPOGRAPHY === */
:root {
  --primary: #254D70;
  --primary-dark: #1f4060;
  --secondary: #F2F4F8;
  --white: #fff;
  --gray: #606B7A;
  --header-bg: #fff;
  --accent: #5A8646;
  --accent-light: #8AB67D;
  --shadow: 0 4px 24px rgba(37, 77, 112, 0.08);
  --radius: 12px;
  --radius-small: 8px;
  --border: 1px solid #e2e6ea;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #254D70;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.1rem;
  font-weight: 600;
}
p, ul, ol, li {
  color: #606B7A;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 1.125rem;
}
p {
  margin-bottom: 16px;
}
strong, b {
  font-weight: 700;
  color: #254D70;
}

/* === CONTAINER & SECTIONS === */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--secondary);
  border-radius: var(--radius);
}

@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 38px;
  }
}

/* === HEADER NAVIGATION === */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  box-shadow: 0 2px 12px rgba(37,77,112,0.05);
  min-height: 72px;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 20px;
}
header a img {
  height: 38px;
  vertical-align: middle;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
}
header nav .cta {
  margin-left: 16px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  font-weight: 500;
  padding: 8px 4px;
  border-radius: var(--radius-small);
  transition: background 0.17s, color 0.17s;
}
@media (hover: hover) {
  header nav a:hover:not(.cta) {
    background: var(--secondary);
    color: var(--accent);
  }
}

/* === CTA BUTTON === */
.cta {
  background: var(--primary);
  color: var(--white) !important;
  border-radius: var(--radius);
  padding: 12px 28px;
  font-size: 1.125rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(37, 77, 112, 0.08);
  transition: background 0.20s, transform 0.20s, box-shadow 0.20s;
  display: inline-block;
  border: none;
  cursor: pointer;
  outline: none;
  position: relative;
}
.cta:active {
  transform: scale(0.98);
}
@media (hover: hover) {
  .cta:hover,
  .cta:focus {
    background: var(--accent);
    color: #fff !important;
    box-shadow: 0 4px 30px rgba(90,134,70,0.15);
  }
}

/* === MOBILE MENU BUTTON === */
.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.8rem;
  align-items: center;
  justify-content: center;
  border: none;
  transition: background 0.15s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--accent);
}

@media (max-width: 990px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* === MOBILE NAVIGATION OVERLAY === */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(37, 77, 112, 0.96);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.84,-0.07,.19,1.01);
  will-change: transform;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.6rem;
  padding: 16px 26px 8px 0;
  cursor: pointer;
  border: none;
  align-self: flex-end;
  transition: color 0.15s;
  z-index: 2;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 0 34px 32px 34px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.4rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.16);
  width: 100%;
  transition: color 0.16s;
}
.mobile-nav a.cta {
  margin-top: 12px;
  background: var(--accent);
  color: #fff !important;
  border-radius: var(--radius-small);
  width: 100%;
  text-align: center;
  padding: 14px 0;
  font-size: 1.1rem;
  font-weight: 600;
}
@media (hover: hover) {
  .mobile-nav a:hover {
    color: var(--accent);
  }
}

/* === MAIN STRUCTURE & SECTIONS === */
main {
  min-height: 60vh;
  padding-bottom: 72px;
}
section {
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(37,77,112,0.05);
}
@media (max-width: 768px) {
  section {
    padding: 24px 0;
    margin-bottom: 36px;
    border-radius: var(--radius-small);
  }
}

/* === GENERIC SPACING CLASSES === */
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  margin-bottom: 0;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.features-grid > div,
.features-grid .feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 18px 18px 18px;
  gap: 15px;
  min-width: 220px;
  flex: 1 1 240px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #F2F4F8;
  border-radius: var(--radius-small);
  box-shadow: 0 4px 22px rgba(37,77,112,0.08);
  padding: 24px 26px;
  margin-bottom: 24px;
  min-width: 260px;
  max-width: 380px;
  border: 1px solid #e2e6ea;
}
.testimonial-card p {
  color: #254D70;
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.75;
}
.testimonial-card span {
  color: #5A8646;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 8px;
}

/* === ARTICLE STYLES === */
article {
  background: #fff;
  border-radius: var(--radius-small);
  box-shadow: 0 2px 8px rgba(37,77,112,0.09);
  padding: 24px 22px;
  margin-bottom: 20px;
}

/* === LISTS === */
ul li, ol li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 1.125rem;
}
ul li img, ol li img {
  width: 22px;
  height: 22px;
  margin-right: 8px;
}

/* === FOOTER === */
footer {
  background: var(--primary);
  color: #fff;
  width: 100%;
  padding: 30px 0 10px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
  margin-bottom: 8px;
}
footer nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  transition: color 0.14s;
}
@media (hover: hover) {
  footer nav a:hover {
    color: var(--accent);
  }
}
footer p {
  font-size: 0.93rem;
  color: #dbe5ee;
}

/* === RESPONSIVE ADJUSTMENTS === */
@media (max-width: 1080px) {
  .features-grid > div,
  .features-grid .feature-item {
    min-width: 180px;
  }
}
@media (max-width: 900px) {
  .features-grid {
    flex-wrap: wrap;
    gap: 18px;
  }
  .features-grid > div,
  .features-grid .feature-item {
    flex: 1 1 48%;
    max-width: 48%;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  .container {
    padding: 0 5px;
  }
  .content-grid, .card-container, .features-grid {
    flex-direction: column;
    gap: 18px;
  }
  .features-grid > div,
  .features-grid .feature-item {
    min-width: 100%;
    max-width: 100%;
  }
  .testimonial-card {
    max-width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 500px) {
  .card, .testimonial-card, article {
    padding: 18px 8px;
  }
}

/* === ANIMATION & EFFECTS === */
.cta, .card, .testimonial-card, .features-grid > div {
  transition: box-shadow 0.19s, transform 0.22s, background 0.14s, color 0.14s;
}
@media (hover: hover) {
  .features-grid > div:hover, .card:hover, .testimonial-card:hover {
    box-shadow: 0 8px 32px rgba(37,77,112,0.13);
    transform: translateY(-2px) scale(1.02);
  }
}

/* === FOCUS STYLES === */
a:focus, .cta:focus, button:focus, .mobile-menu-close:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  color: #254D70;
  box-shadow: 0 -2px 24px rgba(37,77,112,0.08);
  z-index: 4000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 38px;
  padding: 28px 16px 18px 18px;
  font-size: 1rem;
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.36s cubic-bezier(.78,.02,.13,.95), opacity 0.21s;
  border-top: 1px solid #e0e8ef;
}
.cookie-banner.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
.cookie-banner button {
  padding: 10px 24px;
  border-radius: var(--radius-small);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-left: 0;
  border: none;
  cursor: pointer;
  transition: background 0.14s, color 0.14s, box-shadow 0.11s;
  box-shadow: 0 2px 10px rgba(90,134,70,0.05);
}
.cookie-banner .accept {
  background: var(--accent);
  color: #fff;
}
.cookie-banner .reject {
  background: #e0e8ef;
  color: #254D70;
}
.cookie-banner .settings {
  background: transparent;
  color: var(--primary);
  border: 1px solid #A4B3C6;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--primary);
  color: #fff !important;
}

@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    gap: 18px;
    padding: 20px 8px 14px 8px;
    font-size: 0.98rem;
    align-items: flex-start;
  }
  .cookie-banner .cookie-buttons {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    align-items: flex-start;
  }
}

/* === COOKIE PREFERENCES MODAL === */
.cookie-modal-overlay {
  position: fixed;
  z-index: 5000;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(37,77,112,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.21s;
}
.cookie-modal {
  background: #fff;
  color: #254D70;
  border-radius: var(--radius);
  max-width: 420px;
  width: 93vw;
  padding: 36px 28px 26px 28px;
  box-shadow: 0 8px 36px rgba(37,77,112,0.14);
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: fadeInZoom 0.32s cubic-bezier(.78,.02,.13,.95);
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.28rem;
  margin-bottom: 10px;
  color: var(--primary);
}
.cookie-modal .category {
  margin-bottom: 8px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  font-size: 1.08rem;
}
.cookie-modal .category label {
  font-weight: 600;
  color: var(--primary);
}
.cookie-modal .category input[type="checkbox"] {
  width: 18px;
  height: 18px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  font-size: 2rem;
  color: var(--primary);
  border: none;
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-modal .close-modal:hover,
.cookie-modal .close-modal:focus {
  color: var(--accent);
}
.cookie-modal .cookie-save {
  background: var(--primary);
  color: #fff;
  padding: 12px 22px;
  border-radius: var(--radius-small);
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-top: 14px;
  cursor: pointer;
  border: none;
}
.cookie-modal .cookie-save:hover,
.cookie-modal .cookie-save:focus {
  background: var(--accent);
  color: #fff;
}
@keyframes fadeInZoom {
  0% { opacity: 0; transform: scale(0.92) translateY(16px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* === SCROLLBAR STYLING === */
::-webkit-scrollbar {
  width: 11px;
  background: #F2F4F8;
}
::-webkit-scrollbar-thumb {
  border-radius: 6px;
  background: #c5ccda;
}

/* === MISC UTILITIES === */
.fw700 { font-weight: 700; }
.txt-accent { color: var(--accent); }
.hide { display: none !important; }

/* END OF style.css */