/* ===========================
CSS Reset & Base Styles
=========================== */
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;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  background: #F5F2EA;
  color: #4D4B56;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 8px;
}
a {
  color: #A394DA;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #6E77B9;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.25em;
  margin-bottom: 1.25em;
}
li {
  margin-bottom: 0.5em;
}

/* =========================
Pastel Color Palette (Soft Pastel + Brand)
========================= */
:root {
  --brand-primary: #263238;
  --brand-secondary: #CBAE82;
  --brand-accent: #F5F2EA;
  --pastel-blue: #D6E6F2;
  --pastel-lilac: #E5E1FA;
  --pastel-peach: #FBE8D3;
  --pastel-rose: #FCE2E8;
  --pastel-mint: #D7FBE8;
  --pastel-yellow: #FDF6C3;
  --dark-text: #222831;
  --light-text: #6B6B6B;
  --white: #fff;
  --shadow: 0 2px 24px 0 rgba(86,95,109,0.07);
}

/* =========================
Typography
========================= */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600&display=swap');

body {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 1rem;
  color: var(--dark-text);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--brand-primary);
  line-height: 1.15;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
p,
ul,
ol {
  font-size: 1.125rem;
  color: var(--dark-text);
  margin-bottom: 1.2em;
}
.text-section > h2 {
  margin-top: 0;
}
strong {
  font-weight: bold;
  color: var(--brand-primary);
}

/* =========================
Layout Containers
========================= */
.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 767px) {
  .section {
    margin-bottom: 40px;
    padding: 28px 10px;
  }
  .container {
    padding: 0 10px;
  }
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
  padding-bottom: 10px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--pastel-lilac);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 260px;
  flex: 1 1 270px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 4px 32px 0 rgba(86,95,109,0.15);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 24px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}

/* Features / Lists */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =========================
Header & Navigation
========================= */
header {
  background: linear-gradient(90deg, var(--pastel-peach), var(--pastel-lilac));
  box-shadow: 0 1px 8px 0 rgba(86,95,109,0.03);
  padding: 0;
  position: relative;
  z-index: 12;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  gap: 20px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--brand-primary);
  opacity: 0.93;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
header nav a:hover, header nav a:focus {
  background: var(--pastel-blue);
  color: var(--brand-secondary);
}
header nav a.cta {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 18px;
  box-shadow: 0 1px 8px 0 rgba(203,174,130,0.13);
  transition: background 0.2s, color 0.2s;
}
header nav a.cta:hover, header nav a.cta:focus {
  background: var(--pastel-lilac);
  color: var(--brand-secondary);
}
header img {
  height: 48px;
  width: auto;
  border-radius: 0;
  margin-right: 14px;
}

/* Mobile Navigation */
.mobile-menu-toggle {
  display: none;
  background: none;
  font-size: 2.2rem;
  border: none;
  color: var(--brand-primary);
  cursor: pointer;
  align-items: center;
  transition: color 0.2s;
  margin-left: 12px;
}
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(250, 244, 232, 0.97);
  z-index: 999;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: var(--brand-primary);
  border: none;
  font-size: 2.3rem;
  line-height: 1;
  margin: 18px 28px 14px 0;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--pastel-blue);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100vw;
  gap: 22px;
  padding: 28px 34px 0 34px;
}
.mobile-nav a {
  font-size: 1.35rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: var(--brand-primary);
  background: none;
  border-radius: 12px;
  padding: 13px 6px 13px 6px;
  transition: background 0.12s, color 0.12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--pastel-rose);
  color: var(--brand-secondary);
}
@media (max-width: 1023px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

@media (max-width: 1023px) {
  header .container {
    padding: 14px 12px;
  }
}

/* =========================
Main & Section Styling
========================= */
main {
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-height: 65vh;
}
section {
  margin-bottom: 60px;
  padding: 40px 0;
  background: none;
}
@media (max-width: 767px) {
  section {
    margin-bottom: 36px;
    padding: 24px 0;
  }
}

/* =========================
Buttons
========================= */
.cta, .btn, button, input[type="submit"] {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  background: linear-gradient(90deg, var(--pastel-peach) 0%, var(--pastel-lilac) 100%);
  color: var(--brand-primary);
  border: none;
  padding: 11px 28px;
  border-radius: 22px;
  box-shadow: 0 2px 16px 0 rgba(86,95,109,0.08);
  margin-top: 12px;
  transition: box-shadow .15s, background .25s, color .15s;
  cursor: pointer;
  letter-spacing: 0.01em;
  outline: none;
  display: inline-block;
  text-align: center;
}
.cta:hover, .btn:hover, button:hover, input[type="submit"]:hover {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  box-shadow: 0 4px 40px 0 rgba(203,174,130,0.13);
}
.cta:focus, .btn:focus {
  box-shadow: 0 0 0 3px var(--pastel-blue);
}

/* =========================
Testimonials
========================= */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  color: var(--dark-text);
  font-style: italic;
  min-width: 260px;
  max-width: 670px;
}
.testimonial-card img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--pastel-lilac);
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 1px 6px 0 rgba(160,160,180,0.13);
}
.testimonial-card strong {
  font-size: 1.1rem;
  color: var(--brand-primary);
  margin-bottom: 3px;
  margin-right: 10px;
}
.testimonial-card p {
  color: var(--dark-text);
  font-size: 1.09rem;
  margin-bottom: 0;
}

/* Color/contrast for testimonials */
@media (max-width: 767px) {
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    max-width: 100%;
  }
  .card, .card-content {
    min-width: 0;
  }
}

/* =========================
Footer
========================= */
footer {
  background: linear-gradient(90deg, var(--pastel-blue), var(--pastel-rose));
  color: var(--brand-primary);
  padding: 0;
}
footer .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 30px 20px 20px 20px;
  gap: 20px;
  flex-wrap: wrap;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
footer nav a {
  color: var(--brand-primary);
  opacity: 0.85;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 7px 4px;
  border-radius: 6px;
  transition: color .15s, background .15s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--brand-secondary);
  background: var(--pastel-peach);
}
footer .footer-logo {
  width: 52px;
  height: auto;
  margin-right: 16px;
}
footer p {
  color: var(--brand-primary);
  opacity: 0.75;
  font-size: 0.98rem;
  margin: 0;
}
@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    gap: 10px;
    padding: 22px 10px 18px 10px;
    align-items: flex-start;
  }
  footer nav {
    gap: 12px;
  }
  footer .footer-logo {
    margin-right: 0;
  }
}

/* =========================
Forms
========================= */
input, textarea, select {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 1rem;
  border: 1.5px solid #E5E1FA;
  border-radius: 13px;
  padding: 11px 15px;
  margin-bottom: 18px;
  transition: border 0.2s, box-shadow 0.2s;
  background: var(--white);
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--brand-secondary);
  box-shadow: 0 0 0 3px var(--pastel-mint);
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 7px;
  color: var(--brand-primary);
}

/* =========================
Misc Elements & Microinteractions
========================= */
ul li img, .text-section ul li img {
  width: 24px;
  height: 24px;
  margin-right: 9px;
  vertical-align: middle;
  display: inline-block;
  border-radius: 6px;
}

ol > li {
  margin-bottom: 0.9em;
}

hr {
  border: none;
  border-top: 1.5px dashed var(--pastel-mint);
  margin: 36px 0;
  opacity: 0.6;
}

/* =========================
Cookie Consent Banner
========================= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  z-index: 9999;
  background: linear-gradient(90deg, var(--pastel-mint), var(--pastel-peach));
  box-shadow: 0 -3px 18px 0 rgba(86,95,109,0.07);
  padding: 18px 30px 18px 30px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 1.11rem;
  animation: slideUp 0.7s cubic-bezier(0.33,1,0.68,1);
}
@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-text {
  color: var(--brand-primary);
  line-height: 1.4;
  max-width: 70vw;
  margin-right: 14px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-banner button, .cookie-banner .cta {
  padding: 7px 19px;
  font-size: 1.02rem;
  border-radius: 14px;
  border: none;
  font-family: 'Montserrat';
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, color .15s, box-shadow .17s;
}
.cookie-banner .accept-btn {
  background: var(--pastel-lilac);
  color: var(--brand-primary);
}
.cookie-banner .accept-btn:hover {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
.cookie-banner .reject-btn {
  background: var(--pastel-rose);
  color: var(--brand-primary);
}
.cookie-banner .reject-btn:hover {
  background: #f3bdbd;
}
.cookie-banner .settings-btn {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
.cookie-banner .settings-btn:hover {
  background: var(--pastel-blue);
}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    padding: 14px 6px;
    align-items: flex-start;
    gap: 10px;
  }
  .cookie-banner .cookie-text {
    max-width: unset;
    margin-right: 0;
  }
}

.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(118, 140, 155, 0.23);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  animation: fadeCookieModal .35s cubic-bezier(0.44,1,0.44,1);
}
@keyframes fadeCookieModal {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: var(--white);
  min-width: 320px;
  max-width: 96vw;
  padding: 36px 28px 24px 28px;
  border-radius: 22px;
  box-shadow: 0 14px 54px 0 rgba(215,250,232,0.16);
  color: var(--brand-primary);
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
  z-index: 99998;
  animation: popInCookieModal .33s cubic-bezier(0.44,1,0.44,1);
}
@keyframes popInCookieModal {
  from { transform: scale(0.97) translateY(20px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.35rem;
  margin-bottom: 0.9em;
  margin-top: 0.1em;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--brand-secondary);
  cursor: pointer;
  border-radius: 6px;
  padding: 2px 7px;
  transition: background 0.15s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  background: var(--pastel-lilac);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
}
.cookie-category label {
  font-weight: 500;
  font-size: 1rem;
  color: var(--brand-primary);
}
.cookie-category input[type="checkbox"][disabled] {
  opacity: 0.45;
}
.cookie-modal .modal-footer {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal button {
  padding: 7px 18px;
  font-size: 1.01rem;
  border-radius: 13px;
  border: none;
  font-family: 'Montserrat';
  font-weight: 600;
  cursor: pointer;
  transition: background .17s, color .13s;
}
.cookie-modal .accept-btn {
  background: var(--pastel-mint);
  color: var(--brand-primary);
}
.cookie-modal .reject-btn {
  background: var(--pastel-peach);
  color: var(--brand-primary);
}
.cookie-modal .save-btn {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
.cookie-modal .accept-btn:hover {
  background: var(--pastel-blue);
}
.cookie-modal .reject-btn:hover {
  background: var(--pastel-rose);
}
.cookie-modal .save-btn:hover {
  background: var(--brand-primary);
  color: var(--brand-secondary);
}
@media (max-width: 520px) {
  .cookie-modal {
    padding: 24px 10px 15px 10px;
    min-width: 0;
  }
}

/* =========================
Pastel Decorative Elements
========================= */
::selection {
  background: var(--pastel-rose);
  color: var(--brand-primary);
}

/* Subtle box shadows and cards for "soft_pastel" mood */
.card, .testimonial-card, input, textarea, .cookie-modal, .cookie-banner {
  box-shadow: var(--shadow);
}

/* Animations for buttons & links */
.cta, .btn, button, input[type="submit"] {
  transition: background .21s, box-shadow .18s, color .15s;
}
@media (hover: hover) {
  .card:hover {
    transform: translateY(-3px) scale(1.01);
  }
}

/* =========================
Responsive Layout: Flex Only
========================= */
.card-container,
.content-grid,
.text-image-section,
footer .container {
  flex-wrap: wrap;
}
@media (max-width: 1023px) {
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
}

/* =========================
Spacing & Consistency
========================= */
.section,
.card-container, .content-grid, .text-image-section, .testimonial-card, .feature-item {
  margin-bottom: 20px;
  gap: 20px;
}
.card {
  margin-bottom: 20px;
  gap: 20px;
}

/* =========================
Accessibility, Focus & Readability for Pastel
========================= */
a:focus, button:focus, .cta:focus {
  outline: 2px solid var(--pastel-blue);
  outline-offset: 3px;
  background: var(--pastel-lilac);
}
::-webkit-input-placeholder { color: #888; }
::-moz-placeholder { color: #888; }
:-ms-input-placeholder { color: #888; }
::placeholder { color: #888; }

/* Ensures no element overlap */
main, .section, .card, .testimonial-card {
  min-width: 0;
}

/* =========================
Special: Thank You Page Animation
========================= */
@keyframes thankYouAppear {
  from { opacity: 0; transform: scale(0.97); }
  to   { opacity: 1; transform: scale(1); }
}
.thank-you {
  animation: thankYouAppear 0.6s cubic-bezier(.31,.95,.53,.95);
}

/* =========================
END OF STYLE.CSS
========================= */
