/* ---------------------------------------------------
   CSS RESET & BASIC 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;
  vertical-align: baseline;
  font: inherit;
  box-sizing: border-box;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
:root {
  --primary: #23415A;
  --secondary: #F5F9FB;
  --accent: #A3C258;
  --soft-blue: #b4d6e8;
  --soft-green: #d8edc6;
  --soft-yellow: #fcecbe;
  --soft-pink: #fde3e2;
  --soft-purple: #e9e3f7;
  --soft-lavender: #e8e9fb;
  --white: #ffffff;
  --gray-light: #ecf1f7;
  --gray: #97a5b5;
  --black: #23415A;
  --danger: #ed657c;
  --warning: #ffe899;
  --shadow-lg: 0 8px 32px 0 rgba(35,65,90,0.07);
  --shadow: 0 2px 8px 0 rgba(35,65,90,0.08);
}

/* --------------------------------------
   BASE TYPOGRAPHY (soft_pastel)
-------------------------------------- */
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.66;
  color: var(--black);
  background: var(--secondary);
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
h1 {font-size: 2.25rem; line-height:1.18; margin-bottom:20px;}
h2 {font-size: 1.5rem;  line-height:1.22; margin-bottom:16px;}
h3 {font-size: 1.125rem;line-height:1.24; margin-bottom:12px;}
p, ul, ol {font-size: 1rem; margin-bottom:16px; color:var(--primary);}
ul, ol { padding-left: 22px; }
blockquote {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.15rem;
  font-style: italic;
  background: var(--soft-lavender);
  border-left: 5px solid var(--accent);
  padding: 18px 24px 18px 24px;
  margin:0 0 12px 0;
  color: var(--primary);
}
a {
  color: var(--primary);
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: var(--accent);
  outline: none;
}
strong { font-weight:700; color:var(--primary); }

/* --------------------------------------
   LAYOUT CONTAINERS & SPACING
-------------------------------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left:20px;
  padding-right:20px;
  width:100%;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
}
.content-wrapper {
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  padding: 40px 32px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.text-section {
  background: var(--soft-lavender);
  box-shadow: none;
  border-radius: 20px;
  padding: 32px 24px;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .container { padding-left:12px; padding-right:12px; }
  .content-wrapper, .text-section {
    padding: 24px 10px;
    border-radius: 12px;
  }
}

/* --------------------------------------
   NAVIGATION
-------------------------------------- */
header {
  background: linear-gradient(90deg, var(--soft-blue) 0%, var(--soft-green) 100%);
  box-shadow: 0 2px 8px 0 rgba(50,90,140,0.06);
  position: sticky;
  top:0;
  z-index: 1000;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  padding: 12px 0;
  justify-content: flex-start;
  position: relative;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 14px;
  transition: background 0.17s, color 0.17s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--soft-blue);
  color: var(--accent);
}
.main-nav a.cta-button {
  margin-left: auto;
  margin-right: 0;
  background: var(--accent);
  color: #23415A;
  border-radius: 22px;
  padding: 8px 28px;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px 0 rgba(163, 194, 88, 0.07);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.main-nav a.cta-button:hover,
.main-nav a.cta-button:focus {
  background: #e8f7b8;
  color: #23415A;
  box-shadow: 0 4px 16px 0 rgba(163, 194, 88, 0.13);
}
.main-nav a img {
  height: 38px;
  vertical-align: middle;
}
@media (max-width: 1050px) {
  .main-nav { gap: 14px; }
  .main-nav a { font-size:0.98rem; padding:6px 9px; }
  .main-nav a.cta-button { padding:6.5px 16px; font-size:1rem; }
  .main-nav a img { height:28px; }
}

/* Burger menu button */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  padding: 6px 14px;
  cursor: pointer;
  margin-left: auto;
  z-index:1101;
  transition: background 0.2s;
}
@media (max-width: 900px) {
  .main-nav { display: none !important; }
  .mobile-menu-toggle { display: inline-block; }
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right:0; bottom:0;
  width: 100vw;
  height: 100vh;
  background: rgba(250, 253, 255, 0.93);
  z-index: 1200;
  transform: translateX(-100%);
  transition: transform 0.45s cubic-bezier(.83,.07,.13,1.02);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}
.mobile-menu.active { transform: translateX(0); }
.mobile-menu nav.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 36px 34px 12px 34px;
  gap: 28px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.33rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid #e5ecf6;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--accent);
  background: var(--soft-lavender);
  border-radius:10px;
}
.mobile-menu-close {
  background:transparent;
  border:none;
  font-size: 2.2rem;
  color:var(--danger);
  align-self:flex-end;
  padding: 12px 22px 2px 0;
  cursor:pointer;
  margin-top:14px; margin-bottom:10px;
  transition:color 0.17s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--accent);
}

/* Hide mobile menu outside mobile */
@media (min-width: 901px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* --------------------------------------
   HERO SECTION & HEADERS
-------------------------------------- */
.hero-section {
  background: linear-gradient(90deg, var(--soft-blue) 0%, var(--soft-green) 100%);
  min-height: 320px;
  display:flex;
  align-items: center;
  margin-bottom: 40px;
  padding:0;
}
.hero-section .container { width:100%; display:flex; }
.hero-section .content-wrapper {
  background:rgba(255,255,255,0.93);
  box-shadow:var(--shadow);
  border-radius:24px;
  padding: 48px 42px 48px 42px;
  text-align: center;
  align-items: center;
  gap: 12px;
}
.hero-section h1 {
  font-size:2.5rem;
  color:var(--primary);
  letter-spacing:0.04em;
}
.hero-section h2 {
  font-size:1.33rem;
  color:var(--primary);
}
.hero-section .cta-button { margin: 16px auto 0 auto; }
@media (max-width: 600px) {
  .hero-section {
    min-height:200px;
    padding:0 0 18px 0;
  }
  .hero-section .content-wrapper {
    padding: 22px 6px 28px 6px;
    border-radius:12px;
  }
  .hero-section h1 { font-size:1.2rem; }
  .hero-section h2 { font-size:1rem; }
}

/* --------------------------------------
   CTA BUTTON & INTERACTION
-------------------------------------- */
.cta-button,
button.cta-button,
input[type="submit"].cta-button {
  display:inline-block;
  background:var(--accent);
  color:var(--primary);
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight:700;
  border:none;
  border-radius:24px;
  padding:10px 34px;
  font-size:1.15rem;
  margin-top:14px;
  cursor:pointer;
  text-decoration:none;
  box-shadow:0 2px 8px 0 rgba(163, 194, 88, .07);
  transition:background 0.19s, color 0.18s, box-shadow 0.18s, transform 0.12s;
}
.cta-button:hover,
.cta-button:focus {
  background: #cbe473;
  color: var(--primary);
  box-shadow:0 6px 18px 0 rgba(163, 194, 88, .18);
  transform: translateY(-1px) scale(1.04);
  outline:none;
}
button,
input[type="submit"],
input[type="button"] {
  font-family: inherit;
  font-size: 1rem;
  padding: 7px 24px;
  border-radius: 14px;
  background: var(--soft-lavender);
  color: var(--primary);
  font-weight: 600;
  border: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.14s;
  cursor: pointer;
}
button:hover, input[type="submit"]:hover {
  background: var(--accent);
  color: var(--primary);
}

/* ------------------------------------------
   FLEXBOX: FEATURES / CARDS / TESTIMONIALS
------------------------------------------- */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  margin: 20px 0 0 0;
}
.feature {
  background: var(--soft-pink);
  box-shadow:var(--shadow);
  border-radius:19px;
  padding: 25px 24px 22px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width:220px; max-width:340px;
  flex: 1 1 240px;
  gap: 15px;
  transition: box-shadow 0.18s, background 0.18s, transform 0.13s;
}
.feature img {
  width:48px; height:48px;
  margin-bottom:10px;
}
.feature:hover, .feature:focus {
  box-shadow:0 6px 24px 0 rgba(173, 183, 255, 0.19);
  background: var(--soft-lavender);
  transform:translateY(-3px) scale(1.022);
  outline:none;
}

/* Testimonials */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 24px 16px 24px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-radius: 20px;
  min-width:240px; max-width:370px;
  flex: 1 1 230px;
  margin-bottom: 20px;
  transition: box-shadow 0.17s, transform 0.12s;
}
.testimonial-card blockquote {
  color: var(--primary);
  background: var(--soft-lavender);
  font-size:1.13rem;
  padding: 0 0 0 18px;
  border:none;
  border-left: 6px solid var(--soft-blue);
}
.testimonial-card p { color: var(--primary); font-size: 0.96rem; margin:0; padding:0; }
.testimonial-card strong {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.99rem;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow:0 8px 26px 0 rgba(35, 65, 90, 0.10);
  transform:translateY(-2px) scale(1.012);
}

/* Cards & Grid containers */
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { background: var(--soft-lavender); border-radius:18px; box-shadow: var(--shadow); margin-bottom:20px; position: relative; }
.card-content { display: flex; flex-direction:column; justify-content: center; gap:16px; padding: 24px; }
.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; }
.feature-item { display:flex; flex-direction:column; align-items:flex-start; gap:15px; }

/* ------------------------------------------
   FORMS & CONTACT SECTIONS
------------------------------------------- */
form {
  background: var(--soft-yellow);
  padding: 23px 18px 21px 18px;
  border-radius: 17px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 18px 0 26px 0;
  max-width: 480px;
}
form label { font-family:'Montserrat', 'Roboto', Arial, sans-serif; font-weight:600; font-size:0.98rem; color: var(--primary); margin-bottom: 4px; }
form input, form textarea {
  background: var(--white);
  border: 1px solid #dde3e8;
  border-radius:11px;
  font-family: inherit;
  font-size:1rem;
  padding:11px 13px;
  color:var(--primary);
  margin-bottom:6px;
  box-shadow:none;
  transition: border 0.18s;
}
form input:focus, form textarea:focus {
  outline: 2px solid var(--accent);
  border:1.5px solid var(--accent);
}
form button.cta-button {
  align-self: flex-end;
  margin-top: 10px;
}
form ::placeholder { color:var(--gray); opacity:.75; }
.contact-details {
  background: var(--soft-blue);
  border-radius:14px;
  padding: 14px 16px 12px 16px;
  margin-top: 20px;
}
.contact-details h3 { margin-bottom:7px; color:var(--primary) }
.contact-details ul { margin:0; list-style:none; color: var(--primary); }
.contact-details li { margin-bottom: 8px; font-size:0.98rem; }
.contact-details a {
  color:var(--primary); 
  text-decoration:underline;
}

/* ------------------------------------------
   FOOTER
------------------------------------------- */
footer {
  padding: 36px 0 24px 0;
  background: linear-gradient(90deg, var(--soft-lavender) 0%, var(--soft-green) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-menu {
  display: flex;
  flex-direction: row;
  gap: 30px;
  margin-bottom: 15px;
}
.footer-menu a {
  color: var(--primary);
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 0.99rem;
  font-weight: 600;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 11px;
  transition: background 0.17s, color 0.17s;
}
.footer-menu a:hover, .footer-menu a:focus {
  background: var(--soft-blue);
  color: var(--accent);
  outline:none;
}
.footer-brand {
  display:flex;
  flex-direction:row;
  align-items: center;
  gap: 10px;
}
.footer-brand img {
  width:24px; height:24px; vertical-align: middle;
}
.footer-brand span {
  color: var(--primary);
  font-size:0.97rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}

@media (max-width: 600px) {
  .footer-menu { 
    flex-direction:column; 
    align-items:center; 
    gap:12px; 
  }
}

/* ------------------------------------------------------
   RESPONSIVENESS (Mobile First, then >=768px for desktop)
-------------------------------------------------------- */
@media (max-width: 900px) {
  .features-grid,
  .testimonials,
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature, .testimonial-card, .card {
    min-width:unset; max-width:100%; flex:1 1 100%;
  }
  .text-image-section { flex-direction: column; gap:18px;}
}
@media (max-width: 500px) {
  h1 { font-size: 1.16rem; }
  h2 { font-size: 1rem; }
  .content-wrapper, .text-section { padding: 11px 5px; }
  .testimonial-card, .feature, .card { padding: 14px 7px; border-radius: 9px;}
  .footer-brand img { width: 19px; height: 19px;}
}

/* ----- Cta Section (colored bottom panels) ----- */
.cta-section {
  background:linear-gradient(90deg, var(--soft-blue) 0%, var(--soft-pink) 100%);
  padding:32px 0 50px 0;
  border-radius:23px 23px 0 0;
  margin-bottom:0;
}
.cta-section .content-wrapper {
  background:rgba(255,255,255,0.90);
  text-align: center;
  align-items: center;
  gap:14px;
  box-shadow:0 2px 12px 0 rgba(120,202,230,0.070);
}

/* ------------------------------------------------------
   COOKIE CONSENT BANNER (fixed bottom)
-------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width:100vw;
  background: rgba(239,250,251,0.97);
  border-top: 2px solid var(--soft-blue);
  z-index: 1400;
  box-shadow: 0 -2px 16px 0 rgba(160,190,200,.08);
  display:flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 24px 14px 14px 14px;
  gap: 18px;
  animation: cookieBannerIn 0.52s cubic-bezier(.77,0,.23,1) 1;
}
@keyframes cookieBannerIn {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-banner__text {
  font-size:0.99rem;
  color:var(--primary);
  margin-right:10px;
  max-width:480px;
}
.cookie-banner__actions {
  display: flex;
  gap: 12px;
}
.cookie-banner button {
  background:var(--soft-lavender);
  color:var(--primary);
  font-size:1rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  border-radius:13px;
  font-weight:600;
  padding: 8px 18px;
  border:none;
  cursor:pointer;
  margin-right:0;
  box-shadow:0 1px 4px 0 rgba(51,85,110,0.10);
  transition:background 0.18s, color 0.14s;
}
.cookie-banner button.accept {
  background: var(--accent);
  color:var(--primary);
}
.cookie-banner button.accept:hover,
.cookie-banner button.accept:focus {
  background:#b9d953;
}
.cookie-banner button.reject {
  background:var(--danger);
  color:#fff;
}
.cookie-banner button.reject:hover,
.cookie-banner button.reject:focus {
  background: #fe93a4;
}
.cookie-banner button.settings {
  background:var(--primary);
  color:#fff;
}
.cookie-banner button.settings:hover, .cookie-banner button.settings:focus {
  background: #386a9a;
}
@media (max-width: 600px) {
  .cookie-banner { flex-direction:column; gap:12px; padding: 16px 3px 8px 3px; }
  .cookie-banner__text{ margin-right:0; }
}

/* Cookie modal popup */
.cookie-modal {
  position:fixed;left:0;top:0;width:100vw;height:100vh;
  background:rgba(32,45,61,0.37);
  z-index:2000;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:opacity 0.2s;
  opacity:1;
  animation: fadeinCookieModal .7s;
}
@keyframes fadeinCookieModal {
  0% { opacity:0; }
  100% { opacity: 1; }
}
.cookie-modal__content {
  background: var(--white);
  border-radius:18px;
  padding:36px 36px 24px 36px;
  min-width:270px;
  max-width: 94vw;
  max-height: 88vh;
  overflow-y:auto;
  box-shadow:0 2px 32px 0 rgba(45,70,110,0.21);
  position:relative;
  display: flex;
  flex-direction:column;
  gap:19px;
  animation: modalPop .5s;
}
@keyframes modalPop {
  0% { transform: scale(.87) translateY(32px); opacity: 0; }
  80% { transform: scale(1.03) translateY(-6px); }
  100% { transform: none; opacity: 1; }
}
.cookie-modal__close {
  background:transparent;
  border:none;
  font-size:2rem;
  color:var(--danger);
  position:absolute;
  top:14px; right:18px;
  cursor:pointer;
  transition:color 0.15s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  color:var(--accent);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap:16px;
  margin-top: 14px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap:16px;
  background: var(--soft-blue);
  border-radius:12px;
  padding:10px 18px;
  font-size:0.97rem;
}
.cookie-category label {
  font-size:1.02rem;
  font-family:'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight:600;
  color:var(--primary);
}
.toggle-switch {
  position: relative;
  width: 44px;
  height: 24px;
}
.toggle-switch input {display:none;}
.toggle-slider {
  position:absolute;top:0;left:0;right:0;bottom:0;
  background:#e0efc9;
  border-radius:12px;
  transition: background 0.14s;
}
.toggle-switch input:checked + .toggle-slider {
  background: var(--accent);
}
.toggle-slider:before {
  content: '';
  position: absolute;
  left:3.5px;top:3.5px;
  width:17px;height:17px;
  background: var(--white);
  border-radius:50%;
  transition: transform 0.17s;
  box-shadow:0 1px 3px 0 rgba(70,90,120,0.14);
}
.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(18px);
}
.cookie-modal__actions {
  display:flex;
  flex-direction:row;
  gap:12px;
  margin-top:14px;
}
.cookie-modal__actions button {
  padding:8px 20px;
}
@media (max-width:500px) {
  .cookie-modal__content {padding:18px 5px 14px 5px;}
}

/* --------------------------------------
   MICRO-INTERACTIONS
--------------------------------------- */
section, .section, .content-wrapper, .text-section, .testimonial-card, .card, .feature {
  transition: box-shadow 0.18s, background 0.14s, transform 0.12s;
}

/* --------------------------------------
   SYSTEM UTILS & ACCESSIBILITY
--------------------------------------- */
:focus {
  outline: 2px solid var(--accent) !important;
  outline-offset: 3px;
}
[tabindex="-1"]:focus { outline: none !important; }

/* Hide visually but keep accessible */
.visually-hidden {
  border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;
}

/* --------------------------------------
   MISC
---------------------------------------- */
::-webkit-scrollbar {width: 8px;background: var(--soft-lavender);}
::-webkit-scrollbar-thumb {background: var(--soft-blue);border-radius: 7px;}
::-moz-selection { background:var(--accent); color:var(--primary); }
::selection { background:var(--accent); color:var(--primary); }

/* Prevent content overlapping */
section, .section, .card-container, .card, .content-grid, .features-grid, .testimonials, .feature, .testimonial-card {
  margin-bottom: 20px;
}

/* Min spacing between all content cards/containers */
.card, .feature, .testimonial-card { margin-bottom: 20px !important; }

/* END OF STYLE.CSS */
