/* ========================== */
/* ==== CSS RESET/NORMALIZE ==== */
/* ========================== */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  line-height: 1.6;
  background: #fff;
  color: #232C33;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
  border: 0;
}
ul, ol {
  padding-left: 1.2em;
}
a {
  color: #235378;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #193D5A;
  outline: none;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  padding: 12px 8px;
  border-bottom: 1px solid #f0f0f0;
  text-align: left;
}
th {
  font-weight: 600;
  background: #F1FAF4;
}

/* ========================== */
/* ======= TYPOGRAPHY ======= */
/* ========================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #17425E;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 600;
}
h4, h5, h6 {
  font-size: 1.05rem;
  font-weight: 500;
}
p, ul, ol, li {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #232C33;
  font-size: 1rem;
  margin-bottom: 14px;
}
strong {
  font-weight: 600;
  color: #235378;
}

/* ========================== */
/* == LAYOUT CONTAINERS ==== */
/* ========================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ========================== */
/* ======= HEADER =========== */
/* ========================== */
header {
  background: #fff;
  border-bottom: 1px solid #F1FAF4;
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  min-height: 60px;
  gap: 0;
}
header img {
  height: 40px;
  width: auto;
  margin-right: 36px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #235378;
  padding: 6px 4px;
  border-radius: 5px;
  transition: background 0.17s, color 0.17s;
  letter-spacing: 0.01em;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F1FAF4;
  color: #17425E;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #235378;
  color: #FFF;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 26px;
  padding: 12px 34px;
  margin-left: 24px;
  box-shadow: 0 2px 12px rgba(35, 83, 120, 0.07);
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.2s, color 0.15s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #193D5A;
  color: #B7D9E7;
  box-shadow: 0 4px 16px rgba(35,83,120,0.13);
}

/* ========================== */
/* ========= HERO =========== */
/* ========================== */
.hero {
  background: #F1FAF4;
  border-radius: 0 0 30px 30px;
  padding: 56px 0 64px 0;
  box-shadow: 0 6px 18px -10px rgba(35,83,120,0.06);
  margin-bottom: 60px;
}
.hero .container {
  align-items: flex-start;
}
.hero .content-wrapper {
  max-width: 600px;
  gap: 24px;
}
.hero h1 {
  font-size: 2.75rem;
  color: #17425E;
}

/* ========================== */
/* ====== FEATURES ========== */
.features {
  margin-bottom: 60px;
  padding: 40px 0;
  background: #fff;
}
.features .content-wrapper > h2 {
  margin-bottom: 14px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.feature-item {
  background: #F9FBFC;
  border-radius: 16px;
  padding: 28px 22px;
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 240px;
  max-width: 320px;
  box-shadow: 0 3px 14px rgba(35,83,120,0.06);
  margin-bottom: 20px; /* For mandatory margin rule */
  transition: box-shadow 0.16s;
}
.feature-item img {
  height: 38px;
  margin-bottom: 8px;
  filter: grayscale(0.54) contrast(0.93);
}
.feature-item h3 {
  font-size: 1.09rem;
  color: #235378;
}
.feature-item:hover {
  box-shadow: 0 8px 28px rgba(35,83,120,0.11);
}

/* ========================== */
/* ====== TESTIMONIALS ====== */
.testimonials {
  background: #F1FAF4;
  border-radius: 16px;
  margin-bottom: 60px;
  padding: 40px 0;
}
.testimonials .content-wrapper > h2, .testimonials .content-wrapper > h1 {
  margin-bottom: 18px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  padding: 20px 32px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 14px rgba(35, 83, 120, 0.06);
  margin-bottom: 24px;
  border-left: 4px solid #B7D9E7;
  max-width: 520px;
  transition: box-shadow 0.14s;
}
.testimonial-card strong {
  font-size: 0.98rem;
  color: #17425E;
  margin-top: 4px;
}
.testimonial-card p {
  color: #232C33;
  font-size: 1.08rem;
  line-height: 1.5;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px rgba(35,83,120,0.13);
}
.client-logos {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  margin-top: 18px;
}
.client-logos img {
  height: 40px;
  opacity: 0.76;
}

/* ======================== */
/* ===== SERVICE LIST ===== */
.services-overview ul, .services ul, .features ul, .faq-list {
  margin: 16px 0 18px 0;
  padding-left: 24px;
  list-style: disc;
  color: #232C33;
  font-size: 1.04rem;
  line-height: 1.7;
}
.services-overview li, .services li, .features li {
  margin-bottom: 12px;
  margin-left: 0;
}
.services-overview .cta-btn {
  margin-top: 18px;
}

/* ======================== */
/* === CONTACT & FAQS  ==== */
.contact-section, .faq, .pricing, .thank-you-section {
  margin-bottom: 60px;
  padding: 40px 0;
}
.contact-details, .address-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.contact-details p, .address-info p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
}
.contact-details img, .address-info img {
  height: 21px;
}
.map-placeholder {
  min-height: 90px;
  background: #F9FBFC;
  border-radius: 8px;
  color: #235378;
  display: flex;
  align-items: center;
  padding: 20px;
  font-size: 1rem;
  margin-top: 18px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 30px;
}
.faq-list h3 {
  font-size: 1.09rem;
  color: #235378;
  margin-bottom: 5px;
}
.faq-list p {
  font-size: 1rem;
}

.contact-prompt {
  background: #F1FAF4;
  border-radius: 8px;
  padding: 14px 20px;
  margin-top: 10px;
}
.contact-prompt a {
  color: #235378;
  text-decoration: underline;
  font-weight: 600;
}

/* ========================== */
/* ======= BLOG STYLE ======= */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.blog-list article {
  background: #F9FBFC;
  border-radius: 8px;
  padding: 22px 24px;
  box-shadow: 0 2px 12px rgba(35,83,120,0.05);
  transition: box-shadow 0.14s;
  margin-bottom: 16px;
}
.blog-list article:hover {
  box-shadow: 0 6px 24px rgba(35,83,120,0.10);
}
.blog-list h2 {
  font-size: 1.22rem;
  margin-bottom: 10px;
}

/* ========================== */
/* ========= CTA ============ */
.cta {
  background: #235378;
  color: #fff;
  border-radius: 18px;
  padding: 38px 0;
  text-align: center;
  margin-bottom: 60px;
}
.cta .content-wrapper {
  align-items: center;
  gap: 18px;
}
.cta h2 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.cta .cta-btn {
  background: #B7D9E7;
  color: #17425E;
  font-weight: 700;
}
.cta .cta-btn:hover {
  background: #fff;
  color: #235378;
  box-shadow: 0 4px 16px rgba(35,83,120,0.10);
}

/* ========================== */
/* ========== CARD LAYOUTS == */
.card-container, .milestones {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 14px rgba(35, 83, 120, 0.06);
  padding: 24px 18px;
  transition: box-shadow 0.16s;
}
.card:hover {
  box-shadow: 0 7px 30px rgba(35,83,120,0.09);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

/* ============================ */
/* ==== FLEX CONTAINERS ======= */
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.trust-badges, .milestones {
  display: flex;
  flex-direction: row;
  gap: 28px;
  margin-top: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.trust-badges span, .milestones span {
  background: #F1FAF4;
  border-radius: 8px;
  padding: 10px 22px;
  font-size: 1rem;
  color: #235378;
  display: flex;
  align-items: center;
  gap: 10px;
}
.trust-badges img, .milestones img {
  height: 22px;
}

/* =========================== */
/* ====== TABLE STYLES ======= */
.pricing table {
  width: 100%;
  margin: 18px 0 22px 0;
  background: #F9FBFC;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 9px rgba(35,83,120,0.05);
}
.pricing th, .pricing td {
  border-bottom: 1px solid #E8F0F4;
  font-size: 0.97rem;
}
.pricing th:last-child, .pricing td:last-child {
  border-right: none;
}

/* =========================== */
/* ======= LEGAL PAGES ======= */
.legal {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 60px;
  padding: 40px 0;
}
.legal .content-wrapper > h1 {
  margin-bottom: 22px;
}
.legal .text-section {
  margin-top: 10px;
}
.legal .text-section ul li {
  margin-bottom: 7px;
  font-size: 1.01rem;
}

/* ========================== */
/* ========= FOOTER ========= */
/* ========================== */
footer {
  background: #fff;
  border-top: 1px solid #F1FAF4;
  padding: 34px 0 14px 0;
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #235378;
  font-size: 0.97rem;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  padding: 3px 2px;
  border-radius: 3px;
  transition: background 0.14s, color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #F1FAF4;
  color: #17425E;
}
footer p {
  color: #616973;
  font-size: 0.92rem;
  margin: 0;
}

/* ========================== */
/* ==== MOBILE NAV STYLES === */
/* ========================== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 23px;
  right: 24px;
  background: #235378;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  z-index: 9999;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(35,83,120,0.10);
  transition: background 0.17s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #193D5A;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(35,83,120,0.97);
  color: #fff;
  z-index: 10001;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 24px 24px 24px;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.77, 0.2, 0.05, 1);
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  padding: 0 0 18px 0;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #B7D9E7;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  margin-top: 28px;
  align-items: flex-start;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  background: none;
  padding: 10px 0 10px 8px;
  border-radius: 4px;
  width: 100%;
  display: block;
  margin-left: 0;
  transition: background 0.16s, color 0.12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(183,217,231,0.13);
  color: #B7D9E7;
}

@media (max-width: 1025px) {
  .container {
    max-width: 95vw;
  }
  .feature-grid {
    gap: 16px;
  }
}

@media (max-width: 900px) {
  .main-nav {
    gap: 15px;
  }
  .footer-nav {
    gap: 12px;
  }
  .feature-item, .feature-grid {
    min-width: 180px;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  header .container {
    padding: 0 8px;
    height: 54px;
  }
  .main-nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero {
    padding: 44px 0 40px 0;
  }
  .feature-grid {
    flex-direction: column;
    gap: 14px;
  }
  .features {
    padding: 28px 0;
  }
  .testimonial-card {
    padding: 16px 12px;
    margin-bottom: 18px;
    max-width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .trust-badges, .milestones {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .blog-list article {
    padding: 16px 10px;
  }
}

@media (max-width: 550px) {
  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.22rem;
  }
  .hero h1 {
    font-size: 1.4rem;
  }
}

/* ========================== */
/* ===== COOKIE BANNER ====== */
/* ========================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 12000;
  background: #235378;
  color: #fff;
  padding: 24px 8px 22px 8px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  box-shadow: 0 -2px 18px rgba(35,83,120,0.13);
  transition: transform 0.24s;
}
.cookie-banner.hide {
  transform: translateY(220%);
  pointer-events: none;
  opacity: 0;
}
.cookie-banner .cookie-message {
  max-width: 420px;
  font-size: 1rem;
  color: #fff;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 0.96rem;
  padding: 9px 22px;
  border-radius: 20px;
  border: none;
  box-shadow: 0 2px 12px rgba(35,83,120,0.07);
  transition: background 0.17s, color 0.17s;
  cursor: pointer;
}
.cookie-banner .accept-btn {
  background: #B7D9E7;
  color: #17425E;
  font-weight: 700;
}
.cookie-banner .accept-btn:hover {
  background: #fff;
  color: #235378;
}
.cookie-banner .reject-btn {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
}
.cookie-banner .reject-btn:hover {
  background: #fff;
  color: #235378;
}
.cookie-banner .settings-btn {
  background: #fff;
  color: #235378;
}
.cookie-banner .settings-btn:hover {
  background: #B7D9E7;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 16px 7px 14px 7px;
  }
  .cookie-banner .cookie-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .cookie-banner .cookie-message {
    max-width: 100%;
  }
}

/* ======================== */
/* ==== COOKIE MODAL ====== */
/* ======================== */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 13000;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(35, 83, 120, 0.82);
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open {
  display: flex;
  animation: fadeIn 0.18s;
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #17425E;
  border-radius: 14px;
  padding: 28px 30px 22px 30px;
  max-width: 430px;
  width: 95vw;
  box-shadow: 0 8px 40px rgba(35,83,120,0.21);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.28rem;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.cookie-modal .cookie-category label {
  flex: 1;
}
.cookie-modal .cookie-switch {
  accent-color: #235378;
  transform: scale(1.13);
}
.cookie-modal .cookie-category input[disabled] + label {
  color: #616973;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 12px;
  align-items: center;
  justify-content: flex-end;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 13px; right: 14px;
  background: transparent;
  border: none;
  color: #235378;
  font-size: 1.35rem;
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-modal .modal-close:hover,
.cookie-modal .modal-close:focus {
  color: #B7D9E7;
}
@media (max-width: 500px) {
  .cookie-modal {
    padding: 18px 8px 15px 8px;
    max-width: 98vw;
    font-size: 0.96rem;
  }
}

/* ========================== */
/* ====== UTILITIES ========= */
/* ========================== */
.bg-accent {
  background: #F1FAF4 !important;
}
.text-primary {
  color: #235378 !important;
}
.shadow-subtle {
  box-shadow: 0 3px 14px rgba(35,83,120,0.06)!important;
}
.rounded {
  border-radius: 12px !important;
}
.flex-center {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* ========================= */
/* ==== FOCUS STYLES ======= */
/* ========================= */
a:focus, button:focus, .cta-btn:focus {
  outline: 2px solid #B7D9E7;
  outline-offset: 2px;
}

/* ========================= */
/* === MICRO-INTERACTIONS == */
/* ========================= */
button, .cta-btn, .mobile-menu-toggle, .mobile-menu-close, .cookie-banner button, .cookie-modal .modal-close {
  transition: background 0.16s, color 0.17s, box-shadow 0.17s, transform 0.13s;
}
button:active, .cta-btn:active, .cookie-banner button:active {
  transform: scale(0.97);
}

/* ========================= */
/* ===== PRINT STYLES ====== */
/* ========================= */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  body { color: #000; background: #fff; }
  a { color: #000 !important; text-decoration: underline; }
}
