/* ========================== 
   CSS RESET & NORMALIZATION 
   ========================== */
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: inherit;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: inherit; }
body { line-height: 1.5; background: #FBFAF6; color: #2B3D5B; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; background-color: transparent; }
img { display: block; max-width: 100%; height: auto; border: 0; }
button, input, select, textarea {
  font: inherit;
  background: none;
  border: none;
  outline: none;
}

/* ===============================
   SOFT PASTEL BRAND COLOR PALETTE
   — based on provided brand, with pastel gentle tints
   =============================== */
:root {
  --color-primary: #2B3D5B;
  --color-secondary: #EAD049;
  --color-accent: #F6F8FC;
  --color-bg: #FBFAF6;
  --color-pastel-blue: #AECCF2;    /* soft pastel blue */
  --color-pastel-yellow: #FFF7BC;  /* gentle lemon */
  --color-pastel-pink: #FCE1E7;    /* gentle rose */
  --color-pastel-mint: #DBF2ED;    /* mint/seafoam */
  --color-pastel-lilac: #EEE7FB;   /* gentle lilac */
  --color-pastel-lavender: #EDE3F4;/* slightly deeper lavender */
  --color-divider: #E8E8F6;
  --color-card-shadow: rgba(80, 113, 179, 0.10);
  --color-heading: #2B3D5B;
  --color-body: #374765;
  --color-footer-bg: #F7F4EF;
  --color-link: #748FAD;
}

/* =====================
   TYPOGRAPHY
   ===================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Open+Sans:wght@400;600&display=swap');

body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  color: var(--color-body);
  background: var(--color-bg);
  min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-heading);
  font-weight: 800;
  letter-spacing: -0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 12px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }

p, ul, li, span, strong {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: var(--color-body);
  line-height: 1.7;
}
.subheadline {
  font-size: 1.25rem;
  color: var(--color-pastel-blue);
  font-weight: 600;
  margin-bottom: 24px;
}
strong { font-weight: 700; color: var(--color-heading); }

/* =====================
   LAYOUT CONTAINERS
   ===================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  justify-content: center;
}
.text-section {
  align-items: center;
  text-align: center;
  gap: 24px;
}

/* =====================
   FEATURE/CARD/GRID LAYOUTS
   ===================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.feature-grid li {
  flex: 1 1 260px;
  min-width: 215px;
  background: var(--color-pastel-blue);
  border-radius: 18px;
  padding: 30px 22px 22px 22px;
  box-shadow: 0 2px 8px var(--color-card-shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: transform 0.17s cubic-bezier(.61,.01,.4,1.04), box-shadow 0.18s;
}
.feature-grid li:hover {
  transform: translateY(-6px) scale(1.025);
  box-shadow: 0 6px 24px 0 rgba(80, 113, 179, 0.13);
  background: var(--color-pastel-mint);
}
.feature-grid li img {
  width: 40px; height: 40px; margin-bottom: 2px;
}
.feature-grid h3 {
  margin: 0 0 4px 0;
  font-size: 1.15rem;
  color: var(--color-primary);
}
.feature-grid p {
  font-size: 1rem;
  color: var(--color-body);
  margin: 0;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-pastel-lavender);
  box-shadow: 0 2px 8px var(--color-card-shadow);
  border-radius: 18px;
  margin-bottom: 20px;
  padding: 26px 20px 22px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.16s, transform 0.15s;
}
.card:hover {
  box-shadow: 0 6px 23px 0 rgba(60, 85, 153, 0.11);
  transform: translateY(-4px);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: stretch;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: var(--color-pastel-yellow);
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(60, 85, 153, 0.08);
  padding: 20px 26px;
  margin-bottom: 20px;
  max-width: 480px;
  color: #2B3D5B;
  font-size: 1.05rem;
}
.testimonial-card p {
  font-size: 1.1rem;
  color: #2B3D5B;
  margin-bottom: 8px;
}
.testimonial-card span,
.testimonial-card strong {
  color: #252D42;
  font-size: 0.98rem;
  opacity: 0.92;
  font-weight: 700;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-left: 0;
}
.service-list li {
  background: var(--color-pastel-lilac);
  border-radius: 14px;
  padding: 17px 22px;
  line-height: 1.65;
  margin-bottom: 10px;
  box-shadow: 0 1px 8px 0 rgba(80, 113, 179, 0.06);
  color: var(--color-primary);
}
.service-list span {
  color: var(--color-primary);
  font-weight: 600;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 17px;
  padding-left: 0;
}
.feature-list li {
  background: var(--color-pastel-mint);
  border-radius: 12px;
  padding: 13px 18px;
  line-height: 1.6;
  box-shadow: 0 1px 6px 0 rgba(80, 113, 179, 0.06);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 0;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.5;
  font-size: 1rem;
  color: var(--color-heading);
}
.contact-details img {
  width: 22px; height: 22px;
}

/* =====================
   BUTTONS & CALL-TO-ACTION
   ===================== */
.cta-button {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  font-weight: 700;
  background: linear-gradient(100deg, #FCE1E7 0%, #DBF2ED 100%);
  color: var(--color-primary);
  border-radius: 26px;
  padding: 13px 36px;
  box-shadow: 0 2px 13px 0 rgba(104, 155, 186, 0.11);
  transition: background 0.16s, box-shadow 0.18s, color 0.12s, transform 0.14s;
  outline: none; border: none;
  letter-spacing: 0.03em;
  margin-top: 0;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(90deg, #DBF2ED 0%, #FCE1E7 100%);
  color: #152040;
  box-shadow: 0 5px 18px 0 rgba(140, 155, 200, 0.14);
  transform: translateY(-2px) scale(1.03);
}

/* =====================
   HEADER & NAVIGATION
   ===================== */
header {
  width: 100%;
  background: var(--color-pastel-blue);
  box-shadow: 0 1px 14px 0 rgba(73, 88, 150, 0.09);
  z-index: 11;
  position: relative;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px 0;
}
.logo-link img {
  height: 44px;
  width: auto;
  display: block;
}
.desktop-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}
.desktop-menu li a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #2B3D5B;
  font-weight: 700;
  font-size: 1rem;
  padding: 7px 14px;
  border-radius: 16px;
  transition: background 0.14s, color 0.11s;
}
.desktop-menu li a:hover,
.desktop-menu li a:focus {
  background: var(--color-pastel-mint);
  color: var(--color-primary);
}

/* ===============
   MOBILE NAVIGATION
   =============== */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 120;
  font-size: 2.1rem;
  color: var(--color-primary);
  background: var(--color-pastel-yellow);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 2px 8px 0 rgba(244,212,144, 0.10);
  transition: background 0.15s;
}
.mobile-menu-toggle:active {
  background: var(--color-pastel-blue);
}
.mobile-menu {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(250, 252, 255, 0.96);
  box-shadow: 0 0 40px 0 rgba(52,61,92,0.15);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 32px 32px 32px;
  transform: translateX(-110vw);
  opacity: 0;
  transition: transform 0.38s cubic-bezier(.79,.23,.21,.98), opacity 0.3s;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  font-size: 2.1rem;
  background: var(--color-pastel-pink);
  border-radius: 50%;
  color: var(--color-primary);
  width: 38px;
  height: 38px;
  border: none;
  margin-left: auto;
  margin-bottom: 26px;
  cursor: pointer;
  box-shadow: 0 1px 4px 0 rgba(173,153,153,0.09);
  transition: background 0.13s;
}
.mobile-menu-close:hover {
  background: var(--color-pastel-mint);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  padding: 12px 6px;
  border-radius: 14px;
  background: var(--color-pastel-yellow);
  margin-bottom: 4px;
  box-shadow: 0 2px 7px 0 rgba(233,213,134, 0.12);
  transition: background 0.17s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-pastel-mint);
  color: #15345B;
}
@media (max-width: 992px) {
  .desktop-menu { display: none; }
  .cta-button { display: none; }
  .mobile-menu-toggle { display: flex !important; }
}
@media (max-width: 992px) {
  .main-nav { padding: 10px 0; }
}

/* =====================
   MAIN CONTENT FLUIDITY
   ===================== */
main { padding-top: 12px; }

@media (max-width: 768px) {
  .container { max-width: 100%; padding: 0 8px; }
  .section { padding: 32px 6px; margin-bottom: 38px; }
  .content-wrapper { gap: 13px; }
  .text-section { gap: 16px; }
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.16rem; }
}

/* ================
   FLEX LAYOUT ADAPT 
   ================ */
@media (max-width: 900px) {
  .feature-grid { gap: 14px; }
  .testimonial-slider { gap: 16px; }
  .card-container { gap: 12px; }
}
@media (max-width: 768px) {
  .feature-grid,
  .testimonial-slider,
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 13px;
  }
  .text-image-section { flex-direction: column; gap: 14px; }
}

/* =====================
   FOOTER
   ===================== */
footer {
  background: var(--color-footer-bg);
  padding: 46px 0 22px 0;
  box-shadow: 0 -1px 18px 0 rgba(80,113,179,0.07);
  color: var(--color-primary);
  font-size: 1rem;
}
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav, .footer-social, .footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.footer-nav a {
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  opacity: 0.88;
  transition: color 0.15s, opacity 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-link);
  opacity: 1;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.98rem;
  opacity: 0.85;
}
.footer-contact img {
  width: 18px; height: 18px;
}
.footer-social a {
  display: inline-flex;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--color-pastel-blue);
  align-items: center; justify-content: center;
  box-shadow: 0 1px 7px 0 rgba(80,113,179,0.09);
  transition: background 0.13s;
}
.footer-social a:hover {
  background: var(--color-pastel-yellow);
}
.footer-social img { width: 22px; height: 22px; }
.footer-copyright {
  width: 100%;
  margin-top: 33px;
  font-size: 0.98rem;
  text-align: center;
  opacity: 0.6;
  color: var(--color-primary);
}
@media (max-width: 768px) {
  .footer-wrapper {
    flex-direction: column;
    gap: 19px;
    align-items: center;
    text-align: center;
  }
  .footer-contact, .footer-nav, .footer-social {
    justify-content: center;
    align-items: center;
  }
}

/* =====================
   FORM & FIELDS (Contact)
   ===================== */
form, .form-section {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}
input[type="text"], input[type="email"], textarea {
  padding: 12px 18px;
  border-radius: 12px;
  border: 1.5px solid var(--color-divider);
  background: var(--color-pastel-mint);
  font-size: 1rem;
  color: var(--color-primary);
  transition: border 0.13s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border: 1.5px solid var(--color-secondary);
}
label {
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 6px;
}

/* =====================
   COOKIE CONSENT BANNER
   ===================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; width: 100vw;
  background: linear-gradient(90deg,#F6F8FC 80%,#EAFAF8 100%);
  box-shadow: 0 -2px 14px 0 rgba(80,113,179,0.08);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 26px;
  justify-content: center;
  padding: 24px 16px 22px 16px;
  z-index: 9999;
  transition: transform 0.25s cubic-bezier(.72,.18,.18,.95), opacity 0.17s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(110%);
  pointer-events: none;
}
.cookie-banner__text {
  font-size: 1rem;
  color: var(--color-body);
  max-width: 410px;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 18px;
  font-size: 0.99rem;
  font-weight: 700;
  padding: 9px 18px;
  border: none;
  outline: none;
  background: var(--color-pastel-yellow);
  color: var(--color-primary);
  cursor: pointer;
  box-shadow: 0 1px 6px 0 rgba(244,212,144,0.12);
  transition: background 0.14s, color 0.11s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-pastel-pink);
  color: #19445C;
}
.cookie-btn.cookie-btn-secondary {
  background: var(--color-pastel-mint);
}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px 5px 12px 5px;
  }
  .cookie-banner__text { text-align: left; }
}

/* Cookie settings modal */
.cookie-modal-backdrop {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(154,164,164,0.36);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.19s;
}
.cookie-modal-backdrop.hide { opacity: 0 !important; pointer-events: none; }
.cookie-modal {
  background: var(--color-bg);
  border-radius: 20px;
  padding: 36px 28px 28px 28px;
  max-width: 96vw;
  min-width: 320px;
  box-shadow: 0 4px 44px 0 rgba(52,61,92,0.12);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: cookieModalIn 0.4s cubic-bezier(.84,.02,.19,.99);
}
@keyframes cookieModalIn {
  from { opacity: 0; transform: translateY(50px) scale(0.93); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.27rem;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 7px;
}
.cookie-modal .cookie-settings-list {
  display: flex;
  flex-direction: column;
  gap: 21px;
  margin-top: 4px;
}
.cookie-settings-item {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 9px;
  padding: 6px 0 7px 3px;
  background: var(--color-pastel-mint);
}
.cookie-settings-item input[type=checkbox] {
  accent-color: var(--color-primary);
  width: 19px; height: 19px;
  border-radius: 5px;
}
.cookie-settings-item span {
  color: var(--color-heading);
  font-weight: 600;
}
.cookie-settings-item label {
  color: var(--color-body);
  margin: 0 0 0 7px;
  font-weight: 400;
}
.cookie-modal-close {
  position: absolute;
  top: 10px;
  right: 16px;
  font-size: 1.7rem;
  background: var(--color-pastel-pink);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  color: var(--color-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal-close:hover {
  background: var(--color-pastel-blue);
}
.cookie-modal-actions {
  margin-top: 14px;
  display: flex;
  gap: 13px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  min-width: 110px;
}

/* =====================
   UTILITY CLASSES
   ===================== */
.mt-24 { margin-top: 24px !important; }
.mt-40 { margin-top: 40px !important; }
.mb-20 { margin-bottom: 20px !important; }
.gap-20 { gap: 20px !important; }

/* =====================
   MISCELLANEA / NON-GRID
   ===================== */
hr, .divider {
  border: none;
  border-top: 1px solid var(--color-divider);
  margin: 32px 0;
}
a {
  color: var(--color-link);
  transition: color 0.13s;
}
a:hover, a:focus { color: #213D7A; }

/* =====================
   ANIMATIONS
   ===================== */
.cta-button, .cookie-btn, .card, .feature-grid li, .mobile-nav a {
  transition: all 0.17s cubic-bezier(.61,.01,.4,1.04);
}

/* ===========================
   ADJUSTMENTS FOR "THANK YOU"
   =========================== */
.thank-you .subheadline {
  color: var(--color-pastel-pink);
  font-weight: 700;
}

/* =====================
   END CSS
   ===================== */