/* CSS Reset and 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;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #fff;
  color: #243746;
  scroll-behavior: smooth;
}
*, *:before, *:after { box-sizing: inherit; }
body {
  min-height: 100vh;
  background: #fff;
  color: #243746;
  line-height: 1.5;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
  text-rendering: optimizeSpeed;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #114573;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #F7C948;
  outline: none;
}
ul, ol {
  margin-bottom: 24px;
}
li {
  margin-bottom: 8px;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

/* Font Face Declaration */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #114573;
  font-weight: 800;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.75rem;
  line-height: 1.15;
}
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
}
h2 {
  font-size: 2rem;
  line-height: 1.17;
}
@media (max-width: 600px) {
  h2 { font-size: 1.5rem; }
}
h3 {
  font-size: 1.3rem;
  color: #114573;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p, li, ul, ol {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #243746;
  margin-bottom: 16px;
}
strong { font-weight: 800; }

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 40px;
    padding: 30px 10px;
  }
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Header + Navigation */
header {
  background: #114573;
  padding: 0;
  width: 100%;
  z-index: 1030;
  position: relative;
  box-shadow: 0 2px 12px rgba(17, 69, 115, 0.10);
}
header .container {
  height: 80px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  gap: 32px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  margin-left: 24px;
}
header nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 8px 10px;
  border-radius: 7px;
  transition: background 0.20s;
}
header nav a:hover,
header nav a.active {
  background: #F7C948;
  color: #114573;
}

.cta-button {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #F7C948;
  color: #114573;
  font-weight: 800;
  font-size: 1.1rem;
  border: none;
  padding: 11px 32px;
  border-radius: 44px;
  margin-left: 22px;
  box-shadow: 0 2px 16px 0 rgba(247, 201, 72, 0.15);
  transition: background 0.2s, color 0.2s, transform 0.1s;
  cursor: pointer;
  display: inline-block;
}
.cta-button:hover,
.cta-button:focus {
  background: #ffd963;
  color: #114573;
  transform: translateY(-2px) scale(1.04);
}

header img {
  height: 44px;
  width: auto;
  margin-right: 10px;
  display: block;
}

/* Hamburger Menu and Mobile Nav */
.mobile-menu-toggle {
  background: #114573;
  color: #F7C948;
  font-size: 2rem;
  padding: 8px 18px;
  border-radius: 7px;
  display: none;
  margin-left: 18px;
  z-index: 1102;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #F7C948;
  color: #114573;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #114573;
  z-index: 1101;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.27s cubic-bezier(.65,0,.76,1), transform 0.27s cubic-bezier(.65,0,.76,1);
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 28px;
  font-size: 2.0rem;
  font-weight: bold;
  color: #F7C948;
  background: none;
  border: none;
  z-index: 2;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  margin: 100px 0 0 34px;
  width: 80vw;
  max-width: 380px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: color 0.2s, background 0.2s;
  padding: 11px 0;
  border-radius: 3px;
}
.mobile-nav a:hover,
.mobile-nav a.active {
  background: #F7C948;
  color: #114573;
  padding-left: 16px;
}

@media (max-width: 1024px) {
  header .container {
    padding: 0 4vw;
    height: 62px;
  }
  header nav { gap: 18px; }
  .cta-button { padding: 10px 28px; margin-left: 0; font-size:1rem; }
}
@media (max-width: 900px) {
  header nav, .cta-button { display: none; }
  .mobile-menu-toggle { display: block; }
}

/* Main Layout/Sections */
main {
  min-height: 70vh;
}
.hero {
  background: #114573;
  color: #fff;
  padding: 68px 0 70px 0;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 24px 24px;
  margin-bottom: 40px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 26px;
}
.hero .content-wrapper {
  gap: 16px;
}
.hero h1, .hero h2 {
  color: #fff;
  text-shadow: 0 2px 12px rgba(30,46,56,0.11);
  font-weight: 900;
  line-height: 1.1;
}
.hero p {
  color: #fff;
  font-size: 1.18rem;
  max-width: 620px;
}
.hero .cta-button {
  background: #F7C948;
  color: #114573;
  margin: 12px 0 0 0;
  box-shadow: 0 2px 24px 0 rgba(247, 201, 72, 0.23);
  font-size: 1.16rem;
  border-radius: 44px;
}
@media (max-width: 768px) {
  .hero { padding: 36px 0 38px 0; }
  .hero h1 { font-size: 2rem; }
}

.features, .services {
  background: #fff;
  padding: 60px 0 50px 0;
}
.features h2, .services h2 {
  color: #114573;
  font-weight: 800;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-top: 22px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F6F8FA;
  box-shadow: 0 4px 24px 0 rgba(17, 69, 115, 0.10);
  border-radius: 18px;
  padding: 26px 24px 24px 24px;
  max-width: 272px;
  min-width: 220px;
  width: 100%;
  transition: box-shadow 0.2s, transform 0.16s;
  margin-bottom: 20px;
}
.feature-item img {
  width: 48px; height: 48px;
}
.feature-item h3 {
  margin-bottom: 2px;
}
.feature-item:hover, .feature-item:focus {
  box-shadow: 0 2px 32px 0 rgba(17, 69, 115, 0.18);
  transform: translateY(-2px) scale(1.03);
  background: #fdfceb;
}

@media (max-width: 1024px) {
  .feature-grid {
    gap: 16px;
    justify-content: flex-start;
  }
  .feature-item { max-width: calc(50% - 16px); }
}
@media (max-width: 660px) {
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item { max-width: 100%; }
}

/* Card-Like Content/Grid Spacing Patterns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  box-shadow: 0 2px 24px 0 rgba(17,69,115, 0.11);
  border-radius: 16px;
  margin-bottom: 20px;
  position: relative;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 24px;
}
.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;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 20px; }
  .content-grid { flex-direction: column; gap: 18px; }
}

/* CTA Section */
.cta {
  padding: 48px 0 40px 0;
  background: #F7C948;
  color: #114573;
  border-radius: 28px;
  margin-bottom: 60px;
}
.cta .content-wrapper {
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
}
.cta .cta-button {
  background: #114573;
  color: #fff;
  box-shadow: 0 2px 16px 0 rgba(17, 69, 115, 0.12);
  font-size: 1.16rem;
}
.cta .cta-button:hover, .cta .cta-button:focus {
  background: #132b43;
  color: #F7C948;
}

@media (max-width: 768px) {
 .cta { padding: 32px 0 22px 0; margin-bottom: 32px; border-radius: 14px; } 
}

/* Testimonials */
.testimonials {
  background: #fff;
  padding: 48px 0 56px 0;
}
.testimonials h2 {
  color: #114573;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FAFAFA;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(17, 69, 115, 0.11);
  margin-bottom: 28px;
  border-left: 6px solid #F7C948;
  max-width: 580px;
  width: 100%;
  transition: box-shadow 0.18s, transform 0.13s;
}
.testimonial-card p {
  font-size: 1.09rem;
  color: #14314D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-bottom: 10px;
}
.testimonial-footer {
  color: #114573;
  font-weight: 700;
  font-size: 1.05rem;
  font-family: 'Open Sans', Arial, sans-serif;
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-footer span {
  color: #F7C948;
  font-size: 1rem;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 4px 24px 0 rgba(17, 69, 115, 0.14);
  transform: translateY(-2px) scale(1.02);
  background: #fffde9;
}
@media (max-width: 600px) {
  .testimonial-card { max-width: 99vw; }
}

/* About/Section Styling */
.about {
  background: #F6F8FA;
  padding: 52px 0 44px 0;
  border-radius: 16px;
  margin-bottom: 48px;
}
.about h1, .about h2 {
  color: #114573;
}

.team ul {
  list-style: disc inside;
  margin-left: 12px;
}
.team li {
  margin-bottom: 12px;
  font-size: 1.04rem;
  font-family: 'Open Sans', Arial, sans-serif;
}

.map-placeholder {
  background: #F7C948;
  border-radius: 15px;
  padding: 18px 24px;
  color: #114573;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 22px;
  box-shadow: 0 1px 8px 0 rgba(247, 201, 72, 0.15);
}

/* Contact Info/Details */
.contact-info, .contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-details p {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
}
.contact-details img {
  width: 22px;
}

/* Footer */
footer {
  background: #132b43;
  color: #fff;
  padding: 44px 0 32px 0;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  font-size: 1rem;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
footer nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  transition: color 0.18s;
}
footer nav a:hover {
  color: #F7C948;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.99rem;
}
.footer-contact img {
  width: 20px; vertical-align: middle; margin-right: 6px;
}
.footer-branding {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
  margin-top: 18px;
}
.footer-branding img {
  width: 32px;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .footer-branding { margin-top: 12px; }
}

/* Confirmation links on thank-you page */
.confirmation-links nav {
  margin-top: 10px;
  font-size: 1.1rem;
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: center;
}
.confirmation-links a {
  color: #114573;
  text-decoration: underline;
  font-weight: 700;
}
.confirmation-links a:hover { color: #F7C948; }

/* Cookie Consent Banner */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  background: #fffbe4;
  border-top: 4px solid #F7C948;
  box-shadow: 0 -2px 18px 0 rgba(17,69,115,0.08);
  color: #243746;
  z-index: 1221;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 20px 36px 24px 22px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  animation: cookieBannerSlideIn 0.6s cubic-bezier(.6,0,.61,1);
}
@keyframes cookieBannerSlideIn {
  0% { opacity: 0; transform: translateY(50px); }
  70% { opacity: 1; transform: translateY(-8px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-consent-banner p {
  margin-bottom: 0;
  flex: 2;
  max-width: 540px;
  font-size: 1rem;
}
.cookie-actions {
  display: flex;
  gap: 14px;
}
.cookie-consent-btn, .cookie-settings-btn {
  background: #F7C948;
  color: #114573;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 44px;
  padding: 8px 26px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.13s;
  box-shadow: 0 1px 8px 0 rgba(247,201,72,0.13);
}
.cookie-consent-btn:hover, .cookie-consent-btn:focus, 
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #fffad4;
  color: #243746;
  transform: translateY(-2px) scale(1.03);
}
.cookie-consent-btn.reject {
  background: transparent;
  color: #114573;
  border: 2px solid #F7C948;
}
.cookie-consent-btn.reject:hover {
  background: #F7C948;
  color: #114573;
}
@media (max-width: 600px) {
  .cookie-consent-banner {
    padding: 13px 5vw 20px 7vw;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    font-size: 0.97rem;
  }
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0;
  width:100vw;
  height:100vh;
  background: rgba(36,55,70, 0.56);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1250;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 8px 36px 0 rgba(17,69,115, 0.18);
  padding: 38px 38px 22px 38px;
  max-width: 420px;
  width: 89vw;
  font-family: 'Open Sans', Arial, sans-serif;
  animation: cookieModalPopIn 0.3s cubic-bezier(.8,0,.61,1);
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
}
@keyframes cookieModalPopIn {
  0% { opacity: 0; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}
.cookie-modal h2 {
  color: #114573;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 7px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 16px;
}
.cookie-category label {
  font-weight: 700;
  font-size: 1rem;
  color: #243746;
}
.cookie-category input[type="checkbox"]:not(:disabled) {
  accent-color: #114573;
  width: 20px;
  height: 20px;
}
.cookie-category input[type="checkbox"]:disabled {
  accent-color: #F7C948;
  opacity: 0.65;
}
.cookie-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  margin-top: 14px;
}
.cookie-modal .close-modal-btn {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 1.4rem;
  color: #114573;
  background: none;
  border: none;
  cursor: pointer;
}
.cookie-modal .close-modal-btn:hover { color: #F7C948; }

/* Utility classes */
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mt-40 { margin-top: 40px !important; }
.mb-40 { margin-bottom: 40px !important; }

/* Responsive adjustments */
@media (max-width: 768px) {
  .section,
  .about,
  .features, .services {
    padding: 27px 6vw;
    margin-bottom: 36px;
    border-radius: 7px;
  }
  .testimonial-card {
    padding: 14px 9vw;
    margin-bottom: 18px;
  }
  .card-content {
    padding: 18px 8vw;
  }
  .content-wrapper { gap: 16px; }
}

@media (max-width: 520px) {
  .container {
    padding: 0 5vw;
  }
  header .container {
    padding: 0 2vw;
  }
  .cta { border-radius: 9px; }
  .about, .features, .services { border-radius: 5px; }
}

/* Scrollbar styling for modern look */
::-webkit-scrollbar { width: 12px; background: #F6F8FA; }
::-webkit-scrollbar-thumb { background: #114573; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #0e364e; }

/* Micro-interaction animation for buttons */
button, .cta-button, .cookie-consent-btn, .cookie-settings-btn {
  transition: background 0.18s, color 0.18s, box-shadow 0.15s, transform 0.13s;
}

/* Hide visually-unneeded skip links etc. */
.skip-link, .sr-only {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Focus states for accessibility */
a:focus-visible, button:focus-visible {
  outline: 2.5px dashed #F7C948;
  outline-offset: 2px;
}

/* Prevent images/icons from shrinking in flex containers */
img, svg {
  flex-shrink: 0;
}

/* No grid, no column-xx, no column-gap, no break-inside. Flex only everywhere. */
