/* --- 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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  background-color: #F2F2F2;
  color: #1a2540;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol, li {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  outline: none;
  border: none;
  background: none;
  color: inherit;
  padding: 0;
  margin: 0;
}

/* --- Typography Scale & Settings --- */
h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 2.75rem;
  color: #023E73;
  margin-bottom: 24px;
  letter-spacing: -1px;
}
@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: #023E73;
  margin-bottom: 16px;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.35rem;
  color: #023E73;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #023E73;
}
p, li, dd {
  font-size: 1rem;
  line-height: 1.7;
  color: #212d4a;
}
strong, b {
  font-weight: 700;
  color: #023E73;
}
a.cta-primary, a.cta-secondary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* --- Main Layout Containers --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

/* --- Sections & Spacing Patterns --- */
section {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 28px rgba(2,62,115,0.09);
  margin-bottom: 60px;
  padding: 40px 20px;
  transition: box-shadow 0.3s;
}
@media (max-width: 768px) {
  section {
    padding: 28px 10px;
    margin-bottom: 36px;
    border-radius: 16px;
  }
}

/* --- Gradient Modern Backgrounds --- */
body {
  background: linear-gradient(120deg, #FFD600 0%, #F2F2F2 100%);
}
section {
  background: #fff;
}
header {
  background: linear-gradient(90deg, #023E73 60%, #FFD600 150%);
  padding: 0;
  box-shadow: 0 3px 14px rgba(2,62,115,0.07);
}
footer {
  background: linear-gradient(90deg, #023E73 0%, #001F3F 100%);
  color: #fff;
  padding: 0;
  border-radius: 24px 24px 0 0;
}

/* --- Header --- */
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
}
header nav a {
  color: #fff;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  border-radius: 6px;
  padding: 8px 16px;
  transition: background 0.25s, color 0.25s;
}
header nav a:hover, header nav a:focus {
  background: #FFD600;
  color: #023E73;
}
header nav a.cta-primary {
  background: #FFD600;
  color: #023E73;
  border-radius: 8px;
  box-shadow: 0 2px 12px 0 rgba(255,214,0,0.13);
  padding: 12px 26px;
  font-weight: 700;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}
header nav a.cta-primary:hover,
header nav a.cta-primary:focus {
  background: #023E73;
  color: #FFD600;
  box-shadow: 0 4px 24px 0 rgba(2,62,115,0.14);
}
header img {
  height: 50px;
  width: auto;
  vertical-align: middle;
}

/* --- Mobile Navigation --- */
.mobile-menu-toggle {
  display: none;
  background: #FFD600;
  color: #023E73;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(2,62,115,0.08);
  transition: background 0.2s, color 0.2s;
  z-index: 201;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #023E73;
  color: #FFD600;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 300;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(.68,-0.55,.27,1.45);
  box-shadow: -12px 0 36px 0 rgba(2,62,115,0.12);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: #FFD600;
  color: #023E73;
  font-size: 2rem;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  margin: 20px 24px 12px 0;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(2,62,115,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  z-index: 301;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #023E73;
  color: #FFD600;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  margin-top: 40px;
}
.mobile-nav a {
  color: #023E73;
  font-size: 1.25rem;
  padding: 15px 32px;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.25s, color 0.25s;
  width: 100%;
  text-align: center;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #FFD600;
  color: #023E73;
}

/* Show hamburger only on mobile */
@media (max-width: 1024px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* --- Call to Action Buttons --- */
a.cta-primary, .cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #FFD600 60%, #FFEA61 140%);
  color: #023E73;
  font-size: 1.13rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 10px;
  padding: 14px 34px;
  box-shadow: 0 6px 24px 0 rgba(255,214,0,0.14);
  transition: background 0.28s, color 0.28s, box-shadow 0.22s, transform 0.22s;
  border: none;
  margin-top: 8px;
  cursor: pointer;
  margin-bottom: 8px;
  text-shadow: 0 1px 0 rgba(255,255,255,0.09);
  gap: 8px;
}
a.cta-primary:hover,
a.cta-primary:focus,
.cta-primary:hover,
.cta-primary:focus {
  background: #023E73;
  color: #FFD600;
  transform: translateY(-2px) scale(1.045);
  box-shadow: 0 10px 36px #023E7322;
}
a.cta-secondary, .cta-secondary {
  color: #023E73;
  background: none;
  border: 2px solid #FFD600;
  border-radius: 10px;
  padding: 12px 30px;
  font-size: 1.05rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s, border 0.2s, box-shadow 0.2s;
  margin-top: 12px;
  margin-bottom: 8px;
}
a.cta-secondary:hover, .cta-secondary:focus {
  background: #FFD600;
  color: #023E73;
  box-shadow: 0 6px 24px 0 rgba(255,214,0,0.13);
}
@media (max-width: 480px) {
  a.cta-primary, .cta-primary, a.cta-secondary, .cta-secondary {
    padding: 12px 16px;
    font-size: 1rem;
  }
}

/* --- Card & List Layouts --- */
.service-list, .service-grid, .benefit-cards, .team-bio-cards, .card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 24px;
}
.service-list > div, .service-grid > div, .benefit-cards > div, .team-bio-cards > div, .card,
.card-grid > div {
  flex: 1 1 290px;
  background: #F2F7FC;
  border-radius: 18px;
  margin-bottom: 20px;
  padding: 26px 20px;
  box-shadow: 0 2px 10px rgba(2,62,115,0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 220px;
  max-width: 380px;
  transition: box-shadow 0.22s, transform 0.22s;
}
.card:hover, .card:focus, .service-list > div:hover, .service-list > div:focus, .service-grid > div:hover {
  box-shadow: 0 7px 30px 0 rgba(2,62,115,0.12);
  transform: translateY(-2px) scale(1.025);
}

/* --- Testimonials --- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fffbe7;
  color: #111d33;
  border-left: 6px solid #FFD600;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 3px 18px rgba(2,62,115,0.11);
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.09rem;
  max-width: 640px;
}
.testimonial-card strong {
  color: #023E73;
  font-weight: 600;
}
@media (max-width: 600px) {
 .testimonial-card {
    font-size: 1rem;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 8px;
 }
}

/* --- Footer Styling --- */
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  padding: 40px 20px 22px 20px;
  justify-content: space-between;
}
.footer-navigation nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-navigation a {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 2px;
  transition: text-decoration 0.2s, color 0.2s;
}
.footer-navigation a:hover,
.footer-navigation a:focus {
  color: #FFD600;
  text-decoration: underline;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.97rem;
}
.contact-info img {
  height: 17px;
  width: 17px;
  vertical-align: middle;
  margin-right: 8px;
}
.footer-logo img {
  height: 48px;
  width: auto;
}
@media (max-width: 1025px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    padding: 36px 12px 18px 12px;
  }
}

/* --- Feature/List Layouts --- */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(2,62,115,0.06);
  padding: 20px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover, .card:focus {
  box-shadow: 0 12px 38px rgba(2,62,115,0.12);
  transform: 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;
}

/* --- Details/List (FAQ) --- */
dl {
  margin: 0 0 24px 0;
  border-radius: 8px;
  background: #F2F2F2;
  padding: 14px 18px;
}
dl dt {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #023E73;
  margin-top: 12px;
}
dl dd {
  margin-left: 0;
  margin-bottom: 12px;
}

/* --- Responsive Adjustments (Mobile First) --- */
@media (max-width: 1025px) {
  .service-list, .service-grid, .benefit-cards,
  .team-bio-cards, .card-container, .card-grid,
  .content-grid {
    justify-content: center;
  }
  .service-list > div, .service-grid > div, .benefit-cards > div, .team-bio-cards > div {
    min-width: 220px;
    max-width: 100%;
    flex: 1 1 260px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 6px;
  }
  .content-wrapper {
    gap: 12px;
  }
  .service-list, .service-grid, .benefit-cards,
  .team-bio-cards, .card-container, .card-grid,
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
@media (max-width: 600px) {
  section {
    padding: 14px 2px;
    margin-bottom: 22px;
    border-radius: 8px;
  }
  .service-list > div, .service-grid > div, .card {
    padding: 14px 6px;
  }
}

/* --- Lists Bullets with Accent --- */
ul {
  margin-left: 0;
  padding-left: 0;
}
ul li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  font-size: 1rem;
}
ul li:before {
  content: '';
  display: block;
  position: absolute;
  left: 8px;
  top: 10px;
  width: 10px;
  height: 10px;
  background: #FFD600;
  border-radius: 50%;
  box-shadow: 0 1px 2px #f4d31155;
}

/* --- Misc Utility --- */
.next-steps ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 10px 0 20px 0;
}
.next-steps li {
  font-size: 1rem;
  color: #023E73;
}

/* --- Table (for privacy/cookie policy) --- */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0 24px 0;
}
td, th {
  padding: 9px 7px;
  border: 1px solid #D0D6DB;
  font-size: 0.97rem;
}
tr:nth-child(even) {
  background: #F4F8FB;
}

/* --- Cookie Consent Banner --- */
#cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #023E73;
  color: #fff;
  z-index: 400;
  box-shadow: 0 -6px 24px #001f3f33;
  padding: 20px 10px 20px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 1.08rem;
  animation: slideInBanner .55s cubic-bezier(.76,-0.41,.42,1.43);
}
@keyframes slideInBanner {
  from { transform: translateY(120%); }
  to { transform: translateY(0); }
}
#cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-left: 24px;
}
@media (max-width: 700px) {
  #cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    font-size: 1rem;
    padding: 12px 4px 16px 6px;
  }
  #cookie-banner .cookie-actions {
    flex-direction: column;
    margin-left: 0;
    gap: 9px;
    width: 100%;
  }
}
#cookie-banner button, #cookie-banner .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  border: none;
  padding: 9px 20px;
  cursor: pointer;
  transition: background .23s, color .23s, box-shadow .22s;
  margin-right: 4px;
}
#cookie-banner .accept-btn {
  background: #FFD600;
  color: #023E73;
}
#cookie-banner .accept-btn:hover,
#cookie-banner .accept-btn:focus {
  background: #0095E7;
  color: #fff;
}
#cookie-banner .reject-btn {
  background: #fff;
  color: #023E73;
  border: 2px solid #FFD600;
}
#cookie-banner .reject-btn:hover,
#cookie-banner .reject-btn:focus {
  background: #FFD600;
  color: #023E73;
}
#cookie-banner .settings-btn {
  background: none;
  border: 2px solid #fff;
  color: #fff;
}
#cookie-banner .settings-btn:hover,
#cookie-banner .settings-btn:focus {
  background: #FFD600;
  color: #023E73;
  border-color: #FFD600;
}

/* --- Cookie Settings Modal Dialog --- */
#cookie-modal {
  display: none;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(2,62,115,0.75);
  z-index: 500;
  align-items: center;
  justify-content: center;
  animation: fadeInModal .22s cubic-bezier(.75,.02,.84,.78);
}
@keyframes fadeInModal {
  from { opacity: 0; } to { opacity: 1; }
}
#cookie-modal.open {
  display: flex;
}
#cookie-modal .modal-content {
  min-width: 300px;
  max-width: 445px;
  width: 82vw;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 68px #023E7330;
  padding: 32px 26px 22px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  position: relative;
  animation: modalDrop .33s cubic-bezier(.44,.13,.72,1.35);
}
@keyframes modalDrop {
  from { transform: translateY(-80px) scale(.96); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
#cookie-modal .cookie-close {
  position: absolute;
  right: 12px;
  top: 12px;
  background: #FFD600;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #023E73;
  cursor: pointer;
  border: none;
  transition: background .18s, color .18s;
}
#cookie-modal .cookie-close:hover {
  background: #023E73;
  color: #FFD600;
}
#cookie-modal h3 {
  font-size: 1.18rem;
  margin-bottom: 8px;
  color: #023E73;
  font-weight: 700;
}
#cookie-modal form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}
#cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: #222;
  font-size: 1rem;
  margin: 6px 0;
}
#cookie-modal input[type='checkbox'] {
  accent-color: #FFD600;
  width: 18px; height: 18px;
}
#cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 12px;
}
#cookie-modal .modal-actions button {
  padding: 9px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  background: #FFD600;
  color: #023E73;
  transition: background 0.2s, color 0.2s;
}
#cookie-modal .modal-actions button.cancel {
  background: #f2f2f2;
  color: #023E73;
  border: 1px solid #FFD600;
}
#cookie-modal .modal-actions button:hover { background: #023E73; color: #FFD600; }
#cookie-modal .modal-actions button.cancel:hover {background: #FFD600; color: #023E73;}

/* --- Animations & Interactions --- */
a, button, .card, .service-list > div, .service-grid > div, .testimonial-card {
  transition: box-shadow 0.17s, background 0.18s, color 0.18s, border 0.17s, transform 0.15s;
}

/* --- Accessibility --- */
:focus-visible {
  outline: 2px dotted #FFD600;
  outline-offset: 2px;
}

/* --- Hide default spinner focus outlines (for mouse) --- */
:focus:not(:focus-visible) {
  outline: none;
}

/* --- Miscellaneous Tweaks --- */
::-webkit-scrollbar {
  width: 8px;
  background: #F2F2F2;
}
::-webkit-scrollbar-thumb {
  background: #FFD600;
  border-radius: 30px;
}

/* --- Optional: Loader (for app feel on SPA) --- */
#loader {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(2,62,115,0.16);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
@media (max-width: 400px) {
  h1 { font-size: 1.25rem; }
  h2 { font-size: 1rem; }
}
