/* ---------------------------------------------
  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;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  min-height: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  background-color: #F1F5F8;
  color: #163250;
  font-size: 16px;
}
a {
  color: #1CA589;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #163250;
  text-decoration: underline;
}
ul, ol {
  margin: 0 0 16px 24px;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  display: inline-block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}
button {
  cursor: pointer;
}
:focus {
  outline: 2px solid #1CA589;
  outline-offset: 2px;
}

/* ---------------------------------------------
  BRANDING & TYPOGRAPHY
--------------------------------------------- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #163250;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
h1 { font-size: 2.5rem; line-height: 1.1; margin-bottom: 20px; }
h2 { font-size: 2rem; line-height: 1.15; margin-bottom: 18px; }
h3 { font-size: 1.35rem; margin-bottom: 14px; }
h4, h5, h6 { font-size: 1.13rem; }
p, li, a, label, input, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #222b38;
  font-weight: 400;
  letter-spacing: 0px;
}
strong, b { font-weight: 700; color: #163250; }
.team-motto {
  font-style: italic;
  color: #1CA589;
}

/* ---------------------------------------------
  FLEXBOX LAYOUTS & CONTAINERS
--------------------------------------------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(22,50,80,0.07);
  position: relative;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(22,50,80,0.05);
  margin-bottom: 20px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 4px 18px 0 rgba(22,50,80,0.13);
}
.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: #F1F5F8;
  border-radius: 10px;
  box-shadow: 0 1px 6px 0 rgba(22,50,80,0.07);
  margin-bottom: 20px;
  color: #163250;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-grid > div {
  flex: 1 1 250px;
  background: #F1F5F8;
  border-radius: 10px;
  box-shadow: 0 1px 4px 0 rgba(22,50,80,0.06);
  padding: 28px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  min-width: 220px;
  transition: box-shadow 0.18s;
}
.feature-grid > div:hover {
  box-shadow: 0 4px 18px 0 rgba(22,50,80,0.12);
}

/* ---------------------------------------------
  BUTTONS, LINKS & CTA
--------------------------------------------- */
.cta-btn {
  display: inline-block;
  background: #1CA589;
  color: #fff;
  border-radius: 100px;
  padding: 14px 38px;
  font-size: 1.13rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: none;
  margin-top: 16px;
  text-align: center;
  box-shadow: 0 1px 8px 0 rgba(28,165,137,0.12);
  transition: background 0.23s, box-shadow 0.18s, transform 0.18s;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: #163250;
  color: #fff;
  box-shadow: 0 4px 16px 0 rgba(28,165,137,0.13);
  transform: translateY(-2px) scale(1.04);
}
button, .button {
  background: #163250;
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 10px 28px;
  font-size: 1rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  transition: background 0.2s, color 0.2s, box-shadow 0.18s;
}
button:hover, button:focus,
.button:hover, .button:focus {
  background: #1CA589;
  color: #fff;
  box-shadow: 0 2px 12px 0 rgba(22,50,80,0.08);
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  margin-right: 18px;
  color: #163250;
  font-weight: 600;
  opacity: 0.9;
  padding: 2px 0;
  transition: color 0.18s, opacity 0.18s;
}
nav a:last-child { margin-right: 0; }
nav a:hover, nav a:focus {
  color: #1CA589;
  opacity: 1;
}

/* ---------------------------------------------
  HEADER, NAVIGATION & RESPONSIVE MENU
--------------------------------------------- */
header {
  background: #fff;
  border-bottom: 1.5px solid #e7ecf0;
  box-shadow: 0 2px 16px 0 rgba(22,50,80,0.04);
  z-index: 100;
  position: relative;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  position: relative;
}
header img {
  height: 44px;
  width: auto;
}
header nav {
  display: flex;
  align-items: center;
  gap: 0 6px;
}
header .cta-btn {
  margin-left: 18px;
  margin-top: 0;
  font-size: 1rem;
  padding: 10px 28px;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #163250;
  padding: 6px 14px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
  margin-left: 16px;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F1F5F8;
  color: #1CA589;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 18px 64px 0 rgba(22,50,80,0.11);
  z-index: 1500;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  padding: 0 36px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #163250;
  font-size: 2rem;
  align-self: flex-end;
  margin: 20px 0 10px 0;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.14s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #F1F5F8;
  color: #1CA589;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 18px;
}
.mobile-nav a {
  color: #163250;
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 10px 0;
  border-radius: 5px;
  transition: background 0.18s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #1CA589;
  color: #fff;
}

@media (max-width: 980px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px;
  }
  header .cta-btn {
    margin-left: 8px;
  }
}
@media (max-width: 820px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 821px) {
  .mobile-menu { display: none !important; }
}

/* Fade background behind mobile menu on open (focus accessibility) */
.mobile-menu.active::after {
  content: '';
  position: fixed;
  left: 0; right:0; top:0; bottom:0;
  background: rgba(22,50,80,0.15);
  z-index: -1;
}

/* ---------------------------------------------
  MAIN CONTENT, SPOACING, FLEX LAYOUTS
--------------------------------------------- */
main {
  width: 100%;
  margin-top: 0;
  padding: 0 0 48px 0;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(22,50,80,0.07);
}
@media (max-width: 580px) {
  section {
    padding: 28px 6px;
    margin-bottom: 36px;
    border-radius: 8px;
  }
}

/* Large cards and hero */
.hero, .card, .testimonial-card {
  border-radius: 13px;
}

ol, ul {
  margin-bottom: 16px;
  padding-left: 22px;
  color: #323a4a;
}
li {
  margin-bottom: 10px;
  line-height: 1.55;
  color: #35425e;
}
ol li::marker, ul li::marker {
  color: #1CA589;
}

/* ---------------------------------------------
  ICONS & MISCELLANEOUS ELEMENTS
--------------------------------------------- */
.feature-grid img, .contact-details img, .contact-infos img, ul img {
  width: 34px;
  height: 34px;
  margin-right: 12px;
  vertical-align: middle;
  filter: grayscale(10%) brightness(.99) contrast(1.12);
}
.footer-logo img {
  width: 64px;
  height: auto;
  margin-top: 12px;
}

/* Steps and guide lists */
ol li strong,
ul li b {
  color: #1CA589;
  font-weight: 700;
}
ol {
  counter-reset: steps;
}
ol li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 16px;
}
ol li::before {
  counter-increment: steps;
  content: counter(steps) '. ';
  position: absolute;
  left: 0;
  color: #1CA589;
  font-weight: bold;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .text-image-section,
  .feature-grid,
  .content-grid,
  .card-container {
    flex-direction: column;
    gap: 16px;
  }
}


/* ---------------------------------------------
  TESTIMONIALS & CARDS
--------------------------------------------- */
.testimonial-card {
  background: #F1F5F8;
  border-left: 4px solid #1CA589;
  color: #163250;
  min-width: 200px;
  font-size: 1.1rem;
  font-style: normal;
  font-family: 'Roboto', Arial, sans-serif;
  box-shadow: 0 2px 8px 0 rgba(22,50,80,0.08);
  transition: box-shadow 0.16s, transform 0.13s;
}
.testimonial-card strong {
  display: block;
  color: #163250;
  font-weight: 700;
  font-size: 0.97rem;
  margin-top: 3px;
  letter-spacing: 0.02em;
}
.testimonial-card:hover {
  box-shadow: 0 4px 14px 0 rgba(28,165,137,0.12);
  transform: scale(1.018);
}

/* ---------------------------------------------
  FOOTER
--------------------------------------------- */
footer {
  width: 100%;
  background: #163250;
  color: #fff;
  padding: 40px 0 18px 0;
  border-top: 2px solid #F1F5F8;
}
footer p {
  color: white;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 36px;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}
footer nav a {
  color: #fff;
  opacity: 0.88;
  margin-right: 0;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
footer nav a:hover, footer nav a:focus {
  color: #1CA589;
  text-decoration: underline;
}
footer .contact-infos {
  font-size: 1rem;
  color: #edf2f8;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 300px;
}
footer .contact-infos a {
  color: #1CA589;
  text-decoration: underline;
  font-weight: 500;
}
footer .footer-logo {
  margin-left: auto;
  margin-right: 0;
}

@media (max-width: 980px) {
  footer .container {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  footer .footer-logo {
    margin: 0 auto;
  }
}

/* ---------------------------------------------
  CONTACT PAGE DETAILS & MAP
--------------------------------------------- */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.contact-details p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}
.map {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #F1F5F8;
  padding: 16px 14px;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .map { flex-direction: column; gap: 6px; }
}

/* ---------------------------------------------
  COOKIE CONSENT BANNER & MODAL
--------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #163250;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 5vw 18px 5vw;
  z-index: 3000;
  box-shadow: 0 -2px 12px 0 rgba(22,50,80,0.18);
  gap: 18px;
  animation: bannerIn 0.55s cubic-bezier(.66,0,.32,1);
  font-size: 1rem;
}
@keyframes bannerIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-banner p { 
  margin-right: 20px;
  flex: 1 1 80%;
  color: #fff;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-banner button {
  min-width: 120px;
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 1rem;
  background: #1CA589;
  color: #fff;
  font-weight: 700;
  border: none;
  margin-right: 0px;
  transition: background 0.17s, color 0.14s;
}
.cookie-banner button:hover, .cookie-banner button:focus { background: #fff; color: #163250; }
.cookie-banner .cookie-settings-btn {
  background: #fafbfc;
  color: #163250;
  border: 1.5px solid #1CA589;
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: #1CA589;
  color: #fff;
}

/* Cookie modal overlay */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(22,50,80,.28);
  z-index: 3100;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.32s cubic-bezier(.68,0,.3,1);
}
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
.cookie-modal {
  background: #fff;
  color: #163250;
  border-radius: 16px;
  box-shadow: 0 6px 40px 0 rgba(22,50,80,0.14);
  padding: 36px 28px 28px 28px;
  max-width: 440px;
  width: 98vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalIn 0.4s cubic-bezier(.63,0,.38,1);
}
@keyframes modalIn {
  from { transform: translateY(80px) scale(0.95); opacity: 0; }
  to { transform: none; opacity:1; }
}
.cookie-modal h2 {
  font-size: 1.38rem;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 18px 0 10px 0;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
}
.cookie-modal .cookie-toggle {
  margin-left: auto;
  min-width: 42px;
}
.cookie-modal .cookie-toggle input[type="checkbox"] {
  display: none;
}
.cookie-modal .toggle-switch {
  width: 40px;
  height: 22px;
  border-radius: 20px;
  background: #F1F5F8;
  display: inline-block;
  position: relative;
  cursor: pointer;
  transition: background 0.14s;
  border: 1px solid #e2e8f0;
}
.cookie-modal .toggle-switch::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 2px;
  top: 1.5px;
  background: #163250;
  border-radius: 50%;
  transition: left 0.17s, background 0.17s;
}
.cookie-modal .cookie-toggle input[type="checkbox"]:checked + .toggle-switch {
  background: #1CA589;
  border-color: #1CA589;
}
.cookie-modal .cookie-toggle input[type="checkbox"]:checked + .toggle-switch::after {
  left: 20px;
  background: #fff;
}
.cookie-modal .category-label {
  font-size: 1rem;
  font-weight: 500;
  color: #163250;
}
.cookie-modal .always-on {
  color: #aaa;
  font-size: 0.98em;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal .cookie-modal-actions button {
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 1rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  outline: none;
}
.cookie-modal .close-modal {
  background: #fff;
  color: #163250;
  border: 1.5px solid #1CA589;
  margin-left: 9px;
}
.cookie-modal .close-modal:hover {
  background: #F1F5F8; color: #1CA589;
}

@media (max-width:550px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; padding: 18px 12px; gap: 12px;}
  .cookie-banner .cookie-btns { flex-direction: column; gap: 8px; }
}

/* ---------------------------------------------
  UTILITIES, SPACING, ANIMATION
--------------------------------------------- */
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
@media (max-width:600px) {
  .gap-20, .gap-24, .gap-32 { gap: 12px !important; }
}

/* Subtle animation for .cta-btn and .card */
.cta-btn, .card, .feature-grid > div, .testimonial-card {
  transition: box-shadow 0.14s, background 0.18s, color 0.10s, transform 0.15s;
}

/* ---------------------------------------------
  ACCESSIBILITY IMPROVEMENTS
--------------------------------------------- */
:focus-visible {
  outline: 2px solid #1CA589;
  outline-offset: 2px;
}

/* ---------------------------------------------
  PRINT STYLES (hide menu/footer/banner)
--------------------------------------------- */
@media print {
  header, nav, .mobile-menu, .cookie-banner, .cookie-modal-overlay, footer { display: none !important; }
  main, .container, section { background: #fff !important; box-shadow: none !important; color: #000 !important; }
}
