/* ========================
   RESET & BASELINE 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,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #F5F5F7;
  color: #154174;
  line-height: 1.6;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: #154174;
  transition: color 0.2s;
}

a:hover, a:focus {
  color: #1BB247;
  outline: none;
}

ul, ol {
  margin-left: 1.5em;
}

/* Typography scale and headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: #154174;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  text-transform: uppercase;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  text-transform: uppercase;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}
.subheadline {
  font-size: 1.25rem;
  color: #1BB247;
  font-weight: 600;
  margin-bottom: 24px;
}
p {
  margin-bottom: 18px;
  font-size: 1.06rem;
}
strong {
  font-weight: 600;
  color: #154174;
}

/* =====================
   LAYOUT CONTAINERS
 ===================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 12px 0 rgba(21, 65, 116, 0.05);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 20px;
  padding: 24px;
  box-shadow: 0 2px 16px 0 rgba(21, 65, 116,0.10);
  position: relative;
  flex: 1 1 300px;
}
.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 32px 20px 28px;
  background: #F2F5F7;
  border-left: 6px solid #1BB247;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 1px 6px 0 rgba(21, 65, 116, 0.08);
  position: relative;
}
.testimonial-card p {
  margin-bottom: 0;
  font-size: 1.15rem;
  color: #1B2230;
  font-style: italic;
}
.testimonial-info {
  font-size: 0.97rem;
  color: #154174;
  font-weight: 500;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-icons {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-bottom: 18px;
}

/* =======================
   HEADER / NAVIGATION
 ======================= */
header {
  background: #F5F5F7;
  border-bottom: 3px solid #1BB247;
  position: relative;
  z-index: 1120;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 24px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.07em;
  color: #154174;
  font-size: 1.05rem;
  transition: color .18s, text-shadow .18s;
  padding: 6px 8px;
  border-radius: 8px;
}

header nav a:hover,
header nav a:focus {
  background: #1BB24722;
  color: #1BB247;
  text-shadow: 0 0 2px #1BB247;
}

header img {
  height: 48px;
  width: auto;
  margin-right: 18px;
}

.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #1BB247;
  color: #fff;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.03em;
  padding: 11px 28px;
  margin-left: 16px;
  border: none;
  display: inline-block;
  box-shadow: 0 4px 16px -5px #1BB24744;
  transition: background 0.18s, color 0.18s, box-shadow .2s;
  cursor: pointer;
  outline: 0;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #154174;
  color: #fff;
  box-shadow: 0 7px 26px -6px #15417433;
  transform: scale(1.033);
}

/* =====================
   MOBILE NAVIGATION
 ===================== */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  background: none;
  border: none;
  color: #154174;
  margin-left: 10px;
  cursor: pointer;
  z-index: 1202;
  padding: 8px 12px;
  border-radius: 7px;
  transition: background .15s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #1BB24718;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #ffffffde;
  z-index: 1201;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(.8,.2,.45,1.05);
  box-shadow: 0 5px 32px 0 rgba(21, 65, 116, 0.12);
  padding-top: 0;
}
.mobile-menu.open {
  transform: none;
}
.mobile-menu-close {
  font-size: 2.2rem;
  background: none;
  border: none;
  color: #154174;
  margin: 22px 34px 8px 0;
  padding: 6px 10px;
  border-radius: 7px;
  cursor: pointer;
  align-self: flex-end;
  transition: background .15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #1BB24718;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100vw;
  gap: 10px;
  margin-top: 12px;
  padding: 0 36px 0 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #154174;
  background: #f2f5f788;
  padding: 16px 22px;
  margin-bottom: 3px;
  border-radius: 10px;
  text-transform: uppercase;
  transition: background 0.15s, color .13s;
  box-shadow: 0 3px 8px 0 rgba(27, 178, 71, 0.04);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #1BB247;
  color: #fff;
}

/* ===============
   FOOTER STYLES
 ================ */
footer {
  background: #154174;
  color: #fff;
  padding-top: 34px;
  padding-bottom: 34px;
  margin-top: 54px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-nav, .footer-social, .footer-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav {
  flex: 1 1 230px;
  gap: 10px;
  min-width: 140px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 0;
  transition: color .18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #1BB247;
}
.footer-social {
  flex: 1 1 120px;
  gap: 10px;
  flex-direction: row;
  align-items: center;
}
.footer-social img {
  width: 34px;
  height: 34px;
  background: #fff;
  border-radius: 50%;
  margin-right: 9px;
  box-shadow: 0 2px 8px 0 #1BB24722;
  padding: 4px;
  transition: box-shadow 0.15s, background .2s;
  cursor: pointer;
}
.footer-social img:hover, .footer-social img:focus {
  background: #1BB247;
  box-shadow: 0 4px 15px 0 #1541741a;
}
.footer-info {
  flex: 2 1 320px;
  font-size: 0.98rem;
  color: #E8EFF4;
}
.footer-info address {font-style: normal; color: #B3CBEE; line-height: 1.7; margin-bottom: 9px;}
.footer-info a { color: #1BB247; text-decoration: underline; }
.footer-info a:hover, .footer-info a:focus {color: #fff;}

/* =====================
   BUTTON STYLES
 ===================== */
button, .cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
  outline: 0;
}
button {
  background: #1BB247;
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
  padding: 10px 25px;
  border: none;
  font-size: 1.07rem;
  transition: background .16s, color .16s, box-shadow .16s, transform .13s;
  box-shadow: 0 2px 8px 0 #1BB24733;
}
button:hover, button:focus {
  background: #154174;
  color: #fff;
  box-shadow: 0 8px 22px -10px #15417466;
  transform: scale(1.032);
}

/* ===========================
   LISTS / DEFINITIONS / BLOCKS
 =========================== */
ul li, ol li {
  margin-bottom: 12px;
  font-size: 1rem;
  padding-left: 0.5em;
  line-height: 1.7;
  position: relative;
}
ul li:before {
  content: '';
  border-radius: 2px;
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-right: 10px;
  background: #1BB247;
  vertical-align: middle;
  box-shadow: 2px 2px 4px #15417414;
}
ol li {
  list-style-type: decimal;
  margin-left: 0.5em;
}

/* =====================
   GEOMETRIC VISUALS
 ===================== */
.section {
  position: relative;
}
.section:before {
  content: '';
  display: block;
  position: absolute;
  top: -22px;
  right: 34px;
  width: 66px;
  height: 66px;
  background: #1BB24722;
  clip-path: polygon(0 0,100% 0,70% 100%,0 70%);
  z-index: 0;
  pointer-events: none;
}
.section:last-of-type:before {
  display: none;
}

@media (max-width: 768px) {
  .section:before {
    right: 7px;
    width: 40px;
    height: 40px;
    top: -12px;
  }
}

.card {
  border: 2.8px solid #E9F5ED;
  box-shadow: 0 2px 20px -10px #15417430;
  border-radius: 16px;
  transition: box-shadow .16s, transform .13s;
}
.card:hover, .card:focus {
  box-shadow: 0 8px 32px -9px #15417444;
  transform: translateY(-4px) scale(1.018);
  border-color: #1BB24799;
}


/* =====================
   RESPONSIVE DESIGN
 ===================== */
@media (max-width: 1024px) {
  .footer-info { min-width: 220px; }
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .footer-social {
    margin-top: 10px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .section {
    padding: 24px 8px;
    margin-bottom: 36px;
    border-radius: 13px;
  }
  .card {
    padding: 14px;
    border-radius: 11px;
  }
  .feature-icons {
    gap: 14px;
    margin-bottom: 12px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 14px;
    border-radius: 10px;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  header .container { gap: 8px; }
}
@media (max-width: 680px) {
  .container {padding-left: 5px; padding-right: 5px;}
}

@media (max-width: 860px) {
  header nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 500px) {
  h1 { font-size: 1.36rem; }
  h2 { font-size: 1.17rem; }
  .footer-nav, .footer-info, .footer-social {
    font-size: 0.91rem;
  }
  .footer-social img {width: 27px; height: 27px;}
}

/* ===============
   COOKIE BANNER
 =============== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: #1B2230;
  box-shadow: 0 -3px 20px 0 rgba(21,65,116,0.10);
  z-index: 1500;
  width: 100vw;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  gap: 18px;
  font-size: 1.06rem;
  border-top: 4px solid #1BB247;
  transition: transform .3s cubic-bezier(.8,.2,.45,1.05);
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(110%);
}
.cookie-banner .cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-banner button {
  font-size: 1.01rem;
  border-radius: 9px;
  border: none;
  padding: 9px 22px;
  margin: 0 4px;
  font-weight: 700;
  box-shadow: 0 2px 7px 0 #1BB24733;
}
.cookie-accept {
  background: #1BB247;
  color: #fff;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #154174;
  color: #fff;
}
.cookie-reject {
  background: #154174;
  color: #fff;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #1BB247;
}
.cookie-settings {
  background: #fff;
  color: #1BB247;
  border: 1.5px solid #1BB247;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #1BB247;
  color: #fff;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 8px;
    gap: 18px;
    font-size: 0.99rem;
  }
  .cookie-banner .cookie-banner-buttons {
    gap: 7px;
  }
}

/* =============================
   COOKIE SETTINGS MODAL / POPUP
 ============================= */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 1550;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(21,65,116,0.27);
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 5px 30px 0 #15417444;
  width: 97vw;
  max-width: 420px;
  padding: 32px 26px;
  color: #1B2230;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: transform .26s cubic-bezier(.8,.2,.45,1.05);
  transform: translateY(0);
}
.cookie-modal-close {
  position: absolute;
  top: 17px;
  right: 17px;
  font-size: 1.7rem;
  color: #154174;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  padding: 4px 9px;
}
.cookie-modal-close:hover,.cookie-modal-close:focus {
  background: #1BB24718;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
  font-size: 1.03rem;
}
.cookie-category label {
  display: flex;
  align-items: center;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.cookie-toggle {
  appearance: none;
  width: 36px;
  height: 18px;
  border-radius: 99px;
  background: #E6F5EB;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background .2s;
  margin-left: 7px;
}
.cookie-toggle:checked {
  background: #1BB24788;
}
.cookie-toggle:before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 5px #1BB24733;
  position: absolute;
  left: 0; top: 0;
  transition: left .21s;
}
.cookie-toggle:checked:before {
  left: 18px;
}
.cookie-category.disabled label {
  font-weight: 600;
  color: #B1BAC7;
  opacity: 0.87;
}
.cookie-category.disabled .cookie-toggle {
  background: #EDF1F4;
  pointer-events: none;
  opacity: 0.45;
}

/* Modal actions */
.cookie-modal-actions {
  display: flex;
  gap: 19px;
  margin-top: 6px;
  justify-content: flex-end;
}

.cookie-modal-actions button {
  padding: 8px 21px;
  font-size: 1.02rem;
  border-radius: 8px;
}

/* ===============================
   Micro Interactions & Animation
 ================================*/
a, .cta-btn, button, .card, .testimonial-card, .footer-social img {
  transition-property: color, background, box-shadow, border, transform, opacity, text-shadow;
  transition-duration: .15s, .17s, .18s, .12s, .14s, .18s, .22s;
  transition-timing-function: cubic-bezier(0.4,0.1,0.2,1);
}

.card, .testimonial-card {
  transition: box-shadow .16s, border .13s, transform .15s;
}
.testimonial-card:hover {
  box-shadow: 0 7px 26px -5px #1BB24733;
  border-left: 6px solid #154174;
}

.footer-social img:active, .cta-btn:active {
  transform: scale(0.98) rotate(-2deg);
}

/* Hide visually when JS removes open class */
.mobile-menu {
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  pointer-events: all;
  opacity: 1;
}

/* ================================
   CUSTOM FONT DECLARATION
 ================================ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Roboto:wght@400;500;700&display=swap');

/* =====================
   FORM ELEMENTS
 ===================== */
input, select, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  padding: 10px 12px;
  border-radius: 7px;
  border: 1.5px solid #BCD6F0;
  margin-bottom: 18px;
  font-size: 1rem;
  transition: border .16s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus {
  border-color: #1BB247;
  box-shadow: 0 0 2px 0 #1BB247;
  outline: none;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 7px;
  display: inline-block;
}

/* ===============
  UTILITY CLASSES
 ===============*/
.text-center { text-align: center!important; }
.text-right { text-align: right!important; }
.uppercase { text-transform: uppercase!important; }
.d-flex { display: flex!important; }
.flex-col { flex-direction: column!important; }
.flex-row { flex-direction: row!important; }
.justify-center { justify-content: center!important; }
.align-center { align-items: center!important; }

/* ===============
  A11Y: FOCUS VISIBLE
 ===============*/
:focus-visible {
  outline: 3px solid #1BB247;
  outline-offset: 2px;
}

/* ===============
   PRINT
 ===============*/
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body { background: #fff; color: #000; }
}

/* =====================
   END OF STYLES
 ===================== */
