/* 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F4F8FB;
  color: #253156;
  min-height: 100vh;
}
ul, ol {
  list-style: none;
  margin-left: 0;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}
a:focus {
  outline: 2px solid #6BCFC7;
  outline-offset: 2px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  outline: none;
  transition: background 0.3s, color 0.3s;
}

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

body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background: #F4F8FB;
  color: #253156;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #253156;
  font-weight: 700;
  line-height: 1.15;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.4rem; margin-bottom: 14px; font-weight: 600; }
h4, h5, h6 { font-size: 1.1rem; margin-bottom: 10px; font-weight: 500; }
.lead {
  font-size: 1.25rem;
  color: #253156;
  margin-bottom: 26px;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
}
p {
  margin-bottom: 18px;
  line-height: 1.6;
}
strong { font-weight: 700; }
em { font-style: italic; }

/* CONTAINER & FLEX ALIGNMENTS */
.container {
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* LAYOUT FLEXBOX MANDATORY PATTERNS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(37,49,86,0.08);
  padding: 28px 24px;
  transition: box-shadow .25s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(107,207,199,0.10);
}
.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: 20px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(37,49,86,0.07);
  color: #253156;
  max-width: 540px;
  border-left: 5px solid #6BCFC7;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* GENERIC FLEX UTILITIES */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.gap-20 { gap: 20px; }
.gap-30 { gap: 30px; }

/* SPACING & WHITE SPACE */
.section + .section { margin-top: 0px; }
.card + .card { margin-top: 20px; }
.content-wrapper > * + * { margin-top: 8px; }
.text-section { max-width: 740px; margin: 0 auto; }
ul { margin-bottom: 18px; margin-top: 6px; }
ul li, ol li { margin-bottom: 10px; line-height: 1.7; }
dt { font-weight: 600; margin-top: 12px; }
dd { margin-bottom: 14px; color:#4c5980; }

/* HEADER, NAV & HERO */
header {
  background: linear-gradient(87deg, #253156, #6BCFC7 110%);
  box-shadow: 0 2px 15px rgba(37,49,86,0.03);
  position: relative;
  z-index: 30;
}
.container.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 15px;
  padding-bottom: 15px;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 6px;
  padding: 6px 12px;
  transition: background 0.25s, color 0.2s;
}
.main-nav a:hover, .main-nav a.active {
  background: #6BCFC7;
  color: #253156;
}
header img {
  height: 38px;
}

/* CTA BUTTON */
.cta-btn {
  background: linear-gradient(90deg, #6BCFC7 10%, #253156 100%);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.11rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 11px 30px;
  box-shadow: 0 2px 12px rgba(107,207,199,0.12);
  transition: background 0.3s, box-shadow 0.2s;
  margin-left: 15px;
  margin-top: 0;
  cursor: pointer;
  letter-spacing: 0.01em;
  display: inline-block;
}
.cta-btn:hover,
.cta-btn:focus {
  background: linear-gradient(90deg, #253156 10%, #6BCFC7 100%);
  color: #fff;
  box-shadow: 0 4px 18px rgba(107,207,199,0.22);
}

/* HERO SECTION */
.hero {
  background: linear-gradient(105deg, #6BCFC7 0%, #F4F8FB 100%);
  padding: 60px 0 50px 0;
  margin-bottom: 60px;
}
.hero .content-wrapper {
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  text-align: left;
}
.hero h1 {
  color: #253156;
  margin-bottom: 16px;
  font-size: 2.6rem;
  line-height: 1.08;
}
.hero .lead {
  color: #253156;
  max-width: 600px;
}

/* CASE STUDY CARD (REALSATIONS) */
.case-study {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(37,49,86,0.08);
  padding: 30px 26px;
  margin-bottom: 28px;
  border-left: 6px solid #6BCFC7;
  max-width: 600px;
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.case-study:hover {
  box-shadow: 0 8px 32px rgba(107,207,199,0.12);
}

/* FOOTER */
footer {
  background: #253156;
  color: #fff;
  padding: 48px 0 36px 0;
  font-size: 1rem;
  width: 100%;
}
footer .container {
  max-width: 1200px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-branding {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  max-width: 340px;
}
.footer-branding img {
  height: 34px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 200px;
}
.footer-nav a {
  color: #fff;
  opacity: 0.9;
  font-size: 1rem;
  margin-bottom: 2px;
  border-radius: 4px;
  padding: 4px 7px;
  transition: background 0.15s;
}
.footer-nav a:hover {
  background: #6BCFC7;
  color: #253156;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.94rem;
}
.footer-contact a {
  color: #6BCFC7;
  text-decoration: underline;
}

/* COOKIES CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  background: #fff;
  border-top: 2px solid #6BCFC7;
  box-shadow: 0 -2px 16px rgba(37,49,86,0.10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 18px 28px;
  font-size: 1rem;
  color: #253156;
  animation: fadeInCookie 0.5s ease;
}
@keyframes fadeInCookie { from { opacity: 0; transform: translateY(20px);} to { opacity: 1; transform: none;} }
.cookie-banner p {
  margin: 0;
  flex: 1;
  font-size: 1rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}
.cookie-banner button {
  border: none;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 1rem;
  margin: 0 1px;
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: background .2s,color .2s,box-shadow .2s;
}
.btn-accept {
  background: #6BCFC7;
  color: #253156;
  font-weight: 600;
}
.btn-accept:hover { background: #253156; color: #fff; }
.btn-settings {
  background: #F4F8FB;
  color: #253156;
  border: 1px solid #6BCFC7;
  font-weight: 500;
}
.btn-settings:hover { background: #6BCFC7; color: #253156; }
.btn-reject {
  background: #F4F8FB;
  color: #253156;
  border: 1px solid #253156;
  font-weight: 400;
}
.btn-reject:hover { background: #253156; color: #fff; }

/* COOKIES MODAL */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(37,49,86,0.15);
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeInCookieModal .4s;
}
.cookie-modal.active { display: flex; }
@keyframes fadeInCookieModal { from { opacity:0; } to { opacity:1;} }
.cookie-modal .cookie-modal-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(37,49,86,0.14);
  max-width: 440px;
  width: 94%;
  padding: 36px 26px 24px 26px;
  color: #253156;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  color: #253156;
  font-size: 23px;
  border: none;
  cursor: pointer;
}
.cookie-modal h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #253156;
 }
.modal-toggle-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.modal-toggle-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.modal-toggle-label {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
.modal-toggle-switch {
  width:38px;height:20px;position:relative;display:inline-block;margin-left:7px;
}
.modal-toggle-switch input {opacity:0;width:0;height:0;}
.modal-toggle-switch .slider {
  position: absolute;
  cursor: pointer;
  top:0;left:0;right:0;bottom:0;
  border-radius: 15px;
  background: #253156;
  transition:.3s;
}
.modal-toggle-switch .slider:before {
  position: absolute;
  content: "";
  height:14px;width:14px;
  left:3px;bottom:3px;
  background: #6BCFC7;
  transition:.3s;
  border-radius:50%;
}
.modal-toggle-switch input:checked + .slider { background: #6BCFC7; }
.modal-toggle-switch input:checked + .slider:before { background: #253156; transform: translateX(16px);}

.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 14px;
}
.cookie-modal .btn-save {
  background: #6BCFC7;
  color: #253156;
  font-weight: 600;
  border-radius: 8px;
  padding: 8px 16px;
}
.cookie-modal .btn-cancel {
  background: #F4F8FB;
  color: #253156;
  text-decoration: underline;
}
.cookie-modal .btn-cancel:hover { color: #6BCFC7; }


/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: #6BCFC7;
  color: #253156;
  font-size: 2rem;
  border-radius: 8px;
  padding: 5px 16px;
  border: none;
  z-index: 350;
  transition: background 0.22s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover { background: #253156; color: #fff; }
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #253156;
  transform: translateX(-100%);
  transition: transform 0.44s cubic-bezier(.77,0,.18,1);
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 36px;
  padding-left: 26px;
  padding-right: 26px;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  background: none;
  border: none;
  color: #6BCFC7;
  font-size: 2.3rem;
  align-self: flex-end;
  margin-bottom: 20px;
  margin-right: 4px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 19px;
  margin-top: 18px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.27rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 13px 0 13px 8px;
  border-radius: 5px;
  transition: background 0.2s,color 0.2s;
}
.mobile-nav a:hover {
  background: #6BCFC7;
  color: #253156;
}

/* TESTIMONIALS */
.testimonial-card blockquote {
  font-size: 1.12rem;
  font-style: italic;
  color: #253156;
  margin-bottom: 10px;
  line-height: 1.5;
}
.testimonial-card p {
  font-size: 0.99rem;
  color: #4c5980;
}

/* FAQ dl styles */
dl {
  margin-bottom: 24px;
}
dt {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
  color: #253156;
  font-weight: 600;
  margin-bottom: 5px;
}
dd {
  font-size: 1rem;
  margin-bottom: 15px;
  color: #4c5980;
  margin-left: 0;
}

/* GENERAL LISTS */
ul, ol {
  margin-left: 18px;
}
ul li:before {
  content:"";
  display:inline-block;
  width:7px;height:7px;
  margin-right:9px;
  background:#6BCFC7;
  border-radius:50%;
  vertical-align: middle;
}
ul li strong { color: #253156; }

/* GENERAL TABLE (if any) */
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 22px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(37,49,86,0.06);
}
th, td {
  border: 1px solid #e2e9f3;
  padding: 10px 14px;
  text-align: left;
}
th {
  background: #F4F8FB;
  color: #253156;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* MICRO-INTERACTIONS & TRANSITIONS */
[class*='btn'],.main-nav a, .footer-nav a, .mobile-nav a {
  transition: background .22s, color .22s, box-shadow 0.16s;
}
.card, .case-study, .testimonial-card {
  transition: box-shadow .22s,transform 0.16s;
}
.card:hover, .case-study:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 28px rgba(107,207,199,0.15);
}
.cta-btn:active { transform: scale(0.97); }

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1200px) {
  .container {max-width:1000px;}
}
@media (max-width: 900px) {
  .container, footer .container { max-width: 92vw; }
  .footer-branding { max-width: 220px; }
  footer .content-wrapper { gap: 18px; }
}
@media (max-width: 768px) {
  /* Switch nav to burger */
  .main-nav, .cta-btn { display: none !important; }
  .mobile-menu-toggle { display: block; position: absolute; right: 20px; top: 19px; }
  header .container.nav { flex-wrap: wrap; }
  .hero { padding-top: 30px; padding-bottom: 25px; }
  .hero h1 { font-size: 2rem; }
  .content-wrapper, .text-section { padding: 0; }
  .footer-branding img { height: 29px; }
  .footer-branding { max-width:130px; }
  .footer-nav { min-width: 125px; }
  .footer-contact { font-size: 0.91rem; }
  .section { padding: 30px 8px; margin-bottom: 42px; }
  .card, .case-study { padding: 21px 14px; }
  .testimonial-card { padding: 12px; }
  footer { padding: 32px 0 20px 0; }
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 18px; padding: 12px 9px; font-size: 0.97rem; }
}
@media (max-width: 620px) {
  .container { padding-left: 9px; padding-right: 9px; }
  .content-wrapper { gap: 13px; }
  .footer-nav { gap: 5px; }
  .footer-contact { gap: 4px; }
}
@media (max-width: 576px) {
  .content-wrapper, .footer .content-wrapper { flex-direction: column; gap: 18px; align-items: flex-start; justify-content: flex-start; }
  .hero { padding: 20px 0 10px 0; }
  .section { padding: 17px 4px; }
}
/* Flex responsive section for text-image */
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 18px; }
}

/* Hide modal scroll when open */
body.cookie-modal-open { overflow: hidden; }


/* ACCENT ELEMENTS */
::-webkit-selection, ::selection {
  background: #6BCFC7;
  color: #253156;
}

/* CUSTOM SCROLLBAR */
::-webkit-scrollbar {
  width: 8px;
  background: #F4F8FB;
}
::-webkit-scrollbar-thumb {
  background: #6BCFC7;
  border-radius: 4px;
}
