/* 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, menu, 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 {
  scroll-behavior: smooth;
}
body {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  background: #FCFBF9;
  color: #385265;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;   /* for Mac/iOS */
  -moz-osx-font-smoothing: grayscale;    /* for Mac/iOS */
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #197278;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #E2735C;
}
ul, ol {
  list-style: none;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: 100%;
  border-radius: 0;
  outline: none;
  border: none;
  background: none;
}
button:focus {
  outline: 2px solid #197278;
}

/* SCROLLBAR */
::-webkit-scrollbar {
  width: 10px;
  background: #f2f6f7;
}
::-webkit-scrollbar-thumb {
  background: #e2eaf2;
  border-radius: 10px;
}

/* CONTAINER */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/*************************************
  TYPOGRAPHY
**************************************/
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #27323a;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.2;
}
h2 {
  font-size: 2rem;
  margin-bottom: 24px;
  line-height: 1.25;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
h4 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  font-weight: 600;
}
p, ul, ol, li {
  font-size: 1rem;
}
strong {
  font-weight: 700;
  color: #197278;
}
.text-section {
  margin-bottom: 20px;
}
.text-section ul {
  padding-left: 20px;
}
.text-section ul li {
  margin-bottom: 12px;
}

/*************************************
  HEADER & NAVIGATION
**************************************/
header {
  background: #F2F6FD;
  box-shadow: 0 2px 8px rgba(116, 164, 190, 0.13);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 36px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
header nav a {
  font-size: 1rem;
  color: #197278;
  padding: 8px 0 8px 0;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  font-family: 'Montserrat', Arial, sans-serif;
}
header nav a:hover, header nav a:focus {
  color: #fff;
  background: #197278;
}
.btn-primary {
  background: linear-gradient(90deg, #c6f3ff 0%, #E0B7EC 100%);
  color: #197278;
  border: none;
  border-radius: 32px;
  padding: 12px 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  margin-left: 10px;
  box-shadow: 0 4px 24px rgba(86, 178, 185, 0.11);
  cursor: pointer;
  transition: background 0.25s, color 0.2s, transform 0.08s;
  outline: none;
  letter-spacing: 0.01em;
}
.btn-primary:hover, .btn-primary:focus {
  background: #e6f1f6;
  color: #E2735C;
  transform: translateY(-2px) scale(1.05);
}

/*************************************
  MOBILE NAVIGATION
**************************************/
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  color: #197278;
  background: none;
  border: none;
  margin-left: 16px;
  cursor: pointer;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(240,246,255,0.96);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.7,.3,0,1);
  box-shadow: -2px 0 24px 0 rgba(75, 132, 154, 0.10);
  padding: 24px 32px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #E2735C;
  align-self: flex-end;
  margin-bottom: 8px;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #197278;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 24px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.4rem;
  color: #197278;
  padding: 12px 0;
  border-radius: 8px;
  transition: background .15s, color .15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E0B7EC;
  color: #E2735C;
}

/*************************************
  HERO & SECTIONS
**************************************/
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.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: 22px;
  }
}

/*************************************
  CARDS, FEATURES & FLEX LAYOUTS
**************************************/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 20px 0 rgba(32, 93, 98, 0.07);
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
  flex: 1 1 300px;
  transition: box-shadow 0.22s, transform 0.12s;
  min-width: 270px;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(32,93,98,0.13);
  transform: translateY(-2px) scale(1.01);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 24px;
  gap: 16px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.feature-list, .trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}
.feature-list li, .trust-list li {
  background: #F7FAFE;
  border-radius: 14px;
  box-shadow: 0 1px 7px 0 rgba(25, 114, 120, 0.07);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  min-width: 220px;
  max-width: 340px;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 0;
}
.feature-list li img, .trust-list li img {
  width: 36px;
  height: 36px;
  margin-bottom: 6px;
}

/*************************************
  TESTIMONIALS
**************************************/
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  margin-bottom: 20px;
  border-radius: 22px;
  box-shadow: 0 2px 20px 0 rgba(87, 105, 115, 0.08);
  border: 1px solid #BDE6E8;
  color: #27323a;   /* dark for contrast */
  max-width: 520px;
}
.testimonial-card p {
  font-size: 1.13rem;
  color: #475360;
}
.testimonial-card h3 {
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #197278;
  margin-bottom: 0;
}
.stars {
  letter-spacing: 3px;
  color: #E2735C;
  font-size: 1.3rem;
}

/*************************************
  FOOTER
**************************************/
footer {
  background: #e6edf8;
  padding: 0;
  margin-top: 60px;
  box-shadow: 0 -2px 12px rgba(116, 164, 190, 0.07);
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding-top: 36px;
  padding-bottom: 24px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: #27323a;
  font-size: 1rem;
  margin-bottom: 3px;
}
footer nav a:hover {
  color: #E2735C;
}
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact img {
  width: 20px;
  height: 20px;
  opacity: 0.7;
}
footer p {
  color: #758393;
  font-size: 0.92rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: 12px;
}

/*************************************
  COOKIE CONSENT BANNER
**************************************/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: #FFFFFF;
  border-top: 2px solid #BDE6E8;
  box-shadow: 0 -4px 24px rgba(41, 102, 109,0.09);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  gap: 32px;
  font-size: 1rem;
  animation: slideInBanner 0.8s cubic-bezier(.72,.02,.28,1) 0s 1;
}
@keyframes slideInBanner {
  0% { transform: translateY(110%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
/* Cookie banner responsive */
@media (max-width: 850px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    font-size: 0.98rem;
  }
}
.cookie-banner p {
  color: #27323a;
  margin-bottom: 0;
}
.cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.cookie-banner button {
  border-radius: 22px;
  padding: 8px 22px;
  font-size: 1rem;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: background .22s, color .22s;
  cursor: pointer;
  margin: 0;
}
.btn-cookie-accept {
  background: #d3f7fd;
  color: #197278;
  font-weight: 600;
}
.btn-cookie-accept:hover { background: #197278; color: #fff; }
.btn-cookie-reject {
  background: #ead1d8;
  color: #E2735C;
  font-weight: 500;
}
.btn-cookie-reject:hover { background: #E2735C; color: #fff; }
.btn-cookie-settings {
  background: #eceaea;
  color: #697a8a;
  font-weight: 500;
}
.btn-cookie-settings:hover { background: #dbe5ef; color: #197278; }

/*************************************
  COOKIE SETTINGS MODAL
**************************************/
.cookie-modal-overlay {
  position: fixed;
  z-index: 10000;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(29,56,59,0.24);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: modalfadeIn 0.32s ease-in;
}
@keyframes modalfadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 40px 0 rgba(25,114,120,0.18);
  padding: 36px 34px 28px;
  min-width: 320px;
  max-width: 410px;
  animation: modalSlideIn 0.5s cubic-bezier(.41,.81,.54,1) 0s 1;
  position: relative;
}
@keyframes modalSlideIn {
  0% { transform: scale(.94) translateY(60px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.4rem;
  margin-bottom: 24px;
}
.cookie-category {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-category label {
  font-size: 1rem;
  color: #197278;
}
.cookie-category input[type="checkbox"] {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  accent-color: #E2735C;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 18px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #E2735C;
  cursor: pointer;
  z-index: 2;
  padding: 2px 4px;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #197278;
}

/******************************
  RESPONSIVE BREAKPOINTS
*******************************/
@media (max-width: 1000px) {
  footer .container {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
    padding-top: 24px;
    padding-bottom: 16px;
  }
}
@media (max-width: 900px) {
  .feature-list, .trust-list {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 820px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    padding: 0 10px;
  }
  section {
    padding: 36px 10px;
    margin-bottom: 42px;
  }
  .feature-list li {
    min-width: 180px;
    max-width: 100%;
    padding: 17px;
  }
  .testimonial-card {
    max-width: 100%;
    padding: 13px;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.1rem; }
  header .container {
    flex-direction: row;
    gap: 12px;
    padding: 8px 5px;
  }
  .btn-primary {
    padding: 8px 18px;
    font-size: 1rem;
    margin-left: 2px;
  }
}

/****************************
  MICRO-INTERACTIONS
*****************************/
button, .btn-primary, .mobile-nav a, .cookie-banner button {
  transition: background .18s, color .18s, transform .13s, box-shadow .18s;
}
.card, .testimonial-card, .feature-list li, .trust-list li {
  transition: box-shadow .17s, transform .12s;
}
.card:hover, .feature-list li:hover, .trust-list li:hover {
  box-shadow: 0 7px 24px 0 rgba(32,93,98,0.09);
  transform: translateY(-3px) scale(1.016);
}

/****************************
  SPACING UTILS & FLEX HELPERS
*****************************/
.section {  /* As required, overrides section spacing if used */
  margin-bottom: 60px !important;
  padding: 40px 20px !important;
}
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.testimonial-card { display: flex; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/****************************
  FORMS (for any future forms)
*****************************/
input[type="text"], input[type="email"], textarea {
  border: 1px solid #b3dbe3;
  background: #f7fafd;
  border-radius: 10px;
  padding: 12px;
  font-size: 1rem;
  width: 100%;
  margin-bottom: 18px;
  transition: border .15s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border: 1.5px solid #197278;
  background: #eaf8fc;
}

/*************************************
  ACCESSIBILITY IMPROVEMENTS
**************************************/
:focus-visible {
  outline: 2px solid #197278;
  outline-offset: 2px;
}

/*************************************
  DREAMY PASTEL ATMOSPHERE
**************************************/
body {
  background: linear-gradient(180deg, #F1F1EF 0%, #FCFBF9 55%, #F7FAFE 100%);
}
.card, .testimonial-card, .cookie-modal {
  background: linear-gradient(116deg, #F7FAFE 80%, #f3e8f3 100%);
}
.feature-list li {
  background: linear-gradient(90deg, #f7fafc 80%, #f6f1fa 100%);
}
section {
  background: linear-gradient(112deg, #FBFDFE 80%, #f1fcfa 100%);
  box-shadow: 0 2px 28px 0 rgba(112, 177, 187, 0.07);
  border-radius: 22px;
}
/*************************************
  HIDE SCROLL ON BODIES WITH OPEN MODALS OR MENUS
**************************************/
body.menu-open, body.cookie-modal-open {
  overflow: hidden;
}
