/*
===================== 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, menu, 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, 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;
  background: #F9FBE7;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  color: #202924;
  background: #F9FBE7;
  line-height: 1.6;
  font-size: 16px;
  letter-spacing: 0.02em;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #0288D1;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #2E7D32;
}
ul, ol {
  list-style-position: outside;
  padding-left: 24px;
  margin: 12px 0;
}
button, .button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  border: none;
  border-radius: 24px;
  box-shadow: 0 1px 4px rgba(100,100,120,0.07);
  padding: 12px 32px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  transition: background 0.22s, color 0.19s, box-shadow 0.22s, transform 0.15s;
  outline: none;
  display: inline-block;
  margin: 8px 0;
}
.button.primary, .main-nav a.button.primary {
  background: #0288D1;
  color: #fff;
  box-shadow: 0 2px 12px rgba(2,136,209,0.08);
}
.button.primary:hover, .main-nav a.button.primary:hover {
  background: #2E7D32;
  color: #fff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 20px rgba(46,125,50,0.07);
}
.button.secondary {
  background: #fff;
  color: #0288D1;
  border: 2px solid #0288D1;
}
.button.secondary:hover {
  background: #0288D1;
  color: #fff;
}
.button.outline {
  background: transparent;
  color: #2E7D32;
  border: 1.5px solid #2E7D32;
}
.button.outline:hover {
  background: #E6FFF4;
}

/*
===================== TYPOGRAPHY (Soft Pastel) =====================
*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #252835;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.8rem; line-height: 1.14; margin-bottom: 18px; }
h2 { font-size: 2rem;  margin-bottom: 16px; }
h3 { font-size: 1.3rem; margin-bottom: 10px; }
h4 { font-size: 1.12rem; margin-bottom: 8px; }
.hero h1 {
  color: #2E7D32;
  text-shadow: 0 2px 18px rgba(46,125,50,0.04);
}
section h2 {
  color: #0288D1;
}
strong {
  font-weight: 700;
  color: #2E7D32;
}
p, li, span {
  font-size: 1rem;
  color: #444A57;
  line-height: 1.6;
}
.text-section h3 {
  margin-top: 16px;
  color: #0288D1;
  font-size: 1.2rem;
}

/*
===================== CONTAINER LAYOUTS (Flexbox Only) =====================
*/
.container {
  width: 100%;
  max-width: 1120px;
  padding-right: 20px;
  padding-left: 20px;
  margin-right: auto;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(90,140,140,0.06);
  padding: 28px 24px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 4px 24px rgba(46,125,50,0.13);
  transform: translateY(-4px) scale(1.012);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 20px;
  background: #f8f1fc;
  box-shadow: 0 1px 8px rgba(2,136,209,0.08);
  border: 1px solid #ede1fa;
  min-width: 252px;
  max-width: 520px;
  transition: box-shadow 0.2s;
}
.testimonial-card p {
  color: #303A54;
  font-size: 1.09rem;
}
.testimonial-card span {
  font-size: 0.98rem;
  font-style: italic;
  color: #2E7D32;
  font-weight: 600;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fffaf8;
  border-radius: 18px;
  box-shadow: 0 1px 12px rgba(2,136,209,0.04);
  padding: 24px 20px;
  min-width: 200px;
  max-width: 270px;
  flex: 1 1 220px;
  border: 1.5px solid #edeecd;
  transition: box-shadow 0.15s;
}
.feature-item h3 {
  color: #0288D1;
  font-size: 1.15rem;
}
.feature-item img {
  height: 48px;
  width: 48px;
  border-radius: 14px;
  background: #E6F7FE;
  padding: 8px;
}
.feature-grid {
  display: flex !important;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: transparent;
}
.team-list, .service-list, .blog-list, .faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.team-member, .service-item, .blog-post, .faq-item {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1px 8px rgba(2,136,209,0.07);
  padding: 22px 20px;
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 370px;
  flex: 1 1 240px;
}
.service-price {
  background: #E0F7FA;
  color: #2E7D32;
  border-radius: 16px;
  padding: 4px 14px;
  font-size: 0.96rem;
  font-weight: 500;
  margin: 6px 0 12px 0;
  display: inline-block;
}
.faq-list {
  flex-direction: column;
  gap: 20px;
}
.faq-item h3 {
  color: #2E7D32;
  font-size: 1.12rem;
}
.blog-post .blog-link {
  color: #2E7D32;
  font-weight: 600;
  margin-top: 8px;
  display: inline-block;
  transition: color 0.18s;
}
.blog-post .blog-link:hover {
  color: #0288D1;
  text-decoration: underline;
}
.cta {
  background: linear-gradient(90deg, #F9FBE7 65%, #FCE4EC 100%);
  border-radius: 30px;
  padding: 48px 20px;
  box-shadow: 0 3px 30px rgba(250,202,250,0.11);
  text-align: center;
  margin: 36px auto;
  align-items: center;
}
.cta h2 {
  color: #2E7D32;
  font-size: 2rem;
}
.cta p {
  color: #252835;
  margin: 12px 0 32px 0;
}

/*
===================== HEADER & NAVIGATION =====================
*/
header {
  background: #fff;
  box-shadow: 0 2px 16px rgba(2,136,209,0.045);
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
  position: relative;
}
.logo img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #444A57;
  padding: 4px 10px;
  font-size: 1rem;
  border-radius: 20px;
  transition: color 0.2s, background 0.16s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #0288D1;
  background: #E6F7FE;
}

/* Hide mobile nav and hamburger for desktop */
.mobile-menu-toggle {
  display: none;
}
.mobile-menu {
  display: none;
}

header .button.primary {
  margin-left: 10px;
}

/*
===================== HERO =====================
*/
.hero {
  background: linear-gradient(90deg, #FFF9F4 0%, #E1F5FE 65%, #E3F2FD 100%);
  border-radius: 30px;
  margin-top: 28px;
  margin-bottom: 56px;
  box-shadow: 0 3px 22px rgba(46,125,50,0.06);
  padding: 60px 14px;
}
.hero .container {
  align-items: flex-start;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: #2E7D32;
}
.hero p {
  margin-bottom: 24px;
  max-width: 700px;
  font-size: 1.12rem;
  color: #3F444A;
}

/*
===================== FOOTER =====================
*/
footer {
  background: #F9FBE7;
  border-top: 1.5px solid #C8E6C9;
  padding: 38px 0 26px 0;
  margin-top: 56px;
  font-size: 0.99rem;
}
.footer-nav {
  display: flex;
  gap: 17px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #2E7D32;
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.18s;
}
.footer-nav a:hover {
  color: #0288D1;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  font-size: 0.97rem;
  margin-bottom: 11px;
  color: #252835;
}
.footer-contact img {
  margin: 0 4px -2px 12px;
  height: 20px;
  width: 20px;
}
.footer-logo {
  margin-top: 12px;
  display: flex;
  align-items: center;
}
.footer-logo img {
  height: 40px;
}

/*
===================== BLOG & TEAM LISTS =====================
*/
.blog-list {
  gap: 32px;
}
.blog-post {
  background: #FEFCFD;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(154,208,200,0.10);
  min-width: 260px;
}
.team-list {
  gap: 28px;
}
.team-member h3 {
  color: #0288D1;
  font-size: 1.11rem;
  margin-bottom: 7px;
}

/*
===================== FORM STYLES (Newsletter etc.) =====================
*/
input, textarea, select {
  font: inherit;
  border-radius: 16px;
  border: 1.5px solid #B2DFDB;
  background: #fff;
  padding: 12px 16px;
  margin-bottom: 14px;
  font-size: 1rem;
  transition: border 0.14s;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #0288D1;
}
label {
  display: block;
  color: #0288D1;
  font-weight: 500;
  margin-bottom: 4px;
}

/*
===================== MOBILE MENU =====================
*/
.mobile-menu-toggle {
  display: none;
  background: #0288D1;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 12px;
  padding: 8px 16px;
  margin-left: 8px;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.15s;
  z-index: 200;
}
.mobile-menu-toggle:active {
  background: #2E7D32;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(255,255,255,0.98);
  z-index: 3000;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transition: transform 0.36s cubic-bezier(.69,.03,.25,1), opacity 0.35s;
  transform: translateX(100%);
  opacity: 0;
}
.mobile-menu.open {
  display: flex;
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  background: none;
  color: #2E7D32;
  border: none;
  margin: 26px 0 0 22px;
  cursor: pointer;
  padding: 0;
  z-index: 4000;
  align-self: flex-start;
  transition: color 0.15s;
}
.mobile-menu-close:hover {
  color: #0288D1;
}
.mobile-nav {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  background: none;
  color: #0288D1;
  font-size: 1.3rem;
  padding: 13px 34px;
  width: 100%;
  border-radius: 24px;
  transition: background 0.14s, color 0.14s;
  font-weight: 600;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E0F2F1;
  color: #2E7D32;
}
@media (max-width: 1130px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  .feature-grid, .team-list, .service-list, .blog-list, .card-container, .content-grid {
    gap: 13px;
  }
}
@media (max-width: 820px) {
  .content-wrapper {
    gap: 20px;
  }
  .feature-grid, .team-list, .service-list, .blog-list, .card-container, .content-grid {
    flex-direction: column;
    gap: 13px;
    align-items: stretch;
  }
  .team-member, .service-item, .blog-post, .faq-item, .feature-item {
    max-width: 100%;
    min-width: 0;
  }
}

/*
===================== RESPONSIVE (Mobile First) =====================
*/
@media (max-width: 768px) {
  html {
    font-size: 97%;
  }
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  header .container {
    flex-direction: row;
    gap: 10px;
    padding: 8px 8px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    margin-right: 0;
  }
  header .button.primary {
    display: none;
  }
  .hero {
    border-radius: 22px;
    padding: 38px 7px;
  }
  .section {
    padding: 28px 5px;
    margin-bottom: 40px;
  }
  .feature-item, .card, .card-content, .testimonial-card {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-nav {
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.98rem;
  }
  .footer-logo img {
    height: 32px;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.44rem; }
  .hero h1 { font-size: 1.85rem; }
  .feature-item, .service-item, .blog-post, .faq-item { padding: 16px 8px; }
  .cta { padding: 28px 7px; border-radius: 16px; }
}

/*
===================== MICRO-INTERACTIONS & ANIMATION =====================
*/
.button, .main-nav a.button, .mobile-menu-toggle {
  transition: background 0.2s, color 0.2s, transform 0.18s, box-shadow 0.22s;
  will-change: background, color, box-shadow, transform;
}
.card, .feature-item, .service-item, .blog-post {
  transition: box-shadow 0.22s, transform 0.18s;
  will-change: box-shadow, transform;
}
.card:active, .feature-item:active, .service-item:active, .blog-post:active {
  transform: scale(0.98);
  box-shadow: 0 2px 8px rgba(2,136,209,0.06);
}
.testimonial-card:active {
  transform: scale(0.98);
  box-shadow: 0 3px 12px rgba(46,125,50,0.08);
}
/* Subtle hover for cards */
.card:hover, .feature-item:hover, .service-item:hover, .blog-post:hover {
  box-shadow: 0 8px 22px rgba(2,136,209,0.14);
  transform: translateY(-4px) scale(1.012);
}

/*
===================== COOKIE CONSENT BANNER & MODAL =====================
*/
.cookie-banner {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 5000;
  background: #fff;
  border-top: 2px solid #B2DFDB;
  padding: 24px 22px;
  box-shadow: 0 -2px 20px rgba(2,136,209,0.07);
  font-size: 1rem;
  animation: bounceInUp 0.9s;
}
.cookie-banner__text {
  color: #252835;
  max-width: 420px;
}
.cookie-banner__actions {
  display: flex;
  gap: 12px;
}
.cookie-banner .button {
  font-size: 0.99rem;
  padding: 9px 22px;
  border-radius: 24px;
  min-width: 120px;
}
.cookie-banner .button.settings {
  background: #F0F4C3;
  color: #0288D1;
  border: 1px solid #B2DFDB;
  font-weight: 600;
}
.cookie-banner .button.settings:hover {
  background: #E1F5FE;
}

/* Cookie Modal Overlay */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(46,125,50,0.13);
  z-index: 6000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.35s;
}
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  padding: 32px 28px;
  max-width: 92vw;
  width: 410px;
  box-shadow: 0 3px 30px rgba(2,136,209,0.12);
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  position: relative;
  animation: scaleIn 0.25s;
}
.cookie-modal h2 {
  font-size: 1.22rem;
  margin-bottom: 10px;
  color: #2E7D32;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 11px;
}
.cookie-modal label {
  margin: 0;
  color: #0288D1;
  font-weight: 500;
  font-size: 1rem;
}
.cookie-modal input[type='checkbox'] {
  width: 21px;
  height: 21px;
  border-radius: 8px;
  accent-color: #0288D1;
  border: 2px solid #0288D1;
}
.cookie-modal .cookie-essential {
  color: #2E7D32;
  font-weight: 500;
  font-size: 0.99rem;
}
.cookie-modal__actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.cookie-modal .button {
  min-width: 120px;
  font-size: 0.98rem;
  border-radius: 21px;
  padding: 11px 22px;
}
.cookie-modal__close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  color: #0288D1;
  font-size: 1.45rem;
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal__close:hover {
  color: #2E7D32;
}

/* Cookie Animations */
@keyframes bounceInUp {
  0% { opacity: 0; transform: translateY(90px); }
  70% { opacity: 1; transform: translateY(-5px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}
@media (max-width: 660px) {
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 5px;
    font-size: 0.98rem;
  }
  .cookie-modal {
    max-width: 99vw;
    padding: 16px 7px;
    border-radius: 14px;
  }
}

/*
===================== SOFT PASTEL DESIGN: DECORATIVE =====================
*/
::selection { background: #B2EBF2; color: #222; }

/* Subtle colored background at section start/end */
section:not(.hero):not(.cta):nth-child(even) {
  background: #FCF8F7;
  border-radius: 26px;
  box-shadow: 0 1px 18px rgba(2,136,209,0.021);
}


/*
====================== OVERRIDES / UTILS =====================
*/
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
@media (max-width: 410px) {
  .feature-item, .service-item, .blog-post, .faq-item, .testimonial-card {
    padding: 10px 3px;
    border-radius: 12px;
  }
  .cta { border-radius: 8px; padding: 16px 2px; }
}
/* Hide outline for mouse users except on click */
a, button, .button {
  outline: none;
}
a:focus-visible, button:focus-visible, .button:focus-visible {
  outline: 2px solid #0288D1;
  outline-offset: 2px;
  z-index: 2002;
}

/* Ensure minimum spacing between all cards/sections */
.card + .card,
.feature-item + .feature-item,
.service-item + .service-item,
.blog-post + .blog-post,
.faq-item + .faq-item,
.testimonial-card + .testimonial-card,
.section + .section,
.section + section {
  margin-top: 20px;
}
