/* =======================================================
   CSS Reset & Box Sizing
======================================================= */
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,
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 {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #F6F9FB;
  color: #232323;
  font-family: 'Roboto', Georgia, Times, serif;
  line-height: 1.7;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #12426C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F4B942;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
li {
  line-height: 1.6;
  margin-bottom: 0.5em;
}
button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
  transition: background 0.2s, color 0.2s;
}
/* =======================================================
   Typography & Headings
======================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Georgia, 'Times New Roman', Times, serif;
  color: #12426C;
  font-weight: 600;
  margin-bottom: 0.7em;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
h1 {
  font-size: 2.2rem;
  margin-bottom: 1.2em;
}
h2 {
  font-size: 1.7rem;
  margin-bottom: 1em;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6em;
  color: #1C3146;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5em;
}
strong {
  font-weight: 700;
}
small {
  font-size: 0.9rem;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(18,66,108, 0.04);
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
/* =======================================================
   Navigation & Header
======================================================= */
header {
  background: #fff;
  border-bottom: 1px solid #e1e6ea;
  box-shadow: 0 2px 8px rgba(18,66,108,0.02);
  position: sticky;
  top: 0;
  z-index: 1020;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 16px 20px 16px;
  flex-wrap: wrap;
}
header img {
  height: 42px;
  width: auto;
}
nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', Georgia, 'Times New Roman', Times, serif;
  font-weight: 500;
  font-size: 1rem;
  color: #12426C;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border 0.15s, color 0.15s;
}
nav a:hover, nav a:focus {
  color: #F4B942;
  border-bottom: 2px solid #F4B942;
}

.btn-primary {
  background: #12426C;
  color: #fff;
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 11px 32px;
  border-radius: 28px;
  box-shadow: 0 2px 8px rgba(18,66,108,0.06);
  border: none;
  margin-left: 8px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: #F4B942;
  color: #12426C;
  box-shadow: 0 4px 18px rgba(244,185,66,0.13);
}
.mobile-menu-toggle {
  display: none;
  background: none;
  padding: 8px 16px;
  font-size: 1.75rem;
  color: #12426C;
  border-radius: 8px;
  transition: background 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #f6f9fb;
}

/* =======================================================
   Mobile Menu Overlay
======================================================= */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.9,.03,.41,.98);
  display: flex;
  flex-direction: column;
  padding-top: 0;
  box-shadow: 0 6px 24px rgba(18,66,108,0.12);
  will-change: transform, opacity;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: #12426C;
  font-size: 2.2rem;
  line-height: 1;
  margin: 20px 20px 20px 0;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #F6F9FB;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
  margin: 30px 0 0 40px;
}
.mobile-nav a {
  color: #12426C;
  font-family: 'Montserrat', serif;
  font-size: 1.3rem;
  font-weight: 600;
  padding: 10px 0;
  min-width: 180px;
  transition: color 0.16s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #F4B942;
}

@media (max-width: 1024px) {
  header .container {
    flex-wrap: wrap;
    gap: 8px;
    padding: 20px 8px 12px 8px;
  }
  nav {
    gap: 15px;
  }
}
@media (max-width: 900px) {
  nav {
    display: none;
  }
  .btn-primary {
    margin-left: 4px;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}

/* =======================================================
   Main: Section & Card Layouts
======================================================= */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(18,66,108, 0.07);
  position: relative;
}
.feature-grid, .service-cards, .blog-list, .step-list, .service-grid {
  display: flex;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid img,
.service-cards img,
.service-grid img,
.step-list img {
  width: 100px;
}
.service-cards > div, .service-grid > div, .feature-grid > div, .blog-list > div, .step-list > div, .team-members > div, .testimonials > .testimonial-card {
  flex: 1 1 240px;
  min-width: 240px;
  background: #F6F9FB;
  border-radius: 12px;
  box-shadow: 0 1.5px 6px rgba(18,66,108,0.07);
  padding: 28px 22px 24px 22px;
  margin-bottom: 20px;
  transition: box-shadow 0.19s, border-color 0.18s;
  border: 1px solid #e7eaef;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.service-cards > div:hover,
.feature-grid > div:hover,
.service-grid > div:hover,
.blog-list > div:hover,
.team-members > div:hover {
  box-shadow: 0 6px 24px rgba(18,66,108,0.15);
  border-color: #F4B942;
}
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #f7f2ea;
  border-radius: 10px;
  border: 1px solid #e8e0d2;
  margin-bottom: 20px;
  box-shadow: 0 0.5px 3px rgba(18,66,108,0.06);
  min-width: 240px;
  max-width: 310px;
  color: #273042;
}
.testimonial-card p {
  color: #1C3146;
  font-style: italic;
  font-size: 1.03rem;
}
.testimonial-card span {
  color: #444;
  font-size: 0.96rem;
  margin-bottom: 0.4em;
}
.testimonial-card img {
  height: 22px;
  filter: grayscale(0%) brightness(1.15);
}
.team-members {
  display: flex;
  flex-wrap: wrap;
  gap: 23px;
  margin-top: 15px;
}
.team-members > div {
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 320px;
  align-items: center;
  text-align: left;
}
.team-members img {
  height: 48px;
  border-radius: 16px;
  margin-bottom: 10px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.location-map {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1.5px 6px rgba(18,66,108,0.07);
  margin-bottom: 20px;
  padding: 32px 24px;
  position: relative;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-post-card {
  background: #F6F9FB;
  border-radius: 10px;
  border: 1px solid #e2e7ec;
  padding: 24px 20px 20px 20px;
  min-width: 240px;
  max-width: 350px;
  transition: box-shadow 0.2s, border-color 0.18s;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}
.blog-post-card:hover {
  box-shadow: 0 6px 30px rgba(18,66,108,0.13);
  border-color: #F4B942;
}
.blog-post-card a {
  align-self: flex-start;
  margin-top: 14px;
  color: #12426C;
  font-weight: 600;
  border-bottom: 1.5px dotted #F4B942;
  transition: color 0.18s, border 0.14s;
}
.blog-post-card a:hover {
  color: #F4B942;
  border-bottom: 1.5px solid #12426C;
}

.faq-accordion > div {
  margin-bottom: 18px;
  background: #f3f6fa;
  border-radius: 10px;
  border: 1px solid #e3e8ee;
  padding: 18px 20px 14px 20px;
}
.tag {
  background: #F4B942;
  color: #12426C;
  border-radius: 8px;
  padding: 5px 18px;
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  display: inline-block;
  margin-right: 12px;
  margin-bottom: 8px;
  box-shadow: 0 1px 2px rgba(18,66,108,0.05);
}
.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.contact-details p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
}
.contact-details img {
  height: 25px;
}
/* =======================================================
   Footer
======================================================= */
footer {
  background: #12426C;
  color: #fff;
  padding: 44px 0 30px 0;
  border-top: 2px solid #F4B942;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  justify-content: space-between;
}
.footer-navigation {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 190px;
  margin-bottom: 12px;
}
.footer-navigation a {
  color: #fff;
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.19s;
  margin-bottom: 2px;
}
.footer-navigation a:hover {
  color: #F4B942;
}
.footer-contact-info {
  font-size: 1rem;
  color: #e0e5ec;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.footer-contact-info img {
  height: 39px;
  margin-bottom: 10px;
}
.footer-contact-info a {
  color: #F4B942;
  text-decoration: underline;
  font-size: 1rem;
}
.footer-brand-description {
  font-size: 1rem;
  color: #e0e5ec;
  max-width: 340px;
  margin-top: 14px;
}
.footer-brand-description img {
  height: 28px;
  margin-right: 12px;
  margin-top: 13px;
  display: inline-block;
}

/* =======================================================
   Cookie Consent Banner
======================================================= */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #1C3146;
  color: #fff;
  padding: 23px 18px 22px 18px;
  z-index: 5000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  box-shadow: 0 -2px 16px rgba(18,66,108,0.08);
  animation: cookie-slide-in 0.7s;
}
@keyframes cookie-slide-in {
  from { transform: translateY(100%); opacity:0; }
  to   { transform: translateY(0); opacity:1; }
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  gap: 12px;
  margin-top: 7px;
}
.cookie-consent-banner button {
  background: #F4B942;
  color: #12426C;
  border-radius: 24px;
  border: none;
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 24px;
  margin-right: 3px;
  cursor: pointer;
  transition: background 0.17s, color 0.19s;
}
.cookie-consent-banner button:last-child {
  background: #fff;
  color: #12426C;
  border: 1px solid #F4B942;
}
.cookie-consent-banner button:hover,
.cookie-consent-banner button:focus {
  background: #12426C;
  color: #fff;
}
.cookie-consent-banner button:last-child:hover,
.cookie-consent-banner button:last-child:focus {
  background: #F6F9FB;
  color: #12426C;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 7000;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(18,66,108,0.19);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s;
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #1C3146;
  border-radius: 18px;
  max-width: 450px;
  min-width: 280px;
  padding: 36px 32px 24px 32px;
  box-shadow: 0 6px 38px rgba(18,66,108,0.21);
  display: flex;
  flex-direction: column;
  gap: 26px;
  position: relative;
  animation: modalSlide 0.3s cubic-bezier(.67,.06,.42,.98);
}
@keyframes modalSlide {
  from { transform: translateY(120px) scale(0.95); opacity:0; }
  to { transform: translateY(0) scale(1); opacity:1; }
}
.cookie-modal h2 {
  margin-bottom: 7px;
  color: #12426C;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-bottom: 15px;
}
.cookie-modal .cookie-category label {
  font-family: 'Montserrat', serif;
  color: #333;
  font-weight: 600;
}
.cookie-modal .switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 21px;
}
.cookie-modal .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #e6e8ec;
  border-radius: 21px;
  transition: background 0.18s;
}
.cookie-modal .switch input:checked + .slider {
  background: #F4B942;
}
.cookie-modal .slider:before {
  content: '';
  position: absolute;
  left: 2px;
  top: 2.5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px #bbb;
  transition: transform 0.18s;
}
.cookie-modal .switch input:checked + .slider:before {
  transform: translateX(17px);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 21px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-actions button {
  background: #12426C;
  color: #fff;
  border-radius: 24px;
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 22px;
  border: none;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
}
.cookie-modal .cookie-modal-actions button:last-child {
  background: #fff;
  color: #12426C;
  border: 1px solid #F4B942;
}
.cookie-modal .cookie-modal-actions button:hover,
.cookie-modal .cookie-modal-actions button:focus {
  background: #F4B942;
  color: #12426C;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 2rem;
  color: #12426C;
  background: none;
  border: none;
  cursor: pointer;
}
.cookie-modal-close:hover {
  color: #F4B942;
}

/* =======================================================
   Responsive Layouts (Mobile First)
======================================================= */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .container {
    max-width: 98vw;
    padding: 0 6px;
  }
  .section {
    margin-bottom: 40px;
    padding: 22px 4px;
    border-radius: 10px;
  }
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 12px 4px 8px 4px;
    gap: 4px;
  }
  .feature-grid,
  .service-cards,
  .blog-list,
  .step-list,
  .service-grid,
  .team-members,
  .testimonials {
    flex-direction: column;
    gap: 16px;
  }
  .service-cards > div,
  .feature-grid > div,
  .team-members > div,
  .service-grid > div,
  .blog-list > div,
  .testimonials > .testimonial-card {
    max-width: 98vw;
    min-width: 0;
    width: 100%;
    padding: 18px 10px;
  }
  .testimonial-card {
    max-width: 99vw;
    padding: 14px 10px;
  }
  .categories {
    gap: 7px;
  }
  footer .container {
    flex-direction: column;
    gap: 28px;
    padding: 0 6px;
    align-items: flex-start;
  }
  .footer-navigation {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 22px;
    min-width: 0;
    margin-bottom: 6px;
  }
}
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  h1 {
    font-size: 1.45rem;
  }
  h2 {
    font-size: 1.15rem;
  }
}

/* ========================================================
   Micro-interactions, Focus & Transitions
======================================================== */
a, button, .btn-primary, .nav a, .mobile-nav a {
  transition: color 0.18s, background 0.18s, border 0.16s, box-shadow 0.14s;
}
*:focus {
  outline: 2px solid #F4B942;
  outline-offset: 2px;
}
input[type="checkbox"], input[type="radio"] {
  accent-color: #F4B942;
}

/* Utility Classes (if present in some HTML usage) */
.text-center     { text-align: center !important; }
.align-center    { justify-content: center !important; align-items: center !important; }
.align-left      { justify-content: flex-start !important; }
.mt-0            { margin-top: 0 !important; }
.no-shadow       { box-shadow: none !important; }
.bg-accent       { background: #F4B942 !important; }
.bg-primary      { background: #12426C !important; color: #fff !important; }
.bg-secondary    { background: #F6F9FB !important; }

/* Confirmed: No display:grid, no columns, only flexbox for all layouts. */