/* 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, 
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background-color: #F7FAFA;
  color: #153452;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
a {
  color: #153452;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #23B682;
  text-decoration: underline;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 24px;
}
li {
  margin-bottom: 8px;
}
input, button, textarea, select {
  font: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  box-sizing: border-box;
}
button {
  cursor: pointer;
  background: none;
}
strong {
  font-weight: 700;
}

/* TYPOGRAPHY */
h1, .hero-section h1, .thank-you-section h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.75rem;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 20px;
}
h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 18px;
  color: #153452;
}
h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #153452;
}
.subheadline {
  font-size: 1.2rem;
  font-weight: 400;
  color: #334e68;
  margin-bottom: 28px;
}
p, .text-section p {
  margin-bottom: 14px;
  color: #22344a;
  font-size: 1rem;
}
.text-section h2, .text-section h3 {
  margin-top: 24px;
}
.text-section ul {
  margin-top: 8px;
  margin-bottom: 20px;
}


/* LAYOUT CONTAINERS */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
}
@media (max-width:768px) {
  .section {
    padding: 30px 8px;
    margin-bottom: 36px;
  }
}

/* FLEXBOX LAYOUTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(21,52,82,0.09);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, transform 0.17s;
}
.card:hover {
  box-shadow: 0 4px 24px 0 rgba(21,52,82,0.13);
  transform: translateY(-3px);
}
.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) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 8px 0 rgba(21,52,82,0.07);
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  max-width: 400px;
  min-width: 280px;
  flex: 1 1 320px;
  border: 1px solid #e2e6ea;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px 0 rgba(35,182,130,0.07);
  border-color: #bdddee;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 220px;
}


/* NAVIGATION HEADER */
header {
  background: #fff;
  border-bottom: 1px solid #e2e6ea;
  width: 100%;
  box-shadow: 0 1px 6px 0 rgba(21,52,82,0.03);
  position: sticky;
  top: 0;
  z-index: 50;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 30px;
}
.logo-link img {
  height: 42px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-links a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #153452;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a:focus {
  color: #23B682;
}
.cta-btn {
  background: #23B682;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 28px;
  border-radius: 24px;
  box-shadow: 0 2px 8px rgba(35,182,130,0.11);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.14s;
  border: none;
  display: inline-block;
  margin-left: 16px;
  letter-spacing: 0.02em;
}
.cta-btn:hover, .cta-btn:focus {
  background: #153452;
  color: #fff;
  box-shadow: 0 4px 16px rgba(21,52,82,0.12);
  transform: translateY(-2px);
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: #23B682;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  color: #fff;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 95;
  border: none;
  transition: background 0.2s;
}
.mobile-menu-toggle:active {
  background: #153452;
}
.mobile-menu {
  display: none;
  position: fixed;
  left: 0; top: 0; bottom: 0; right: 0;
  background: #153452cc;
  z-index: 100;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  transition: transform 0.35s cubic-bezier(.55,.01,.42,1.01), opacity 0.28s;
}
.mobile-menu.open {
  display: flex;
  animation: menuSlideIn 0.34s forwards;
}
@keyframes menuSlideIn {
  0% { opacity: 0; transform: translateX(60%); }
  100% { opacity: 1; transform: translateX(0); }
}
.mobile-menu-close {
  background: #fff;
  color: #153452;
  border: none;
  font-size: 2.3rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin: 26px 26px 12px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 8px rgba(21,52,82,0.07);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #23B682;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 36px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 9px 0;
  width: 100%;
  border-bottom: 1px solid rgba(247,250,250,0.1);
  transition: background 0.14s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #23B682;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}
@media (max-width: 1023px) {
  .nav-links {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    position: absolute;
    right: 24px;
    top: 14px;
  }
}
@media (min-width:1024px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* HERO SECTION */
.hero-section {
  padding: 60px 0 34px 0;
  background: linear-gradient(90deg, #f7fafa 76%, #eaf3f8 100%);
  min-height: 260px;
  display: flex;
  align-items: center;
  position: relative;
}
.hero-section .container {
  display: flex;
}
.hero-section .content-wrapper {
  margin: 0 auto;
  align-items: flex-start;
  max-width: 680px;
  text-align: left;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 34px 0 12px 0;
    min-height: 160px;
  }
  .hero-section h1 {
    font-size: 2rem;
  }
}

/* THANK-YOU SECTION */
.thank-you-section {
  background: #fff;
  border-radius: 18px;
  margin: 42px auto 0 auto;
  padding: 55px 25px 48px 25px;
  box-shadow: 0 4px 20px 0 rgba(21,52,82,0.10);
  max-width: 600px;
  text-align: center;
}
.thank-you-section h1 {
  margin-bottom: 18px;
}

/* BLOG SEARCH */
.blog-search {
  width: 100%;
  max-width: 360px;
  padding: 10px 16px;
  border: 1px solid #c5d5e3;
  border-radius: 8px;
  background: #fff;
  margin-top: 16px;
  margin-bottom: 18px;
  font-size: 1rem;
}
.blog-search:focus {
  border-color: #23B682;
  outline: 2px solid #23B68220;
}
.read-more-link {
  display: inline-block;
  margin-top: 8px;
  color: #23B682;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.19s;
}
.read-more-link:hover, .read-more-link:focus {
  color: #153452;
  text-decoration: underline;
}

/* FEATURE GRID for icons and features */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  list-style: none;
  margin: 30px 0 10px 0;
  padding: 0;
}
.feature-grid li {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1.5px 12px 0 rgba(35,182,130,0.06);
  padding: 24px 18px 18px 18px;
  flex: 1 1 250px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  border: 1px solid #e2e6ea;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.feature-grid li:hover {
  box-shadow: 0 8px 32px 0 rgba(21,52,82,0.12);
  border-color: #23B68242;
}
.feature-grid img {
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
}

@media (max-width:900px) {
  .feature-grid {
    gap: 18px;
  }
  .feature-grid li {
    min-width: 160px;
    padding: 14px 9px 12px 9px;
  }
}
@media (max-width:600px) {
  .feature-grid {
    gap: 10px;
    flex-direction: column;
  }
  .feature-grid li {
    min-width: unset;
    width: 100%;
    margin-bottom: 14px;
  }
}

/* TESTIMONIAL SLIDER */
.testimonial-slider {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-bottom: 20px;
}
@media (max-width: 700px) {
  .testimonial-slider {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
}
.testimonial-card p {
  font-size: 1.08rem;
  color: #153452;
  margin-bottom: 16px;
}
.testimonial-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 1rem;
  color: #334e68;
  font-weight: 600;
}
.testimonial-meta strong {
  font-size: 1rem;
  font-weight: 700;
}
.testimonial-meta span {
  color: #23B682;
  letter-spacing: 1px;
}

/* BUTTONS & INTERACTIONS */
button, .cta-btn {
  transition: background 0.18s, color 0.15s, box-shadow 0.16s, transform 0.1s;
}

/* GENERIC SECTIONS */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
@media (max-width: 768px) {
  section {
    margin-bottom: 36px;
    padding: 25px 0;
  }
}

/* UTILS & CARD HIERARCHY */
.card-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
}

.text-section {
  margin-bottom: 24px;
  margin-top: 8px;
}
.text-section ul, .text-section ol {
  margin-bottom: 10px;
}
.text-section li {
  font-size: 1rem;
  margin-bottom: 6px;
}

/* FOOTER */
footer {
  margin-top: 60px;
  background: #f2f7fa;
  color: #22344a;
  border-top: 1px solid #e2e6ea;
  font-size: 0.97rem;
  width: 100%;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 20px 14px 20px;
  max-width: 1180px;
  margin: 0 auto;
}
.footer-top a img {
  height: 36px;
  width: auto;
}
.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #153452;
  font-weight: 500;
  font-size: 1rem;
  padding: 3px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  position: relative;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #23B682;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  padding: 13px 20px 22px 20px;
  max-width: 1180px;
  margin: 0 auto;
  font-size: 0.98rem;
  color: #607188;
}
@media (max-width: 700px) {
  .footer-top {
    flex-direction: column;
    gap: 16px;
    padding: 18px 8px 7px 8px;
    align-items: flex-start;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    padding: 11px 8px 13px 8px;
  }
}

/* COOKIE CONSENT BANNER & MODAL */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #153452;
  color: #fff;
  width: 100vw;
  z-index: 5000;
  padding: 22px 20px 22px 20px;
  box-shadow: 0 -3px 22px 0 rgba(21,52,82,0.20);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 1rem;
  animation: bannerSlideIn 0.3s;
}
@keyframes bannerSlideIn {
  0% {transform: translateY(100%);opacity:0;}
  100% {transform: translateY(0);opacity:1;}
}
.cookie-banner p {
  margin-bottom: 0;
  color: #fff;
}
.cookie-banner .cookie-btn, .cookie-banner .cookie-settings-btn {
  background: #23B682;
  color: #fff;
  border-radius: 16px;
  padding: 7px 20px;
  border: none;
  font-size: 1rem;
  margin: 0 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  transition: background 0.14s, transform 0.1s;
  box-shadow: 0 1px 7px rgba(35,182,130,0.08);
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-settings-btn:hover {
  background: #fff;
  color: #153452;
  transform: translateY(-1px);
}
.cookie-banner .cookie-reject-btn {
  background: #fff;
  color: #153452;
  border: 1px solid #23B682;
  box-shadow: 0 1px 8px rgba(21,52,82,0.07);
  border-radius: 16px;
  padding: 7px 20px;
  font-size: 1rem;
  margin: 0 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: background 0.13s, color 0.12s, transform 0.1s;
  font-weight: 600;
}
.cookie-banner .cookie-reject-btn:hover {
  background: #23B682;
  color: #fff;
  transform: translateY(-1px);
}

/* COOKIE MODAL OVERLAY & MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(21,52,82,0.74);
  z-index: 6000;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: cookieModalFadeIn 0.22s;
}
@keyframes cookieModalFadeIn {
  0% {opacity:0;}
  100%{opacity:1;}
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 32px 0 rgba(21,52,82,0.28);
  max-width: 410px;
  width: 94vw;
  padding: 34px 26px 20px 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  color: #153452;
  font-size: 1rem;
  z-index: 6100;
}
.cookie-modal h3 {
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 13px;
  color: #153452;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cookie-category span {
  font-size: 1rem;
  font-weight: 500;
  color: #334e68;
}
.cookie-toggle {
  width: 46px;
  height: 25px;
  background: #e9edf2;
  border-radius: 14px;
  position: relative;
  transition: background 0.14s;
}
.cookie-toggle[data-enabled="true"] {
  background: #23B682;
}
.cookie-toggle::before {
  content: '';
  display: block;
  position: absolute;
  left: 4px;
  top: 4px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.14s;
}
.cookie-toggle[data-enabled="true"]::before {
  left: 25px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal .modal-actions button {
  padding: 7px 20px;
  border-radius: 16px;
  font-size: 1rem;
  transition: background 0.13s,
              color 0.13s,
              transform 0.10s;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  cursor: pointer;
}
.cookie-modal .modal-actions .cookie-btn-save {
  background: #23B682;
  color: #fff;
}
.cookie-modal .modal-actions .cookie-btn-save:hover {
  background: #153452;
}
.cookie-modal .modal-actions .cookie-btn-cancel {
  background: #e9edf2;
  color: #153452;
}
.cookie-modal .modal-actions .cookie-btn-cancel:hover {
  background: #b5c6da;
}

.cookie-modal .modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 1.7rem;
  background: none;
  border: none;
  color: #153452;
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal .modal-close:hover {
  color: #23B682;
}

@media (max-width:500px) {
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    font-size: 0.93rem;
    padding: 15px 8px 18px 8px;
    text-align: center;
  }
  .cookie-btn, .cookie-settings-btn, .cookie-reject-btn {
    width: 96vw;
    max-width: 310px;
    margin: 7px auto !important;
    display: block;
  }
}

/* RESPONSIVE TYPOGRAPHY & LAYOUT */
@media (max-width:1000px) {
  .container {
    max-width: 96vw;
  }
  .footer-top, .footer-bottom {
    max-width: 96vw;
  }
}
@media (max-width:600px) {
  .container {
    padding: 0 5px;
  }
}

/* MISC UTILS */
::-webkit-input-placeholder { color: #b2bac9; }
::-moz-placeholder { color: #b2bac9; }
:-ms-input-placeholder { color: #b2bac9; }
::placeholder { color: #b2bac9; }

[tabindex="0"]:focus { outline: 2px solid #23B682; outline-offset: 3px; }

/* Hide scroll for modal open */
body.cookie-modal-open {
  overflow: hidden;
}

/* Prevent overlapping, ensure consistent margins/paddings */
.card, .testimonial-card, .feature-grid li {
  margin-bottom: 24px;
}
.section, section {
  margin-bottom: 60px;
}

/* Visual polish */
.card, .testimonial-card, .feature-grid li {
  border-radius: 13px;
  box-shadow: 0 4px 24px 0 rgba(35,182,130,0.04);
}
.card {
  border: 1px solid #dde7ef;
}

/* Color accessibility fixes for testimonials */
.testimonial-card {
  background: #fff; /* Highest contrast for text */
  color: #153452;
  border: 1px solid #dee6f0;
}

/* Hide main navigation links on mobile, show mobile nav */
@media (max-width:1023px) {
  .main-nav > .nav-links, .main-nav > .cta-btn {
    display: none;
  }
}

/* Utility for align-items usage */
.align-center {
  align-items: center !important;
}
.align-start {
  align-items: flex-start !important;
}

/* END OF STYLE.CSS */