/* =============================================================
   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, 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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: #fff;
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #142241;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
  border: none;
}
button {
  border: none;
  background: none;
  font: inherit;
  cursor: pointer;
}
*:focus {
  outline: 2px solid #53CDC8;
  outline-offset: 2px;
}
/* Set up base variables for fallback (for older browsers) */
:root {
  --color-primary: #142241;
  --color-secondary: #53CDC8;
  --color-accent: #FFF8F0;
  --color-body: #fff;
  --color-text: #142241;
  --color-link-hover-bg: rgba(83,205,200,0.08);
  --shadow-card: 0 2px 16px rgba(20,34,65,0.08);
  --shadow-hover: 0 4px 24px rgba(20,34,65,0.13);
  --border-radius: 16px;
}

/* =============================================================
   TYPOGRAPHY
   ============================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-primary);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.25rem; /* 36px */
  margin-bottom: 22px;
}
h2 {
  font-size: 1.75rem; /* 28px */
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem; /* 20px */
  margin-bottom: 12px;
  font-weight: 600;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 10px;
}
p, ul, ol {
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--color-text);
  margin-bottom: 18px;
  font-size: 1rem;
  line-height: 1.65;
}
strong, b {
  font-weight: 600;
}
blockquote {
  font-style: italic;
  color: var(--color-primary);
  background: #F7FBFF;
  padding: 16px 24px;
  border-left: 4px solid var(--color-secondary);
  margin-bottom: 12px;
  border-radius: var(--border-radius);
}
/* Navigation & Links */
nav a, .mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  transition: background 0.15s, color 0.15s;
  padding: 8px 16px;
  border-radius: 8px;
  display: inline-block;
  margin-right: 6px;
  color: var(--color-primary);
}
nav a:last-child, .mobile-nav a:last-child {
  margin-right: 0;
}
nav a:hover, .mobile-nav a:hover,
nav a:focus, .mobile-nav a:focus {
  background: var(--color-link-hover-bg);
  color: var(--color-secondary);
}
.cta {
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--color-secondary);
  color: #fff !important;
  border-radius: 32px;
  padding: 10px 28px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  box-shadow: 0 2px 8px rgba(83,205,200,0.06);
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  border: 0;
  margin-left: 12px;
  margin-bottom: 0;
}
.cta:hover, .cta:focus {
  background: #16928E;
  box-shadow: var(--shadow-hover);
  color: #FFF8F0 !important;
}

/* =============================================================
   LAYOUT + CONTAINER + SPACING
   ============================================================= */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 40px;
    padding: 28px 8px;
  }
}

/* Flex spacing patterns - Only FLEXBOX */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 28px;
  min-width: 260px;
  flex: 1 1 280px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px) scale(1.012);
}
.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;
  background: var(--color-accent);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(20,34,65,0.05);
  margin-bottom: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  padding: 32px 22px 26px 22px;
  min-width: 240px;
  flex: 1 1 240px;
  transition: box-shadow 0.18s, transform 0.18s;
  margin-bottom: 20px;
}
.feature-item img {
  width: 40px;
  height: 40px;
  margin-bottom: 4px;
}
.feature-item span {
  font-size: 15px;
  color: #777;
  font-weight: 400;
  margin-bottom: 6px;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px) scale(1.01);
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.text-section {
  margin-top: 20px;
}
.footer-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-top: 22px;
  margin-bottom: 0;
}
.contact-info p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 15px;
  color: #566080;
}
.contact-info p img {
  width: 18px;
  height: 18px;
}
footer {
  background: var(--color-accent);
  border-top: 1px solid #E7EBF6;
  padding: 32px 0 16px 0;
  font-size: 0.95rem;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 0;
}
footer nav a {
  color: #222a3a;
  font-weight: 500;
  font-size: 1rem;
  background: none;
  padding: 4px 10px;
  border-radius: 6px;
  transition: background 0.15s;
}
footer nav a:hover, footer nav a:focus {
  background: var(--color-link-hover-bg);
  color: var(--color-secondary);
}

@media (max-width: 992px) {
  .footer-flex {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
}

/* =============================================================
   HEADER & NAVIGATION (Desktop)
   ============================================================= */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #F0F3FA;
  position: sticky;
  top: 0;
  z-index: 1100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 10px;
}
header img {
  height: 42px;
}
@media (max-width: 992px) {
  header .container {
    flex-direction: row;
    padding: 10px 10px;
  }
  header nav {
    gap: 6px;
  }
  header img {
    height: 38px;
  }
}
@media (max-width: 768px) {
  header nav {
    display: none;
  }
}

/* ============================================================= 
   MOBILE MENU – Hamburger Navigation
   ============================================================= */
.mobile-menu-toggle {
  display: none;
}
.mobile-menu{
  display: none;
}
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
    font-size: 2rem;
    color: var(--color-primary);
    background: none;
    border: none;
    outline: none;
    z-index: 1201;
    position: relative;
    margin-left: 8px;
    padding: 2px 10px;
    line-height: 1;
  }
  .mobile-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background: rgba(20,34,65,0.11);
    z-index: 1200;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.22s;
  }
  .mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
  }
  .mobile-menu-close {
    background: #fff;
    color: var(--color-primary);
    font-size: 2.2rem;
    margin: 24px 24px 6px 0;
    padding: 3px 14px 3px 10px;
    border-radius: 8px;
    transition: background 0.17s, color 0.16s;
    align-self: flex-end;
    z-index: 1300;
  }
  .mobile-menu-close:hover, .mobile-menu-close:focus {
    background: var(--color-secondary);
    color: #fff;
  }
  .mobile-nav {
    background: #fff;
    min-width: 240px;
    margin-top: 0;
    padding: 36px 20px 16px 32px;
    display: flex;
    flex-direction: column;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 10px 24px rgba(20,34,65,0.10);
    transform: translateX(-100%);
    transition: transform 0.38s cubic-bezier(0.7,0.18,0.3,1.2);
  }
  .mobile-menu.open .mobile-nav {
    transform: translateX(0);
  }
  .mobile-nav a {
    margin-bottom: 12px;
    padding: 12px 0;
    border-radius: 6px;
    color: var(--color-primary);
    font-size: 1.1rem;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    transition: background 0.13s, color 0.13s;
  }
  .mobile-nav a:last-child {
    margin-bottom: 0;
  }
  .mobile-nav a:hover, .mobile-nav a:focus {
    background: var(--color-link-hover-bg);
    color: var(--color-secondary);
  }
}


/* =============================================================
   RESPONSIVE FLEX-LAYOUTS & COMPONENTS
   ============================================================= */
@media (max-width: 992px) {
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px;
  }
  .feature-item {
    padding: 22px 10px 16px 10px;
    min-width: 160px;
  }
  .card {
    padding: 18px 10px;
    min-width: 140px;
  }
}

/* =============================================================
   BUTTONS, INTERACTIONS, MICRO EFFECTS
   ============================================================= */
button, .cta, .mobile-menu-close {
  transition: background 0.19s, box-shadow 0.21s, color 0.17s, transform 0.14s;
}
a.cta {
  display: inline-block;
  text-align: center;
}

/* Microinteraction on press */
button:active, .cta:active {
  transform: scale(0.98);
}


/* =============================================================
   LISTS & INLINE ELEMENTS
   ============================================================= */
ul, ol {
  margin-bottom: 18px;
  padding-left: 14px;
}
ul li, ol li {
  margin-bottom: 9px;
  position: relative;
  padding-left: 16px;
}
ul li:before {
  content: '';
  display: inline-block;
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  background: var(--color-secondary);
  border-radius: 50%;
}

/* =============================================================
   COOKIES CONSENT BANNER & MODAL
   ============================================================= */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 1px solid #E7EBF6;
  box-shadow: 0 -4px 24px rgba(20,34,65,0.08);
  padding: 24px 20px 18px 20px;
  z-index: 2500;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 16px;
  transition: transform 0.44s cubic-bezier(0.74,0.06,0.3,0.91);
  transform: translateY(0);
}
.cookie-consent-banner.hidden {
  transform: translateY(120%);
}
.cookie-banner-content {
  flex: 1 1 250px;
  font-size: 1.04rem;
  color: var(--color-primary);
}
.cookie-banner-buttons {
  display: flex;
  gap: 14px;
  flex: 0 0 auto;
}
.cookie-consent-btn, .cookie-settings-btn {
  background: var(--color-secondary);
  color: #fff;
  border: none;
  padding: 9px 22px;
  border-radius: 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.15s, color 0.13s;
  margin-top: 0;
}
.cookie-settings-btn {
  background: #fff8f0;
  color: var(--color-primary);
  border: 1.5px solid var(--color-secondary);
}
.cookie-consent-btn.reject {
  background: #EFF4F7;
  color: #385280;
  border: 1.2px solid #bfd4d6;
}
.cookie-consent-btn:hover, .cookie-consent-btn:focus {
  background: #176361;
  color: #fff;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: var(--color-secondary);
  color: #fff;
}

@media (max-width: 640px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 10px 18px 10px;
  }
  .cookie-banner-buttons {
    width: 100%;
    justify-content: flex-start;
  }
}

/* Cookie Preference Modal */
.cookie-modal-overlay {
  display: none;
}
.cookie-modal-overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(20,34,65,0.13);
  z-index: 3000;
  animation: fadeIn 0.33s cubic-bezier(0.72, 0.09, 0.4, 1);
}
@keyframes fadeIn {
  from { opacity:0; }
  to { opacity:1; }
}
.cookie-modal {
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(20,34,65,0.16);
  min-width: 320px;
  max-width: 92vw;
  width: 390px;
  padding: 38px 34px 26px 34px;
  position: relative;
  z-index: 3200;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modalPopIn 0.33s cubic-bezier(0.72, 0.09, 0.4, 1);
}
@keyframes modalPopIn {
  0% { opacity:0; transform: translateY(40px) scale(0.97); }
  100% { opacity:1; transform: translateY(0) scale(1); }
}
.cookie-modal-close {
  position: absolute;
  top: 11px; right: 12px;
  background: none;
  color: var(--color-primary);
  font-size: 2rem;
  border-radius: 7px;
  transition: background 0.15s, color 0.15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #f3f8fd;
  color: var(--color-secondary);
}
.cookie-modal h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 3px;
}
.cookie-modal ul {
  list-style: none;
  margin-bottom: 10px;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.01rem;
}
.cookie-modal label {
  flex: 1;
  cursor: pointer;
  color: var(--color-primary);
}
.cookie-modal input[type=checkbox] {
  accent-color: var(--color-secondary);
  width: 18px;
  height: 18px;
  margin-right: 8px;
  flex-shrink: 0;
}
.cookie-modal .cookie-btns {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

@media (max-width: 450px) {
  .cookie-modal {
    min-width: 80vw;
    padding: 16px 6px 20px 10px;
  }
}

/* =============================================================
   UTILITIES
   ============================================================= */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 8px !important; }
.mt-4 { margin-top: 16px !important; }
.mt-6 { margin-top: 24px !important; }
.mb-2 { margin-bottom: 8px !important; }
.mb-4 { margin-bottom: 16px !important; }
.mb-6 { margin-bottom: 24px !important; }

/* =============================================================
   MISC. + NO GRID ABSOLUTELY!
   ============================================================= */
/* Ensure no absolute positioning for content, only allowed for overlay/close buttons */

/* =============================================================
   FOCUS & ACCESSIBILITY
   ============================================================= */
:focus-visible {
  outline: 2.5px solid var(--color-secondary);
  outline-offset: 3px;
}

/* =============================================================
   FINAL SECTION: ENSURE NO GRID, NO OVERLAP
   ============================================================= */
/* Make sure all main containers are flex and spacing is present */

@media (max-width: 600px) {
  h1 {font-size: 1.5rem;}
  h2 {font-size: 1.13rem;}
  h3 {font-size: 1.03rem;}
  p, ul, ol {font-size: 0.97rem;}
  .footer-flex {gap: 10px;}
}

/* =============================================================
   END OF FILE -- Only solid minimalist flexbox CSS
   ============================================================= */