/* 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, menu, 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, 
main, 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;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F3F5F8;
  color: #1A253A;
}
ol, ul {
  list-style: none;
}
a {
  background: none;
  text-decoration: none;
  color: inherit;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

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

html {
  font-size: 16px;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  background-color: #F3F5F8;
  color: #1A253A;
  min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: #1A253A;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.4rem; margin-bottom: 16px; }
h4 { font-size: 1.2rem; margin-bottom: 12px; }
p, li {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #1A253A;
}
strong { font-weight: 700; }

@media (max-width: 768px) {
h1 { font-size: 2rem; }
h2 { font-size: 1.4rem; }
h3 { font-size: 1.15rem; }
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navbar and Header Layout */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(26,37,58,0.07);
  position: sticky;
  top: 0;
  z-index: 10;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 24px;
}
nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}
nav ul li a,
.footer-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 4px 0;
  letter-spacing: 0.04em;
  color: #1A253A;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-bottom .2s;
}
nav ul li a:hover,
.footer-nav a:hover {
  color: #14A098;
  border-bottom: 2px solid #14A098;
}
nav > a img {
  height: 32px;
  width: auto;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1rem;
  background: #14A098;
  color: #fff;
  padding: 12px 36px;
  border-radius: 8px;
  box-shadow: 0 2px 14px rgba(20,160,152,0.07);
  transition: background .18s, transform .18s, box-shadow .18s;
  border: none;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: #118378;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 24px rgba(26,37,58,.09);
}

/* Hamburger for Mobile */
.mobile-menu-toggle {
  position: absolute;
  right: 20px;
  top: 18px;
  background: #14A098;
  color: #fff;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  z-index: 1050;
  border: none;
  transition: background 0.18s;
}
.mobile-menu-toggle:active { background: #118378; }

@media (max-width: 1024px) {
  nav ul { gap: 18px; }
  nav .btn-primary { padding: 10px 24px; }
}

@media (max-width: 990px) {
  nav ul, nav .btn-primary { display: none; }
  .mobile-menu-toggle { display: flex; }
}

@media (max-width: 500px) {
  .mobile-menu-toggle { width: 40px; height: 40px; font-size: 1.5rem; right: 10px; top: 10px; }
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(26,37,58,0.97);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(.7,.14,.34,1.04);
  transform: translateX(100%);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  position: absolute;
  top: 20px; right: 28px;
  font-size: 2.2rem;
  background: transparent;
  color: #14A098;
  border-radius: 8px;
  border: none;
  padding: 3px 10px;
  z-index: 2050;
  transition: background .13s, color .13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #14A098;
  color: #fff;
}
.mobile-nav {
  margin-top: 96px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 14px 0;
  transition: color .17s;
  border-bottom: 2px solid transparent;
  width: 100%;
  text-align: center;
  border-radius: 6px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #14A098;
  background: #fff;
  border-bottom: 2px solid #14A098;
}

@media (max-width: 400px) {
  .mobile-nav a { font-size: 1.1rem; padding: 11px 0; }
  .mobile-menu-close { top: 8px; right: 14px; font-size: 1.4rem; }
}

.main {
  flex: 1 1 0;
}

/* Geometric Structured Layouts */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 16px rgba(26,37,58,0.04);
  display: flex;
  flex-direction: column;
  gap: 30px;
}
@media (max-width: 768px) {
  .section { padding: 28px 8px; border-radius: 12px; }
}

.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.features-grid, .features {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature {
  background: #F3F5F8;
  border-radius: 16px;
  padding: 28px 24px 24px 24px;
  min-width: 250px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 2px 10px rgba(26,37,58,0.04);
  gap: 15px;
  margin-bottom: 20px;
  position: relative;
  border: 2.5px solid #E5EAEE;
  transition: box-shadow .16s, border-color .16s;
}
.feature:hover {
  box-shadow: 0 8px 34px rgba(20,160,152,.10);
  border-color: #14A098;
}
.feature img {
  width: 36px; height: 36px; margin-bottom: 10px;
}
.feature h3 {
  font-size: 1.22rem;
  color: #1A253A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 5px;
}

/* Cards and Card Containers */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(26,37,58,0.06);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  transition: box-shadow .12s;
}
.card:hover {
  box-shadow: 0 10px 34px rgba(20,160,152,0.09);
}
.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) {
  .features-grid, .features,
  .content-grid, .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}

/* Testimonial Cards */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  padding: 20px 28px 20px 24px;
  margin-bottom: 20px;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(23,60,60,0.07);
  border-left: 5px solid #14A098;
  max-width: 580px;
}
.testimonial-card p {
  font-style: italic;
  color: #1A253A;
  font-size: 1.07rem;
  margin-bottom: 6px;
}
.testimonial-card span {
  font-size: .98rem;
  color: #14A098;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}

/* Visual Geometric Accents for hero/cta */
section.hero {
  padding: 70px 0 50px 0;
  background: linear-gradient(110deg, #F3F5F8 77%, #14A098 120%);
  box-shadow: 0 3px 26px rgba(20,160,152,0.05);
  border-radius: 0 0 46px 46px;
  margin-bottom: 60px;
  position: relative;
}
section.hero .content-wrapper {
  align-items: flex-start;
}
section.hero h1 {
  color: #1A253A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.7rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
@media (max-width: 768px) {
  section.hero {
    padding: 42px 0 20px 0;
    border-radius: 0 0 24px 24px;
  }
}

.cta {
  background: #14A098;
  color: #fff;
  border-radius: 32px;
  box-shadow: 0 3px 16px rgba(26,37,58,0.07);
  margin-bottom: 60px;
}
.cta h2, .cta p {
  color: #fff !important;
}
.cta .btn-primary {
  background: #fff;
  color: #14A098;
}
.cta .btn-primary:hover {
  background: #118378;
  color: #fff;
}

/* Tables & FAQ */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 1.055rem;
}
.pricing-table th, .pricing-table td {
  border: 1.5px solid #E5EAEE;
  padding: 16px 14px;
  text-align: left;
}
.pricing-table th {
  background: #F3F5F8;
  color: #1A253A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.pricing-table tr:nth-child(odd) td {
  background: #fafcfd;
}

.faq-list {
  margin-left: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-list li {
  background: #FFF;
  border-left: 4px solid #14A098;
  border-radius: 8px;
  padding: 15px 20px;
  color: #1A253A;
  font-size: 1rem;
}

@media (max-width: 600px) {
  .faq-list li { font-size: .95rem; padding: 12px 10px; }
  .pricing-table th, .pricing-table td { padding: 10px 6px; font-size: .95rem; }
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.text-section ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
  font-size: 1rem;
}
.text-section img {
  width: 24px;
  height: 24px;
}

.case-studies-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 32px;
}

/* Footer */
footer {
  background: #1A253A;
  color: #fff;
  padding: 46px 0 22px 0;
  box-shadow: 0 -2px 16px rgba(26,37,58,0.06);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  margin-bottom: 18px;
}
.footer-nav a {
  color: #fff;
  opacity: .86;
  font-weight: 500;
  font-size: .98rem;
  border-bottom: none;
  transition: color .16s;
}
.footer-nav a:hover {
  color: #14A098;
  opacity: 1;
}
.social-links {
  display: flex;
  gap: 18px;
  margin-bottom: 10px;
}
.social-links a img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(20,160,152,0.08);
  transition: box-shadow .15s, background .15s;
}
.social-links a:hover img {
  background: #F3F5F8;
  box-shadow: 0 2px 16px rgba(20,160,152,0.16);
}
.brand-signature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .97rem;
  font-weight: 400;
  color: #E2EDF3;
  opacity: .85;
}
.brand-signature img {
  width: 26px;
  height: 26px;
  filter: brightness(1.5);
  vertical-align: middle;
}
@media (max-width: 768px) {
  .footer-nav { gap: 12px; flex-wrap: wrap; }
  footer .container { align-items: flex-start; padding: 0 8px; }
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: #1A253A;
  box-shadow: 0 -2px 24px rgba(26,37,58,0.12);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  z-index: 5000;
  transition: transform .28s cubic-bezier(.56,.13,.66,1.08), opacity .23s;
  transform: translateY(0%);
  opacity: 1;
  width: 100%;
}
.cookie-banner.hide {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: .98rem;
  font-weight: 600;
  padding: 8px 22px;
  border-radius: 8px;
  border: none;
  background: #F3F5F8;
  color: #1A253A;
  margin-right: 4px;
  cursor: pointer;
}
.cookie-banner .accept {
  background: #14A098;
  color: #fff;
}
.cookie-banner .accept:hover {
  background: #118378;
}
.cookie-banner .reject {
  background: #1A253A;
  color: #fff;
}
.cookie-banner .reject:hover {
  background: #2b374c;
}
.cookie-banner .settings {
  background: #fff;
  color: #1A253A;
  border: 1.5px solid #14A098;
}
.cookie-banner .settings:hover {
  background: #14A098;
  color: #fff;
}
@media (max-width: 600px) {
  .cookie-banner { padding: 15px 6px; font-size: .9rem; }
  .cookie-banner .cookie-btns { gap: 8px; }
  .cookie-banner button { padding: 8px 10px; font-size: .95rem; }
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(26,37,58,0.72);
  z-index: 6400;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .23s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-dialog {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 48px rgba(20,160,152,0.12);
  padding: 34px 32px 28px 32px;
  min-width: 290px;
  max-width: 430px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  position: relative;
}
.cookie-modal-dialog h2 {
  font-size: 1.3rem;
  margin-bottom: 14px;
  color: #1A253A;
}
.cookie-modal-dialog label {
  font-size: 1rem;
  color: #1A253A;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-modal-dialog .cookie-switch {
  width: 46px;
  height: 24px;
  background: #E2EDF3;
  border-radius: 14px;
  position: relative;
  margin-left: 20px;
  margin-right: 4px;
}
.cookie-modal-dialog .cookie-switch input {
  width: 100%; height: 100%;
  opacity: 0;
}
.cookie-modal-dialog .cookie-switch span {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: left .19s, background .15s;
}
.cookie-modal-dialog .cookie-switch input:checked + span {
  background: #14A098;
  left: 25px;
}
.cookie-modal-dialog .essential {
  font-weight: 600;
  color: #1A253A;
  background: none;
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 19px;
  background: transparent;
  border: none;
  font-size: 1.4rem;
  color: #14A098;
  z-index: 6500;
  cursor: pointer;
  transition: color .14s;
}
.cookie-modal-close:hover {
  color: #1A253A;
}
.cookie-modal-footer {
  margin-top: 14px;
  display: flex;
  width: 100%;
  gap: 10px;
  justify-content: flex-end;
}
.cookie-modal-footer button {
  min-width: 108px;
}
@media (max-width: 520px) {
  .cookie-modal-dialog { padding: 17px 4px 10px 10px; max-width: 95vw; }
  .cookie-modal-dialog h2 { font-size: 1.1rem; }
}

/* Animations */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}
.section, .hero, .card, .testimonial-card, .feature, .cta, .cookie-banner, .cookie-modal-dialog {
  animation: fadeInUp .6s cubic-bezier(.38,.42,.37,1.15);
}

/* Utility Classes for Spacing & Layout */
.mt-3 { margin-top: 24px !important; }
.mb-3 { margin-bottom: 24px !important; }
.mt-2 { margin-top: 16px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mt-1 { margin-top: 8px !important; }
.mb-1 { margin-bottom: 8px !important; }

/* Structured geometric list markers (when explicitly present) */
ul.geometric-list, ol.geometric-list {
  list-style: none;
  margin-left: 0;
}
ul.geometric-list li, ol.geometric-list li {
  position: relative;
  padding-left: 23px;
  margin-bottom: 10px;
}
ul.geometric-list li:before, ol.geometric-list li:before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 13px; height: 13px;
  background: #14A098;
  clip-path: polygon(0 0,100% 0,100% 100%,0% 100%);
  border-radius: 4px;
}

/* Responsive - General */
@media (max-width: 990px) {
  .section, .cta { margin-bottom: 36px; }
  .card, .feature, .testimonial-card { min-width: unset; }
}
@media (max-width: 600px) {
  .section, .cta { padding: 14px 2vw; margin-bottom: 28px; border-radius: 7px; }
  .container { padding: 0 3px!important; }
  .content-wrapper { gap: 14px; }
}

/* ---- Ensure no elements overlap, minimum spacing among cards ---- */
.card, .feature, .testimonial-card, .content-wrapper > *, .features-grid > *, .case-studies-list > * {
  margin-bottom: 20px;
}
.card:last-child, .feature:last-child, .testimonial-card:last-child, .content-wrapper > *:last-child, .features-grid > *:last-child, .case-studies-list > *:last-child {
  margin-bottom: 0;
}

/* Structured button focus/active states */
.btn-primary:focus-visible, .mobile-menu-close:focus-visible,
.cookie-banner button:focus-visible, .cookie-modal-close:focus-visible {
  outline: 3px solid #14A098;
  outline-offset: 2px;
}

/* Hide scroll (for mobile menu open) */
body.menu-open {
  overflow: hidden;
}

/* Hide non-important default outlines */
a, button, input, select, textarea:focus { outline: none; }

/* Hide content visually but keep for screenreaders */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}