/* 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;
  vertical-align: baseline;
  font-size: 100%;
  font: inherit;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  /* font settings will be added below */
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F7F7F7;
  color: #254668;
  line-height: 1.65;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
a {
  color: #254668;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #E3B23C;
  outline: none;
}
ul, ol {
  padding-left: 20px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 0.5em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #254668;
  margin-bottom: 12px;
  line-height: 1.13;
}
h1 { font-size: 2.75rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.2rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 10px; }
p {
  margin-bottom: 12px;
  font-size: 1rem;
}
strong, b { font-weight: 700; }

/* Typography hierarchy on responsive */
@media (max-width: 768px) {
  h1 { font-size: 2.0rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.1rem; }
}

/* Container and Section layout
   ------------------------------------------*/
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 6px 32px rgba(37, 70, 104, 0.05);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 600px) {
  .section {
    margin-bottom: 40px;
    padding: 22px 8px;
    border-radius: 12px;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
}

/* Header & Navigation
   ------------------------------------------*/
header {
  background: linear-gradient(90deg, #254668 75%, #E3B23C 100%);
  box-shadow: 0 2px 12px rgba(37, 70, 104, 0.07);
  padding: 0;
  position: relative;
  z-index: 100;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  position: relative;
}
header nav > a > img {
  height: 42px;
}
header nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 48px;
}
header nav ul li {
  margin-bottom: 0;
}
header nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.03em;
  padding: 8px 7px;
  color: #F7F7F7;
  transition: color 0.2s;
  border-radius: 8px;
}
header nav ul li a:hover, header nav ul li a:focus {
  color: #E3B23C;
  background: rgba(255,255,255,0.1);
  outline: none;
}
header nav .cta.primary {
  margin-left: 44px;
}

/* CTA Buttons
   ------------------------------------------*/
.cta {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.06rem;
  border-radius: 26px;
  padding: 11px 32px;
  text-align: center;
  text-decoration: none;
  background: #254668;
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(37, 70, 104, 0.12);
  transition: background 0.23s, color 0.23s, box-shadow 0.2s, transform 0.1s;
}
.cta.primary {
  background: linear-gradient(90deg, #254668 0%, #E3B23C 100%);
  color: #fff;
  border: none;
  box-shadow: 0 6px 28px rgba(37,70,104,0.12);
}
.cta.primary:hover, .cta.primary:focus {
  background: linear-gradient(90deg, #E3B23C 0%, #254668 100%);
  color: #254668;
  box-shadow: 0 10px 28px rgba(37,70,104,0.18);
  transform: translateY(-2px) scale(1.05);
  outline: none;
}

/* Flexbox Layout Utilities
   ------------------------------------------*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  flex: 1 1 270px;
  min-width: 250px;
  max-width: 350px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(37,70,104,0.066);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.18s, transform 0.15s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 10px 32px rgba(227,178,60,0.11);
  transform: translateY(-4px) scale(1.015);
}
.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: #F7F7F7;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 4px 18px rgba(37,70,104,0.09);
  flex: 1 1 320px;
  min-width: 240px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Features grid & team grid */
.feature-grid, .team-grid, .service-cards, .articles-preview, .blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
  margin-bottom: 14px;
}
.feature-grid > div, .team-grid > div, .service-cards > div, .article-teaser, .blog-post {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(37,70,104,0.08);
  flex: 1 1 260px;
  min-width: 230px;
  max-width: 350px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.18s, transform 0.15s;
}
.feature-grid > div:hover, .team-grid > div:hover, .service-cards > div:hover, .article-teaser:hover, .blog-post:hover {
  box-shadow: 0 6px 28px rgba(227,178,60,0.14);
  transform: translateY(-3px) scale(1.016);
}

@media (max-width: 900px) {
  .feature-grid, .team-grid, .service-cards, .articles-preview, .blog-list {
    flex-direction: column;
    gap: 18px;
  }
}

/* Testimonial Slider (scrolling horizontally) */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.testimonial-card blockquote {
  color: #254668;
  font-style: italic;
  font-size: 1.11rem;
  line-height: 1.4;
  margin-bottom: 12px;
  border-left: 4px solid #E3B23C;
  padding-left: 14px;
  background: transparent;
}
.testimonial-card p {
  margin: 0 0 0 12px;
  color: #254668;
  font-size: 0.97rem;
}
.testimonial-card strong {
  color: #254668;
}

/* Responsive flex for text-image-section */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .content-wrapper {
    gap: 14px;
  }
}

/* Tables (pricing etc) */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  box-shadow: 0 2px 12px rgba(37,70,104,0.07);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
}
.pricing-table th, .pricing-table td {
  padding: 14px 12px;
  text-align: left;
  font-size: 1rem;
  border-bottom: 1px solid #E3B23C;
}
.pricing-table th {
  background: #F7F7F7;
  color: #254668;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}

/* Footer
   ------------------------------------------*/
footer {
  background: #254668;
  color: #fff;
  padding-top: 42px;
  padding-bottom: 28px;
  margin-top: 72px;
}
footer .container > div {
  margin-bottom: 14px;
}
.footer-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 24px;
}
.footer-nav img {
  height: 38px;
}
.footer-nav nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-left: 14px;
}
.footer-nav nav a {
  color: #fff;
  opacity: 0.88;
  font-size: 1rem;
  padding: 4px 0;
  border-radius: 5px;
  transition: color 0.13s, opacity 0.12s, background 0.14s;
}
.footer-nav nav a:hover, .footer-nav nav a:focus {
  color: #E3B23C;
  opacity: 1;
  background: rgba(227,178,60,0.12);
  outline: none;
}
.footer-info {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 8px;
}
.footer-info p {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 1rem;
  color: #fff;
  opacity: 0.85;
  margin-bottom: 0;
}
.footer-info img {
  width: 18px;
  height: 18px;
}
.footer-info a {
  color: #E3B23C;
  font-weight: 400;
}
.footer-legal {
  font-size: 0.97rem;
  color: #fff;
  opacity: 0.72;
  margin-bottom: 8px;
  text-align: left;
}
.footer-legal a {
  color: #E3B23C;
  font-weight: 500;
  opacity: 1;
  margin: 0 1px;
}
.footer-legal a:hover, .footer-legal a:focus {
  text-decoration: underline;
  outline: none;
}
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}
.footer-social a img {
  height: 32px;
  width: 32px;
  border-radius: 100%;
  transition: box-shadow 0.12s, background 0.15s;
  background: #fff;
  padding: 4px;
}
.footer-social a:hover img, .footer-social a:focus img {
  background: #E3B23C;
  box-shadow: 0 2px 10px rgba(227,178,60,0.15);
  outline: none;
}
@media (max-width: 720px) {
  .footer-nav, .footer-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .footer-nav nav {
    margin-left: 0;
    gap: 12px;
  }
}


/* HERO SECTION, SPECIAL BACKGROUNDS 
   ------------------------------------------*/
main > section:first-of-type {
  background: linear-gradient(120deg, #E3B23C 0%, #F7F7F7 70%);
  box-shadow: 0 12px 60px rgba(227,178,60,0.12);
}
main > section:first-of-type h1, main > section:first-of-type p {
  color: #254668;
}
main > section:first-of-type .cta {
  margin-top: 20px;
}


/* Blog post card, article teasers */
.article-teaser, .blog-post {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(37,70,104,0.07);
  padding: 20px 18px;
  transition: box-shadow 0.15s, transform 0.14s;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 13px;
  min-width: 230px;
  max-width: 340px;
}
.article-teaser h3, .blog-post h3 {
  margin-top: 0;
  font-size: 1.15rem;
}
.article-teaser a, .blog-post a {
  margin-top: auto;
  font-weight: 500;
  color: #254668;
  text-decoration: underline;
  transition: color 0.13s;
}
.article-teaser a:hover, .blog-post a:hover {
  color: #E3B23C;
  outline: none;
}

/* Embedded Map */
.embedded-map {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 0;
  background: #F7F7F7;
  border-radius: 12px;
}
.embedded-map img {
  width: 42px;
  height: 42px;
}

/* Tables & Cookie Category Toggles (for consent modal) */
input[type="checkbox"], input[type="radio"] {
  accent-color: #E3B23C;
}

/* Mobile Navigation (Hamburger)
   ------------------------------------------*/
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  cursor: pointer;
  z-index: 300;
  position: absolute;
  right: 20px;
  top: 18px;
  line-height: 1;
  padding: 5px 8px;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #E3B23C;
}

/* Mobile menu overlay (default hidden) */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(37,70,104,0.98);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 32px 20px;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  position: absolute;
  top: 16px;
  right: 22px;
  cursor: pointer;
  z-index: 1100;
  padding: 8px 12px;
  transition: color 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #E3B23C;
  background: rgba(227,178,60,0.14);
  border-radius: 6px;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 48px;
  width: 92vw;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 600;
  padding: 16px 0;
  border-bottom: 1px solid rgba(227,178,60,0.18);
  transition: color 0.18s, background 0.15s;
  border-radius: 4px;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #E3B23C;
  background: rgba(227,178,60,0.14);
  outline: none;
}

@media (max-width: 1100px) {
  header nav ul {
    display: none;
  }
  header nav .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (max-width: 768px) {
  header nav {
    gap: 10px;
  }
}

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

/* Cookie Consent Banner
   ------------------------------------------*/
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fffbe8;
  color: #254668;
  box-shadow: 0 -4px 20px rgba(37,70,104,0.08);
  padding: 26px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2000;
  gap: 18px;
  animation: fadeInBanner 0.7s;
}
@keyframes fadeInBanner { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: translateY(0); } }
.cookie-consent-banner p {
  margin-bottom: 0;
  font-size: 1rem;
  text-align: center;
}
.cookie-banner-actions {
  display: flex;
  gap: 20px;
  margin-top: 8px;
}
.cookie-consent-banner .cookie-btn {
  padding: 9px 24px;
  border-radius: 18px;
  background: #254668;
  color: #fff;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.17s, color 0.17s, box-shadow 0.15s, transform 0.12s;
  box-shadow: 0 2px 10px rgba(37,70,104,0.11);
  margin: 0 3px;
}
.cookie-consent-banner .cookie-btn.settings {
  background: #E3B23C;
  color: #254668;
}
.cookie-consent-banner .cookie-btn.accept {
  background: linear-gradient(90deg, #254668 55%, #E3B23C 100%);
}
.cookie-consent-banner .cookie-btn.reject {
  background: #eee;
  color: #254668;
  border: 1px solid #E3B23C;
}
.cookie-consent-banner .cookie-btn:hover, .cookie-consent-banner .cookie-btn:focus {
  background: #E3B23C;
  color: #254668;
  outline: none;
  box-shadow: 0 4px 12px rgba(227,178,60,0.13);
  transform: translateY(-2px) scale(1.03);
}

/* Cookie Settings Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(0.98);
  background: #fff;
  color: #254668;
  border-radius: 18px;
  box-shadow: 0 15px 48px rgba(37,70,104,0.14);
  max-width: 420px;
  width: 92vw;
  z-index: 2500;
  padding: 36px 26px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s, transform 0.26s;
  animation: none;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%,-50%) scale(1.0);
  animation: fadeInCookieModal 0.5s;
}
@keyframes fadeInCookieModal { from { opacity: 0; transform: translate(-50%, 20px) scale(0.98); } to { opacity: 1; transform: translate(-50%,0) scale(1); } }
.cookie-modal h2 {
  font-size: 1.3rem;
  color: #254668;
  margin-bottom: 8px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cookie-category-row label {
  flex: 1 1 auto;
  font-size: 1.08rem;
  color: #254668;
  cursor: pointer;
}
.cookie-category-row input[type="checkbox"] {
  width: 20px; height: 20px;
  accent-color: #E3B23C;
}
.cookie-category-row .always-on {
  color: #E3B23C;
  font-size: 1rem;
  font-weight: 500;
}
.cookie-modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 18px;
}
.cookie-modal .cookie-btn {
  flex: 1 1 auto;
  padding: 9px 0;
}
.cookie-modal .cookie-btn.cancel {
  background: #eee;
  color: #254668;
  border: 1px solid #E3B23C;
}

@media (max-width: 550px) {
  .cookie-modal {
    padding: 18px 7px 17px 9px;
    border-radius: 10px;
    max-width: 99vw;
  }
}

/* Miscellaneous Spacing & Details
   ------------------------------------------*/
.text-section {
  margin-bottom: 18px;
}
.text-section ul {
  margin-top: 8px;
  margin-bottom: 12px;
}
.text-section ul li {
  margin-bottom: 7px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}
.contact-details p {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 1rem;
  color: #254668;
  margin-bottom: 0;
}
@media (max-width: 600px) {
  .contact-details {
    gap: 8px;
  }
}

/* Ensure no content overlap and proper gaps */
main > section:not(:last-child) {
  margin-bottom: 60px;
}

/* Scrollbar Styling (Modern look) */
::-webkit-scrollbar {
  height: 10px; width: 10px;
  background: #F7F7F7;
}
::-webkit-scrollbar-thumb {
  background: #E3B23C;
  border-radius: 6px;
}

/* Accessibility - focus outline for all interactives */
a:focus, button:focus, .cta:focus, .cookie-btn:focus, .mobile-menu-close:focus {
  outline: 2px solid #E3B23C;
  outline-offset: 2px;
}

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

/********* END OF CSS ********/
