/* --- 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;
  box-sizing: border-box;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #253B5C;
  background: #F5F5F5;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: #253B5C;
  text-decoration: none;
  transition: color .15s;
}
a:hover, a:focus {
  color: #DAA520;
  outline: none;
}
ul, ol {
  list-style: none;
}
button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  padding: 0;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: .04em;
  color: #253B5C;
}
h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1.1rem; }

p, li, address {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
}

.subheadline {
  font-size: 1.12rem;
  color: #486086;
  font-weight: 500;
  margin-bottom: 24px;
  max-width: 600px;
}
strong { font-weight: 700; }

/* --- CONTAINER --- */
.container {
  width: 100%;
  max-width: 1200px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

/* --- GRADIENT MODERN BACKGROUND & BRAND COLORS --- */
body {
  /* fallback solid */
  background: #F5F5F5;
}
header,
footer {
  background: linear-gradient(90deg, #F5F5F5 0%, #e7edf7 60%, #d6e2fa 100%);
}

section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(37,59,92, 0.06), 0 1.5px 5px rgba(218,165,32,.08);
}

main > section:first-child {
  /* Hero section: gradient overlay */
  background: linear-gradient(90deg, #eef2fa 30%, #f9f6f1 100%);
  box-shadow: 0 6px 24px 0 rgba(37,59,92, 0.10);
  border-radius: 0 0 32px 32px;
  margin-top: 0;
}

/* --- HEADER & NAVIGATION --- */
header {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 105;
  box-shadow: 0 2px 12px rgba(37,59,92, 0.08);
  padding: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 16px;
  padding-bottom: 16px;
}

header a img {
  height: 42px;
  margin-right: 10px;
}

.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #253B5C;
  padding: 6px 8px;
  border-radius: 8px;
  position: relative;
  transition: background .15s, color .15s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #f3f8fd;
  color: #DAA520;
}

.cta-btn {
  background: #253B5C;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 11px 32px;
  border-radius: 32px;
  font-weight: 700;
  letter-spacing: .04em;
  box-shadow: 0 2px 8px rgba(37,59,92,.08);
  transition: background .18s, color .12s, box-shadow .18s, transform .10s;
  border: 2px solid #253B5C;
  margin-left: 12px;
  margin-right: 0;
  text-align: center;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #DAA520;
  color: #253B5C;
  border-color: #DAA520;
  box-shadow: 0 3px 16px #F6E9BF33;
  transform: translateY(-1px) scale(1.04);
}

/* --- MOBILE MENU STYLES --- */
.mobile-menu-toggle {
  display: none;
  background: #DAA520;
  color: #253B5C;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 1.6rem;
  align-items: center;
  justify-content: center;
  z-index: 110;
  transition: background .16s;
  border: none;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #253B5C;
  color: #fff;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(37,59,92, 0.92);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.85,0,0.15,1), opacity 0.15s;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: #fff;
  color: #253B5C;
  font-size: 2.1rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 10000;
  box-shadow: 0 2px 8px rgba(37,59,92,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #DAA520;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-top: 92px;
  padding-left: 40px;
}
.mobile-nav a {
  font-size: 1.25rem;
  color: #fff;
  padding: 14px 10px;
  border-radius: 9px;
  transition: background .14s, color .14s;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #fff;
  color: #253B5C;
}

@media (max-width: 1100px) {
  .main-nav {
    gap: 14px;
  }
  header .container {
    gap: 8px;
  }
}
@media (max-width: 960px) {
  .main-nav {
    gap:10px;
  }
  .cta-btn {
    padding: 10px 18px;
  }
}
@media (max-width: 840px) {
  .main-nav,
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  header .container {
    gap: 2px;
  }
}

/* --- PAGE SECTIONS, CARDS, FLEX SPACING --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1.5px 6px rgba(37,59,92,0.05);
}

.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;
  background: #fff;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(37,59,92,0.10);
  border-left: 6px solid #DAA520;
  transition: box-shadow .18s, transform .12s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 4px 24px rgba(218,165,32,0.07), 0 1.5px 10px rgba(37,59,92,0.19);
  transform: translateY(-2px) scale(1.015);
}
blockquote {
  font-size: 1.07rem;
  font-style: italic;
  color: #253B5C;
  line-height: 1.6;
  margin-bottom: 6px;
  margin-left: 0;
}
.testimonial-details span {
  font-size: 0.97rem;
  color: #486086;
  letter-spacing: .01em;
  font-weight: 500;
}

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

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  margin-top: 16px;
}
.feature-grid li {
  flex: 1 1 240px;
  min-width: 230px;
  max-width: 300px;
  background: #fafafc;
  border-radius: 13px;
  box-shadow: 0 1.5px 8px rgba(37,59,92,0.07);
  padding: 24px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  justify-content: flex-start;
  transition: box-shadow .17s, transform .13s;
}
.feature-grid li img {
  width: 38px;
  height: 38px;
  margin-bottom: 7px;
}
.feature-grid li h3 {
  font-size: 1.13rem;
  margin-bottom: 5px;
}
.feature-grid li:hover {
  box-shadow: 0 4px 20px rgba(37,59,92,0.14);
  transform: translateY(-1.5px) scale(1.03);
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  margin-bottom: 20px;
}
.service-card {
  background: #f8fafc;
  border-radius: 13px;
  box-shadow: 0 2px 8px rgba(37,59,92,0.07);
  padding: 22px 20px 20px 20px;
  min-width: 210px;
  flex: 1 1 230px;
  max-width: 330px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow .16s, transform .11s;
  border-left: 5px solid #253B5C;
}
.service-card strong {
  color: #253B5C;
  font-weight: 700;
  font-size: 1.04rem;
  margin-top: 10px;
}
.service-card:hover {
  box-shadow: 0 5px 20px rgba(218,165,32,0.09), 0 1.5px 7px rgba(37,59,92,0.13);
  transform: translateY(-2px) scale(1.025);
}

ul.core-values-list {
  margin-top: 10px;
  margin-bottom: 10px;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
ul.core-values-list li {
  font-size: 1rem;
  background: #f9f6f1;
  border-left: 4px solid #DAA520;
  border-radius: 8px;
  padding: 10px 16px;
  color: #253B5C;
  font-weight: 500;
}

ul.service-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 13px;
  margin-bottom: 20px;
  list-style: none;
}
ul.service-list li {
  font-size: 1rem;
  color: #253B5C;
  background: #fafafc;
  border-radius: 8px;
  padding: 12px 15px;
  border-left: 4px solid #253B5C;
}

/* News/blog list */
ul.news-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 24px;
}
ul.news-list li {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1.5px 8px rgba(37,59,92,0.06);
  padding: 18px 18px 12px 18px;
}
ul.news-list h3 {
  font-size: 1.13rem;
  margin-bottom: 6px;
}

.featured-articles {
  margin-top: 18px;
  background: #f9f6f1;
  border-radius: 10px;
  padding: 14px 18px;
}
.featured-articles strong {
  color: #253B5C;
  font-size: 1rem;
  margin-bottom: 10px;
  display: block;
}
.featured-articles ul {
  margin-top: 9px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-left: 14px;
}

/* --- TEXT SECTIONS --- */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 0;
  width: 100%;
}
.text-section img {
  width: 32px;
  margin-bottom: 4px;
}
.text-section ul {
  margin-top: 9px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-left: 15px;
}

/* --- FOOTER --- */
footer {
  padding: 0;
  box-shadow: 0 -2px 14px rgba(37,59,92,0.07);
  background: linear-gradient(90deg, #F5F5F5 0%, #e7edf7 60%, #d6e2fa 100%);
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-top: 34px;
  padding-bottom: 30px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-nav a {
  color: #253B5C;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.97rem;
  font-weight: 500;
  letter-spacing: .01em;
  padding: 4px 7px;
  border-radius: 7px;
  transition: background .13s, color .14s;
}
.footer-nav a:hover {
  background: #253B5C;
  color: #fff;
}
footer address {
  font-size: 0.97rem;
  color: #486086;
  font-style: normal;
  text-align: center;
}
footer small {
  color: #b2bccc;
  margin-top: 10px;
  display: block;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 768px) {
  html {
    font-size: 98%;
  }
  section,
  .section {
    padding: 28px 8px;
    margin-bottom: 38px;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .main-nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    margin-left: auto;
  }
  .feature-grid,
  .service-cards {
    flex-direction: column;
    gap: 18px;
  }
  .service-card, .feature-grid li {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
  .content-grid { flex-direction: column; }
  .text-image-section { flex-direction: column; gap: 14px; align-items: flex-start; }
  .testimonial-card { flex-direction: column; align-items: flex-start; gap: 13px; }
  .footer-nav { justify-content: center; }
}
@media (max-width: 540px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.16rem; margin-bottom: 13px; }
  h3 { font-size: 1rem; }
  .footer-nav { gap: 7px; }
  section,
  .section {
    margin-bottom: 26px;
  }
}

/* --- MICRO-INTERACTIONS & TRANSITIONS --- */
input, textarea, select {
  border-radius: 8px;
  border: 1px solid #dde3eb;
  padding: 12px 14px;
  font-size: 1rem;
  transition: border .13s, box-shadow .13s;
}
input:focus, textarea:focus, select:focus {
  border-color: #DAA520;
  outline: none;
  box-shadow: 0 0 0 2px #F6E9BF99;
}

button, .cta-btn {
  transition: background .18s, color .16s, box-shadow .14s, transform .10s;
}

/* --- COOKIE BANNER & CONSENT MODAL --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 11000;
  background: #253B5C;
  color: #fff;
  box-shadow: 0 -2px 15px rgba(37,59,92,0.13);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 14px;
  gap: 14px;
  font-size: 1rem;
  animation: slideUpBanner .45s cubic-bezier(.75,.02,.21,1);
}
@keyframes slideUpBanner {
  0% { transform: translateY(100%); opacity: 0; }
  80% { opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner-content {
  max-width: 560px;
  text-align: center;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 7px;
}
.cookie-banner-buttons button {
  padding: 8px 22px;
  border-radius: 18px;
  font-size: 1rem;
  font-weight: 600;
  background: #DAA520;
  color: #253B5C;
  border: none;
  box-shadow: 0 1px 5px #0001;
  transition: background .13s, color .13s;
}
.cookie-banner-buttons button:hover, .cookie-banner-buttons button:focus {
  background: #fff;
  color: #253B5C;
}
.cookie-banner-buttons .cookie-settings-btn {
  background: #fff;
  color: #253B5C;
  border: 1px solid #DAA520;
}
.cookie-banner-buttons .cookie-settings-btn:hover {
  background: #DAA520;
  color: #fff;
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 11500;
  background: rgba(37,59,92,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .20s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 18px;
  padding: 36px 28px 24px 28px;
  max-width: 98vw;
  width: 390px;
  color: #253B5C;
  box-shadow: 0 12px 40px rgba(37,59,92,0.13);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: fadeInModal .3s;
}
@keyframes fadeInModal {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}
.cookie-modal-content h3 {
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #253B5C;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid #E5E8EF;
}
.cookie-modal-content .cookie-category:last-child {
  border-bottom: none;
}
.cookie-modal-content label {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #253B5C;
}
.cookie-toggle {
  width: 40px;
  height: 24px;
  background: #e8e7ef;
  border-radius: 16px;
  position: relative;
  transition: background .18s;
  display: inline-block;
  cursor: pointer;
}
.cookie-toggle input {
  display: none;
}
.cookie-toggle .slider {
  position: absolute;
  left: 2px; top: 2px;
  width: 20px; height: 20px;
  background: #bfc5d2;
  border-radius: 50%;
  transition: left .19s, background .15s;
}
.cookie-toggle input:checked + .slider {
  background: #DAA520;
  left: 18px;
}
.cookie-toggle input:disabled + .slider {
  background: #bfc5d2;
  opacity: .55;
  cursor: default;
}

.cookie-modal-close {
  position: absolute;
  top: 14px; right: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1.5px 6px #0001;
  font-size: 1.5rem;
  color: #253B5C;
  width: 34px;
  height: 34px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .13s, color .13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #DAA520;
  color: #fff;
}
.cookie-modal-footer {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 7px;
  justify-content: flex-end;
}
.cookie-modal-footer button {
  background: #253B5C;
  color: #fff;
  padding: 9px 19px;
  border-radius: 18px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  transition: background .13s, color .13s;
  border: none;
}
.cookie-modal-footer button:hover, .cookie-modal-footer button:focus {
  background: #DAA520;
  color: #253B5C;
}

@media (max-width: 500px) {
  .cookie-modal-content {
    width: 97vw;
    padding: 23px 4vw 16px 4vw;
  }
}

/* --- UTILITIES --- */
.mt-2 { margin-top: 2px !important; }
.mt-10 { margin-top: 10px !important; }
.mb-10 { margin-bottom: 10px !important; }
.mb-2 { margin-bottom: 2px !important; }

/* --- OVERRIDES FOR DARK ON LIGHT (TESTIMONIALS) --- */
.testimonial-card, .testimonial-card blockquote, .testimonial-card span {
  background: #fff !important;
  color: #253B5C !important;
}

/* --- Prevent Overlap: Adequate spacing everywhere --- */
.container > *,
.content-wrapper > *,
.feature-grid > *,
.service-cards > *,
ul.core-values-list > *,
ul.service-list > *,
ul.news-list > * {
  margin-bottom: 0;
}

/* Ensure minimum 20px margin between cards/sections—already handled by gap/margin-bottom above. */

/* Ensure all flexbox-only layout - NO Grid, NO Columns */
/* (No forbidden properties present) */