/* ====== 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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  background: #F5F6FA;
  color: #233D63;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  line-height: 1.6;
  position: relative;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
  border: 0;
}

button, a {
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
}
a {
  color: #233D63;
  transition: color 0.22s cubic-bezier(.55,.1,.67,1.22);
}
a:hover, a:focus {
  color: #FDBA2D;
  outline: none;
}
ul, ol {
  list-style-position: inside;
  margin-bottom: 16px;
}

strong {
  font-weight: bold;
}

/* ====== Typography ====== */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #233D63;
  letter-spacing: 0.01em;
  font-weight: 800;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 16px;
  line-height: 1.1;
  text-shadow: 0 2px 16px rgba(35,61,99,0.07);
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: #1C2950;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 12px;
}
p, li, label {
  font-size: 1rem;
  color: #233D63;
}
p, ul, ol {
  margin-bottom: 16px;
}

.tagline, .highlight {
  color: #FDBA2D;
  font-weight: 700;
  font-size: 1.17rem;
  margin-bottom: 8px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.subheadline {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: #395898;
  font-weight: 700;
}

/* ====== Layout Containers ====== */
.container {
  width: 100%;
  max-width: 1190px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}

.content-wrapper, .text-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(35,61,99,.07), 0 0.5px 3px rgba(253,186,45,0.06);
  transition: box-shadow 0.2s cubic-bezier(.81,-0.11,.46,1.09);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(35,61,99,0.07);
  margin-bottom: 20px;
  padding: 28px 24px;
  flex: 1 1 320px;
  position: relative;
  transition: transform 0.17s cubic-bezier(.67,.13,.53,.95), box-shadow 0.18s cubic-bezier(.81,-0.11,.46,1.09);
}
.card:hover {
  box-shadow: 0 6px 24px #FDBA2D80, 0 4px 32px rgba(35,61,99,.14);
  transform: translateY(-4px) scale(1.025);
}

.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: #fffbe6;
  box-shadow: 0 2px 12px rgba(35,61,99,0.06);
  border-left: 6px solid #FDBA2D;
  transition: box-shadow 0.15s;
}
.testimonial-card p {
  color: #233D63;
  font-size: 1.13rem;
  font-style: italic;
}
.testimonial-card span {
  font-size: 1rem;
  color: #ad8721;
  font-weight: 600;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

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

.feature-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 16px 0 0 0;
}
.feature-icons span {
  display: flex;
  align-items: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #233D63;
  letter-spacing: 0.03em;
  background: #F5F6FA;
  padding: 8px 18px 8px 12px;
  border-radius: 12px 20px 12px 20px;
  box-shadow: 0 1px 10px #FDBA2D18;
  transition: background 0.15s;
}
.feature-icons img {
  height: 26px;
  margin-right: 8px;
}
.feature-icons span:hover, .feature-icons span:focus {
  background: #FDBA2D;
  color: #233D63;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.service-cards > div {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(35,61,99,0.09);
  padding: 28px 24px 18px;
  flex: 1 1 320px;
  min-width: 260px;
  max-width: 47%;
  transition: box-shadow 0.15s, transform 0.17s cubic-bezier(.67,.13,.53,.95);
}
.service-cards > div:hover {
  box-shadow: 0 6px 24px #FDBA2D55, 0 4px 32px rgba(35,61,99,.17);
  transform: scale(1.025);
}

.map-placeholder {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #eaf0fe;
  border-radius: 16px;
  padding: 22px 18px;
  margin: 20px 0;
  box-shadow: 0 0.5px 8px #233D6340;
}
.map-placeholder span {
  color: #395898;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}


/* ====== Header & Main Nav ====== */
header {
  width: 100%;
  background: #233D63;
  padding: 0;
  box-shadow: 0 8px 36px -14px #233D632f;
  position: relative;
  z-index: 21;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 10px 18px;
}
header img {
  max-height: 54px;
  width: auto;
  margin-right: 28px;
  margin-bottom: 0;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1 1 auto;
  justify-content: flex-end;
}
.main-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 8px 16px 8px 10px;
  transition: color 0.16s, background 0.16s;
  border-radius: 8px;
  position: relative;
  z-index: 1;
}
.main-nav a:hover,.main-nav a:focus {
  background: #FDBA2D;
  color: #233D63;
}
.main-nav .cta-primary {
  background: #FDBA2D;
  color: #233D63;
  font-size: 1.13rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  padding: 10px 28px;
  border-radius: 22px 12px 22px 12px;
  box-shadow: 0 2px 24px #FDBA2D5f;
  margin-left: 12px;
  transition: box-shadow 0.17s, background 0.16s, color 0.16s;
  letter-spacing: 0.04em;
}
.main-nav .cta-primary:hover, .main-nav .cta-primary:focus {
  background: #233D63;
  color: #FDBA2D;
  box-shadow: 0 4px 32px #233D637a;
  border: 2px solid #FDBA2D;
}

.mobile-menu-toggle {
  display: none;
  background: #FDBA2D;
  color: #233D63;
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  transition: background 0.13s, color 0.13s;
  margin-left: 8px;
  z-index: 23;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  outline: none;
  background: #233D63;
  color: #FDBA2D;
}

/* Mobile Nav Styles */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #233D63;
  z-index: 999;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 36px 22px 18px 22px;
  box-shadow: 0 8px 44px #233D6341;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(.62,.14,.38,1.11);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0%);
}
.mobile-menu-close {
  align-self: flex-end;
  background: transparent;
  color: #FDBA2D;
  border: none;
  font-size: 2rem;
  margin-bottom: 16px;
  cursor: pointer;
  z-index: 1001;
  transition: color 0.16s;
}
.mobile-menu-close:hover,.mobile-menu-close:focus {
  color: #f88d1f;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 16px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.39rem;
  padding: 14px 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  border-bottom: 1px solid #39589833;
  transition: background 0.13s, color 0.16s;
  border-radius: 6px;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FDBA2D;
  color: #233D63;
}


/* ====== Footer ====== */
footer {
  background: #233D63;
  color: #fff;
  padding: 46px 0 20px 0;
  margin-top: 64px;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}
.footer-nav {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  margin-bottom: 18px;
}
.footer-nav nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #FDBA2D;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.03rem;
  padding: 4px 0;
  transition: color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
}
footer address {
  color: #fff;
  margin-bottom: 8px;
  font-style: normal;
}
footer address a {
  color: #FDBA2D;
  font-weight: 700;
  text-decoration: underline dotted;
}
.social-media {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}
.social-media a img {
  width: 30px;
  height: 30px;
  filter: brightness(1.4) saturate(1.9);
  transition: filter 0.13s, transform 0.13s;
}
.social-media a:hover img, .social-media a:focus img {
  filter: brightness(0.95) sepia(0.9) hue-rotate(-7deg) saturate(5) drop-shadow(0 2px 8px #FDBA2D94);
  transform: scale(1.08) rotate(-5deg);
}

/* ====== Buttons & CTAs ====== */
.cta-primary {
  background: #FDBA2D;
  color: #233D63;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  border: none;
  border-radius: 18px 10px 18px 10px;
  padding: 14px 34px;
  box-shadow: 0 4px 30px #FDBA2D44;
  margin-top: 24px;
  margin-bottom: 4px;
  transition: background 0.15s, color 0.17s, box-shadow 0.17s, transform 0.12s;
  letter-spacing: 0.06em;
  display: inline-block;
  text-align: center;
}
.cta-primary:hover, .cta-primary:focus {
  background: #233D63;
  color: #FDBA2D;
  box-shadow: 0 8px 30px #233D634a;
  transform: translateY(-2px) scale(1.035);
}

button, .btn {
  border: none;
  outline: none;
  background: #FDBA2D;
  color: #233D63;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border-radius: 10px 22px 10px 22px;
  padding: 12px 26px;
  font-size: 1rem;
  box-shadow: 0 2px 16px #FDBA2D25;
  transition: background 0.13s, color 0.13s;
}
button:hover, button:focus, .btn:hover, .btn:focus {
  background: #233D63;
  color: #FDBA2D;
}

/* Check highlight in about */
.check {
  background: #FDBA2D;
  color: #233D63;
  padding: 2px 10px;
  border-radius: 8px;
  margin: 0 3px;
  font-weight: 700;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* ====== Cookie Consent Banner ====== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #233D63;
  color: #FDBA2D;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 20px 22px;
  z-index: 1999;
  box-shadow: 0 -2px 18px #233D6370;
  transition: bottom 0.35s;
}
.cookie-banner p {
  color: #FDBA2D;
  font-size: 1.01rem;
  margin-right: 24px;
  flex: 1 1 40%;
}
.cookie-banner button, .cookie-banner .btn {
  margin-left: 16px;
  border-radius: 14px 8px 14px 8px;
  background: #FDBA2D;
  color: #233D63;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  box-shadow: 0 1px 8px #FDBA2D61;
  margin-bottom: 0;
  padding: 10px 23px;
  font-size: 1rem;
  transition: background 0.13s, color 0.13s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #fff;
  color: #233D63;
}

.cookie-banner .btn-settings {
  background: #fff;
  color: #233D63;
  margin-left: 8px;
  border: 2px solid #FDBA2D;
  font-weight: 700;
}
.cookie-banner .btn-settings:hover,.cookie-banner .btn-settings:focus {
  background: #FDBA2D;
  color: #fff;
  border-color: #fff;
}

.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  background: #fff;
  color: #233D63;
  min-width: 320px;
  max-width: 92vw;
  width: 440px;
  transform: translate(-50%,150%) scale(0.85);
  z-index: 2004;
  border-radius: 22px;
  padding: 36px 26px 28px;
  box-shadow: 0 18px 54px #233D639c;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.37s cubic-bezier(.5,.11,.61,1.12), opacity 0.26s ease-in;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cookie-modal.open {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}
.cookie-modal h2 {
  font-size: 1.4rem;
  font-weight: 800;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #F5F6FA;
  padding: 10px 16px;
  border-radius: 10px 20px 10px 20px;
}
.cookie-category label {
  font-weight: 700;
  font-size: 1.07rem;
  color: #233D63;
}
.cookie-category input[type='checkbox'] {
  accent-color: #FDBA2D;
  width: 20px;
  height: 20px;
  margin-right: 6px;
  border-radius: 6px;
}
.cookie-category .always-on {
  font-size: 1rem;
  color: #ad8721;
  font-weight: 500;
  margin-left: 12px;
}
.cookie-modal-actions {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
}
.cookie-modal-actions button, .cookie-modal-actions .btn {
  min-width: 100px;
}
.cookie-modal-close {
  background: transparent;
  color: #233D63;
  border: none;
  font-size: 2rem;
  position: absolute;
  right: 26px;
  top: 18px;
  cursor: pointer;
  z-index: 9999;
}
.cookie-modal-close:hover,.cookie-modal-close:focus{
  color: #FDBA2D;
}

/* ====== Utilities ====== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-16 { margin-top: 16px !important; }
.mt-24 { margin-top: 24px !important; }
.mb-24 { margin-bottom: 24px !important; }

/* ====== Spacing & Sections ====== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ====== Lists ====== */
ul, ol {
  margin-left: 20px;
  margin-top: 0;
}
ul li, ol li {
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.75;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
ul.contact-details {
  margin-left: 0;
  padding-left: 0;
  list-style: none;
  margin-bottom: 18px;
  gap: 8px;
}
ul.contact-details li {
  margin-bottom: 4px;
  font-size: 1.07rem;
  color: #233D63;
}

/* ===== Responsive Design (Mobile-first) ===== */
@media (max-width: 1024px) {
  .container {
    max-width: 94vw;
  }
  .service-cards > div {
    max-width: 100%;
  }
  .footer-nav {
    gap: 18px;
  }
  .feature-icons {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .section, section {
    padding: 34px 10px;
    margin-bottom: 48px;
  }
  .main-nav, .footer-nav {
    gap: 12px;
  }
  .feature-icons span {
    font-size: 1rem;
    padding: 6px 10px 6px 7px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2.1rem;
    margin-bottom: 12px;
  }
  h2 {
    font-size: 1.47rem;
    margin-bottom: 8px;
  }
  .section, section {
    padding: 23px 4px;
    margin-bottom: 33px;
    border-radius: 18px;
  }
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
  .footer-nav {
    flex-direction: column;
    gap: 10px;
  }
  .service-cards {
    flex-direction: column;
    gap: 16px;
  }
  .service-cards > div {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    padding: 18px 10px 0 10px;
  }
  .feature-icons {
    gap: 10px;
  }
  .testimonial-card {
    padding: 14px 8px;
    margin-bottom: 13px;
    border-radius: 10px;
  }
  .map-placeholder {
    flex-direction: column;
    gap: 10px;
    padding: 14px 6px;
    margin: 12px 0;
    border-radius: 8px;
  }
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
}
@media (max-width: 600px) {
  .footer-nav {
    gap: 3px;
  }
  footer .container {
    gap: 20px;
  }
  .cta-primary,
  button, .btn {
    width: 100%;
    padding: 11px 2px;
    font-size: 1.06rem;
    border-radius: 10px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
    padding: 18px 5px;
  }
  .cookie-banner button, .cookie-banner .btn {
    margin-left: 0;
    width: 100%;
    margin-bottom: 8px;
  }
  .cookie-modal {
    min-width: 0;
    width: calc(100vw - 24px);
    padding: 20px 6px 18px;
    border-radius: 14px;
  }
}

/* ===== Animations & Microinteractions ===== */
.cta-primary, .card, .service-cards > div, .feature-icons span {
  transition: background 0.19s, color 0.17s, box-shadow 0.21s, transform 0.14s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px #FDBA2D7a, 0 4px 18px rgba(35,61,99,0.13);
  cursor: pointer;
}

/* ===== Hide Mobile Menu Overlay When Not Opened ===== */
@media (max-width: 1024px) {
  .mobile-menu {
    display: none;
  }
  .mobile-menu.open {
    display: flex;
  }
}

/* ===== Utility Styles for Z-Index Overlay ===== */
.mobile-menu.open {
  z-index: 1201;
}
.cookie-modal.open {
  z-index: 3201;
}

/* ===== Prevent Absolute for Content, Only Decorative ===== */
/* No content elements (cards, texts) use position: absolute, except close buttons/modals */

/* ===== Accessibility ===== */
:focus-visible {
  outline: 3px dashed #FDBA2D;
  outline-offset: 2px;
}

::-webkit-scrollbar {
  width: 8px;
  background: #eaf0fe;
}
::-webkit-scrollbar-thumb {
  background: #FDBA2D;
  border-radius: 5px;
}


/* ===== Hide visually (for modals/backdrops etc. if needed) ===== */
.sr-only { 
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
