/* CSS RESET & VARIABLES */
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;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #F9F5F1;
  font-family: 'Lato', Arial, sans-serif;
  color: #274059;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #4C6787;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #438ccb;
  outline: none;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 24px;
}
li + li {
  margin-top: 8px;
}

/* CSS VARIABLES FOR SOFT PASTEL PALETTE */
:root {
  --primary: #274059;
  --secondary: #8AAEC7;
  --accent: #F9F5F1;
  --pastel-pink: #F7E6E6;
  --pastel-blue: #C9DAEA;
  --pastel-yellow: #FFF9EB;
  --pastel-lavender: #E6E7FA;
  --pastel-mint: #E2FAEF;
  --text-main: #274059;
  --text-secondary: #506A7C;
  --card-bg: #ffffffcc;
  --shadow: 0 8px 24px 0 rgba(73, 106, 124, 0.09);
  --radius: 18px;
}

/* TYPOGRAPHY */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700&family=Lato:wght@400;700&display=swap');
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--primary);
  letter-spacing: 0.5px;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 16px;
  font-weight: 700;
  line-height: 1.13;
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
  font-weight: 500;
  line-height: 1.15;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
  font-weight: 500;
  color: var(--secondary);
}
h4 {
  font-size: 1.13rem;
  margin-bottom: 8px;
}
.subheadline {
  color: var(--text-secondary);
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.15rem;
  margin-bottom: 16px;
  font-weight: 400;
}
p, li {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.7;
}
p:last-child, li:last-child {
  margin-bottom: 0;
}
strong {
  font-weight: 700;
}

/* LAYOUT & CONTAINER UTILITIES */
.container {
  width: 100%;
  max-width: 1110px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: flex-start;
}

.text-section {
  background: var(--pastel-mint);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 24px 32px 24px;
  margin-bottom: 32px;
  /* For section alignment */
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  display: flex;
  flex-direction: column;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 20px 20px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.22s, transform 0.22s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 12px 30px 0 rgba(73, 106, 124, 0.16);
  transform: translateY(-3px) scale(1.025);
}

.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 32px;
  background: var(--pastel-blue);
  color: var(--text-main);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  max-width: 560px;
  font-size: 1.05rem;
  line-height: 1.7;
  position: relative;
  transition: box-shadow 0.2s;
}
.testimonial-card span,
.testimonial-card strong {
  color: var(--primary);
}
.testimonial-card:hover {
  box-shadow: 0 14px 32px 0 rgba(91, 146, 177, 0.16);
  background: #E7F2FB;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--pastel-yellow);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 12px 20px 18px;
  margin-bottom: 18px;
  min-width: 170px;
  transition: box-shadow 0.18s;
}
.feature-item:hover {
  box-shadow: 0 10px 22px 0 rgba(172, 159, 212, 0.11);
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.features-grid > div {
  flex: 1 1 210px;
  min-width: 200px;
  max-width: 280px;
  padding: 24px 18px;
  background: var(--pastel-pink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 16px;
  transition: box-shadow 0.22s, background 0.18s;
}
.features-grid > div img {
  margin-bottom: 14px;
  width: 38px;
  height: 38px;
}
.features-grid > div:hover,
.features-grid > div:focus-within {
  background: var(--pastel-lavender);
  box-shadow: 0 8px 24px 0 rgba(166, 160, 195, 0.15);
}

.team-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
  margin-top: 8px;
}
.team-profiles > div {
  flex: 1 1 220px;
  min-width: 200px;
  background: var(--pastel-lavender);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 16px 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.team-values {
  margin-bottom: 18px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-accordion h3 {
  font-size: 1.15rem;
  color: var(--secondary);
  margin-bottom: 5px;
  cursor: pointer;
  transition: color 0.2s;
}
.faq-accordion h3:hover {
  color: #284880;
}
.faq-accordion p {
  margin-bottom: 8px;
  color: var(--primary);
}

/* BUTTONS */
.button {
  display: inline-block;
  padding: 13px 32px;
  border-radius: 36px;
  background: var(--secondary);
  color: #fff;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  box-shadow: 0 1px 8px 0 rgba(134, 165, 171, 0.09);
  margin-top: 10px;
  margin-bottom: 10px;
  transition: background 0.18s, box-shadow 0.2s, transform 0.18s;
  cursor: pointer;
  outline: none;
  text-align: center;
  letter-spacing: 0.5px;
}
.button.primary {
  background: var(--secondary);
  color: #fff;
}
.button.primary:hover,
.button.primary:focus {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px 0 rgba(89, 124, 156, 0.13);
}
.button.secondary {
  background: var(--accent);
  color: var(--primary);
  border: 2px solid var(--secondary);
  font-weight: 600;
}
.button.secondary:hover,
.button.secondary:focus {
  background: var(--pastel-blue);
  color: var(--primary);
}

/* NAVIGATION */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: linear-gradient(90deg, #F7E6E6 0%, #E2FAEF 100%);
  box-shadow: 0 2px 12px 0 rgba(60, 90, 100, 0.10);
  position: relative;
  z-index: 50;
}
header nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
header nav a {
  color: var(--primary);
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 6px 8px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
header nav a:hover,
header nav a:focus {
  background: var(--secondary);
  color: #fff;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 24px;
}
header .button.primary {
  margin-left: 32px;
}

/* MOBILE MENU BUTTON */
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: #fff;
  font-size: 2.1rem;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  line-height: 48px;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  z-index: 110;
  margin-left: 20px;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(80,80,80,0.10);
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #F7E6E6;
  background: linear-gradient(120deg, #E2FAEF 0%, #C9DAEA 100%);
  transform: translateX(100vw);
  transition: transform 0.35s cubic-bezier(.88,.02,.25,1.07);
  z-index: 200;
  padding-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: -6px 0 30px 0 rgba(120, 116, 180, 0.11);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  right: 22px;
  top: 14px;
  background: var(--secondary);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
  z-index: 210;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  padding: 32px 32px 0 36px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.22rem;
  padding: 8px 0;
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  width: 100%;
  transition: background 0.2s, color 0.2s;
  margin-bottom: 6px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--pastel-yellow);
  color: #438ccb;
}
@media (max-width: 1024px) {
  header nav {
    gap: 12px;
  }
}
@media (max-width: 990px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  header .button.primary {
    display: none;
  }
}
@media (max-width: 680px) {
  .container {
    padding-left: 7px;
    padding-right: 7px;
  }
  header img {
    height: 36px;
  }
}

/* FOOTER */
footer {
  background: linear-gradient(90deg, #E2FAEF 0%, #F7E6E6 100%);
  padding: 30px 0 20px;
  margin-top: 45px;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  box-shadow: 0 -2px 10px 0 rgba(96,136,129,0.06);
  position: relative;
  z-index: 20;
}
footer nav {
  text-align: center;
  margin-bottom: 12px;
}
footer nav a {
  color: var(--primary);
  text-decoration: none;
  margin: 0 6px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 6px;
  transition: background 0.16s;
}
footer nav a:hover,
footer nav a:focus {
  background: var(--pastel-mint);
}
.footer-contact {
  text-align: center;
  font-size: 0.99rem;
  color: var(--primary);
}
.footer-contact img {
  height: 18px;
  width: auto;
  margin: 0 4px -3px 4px;
  vertical-align: middle;
}

/* COOKIE CONSENT BANNER & MODAL */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: linear-gradient(120deg, #FFEDED 0%, #DCF3EB 100%);
  box-shadow: 0 -8px 40px 0 rgba(120, 116, 180, 0.14);
  color: var(--text-main);
  z-index: 400;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 22px 12px 20px 12px;
  font-size: 1rem;
  font-family: 'Lato', Arial, sans-serif;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  animation: fadeInBanner 0.45s cubic-bezier(.82,.07,.39,.93);
}
@keyframes fadeInBanner {
  from { opacity: 0; transform: translateY(60px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner p {
  margin-bottom: 0;
  max-width: 540px;
}
.cookie-banner .cookie-btn {
  font-size: 1rem;
  padding: 11px 26px;
  margin-right: 10px;
  border-radius: 32px;
  border: none;
  background: var(--secondary);
  color: #fff;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.19s;
}
.cookie-banner .cookie-btn:last-child {
  margin-right: 0;
}
.cookie-banner .cookie-btn.cookie-btn-reject {
  background: var(--primary);
  color: #fff;
}
.cookie-banner .cookie-btn.cookie-btn-settings {
  background: var(--accent);
  color: var(--primary);
  border: 2px solid var(--secondary);
  font-weight: 500;
}
.cookie-banner .cookie-btn.cookie-btn-settings:hover,
.cookie-banner .cookie-btn.cookie-btn-settings:focus {
  background: var(--pastel-blue);
}
.cookie-banner .cookie-btn:hover,
.cookie-banner .cookie-btn:focus {
  background: var(--pastel-lavender);
  color: var(--primary);
}

.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: #0009;
  z-index: 430;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.4s cubic-bezier(.5, 0, .2, 1);
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: linear-gradient(111deg, #F9F5F1 60%, #C9DAEA 100%);
  border-radius: 24px;
  box-shadow: 0 8px 36px 0 rgba(120, 116, 180, 0.14);
  padding: 38px 32px 28px 32px;
  max-width: 450px;
  min-width: 260px;
  width: 92vw;
  color: var(--primary);
  font-family: 'Lato', Arial, sans-serif;
  animation: fadeInModal 0.4s cubic-bezier(.5, 0, .2, 1);
  position: relative;
  z-index: 451;
}
.cookie-modal h2 {
  font-size: 1.35rem;
  margin-bottom: 14px;
  color: var(--primary);
}
.cookie-modal .cookie-prefs-list {
  margin-bottom: 22px;
}
.cookie-modal .cookie-switch-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.cookie-modal .cookie-switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
}
.cookie-modal .cookie-switch input[type="checkbox"] {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-modal .cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: var(--pastel-mint);
  border-radius: 24px;
  transition: background 0.18s;
}
.cookie-modal .cookie-switch input:checked + .cookie-slider {
  background: var(--secondary);
}
.cookie-modal .cookie-slider:before {
  position: absolute;
  content: '';
  height: 18px; width: 18px;
  left: 3px; bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.18s;
  box-shadow: 0 2px 6px 0 rgba(110,160,189,0.07);
}
.cookie-modal .cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(18px);
}
.cookie-modal .cookie-close-btn {
  position: absolute;
  top: 12px; right: 16px;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 4px 7px;
  border-radius: 50%;
  transition: background 0.18s;
}
.cookie-modal .cookie-close-btn:hover,
.cookie-modal .cookie-close-btn:focus {
  background: var(--pastel-pink);
}
.cookie-modal .cookie-btn {
  margin-top: 10px;
  margin-right: 10px;
  padding: 10px 24px;
  font-size: 1rem;
  border-radius: 28px;
  font-weight: 700;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1000px) {
  .features-grid, .team-profiles {
    flex-direction: column;
    align-items: stretch;
  }
  .features-grid > div, .team-profiles > div {
    max-width: 100%;
  }
  .testimonial-card {
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 30px 8px 36px 8px;
    margin-bottom: 40px;
  }
  .features-grid {
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .testimonial-card {
    padding: 18px 16px;
  }
  .card {
    padding: 18px 10px 14px 10px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.48rem;
  }
  nav {
    font-size: 1rem;
  }
}
@media (max-width: 550px) {
  h1 {
    font-size: 1.2rem;
  }
  h2 {
    font-size: 1.06rem;
  }
}

/* MISC. UI ENHANCEMENTS */
div[role="status"], .sr-only {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

::-webkit-input-placeholder { color: #A6B1BD; }
::-moz-placeholder { color: #A6B1BD; }
:-ms-input-placeholder { color: #A6B1BD; }
::placeholder { color: #A6B1BD; }

/* Animated section fade-in */
section {
  opacity: 0;
  transform: translateY(30px);
  animation: sectionFade 1s cubic-bezier(.56,.17,.22,1) forwards;
}
section:nth-of-type(1) { animation-delay: .16s; }
section:nth-of-type(2) { animation-delay: .28s; }
section:nth-of-type(3) { animation-delay: .36s; }
section:nth-of-type(4) { animation-delay: .42s; }
section:nth-of-type(5) { animation-delay: .50s; }
@keyframes sectionFade {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Custom scrollbars, only for nice OSes */
html {
  scrollbar-color: #C9DAEA #F9F5F1;
  scrollbar-width: thin;
}
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-thumb {
  background: var(--pastel-blue);
  border-radius: 8px;
}
::-webkit-scrollbar-track {
  background: var(--accent);
}
