/* === CSS 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,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;font-size:100%;font:inherit;vertical-align:baseline;box-sizing:border-box;}
article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section {display:block;}
body {line-height:1;}
ol,ul {list-style:none;}
a {text-decoration:none;color:inherit;}
img {max-width:100%;height:auto;display:block;border:0;}
button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit;margin:0;}
:focus{outline:2px solid #bfe9fa;outline-offset:2px;}


/* === SOFT PASTEL THEME COLORS (Brand + Pastell) === */
:root {
  --color-primary: #223A4D;
  --color-secondary: #ADB6BE;
  --color-accent: #F6F7F9;
  --color-pastel-blue: #CFE7F8;
  --color-pastel-mint: #DDF4F2;
  --color-pastel-lavender: #E8E5F7;
  --color-pastel-sand: #FDF3EA;
  --color-pastel-rose: #FFE7EF;
  --color-cta: #A2B8E0;
  --color-text: #223A4D;
  --color-text-secondary: #698087;
  --color-white: #fff;
  --color-shadow: rgba(60, 73, 113, 0.09);
  --color-border: #e6eaf3;
  --color-footer: #F6F7F9;
  --color-pastel-green: #E7F7F1;
}

/* === GLOBAL TYPOGRAPHY === */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700&family=Roboto:wght@400;700&display=swap');
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: var(--color-text);
  background: linear-gradient(120deg, var(--color-pastel-blue) 0%, var(--color-accent) 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}
h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-primary);
  letter-spacing:0.02em;
  font-weight:700;
}
h1 {font-size: 2.3rem; margin-bottom: 16px;}
h2 {font-size: 1.6rem; margin-bottom: 14px;}
h3 {font-size: 1.25rem; margin-bottom: 9px; font-weight:500;}
@media (min-width:768px){ h1{font-size:3rem;} h2{font-size:2rem;} h3{font-size:1.5rem;}}
p, ul li, ol li {
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
  font-size: 1rem;
}
a {color: var(--color-primary);transition:color .19s;}
a:hover {color: #518ba5;}
strong {font-weight:700;color:var(--color-primary);}

/* === LAYOUT CONTAINERS === */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
  position: relative;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section {
  background: var(--color-pastel-sand);
  border-radius: 20px;
  box-shadow: 0 2px 8px var(--color-shadow);
  padding: 26px 22px;
  margin-bottom: 24px;
}
@media (min-width:900px) {
  .content-wrapper{gap:32px;}
  .text-section {padding: 38px 38px;}
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 22px;
}

/* === HEADER & NAVIGATION === */
header {
  background: var(--color-white);
  box-shadow: 0 2px 7px var(--color-shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 18px 0;
  position: sticky;
  top: 0;
  z-index: 1002;
}
header a > img {height: 42px; width:auto;}
.main-nav {
  display: none;
}
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(90deg, var(--color-pastel-blue) 60%, var(--color-cta) 100%);
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  font-weight:600;
  border-radius: 22px;
  border: none;
  padding: 11px 32px;
  margin-left: 10px;
  box-shadow: 0 4px 14px var(--color-shadow);
  transition: background 0.20s, color .15s, box-shadow 0.21s;
  letter-spacing:0.01em;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(90deg, var(--color-pastel-rose) 60%, var(--color-pastel-blue) 100%);
  color: #3d5c89;
  box-shadow: 0 6px 22px var(--color-shadow);
  cursor:pointer;
}
.mobile-menu-toggle {
  display: inline-flex;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--color-primary);
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background .20s;
}
.mobile-menu-toggle:hover,.mobile-menu-toggle:focus {background: var(--color-pastel-blue);}

/* Desktop Nav */
@media (min-width: 950px) {
  header {padding: 24px 0 20px 0;}
  .main-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 27px;
    font-family:'Montserrat',Arial,sans-serif;
    font-weight:500;
    font-size: 1.11rem;
    margin-left: 30px;
  }
  .main-nav a {
    padding: 6px 4px 6px 4px;
    border-radius: 12px;
    color: var(--color-text);
    transition: background .18s, color .18s;
  }
  .main-nav a:hover,
  .main-nav a:focus {
    color: #3d5c89;
    background: var(--color-pastel-blue);
  }
  .cta-button {margin-left: 22px;}
  .mobile-menu-toggle {
    display: none;
  }
}

/* === MOBILE NAVIGATION / OVERLAY === */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(120deg, var(--color-pastel-blue), var(--color-white) 87%);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  z-index: 1050;
  padding: 36px 26px 24px 26px;
  box-shadow: 0 2px 20px var(--color-shadow);
  transform: translateX(-105vw);
  transition: transform 0.39s cubic-bezier(.7,.01,.17,1);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--color-primary);
  position: absolute;
  right: 26px;
  top: 19px;
  z-index: 20;
  cursor: pointer;
  transition: color .2s;
}
.mobile-menu-close:hover,.mobile-menu-close:focus{color:#7996b3;}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 19px;
  margin-top: 32px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-primary);
  font-size: 1.15rem;
  font-weight: 600;
  background: var(--color-white);
  border-radius: 12px;
  padding: 13px 8px 13px 22px;
  margin-bottom: 6px;
  transition: background .16s, color .16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-pastel-blue);
  color: #355983;
}
@media (min-width: 950px) {
  .mobile-menu {display: none !important;}
}


/* === HERO SECTIONS === */
main > section:first-of-type {
  background: linear-gradient(115deg, var(--color-pastel-blue), var(--color-pastel-mint) 80%);
  min-height: 280px;
  display: flex;
  align-items: center;
  border-radius: 0 0 32px 32px;
  box-shadow: 0 6px 12px var(--color-shadow);
}
main > section > .container > .content-wrapper > h1 {
  color: var(--color-primary);
  font-weight: 700;
  text-shadow: 0 2px 6px #fff8, 0 2px 10px #bbd4e1;
  margin-bottom: 8px;
}
main > section > .container > .content-wrapper > h2 {
  color: var(--color-pastel-lavender);
  font-weight:500;
  padding-bottom: 6px;
}

/* === FLEXBOX CARD & CONTENT LAYOUTS === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: var(--color-white);
  border-radius: 18px;
  box-shadow: 0 2px 10px var(--color-shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 20px;
  min-width: 260px;
  min-height: 104px;
  transition: box-shadow .26s, transform .17s;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 32px var(--color-shadow);
  transform: translateY(-3px) scale(1.015);
  z-index: 2;
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 13px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 22px;
}

/* === LISTS WITH ICONS === */
ul li, .text-section ul li  {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 16px;
  font-size:1.06rem;
}
ul li img {
  width: 28px;
  height: 28px;
  vertical-align: middle;
  margin-right: 6px;
  flex-shrink:0;
  margin-top: 2px;
}

/* === TESTIMONIALS === */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--color-pastel-lavender);
  border-radius: 22px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 11px var(--color-shadow);
  min-width: 260px;
  color: var(--color-text);
  max-width: 750px;
  transition: box-shadow .22s, transform .15s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 5px 23px var(--color-shadow);
  transform: translateY(-2px) scale(1.01);
  z-index: 1;
}
.testimonial-card blockquote {
  margin: 0;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.03rem;
  color: var(--color-primary);
}
.testimonial-card blockquote span {
  display: block;
  font-style: italic;
  color: var(--color-text-secondary);
  margin-top: 8px;
}
@media (max-width: 700px) {
  .testimonial-card {padding: 16px 12px;font-size:0.97rem;}
}

/* === ARTICLES === */
article {
  background: var(--color-white);
  box-shadow: 0 2px 10px var(--color-shadow);
  border-radius: 20px;
  padding: 23px 20px 18px 20px;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  transition: box-shadow .2s, transform .14s;
}
article:hover {box-shadow:0 5px 32px var(--color-shadow);transform:translateY(-1.5px);}

/* === FOOTER === */
footer {
  background: var(--color-footer);
  border-radius: 36px 36px 0 0;
  box-shadow: 0 -2px 12px var(--color-shadow);
  margin-top: 64px;
  padding: 38px 0 28px 0;
  font-size: 0.97rem;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav, .footer-legal {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a, .footer-legal a {
  color: var(--color-text-secondary);
  font-family:'Montserrat', Arial, sans-serif;
  font-size:1.05rem;
  padding: 6px 2px;
  border-radius:8px;
  transition: background .16s, color .15s;
}
.footer-nav a:hover,.footer-legal a:hover, .footer-nav a:focus, .footer-legal a:focus {
  color: var(--color-primary);
  background:var(--color-pastel-lavender);
}
.footer-contact {
  min-width: 180px;
  max-width: 340px;
  color: var(--color-primary);
  font-size: 1rem;
  margin-bottom:12px;
}
.footer-contact img {width:20px;height:20px;margin-right:3px;vertical-align:middle;}
.footer-contact a {color:#698087;}
.footer-social {
  display: flex;
  gap:16px;
  align-items: center;
  margin-top: 12px;
}
.footer-social a img {width:28px;height:28px;filter: grayscale(.3) brightness(1.1);transition:filter .18s;}
.footer-social a:hover img {filter:none;}
@media (max-width:950px) {
  footer .content-wrapper {
    flex-direction: column;
    gap:20px;align-items:flex-start;
  }
  .footer-social {margin-top: 7px;}
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  background: linear-gradient(90deg, var(--color-pastel-sand) 35%, var(--color-pastel-blue) 100%);
  color: var(--color-text);
  box-shadow: 0 -3px 13px var(--color-shadow);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  padding: 22px 21px 22px 21px;
  font-size: 1.06rem;
  border-radius: 22px 22px 0 0;
  opacity: 1;
  pointer-events: auto;
  transition: transform .4s cubic-bezier(.7,0,.17,1), opacity .31s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-left: auto;
}
.cookie-banner button {
  font-family: 'Montserrat',Arial,sans-serif;
  border: none;
  border-radius: 17px;
  font-size:1em;
  padding: 8px 22px;
  background: var(--color-pastel-blue);
  color: var(--color-primary);
  box-shadow: 0 2px 6px var(--color-shadow);
  cursor: pointer;
  transition: background .18s, color .14s, box-shadow .2s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--color-pastel-mint);
  color: #285266;
  box-shadow: 0 5px 20px var(--color-shadow);
}
.cookie-banner .cookie-settings {
  background: var(--color-pastel-rose);
  color: #6a6071;
  margin-left:0;
}

/* === COOKIE PREFERENCES MODAL === */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 1250;
  background:rgba(60,66,83,0.36);
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn .32s;
}
.cookie-modal.open{display:flex;}
.cookie-modal-content {
  background: var(--color-white);
  border-radius: 28px;
  padding: 38px 26px 30px 26px;
  box-shadow: 0 10px 48px rgba(55,70,87,.23);
  width: 95%;
  max-width: 430px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: modalPopIn .38s cubic-bezier(.78,0,.4,1.06);
}
.cookie-modal-close {
  position: absolute;
  top: 15px; right: 15px;
  background: transparent;
  border: none;
  font-size: 1.93rem;
  color: var(--color-primary);
  cursor: pointer;
}
.cookie-modal-content h3 {margin-top:6px;}
.cookie-categories {
  display:flex;
  flex-direction:column;
  gap:13px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 11px 12px;
  border-radius: 13px;
  background: var(--color-pastel-blue);
  font-size:1.03em;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-primary);
  width: 19px;
  height: 19px;
  border-radius: 6px;
}
.cookie-category .always-on {
  color: #6abc8c;
  font-size:0.98em;
  margin-left: auto;
}

.cookie-modal-buttons {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 10px;
}
@media (max-width:500px){
  .cookie-modal-content{padding: 17px 5vw 18px 5vw;}
  .cookie-category{padding:6px 5px;}
}

@keyframes fadeIn {from{opacity:0;} to{opacity:1;}}
@keyframes modalPopIn {
  from{transform:scale(.92) translateY(36px);opacity:0.4;}
  to{transform:scale(1) translateY(0);opacity:1;}
}

/* === MISC/INTERACTIONS/SHADOWS/ANIMATIONS === */
button, .cta-button {
  cursor: pointer;
  transition: box-shadow .13s, transform .13s;
}
button:active,.cta-button:active {
  transform: scale(.97);
}
input, select, textarea {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 8px 9px;
  background: var(--color-white);
}
::-webkit-input-placeholder { color: #bebfc9; }
::-moz-placeholder { color: #bebfc9; }
:-ms-input-placeholder { color: #bebfc9; }
::placeholder { color: #bebfc9; }

/* === RESPONSIVE DESIGN, FLEX PATTERNS === */
@media (max-width:900px) {
  .container {padding: 0 8px;}
  .section{padding: 30px 5vw;}
}
@media (max-width:700px){
  .testimonial-card{padding:10px 3vw; font-size:0.95rem;}
  .card{padding:16px 10px; min-width:200px;}
}
@media (max-width:500px) {
  h1 {font-size:1.42rem;}
  h2 {font-size:1.1rem;}
  .section {padding: 19px 1vw; margin-bottom:31px;}
  .text-section {padding: 8px 5px;}
  .card-container{gap:12px;}
  .content-wrapper{gap:10px;}
}

/* === VISUAL HIERARCHY, SPACING, WHITESPACE === */
section + section {margin-top:24px;}
main > section:not(:first-of-type) {background: var(--color-pastel-mint);}
.card:not(:last-child), .testimonial-card:not(:last-child), article:not(:last-child) {
  margin-bottom: 24px;
}

/* === ACCESSIBILITY/BEST PRACTICES === */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{transition:none!important;animation:none!important;}
}

/* === UTILITIES === */
.hide {display: none !important;}
.show {display: block !important;}

/* === END OF STYLE === */
