/* ==========================================================================
   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;
  background: #F5F7FA;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: #233042;
  line-height: 1.6;
  overflow-x: hidden;
}
main {
  flex: 1 0 auto;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
a {
  color: #184A7C;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus-visible {
  outline: 2px solid #F2B134;
  outline-offset: 2px;
}
a:hover {
  color: #F2B134;
}
button {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  transition: background 0.2s, color 0.2s;
}
strong, b {
  font-weight: 700;
}
hr {
  border: none;
  border-top: 1px solid #dee2e6;
  margin: 24px 0;
}

/* ==========================================================================
   BASE TYPOGRAPHY & HEADINGS
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #184A7C;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}
h4 {
  font-size: 1.125rem;
}
p, li, dd {
  font-size: 1rem;
  margin-bottom: 12px;
}
dt {
  font-weight: 600;
  margin-top: 10px;
  color: #184A7C;
}
dd {
  margin-left: 0;
}
small {
  font-size: 0.9rem;
  color: #6A7685;
}

/* ==========================================================================
   LAYOUT CONTAINERS
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 20px rgba(24, 74, 124, 0.04), 0 1.5px 4px rgba(24,74,124,0.05);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 10px rgba(24,74,124,0.06);
  padding: 32px 28px;
  margin-bottom: 20px;
  position: relative;
}
.feature-grid, .blog-list, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 24px;
}
.feature-grid > div, .service-list > div, .blog-preview {
  flex: 1 1 260px;
  min-width: 260px;
  background: #F5F7FA;
  border-radius: 12px;
  padding: 24px 22px 20px 22px;
  box-shadow: 0 1.5px 10px rgba(24,74,124,0.045);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature-grid > div:hover, .service-list > div:hover, .blog-preview:hover {
  box-shadow: 0 4px 24px rgba(24,74,124,0.14), 0 1.5px 4px rgba(24,74,124,0.09);
  transform: translateY(-2px) scale(1.026);
}
.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;
}
.blog-list {
  gap: 24px;
}
.text-section ul, .text-section ol {
  margin-bottom: 16px;
  margin-left: 20px;
}

/* ==========================================================================
   BUTTONS & CTAs
   ========================================================================== */
.cta, .section a.cta {
  display: inline-block;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  padding: 13px 36px;
  border-radius: 24px;
  color: #fff;
  background: #184A7C;
  box-shadow: 0 2px 10px rgba(24,74,124,0.10);
  transition: background 0.15s, transform 0.16s, box-shadow 0.18s;
  cursor: pointer;
  margin-top: 8px;
  margin-bottom: 4px;
  letter-spacing: 0.03em;
}
.cta:hover, .cta:focus-visible {
  background: #0e2e47;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 22px rgba(24,74,124,0.17);
  text-decoration: none;
  outline: none;
}
button.cta { /* for JS-injected CTAs */
  border: none;
}

/* Link buttons (ie. in cookie banner) */
.button-link, .cookie-btn, .cookie-btn-primary {
  display: inline-block;
  text-align: center;
  padding: 11px 24px;
  border-radius: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  margin-right: 18px;
  margin-bottom: 7px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.16s, color 0.16s, box-shadow 0.14s;
}
.button-link:hover, .cookie-btn:hover {
  background: #e5ecf2;
}
.cookie-btn {
  background: #E2EAF4;
  color: #184A7C;
  border: 1px solid #C4D4EE;
}
.cookie-btn-primary {
  background: #184A7C;
  color: #fff;
  border: 1px solid #184A7C;
}
.cookie-btn-primary:hover {
  background: #0f2b48;
  color: #fff;
}

/* Close icon in modals/menus */
.mobile-menu-close {
  background: transparent;
  color: #184A7C;
  border: none;
  font-size: 2rem;
  position: absolute;
  top: 24px;
  right: 26px;
  z-index: 101;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus-visible {
  color: #F2B134;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
header {
  background: #fff;
  box-shadow: 0 1px 12px rgba(24,74,124,0.07);
  position: sticky;
  top: 0;
  z-index: 99;
}
header .container {
  padding-top: 0;
  padding-bottom: 0;
}
nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px 18px;
  padding: 16px 0;
  min-height: 60px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #184A7C;
  font-weight: 600;
  font-size: 1.08rem;
  padding: 8px 0;
  transition: color 0.16s;
}
nav a.cta {
  margin-left: 20px;
  margin-right: 0;
  min-width: 146px;
  color: #fff;
  background: #184A7C;
  padding: 10px 28px;
  border-radius: 22px;
  box-shadow: 0 2px 10px rgba(24,74,124,0.09);
  transition: background 0.18s, box-shadow 0.18s;
}
nav a.cta:hover {
  background: #F2B134;
  color: #184A7C !important;
}
nav img {
  height: 34px;
  width: auto;
  margin-right: 20px;
  transition: opacity 0.12s;
}

/* Hide burger on desktop */
.mobile-menu-toggle {
  display: none;
}

/* ==========================================================================
   MOBILE NAVIGATION
   ========================================================================== */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 13px;
  right: 22px;
  z-index: 110;
  background: #184A7C;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 2rem;
  height: 44px;
  width: 44px;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:focus-visible {
  outline: 2px solid #F2B134;
  background: #194b7d;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24, 74, 124, 0.97);
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.57,.22,.18,.96);
  z-index: 2002;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 32px;
  padding-left: 14px;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: transparent;
  position: absolute;
  top: 18px;
  right: 20px;
  color: #fff;
}
.mobile-nav {
  margin-top: 46px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial,sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 14px 10px;
  border-radius: 10px;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:focus-visible {
  outline: 2px solid #F2B134;
}
.mobile-nav a:hover {
  background: #14395f;
  color: #F2B134;
}

@media (max-width: 1060px) {
  nav {
    gap: 16px 10px;
  }
}
@media (max-width: 900px) {
  nav {
    gap: 12px 8px;
  }
}
@media (max-width: 850px) {
  nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* Footer navigation is always visible on all sizes */

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background: #184A7C;
  color: #fff;
  font-size: 1rem;
  padding-top: 40px;
  padding-bottom: 30px;
  margin-top: 60px;
}
footer .container {
  padding-left: 18px;
  padding-right: 18px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 28px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}
footer nav a {
  color: #fff;
  font-weight: 500;
  padding-right: 20px;
  font-size: 1rem;
  margin-bottom: 6px;
}
footer nav a:hover {
  color: #F2B134;
  text-decoration: underline;
}
footer img {
  height: 41px;
  margin-bottom: 16px;
  filter: none;
}
footer dl dt {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
}
footer dl dd {
  color: #F5F7FA;
  font-size: 1rem;
  margin-bottom: 8px;
}
footer small {
  color: #ccd7e6;
  letter-spacing: .01em;
  font-size: 0.96rem;
  margin-top: 12px;
  display: block;
}

/* ==========================================================================
   COMPONENTS: Pricing Table, FAQ, Blog, Features, Highlighted Lists
   ========================================================================== */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 28px;
  background: #F5F7FA;
  box-shadow: 0 2px 10px rgba(24,74,124,0.025);
}
.pricing-table th, .pricing-table td {
  padding: 16px 14px;
  text-align: left;
  font-size: 1.04rem;
  border-bottom: 1px solid #dde5ef;
}
.pricing-table th {
  background: #E2EAF4;
  color: #184A7C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}

.faq-list {
  margin-bottom: 24px;
}
.faq-list dt {
  font-family: 'Montserrat', Arial;
  color: #184A7C;
  font-weight: 600;
  font-size: 1.14rem;
  margin-top: 16px;
}
.faq-list dd {
  padding-left: 0;
  color: #233042;
  margin-bottom: 12px;
}

.service-highlights, .service-highlights {
  list-style: disc inside;
  background: #F5F7FA;
  border-radius: 10px;
  padding: 16px 28px;
  margin-top: 8px;
  margin-bottom: 6px;
  font-size: 1rem;
  color: #184A7C;
  box-shadow: 0 .5px 3px rgba(24,74,124,0.037);
}
.service-highlights li {
  margin-bottom: 6px;
}

.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.blog-preview {
  cursor: pointer;
  min-width: 260px;
  flex: 1 1 270px;
  background: #ffffff;
  border: 1px solid #e7ebf1;
  border-radius: 11px;
  box-shadow: 0 1.2px 8px rgba(24,74,124,0.03);
  padding: 24px 22px 14px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.17s, transform 0.13s;
}
.blog-preview h2 {
  font-size: 1.19rem;
  margin-bottom: 13px;
  color: #184A7C;
}
.blog-preview:hover {
  box-shadow: 0 5px 24px rgba(24,74,124,0.16);
  border-color: #dde5ef;
  transform: translateY(-2px) scale(1.02);
}

.map {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
  font-size: 1rem;
  align-items: flex-start;
  background: #F5F7FA;
  padding: 14px 20px;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(24,74,124,0.09);
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 24px;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 1px 12px rgba(24,74,124,0.10);
  color: #184A7C;
  transition: box-shadow 0.17s, transform 0.13s;
}
.testimonial-card strong {
  color: #184A7C;
  font-weight: 700;
}
.testimonial-card p {
  color: #233042;
  font-size: 1.08rem;
  margin-bottom: 0;
}
.testimonial-card:hover {
  box-shadow: 0 3.5px 24px rgba(24,74,124,0.18);
  transform: translateY(-2px) scale(1.018);
}

@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 10px;
  }
}

/* ==========================================================================
   UNIVERSAL RESPONSIVE LAYOUTS
   ========================================================================== */
@media (max-width: 980px) {
  .content-wrapper {
    gap: 22px;
  }
  .feature-grid, .blog-list, .service-list {
    gap: 18px;
  }
}
@media (max-width: 820px) {
  .footer .content-wrapper, footer .content-wrapper {
    gap: 20px 6px;
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 700px) {
  .feature-grid > div, .service-list > div, .blog-preview {
    min-width: 96vw;
    padding: 22px 10px;
  }
  .section {
    padding: 26px 6vw;
    margin-bottom: 36px;
  }
}
@media (max-width: 650px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .content-wrapper {
    gap: 16px;
  }
}
@media (max-width: 570px) {
  h1 {
    font-size: 1.55rem;
  }
  h2 {
    font-size: 1.21rem;
  }
  .section {
    padding: 18px 0.8vw;
  }
}

/* --- Text-Image combined sections --- */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* ==========================================================================
   COOKIE BANNER AND MODAL
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  color: #233042;
  border-top: 2px solid #184A7C;
  box-shadow: 0 -2px 24px rgba(24,74,124,0.13);
  padding: 22px 18px 18px 18px;
  z-index: 3000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 26px;
  font-size: 1rem;
  animation: cookieSlideIn 0.52s cubic-bezier(.77,.23,.18,.89);
}
@keyframes cookieSlideIn {
  from { transform: translateY(60%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.cookie-banner p {
  max-width: 640px;
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 9px;
  align-items: center;
}

.cookie-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,74,124,0.55);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s cubic-bezier(.77,.23,.18,.89);
}
.cookie-modal-backdrop.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  color: #233042;
  padding: 36px 26px 24px 26px;
  border-radius: 20px;
  box-shadow: 0 12px 48px rgba(24,74,124,0.16), 0 1.5px 4px rgba(24,74,124,0.08);
  width: 98vw;
  max-width: 410px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: modalDrop 0.34s cubic-bezier(.77,.23,.18,.89);
}
@keyframes modalDrop {
  from { transform: translateY(-80px) scale(0.95); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: transparent;
  border: none;
  color: #184A7C;
  font-size: 2rem;
}
.cookie-modal-close:hover, .cookie-modal-close:focus-visible {
  color: #F2B134;
}
.cookie-modal h2 {
  font-size: 1.22rem;
  color: #184A7C;
  margin-bottom: 1px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 1rem;
}
.cookie-category label {
  font-family: 'Roboto', Arial, sans-serif;
  color: #184A7C;
  font-weight: 500;
}
.cookie-toggle {
  appearance: none;
  width: 44px;
  height: 22px;
  border-radius: 15px;
  background: #e2eaf4;
  transition: background 0.18s;
  position: relative;
  outline: none;
  border: none;
  margin-right: 5px;
}
.cookie-toggle:checked {
  background: #184A7C;
}
.cookie-toggle::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.15s;
  box-shadow: 0 1px 4px rgba(24,74,124,0.11);
}
.cookie-toggle:checked::before {
  left: 23px;
}
.cookie-category[aria-disabled='true'] {
  opacity: .66;
}
.cookie-category[aria-disabled='true'] .cookie-toggle {
  background: #bfcada;
  cursor: not-allowed;
}

.cookie-modal-actions {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

@media (max-width: 520px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 7px 14px 7px;
  }
  .cookie-modal {
    padding: 15px 7px 12px 9px;
    border-radius: 10px;
    max-width: 97vw;
  }
  .cookie-modal h2 {
    font-size: 1.05rem;
    margin-bottom: 2px;
  }
}

/* ==========================================================================
   ACCESSIBLE FOCUSES, SHADOWS, TRANSITIONS, MICRO-INTERACTIONS
   ========================================================================== */
*:focus-visible {
  outline: 2px solid #F2B134;
  outline-offset: 2px;
}
.card, .feature-grid > div, .blog-preview, .testimonial-card, .service-list > div {
  transition: box-shadow 0.18s, transform 0.13s, border-color 0.15s;
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */
.hidden {
  display: none !important;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.w-100 {
  width: 100%;
}

/* ==========================================================================
   PRINT OPTIMIZATION
   ========================================================================== */
@media print {
  header, nav, .mobile-menu, .mobile-menu-toggle, footer, .cookie-banner, .cookie-modal-backdrop { display: none !important; }
  .section { background: #fff !important; }
}

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