/* 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F6F2EC;
  color: #22496A;
}
*, *::before, *::after {
  box-sizing: border-box;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  display: block;
}
button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
}

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

body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F6F2EC;
  color: #22496A;
  font-size: 16px;
  min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #22496A;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; font-weight: 600; }
p, li, span, address {
  font-size: 1rem;
  color: #22496A;
}
strong { font-weight: 700; }
.subheadline {
  font-size: 1.25rem;
  color: #2F5579;
  margin-bottom: 16px;
}

/* CONTAINERS & SECTIONS */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(34,73,106,0.06);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.card-container,
.card-grid,
.content-grid,
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  background: #fff;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(34,73,106,0.09);
  position: relative;
  padding: 24px 18px;
  flex: 1 1 280px;
  min-width: 260px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(34,73,106,0.14);
  transform: translateY(-4px) scale(1.01);
}

/* FLEX STRUCTURES */
.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;
}

/* HEADER & NAVIGATION */
header {
  background: #22496A;
  color: #fff;
  box-shadow: 0 2px 8px rgba(34,73,106,0.06);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 20px;
  gap: 24px;
}
header nav a img {
  height: 32px;
  margin-right: 24px;
}
header nav ul {
  display: flex;
  align-items: center;
  gap: 20px;
}
header nav ul li a {
  padding: 9px 16px;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  transition: background 0.17s, color .17s;
}
header nav ul li a:hover,
header nav ul li a:focus {
  background: rgba(233,183,74, .15);
  color: #E9B74A;
}
.cta-button {
  background: #E9B74A;
  color: #22496A;
  padding: 10px 28px;
  border-radius: 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-left: 30px;
  box-shadow: 0 1px 5px rgba(34,73,106,0.06);
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  outline: none;
  display: inline-block;
  text-align: center;
}
.cta-button:hover, .cta-button:focus {
  background: #22496A;
  color: #fff;
  box-shadow: 0 6px 18px rgba(34,73,106,0.18);
  text-decoration: none;
}
.cta-button.secondary {
  background: #22496A;
  color: #fff;
  border: 2px solid #E9B74A;
}
.cta-button.secondary:hover, .cta-button.secondary:focus {
  background: #E9B74A;
  color: #22496A;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: none;
  color: #fff;
  font-size: 2rem;
  margin-left: auto;
  transition: color 0.17s;
  z-index: 102;
  border-radius: 6px;
  padding: 5px 12px;
}
.mobile-menu-toggle:focus {
  color: #E9B74A;
  background: rgba(34,73,106,0.06);
}
.mobile-menu {
  position: fixed;
  background: #fff;
  color: #22496A;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.86,0,.07,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 24px 24px 24px;
  box-shadow: -4px 0 24px rgba(34,73,106,0.10);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #22496A;
  font-size: 2rem;
  align-self: flex-end;
  margin-bottom: 28px;
  z-index: 1201;
  transition: color 0.18s;
}
.mobile-menu-close:focus {
  color: #E9B74A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  color: #22496A;
  border-radius: 18px;
  padding: 9px 8px 9px 3px;
  transition: background 0.18s, color 0.18s;
  min-width: 220px;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: #F6F2EC;
  color: #E9B74A;
}

/* Hide desktop nav on mobile, show mobile toggle */
@media (max-width: 1020px) {
  header nav ul,
  header nav .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1021px) {
  .mobile-menu { display: none !important; }
}

/* SECTIONS & LISTS */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 15px;
}
ul > li {
  flex: 1 1 260px;
  background: #F6F2EC;
  padding: 22px 16px;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 1px 6px rgba(34,73,106,0.07);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 230px;
}
ul > li img {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
}

/* TESTIMONIALS */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F6F2EC;
  color: #22496A;
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(34,73,106,0.10);
}
.testimonial-card p {
  font-size: 1.07rem;
  color: #22496A;
}
.testimonial-card span {
  font-size: 0.95rem;
  color: #2F5579;
  font-style: italic;
}

/* ADDRESS / CONTACT */
address {
  font-style: normal;
  background: #F6F2EC;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
}
address a {
  color: #22496A;
  font-weight: 600;
  transition: color 0.18s;
}
address a:hover { color: #E9B74A; }
.map-embed {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(34,73,106,0.07);
  border-radius: 10px;
  padding: 16px;
  min-width: 200px;
}

/* FOOTER */
footer {
  background: #22496A;
  color: #fff;
  padding: 42px 0 20px 0;
}
footer .container { padding-bottom: 0; }
footer .content-wrapper {
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
}
footer img {
  height: 34px;
  margin-bottom: 10px;
  margin-left: auto;
  margin-right: auto;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: 8px;
}
footer nav a {
  color: #fff;
  opacity: 0.82;
  transition: opacity 0.18s, color 0.18s;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
footer nav a:hover, footer nav a:focus {
  color: #E9B74A;
  opacity: 1.0;
}
footer p {
  font-size: 0.94rem;
  opacity: 0.82;
}

/* FORM ELEMENTS (if in the future) */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 5px;
  border: 1px solid #C9D1DB;
  padding: 10px 14px;
  background: #fff;
  color: #22496A;
  margin-bottom: 18px;
  width: 100%;
  box-shadow: 0 1px 3px rgba(34,73,106,0.04);
  transition: border 0.18s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #E9B74A;
  outline: none;
}

/* Buttons (Generic) */
button, .button, .btn {
  background: #22496A;
  color: #fff;
  border-radius: 24px;
  padding: 10px 24px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 6px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  cursor: pointer;
}
button:hover, .button:hover, .btn:hover,
button:focus, .button:focus, .btn:focus {
  background: #E9B74A;
  color: #22496A;
  box-shadow: 0 3px 14px rgba(233,183,74,0.09);
  outline: none;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: #22496A;
  box-shadow: 0 -2px 18px rgba(34,73,106,0.11);
  z-index: 2000;
  padding: 24px 18px 22px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
  font-size: 1rem;
  transition: transform 0.3s cubic-bezier(.86,0,.07,1);
  opacity: 1;
  border-radius: 12px 12px 0 0;
}
.cookie-banner.hidden {
  transform: translateY(120%);
  opacity: 0;
}
.cookie-banner .cookie-label {
  flex: 1 1 260px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-banner button {
  padding: 8px 22px;
  border-radius: 22px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  margin-top: 0;
}
.cookie-banner .accept {
  background: #22496A;
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #E9B74A;
  color: #22496A;
}
.cookie-banner .reject {
  background: #E9B74A;
  color: #22496A;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #22496A;
  color: #fff;
}
.cookie-banner .settings {
  background: #F6F2EC;
  color: #22496A;
  border: 1.5px solid #C9D1DB;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #E9B74A;
  color: #22496A;
  border-color: #E9B74A;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(34,73,106,0.26);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.3s cubic-bezier(.86,0,.07,1);
}
.cookie-modal-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #22496A;
  border-radius: 14px;
  box-shadow: 0 4px 40px rgba(34,73,106,0.10);
  max-width: 420px;
  min-width: 260px;
  padding: 34px 26px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 23px;
  animation: fadeinmodal 0.24s cubic-bezier(.86,0,.07,1) both;
}
@keyframes fadeinmodal {
  0% { opacity: 0; transform: translateY(20px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #22496A;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 1rem;
}
.cookie-category label {
  font-size: 1rem;
  color: #22496A;
  font-weight: 600;
  margin-right: 12px;
}
.cookie-modal input[type="checkbox"] {
  transform: scale(1.35);
  margin-right: 2px;
}
.cookie-category .always-on {
  color: #E9B74A;
  font-size: 0.98rem;
  font-weight: 700;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  justify-content: flex-end;
}
.cookie-modal button {
  font-size: 1rem;
}

/* Microinteractions & Animations */
.cta-button, .button, .btn, .cta-button.secondary {
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, border 0.17s;
}
.card, ul > li, .testimonial-card, .cookie-modal, .cookie-banner {
  transition: box-shadow 0.22s, transform 0.22s, opacity 0.2s;
}

/* UTILITIES */
.mt-2 { margin-top: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-5 { margin-bottom: 40px; }
.text-center { text-align: center; }

/* DARK ON LIGHT ACCESSIBILITY */
.testimonial-card, .cookie-banner, address, ul > li, .card {
  color: #22496A;
  background: #F6F2EC;
}
.testimonial-card * { color: #22496A !important; }

/* RESPONSIVE DESIGN (Mobile-First) */
@media (max-width: 980px) {
  .container { padding-left: 14px; padding-right: 14px; }
  .content-wrapper { gap: 22px; }
  .section, section { padding: 22px 0; }
  ul { gap: 14px; }
  ul > li { min-width: 150px; }
  .testimonial-card { padding: 12px 10px; font-size: 0.98rem; }
  .map-embed { font-size: 0.90rem; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .card, ul > li {
    padding: 14px 10px;
    border-radius: 11px;
  }
}
@media (max-width: 768px) {
  .text-image-section, .content-grid, .card-container, .features, .testimonial-card {
    flex-direction: column !important;
    gap: 16px;
    align-items: flex-start;
  }
  .section, section { padding: 13px 0; }
  .container { padding-left: 7px; padding-right: 7px; }
  header nav { flex-direction: row; padding: 7px 7px; gap: 10px; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.18rem; }
  h2 { font-size: 1.08rem; }
}

/* VISUAL HIERARCHY */
@media (min-width: 769px) {
  .text-image-section {
    flex-direction: row;
    align-items: center;
    gap: 30px;
  }
  .content-grid, .features, .card-container {
    flex-direction: row;
    gap: 24px;
  }
}

/* Z-INDEX FIXES FOR LAYERING (MOBILE MENUS ETC) */
header, .mobile-menu-toggle { z-index: 1000; }
.mobile-menu { z-index: 1100; }
.cookie-banner { z-index: 1200; }
.cookie-modal-overlay { z-index: 2100; }

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

/* Hide scroll on mobile menu open */
body.mobile-menu-open {
  overflow: hidden;
}

/* END OF STYLE.CSS */
