/* =========================
   CSS RESET & NORMALIZATION
   ========================= */
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;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F0F1F6;
  color: #1f2732;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  min-height: 100vh;
  -webkit-tap-highlight-color: transparent;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  outline: none;
  transition: background 0.2s, color 0.2s;
}

/* =========================
   TYPOGRAPHY
   ========================= */
h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  color: #294D71;
  font-weight: 700;
}
h1 {
  font-size: 2.75rem;
  line-height: 1.15;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.2;
}
h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
  font-weight: 600;
}
p, ul, ol {
  font-size: 1.0625rem;
  color: #343e4d;
  margin-bottom: 16px;
}
strong {
  color: #294D71;
  font-weight: 700;
}

body, input, textarea, select, button {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #222d3a;
}

/* =========================
   LAYOUT HELPERS & CONTAINER
   ========================= */
.container {
  width: 100%;
  max-width: 1160px;
  padding-left: 20px;
  padding-right: 20px;
  margin: 0 auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(41, 77, 113, 0.04);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.text-section {
  max-width: 760px;
  margin: 0 auto;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(41,77,113,0.07);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 24px;
  min-width: 280px;
  flex-grow: 1;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(41,77,113,0.14);
  transform: translateY(-4px) scale(1.01);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F0F1F6;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(41,77,113,0.05);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 24px 18px;
  background: #f7fafd;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(41,77,113,0.03);
  transition: box-shadow 0.18s;
}
.feature-item:hover {
  box-shadow: 0 6px 18px rgba(68,166,121,0.13);
}
/* Features grid found in / (feature-grid) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.feature-grid > div {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(41,77,113,0.08);
  padding: 28px 18px 20px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 24px rgba(68,166,121,0.15);
  transform: translateY(-2px) scale(1.02);
}
.feature-grid img {
  height: 46px;
  margin-bottom: 16px;
}

/* Pricing and CTA Section */
.pricing {
  background: #F0F1F6;
  border-radius: 12px;
  padding: 32px 20px;
  margin-bottom: 60px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(41,77,113,0.06);
}

.cta {
  text-align: center;
  background: #294D71;
  color: #fff;
  padding: 48px 20px;
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(41,77,113,0.10);
  margin-bottom: 60px;
}
.cta h2, .cta-btn {
  color: #fff;
}

/* =============
   HERO SECTION
   ============= */
.hero {
  display: flex;
  background: linear-gradient(95deg, #294D71 60%, #44A679 120%);
  color: #fff;
  padding: 70px 0 54px 0;
  margin-bottom: 42px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  text-align: center;
  align-items: center;
  gap: 18px;
}
.hero h1, .hero p {
  color: #fff;
}
.hero p {
  font-size: 1.18rem;
  font-weight: 400;
  margin-bottom: 20px;
}

/* =====================
   BUTTONS & CTA STYLES
   ===================== */
.cta-btn {
  display: inline-block;
  background: #44A679;
  color: #fff;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  padding: 14px 32px;
  border: none;
  border-radius: 999px;
  box-shadow: 0 4px 18px rgba(44,166,121,0.11);
  transition: background 0.18s, transform 0.14s, box-shadow 0.18s;
  cursor: pointer;
  margin-top: 10px;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #294D71;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 24px rgba(41,77,113,0.12);
}

/* ===============
   NAVIGATION BAR
   =============== */
header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(41,77,113,0.07);
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 20px;
  min-height: 74px;
  max-width: 1160px;
  margin: 0 auto;
}
header nav > a img {
  height: 44px;
  width: auto;
  display: block;
}
header nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
header nav ul li {
  margin: 0;
  padding: 0;
}
header nav ul li a {
  display: block;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 500;
  color: #344356;
  font-size: 1.07rem;
  padding: 8px 16px;
  border-radius: 6px;
  transition: background 0.16s, color 0.16s;
}
header nav ul li a:hover, header nav ul li a:focus, header nav ul li a.active {
  background: #F0F1F6;
  color: #294D71;
}
header nav .cta-btn {
  margin-left: 12px;
  padding: 10px 26px;
  font-size: 1.02rem;
}

/* =====================
   MOBILE NAVIGATION
   ===================== */
.mobile-menu-toggle {
  display: none;
  background: #294D71;
  color: #fff;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 1.8rem;
  line-height: 1;
  z-index: 1003;
  position: absolute;
  right: 22px;
  top: 18px;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #44A679;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 1100;
  box-shadow: 0 4px 32px rgba(41,77,113, .14);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform .3s cubic-bezier(.87,.01,.78,1.12);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 2.2rem;
  background: transparent;
  color: #294D71;
  border-radius: 50%;
  transition: background 0.16s, color .12s;
  z-index: 1101;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #F0F1F6;
  color: #44A679;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  margin-top: 72px;
  gap: 6px;
  padding-left: 36px;
  padding-right: 36px;
  padding-bottom: 30px;
  width: 100%;
}
.mobile-nav a {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  color: #294D71;
  font-weight: 500;
  padding: 16px 4px;
  font-size: 1.25rem;
  width: 100%;
  border-radius: 8px;
  margin-bottom: 6px;
  transition: background 0.13s, color 0.11s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #44A679;
  color: #fff;
}

/* Hide desktop nav links on mobile and show toggle */
@media (max-width: 1100px) {
  header nav ul,
  header nav .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1101px) {
  .mobile-menu { display: none !important; }
}

/* =====================================
   GENERAL FLEXBOX LAYOUTS & ADJUSTMENTS
   ===================================== */
/* Already handled above - but enforce flex also for lists when needed. */
ul.content-grid, ul.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}
ul.content-grid > li, ul.feature-grid > li {
  flex: 1 1 250px;
  margin-bottom: 18px;
}

/* ==============
   FOOTER
   ============== */
footer {
  background: #294D71;
  color: #fff;
  padding: 36px 0 28px 0;
  font-size: 0.97rem;
  margin-top: 54px;
  box-shadow: 0 -2px 16px rgba(41,77,113,0.06);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}
footer nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
footer nav a {
  color: #fff;
  padding: 4px 8px;
  border-radius: 5px;
  transition: background .15s, color .15s;
}
footer nav a:hover, footer nav a:focus {
  background: #44A679;
  color: #fff;
}
footer .footer-info {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  opacity: 0.83;
}
footer .footer-info span {
  margin-right: 5px;
}

/* ===============================
   DETAILS: TESTIMONIALS, NOTICES
   =============================== */
.testimonial-card {
  background: #fff;
  color: #222d3a;
  border-left: 6px solid #44A679;
  gap: 24px;
  padding: 22px 26px;
  font-size: 1.06rem;
  font-style: italic;
  box-shadow: 0 2px 10px rgba(41,77,113,0.07);
  border-radius: 10px;
  margin-bottom: 20px;
  line-height: 1.5;
}
.testimonial-card strong {
  color: #294D71;
  font-style: normal;
  font-weight: 600;
  margin-left: 10px;
  font-size: 0.98em;
}
.notice {
  background: #F0F1F6;
  border-left: 4px solid #294D71;
  border-radius: 7px;
  padding: 16px 23px;
  font-size: 1.04rem;
  margin: 12px 0 0 0;
  color: #344356;
}

/* ==============
   FORMS & INPUTS
   ============== */
input, textarea, select {
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: 1rem;
  resize: vertical;
  border: 1.5px solid #D4D6DE;
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  margin-bottom: 14px;
  width: 100%;
  transition: border .15s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #44A679;
}

label {
  font-size: 1.04rem;
  color: #294D71;
}

/* ==============
   SPACING TWEAKS
   ============== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 900px) {
  section, .section {
    padding: 28px 7px;
    margin-bottom: 38px;
  }
}

/* ==============
   RESPONSIVE FLEX
   ============== */
@media (max-width: 768px) {
  .content-wrapper, .feature-grid, .card-container, .content-grid, .testimonial-card, .footer-info, .features {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 18px !important;
  }
  .hero {
    padding: 42px 0 28px 0;
  }
  .feature-grid > div {
    min-width: 75vw;
    max-width: 97vw;
  }
  .testimonial-card {
    padding: 18px 9px;
    font-size: 0.97rem;
  }
}
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  .cta {
    padding: 34px 8px;
    border-radius: 10px;
  }
  .section, section {
    padding: 16px 2px;
    margin-bottom: 25px;
    border-radius: 6px;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
  }
}

/* ===============
   TRANSITIONS & MICRO-INTERACTIONS
   =============== */
.card, .feature-item, .feature-grid > div, .cta-btn, .testimonial-card, .mobile-menu, .mobile-menu-toggle {
  transition: box-shadow 0.18s, transform 0.16s, background 0.17s, color 0.13s;
}

/* ===============
   COOKIE CONSENT BANNER
   =============== */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #294D71;
  color: #fff;
  box-shadow: 0 -2px 16px rgba(41,77,113,0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  justify-content: center;
  padding: 24px 16px 18px 16px;
  z-index: 2000;
  font-size: 1.07rem;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.25s;
}
.cookie-consent-banner.closed {
  transform: translateY(110%);
  pointer-events: none;
  opacity: 0;
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-btn {
  padding: 8px 18px;
  border-radius: 37px;
  border: none;
  font-size: 1rem;
  background: #44A679;
  color: #fff;
  font-weight: 600;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  transition: background 0.16s, color 0.14s;
  box-shadow: 0 2px 10px rgba(68,166,121,0.11);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #fff;
  color: #294D71;
}
.cookie-btn-settings {
  background: #fff;
  color: #294D71;
  border: 1.5px solid #44A679;
}
.cookie-btn-settings:hover, .cookie-btn-settings:focus {
  background: #44A679;
  color: #fff;
}
/* ===============
   COOKIE MODAL
   =============== */
.cookie-modal-overlay {
  position: fixed;
  top:0;left:0;width:100vw;height:100vh;
  background: rgba(41,77,113,0.34);
  z-index: 2100;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.closed {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #222d3a;
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(41,77,113,0.24);
  padding: 36px 26px;
  min-width: 320px;
  max-width: 98vw;
  width: 430px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 23px;
}
.cookie-modal h2 {
  font-size: 1.32rem;
  color: #294D71;
  margin-bottom: 6px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 17px;
}
.cookie-modal .cookie-category label {
  flex: 1;
  font-weight: 500;
  color: #343e4d;
}
.cookie-modal .cookie-category input[type="checkbox"] {
  accent-color: #44A679;
  width: 21px;
  height: 21px;
}
.cookie-modal .cookie-category.essential label {
  font-weight: 700;
  color: #294D71;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 15px; right: 18px;
  font-size: 2rem;
  background: none;
  color: #294D71;
  border-radius: 5px;
  padding: 4px 7px;
  transition: background 0.13s, color 0.11s;
}
.cookie-modal .modal-close:hover {
  background: #44A679;
  color: #fff;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 11px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.cookie-modal .cookie-btn {
  font-size: 1.04rem;
  padding: 8px 23px;
}

/* ===========
   MISC
   =========== */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-thumb {
  background: #d3d8df;
  border-radius: 10px;
}
::-webkit-scrollbar-track {
  background: #F0F1F6;
}

::selection {
  background: #44A679;
  color: #fff;
}

/* Accessibility contrasts */
.testimonial-card p, .testimonial-card strong {
  color: #212c3b;
}

/* Ensure all card, flex and section spacing strictly adheres to gap and margin rules */
.card, .testimonial-card, .feature-item, .feature-grid > div, .section, section, .card-container > *, .content-grid > *, .content-wrapper > *, .footer-info > * {
  margin-bottom: 20px;
}
@media (max-width: 480px) {
  .cookie-modal {
    padding: 18px 4vw;
    border-radius: 7px;
    min-width: 0;
    width: 98vw;
  }
}
