/* 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: inherit;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}

html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }

body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #243865;
  background: #fff;
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #243865;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #8AB8E6;
  outline: none;
}
ul, ol {
  padding-left: 1.5em;
}

/* BRAND TYPOGRAPHY */
h1, h2, h3, h4, h5 { 
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #243865;
}
h1 {
  font-size: 2.7rem;
  margin-bottom: 18px;
  line-height: 1.15;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}
h4, h5 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.subheadline {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.125rem;
  color: #314A6C;
  margin-bottom: 18px;
}
p {
  margin-bottom: 14px;
  color: #314A6C;
}
strong { font-weight: 700; }
blockquote {
  padding-left: 18px;
  border-left: 4px solid #8AB8E6;
  font-style: italic;
  color: #243865;
  background: #E5F4F9;
  border-radius: 0 10px 10px 0;
  margin: 0 0 8px 0;
}

/* CONTAINER AND LAYOUT */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.section, section {
  padding: 40px 20px;
}

@media (max-width: 900px) {
  .section, section {
    padding: 34px 10px;
  }
}

/* FLEXBOX PATTERNS */
.card-container, .feature-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}

.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0px 4px 24px rgba(36,56,101,0.07);
  padding: 28px 24px;
  flex: 1 1 270px;
  min-width: 250px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0px 8px 32px rgba(36,56,101,0.16);
  transform: translateY(-4px) scale(1.015);
  z-index: 2;
}

.content-grid { gap: 20px; }

.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: 2.5px solid #8AB8E6;
  box-shadow: 0 2px 16px rgba(36,56,101,0.08);
  border-radius: 22px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  max-width: 480px;
  position: relative;
  transition: box-shadow 0.17s, border-color 0.2s;
}
.testimonial-card:hover {
  border-color: #243865;
  box-shadow: 0 4px 28px rgba(36,56,101,0.16);
}
.testimonial-meta {
  font-size: 0.98em;
  color: #314A6C;
  font-style: normal;
  margin-left: 8px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Utility lists */
.features ul,
.feature-grid,
.feature-item,
.services-detail ul,
.categories ul,
.about ul,
.team-ethos ul,
.footer-contact ul,
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-grid li {
  flex: 1 1 220px;
  background: #F6FAFD;
  border: 1.5px solid #E5F4F9;
  border-radius: 16px;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 0;
}
.feature-grid img {
  width: 40px; height: 40px; margin-bottom: 6px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 26px
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.1em;
}
.contact-list a {
  color: #243865;
  font-weight: 500;
  margin-left: 3px;
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(36,56,101,0.06);
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 1.08em;
  text-transform: none;
  padding: 7px 12px;
  border-radius: 7px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover {
  background: #E5F4F9;
  color: #243865;
}
.main-nav .primary-cta {
  background: #243865;
  color: #fff;
  border-radius: 36px;
  padding: 9px 22px;
  margin-left: 10px;
  font-size: 1.07em;
  transition: background 0.15s, color 0.12s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(36,56,101, 0.05);
}
.main-nav .primary-cta:hover {
  background: #8AB8E6;
  color: #243865;
  transform: scale(1.045) translateY(-2px);
}

/* Hamburger menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.0rem;
  color: #243865;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 8px;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #E5F4F9;
}

@media (max-width: 900px){
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
}

.mobile-menu {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #243865;
  z-index: 9999;
  padding: 28px 26px 30px 26px;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.64,.09,.08,1), opacity 0.2s;
  opacity: 0;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.3rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 7px;
  margin-bottom: 12px;
  transition: background 0.16s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #8AB8E6;
  color: #243865;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  padding: 12px 10px;
  border-radius: 10px;
  transition: background 0.17s, color 0.14s;
}
.mobile-nav a:hover {
  background: #8AB8E6;
  color: #243865;
}

@media (max-width: 900px){
  .mobile-menu {
    display: flex;
  }
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}

/* HERO SECTIONS */
.hero, .thank-you-hero {
  background: #E5F4F9;
  padding-top: 56px;
  padding-bottom: 56px;
  position: relative;
  margin-bottom: 0;
}
.hero h1, .thank-you-hero h1 {
  color: #243865;
  font-size: 2.4rem;
}

@media (max-width: 900px){
  .hero, .thank-you-hero {
    padding-top: 36px;
    padding-bottom: 36px;
  }
  .hero h1, .thank-you-hero h1 {
    font-size: 1.6rem;
  }
}

/* CTA BUTTONS */
.primary-cta, .secondary-cta {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1em;
  background: #243865;
  color: #fff;
  border-radius: 27px;
  padding: 13px 36px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(36,56,101, 0.1);
  margin-top: 10px;
  margin-bottom: 5px;
  letter-spacing: 0.02em;
  text-shadow: none;
  transition: background 0.14s, color 0.13s, box-shadow 0.19s, transform 0.15s;
}
.primary-cta:hover, .primary-cta:focus {
  background: #8AB8E6;
  color: #243865;
  box-shadow: 0 4px 20px rgba(36,56,101, 0.16);
  transform: translateY(-1.5px) scale(1.025);
}
.secondary-cta {
  background: #8AB8E6;
  color: #243865;
  padding: 13px 26px;
  border: none;
  margin-left: 0;
  margin-top: 12px;
}
.secondary-cta:hover, .secondary-cta:focus {
  background: #243865;
  color: #fff;
}

/* FOOTER */
footer {
  background: #243865;
  color: #fff;
  padding: 32px 0 12px 0;
}
footer .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 36px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  max-width: 350px;
}
.footer-brand img {
  height: 36px;
  width: auto;
}
.footer-brand p {
  font-size: 1.01em;
  color: #E5F4F9;
  margin-bottom: 0;
  margin-top: 4px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 7px;
}
.footer-nav a {
  color: #8AB8E6;
  font-weight: 500;
  font-size: 1.01em;
  transition: color 0.16s;
}
.footer-nav a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 0.97em;
  color: #fff;
  margin-top: 3px;
}
.footer-contact ul li {
  color: #E5F4F9;
  font-size: 1.0em;
  gap: 9px;
  align-items: center;
}
.footer-contact a {
  color: #8AB8E6;
  text-decoration: underline;
  font-weight: 500;
  margin-left: 3px;
}
.footer-contact a:hover { color: #fff; }
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 13px;
  margin-top: 6px;
}
.footer-social a img {
  width: 26px; height: 26px;
  border-radius: 4px;
  background: #fff;
  padding: 3px;
  transition: background 0.17s;
}
.footer-social a:hover img {
  background: #8AB8E6;
}
@media (max-width: 900px){
  footer .container {
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
  }
}

/* SPECIAL UI ELEMENTS */
.map-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #E5F4F9;
  color: #243865;
  font-weight: 700;
  border-radius: 12px;
  border: 1.5px solid #8AB8E6;
  width: 100%;
  min-height: 130px;
  margin-top: 0.8em;
}

/* TEAM MEMBER BLOCKS */
.team-member-block {
  background: #F6FAFD;
  border: 1.5px solid #E5F4F9;
  border-radius: 14px;
  padding: 24px 20px;
  margin-bottom: 20px;
  box-shadow: 0 1.5px 10px rgba(36,56,101,0.035);
}
.team-member-block h3 {
  margin-bottom: 7px;
}
.team-ethos {
  background: #E5F4F9;
  border-radius: 12px;
  padding: 16px 14px;
  margin-top: 10px;
}
.team-ethos h4 { color: #243865; }
.team-ethos ul li {
  color: #314A6C;
  margin-bottom: 6px;
  font-size: 1.02em;
  position: relative;
  padding-left: 15px;
}
.team-ethos ul li:before {
  content: "■";
  font-size: 0.75em;
  color: #8AB8E6;
  position: absolute;
  left: 0; top: 6px;
}

/* TABLES & LISTS */
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 18px;
}
th, td {
  border: 1.5px solid #8AB8E6;
  padding: 9px 14px;
  text-align: left;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 99999;
  background: #243865;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  box-shadow: 0 -2px 20px rgba(36,56,101,0.13);
  font-size: 1em;
  gap: 14px;
  transition: transform 0.36s, opacity 0.19s;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 11px;
    font-size: 0.98em;
    gap: 18px;
  }
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  font-weight: 700;
  border-radius: 19px;
  border: none;
  margin-right: 13px;
  margin-bottom: 5px;
  padding: 9px 22px;
  cursor: pointer;
  box-shadow: 0 1.5px 8px rgba(36,56,101, 0.07);
  transition: background 0.14s, color 0.11s;
}
.cookie-banner .accept {
  background: #8AB8E6;
  color: #243865;
}
.cookie-banner .accept:hover,
.cookie-banner .accept:focus {
  background: #fff;
  color: #243865;
}
.cookie-banner .reject {
  background: #fff;
  color: #243865;
  border: 2px solid #8AB8E6;
}
.cookie-banner .reject:hover,
.cookie-banner .reject:focus {
  background: #E5F4F9;
}
.cookie-banner .settings {
  background: none;
  color: #8AB8E6;
  text-decoration: underline;
  font-weight: 500;
  padding: 6px 14px;
}
.cookie-banner .settings:hover {
  color: #fff;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 100000;
  background: rgba(36,56,101,0.73);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-dialog {
  background: #fff;
  border-radius: 18px;
  max-width: 420px;
  width: 96vw;
  padding: 40px 34px 30px 34px;
  box-shadow: 0 8px 48px rgba(36,56,101,0.23);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal .cookie-modal-close {
  font-size: 1.8rem;
  background: none;
  color: #243865;
  border: none;
  position: absolute;
  right: 13px; top: 11px;
  cursor: pointer;
  transition: color 0.1s;
}
.cookie-modal .cookie-modal-close:hover {
  color: #8AB8E6;
}
.cookie-modal h2 {
  margin-bottom: 9px;
  font-size: 1.25rem;
  color: #243865;
}
.cookie-modal .cookie-category {
  margin-bottom: 17px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  font-size: 1.07em;
  color: #243865;
}
.cookie-modal .category-toggle {
  accent-color: #8AB8E6;
  width: 23px; height: 23px;
}
.cookie-modal .category-essential {
  font-weight: 700;
  color: #314A6C;
}
.cookie-modal .save-cookie-btn {
  background: #243865;
  color: #fff;
  border-radius: 21px;
  border: none;
  padding: 11px 30px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.01em;
  margin-top: 13px;
  align-self: flex-end;
  transition: background 0.15s;
}
.cookie-modal .save-cookie-btn:hover {
  background: #8AB8E6;
  color: #243865;
}

/* RESPONSIVE LAYOUTS */
@media (max-width: 900px){
  .card-container, .feature-grid, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .footer-nav {
    flex-direction: row;
    gap: 14px;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .container {
    padding: 0 10px;
  }
  h1 { font-size: 1.3rem; }
}

/* UTILITY/MISC */
::-webkit-input-placeholder { color: #97b0d1; }
::-moz-placeholder { color: #97b0d1; }
:-ms-input-placeholder { color: #97b0d1; }
::placeholder { color: #97b0d1; }

body {
  scroll-behavior: smooth;
}

/* GEOMETRIC DECORATIVE SHAPES (decor only; if SVG overlays or pseudo-elements are used) */
.hero::before, .thank-you-hero::before {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 140px;
  height: 70px;
  background: #8AB8E6;
  opacity: 0.14;
  clip-path: polygon(0 60%, 100% 100%, 0 100%);
  z-index: 1;
}
.hero::after, .thank-you-hero::after {
  content: "";
  position: absolute;
  right: 0; top: 0;
  width: 120px;
  height: 50px;
  background: #243865;
  opacity: 0.08;
  clip-path: polygon(100% 0, 0 80%, 100% 100%);
  z-index: 1;
}

/* STRUCTURE AND SPACING FOR ALL SECTION HEADINGS & BLOCKS */
main section, main .section {
  padding: 40px 0;
  position: relative;
}
main section:last-child, main .section:last-child {
  margin-bottom: 0;
}
main .content-wrapper > h2 {
  margin-bottom: 18px;
  font-size: 1.65rem;
}

/* ADDITIONAL MICRO-INTERACTIONS */
button:focus-visible, a:focus-visible {
  outline: 2.5px solid #8AB8E6;
  outline-offset: 3px;
}

input, select, textarea {
  font-size: 1rem;
  font-family: inherit;
  border-radius: 8px;
  border: 1.7px solid #8AB8E6;
  padding: 10px;
  margin-bottom: 16px;
  background: #fff;
  color: #243865;
  transition: border-color 0.15s, box-shadow 0.12s;
}
input:focus, textarea:focus, select:focus {
  border-color: #243865;
  box-shadow: 0 2px 8px rgba(36,56,101, 0.13);
}

/* ACCESSIBILITY SUPPORT */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* PRINT STYLES */
@media print {
  .mobile-menu, .cookie-banner, .cookie-modal, header, footer { display: none !important; }
  .container { padding: 0; }
  body { background: #fff; color: #000; }
}
