/* =====================
   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:inherit;
  font-size:100%;
  vertical-align:baseline;
  box-sizing:border-box;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #fff;
  color: #18415C;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #18415C;
  text-decoration: none;
  transition: color 0.19s;
}
a:hover, a:focus {
  color: #69A7CF;
  outline: none;
}
ul, ol {
  margin-left: 1.2em;
  margin-bottom: 1.5em;
}
li {
  margin-bottom: 0.5em;
}
strong, b {
  font-weight: 600;
}
h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #18415C;
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.2;
}
h1 { font-size: 2.25rem; margin-bottom: 20px; letter-spacing: -1px; }
h2 { font-size: 1.5rem; margin-bottom: 20px; }
h3 { font-size: 1.125rem; margin-bottom: 14px; font-weight:600; }
.subheadline {
  font-size: 1.125rem;
  color: #526473;
  font-weight: 400;
  margin-bottom: 20px;
}
.container {
  width: 100%;
  max-width: 1152px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* =====================
   Layout Section Styles
===================== */
section,
.section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
}
.accent-bg {
  background: #F3F6FB;
}
.hero {
  padding: 70px 0 50px 0;
  display: flex;
  align-items: center;
  background: #fff;
}
.hero.accent-bg {
  background: #F3F6FB;
}
.about-section,
.services-section,
.features-section,
.technology-section,
.industries-section,
.process-section,
.contact-section,
.newsletter-section,
.legal-section,
.thank-you-section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
}

/* =====================
   Flex Containers
===================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 10px;
}
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
}
.card-container, .blog-posts-grid, .client-logos { /* for completeness */
  display: flex;
  flex-wrap: wrap;
  gap: 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;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 24px 18px 24px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 12px rgba(24,65,92,0.09);
  min-width: 260px;
  max-width: 340px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 24px rgba(24,65,92,0.15);
  transform: translateY(-3px) scale(1.012);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 7px rgba(24,65,92,0.05);
  padding: 22px 18px 20px 18px;
  min-width: 240px;
  flex: 1 1 270px;
  margin-bottom: 20px;
  transition: box-shadow 0.14s, transform 0.15s;
}
.feature-item img {
  width: 36px; height: 36px;
  margin-bottom: 5px;
}
.feature-item:hover {
  box-shadow: 0 3px 16px rgba(24,65,92,0.13);
  transform: translateY(-2px) scale(1.008);
}

.blog-posts-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.blog-post {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 7px rgba(24,65,92,0.06);
  flex: 1 1 270px;
  min-width: 240px;
  max-width: 340px;
  padding: 20px 18px 18px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.17s, transform 0.13s;
}
.blog-post:hover {
  box-shadow: 0 4px 24px rgba(24,65,92,0.08);
  transform: translateY(-3px);
}

.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 8px rgba(24,65,92,0.05);
  padding: 18px;
  transition: box-shadow 0.2s, transform 0.15s;
}
.card:hover {
  box-shadow: 0 4px 20px rgba(24,65,92,0.12);
  transform: translateY(-2px);
}

.client-logos {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 22px;
}
.client-logos img {
  width: 56px;
  opacity: 0.72;
  transition: opacity 0.16s;
}
.client-logos img:hover { opacity: 1; }

/* =====================
   Header & Navigation
===================== */
header {
  background: #fff;
  padding: 0 0 0 0;
  box-shadow: 0 2px 10px rgba(24,65,92,0.03);
  z-index: 20;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 70px;
}
header a img {
  height: 39px;
  margin-right: 22px;
}
.main-nav {
  display: flex;
  gap: 26px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #18415C;
  padding: 6px 6px 6px 6px;
  position: relative;
  transition: color 0.18s;
}
.main-nav a::after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: #69A7CF;
  transition: width 0.22s cubic-bezier(.4,1.8,.5,1);
  border-radius: 1px;
  margin-top: 2px;
}
.main-nav a:hover, .main-nav a:focus {
  color: #69A7CF;
}
.main-nav a:hover::after, .main-nav a:focus::after {
  width: 70%;
}

.cta-btn {
  background: #18415C;
  color: #fff;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 7px;
  padding: 11px 28px;
  transition: background 0.18s, box-shadow 0.17s, color 0.19s;
  cursor: pointer;
  text-align: center;
  display: inline-block;
  box-shadow: 0 2px 10px rgba(24,65,92,0.07);
  margin-left: 8px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #69A7CF;
  color: #fff;
  box-shadow: 0 4px 22px rgba(105,167,207,0.13);
  outline: none;
}

/* Hide cta-btn on small screens, see below for .mobile-menu-toggle */

/* =====================
   Mobile Menu
===================== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #18415C;
  cursor: pointer;
  padding: 8px;
  margin-left: 14px;
  transition: color 0.18s;
  z-index: 201;
}
.mobile-menu-toggle:focus {
  color: #69A7CF;
  outline: none;
}
.mobile-menu {
  display: none;
  position: fixed;
  z-index: 200;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  box-shadow: 0 8px 40px rgba(24,65,92,0.10);
  transform: translateX(100vw);
  transition: transform 0.32s cubic-bezier(.7,1.9,.5,1);
  padding: 0;
  flex-direction: column;
  justify-content: flex-start;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  background: none;
  border: none;
  color: #18415C;
  margin: 24px 24px 12px 0;
  padding: 8px;
  cursor: pointer;
  z-index: 210;
  transition: color 0.19s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #69A7CF;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 28px 24px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  color: #18415C;
  font-weight: 500;
  border-radius: 5px;
  padding: 10px 8px;
  transition: background 0.19s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F3F6FB;
  color: #69A7CF;
}

@media (max-width:1020px) {
  .main-nav {
    gap: 16px;
  }
  .feature-grid, .blog-posts-grid, .testimonial-grid, .client-logos {
    gap: 14px;
  }
}
@media (max-width:900px) {
  .main-nav {
    display: none !important;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width:480px) {
  .mobile-menu {
    width: 100vw;
    min-width: unset;
  }
}

/* =====================
   Footer
===================== */
footer {
  background: #fff;
  border-top: 1px solid #eee;
  font-size: 0.97rem;
  color: #526473;
  margin-top: 60px;
  padding: 28px 0 20px 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #18415C;
  font-size: 0.92rem;
  opacity: 0.88;
  padding: 1px 5px;
  transition: color 0.14s, opacity 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #69A7CF;
  opacity: 1;
}
footer small {
  display: block;
  text-align: center;
  color: #526473;
  opacity: 0.75;
  font-size: 0.92rem;
}

/* =====================
   Inner content spacing
===================== */
.text-section {
  padding: 0;
  margin-bottom: 14px;
}
.text-section ul,
.text-section ol {
  margin-bottom: 1em;
}

/* =====================
   Cookie Consent Banner
===================== */
.cookie-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 9000;
  background: #18415C;
  color: #fff;
  padding: 18px 22px 18px 22px;
  box-shadow: 0 -3px 24px rgba(24,65,92,0.11);
  border-radius: 11px 11px 0 0;
  font-size: 1rem;
  animation: slideInBanner 0.55s cubic-bezier(.2,1.1,.6,1);
}
@keyframes slideInBanner {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-btn,
.cookie-preferences-btn {
  background: #fff;
  color: #18415C;
  border: none;
  border-radius: 5px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 19px;
  margin: 0;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.16s;
  box-shadow: 0 1px 6px rgba(24,65,92,0.07);
}
.cookie-btn:hover, .cookie-btn:focus, .cookie-preferences-btn:hover, .cookie-preferences-btn:focus {
  background: #69A7CF;
  color: #fff;
  outline: none;
}
.cookie-btn-reject {
  background: #F3F6FB;
  color: #18415C;
}
.cookie-btn-reject:hover, .cookie-btn-reject:focus {
  background: #69A7CF;
  color: #fff;
}

/* Cookie Preferences Modal */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; right: 0;
  top: 0; bottom: 0;
  z-index: 10001;
  background: rgba(24,65,92,0.23);
  align-items: center;
  justify-content: center;
  animation: fadeInModalBg .32s cubic-bezier(.6,1.6,.7,1);
}
@keyframes fadeInModalBg {
  from { background: rgba(24,65,92,0); }
  to { background: rgba(24,65,92,0.23); }
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal-content {
  background: #fff;
  color: #18415C;
  border-radius: 15px;
  box-shadow: 0 7px 40px rgba(24,65,92,0.19);
  padding: 32px 24px 28px 24px;
  max-width: 420px;
  width: 92vw;
  position: relative;
  animation: slideInModal .42s cubic-bezier(.4,1.6,.7,1);
  display: flex;
  flex-direction: column;
  gap: 21px;
}
@keyframes slideInModal {
  from { transform: scale(0.97) translateY(20px); opacity: 0.7; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.35rem;
  color: #18415C;
  cursor: pointer;
  z-index: 1;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 7px;
  padding: 10px 7px;
  background: #F3F6FB;
  font-size: 1.045rem;
}
.cookie-category-label {
  font-weight: 500;
  flex: 1;
}
.cookie-category-toggle[type=checkbox] {
  appearance: none;
  width: 32px;
  height: 18px;
  background: #ccc;
  border-radius: 12px;
  outline: none;
  position: relative;
  transition: background 0.17s;
  margin-left: 8px;
  margin-right: 3px;
  cursor: pointer;
}
.cookie-category-toggle[type=checkbox]:checked {
  background: #69A7CF;
}
.cookie-category-toggle[type=checkbox]::-webkit-slider-thumb {
  display: none;
}
.cookie-category-toggle[type=checkbox]::after {
  content: '';
  display: block;
  position: absolute;
  top: 3px; left: 2px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(24,65,92,0.09);
  transition: left 0.17s;
}
.cookie-category-toggle[type=checkbox]:checked::after {
  left: 17px;
  background: #fff;
}
.cookie-category-alwayson {
  color: #69A7CF;
  font-weight: 500;
  font-size: 1rem;
  margin-left: 8px;
}

.cookie-modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 10px;
  justify-content: flex-end;
}
.cookie-modal-actions button {
  background: #18415C;
  color: #fff;
  padding: 8px 19px;
  border-radius: 6px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s, color 0.16s;
}
.cookie-modal-actions button:hover, .cookie-modal-actions button:focus {
  background: #69A7CF;
  color: #fff;
}

/* Accessibility-Focused (for Cookie) */
.cookie-banner:focus-within,
.cookie-btn:focus,
.cookie-modal-content:focus-within { outline: 2px solid #69A7CF; outline-offset: 2px; }

/* =====================
   Responsive Styles
===================== */
@media (max-width: 768px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.18rem; }
  .container { padding-left: 8px; padding-right: 8px; }
  .hero { padding: 35px 0 22px 0; }
  section, .section, .about-section, .services-section, .features-section,
  .technology-section, .process-section, .industries-section,
  .contact-section, .newsletter-section, .legal-section { padding: 22px 0 25px 0; margin-bottom: 38px; }
  .content-wrapper { gap: 16px; }
  .feature-grid, .blog-posts-grid, .testimonial-grid, .client-logos {
    flex-direction: column;
    gap: 11px;
    align-items: stretch;
  }
  .feature-item, .testimonial-card, .blog-post { min-width: unset; max-width: 100%; }
  .footer-nav { gap: 11px; }
  .client-logos img { width: 42px; }
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 18px; }
}
@media (max-width: 530px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    padding: 16px 12px 15px 12px;
    font-size: 0.97rem;
  }
  .cookie-banner .cookie-buttons {
    width: 100%;
    gap: 6px;
  }
}

/* =====================
   Micro-interactions
===================== */
.feature-item, .testimonial-card, .blog-post, .card { transition: box-shadow 0.19s, transform 0.16s; }
.cta-btn, .cookie-btn, .cookie-btn-reject, .cookie-preferences-btn {
  transition: background 0.18s, color 0.17s, box-shadow 0.13s;
}
.main-nav a {
  transition: color 0.18s;
}

/* =====================
   Miscellaneous Classes
===================== */
.accent {
  color: #69A7CF;
}
section:last-child, .section:last-child {
  margin-bottom: 0;
}

.use-case-grid, .industry-solutions, .workflow-steps, .timeline, .featured-posts {
  margin-bottom: 26px;
}

.post-cta {
  color: #18415C;
  font-weight: 500;
  font-size: 1.05rem;
  margin-top: 10px;
  transition: color 0.16s;
}
.post-cta:hover, .post-cta:focus { color: #69A7CF; text-decoration: underline; }

/* =====================
   Typography specifics
===================== */
.text-section h3 { margin-bottom: 7px; font-size: 1.05rem; }
.text-section ul li, .industry-solutions ul li, .use-case-grid ul li, .timeline ul li {
  font-size: 1rem;
  line-height: 1.72;
}

/* =====================
   Utility Buttons
===================== */
button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  background: none;
}
button:focus {
  outline: 2px solid #69A7CF;
  outline-offset: 2px;
}

/* =====================
   Accessibility Contrast
===================== */
.testimonial-card, .blog-post, .feature-item, .card {
  color: #18415C;
  background: #fff;
}
.accent-bg .testimonial-card, .accent-bg .feature-item, .accent-bg .blog-post, .accent-bg .card {
  background: #fff;
  color: #18415C;
}

/* =====================
   Prevent Overlapping
===================== */
.card, .card-container > *, .feature-item, .testimonial-card, .blog-post, .footer-nav a { margin-bottom: 20px; }

/* =====================
   Print Style Clean
===================== */
@media print {
  * { background: #fff !important; color: #000 !important; box-shadow: none !important; }
  a, a:visited { color: #000 !important; text-decoration: underline; }
  nav, .mobile-menu, .mobile-menu-toggle, .cta-btn, .cookie-banner, .cookie-modal { display: none !important; }
  footer, header { page-break-after: avoid; }
}

/* ================
   END OF CSS FILE
================ */
