/* RESET & BASE TYPOGRAPHY (Mobile First) */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  background: #F8FAFC;
  color: #1B2328;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a {
  color: #2A6F97;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #012A4A;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
ul, ol {
  margin-left: 20px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #012A4A;
  margin-bottom: 16px;
  line-height: 1.2;
}
h1 {font-size: 2.2rem;}
h2 {font-size: 1.6rem;}
h3 {font-size: 1.2rem;}
h4, h5, h6 {font-size: 1rem;}

p {
  margin-bottom: 16px;
  color: #334350;
}

blockquote {
  font-style: italic;
  margin: 0 0 8px 0;
  color: #222;
}

.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* BUTTONS / CTA */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #FFD60A;
  color: #012A4A;
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 32px;
  border: none;
  border-radius: 32px;
  box-shadow: 0 2px 8px rgba(2,42,74,0.06);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.25s, transform 0.15s;
  margin-top: 12px;
  text-align: center;
  letter-spacing: 0.02em;
}
.cta-button:hover, .cta-button:focus {
  background: #FFEE98;
  color: #012A4A;
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 4px 16px rgba(2,42,74,0.11);
}

button {
  font-family: inherit;
  font-size: 1rem;
  background: none;
  color: inherit;
  border: none;
  cursor: pointer;
  outline: none;
}

/* HEADER */
header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(2,42,74,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 18px;
}
header img {
  height: 38px;
  width: auto;
}
.main-nav {
  display: none;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #012A4A;
  font-weight: 500;
  font-size: 1rem;
  margin-right: 18px;
  margin-left: 0;
  padding: 6px 0;
  transition: color 0.15s;
}
.main-nav a:last-child {
  margin-right: 0;
}
.main-nav a:hover, .main-nav a:focus {
  color: #2A6F97;
}

.mobile-menu-toggle {
  background: #FFD60A;
  color: #012A4A;
  font-size: 1.8rem;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  transition: background 0.18s, box-shadow 0.2s;
  box-shadow: 0 2px 10px rgba(2,42,74,0.05);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #FFEE98;
}



/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #F8FAFC;
  z-index: 2000;
  padding: 0;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.46,.03,.52,.96);
  box-shadow: -4px 0 24px rgba(2,42,74,0.10);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  background: #fff;
  border-radius: 50%;
  padding: 4px 12px 6px 12px;
  margin: 16px 16px 4px 0;
  color: #012A4A;
  border: 1px solid #E6ECEF;
  transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F1F4F7;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin: 40px 0 0 32px;
}
.mobile-nav a {
  display: block;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #012A4A;
  font-weight: 500;
  font-size: 1.2rem;
  padding: 12px 0;
  width: 100%;
  transition: color 0.17s, background 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #fff;
  background: #2A6F97;
  border-radius: 8px;
  padding-left: 7px;
}


/* SECTION / MAIN SPACING */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* FLEX LAYOUTS (MANDATORY CLASSES) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(2,42,74,0.05);
  margin-bottom: 20px;
  position: relative;
  padding: 26px 20px;
  flex: 1 1 280px;
  min-width: 240px;
  transition: box-shadow 0.2s, transform 0.17s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 30px rgba(2,42,74,0.14);
  transform: translateY(-3px) scale(1.012);
}
.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: 16px;
  box-shadow: 0 6px 32px rgba(2,42,74,0.07);
  margin-bottom: 20px;
  max-width: 700px;
  color: #012A4A;
  transition: box-shadow 0.18s, background 0.19s;
}
.testimonial-card blockquote {
  color: #151A1F;
  font-style: italic;
  margin-bottom: 0;
}
.testimonial-card strong {
  color: #2A6F97;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  background: #F8FAFC;
  box-shadow: 0 10px 38px rgba(2,42,74,0.16);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Feature grid for services (used across multiple pages) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div {
  background: #fff;
  border-radius: 14px;
  padding: 28px 20px 18px 20px;
  min-width: 220px;
  flex: 1 1 260px;
  box-shadow: 0 2px 12px rgba(2,42,74,0.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  transition: box-shadow 0.16s, transform 0.12s;
}
.feature-grid > div img {
  height: 32px;
  width: 32px;
  margin-bottom: 8px;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  box-shadow: 0 8px 28px rgba(2,42,74,0.13);
  transform: translateY(-2px) scale(1.01);
  background: #F4F7FA;
}

/* Blog List */
.blog-listing, .service-card-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.blog-post-card, .service-card-list > div {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(2,42,74,0.05);
  padding: 28px 20px 16px 20px;
  min-width: 240px;
  flex: 1 1 260px;
  transition: box-shadow 0.16s, transform 0.12s;
  margin-bottom: 20px;
}
.blog-post-card:hover, .service-card-list > div:hover {
  box-shadow: 0 10px 30px rgba(2,42,74,0.12);
  background: #F4F7FA;
  transform: translateY(-1px) scale(1.01);
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 8px rgba(2,42,74,0.06);
  padding: 20px 18px;
}
.faq-item h3 {
  margin-bottom: 5px;
  font-size: 1.1rem;
  color: #2A6F97
}

/* Filters and Search */
.filters {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}
.filters label {
  font-weight: 500;
  color: #012A4A;
  font-family: 'Montserrat', Arial, sans-serif;
}
.filters select {
  padding: 5px 14px;
  border-radius: 8px;
  border: 1px solid #CFDCE6;
  background: #F8FAFC;
  font: inherit;
  color: #2A6F97;
  min-width: 120px;
  transition: border-color 0.18s;
}
.filters select:focus {
  border-color: #2A6F97;
}
.search-bar {
  display: flex;
  margin-top: 12px;
}
.search-bar input[type="text"] {
  width: 100%;
  max-width: 260px;
  border: 1px solid #E0E7EF;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 1rem;
  background: #F8FAFC;
  color: #012A4A;
  transition: border-color 0.15s;
}
.search-bar input[type="text"]:focus {
  border-color: #2A6F97;
}

/* Newsletter and Text Sections */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

/* FOOTER */
footer {
  background: #fff;
  border-top: 1px solid #DAE2EA;
  margin-top: 0;
  padding-bottom: 0;
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 38px 20px 18px 20px;
}
footer img {
  height: 34px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-bottom: 8px;
}
.footer-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #2A6F97;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #FFD60A;
}
footer address {
  font-style: normal;
  color: #7A8A99;
  font-size: 1rem;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
footer a {
  word-break: break-all;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: #012A4A;
  box-shadow: 0 -3px 24px rgba(2,42,74,0.13);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  padding: 20px 20px 18px 20px;
  font-size: 1rem;
  animation: cookieSlideIn 0.5s cubic-bezier(.57,.21,.69,.98);
}
@keyframes cookieSlideIn {
  from {transform: translateY(100%); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 5px;
}
.cookie-accept,
.cookie-reject,
.cookie-prefs {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 24px;
  padding: 8px 22px;
  margin: 0 2px;
  font-size: 1rem;
  transition: background 0.17s, color 0.14s, box-shadow 0.22s;
}
.cookie-accept {
  background: #FFD60A;
  color: #012A4A;
  box-shadow: 0 2px 12px rgba(2,42,74,0.07);
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #FFEE98;
}
.cookie-reject {
  background: #F8FAFC;
  color: #2A6F97;
  border: 1px solid #CFDCE6;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #E0E7EF;
  color: #012A4A;
}
.cookie-prefs {
  background: #2A6F97;
  color: #fff;
  border: none;
}
.cookie-prefs:hover, .cookie-prefs:focus {
  background: #012A4A;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%) scale(1);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 38px rgba(2,42,74,0.14);
  z-index: 3100;
  min-width: 320px;
  max-width: 95vw;
  width: 430px;
  padding: 32px 24px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalScaleAppear 0.35s cubic-bezier(.57,.21,.69,.98);
}
@keyframes modalScaleAppear {
  from { transform: translate(-50%,-50%) scale(0.92); opacity:0; }
  to { transform: translate(-50%,-50%) scale(1); opacity:1; }
}
.cookie-modal-header {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #012A4A;
  margin-bottom: 6px;
}
.cookie-modal-close {
  position: absolute;
  right: 24px; top: 20px;
  font-size: 1.6rem;
  color: #2A6F97;
  background: #F6F7F9;
  border-radius: 50%;
  border: none;
  padding: 5px 12px 4px 12px;
  transition: background 0.18s;
  cursor: pointer;
  z-index: 3200;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #FFD60A; color: #012A4A;
}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F8FAFC;
  border-radius: 10px;
  padding: 9px 18px;
  font-size: 1rem;
  min-height: 38px;
}
.cookie-option input[type="checkbox"] {
  accent-color: #2A6F97;
  width: 20px;
  height: 20px;
  margin-left: 12px;
}
.cookie-option .cookie-required {
  color: #57626D;
  font-size: 0.96rem;
  font-style: italic;
}

/* Cookie modal overlay */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(1,42,74,0.19);
  z-index: 3099;
  animation: fadeinmodalbg 0.35s;
}
@keyframes fadeinmodalbg {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive - Mobile First */
@media (min-width: 660px) {
  .feature-grid > div, .card, .blog-post-card, .service-card-list > div { min-width: 260px; }
}
@media (min-width: 900px) {
  .main-nav {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    margin-left: 30px;
  }
  .mobile-menu-toggle {
    display: none;
  }
  .mobile-menu { display: none !important; }
  header .container { gap: 28px; }
}
@media (min-width: 768px) {
  h1 { font-size: 2.9rem; }
  h2 { font-size: 2.1rem; }
  h3 { font-size: 1.3rem; }

  .content-wrapper { gap: 42px; }
  .feature-grid { gap: 30px; }
  .card-container, .card-grid, .service-card-list, .blog-listing { gap: 32px; }
  .footer-nav { gap: 24px; }
}
@media (min-width: 1024px) {
  .content-grid { gap: 36px; }
  .section, section { padding: 60px 0; }

  .text-image-section {
    flex-direction: row;
    gap: 65px;
    align-items: center;
  }
  .container { padding-left: 0; padding-right: 0; }
  .feature-grid { gap: 38px; }
}
@media (max-width: 768px) {
  .feature-grid, .content-grid, .service-card-list, .blog-listing, .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .main-nav {
    display: none;
  }
  .footer-nav {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  footer .container {
    padding: 32px 14px 18px 14px;
    gap: 14px;
  }
}


/* General effects, transitions & details */
section, .card, .feature-grid > div, .testimonial-card, .faq-item {
  transition: box-shadow 0.17s, background 0.13s;
}
::selection {
  background: #FFD60A;
  color: #012A4A;
}
input, select, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #E0E7EF;
  background: #F8FAFC;
  padding: 8px 12px;
  color: #012A4A;
}
input:focus, select:focus, textarea:focus {
  border-color: #2A6F97;
  outline: none;
}

::-webkit-input-placeholder { color: #9AA8BC; font-family: inherit; }
::-moz-placeholder { color: #9AA8BC; font-family: inherit; }
:-ms-input-placeholder { color: #9AA8BC !important; font-family: inherit; }
::placeholder { color: #9AA8BC; font-family: inherit; }

/* Accessiblity: High contrast for testimonials */
.testimonial-card, .testimonial-card blockquote, .testimonial-card strong {
  color: #012A4A !important;
  background: #fff;
}
.testimonial-card blockquote {
  color: #1B2328; font-weight: 500;
}

/* Utility & helper classes */
.flex-row { display: flex; flex-direction: row; }
.flex-col { display: flex; flex-direction: column; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-20 { gap: 20px; }
.gap-32 { gap: 32px; }
/* Hide visually but keep accessible */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* --- END --- */
