/* 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F5F7FA;
  color: #222b32;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
a {
  color: #234871;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #123052;
  text-decoration: underline;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}
strong { font-weight: 600; }

/* Layout Containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Header & Navigation */
header {
  background: #ffffff;
  border-bottom: 1px solid #e3e6eb;
  position: sticky;
  top: 0;
  z-index: 1100;
}
.logo img {
  height: 48px;
  width: auto;
}
header > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 24px;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  color: #234871;
  font-size: 16px;
  letter-spacing: 0.01em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #1b3550;
  border-bottom: 2px solid #234871;
}
.cta.primary {
  color: #fff;
  background: #234871;
  border: none;
  border-radius: 30px;
  padding: 12px 28px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 17px;
  box-shadow: 0 2px 12px rgba(35,72,113,0.08);
  transition: background 0.18s, box-shadow 0.18s, color 0.15s;
  cursor: pointer;
  margin-left: 8px;
  display: inline-block;
}
.cta.primary:hover, .cta.primary:focus {
  background: #2d5c95;
  color: #fff;
  box-shadow: 0 4px 20px rgba(35,72,113,0.15);
}
.cta.secondary {
  color: #234871;
  background: #f5f7fa;
  border: 2px solid #234871;
  border-radius: 30px;
  padding: 12px 28px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 17px;
  box-shadow: 0 2px 10px rgba(35,72,113,0.05);
  transition: background 0.18s, color 0.18s;
  cursor: pointer;
  display: inline-block;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #e4ecf7;
  color: #1b3550;
}

/* Burger Menu for Mobile */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #234871;
  font-size: 2em;
  line-height: 1;
  padding: 8px 12px;
  margin-left: 16px;
  cursor: pointer;
  z-index: 1201;
  transition: color 0.18s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  color: #123052;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35,72,113,0.98);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.52,1.64,.37,.66);
  z-index: 1200;
  padding: 32px 24px 16px 24px;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #fff;
  font-size: 2em;
  line-height: 1;
  margin-bottom: 28px;
  cursor: pointer;
  transition: color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #9DC3E6;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 20px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #9DC3E6;
}

@media (max-width: 1024px) {
  header > .container {
    gap: 12px;
  }
  .main-nav {
    gap: 16px;
  }
  .cta.primary, .cta.secondary {
    font-size: 16px;
    padding: 10px 20px;
  }
}
@media (max-width: 900px) {
  .main-nav a {
    font-size: 15px;
  }
}
@media (max-width: 768px) {
  header > .container {
    height: 64px;
  }
  .main-nav {
    display: none;
  }
  .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 14px;
    top: 22px;
  }
  .logo img {
    height: 38px;
  }
}
@media (max-width: 480px) {
  .mobile-nav a {
    font-size: 17.5px;
    padding: 10px 0;
  }
}

/* Section Styles & Spacing Patterns (per requirements) */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 32px rgba(35,72,113,0.06);
}
section:last-of-type {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  section {
    padding: 28px 8px;
    border-radius: 12px;
    margin-bottom: 38px;
  }
}

/* Card & Flexbox Containers */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: #F5F7FA;
  box-shadow: 0 2px 14px rgba(35,72,113,0.07);
  border-radius: 18px;
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  flex: 1 1 330px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.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: 850px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Feature/Service/Process Lists */
.feature-list, .service-list, .process-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
  list-style: none;
  padding-left: 0;
}
.feature-list li, .service-list li, .process-list li {

  align-items: flex-start;
  gap: 18px;
  background: #f5f7fa;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(35,72,113,0.05);
  padding: 22px 20px;
  min-width: 240px;
  flex: 1 1 270px;
}
.feature-list img {
  width: 46px;
  height: 46px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-list.detailed li {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.service-price {
  font-weight: 700;
  color: #234871;
  font-size: 17px;
  margin-left: 8px;
}
@media (max-width: 900px) {
  .feature-list, .service-list, .process-list {
    gap: 14px;
  }
  .feature-list li, .service-list li, .process-list li {
    padding: 18px 12px;
    min-width: 170px;
    font-size: 15px;
  }
}
@media (max-width: 600px) {
  .feature-list, .service-list, .process-list {
    flex-direction: column;
    gap: 10px;
  }
}

/* Typography & Headings */
h1, .h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 1.16;
  color: #234871;
  margin-bottom: 12px;
  letter-spacing: -0.010em;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 30px;
  color: #234871;
  line-height: 1.17;
  margin-bottom: 12px;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 21px;
  color: #234871;
  margin-bottom: 4px;
}
.subtitle {
  font-size: 20px;
  color: #3a5472;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 400;
  margin-bottom: 10px;
}
p, li, .text-section {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #222b32;
}
ul, ol {
  padding-left: 20px;
}
@media (max-width: 950px) {
  h1, .h1 { font-size: 32px; }
  h2, .h2 { font-size: 23px; }
  .subtitle { font-size: 17px; }
}
@media (max-width: 600px) {
  h1, .h1 { font-size: 25px; }
  h2, .h2 { font-size: 18px; }
  h3, .h3 { font-size: 15.2px; }
  .subtitle { font-size: 15px; }
  p, li, .text-section { font-size: 14.2px; }
}

/* Footer */
footer {
  background: #234871;
  color: #fff;
  padding: 38px 0 23px 0;
  border-radius: 18px 18px 0 0;
}
footer > .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.footer-nav {
  display: flex;
  gap: 24px;
  margin: 10px 0 6px 0;
}
.footer-nav a {
  color: #9DC3E6;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
}
footer img {
  height: 46px;
}
footer p {
  font-size: 15px;
  color: #f5f7fa;
  margin-top: 0;
}
@media (max-width: 600px) {
  .footer-nav { gap: 12px; }
  footer > .container { gap: 12px; }
}

/* Testimonial Cards */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #f9fbfd;
  border: 1.5px solid #e2e8f0;
  border-radius: 15px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(35,72,113,0.06);
  max-width: 650px;
  transition: box-shadow 0.16s, border 0.16s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 36px rgba(35,72,113,0.15);
  border: 1.5px solid #9DC3E6;
}
.testimonial-card p {
  color: #222b32;
  font-size: 17px;
  font-style: italic;
  font-weight: 400;
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 15.5px;
  color: #234871;
  font-weight: 600;
}
@media (max-width: 600px) {
  .testimonial-card {
    padding: 14px 7px;
    max-width: 98vw;
  }
  .testimonial-card p {
    font-size: 15px;
  }
  .testimonial-card span {
    font-size: 13.8px;
  }
}

/* FAQ Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.faq-item {
  background: #f5f7fa;
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 2px 10px rgba(35,72,113,0.06);
  border-left: 5px solid #234871;
}
.faq-item h3 {
  color: #234871;
  font-size: 18.5px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  margin-bottom: 6px;
}
.faq-item p {
  font-size: 15px;
  color: #222b32;
}
@media (max-width: 600px) {
  .faq-item {
    padding: 12px 7px;
  }
  .faq-item h3 {
    font-size: 15px;
  }
}

/* Process List Numbered Steps */
.process-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
  counter-reset: step;
}
.process-list li {
  position: relative;
  padding-left: 54px;
  background: #f5f7fa;
  border-radius: 16px;
  min-height: 54px;
  box-shadow: 0 2px 10px rgba(35,72,113,0.04);
  border-left: 4px solid #9DC3E6;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.process-list li:before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 24px;
  transform: translateY(-50%);
  background: #234871;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(35,72,113,0.10);
}
@media (max-width: 640px) {
  .process-list li {
    padding-left: 40px;
    min-height: 40px;
  }
  .process-list li:before {
    width: 20px;
    height: 20px;
    font-size: 13px;
    left: 9px;
  }
}

/* Team Section, USP, About Blocks */
.team-intro, .team-profiles, .usp {
  background: #f9fbfd;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(35,72,113,0.06);
  padding: 20px 16px;
  margin-top: 12px;
  margin-bottom: 15px;
}
.usp ul {
  list-style: disc inside;
  margin-left: 12px;
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

/* Inputs, Forms, and Links */
input, textarea, select {
  border: 1px solid #c6d3e1;
  border-radius: 7px;
  padding: 9px 14px;
  font-size: 15px;
  margin-bottom: 14px;
  width: 100%;
  transition: border 0.19s, box-shadow 0.22s;
}
input:focus, textarea:focus, select:focus {
  border-color: #234871;
  box-shadow: 0 2px 8px rgba(35,72,113,0.12);
}
::-webkit-input-placeholder { color: #8a97a8; }
::-moz-placeholder { color: #8a97a8; }
:-ms-input-placeholder { color: #8a97a8; }
::placeholder { color: #8a97a8; }

/* Cookie Consent Banner & Modal */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #234871;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 14px 14px 14px;
  box-shadow: 0 0 40px rgba(35,72,113,0.16);
  z-index: 9999;
  opacity: 1;
  transition: transform 0.35s, opacity 0.22s;
  gap: 20px;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner-text {
  font-size: 16px;
  margin-bottom: 13px;
  text-align: center;
}
.cookie-banner-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-btn {
  padding: 10px 19px;
  border-radius: 24px;
  background: #fff;
  color: #234871;
  border: 2px solid #9DC3E6;
  font-size: 16px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.14s, color 0.15s, border 0.15s;
}
.cookie-btn.accept {
  background: #234871;
  color: #fff;
  border: 2px solid #9DC3E6;
}
.cookie-btn.reject {
  background: #dbeaf6;
  color: #234871;
  border: 2px solid #9DC3E6;
}
.cookie-btn.settings {
  background: #fff;
  color: #234871;
  border: 2px solid #9DC3E6;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #9DC3E6;
  color: #234871;
  border-color: #234871;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #9DC3E6;
  color: #234871;
}
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(35,72,113,0.67);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.29s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: #234871;
  border-radius: 16px;
  max-width: 420px;
  width: 97vw;
  padding: 40px 30px 30px 30px;
  box-shadow: 0 8px 52px rgba(35,72,113,0.25);
  position: relative;
  z-index: 10001;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: cookieModalSlideIn 0.33s cubic-bezier(.29,.68,.57,1.06);
}
@keyframes cookieModalSlideIn {
  from { opacity: 0; transform: translateY(45px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.7em;
  color: #9DC3E6;
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #234871;
}
.cookie-modal h3 {
  font-size: 20px;
  color: #234871;
  margin-bottom: 5px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f5f7fa;
  padding: 13px 18px;
  border-radius: 12px;
  margin-bottom: 10px;
}
.cookie-category input[type='checkbox'] {
  accent-color: #234871;
  width: 24px; height: 24px;
}
.cookie-category .description {
  font-size: 15px;
  color: #222b32;
  margin-top: 3px;
}
.cookie-category.essential label {
  font-weight: 600;
  color: #234871;
}
.cookie-category.essential input {
  opacity: 0.5;
  pointer-events: none;
}

@media (max-width: 450px) {
  .cookie-modal { padding: 22px 7px 16px 7px; }
}

/* Miscellaneous */
::-webkit-scrollbar {
  width: 10px;
  background: #f5f7fa;
}
::-webkit-scrollbar-thumb {
  background: #9DC3E6;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #234871;
}

/******************** Responsive Tweaks *******************/
@media (max-width: 700px) {
  .card-container, .content-grid {
    flex-direction: column;
    gap: 12px;
  }
  .card, .card-content {
    min-width: 0;
    padding-left: 10px;
    padding-right: 10px;
  }
}

/******* Utility + Consistency Fixes *******/
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/********* Print Font Loading *********/
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

/****** Z-index layering for menus & overlays ******/
.mobile-menu, .cookie-modal-overlay, .cookie-banner {
  z-index: 10000;
}

/******* Fix for Overlapping Elements ******/
section, .card, .testimonial-card, .faq-item, .feature-list li, .service-list li, .process-list li {
  margin-bottom: 20px;
}

/***** Accessibility: Focus Outlines *****/
a:focus, button:focus, input:focus, .cta:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2px solid #9DC3E6;
  outline-offset: 2px;
}

/****** End of CSS ******/
