/* ------------------------------ CSS RESET & BASE ------------------------------- */
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, 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, main, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #FBFAF7;
  color: #234168;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
ul,
ol {
  list-style: none;
}
a {
  color: #234168;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #50B47B;
}

/* ------------------------------ TYPOGRAPHY ------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: bold;
  color: #234168;
}
h1 {
  font-size: 2.3rem; /* 36-38px mobile */
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
h2 {
  font-size: 1.7rem; /* 28px mobile */
  margin-bottom: 16px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1rem;
}
.subtitle, .section p.subtitle {
  font-size: 1.2rem;
  color: #4F3D1D;
  margin-bottom: 20px;}

p, ul li, ol li {
  font-family: "Roboto", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 14px;
  color: #234168;
}
strong, b {
  color: #234168;
  font-weight: 600;
}

/* ------------------------------ LAYOUT ------------------------------- */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px 0 rgba(223,158,55,0.052), 0 1.5px 6px 0 rgba(80,180,123,0.05);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(223,158,55,0.06);
  padding: 24px 20px;
  min-width: 260px;
}
.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;
  margin-bottom: 20px;
  background: #FBECD9;
  border-radius: 18px;
  box-shadow: 0 1.5px 8px rgba(80,180,123,0.05);
  flex-direction: column;
}
.testimonial-card p {
  color: #234168;
  font-size: 1.1rem;
}
.testimonial-card .rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 8px 0;
}
.testimonial-card span {
  color: #4F3D1D;
  font-size: 0.98rem;
  margin-top: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* ------------------------------ HEADER & NAV ------------------------------- */
header {
  background: #fff;
  box-shadow: 0 2px 16px rgba(223,158,55,0.04);
  border-radius: 0 0 16px 16px;
  padding: 0;
  margin-bottom: 32px;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
}
.logo img {
  height: 42px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  font-family: "Montserrat", Arial, sans-serif;
  padding: 10px 12px;
  font-size: 1rem;
  border-radius: 10px;
  color: #234168;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover,
.main-nav a.active {
  background: #F1F5FB;
  color: #50B47B;
}

.btn-primary {
  background: #50B47B;
  color: #fff;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 11px 28px;
  border-radius: 24px;
  border: none;
  box-shadow: 0 1.5px 8px rgba(80,180,123,0.09);
  outline: none;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s;
  margin-left: 12px;
  display: inline-block;
  text-align: center;
}
.btn-primary:hover, .btn-primary:focus {
  background: #234168;
  color: #fff;
  box-shadow: 0 4px 16px rgba(80,180,123,0.13);
}
.btn-secondary {
  background: #fff;
  color: #50B47B;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 11px 28px;
  border-radius: 24px;
  border: 2px solid #50B47B;
  box-shadow: 0 1.5px 8px rgba(80,180,123,0.06);
  outline: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  margin-left: 0;
  display: inline-block;
  text-align: center;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #50B47B;
  color: #fff;
}

/* Hamburger/mobile menu button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 32px;
  line-height: 1;
  color: #234168;
  cursor: pointer;
  padding: 9px 12px;
  margin-left: 8px;
  border-radius: 50%;
  transition: background 0.13s, color 0.13s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F1F5FB;
  color: #50B47B;
}

/* ------------------ MOBILE NAVIGATION (HAMBURGER MENU) ------------------ */
.mobile-menu {
  position: fixed;
  z-index: 2150;
  top: 0;
  left: 0;
  height: 100vh;
  width: 340px;
  max-width: 90vw;
  background: #FBECD9;
  box-shadow: 2px 0 16px 2px rgba(35,65,104,0.09);
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.6,0.0,0.2,1);
  display: flex;
  flex-direction: column;
  padding: 0 0 32px 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #234168;
  font-size: 30px;
  margin: 24px 0 20px 24px;
  align-self: flex-start;
  cursor: pointer;
  border-radius: 50%;
  padding: 8px 10px;
  transition: background 0.16s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #fff1ea;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 4px 32px;
}
.mobile-nav a {
  display: block;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.09rem;
  padding: 12px;
  border-radius: 12px;
  color: #234168;
  background: none;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #fff9f0;
  color: #50B47B;
}

/* Overlay effect when menu open */
body.mobile-overlay {
  overflow: hidden;
}
.mobile-menu::before {
  content: "";
  position: fixed;
  left: 340px;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35,65,104,0.25);
  z-index: -1;
  display: none;
}
.mobile-menu.open::before {
  display: block;
}

/* Hide desktop nav, show mobile icon on small screens */
@media (max-width: 991px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 992px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ------------------------------ HERO SECTIONS ------------------------------- */
.hero {
  background: #FBECD9;
  border-radius: 20px;
  padding: 48px 0;
  margin-bottom: 38px;
}
.hero .content-wrapper {
  align-items: flex-start;
  justify-content: center;
}
.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 14px;
  color: #234168;
}
.hero p {
  font-size: 1.2rem;
  color: #4F3D1D;
  margin-bottom: 28px;
}
.hero .btn-primary {
  margin-top: 10px;
}

/* ------------------------------ FEATURE LISTS, PROCESS ------------------------------- */
.features ul, .values ul, .services ul, .benefits ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 24px 0 0 0;
  padding: 0;
}
.features ul li, .values ul li, .services ul li, .benefits ul li {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1.5px 7px rgba(223,158,55,0.058);
  padding: 18px 16px;
  flex: 1 1 220px;
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 17px;
  margin-bottom: 0;
  color: #234168;
  font-size: 1rem;
  transition: box-shadow 0.21s;
}
.features ul li img, .values ul li img, .benefits ul li img {
  width: 32px;
  height: 32px;
  margin-right: 10px;
}
.features ul li:hover, .values ul li:hover, .services ul li:hover, .benefits ul li:hover {
  box-shadow: 0 4px 20px rgba(80,180,123,0.10), 0 1.5px 7px rgba(223,158,55,0.07);
}

.process ol {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0 0 0;
  list-style: none;
  padding: 0;
}
.process ol li {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1.5px 7px rgba(80,180,123,0.06);
  padding: 18px 16px;
  flex: 1 1 220px;
  min-width: 200px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: #234168;
  font-size: 1rem;
  margin-bottom: 0;
}
.process ol li img {
  width: 28px;
  height: 28px;
}

/* ------------------------------ CARDS & BLOG ELEMENTS ------------------------------- */
.blog-list .blog-post-card, .case-studies .case-study-card, .team-grid .team-member {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1.5px 10px rgba(223,158,55,0.057);
  padding: 20px 18px 20px 20px;
  margin-bottom: 20px;
  min-width: 220px;
  transition: box-shadow 0.18s;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.blog-list .blog-post-card:hover, .case-studies .case-study-card:hover, .team-grid .team-member:hover {
  box-shadow: 0 4px 18px rgba(80,180,123,0.11), 0 1.5px 7px rgba(223,158,55,0.07);
}
.blog-list .blog-post-card h3, .case-study-card h3, .team-member h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: #234168;
}
.case-study-card ul, .team-member p {
  font-size: 1rem;
}
.blog-post-card span, .case-study-card span, .team-member span {
  color: #4F3D1D;
  font-size: 0.98rem;
}
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.team-member {
  flex: 1 1 240px;
  min-width: 240px;
}

/* ------------------------------ CTA SECTIONS ------------------------------- */
.cta, .cta-newsletter, .contact-cta {
  background: #FBECD9;
  border-radius: 20px;
  padding: 36px 22px;
  margin-bottom: 36px;
  margin-top: 40px;
  box-shadow: 0 1.5px 8px rgba(80,180,123,0.09);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.cta h2, .cta-newsletter h2, .contact-cta h2 {
  color: #234168;
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.cta p, .cta-newsletter p, .contact-cta p {
  color: #4F3D1D;
  margin-bottom: 24px;
}
.cta .btn-primary, .cta-newsletter .btn-primary, .contact-cta .btn-primary {
  margin-top: 16px;
}

/* ------------------------------ CONTACT SECTIONS ------------------------------- */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0;
  margin-top: 12px;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #234168;
  font-size: 1rem;
}
.contact-details img {
  width: 26px;
  height: 26px;
}
.contact-details a {
  color: #50B47B;
  text-decoration: underline;
  transition: color 0.18s;
}
.contact-details a:hover {
  color: #234168;
}

/* ------------------------------ FOOTER ------------------------------- */
footer {
  background: #fbede1;
  border-radius: 18px 18px 0 0;
  padding: 30px 0 15px 0;
  margin-top: 40px;
  box-shadow: 0 -3px 16px rgba(223,158,55,0.05);
  color: #234168;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 7px;
}
.footer-nav a {
  color: #234168;
  font-size: 0.98rem;
  border-radius: 8px;
  padding: 6px 14px;
  font-family: "Montserrat", Arial, sans-serif;
  transition: background 0.15s, color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #FBECD9;
  color: #50B47B;
}
footer p {
  color: #4F3D1D;
  font-size: 0.97rem;
}
footer img {
  width: 52px;
  height: auto;
  margin-bottom: 6px;
}

/* ------------------------------ COOKIE CONSENT BANNER ------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #FBECD9;
  color: #234168;
  border-top: 2px solid #FDB664;
  box-shadow: 0 -1.5px 16px rgba(223,158,55,0.09);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 22px 10px 20px 10px;
  font-size: 1rem;
  transition: transform 0.25s ease;
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner-message {
  flex: 2 1 300px;
  max-width: 430px;
}
.cookie-banner-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-banner button {
  border: none;
  outline: none;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 22px;
  padding: 8px 23px;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(223,158,55,0.045);
  transition: background 0.18s, color 0.18s;
  margin: 2px 0;
}
.cookie-banner .accept {
  background: #50B47B;
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #234168;
  color: #fff;
}
.cookie-banner .reject {
  background: #fff;
  color: #234168;
  border: 2px solid #50B47B;
  margin-left: 0;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  color: #fff;
  background: #50B47B;
}
.cookie-banner .settings {
  background: transparent;
  color: #234168;
  border: 2px solid #FDB664;
  padding: 8px 10px;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #fff1ea;
  color: #50B47B;
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35,65,104,0.20);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 64px rgba(35,65,104,0.09);
  padding: 36px 26px 24px 26px;
  max-width: 410px;
  min-width: 270px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}
.cookie-modal-title {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.25rem;
  color: #234168;
  margin-bottom: 8px;
  font-weight: bold;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.cookie-modal-category label {
  font-size: 1.05rem;
  color: #234168;
  cursor: pointer;
}
.cookie-modal-category input[type="checkbox"]:disabled + label {
  color: #999;
  font-weight: 400;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal-actions button {
  font-size: 1rem;
  border-radius: 22px;
  box-shadow: 0 1.5px 6px rgba(80,180,123,0.03);
  padding: 8px 17px;
  outline: none;
  border: none;
  cursor: pointer;
  color: #fff;
  background: #50B47B;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 600;
  transition: background 0.16s, color 0.16s;
}
.cookie-modal-actions .cancel {
  background: #fff;
  color: #234168;
  border: 2px solid #50B47B;
}
.cookie-modal-actions .cancel:hover {
  background: #FBECD9;
  color: #50B47B;
}
.cookie-modal-actions .save {
  background: #50B47B;
  color: #fff;
}
.cookie-modal-actions .save:hover {
  background: #234168;
}

/* ------------------------------ RESPONSIVE - MOBILE FIRST ------------------------------- */
@media (max-width: 991px) {
  .container { max-width: 100vw; }
  .footer-nav { flex-wrap: wrap; gap: 8px; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.2rem; }
  .section, .cta, .cta-newsletter, .contact-cta {
    padding: 26px 7px;
    border-radius: 16px;
  }
  .hero {
    padding: 22px 0;
    border-radius: 13px;
  }
  .features ul, .values ul, .services ul, .benefits ul {
    flex-direction: column;
    gap: 14px;
  }
  .process ol {
    flex-direction: column;
    gap: 13px;
  }
  .contact-details {
    gap: 8px;
  }
  .testimonial-card {
    padding: 18px 8px;
    border-radius: 13px;
  }
  .content-grid, .team-grid, .card-container {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  .main-nav { display: none; }
  .mobile-menu-toggle {
    display: inline-block;
    font-size: 2rem;
  }
}
@media (max-width: 540px) {
  body { font-size: 15px; }
  h1 { font-size: 1.17rem; }
  .section, .cta, .cta-newsletter, .contact-cta {
    padding: 12px 3px;
    border-radius: 10px;
  }
  .hero { padding: 10px 0; border-radius: 8px; }
  .footer-nav a { padding: 4px 7px; }
  .btn-primary, .btn-secondary {
    padding: 9px 10px;
    font-size: 0.97rem;
  }
  .cookie-banner {
    flex-direction: column;
    padding: 12px 3px 8px 3px;
    font-size: 0.98rem;
  }
  .cookie-banner-message { max-width: 95vw; }
}

/* -------------------------------- EFFECTS & MICRO-INTERACTIONS ------------------------------- */
.btn-primary, .btn-secondary, .footer-nav a, .main-nav a, .mobile-menu-toggle, .mobile-menu-close, .mobile-nav a {
  transition: background 0.21s, color 0.21s, box-shadow 0.19s;
}
.card, .testimonial-card, .team-member, .case-study-card, .blog-post-card, .features ul li, .process ol li {
  transition: box-shadow 0.17s;
}
.card:hover, .testimonial-card:hover, .team-member:hover, .case-study-card:hover, .blog-post-card:hover, .features ul li:hover, .process ol li:hover {
  box-shadow: 0 8px 24px rgba(80,180,123,0.14), 0 2px 7px rgba(223,158,55,0.09);
}

/* Focus visible for all interactive elements */
a:focus, button:focus, .btn-primary:focus, .btn-secondary:focus, .footer-nav a:focus, .main-nav a:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus, .mobile-nav a:focus {
  outline: 2px solid #50B47B;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #FBECD9;
}

/* ------------------------------ UTILITY CLASSES ------------------------------- */
.rounded {
  border-radius: 12px !important;
}
.soft-shadow {
  box-shadow: 0 1.5px 8px rgba(223,158,55,0.06) !important;
}

/* ------------------------------ ACCESSIBILITY: HIGH CONTRAST ------------------------------- */
.testimonial-card, .testimonial-card p, .testimonial-card span {
  color: #234168 !important;
}

/* To avoid accidental content overlap */
.card, .testimonial-card, .team-member, .case-study-card, .blog-post-card {
  margin-right: 0;
  margin-left: 0;
}

/* ------------------------- THANK YOU, SUCCESS, ERROR SCREENS ----------------------------- */
.thank-you, .privacy-policy, .terms-of-service, .cookie-policy, .rodo {
  background: #FBECD9;
  border-radius: 20px;
  padding: 40px 20px;
  margin-bottom: 40px;
  margin-top: 30px;
  box-shadow: 0 1.5px 8px rgba(80,180,123,0.08);
  text-align: center;
}
.thank-you h1 {
  color: #50B47B;
  font-size: 2rem;
  margin-bottom: 16px;
}

/* ------------------------------ PRINT SAFE ------------------------------- */
@media print {
  header, nav, .main-nav, .mobile-menu-toggle, .mobile-menu, .cookie-banner, .cookie-modal-overlay, footer {
    display: none !important;
  }
  .section, .hero, main, body, html {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
  }
}
