/* ============================
   CSS 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, 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 {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  background: #fff;
  color: #222;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  min-height: 100vh;
  min-width: 320px;
  letter-spacing: 0.01em;
}
*, *::before, *::after {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #195972;
  text-decoration: none;
  transition: color 0.15s;
}
a:hover, a:focus {
  color: #E0A937;
  outline: none;
}
ul, ol {
  margin-left: 2em;
  margin-bottom: 1.5em;
}
li:not(:last-child) {
  margin-bottom: 0.5em;
}

/* ============================
   TYPOGRAPHY
   ============================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #195972;
  line-height: 1.22;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #222;
  font-weight: 500;
}
.subheadline {
  color: #777;
  font-size: 1.15rem;
  margin-bottom: 16px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}
p {
  margin-bottom: 1.5em;
  font-size: 1rem;
}
strong {
  font-weight: 600;
  color: #222;
}

/* ============================
   CONTAINERS & SECTIONS
   ============================ */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  padding: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(33,64,92,0.06), 0 0.5px 2px rgba(33,64,92,0.04);
}

/* ============================
   HEADER & NAVIGATION
   ============================ */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(33,64,92,0.04);
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 16px;
}
header img {
  height: 52px;
  max-height: 52px;
}
nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #195972;
  background: none;
  padding: 8px 8px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
  position: relative;
}
nav a:hover, nav a:focus {
  background: #F1F7FA;
  color: #E0A937;
}
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #195972;
  cursor: pointer;
  display: none;
  padding: 7px 16px;
  margin-left: 14px;
  border-radius: 10px;
  transition: background 0.15s;
}
.mobile-menu-toggle:focus,.mobile-menu-toggle:hover {
  background: #F1F7FA;
}

@media (max-width: 992px) {
  nav {
    gap: 16px;
  }
  header .container {
    gap: 0;
  }
  header img {
    height: 45px;
  }
}

@media (max-width: 768px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    padding-left: 8px;
    padding-right: 8px;
  }
}

/* ============================
   MOBILE MENU OVERLAY
   ============================ */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(25,89,114,0.97);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.45s cubic-bezier(0.77,0,0.175,1);
  opacity: 1;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  position: absolute;
  top: 24px;
  right: 28px;
  z-index: 2100;
  cursor: pointer;
  border-radius: 10px;
  padding: 8px;
  transition: background 0.14s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: rgba(255,255,255,0.11);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 80px;
  padding-left: 38px;
  gap: 24px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #fff;
  font-size: 1.32rem;
  font-weight: 500;
  padding: 12px 0 12px 10px;
  border-radius: 8px;
  width: 90vw;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(241,247,250,0.10);
  color: #E0A937;
}

@media (min-width: 769px) {
  .mobile-menu, .mobile-menu.open {
    display: none !important;
  }
}

/* ============================
   CTA BUTTONS & INTERACTIONS
   ============================ */
.cta-primary {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  color: #fff;
  background: #195972;
  border: none;
  border-radius: 12px;
  padding: 14px 30px;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(33,64,92,0.07);
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
}
.cta-primary:hover, .cta-primary:focus {
  background: #E0A937;
  color: #195972;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 25px rgba(33,64,92,0.12);
}
button, .button, input[type="submit"], input[type="button"] {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 10px 22px;
  border: none;
  border-radius: 9px;
  background: #F1F7FA;
  color: #195972;
  cursor: pointer;
  transition: background 0.13s, color 0.13s;
}
button:hover,button:focus,.button:hover,.button:focus {
  background: #E0A937;
  color: #fff;
}

/* ============================
   FLEXBOX LAYOUTS (Mandatory patterns)
   ============================ */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 9px rgba(33,64,92,0.06);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 20px 24px 20px;
  display: flex;
  flex-direction: column;
  flex: 1 1 260px;
  min-width: 230px;
  max-width: 360px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 25px rgba(25,89,114,0.12);
  transform: translateY(-2px) scale(1.01);
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding-left: 0;
    padding-right: 0;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F1F7FA;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 1px 6px rgba(25,89,114,0.09);
  flex-wrap: wrap;
}
.testimonial-card p {
  color: #222;
  margin: 0 0 10px 0;
  font-size: 1.07rem;
}
.testimonial-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.99rem;
}
.testimonial-card img {
  height: 22px;
  width: 22px;
  margin-bottom: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 16px;
}
/* Highlight grid for features */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 34px;
}
.feature-grid > div {
  background: #F1F7FA;
  border-radius: 16px;
  padding: 22px 18px 20px 18px;
  box-shadow: 0 1px 6px rgba(25,89,114,0.04);
  min-width: 210px;
  flex: 1 1 240px;
  max-width: 320px;
  transition: box-shadow 0.17s, transform 0.16s;
}
.feature-grid > div:hover {
  box-shadow: 0 4px 18px rgba(33,89,114,0.09);
  transform: translateY(-2px);
}
.feature-grid img {
  height: 40px;
  width: 40px;
  margin-bottom: 12px;
}

@media (max-width: 900px) {
  .feature-grid {
    gap: 16px;
  }
  .feature-grid > div {
    max-width: 400px;
  }
  .card {
    min-width: 160px;
    max-width: 98vw;
  }
}
@media (max-width: 600px) {
  .feature-grid {
    flex-direction: column;
    gap: 12px;
  }
  .feature-grid > div {
    min-width: 0;
    width: 100%;
    padding: 17px 12px;
  }
  .card-container {
    flex-direction: column;
    gap: 12px;
  }
}

/* ============================
   PAGES: INDEX/ABOUT, ETC.
   ============================ */
main {
  min-height: 60vh;
  padding-top: 38px;
  padding-bottom: 38px;
}
section {
  margin-bottom: 60px;
  padding: 0;
}
.section:last-child, section:last-child {
  margin-bottom: 0;
}

/* ============================
   CONTACT PAGE SPECIFIC
   ============================ */
ul.contact-list {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
  margin-bottom: 1.8em;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
ul.contact-list li {
  display: flex;
  align-items: center;
  font-size: 1rem;
  gap: 12px;
  margin-bottom: 0 !important;
  color: #222;
  background: #F1F7FA;
  border-radius: 10px;
  padding: 10px 15px;
}
ul.contact-list img {
  height: 26px;
  width: 26px;
  margin-right: 6px;
}

/* ============================
   FOOTER
   ============================ */
footer {
  background: #fff;
  border-top: 1px solid #f0f2f6;
  box-shadow: 0 -1px 12px rgba(25,89,114,0.03);
  padding: 36px 0 30px 0;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 38px;
}
.footer-menu {
  display: flex;
  flex-direction: row;
  gap: 26px;
  flex-wrap: wrap;
}
.footer-menu a {
  color: #195972;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 7px;
  padding: 5px 10px;
  transition: background 0.13s, color 0.13s;
}
.footer-menu a:hover,.footer-menu a:focus {
  background: #F1F7FA;
  color: #E0A937;
}
.footer-contact {
  max-width: 420px;
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
}
.footer-contact a {
  color: #195972;
  text-decoration: underline;
  font-size: 1rem;
  transition: color 0.13s;
}
.footer-contact a:hover {
  color: #E0A937;
}
@media (max-width:860px) {
  footer .container {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
}
@media (max-width:480px) {
  .footer-menu {
    gap: 13px;
    flex-direction: column;
    padding-bottom: 8px;
  }
  footer .container {
    gap: 10px;
  }
}

/* ============================
   COOKIE CONSENT BANNER
   ============================ */
#cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #195972;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 4000;
  box-shadow: 0 -6px 20px rgba(25,89,114,0.17);
  padding: 24px 16px 18px 16px;
  transition: transform 0.5s cubic-bezier(0.77,0,0.175,1), opacity 0.35s;
  opacity: 1;
  transform: translateY(0);
  gap: 18px;
  font-size: 1rem;
}
#cookie-consent-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(160px);
}
#cookie-consent-banner .cookie-text {
  color: #fff;
  margin-bottom: 9px;
  font-size: 1.03rem;
  text-align: center;
  line-height: 1.6;
}
.cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 11px 22px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  min-width: 120px;
  margin-top: 2px;
  margin-bottom: 2px;
  background: #fff;
  color: #195972;
  font-weight: 600;
  transition: background 0.12s, color 0.18s;
}
.cookie-btn.accept {
  background: #E0A937;
  color: #195972;
}
.cookie-btn.accept:hover,.cookie-btn.accept:focus {
  background: #fffbe8;
}
.cookie-btn.reject {
  background: #fff;
  color: #195972;
}
.cookie-btn.reject:hover,.cookie-btn.reject:focus {
  background: #ffe8e8;
}
.cookie-btn.settings {
  background: #fff;
  color: #222;
}
.cookie-btn.settings:hover,.cookie-btn.settings:focus {
  background: #F1F7FA;
  color: #195972;
}
@media (max-width:600px){
  #cookie-consent-banner {
    font-size: 0.95rem;
    padding: 18px 6px 10px 6px;
    gap: 10px;
  }
  .cookie-btns {
    gap: 8px;
  }
}

/* COOKIES PREFERENCES MODAL */
#cookie-preferences-modal {
  position: fixed;
  z-index: 4100;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(25,89,114,0.54);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s linear 0.23s, opacity 0.23s;
}
#cookie-preferences-modal.open {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}
.cookie-modal-content {
  background: #fff;
  color: #195972;
  border-radius: 15px;
  padding: 34px 24px 28px 24px;
  max-width: 410px;
  width: 92vw;
  box-shadow: 0 2px 50px rgba(33,64,92,0.22);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal-content h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #195972;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 13px;
}
.cookie-modal-category label {
  font-size: 1rem;
  color: #195972;
}
.cookie-modal-category input[type="checkbox"] {
  accent-color: #195972;
  width: 21px;
  height: 21px;
  margin-right: 3px;
}
.cookie-modal-category input[disabled] {
  accent-color: #aaa;
  opacity: 0.61;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 12px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #195972;
  cursor: pointer;
  padding: 3px 12px;
  border-radius: 7px;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #F1F7FA;
}

@media (max-width:520px){
  .cookie-modal-content {
    padding: 18px 7vw 15px 7vw;
    max-width: 98vw;
    gap: 12px;
  }
}

/* ============================
   RESPONSIVE ADJUSTMENTS
   ============================ */
@media (max-width: 900px) {
  html { font-size: 15px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  section, .section{ padding: 24px 8px; }
  .container { padding-left: 8px; padding-right: 8px; }
}
@media (max-width: 600px) {
  html { font-size: 14px; }
  h1 { font-size: 1.32rem; }
  h2 { font-size: 1.1rem; }
  main { padding-top: 22px; padding-bottom: 18px; }
  section, .section {
    padding: 10px 1px;
    margin-bottom: 34px;
    border-radius: 12px;
  }
}

/* ============================
   MINIMALIST VISUALS
   ============================ */
::-webkit-scrollbar {
  width: 8px;
  background: #F1F7FA;
}
::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 8px;
}
hr {
  border: 0;
  border-top: 1px solid #F1F7FA;
  margin: 36px 0 32px 0;
}

/* Subtle effect for focusable elements */
a, button, input, textarea,
.mobile-menu-toggle, .mobile-menu-close, .cookie-btn, .cookie-btns button, .cookie-modal-close {
  outline: none;
  transition: box-shadow 0.14s, background 0.14s, color 0.14s;
}
a:focus-visible, button:focus-visible, .cta-primary:focus-visible,
.mobile-menu-toggle:focus-visible, .mobile-menu-close:focus-visible,
.cookie-btn:focus-visible, .cookie-modal-close:focus-visible {
  box-shadow: 0 0 0 2.5px #E0A937;
  z-index: 10;
}

/* ============================
   MISCELLANEOUS
   ============================ */
::-webkit-input-placeholder { color: #b0bfcb; opacity: 1; }
::-moz-placeholder { color: #b0bfcb; opacity: 1; }
:-ms-input-placeholder { color: #b0bfcb; opacity: 1; }
::placeholder { color: #b0bfcb; opacity: 1; }

/* Input / textarea fields (minimalist) */
input[type="text"],
input[type="email"],
input[type="search"],
input[type="password"],
textarea {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #F1F7FA;
  border-radius: 8px;
  border: 1px solid #eaeaea;
  padding: 12px 16px;
  font-size: 1rem;
  color: #195972;
  margin-bottom: 16px;
  transition: border 0.14s, box-shadow 0.14s;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="search"]:focus,
input[type="password"]:focus,
textarea:focus {
  border: 1.5px solid #E0A937;
  outline: none;
  box-shadow: 0 2px 7px rgba(225,169,55,0.04);
}

/* ============================
   PRINT - Clean minimalist
   ============================ */
@media print {
  nav, .mobile-menu, .cta-primary, .footer-menu, .cookie-btns, #cookie-consent-banner, #cookie-preferences-modal {
    display: none !important;
  }
  section, .section {
    background: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-bottom: 1.5em !important;
    border-radius: 0 !important;
  }
  body, html {
    background: #fff !important;
    color: #111 !important;
  }
  .footer-contact {
    color: #111 !important;
  }
}
