/* --- 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #FDFCFB;
  color: #2D414B;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ol, ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input[type='button'], input[type='submit'] {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* --- SOFT PASTEL PALETTE OVERRIDES (Brand+Pastel) --- */
:root {
  --soft-pastel-blue: #cbeafe;
  --soft-pastel-green: #c9f7d7;
  --soft-pastel-pink: #fbe4e6;
  --soft-pastel-yellow: #f9f7e9;
  --soft-pastel-purple: #ede9f5;
  --brand-primary: #176684;
  --brand-secondary: #54A14D;
  --brand-accent: #F9F7E9;
  --brand-dark: #2D414B;
  --brand-light: #FFFFFF;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: var(--brand-primary);
}
h1 {
  font-size: 2.4rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-weight: 500;
}
p {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #355a63;
}
strong {
  font-weight: 700;
}
a {
  color: var(--brand-primary);
  transition: color 0.2s;
}
a:hover, a:focus {
  color: var(--brand-secondary);
}

/* --- GENERAL LAYOUT CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--soft-pastel-yellow);
  border-radius: 32px;
  box-shadow: 0 4px 24px 0 rgba(194,210,220,0.11);
}
@media (max-width: 900px) {
  .section { padding: 32px 10px; }
  .container { padding: 0 10px; }
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--soft-pastel-blue);
  border-radius: 22px;
  box-shadow: 0 3px 14px 0 rgba(150,173,187,0.13);
  overflow: hidden;
  position: relative;
  min-width: 260px;
  flex: 1 1 260px;
  transition: box-shadow 0.2s, transform 0.23s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px 0 rgba(119, 168, 182, 0.20);
  transform: translateY(-4px) scale(1.012);
}

.text-section {
  background: var(--soft-pastel-purple);
  border-radius: 22px;
  box-shadow: 0 2px 12px 0 rgba(150,173,187,.08);
  padding: 32px 20px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

.approach-grid, .services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}
.approach-grid > div, .services-grid > div {
  flex: 1 1 280px;
  min-width: 260px;
  background: var(--soft-pastel-green);
  border-radius: 20px;
  box-shadow: 0 3px 14px 0 rgba(84, 161, 77, 0.07);
  padding: 22px 16px 18px 16px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, background 0.25s;
}
.approach-grid > div:hover, .services-grid > div:hover {
  background: #e8fce4;
  box-shadow: 0 6px 28px 0 rgba(84, 161, 77, 0.13);
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 22px;
  justify-content: center;
}

.brand-logo {
  margin-top: 26px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.brand-logo img {
  width: 110px;
  filter: drop-shadow(0px 2px 4px #eaf0fb);
}

/* --- HEADER (NAV LAYOUT & STYLES) --- */
header {
  background: linear-gradient(90deg, var(--soft-pastel-blue) 0%, var(--soft-pastel-yellow) 40%, var(--soft-pastel-green) 100%);
  box-shadow: 0 1px 14px 0 rgba(23, 102, 132, .06);
  border-radius: 0 0 30px 30px;
  padding: 22px 0 14px 0;
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
header > a img {
  height: 46px;
  width: auto;
}
nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: var(--brand-primary);
  background: none;
  padding: 8px 14px;
  border-radius: 16px;
  transition: background 0.15s, color 0.13s;
  font-size: 1rem;
}
nav a.cta {
  background: linear-gradient(90deg, #fbe4e6 0%, #c9f7d7 100%);
  color: #25726d;
  font-weight: 700;
  box-shadow: 0 1px 8px 0 rgba(181,186,197,0.13);
  border-radius: 22px;
  padding: 10px 22px;
  margin-left: 12px;
  transition: background 0.22s, color 0.22s, box-shadow 0.2s;
}
nav a.cta:hover, nav a.cta:focus {
  background: linear-gradient(94deg, #e9d3e7 0%, #e8fce4 100%);
  color: var(--brand-primary);
  box-shadow: 0 4px 18px 0 rgba(84, 161, 77, 0.18);
}
nav a:hover, nav a:focus {
  background: var(--soft-pastel-pink);
  color: var(--brand-secondary);
}

/* --- HEADER MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  position: relative;
  z-index: 30;
  background: #fff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  color: var(--brand-primary);
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px 0 rgba(23,102,132,.05);
  transition: background 0.16s, color 0.16s, box-shadow 0.14s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--soft-pastel-green);
  color: var(--brand-secondary);
  outline: none;
}
@media (max-width: 1000px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    margin-left: auto;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(247, 247, 252, 0.93);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.4,.05,.7,1.08);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 24px 28px 8px 0;
  background: #fff;
  color: var(--brand-primary);
  font-size: 2.1rem;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  box-shadow: 0 3px 16px 0 rgba(155,192,232,0.10);
  transition: background 0.17s, color 0.17s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--soft-pastel-blue);
  color: var(--brand-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  align-items: center;
  margin-top: 24px;
}
.mobile-nav a {
  font-size: 1.25rem;
  padding: 15px 32px;
  border-radius: 22px;
  background: var(--soft-pastel-yellow);
  color: var(--brand-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  box-shadow: 0 1.5px 7px 0 rgba(225,189,202,0.08);
  transition: background 0.14s, color 0.16s;
  margin-bottom: 6px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--soft-pastel-pink);
  color: var(--brand-secondary);
}

@media (min-width: 1001px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* --- MAIN BUTTONS & CTA --- */
.cta,
button.cta,
input[type="submit"].cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #fbe4e6 0%, #cbeafe 100%);
  color: var(--brand-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.04rem;
  border-radius: 26px;
  padding: 13px 36px;
  margin-top: 10px;
  box-shadow: 0 2px 9px 0 rgba(77,174,200,0.13);
  border: none;
  transition: background 0.19s, color 0.18s, box-shadow 0.13s, transform 0.13s;
  cursor: pointer;
  text-align: center;
  letter-spacing: 0.01em;
}
.cta:hover,
.cta:focus {
  background: linear-gradient(90deg, #e9d3e7 0%, #e8fce4 100%);
  color: var(--brand-secondary);
  box-shadow: 0 4px 16px 0 rgba(84,161,77,.17);
  transform: translateY(-2px) scale(1.03);
  outline: none;
}

/* --- CARD, FEATURE, TESTIMONIAL --- */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.testimonial-card {
  background: var(--soft-pastel-yellow);
  border-left: 8px solid var(--soft-pastel-blue);
  box-shadow: 0 2px 10px 0 rgba(97,118,151,.07);
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  color: var(--brand-dark);
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.testimonial-card p {
  color: var(--brand-dark);
  font-size: 1.08rem;
  margin-right: 10px;
  font-style: italic;
  margin-bottom: 0;
}
.testimonial-card span {
  font-size: 0.98rem;
  font-weight: 600;
  color: #49595b;
}
.testimonial-card:hover {
  box-shadow: 0 6px 30px 0 rgba(81, 133, 184, 0.11);
  border-left-color: var(--brand-primary);
}

/* --- LIST STYLES (with icons) --- */
ul li, ol li {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  gap: 14px;
  font-size: 1rem;
}
ul li img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 7px;
  background: var(--soft-pastel-green);
  padding: 4px;
  margin-right: 2px;
}
ul li strong {
  margin-right: 4px;
}
@media (max-width: 700px) {
  ul li, ol li { font-size: 0.98rem; }
  ul li img { width: 18px; height: 18px; }
}

/* --- FOOTER --- */
footer {
  background: var(--soft-pastel-blue);
  padding: 34px 0 14px 0;
  border-radius: 40px 40px 0 0;
  box-shadow: 0 -2px 12px 0 rgba(176,202,229,0.11);
  margin-top: 50px;
  font-size: 0.97rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin: 0 0 14px 0;
}
footer nav a, .footer-menu a {
  color: var(--brand-primary);
  font-weight: 500;
  opacity: 0.87;
  padding: 8px 12px;
  letter-spacing: 0.01em;
  border-radius: 15px;
  background: transparent;
}
footer nav a:hover, footer nav a:focus, .footer-menu a:hover, .footer-menu a:focus {
  background: var(--soft-pastel-pink);
  color: var(--brand-secondary);
  opacity: 1;
}

/* --- FORMS, INPUTS (if used) --- */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 12px;
  border: 1.5px solid #e3e9ef;
  padding: 10px 16px;
  background: #fbfafd;
  margin-bottom: 16px;
  transition: border 0.18s, box-shadow 0.18s;
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--brand-primary);
  box-shadow: 0 2px 8px 0 rgba(23,102,132,0.08);
}

::-webkit-input-placeholder { color: #adbaa6; font-size: 0.98rem; }
::-moz-placeholder { color: #adbaa6; font-size: 0.98rem; }
:-ms-input-placeholder { color: #adbaa6; font-size: 0.98rem; }
::placeholder { color: #adbaa6; font-size: 0.98rem; }

/* --- COOKIE CONSENT BANNER & MODAL --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fbe4e6;
  color: #2D414B;
  box-shadow: 0px -2px 16px 0px rgba(170,184,192,0.19);
  padding: 28px 24px 22px 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  font-size: 1.02rem;
  border-radius: 20px 20px 0 0;
  animation: slideUpCookie 0.6s cubic-bezier(.16,.54,.23,1.16);
}
@keyframes slideUpCookie {
  from { transform: translateY(100px); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.cookie-banner-buttons {
  display: flex;
  gap: 18px;
  margin-top: 10px;
}
.cookie-banner button {
  padding: 9px 22px;
  border-radius: 20px;
  background: var(--soft-pastel-green);
  color: var(--brand-dark);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  box-shadow: 0 1px 6px 0 rgba(162,212,171,0.14);
  margin-right: 4px;
  transition: background 0.19s, color 0.13s;
  border: none;
}
.cookie-banner button.accept {
  background: linear-gradient(90deg, var(--soft-pastel-green) 0%, var(--soft-pastel-yellow) 100%);
  color: var(--brand-secondary);
  font-weight: 700;
}
.cookie-banner button.reject {
  background: #fde7ee;
  color: #ae5c79;
}
.cookie-banner button.settings {
  background: #ede9f5;
  color: #7d62c3;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--soft-pastel-blue);
  color: var(--brand-primary);
  outline: none;
}

/* Modal overlay for cookie preferences */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(23,102,132,0.13);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInCookie 0.3s cubic-bezier(.13,.64,.33,1.08);
}
@keyframes fadeInCookie {
  from { opacity: 0; }
  to { opacity: 1; }
}

.cookie-modal {
  background: #fffdf9;
  color: var(--brand-primary);
  padding: 32px 27px 25px 27px;
  border-radius: 19px;
  box-shadow: 0 10px 60px 0 rgba(11,31,63,0.21);
  display: flex;
  flex-direction: column;
  min-width: 310px;
  max-width: 98vw;
  gap: 17px;
  position: relative;
  animation: slideDownCookieModal 0.35s cubic-bezier(.13,.64,.33,1.08);
}
@keyframes slideDownCookieModal {
  from { transform: translateY(-60px); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--brand-primary);
}
.cookie-category {
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee9f7;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.cookie-category label {
  font-size: 1.01rem;
  color: #356752;
  font-weight: 600;
}
.cookie-category input[type="checkbox"] {
  margin-right: 6px;
  accent-color: var(--brand-secondary);
  width: 18px; height: 18px;
}
.cookie-category input[disabled] {
  accent-color: #bcbbc1;
  cursor: not-allowed;
}
.cookie-modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.cookie-modal-actions button {
  background: var(--soft-pastel-green);
  color: var(--brand-dark);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 20px;
  padding: 8px 24px;
  margin-right: 4px;
  border: none;
  transition: background 0.18s, color 0.13s;
}
.cookie-modal-actions button.save {
  background: var(--brand-secondary);
  color: #fff;
}
.cookie-modal-actions button.close {
  background: #ede9f5;
  color: var(--brand-primary);
}
.cookie-modal-actions button:hover { background: var(--soft-pastel-blue); color: var(--brand-primary); }

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 900px) {
  .approach-grid, .services-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
}
@media (max-width: 700px) {
  h1 {
    font-size: 1.65rem;
    margin-bottom: 16px;
  }
  h2 {
    font-size: 1.30rem;
    margin-bottom: 12px;
  }
  .section { padding: 18px 5px; margin-bottom: 36px; }
  .testimonial-card { flex-direction: column; gap: 12px; padding: 15px; }
  .text-section { border-radius: 14px; padding: 15px 9px; }
  .approach-grid > div, .services-grid > div { border-radius: 14px; padding: 15px 10px; }
}
@media (max-width: 400px) {
  .cta { font-size: 0.97rem; padding: 9px 16px; }
  .cookie-modal { padding: 15px 5px; }
}

/* --- MICROINTERACTIONS FOR VISUAL SOFT PASTEL FEEL --- */
.card, .content-wrapper, .testimonial-card, .cta, .services-grid > div, .approach-grid > div, .text-section {
  transition: box-shadow 0.22s, transform 0.13s, background 0.12s;
}
.card:active, .services-grid > div:active, .approach-grid > div:active {
  transform: scale(0.97);
}

/* --- Z-INDEX for Menus & Cookie Banner --- */
.mobile-menu, .mobile-menu.open { z-index: 999; }
.cookie-banner { z-index: 9999; }
.cookie-modal-backdrop { z-index: 10001; }

/* --- NO OVERLAP ENFORCE: Force gaps/margins --- */
.section, .card, .testimonial-card, .services-grid > div, .approach-grid > div, .content-wrapper, .text-section, .footer-menu, .brand-logo {
  margin-bottom: 20px;
}

/* --- Utility helpers if needed --- */
.hidden { display: none !important; }

/* END CSS */
