/* RESET & BASELINE ---------------------------- */
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 {
  line-height: 1.15; 
  -webkit-text-size-adjust: 100%;
  background-color: #F6F7F9;
  height: 100%;
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Roboto', Arial, sans-serif;
  background-color: #F6F7F9;
  color: #22394B;
  font-size: 16px;
  line-height: 1.6;
  position: relative;
}

main {
  flex: 1 0 auto;
}

img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
a {
  color: #22394B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #175189;
  outline: none;
}

ul, ol {
  padding-left: 24px;
}

/* TYPOGRAPHY ----------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&family=Roboto:wght@400;500;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 700;
  color: #22394B;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
  line-height: 1.2;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}

.text-section p, p, li {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}
strong {
  font-weight: 700;
}

blockquote {
  font-style: italic;
  background: #F6F7F9;
  border-left: 4px solid #22394B;
  padding: 12px 20px;
  color: #22394B;
  margin: 0;
  font-size: 1.1rem;
}

/* CONTAINER & SECTIONS ------------------------- */
.container {
  max-width: 1100px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(34, 57, 75, 0.06);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(34,57,75,0.04);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 250px;
  flex: 1 1 320px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

ul li, ol li {
  margin-bottom: 12px;
}

.text-section {
  margin-bottom: 16px;
}

/* HEADER & NAVIGATION -------------------------- */
header {
  background: #22394B;
  color: #fff;
  box-shadow: 0 4px 24px 0 rgba(34, 57, 75, 0.07);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 72px;
  gap: 20px;
  position: relative;
}
header img {
  height: 40px;
  margin-right: 28px;
}
.main-nav {
  display: flex;
  gap: 20px;
}
.main-nav a {
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s;
  padding: 8px 8px;
  border-radius: 5px;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #FFD447;
  background: rgba(255, 212, 71, 0.09);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 12px;
}
footer {
  background: #22394B;
  color: #fff;
  padding-top: 32px;
  padding-bottom: 24px;
}
footer .text-section {
  color: #fff;
  text-align: center;
  font-size: 0.97rem;
}
footer a {
  color: #FFD447;
  transition: color 0.22s;
  font-size: 1rem;
}
footer a:hover,
footer a:focus {
  color: #fff;
  text-decoration: underline;
}

/* BUTTONS -------------------------------------- */
.btn-primary, .btn-secondary {
  font-family: 'Roboto', Arial, sans-serif;
  display: inline-block;
  padding: 14px 32px;
  border-radius: 7px;
  font-weight: bold;
  transition: background 0.22s, color 0.22s, box-shadow 0.24s;
  cursor: pointer;
  font-size: 1.05rem;
  border: none;
  box-shadow: 0 2px 12px 0 rgba(34, 57, 75, 0.06);
  margin-top: 8px;
}
.btn-primary {
  background: #22394B;
  color: #fff;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #175189;
  color: #FFD447;
  box-shadow: 0 5px 26px 0 rgba(34,57,75,0.18);
}
.btn-secondary {
  background: #FFD447;
  color: #22394B;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: #FFA900;
  color: #22394B;
}

/* TESTIMONIALS --------------------------------- */
.testimonial-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 16px 0 rgba(34,57,75,0.09);
  padding: 20px 28px;
  color: #22394B;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  margin-top: 8px;
  min-width: 0;
  font-size: 1.08rem;
}
.testimonial-card strong {
  display: inline-block;
  margin-top: 8px;
  font-weight: 700;
  color: #175189;
}
/* Ensures testimonials maintain contrast */
.testimonial-card blockquote {
  background: transparent;
  border: none;
  color: #22394B;
  padding: 0;
}

/* BURGER MENU & MOBILE NAVIGATION -------------- */
.mobile-menu-toggle {
  background: none;
  border: none;
  color: #FFD447;
  font-size: 2.2rem;
  margin-left: auto;
  cursor: pointer;
  display: none;
  line-height: 1;
  padding: 6px 14px;
  transition: color 0.22s, background 0.15s;
  border-radius: 7px;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: rgba(255, 212, 71, 0.13);
  color: #fff;
  outline: none;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #22394B;
  z-index: 9900;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-110%);
  transition: transform 0.35s cubic-bezier(0.59, 0.01, 0.2, 1);
  width: 100vw;
  height: 100vh;
  padding-top: 32px;
  padding-left: 0;
}
.mobile-menu.mobile-menu--open {
  transform: translateX(0);
  box-shadow: 8px 0 48px rgba(16,40,68,.14);
}
.mobile-menu-close {
  background: none;
  color: #FFD447;
  font-size: 2rem;
  border: none;
  position: absolute;
  top: 28px;
  right: 32px;
  cursor: pointer;
  z-index: 10;
  transition: color 0.18s, background 0.13s;
  border-radius: 7px;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: rgba(255, 212, 71, 0.13);
  color: #fff;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  max-width: 320px;
  margin: 60px 0 0 36px;
}
.mobile-nav a {
  color: #FFD447;
  font-size: 1.2rem;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 700;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  width: 100%;
  display: block;
  transition: color 0.19s, background 0.11s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #fff;
  background: rgba(255,212,71,.1);
  outline: none;
}

/* COOKIES BANNER & MODAL ----------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  width: 100%;
  z-index: 12000;
  background: #fff;
  box-shadow: 0 -3px 20px 0 rgba(34,57,75,0.09);
  border-top: 2px solid #FFD447;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 20px;
  gap: 24px;
  animation: cookies-in 0.6s cubic-bezier(0.62,0.1,0.32,1);
}
@keyframes cookies-in {
  from { transform: translateY(80px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  color: #22394B;
  font-size: 1rem;
  margin-right: 18px;
  max-width: 450px;
}
.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-banner button,
.cookie-banner .btn-primary,
.cookie-banner .btn-secondary {
  padding: 10px 22px;
  font-size: 0.95rem;
  border-radius: 6px;
  border: none;
  margin: 0 3px;
  font-weight: 500;
  box-shadow: 0 1px 3px 0 rgba(34,57,75,0.04);
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
}
.cookie-banner__accept {
  background: #22394B;
  color: #fff;
}
.cookie-banner__accept:hover,
.cookie-banner__accept:focus {
  background: #175189;
  color: #FFD447;
}
.cookie-banner__reject {
  background: #eee;
  color: #22394B;
}
.cookie-banner__reject:hover,
.cookie-banner__reject:focus {
  background: #FFD447;
  color: #22394B;
}
.cookie-banner__settings {
  background: #FFD447;
  color: #22394B;
}
.cookie-banner__settings:hover,
.cookie-banner__settings:focus {
  background: #FFA900;
  color: #22394B;
}

/* Cookies Modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 14000;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34,57,75,0.70);
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.active {
  display: flex;
  animation: fadeInModal 0.36s ease;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 12px;
  max-width: 410px;
  width: 95vw;
  padding: 32px 24px 24px 24px;
  box-shadow: 0 8px 36px 0 rgba(34,57,75,0.22);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  color: #22394B;
  animation: modalIn 0.43s cubic-bezier(0.52,0,0.48,1);
}
@keyframes modalIn {
  from { transform: translateY(120px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  margin-bottom: 10px;
  color: #22394B;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 10px 0;
}
.cookie-category label {
  font-weight: 500;
  font-size: 1rem;
}
.cookie-modal .btn-primary,
.cookie-modal .btn-secondary {
  font-size: 0.97rem;
  padding: 10px 0;
  width: 100%;
  margin-top: 12px;
}
.cookie-modal__close {
  position: absolute;
  top: 13px; right: 18px;
  background: transparent;
  color: #22394B;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 5px;
  transition: background 0.11s, color 0.12s;
}
.cookie-modal__close:hover,
.cookie-modal__close:focus {
  background: #FFD447;
  color: #22394B;
  outline: none;
}
/* Switch (toggle) style for cookie preferences */
.cookie-switch {
  width: 36px; height: 22px;
  background: #eee;
  border-radius: 12px;
  position: relative;
  display: inline-block;
  vertical-align: middle;
}
.cookie-switch input {
  opacity: 0; width: 0; height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 3px; left: 3px; right: 3px; bottom: 3px;
  background: #ccc;
  border-radius: 12px;
  transition: background 0.22s;
}
.cookie-switch input:checked + .cookie-slider {
  background: #22394B;
}
.cookie-slider:before {
  content: '';
  position: absolute;
  left: 1px; top: 1px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.23s cubic-bezier(0.53,0,0.47,1);
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(12px);
}
/* Always enabled (essential) - not interactive */
.cookie-switch.cookie-switch--disabled {
  opacity: 0.5;
}
/* LAYOUT UTILITIES & STRUCTURE ----------------- */
@media (max-width: 1200px) {
  .container {
    max-width: 970px;
  }
  .card-container {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding-left: 14px;
    padding-right: 14px;
  }
  h1 {
    font-size: 2.15rem;
  }
  h2 {
    font-size: 1.5rem;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }
  .section {
    margin-bottom: 38px;
    padding: 22px 4px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .card-container {
    gap: 12px;
  }
  .testimonial-card {
    padding: 15px 8px;
    gap: 8px;
    font-size: 1rem;
  }
  .text-image-section {
    flex-direction: column !important;
    gap: 14px;
  }
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    gap: 10px;
  }
}
@media (max-width: 600px) {
  .container {
    max-width: 99vw;
    padding-left: 4vw;
    padding-right: 4vw;
  }
  .section {
    padding: 9vw 2vw;
  }
  .btn-primary, .btn-secondary {
    padding: 12px 8vw;
    font-size: 0.98rem;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
    padding: 17px 4vw;
  }
  .cookie-banner__text {
    margin-right: 0;
    margin-bottom: 6px;
  }
  .mobile-menu-close {
    top: 14px;
    right: 16px;
    font-size: 1.4rem;
  }
  .mobile-nav {
    margin: 42px 0 0 14px;
    gap: 12px;
    max-width: 95vw;
  }
}

/* MISC ----------------------------------------- */
input,
button,
select,
textarea {
  font-family: inherit;
  font-size: 1rem;
  color: #22394B;
}
::-webkit-input-placeholder { color: #5C6C7B; opacity: 1;}
::-moz-placeholder { color: #5C6C7B; opacity: 1;}
:-ms-input-placeholder { color: #5C6C7B; opacity: 1;}
::placeholder { color: #5C6C7B; opacity: 1;}

/* SEPARATOR or DIVIDER (if needed) */
.hr, .divider {
  width: 100%;
  height: 1px;
  background: #e1e7ef;
  margin: 28px 0;
}

/* Focus states for accessibility */
a:focus, .btn-primary:focus, .btn-secondary:focus, button:focus {
  outline: 2px solid #FFD447;
  outline-offset: 2px;
}

/* Add subtle hover for cards */
.card:hover, .testimonial-card:hover {
  box-shadow: 0 6px 30px 0 rgba(34,57,75,0.13);
  transform: translateY(-2px) scale(1.017);
  transition: box-shadow 0.18s, transform 0.16s;
}

/* VISUAL HIERARCHY ----------------------------- */
/* Use accent color for visual callouts */
.accent {
  color: #FFD447;
}
.bg-accent {
  background: #FFD447;
  color: #22394B;
}
.bg-primary {
  background: #22394B;
  color: #fff;
}
.bg-secondary {
  background: #F6F7F9;
}
.border-accent {
  border: 1.5px solid #FFD447;
}

/* Hide visually for accessibility */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* SPACING/PADDING HELPERS ---------------------- */
.mt-12 { margin-top: 12px !important; }
.mb-12 { margin-bottom: 12px !important; }
.mt-24 { margin-top: 24px !important; }
.mb-24 { margin-bottom: 24px !important; }

/* ENSURE MINIMUM SPACING BETWEEN ELEMENTS ------ */
.section > * + *,
.card-container > * + *,
.content-wrapper > * + *,
.content-grid > * + * {
  margin-top: 20px !important;
}

/* Prevent content overlap at all times */
* {
  box-sizing: border-box;
}

/* END */