/* 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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #272A2E;
  background-color: #FFF;
  min-height: 100vh;
  line-height: 1.7;
  font-size: 16px;
}

:root {
  --brand-primary: #355A7A;
  --brand-secondary: #F4F7FA;
  --brand-accent: #32876A;
  --brand-accent-muted: #79BFA1;
  --color-bg: #FFF;
  --color-bg-light: #F4F7FA;
  --color-card-bg: #FFF;
  --color-card-shadow: 0 2px 16px rgba(53, 90, 122, 0.12);
  --color-border: #E7EBF0;
  --color-dark: #232428;
  --color-subtitle: #6D7992;
  --color-success: #32876A;
  --color-warning: #F4C27A;
  --color-danger: #E15E5E;
  --color-info: #E5F5F2;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 8px rgba(53, 90, 122, 0.10);
  --shadow-md: 0 4px 24px rgba(53, 90, 122, 0.13);
  --shadow-card: 0 6px 24px rgba(53, 90, 122, 0.13);
  --transition: all 0.26s cubic-bezier(.29, .66, .61, 1);
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #355A7A;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.25rem;
  line-height: 1.2;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
}
.subtitle {
  color: var(--color-subtitle);
  font-size: 1.1rem;
  margin-bottom: 18px;
  font-weight: 500;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}

p, ul, ol, li {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #232428;
  font-size: 1rem;
  margin-bottom: 14px;
}

ul {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 0;
}
li {
  margin-bottom: 10px;
}
a {
  color: var(--brand-accent);
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: var(--brand-primary);
  text-decoration: underline;
  outline: none;
}

strong { font-weight: bold; }

em { font-style: italic; }

/* CONTAINERS & SECTIONS */
.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.features-icons {
  display: flex;
  gap: 20px;
  margin-top: 14px;
}
.features-icons img {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
  padding: 7px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s;
}
.card:hover { box-shadow: 0 10px 36px rgba(53, 90, 122, 0.16); }

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: stretch;
}
.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: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
  font-size: 1.02rem;
  color: #222B32;
  position: relative;
  min-width: 0;
}
.testimonial-card p {
  color: #222B32;
  margin-bottom: 6px;
}
.testimonial-card strong {
  color: var(--brand-accent);
  font-weight: 700;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 24px 20px;
  margin-bottom: 20px;
}

/* BUTTONS & CTA */
.cta-primary, .cta-secondary, .cookie-banner button, .cookie-modal button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  background: #9ab0c2;
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 14px 32px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background 0.16s, box-shadow 0.16s, transform 0.13s;
  margin-top: 8px;
  margin-bottom: 8px;
  text-align: center;
  display: inline-block;
  outline: none;
}
.cta-primary:hover, .cta-primary:focus,
.cookie-banner button:hover, .cookie-banner button:focus,
.cookie-modal button:hover, .cookie-modal button:focus {
  background: var(--brand-accent);
  box-shadow: 0 8px 32px rgba(50, 135, 106, 0.12);
  transform: translateY(-2px) scale(1.03);
}
.cta-secondary {
  background: #fff;
  color: var(--brand-primary);
  border: 2px solid var(--brand-primary);
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--brand-accent-muted);
  color: #23495C;
  border-color: var(--brand-accent);
}

/* MAIN NAVIGATION */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 16px rgba(53, 90, 122, 0.07);
  z-index: 50;
  position: relative;
  margin-bottom: 10px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  width: 100%;
}
.main-nav a {
  color: #355A7A;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  transition: background 0.13s, color 0.13s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--brand-accent-muted);
  color: #23495C;
}
.main-nav img {
  height: 38px;
  width: auto;
  margin-right: 12px;
}
.main-nav .cta-primary {
  margin-left: auto;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--brand-primary);
  margin-left: auto;
  margin-right: 12px;
  border-radius: var(--radius-md);
  height: 44px;
  width: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.14s;
  cursor: pointer;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--brand-accent-muted);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(44,55,62,0.34);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.23s;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav {
  background: #fff;
  width: 85vw;
  max-width: 370px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 34px 24px 24px;
  gap: 8px;
  box-shadow: 0 4px 30px rgba(53, 90, 122, 0.19);
  transform: translateX(100%);
  transition: transform 0.30s cubic-bezier(.55,.09,.68,.53);
}
.mobile-menu.open .mobile-nav {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  color: var(--brand-primary);
  font-size: 2rem;
  cursor: pointer;
  border-radius: var(--radius-md);
  z-index: 10;
  transition: background 0.2s;
  height: 40px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--brand-accent-muted);
}
.mobile-nav a {
  font-family: 'Montserrat', "Roboto", Arial, sans-serif;
  color: var(--brand-primary);
  font-size: 1.05rem;
  padding: 15px 0 13px 10px;
  margin-bottom: 2px;
  border-radius: var(--radius-md);
  transition: background 0.11s, color 0.11s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-accent-muted);
  color: #23495C;
}

/* Hide main nav, show burger on mobile */
@media (max-width: 990px) {
  .main-nav a:not(:first-child), .main-nav .cta-primary {
    display: none;
  }
  .main-nav img {
    margin-right: 0;
  }
  .main-nav {
    justify-content: flex-start;
    gap: 6px;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 12px;
  }
  .section {
    margin-bottom: 38px;
    padding: 22px 8px;
  }
  .features-icons img {
    width: 40px;
    height: 40px;
  }
  h1 { font-size: 1.42rem; }
  h2 { font-size: 1.07rem; }
  .testimonial-card { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
  .feature-item { padding: 15px 10px; }
  .text-image-section { flex-direction: column; gap: 16px !important; }
}
@media (max-width: 500px) {
  .container { padding: 0 6px; }
}

/* FOOTER */
footer {
  border-top: 1px solid var(--color-border);
  background: #F6FAFC;
  padding: 38px 0 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}
.footer-nav {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #355A7A;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  transition: background 0.14s, color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--brand-accent-muted);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  color: #355A7A;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
.footer-brand img {
  width: 38px;
  height: 38px;
}

/* COOKIE CONSENT BANNER BOTTOM FIXED */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff7ea;
  color: #232428;
  box-shadow: 0 -2px 16px rgba(244, 194, 122, 0.23);
  padding: 20px 16px;
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
  flex-wrap: wrap;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  animation: bannerIn 0.6s cubic-bezier(.22,1.05,.71,.96);
}
@keyframes bannerIn {
  from { opacity: 0; transform: translateY(48px);  }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner p {
  flex: 1 1 200px;
  color: #5A4830;
  font-size: 1rem;
  margin-bottom: 0;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.cookie-banner button {
  background: var(--brand-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  padding: 9px 26px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background 0.16s, transform 0.14s;
  margin: 0;
}
.cookie-banner button.cookie-secondary {
  background: #fff;
  color: var(--brand-primary);
  border: 2px solid var(--brand-primary);
}
.cookie-banner button.cookie-settings {
  background: var(--brand-accent-muted);
  color: #23495C;
  border: none;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--brand-accent);
  color: #fff;
  transform: scale(1.04);
}

@media (max-width: 768px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 16px; padding: 16px 7px; }
  .cookie-banner .cookie-btns { justify-content: flex-start; }
}

/* COOKIE MODAL */
.cookie-modal-backdrop {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  width: 100vw; height: 100vh;
  z-index: 3500;
  background: rgba(44,52,36,0.41);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.23s;
}
.cookie-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #FFF7EA;
  border-radius: var(--radius-lg);
  max-width: 410px;
  width: 94vw;
  padding: 32px 24px 28px;
  box-shadow: 0 10px 25px rgba(244,194,122,0.12); /* warm shadow */
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal h3 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.3rem;
  color: var(--brand-primary);
  margin-bottom: 10px;
}
.cookie-modal .cookie-modal-close {
  background: none;
  border: none;
  color: var(--brand-primary);
  font-size: 1.7rem;
  position: absolute;
  top: 14px;
  right: 16px;
  cursor: pointer;
  border-radius: var(--radius-md);
  z-index: 2;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  font-size: 1.04rem;
}
.cookie-modal .cookie-toggle {
  appearance: none;
  width: 36px;
  height: 20px;
  border-radius: 16px;
  background: #e5e2de;
  position: relative;
  outline: none;
  transition: background 0.16s;
  cursor: pointer;
}
.cookie-modal .cookie-toggle:checked {
  background: var(--brand-accent);
}
.cookie-modal .cookie-toggle:before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 2px;
  top: 2px;
  transition: transform 0.19s cubic-bezier(.39,1.48,.47,1);
}
.cookie-modal .cookie-toggle:checked:before {
  transform: translateX(16px);
}
.cookie-modal button {
  margin-top: 18px;
}

@media (max-width: 520px) {
  .cookie-modal {
    padding: 13px 8px 17px;
    width: 98vw;
    max-width: 360px;
  }
}

/* SPACING & CONSISTENCY (MANDATORY) */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.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;
}

/* GENERAL UI DETAILS */
::-webkit-scrollbar {
  width: 10px;
  background: #f7f7f9;
}
::-webkit-scrollbar-thumb {
  background: #ebeced;
  border-radius: var(--radius-md);
}
::-webkit-scrollbar-thumb:hover {
  background: #cadee4;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  display: block;
}

/* UTILITY CLASSES */
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.mt-24 { margin-top: 24px !important; }
.mt-40 { margin-top: 40px !important; }

.hide-mobile { display: block; }
@media (max-width: 768px) { .hide-mobile { display: none !important;} }

/* A11Y Focus States */
:focus {
  outline: 2px solid var(--brand-accent)!important;
  outline-offset: 1px;
}

/* FORM ELEMENTS (For contact/email forms if added in future)*/
input, textarea, select {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  border-radius: var(--radius-md);
  border: 1.5px solid #CAD9E4;
  padding: 11px 13px;
  background: #FBFBFD;
  font-size: 1rem;
  margin-bottom: 16px;
  width: 100%;
  transition: border 0.12s, box-shadow 0.14s;
  box-shadow: 0 1px 6px rgba(53,90,122,0.04);
}
input:focus, textarea:focus, select:focus {
  border-color: var(--brand-accent);
  box-shadow: 0 2px 12px rgba(50,135,106,0.15);
}

button, input[type=submit] {
  font-family: inherit;
}

/* ANIMATION FOR CTA */
.cta-primary, .cta-secondary {
  will-change: transform, box-shadow;
}
.cta-primary:active {
  transform: scale(0.96);
  box-shadow: 0 2px 6px #bdd7c7;
}

/* MICRO-INTERACTIONS */
.card {
  transition: box-shadow .22s, transform 0.13s;
}
.card:hover {
  box-shadow: 0 14px 30px rgba(53,90,122,0.22);
  transform: translateY(-4px) scale(1.01);
}
.testimonial-card {
  transition: box-shadow .15s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 30px rgba(50,135,106,0.10);
}

/* ENSURE NO OVERLAPPING CONTENT */
.card, .testimonial-card, .feature-item, .section {
  margin-bottom: 24px;
}

/* PREVENT OVERLAP: Ensure min spacing for all section blocks */
section+section {
  margin-top: 26px;
}

/* MAKE SURE FLEXBOX IS USED FOR ALL LAYOUTS */
/* (Enforced in container, section, card-container, content-grid, feature-item, testimonial-card, text-image-section, nav, etc.) */

/* END OF STYLES */
