/* 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,
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, 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;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #F4F7FB;
  color: #32465A;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.02em; 
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #395976;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus, a:hover {
  color: #E3B944;
  outline: none;
}
button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: transparent;
  outline: none;
  transition: background 0.2s, color 0.2s;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #35506a;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 14px;
}
strong {
  font-weight: 700;
  color: #395976;
}
p {
  margin-bottom: 16px;
  color: #42546E;
  font-size: 1rem;
}
ul, ol {
  margin-left: 20px;
  margin-bottom: 16px;
  color: #4a6190;
}
li {
  margin-bottom: 10px;
  font-size: 1rem;
}
.text-section li {
  margin-bottom: 10px;
}
section ul.contact-details {
  list-style: none;
  margin: 0 0 16px 0;
  padding: 0;
}
section ul.contact-details li {
  margin-bottom: 10px;
}

/* Container & Layouts */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 24px rgba(126,162,209,0.10), 0 1.5px 5px 0 rgba(183,193,224,.06);
  padding: 40px 24px;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
/* Mandatory spacing for section */
section {
  margin-bottom: 60px;
  padding: 40px 20px 0 20px;
}

/* Utility Flex Containers */
.feature-grid, .feature-list, .services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin-bottom: 0;
  padding-left: 0;
}
.feature-grid > li, .feature-list > li, .services-list > li {
  background: #ecf1fa;
  border-radius: 18px;
  padding: 32px 24px;
  flex: 1 1 240px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(126,162,209,0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-width: 220px;
}
.feature-list > li {
  padding: 20px 20px;
}
.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}
.card {
  background: #f8fafd;
  border-radius: 18px;
  box-shadow: 0 1px 8px 0 rgba(183,193,224,.08);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  /* fallback for mandatory rules */
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 32px 24px 32px;
  background: #fff7fa;
  border-radius: 20px;
  box-shadow: 0 2px 8px 0 rgba(160, 130, 205, 0.06), 0 2px 18px 0 rgba(227,185,68, 0.06);
  min-width: 260px;
  margin-bottom: 20px;
}
.testimonial-card p {
  color: #34373f;
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.7;
}
.testimonial-card span {
  color: #395976;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 4px;
}
.trust-badges {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HEADER */
header {
  background: #F4F7FB;
  box-shadow: 0 2px 16px 0 rgba(126,162,209,0.06);
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 14px;
}
header a img {
  height: 38px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #395976;
  padding: 6px 0;
  border-radius: 6px;
  transition: color 0.2s, background 0.18s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #E3B944;
  background: rgba(227,185,68, 0.11);
}
header .btn-primary {
  margin-left: 28px;
}
/* Hide main-nav & get started on mobile */
@media (max-width: 900px) {
  .main-nav,
  header .btn-primary {
    display: none !important;
  }
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #395976;
  z-index: 51;
}
@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: block;
    margin-left: auto;
    background: none;
    padding: 6px 10px;
    border-radius: 8px;
    transition: background 0.19s;
  }
  .mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
    background: #F6F1DB;
    color: #E3B944;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(238, 243, 252, 0.97);
  z-index: 50;
  display: flex;
  flex-direction: column;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(0.76,0.08,0.24,1);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 24px 0 0;
  background: none;
  font-size: 2.3rem;
  color: #395976;
  border-radius: 8px;
  transition: background 0.15s, color 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #faefd6;
  color: #E3B944;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-top: 38px;
  padding-left: 44px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #395976;
  font-weight: 500;
  padding: 14px 0;
  font-size: 1.12rem;
  border-radius: 6px;
  width: 100%;
  transition: background 0.13s, color 0.18s;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
  background: #F6F1DB;
  color: #E3B944;
}
@media (max-width: 900px) {
  .mobile-menu {
    display: flex;
  }
}

/* BUTTONS */
.btn,
button.btn {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  padding: 12px 30px;
  cursor: pointer;
  background: #E3B944;
  color: #395976;
  border: none;
  box-shadow: 0 1px 8px 0 rgba(193,157,33, 0.07);
  transition: background 0.19s, color 0.15s, box-shadow 0.23s;
  outline: none;
}
.btn:hover, .btn:focus {
  background: #395976;
  color: #fff;
  box-shadow: 0 2px 16px 0 rgba(57,89,118, 0.17);
}
.btn-primary,
button.btn-primary {
  background: #395976;
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
  background: #E3B944;
  color: #395976;
}
.btn-secondary,
button.btn-secondary {
  background: #E3B944;
  color: #395976;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #395976;
  color: #fff;
}

/* Cards & Content blocks */
.card {
  box-shadow: 0 2px 12px 0 rgba(126,162,209,0.07);
  border-radius: 16px;
  background: #f5fbff;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 22px;
}

/* Dreamy Decor Accents */
.content-wrapper {
  /* subtle soft-pastel pattern */
  position: relative;
  background: linear-gradient(123deg, #fff 80%, #F6F7FA 100%);
  border-radius: 24px;
}
.content-wrapper:before {
  content: '';
  position: absolute;
  z-index: 0;
  top: -20px; left: -40px;
  width: 140px; height: 120px;
  background: #e3eafc;
  opacity: .24;
  border-radius: 50% 37% 56% 46% / 52% 42% 85% 38%;
  pointer-events: none;
}
.content-wrapper:after {
  content: '';
  position: absolute;
  z-index: 0;
  bottom: -36px; right: -46px;
  width: 90px; height: 70px;
  background: #fbf0e9;
  opacity: .21;
  border-radius: 48% 42% 56% 47%;
  pointer-events: none;
}
.content-wrapper > * {
  position: relative;
  z-index: 1;
}

/* Trust badges on about page */
.trust-badges img {
  height: 44px;
}

/* FOOTER */
footer {
  background: #fff;
  box-shadow: 0 -2px 16px 0 rgba(126,162,209,0.05);
  padding: 40px 0 24px 0;
  margin-top: 60px;
  border-top-left-radius: 36px;
  border-top-right-radius: 36px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
  justify-content: space-between;
}
.brand-info {
  flex: 1 1 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.brand-info img {
  height: 34px;
}
.footer-nav {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-nav a {
  color: #395976;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #E3B944;
}
footer .contact-details {
  flex: 1 1 230px;
  display: flex;
  flex-direction: column;
  font-size: 0.97rem;
  gap: 6px;
  color: #576479;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: linear-gradient(90deg, #f6f3fa 80%, #e9faff 100%);
  box-shadow: 0 -4px 22px 0 rgba(160, 130, 205, 0.07), 0 -2px 10px rgba(227,185,68, 0.09);
  padding: 26px 16px 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  z-index: 10001;
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
  animation: cookie-slideup 0.55s cubic-bezier(0.76,0.08,0.24,1);
}
@keyframes cookie-slideup {
  from { transform: translateY(120px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #32465A;
  font-size: 1rem;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-btns .btn {
  font-size: 0.98rem;
  padding: 8px 22px;
  border-radius: 7px;
  background: #395976;
  color: #fff;
  border: none;
}
.cookie-btns .btn-secondary {
  background: #E3B944;
  color: #395976;
}
.cookie-btns .btn-outline {
  background: none;
  border: 1.5px solid #E3B944;
  color: #395976;
  box-shadow: none;
}
.cookie-btns .btn-outline:hover {
  background: #fdf5e5;
  color: #d49601;
}
.cookie-btns .btn:focus {
  box-shadow: 0 0 0 2px #39597630;
  outline: none;
}

/* Cookie Modal (Popup) */
.cookie-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%,-55%) scale(0.96);
  width: 96vw;
  max-width: 420px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 6px 36px 0 rgba(160, 130, 205, 0.12), 0 12px 35px rgba(57, 89, 118, 0.09);
  padding: 38px 24px 26px 24px;
  z-index: 10010;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  animation: cookie-popup 0.43s cubic-bezier(0.76,0.08,0.24,1);
}
.cookie-modal.open {
  display: flex;
}
@keyframes cookie-popup {
  from { opacity: 0; transform: translate(-50%,-80%) scale(0.90); }
  to { opacity: 1; transform: translate(-50%,-55%) scale(1); }
}
.cookie-modal h2 {
  font-size: 1.31rem;
  color: #395976;
  margin-bottom: 6px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  background: #f6f5fd;
  border-radius: 12px;
  padding: 8px 14px;
}
.cookie-category label {
  color: #35506a;
}
.cookie-category input[type="checkbox"] {
  accent-color: #E3B944;
}
.cookie-category.essential label {
  font-weight: 600;
}
.cookie-category.essential {
  opacity: .67;
  letter-spacing: 0.01em;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 6px;
  align-items: center;
}
@media (max-width: 600px) {
  .cookie-modal {
    padding: 18px 8px 14px 8px;
  }
}

/* Responsive Adjustments */
@media (max-width: 1100px) {
  .container {
    max-width: 980px;
  }
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 99vw;
    padding: 0 8px;
  }
  section, .section {
    padding: 22px 2vw 0 2vw;
    margin-bottom: 42px;
  }
  .content-wrapper {
    padding: 20px 7px;
  }
  .brand-info img {
    height: 27px;
  }
  .footer-nav a {
    font-size: 0.97rem;
  }
  .feature-grid, .feature-list, .services-list, .trust-badges, .testimonial-slider {
    flex-direction: column;
    gap: 13px;
  }
  .card-container, .card-grid {
    flex-direction: column;
    gap: 18px;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
  }
  .testimonial-card, .card {
    padding: 20px 8px 16px 12px;
    min-width: 0;
  }
}

/* Remove horizontal scroll on small devices */
@media (max-width: 480px) {
  html, body {
    overflow-x: hidden;
  }
}

/* Colors: Dreamy/Soft Pastels */
body, .section {
  background: #F4F7FB;
}
.feature-grid > li, .feature-list > li, .services-list > li {
  background: #ecf1fa;
}
.card, .card-content {
  background: #f5fbff;
}
.testimonial-card {
  background: #ffeefa;
  /* pastel-pink accent for testimonials but with dark text */
  color: #26303e;
}

/* Microinteractions + Subtle Animations */
.btn, .mobile-menu-toggle, .mobile-menu-close, .footer-nav a, .main-nav a, .card, .testimonial-card, .feature-grid li, .feature-list li, .services-list li {
  transition: box-shadow 0.18s, background 0.14s, color 0.18s, transform 0.17s;
}
.card:hover, .feature-grid li:hover, .feature-list li:hover, .services-list li:hover {
  box-shadow: 0 3px 16px 0 rgba(200,162,217,0.10), 0 2px 10px 0 rgba(160,203,246, 0.05);
  transform: translateY(-2px) scale(1.012);
}
.testimonial-card:hover {
  box-shadow: 0 4px 32px 0 rgba(227, 185, 68, 0.07);
  background: #fff5eb;
}
.btn:active {
  transform: scale(0.98);
}

/* Accessibility: Focus states */
a:focus, button:focus, .btn:focus {
  outline: 2px solid #E3B944;
  outline-offset: 1.5px;
}

/* Hide only for screenreaders (for cookie modal close etc.) */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Misc utility */
.mb-0 { margin-bottom: 0 !important; }

/* OVERLAP & Z-INDEX GOVERNANCE */
.card, .content-wrapper, .testimonial-card {
  z-index: 1;
  position: relative;
}
.mobile-menu, .cookie-banner, .cookie-modal {
  z-index: 101;
}

/* End of style.css */
