/* =======================
   CSS RESET & NORMALIZATION
   ======================= */
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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #fff;
  color: #28313a;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  color: #34495E;
  text-decoration: none;
  transition: color 0.18s;
}
a:focus, a:hover {
  color: #6BB07F;
  outline: 0;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  margin-left: 1.25em;
}
li {
  margin-bottom: 8px;
}

/* ======= Typography ======= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #222C36;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.16;
}
h1 { font-size: 2.3rem; letter-spacing: -0.5px; }
h2 { font-size: 1.7rem; margin-bottom: 20px; }
h3 { font-size: 1.19rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
p {
  margin-bottom: 14px;
  color: #394150;
  font-size: 1rem;
}
strong, b { font-weight: 700; }

/* ======= Brand Utilities ======= */
:root {
  --primary-clr: #34495E;
  --secondary-clr: #6BB07F;
  --accent-clr: #F4F7FB;
  --shadow: 0 2px 16px 0 rgba(52,73,94,0.06);
  --radius: 13px;
}

/* ======= Containers and Layout ======= */
.container {
  width: 100%;
  max-width: 1160px;
  padding-left: 20px;
  padding-right: 20px;
  margin: 0 auto;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* Gaps between flex elements for all sections (fallback for some mobile browsers) */
.features .content-wrapper,
.service-list .content-wrapper,
.case-studies .content-wrapper,
.pricing-faq .content-wrapper,
.legal-content .content-wrapper,
.footer-columns,
.content-grid,
.text-image-section {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.footer-columns { gap: 40px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 20px; position: relative; padding: 28px 24px; transition: box-shadow 0.15s; }
.card:hover,
.card:focus-within {
  box-shadow: 0 6px 24px 0 rgba(52,73,94,0.11);
}

.card-content { display: flex; flex-direction: column; justify-content: center; }

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 24px;
  flex: 1 1 250px;
  min-width: 220px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow .15s, transform .16s;
}
.feature-card img {
  margin-bottom: 12px;
  width: 36px;
  height: 36px;
  opacity: 0.88;
  filter: grayscale(20%);
}
.feature-card:hover {
  box-shadow: 0 6px 28px 0 rgba(52,73,94,0.14);
  transform: translateY(-2px) scale(1.015);
}

/* For detailed service blocks */
.service-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 24px;
  min-width: 220px;
  max-width: 420px;
  margin-bottom: 20px;
  transition: box-shadow 0.14s, transform .15s;
}
.service-item img {
  width: 36px; height: 36px; margin-bottom: 10px; opacity: 0.9;
}
.service-item:hover {
  box-shadow: 0 8px 30px 0 rgba(52,73,94,0.13);
  transform: translateY(-2px) scale(1.01);
}

/* =====================
   HEADER & NAVIGATION
   ===================== */
header {
  background: #fff;
  box-shadow: 0 2px 8px 0 rgba(68,86,110,0.04);
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 24px;
  position: relative;
}
.logo img {
  height: 34px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  gap: 26px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #34495E;
  font-weight: 600;
  padding: 5px 0;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.main-nav a:hover, .main-nav a.active {
  color: #6BB07F;
  border-bottom: 2px solid #6BB07F;
}

.btn-primary {
  display: inline-block;
  background: #6BB07F;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: none;
  border-radius: 22px;
  padding: 13px 36px;
  margin-left: 10px;
  box-shadow: 0 2px 10px 0 rgba(52,73,94,0.06);
  transition: background .17s, box-shadow .13s, color .16s, transform .13s;
  cursor: pointer;
  text-align: center;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: #34495E;
  color: #fff;
  box-shadow: 0 5px 24px 0 rgba(52,73,94,0.13);
  transform: translateY(-2px) scale(1.02);
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #34495E;
  padding: 7px 14px;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.12s;
  z-index: 151;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus { background: #EFF4F7; }

/* ==================
   MOBILE MENU
   ================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(52,73,94,0.97);
  color: #fff;
  z-index: 2004;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  transform: translateX(100%);
  transition: transform .36s cubic-bezier(0.66,0,0.24,1);
  will-change: transform;
  overflow-y: auto;
  min-height: 100vh;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  padding: 18px 18px 10px 12px;
  align-self: flex-end;
  margin-bottom: 14px;
  cursor: pointer;
  transition: color .13s;
  z-index: 2100;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #6BB07F;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
  align-items: flex-start;
  padding-left: 32px;
  margin-top: 12px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.28rem;
  letter-spacing: 0.14px;
  padding: 7px 3px;
  border-radius: 6px;
  transition: background .11s, color .13s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #6BB07F;
  color: #fff;
}

/* ============
   HERO SECTION
   ============ */
.hero, .about-hero, .services-hero, .pricing-hero, .references-hero, .contact-hero, .thank-you-message {
  background: var(--accent-clr);
  padding: 62px 0 50px 0;
}
.hero .content-wrapper,
.about-hero .content-wrapper,
.services-hero .content-wrapper,
.pricing-hero .content-wrapper,
.references-hero .content-wrapper,
.contact-hero .content-wrapper,
.thank-you-message .content-wrapper {
  align-items: flex-start;
  max-width: 680px;
  margin: 0 auto;
}
.hero h1, .about-hero h1, .services-hero h1, .pricing-hero h1, .references-hero h1, .contact-hero h1 {
  margin-bottom: 18px;
  font-size: 2.5rem;
}
.hero p, .about-hero p, .services-hero p, .pricing-hero p, .references-hero p, .contact-hero p {
  font-size: 1.13rem;
  color: #56637b;
  margin-bottom: 24px;
}

/* ===============
   FEATURES/ABOUT
   =============== */
.features {
  background: #fff;
  padding: 48px 0 32px 0;
}
.features h2,
.service-list h2,
.service-benefits h2,
.pricing-table h2,
.pricing-faq h2,
.references-hero h2,
.testimonials h2,
.testimonial-slider h2,
.cta-section h2,
.map h2 {
  margin-bottom: 24px;
  font-size: 1.55rem;
}
.feature-grid {
  flex-wrap: wrap;
}
/* Trust badges section */
.trust-badges {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
}
.trust-badges img {
  width: 36px; height: 36px;
}
.about-intro .content-wrapper {
  align-items: flex-start;
}

/* ===============
   CTA BOX
   =============== */
.cta-section {
  padding: 60px 0 56px 0;
  background: var(--accent-clr);
  margin-bottom: 60px;
}
.cta-box {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 540px;
  margin: 0 auto;
}
.cta-box h2 { margin-bottom: 10px; }

/* ===============
   TESTIMONIALS
   =============== */
.testimonials, .testimonial-slider {
  background: #fff;
  padding: 54px 0 40px 0;
}
.testimonials .content-wrapper,
.testimonial-slider .content-wrapper {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 26px 28px 22px 28px;
  background: #F4F7FB;
  border-radius: var(--radius);
  min-width: 260px;
  max-width: 360px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  transition: box-shadow 0.15s;
}
.testimonial-card p {
  color: #222C36;
  font-size: 1.08rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-style: italic;
  margin-bottom: 2px;
}
.testimonial-author {
  font-size: 0.98rem;
  color: #34495E;
  font-weight: 500;
  letter-spacing: 0.1px;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 28px 0 rgba(52,73,94,0.13);
}

/* ===============
   REFERENCES
   =============== */
.reference-case {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px 28px 26px 28px;
  margin-bottom: 20px;
  min-width: 240px;
  max-width: 420px;
}
.reference-case h3 { font-size: 1.16rem; margin-bottom: 12px; }
.reference-case ul { margin-left: 1.15em; margin-bottom: 0; }

/* ===============
   SERVICE BENEFITS
   =============== */
.icon-row {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 24px;
}
.icon-row img {
  width: 30px; height: 30px; opacity: 0.7;
}

/* ===============
   TABLES FOR PRICING
   =============== */
.pricing-table table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 1px 10px 0 rgba(52,73,94,0.06);
  overflow: hidden;
  margin-bottom: 24px;
}
.pricing-table th, .pricing-table td {
  padding: 20px 16px;
  text-align: left;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
.pricing-table th {
  color: #34495E;
  font-weight: 700;
  background: #F4F7FB;
}
.pricing-table tr:not(:last-child) td {
  border-bottom: 1px solid #EFF4F7;
}

/* ===============
   LEGAL + TEXT SECTIONS
   =============== */
.legal-content {
  padding: 58px 0 36px 0;
}
.legal-content h1 { margin-bottom: 22px; }
.legal-content ul { margin-top: 8px; }
.text-section {
  margin-bottom: 14px;
}

/* ===============
   FOOTER
   =============== */
footer {
  background: var(--accent-clr);
  border-top: 1px solid #eaecef;
  padding: 0 0 0 0;
  font-size: 0.97rem;
  margin-top: 80px;
  letter-spacing: 0.01em;
}
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  padding: 48px 20px 32px 20px;
  justify-content: flex-start;
}
.footer-brand {
  flex: 1 1 220px;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.footer-brand img {
  width: 32px; height: 32px; margin-bottom: 5px; opacity: 0.90;
}
.footer-links, .footer-legal {
  flex: 1 1 180px;
  min-width: 160px;
}
.footer-links h3, .footer-legal h3 {
  font-size: 1.09rem;
  margin-bottom: 8px;
  color: #28313a;
  font-weight: 700;
}
.footer-links ul,
.footer-legal ul {
  list-style: none;
  margin-left: 0;
  margin-bottom: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a, .footer-legal a {
  color: #34495E;
  text-decoration: none;
  font-weight: 500;
  transition: color .14s;
}
.footer-links a:hover, .footer-legal a:hover {
  color: #6BB07F;
}
footer p {
  color: #52616f;
  margin-bottom: 7px;
  font-size: 0.98em;
}

/* ===============
   THANK YOU
   =============== */
.thank-you-message {
  min-height: 42vh;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* ===============
   COOKIE BANNER
   =============== */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  border-top: 1.5px solid #e0e8ef;
  box-shadow: 0 -1px 24px 0 rgba(52,73,94,0.07);
  z-index: 4003;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 18px;
  gap: 32px;
  min-height: 70px;
  animation: cc-slidein 0.34s cubic-bezier(.5,1.8,.5,1) both;
}
@keyframes cc-slidein {
  from { transform: translateY(100%); opacity:0.1; }
  to   { transform: none; opacity:1; }
}
.cookie-consent-banner__text {
  color: #222C36;
  font-size: 0.99rem;
  max-width: 540px;
}
.cookie-consent-banner .cookie-btn {
  margin-left: 8px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #6BB07F;
  color: #fff;
  border: none;
  border-radius: 19px;
  padding: 9px 22px;
  font-size: 1rem;
  font-weight: 600;
  margin-right: 10px;
  margin-bottom: 0;
  transition: background .12s, color .12s, box-shadow .12s;
  cursor: pointer;
  box-shadow: 0 1px 5px 0 rgba(52,73,94,0.06);
  outline: none;
}
.cookie-btn:last-child { margin-right: 0; }
.cookie-btn:focus, .cookie-btn:hover {
  background: #34495E;
  color: #fff;
}
.cookie-btn.outline {
  background: #fff;
  color: #34495E;
  border: 1.2px solid #34495E;
}
.cookie-btn.outline:hover, .cookie-btn.outline:focus {
  background: #EFF4F7;
}

/* Cookie settings modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 4100;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(52,73,94,0.50);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cc-fadein .26s both;
}
@keyframes cc-fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 8px 36px 0 rgba(52,73,94,0.13);
  min-width: 320px;
  max-width: 430px;
  width: 92%;
  padding: 38px 30px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: cc-popup-in .35s cubic-bezier(.4,1.45,.36,1) both;
}
@keyframes cc-popup-in {
  from { transform: scale(0.91) translateY(60px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.13rem;
  color: #222C36;
  margin-bottom: 12px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.98rem;
  padding: 7px 0;
  color: #34495E;
}
.cookie-category input[type="checkbox"] {
  width: 21px; height: 21px;
  border-radius: 5px;
  accent-color: #6BB07F;
  cursor: pointer;
}
.cookie-category .always-on {
  color: #6BB07F;
  font-weight: 600;
  font-size: 0.99em;
  padding-left: 5px;
}
.cookie-modal-actions {
  margin-top: 14px;
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  border: none;
  color: #34495E;
  font-size: 1.45rem;
  cursor: pointer;
  opacity: 0.72;
  transition: color .15s, opacity .13s;
}
.cookie-modal-close:focus, .cookie-modal-close:hover { color: #6BB07F; opacity: 1; }

/* ===============
   UTILITIES
   =============== */
.hide { display: none !important; }

/* ===============
   RESPONSIVE
   =============== */
@media (max-width: 1024px) {
  .container { padding-left: 14px; padding-right: 14px; }
  .footer-columns { gap: 32px; padding-left: 14px; padding-right: 14px; }
  .feature-card { max-width: 100%; }
}
@media (max-width: 900px) {
  .feature-grid { gap: 12px; }
}
@media (max-width: 830px) {
  .features .content-wrapper, .service-list .content-wrapper, .case-studies .content-wrapper,
  .footer-columns, .content-grid, .testimonials .content-wrapper, .testimonial-slider .content-wrapper {
    gap: 15px;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  section, .section { padding-left: 3px; padding-right: 3px; }
  .main-nav { display: none; }
  .btn-primary { margin-left: 0; }
  .mobile-menu-toggle { display: block; }
  .footer-columns { flex-direction: column; gap: 32px; }
  .container { padding-left: 10px; padding-right: 10px; }
  .features .content-wrapper, .service-list .content-wrapper,
  .references-hero .content-wrapper, .testimonials .content-wrapper,
  .testimonial-slider .content-wrapper, .case-studies .content-wrapper {
    flex-direction: column;
    gap: 12px;
  }
  .feature-grid,
  .card-container,
  .content-grid,
  .icon-row { flex-direction: column; gap: 12px; }
  .card, .feature-card, .service-item, .reference-case, .testimonial-card { max-width: 100%; min-width: 0; }
  .cta-box { padding: 32px 6px; }
  .hero, .about-hero, .services-hero, .pricing-hero, .references-hero, .contact-hero, .thank-you-message {
    padding: 36px 0 28px 0;
  }
}
@media (max-width: 500px) {
  html { font-size: 14px; }
  .hero h1, .about-hero h1, .services-hero h1, .pricing-hero h1, .references-hero h1, .contact-hero h1 {
    font-size: 1.45rem;
  }
  .cta-box { padding: 22px 2px; }
}

/* ===============
   FOCUS & ACCESSIBILITY
   =============== */
.btn-primary:focus, .cookie-btn:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus, .footer-links a:focus, .footer-legal a:focus, .main-nav a:focus, .mobile-nav a:focus {
  outline: 2px solid #6BB07F;
  outline-offset: 1.5px;
  box-shadow: 0 0 0 2px #B0ECD0;
}

/* Smoother transitions for all interactives */
button, .cookie-btn, .btn-primary { transition: background 0.15s, box-shadow .13s, color .14s, transform .12s; }

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