/* 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,
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 { height: 100%; }
body { min-height: 100%; }
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section { display: block; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; border: 0; }
a { text-decoration: none; color: inherit; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

/* FONT IMPORTS */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Open+Sans:wght@400;600&display=swap');

:root {
  --color-primary: #28506b;
  --color-secondary: #e6ccb2;
  --color-accent: #cee5d0;
  --color-bg: #f8f8f6;
  --color-card-bg: #fff;
  --color-dark: #28313B;
  --color-light: #fff;
  --color-muted: #888;
  --color-success: #5bb98b;
  --color-shadow: rgba(40,80,107,.08);
  --color-shadow-strong: rgba(40,80,107,.15);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

body {
  font-family: var(--font-body);
  background: linear-gradient(135deg, #cee5d0 0%, #e6ccb2 100%);
  color: var(--color-dark);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}

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

.content-wrapper {
  background: var(--color-card-bg);
  border-radius: 18px;
  box-shadow: 0 2px 16px var(--color-shadow);
  padding: 40px 24px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: box-shadow .3s;
}
.content-wrapper.text-section {
  background: var(--color-accent);
  box-shadow: 0 2px 12px var(--color-shadow-strong);
}

section {
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* HEADINGS & TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: .01em;
  font-weight: 700;
  color: var(--color-primary);
}
h1 {
  font-size: 2.3rem;
  margin-bottom: 18px;
  line-height: 1.18;
}
h2 {
  font-size: 1.7rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  font-weight: 600;
}
h4 {
  font-size: 1rem;
  margin-bottom: 10px;
}
p, li, address {
  color: var(--color-dark);
  font-size: 1rem;
}
small, .small {
  font-size: 0.9rem;
  color: var(--color-muted);
}
strong { font-weight: 700; }

ul, ol {
  margin-left: 0;
  padding-left: 0;
  margin-bottom: 0; 
}
ul li, ol li {
  padding-left: 0;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.6;
}
ul li:last-child, ol li:last-child { margin-bottom: 0; }

/* BUTTONS */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  border: none;
  outline: none;
  cursor: pointer;
  border-radius: 32px;
  font-size: 1.07rem;
  font-weight: 600;
  padding: 13px 36px;
  box-shadow: 0 2px 8px var(--color-shadow);
  transition: background 0.2s, color 0.2s, box-shadow 0.3s, transform 0.15s;
  margin-top: 16px;
  margin-bottom: 8px;
}
.btn-primary {
  background: linear-gradient(90deg, #28506b 25%, #507ba2 100%);
  color: var(--color-light);
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, #23445b 40%, #28506b 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 18px var(--color-shadow-strong);
}
.btn-secondary {
  background: linear-gradient(90deg, #e6ccb2 40%, #cee5d0 100%);
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: linear-gradient(90deg, #cee5d0 40%, #e6ccb2 100%);
  color: #23445b;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 14px var(--color-shadow-strong);
}

/* HEADER & NAVIGATION */
header {
  background: linear-gradient(97deg, #cee5d0 0%, #e6ccb2 100%);
  box-shadow: 0 2px 16px var(--color-shadow);
  padding: 0 0 0 0;
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.desktop-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  margin-left: 32px;
}
.desktop-nav a {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  padding: 6px 0;
  transition: color 0.14s;
}
.desktop-nav a:hover, .desktop-nav a:focus {
  color: #185859;
}
.desktop-nav a::after {
  content: '';
  display: block;
  height: 2px;
  width: 0%;
  background: var(--color-primary);
  transition: width 0.3s;
  margin-top: 3px;
}
.desktop-nav a:hover::after, .desktop-nav a:focus::after { width: 100%; }

/* Mobile Menu Hamburger */
.mobile-menu-toggle {
  display: none;
  background: linear-gradient(90deg, #28506b, #507ba2);
  color: #fff;
  border: none;
  border-radius: 40px;
  width: 46px;
  height: 46px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  margin-left: 18px;
  box-shadow: 0 1px 6px var(--color-shadow-strong);
  cursor: pointer;
  transition: background .18s;
  z-index: 110;
}
.mobile-menu-toggle:active {
  background: var(--color-primary);
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100%;
  max-width: 380px;
  background: linear-gradient(135deg, #e6ccb2 70%, #cee5d0 100%);
  box-shadow: -4px 0 18px var(--color-shadow-strong);
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.75,.01,.36,1);
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--color-primary);
  margin: 18px 24px 5px 0;
  cursor: pointer;
  transition: color 0.14s;
  z-index: 1200;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-top: 32px;
  padding: 0 32px 42px 32px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--color-primary);
  font-weight: 700;
  padding: 9px 0;
  transition: color .2s, background .18s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus { color: #23445b; background: rgba(40,80,107,.10); border-radius: 8px; }

/* MENUS: DESKTOP/MOBILE VISIBILITY */
@media (max-width: 991px) {
  .desktop-nav { display: none; }
  .mobile-menu-toggle { display: inline-flex; }
}
@media (min-width: 992px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* MAIN SECTIONS & FLEX UTILS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-card-bg);
  border-radius: 16px;
  box-shadow: 0 2px 12px var(--color-shadow);
  transition: box-shadow .21s, transform .18s;
  padding: 30px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.card:hover {
  box-shadow: 0 6px 24px var(--color-shadow-strong);
  transform: translateY(-3px) scale(1.01);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  padding: 24px 30px;
  margin-bottom: 20px;
  border-radius: 15px;
  box-shadow: 0 2px 10px var(--color-shadow-strong);
  max-width: 520px;
  transition: box-shadow .22s;
}
.testimonial-card p {
  font-size: 1.08rem;
  color: #23445b;
  font-style: italic;
}
.testimonial-card span {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.98rem;
}
.testimonial-card:hover {
  box-shadow: 0 6px 20px var(--color-shadow-strong);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}


/* FOOTER */
footer {
  background: linear-gradient(90deg, #e6ccb2 60%, #cee5d0 100%);
  border-top: 1px solid #e6ccb2;
  margin-top: 80px;
  padding: 36px 0 0 0;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}
footer div, footer nav, footer address {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: var(--color-primary);
  font-size: 1rem;
  margin-bottom: 6px;
  transition: color 0.15s;
}
footer nav a:hover {
  color: #507ba2;
}
footer address p {
  font-size: 0.98rem;
  color: var(--color-dark);
  margin-bottom: 3px;
}
footer img {
  height: 44px;
  width: auto;
  margin-bottom: 6px;
}
footer p {
  font-size: 1rem;
  color: var(--color-dark);
}

/* LINKS */
a {
  color: var(--color-primary);
  transition: color .16s;
}
a:hover, a:focus {
  color: #507ba2;
  text-decoration: underline;
}

/* ICONS in Lists */
ul li img, ol li img {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 1px 2px rgba(40,80,107,.09));
}

@media (max-width: 991px) {
  .container {
    max-width: 100%;
    flex-direction: column;
    gap: 36px;
  }
  footer .container { flex-direction: column; gap: 32px; }
}

/* RESPONSIVE LAYOUTS */
@media (max-width: 768px) {
  .section, section {
    padding: 28px 10px;
    margin-bottom: 32px;
  }
  .content-wrapper {
    padding: 30px 8px;
    margin-bottom: 24px;
  }
  .testimonial-card {
    padding: 18px 12px;
    max-width: 100%;
  }
  .content-grid, .card-container {
    gap: 12px;
    flex-direction: column;
  }
  .text-image-section {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  header .container {
    flex-direction: row;
    padding-left: 12px;
    padding-right: 12px;
  }
  footer {
    padding: 28px 0 0 0;
  }
}

/* Active/focus states for accessibility */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* MICRO-INTERACTIONS */
.card, .testimonial-card, .btn-primary, .btn-secondary {
  transition-property: box-shadow, transform, background, color;
  transition-duration: .21s;
}
li strong {
  color: var(--color-primary);
  font-weight: 700;
}
ul li span {
  color: var(--color-success);
  font-weight: 600;
  font-size: .98em;
}

/* UTILS */
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 32px; }
.text-center { text-align: center; }
.flex { display: flex !important; }
.align-center { align-items: center !important; }
.align-start { align-items: flex-start !important; }
.gap-20 { gap: 20px; }

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: linear-gradient(90deg, #cee5d0 65%, #e6ccb2 100%);
  box-shadow: 0 -2px 18px var(--color-shadow);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px 20px;
  font-size: 1rem;
  transition: transform .36s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner-message {
  max-width: 360px;
  color: var(--color-primary);
}
.cookie-banner .btn-primary, .cookie-banner .btn-secondary {
  padding: 8px 24px;
  font-size: 0.97rem;
  margin: 0 5px;
  min-width: 110px;
}
.cookie-settings {
  background: none;
  color: var(--color-dark);
  border: 1px dashed var(--color-dark);
  border-radius: 24px;
  font-size: 0.95rem;
  font-family: var(--font-display);
  font-weight: 600;
  cursor: pointer;
  padding: 8px 19px;
  margin: 0 2px;
  transition: background .17s, color .17s;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: var(--color-accent);
}

/* COOKIE CONSENT MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(48,64,80,.36);
  z-index: 10100;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn .16s;
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1;}
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 28px var(--color-shadow-strong);
  max-width: 400px;
  width: 96%;
  padding: 30px 26px 20px 26px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  z-index: 20000;
  animation: popupOpen .24s cubic-bezier(.75,.01,.36,1);
}
@keyframes popupOpen {
  from {transform:scale(.93); opacity:.62;} to {transform:scale(1); opacity:1;}
}
.cookie-modal h2 {
  color: var(--color-primary);
  font-size: 1.19rem;
  margin-bottom: 9px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  margin-bottom: 12px;
}
.cookie-modal .cookie-switch {
  appearance: none;
  width: 34px;
  height: 18px;
  background: var(--color-accent);
  border-radius: 18px;
  position: relative;
  transition: background .19s;
  outline: none;
  box-shadow: 0 1px 3px var(--color-shadow);
}
.cookie-modal .cookie-switch:checked {
  background: var(--color-success);
}
.cookie-modal .cookie-switch:before {
  content: '';
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  left: 2px;
  top: 2px;
  transition: left .18s;
  box-shadow: 0 1px 2px var(--color-shadow);
}
.cookie-modal .cookie-switch:checked:before {
  left: 18px;
  background: #fff;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal .btn-primary, .cookie-modal .btn-secondary {
  padding: 8px 17px;
  font-size: 0.98rem;
}
.cookie-modal .essential-info {
  color: var(--color-muted);
  font-size: 0.92rem;
  font-style: italic;
}
@media (max-width: 639px) {
  .cookie-modal { padding: 15px 6px 10px 6px; }
  .cookie-modal h2 { font-size: 1.01rem; }
}

/* HIDE COOKIE BANNER/MODAL WHEN NEEDED */
.cookie-modal-overlay.hide { display: none !important; }

/* ANIMATED SLIDE-IN BANNER & MOBILE MENU */
@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 10px;
    font-size: 0.97rem;
  }
  .cookie-banner .btn-primary, .cookie-banner .btn-secondary, .cookie-settings {
    width: 100%;
    margin: 8px 0 0 0;
  }
}

/* HIDE close icon on desktop (mobile-menu-close floats right) */
@media (min-width: 992px) {
  .mobile-menu-close { display: none !important;}
}

/* ALTERNATING CARD COLORS FOR FEATURE/INFO SECTIONS */
.card-container .card:nth-child(even) {
  background: var(--color-accent);
  border-left: 4px solid var(--color-primary);
}
.card-container .card {
  min-width: 220px;
  max-width: 350px;
}

/* SCROLLBAR STYLES (Webkit/Edge/Chrome only) */
::-webkit-scrollbar {
  width: 8px;
  background: #eee;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb {
  background: #cee5d0;
  border-radius: 7px;
}

/* END OF CSS */
