
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@300;400;500;700&family=PT+Serif:wght@400;700&display=swap');


:root {
  --primary: #1565C0;
  --secondary: #2E7D32;
  --accent: #FFC107;
  --alert: #D32F2F;
  --cta: #FF8F00;
  --white: #FFFFFF;
  --light-gray: #F5F5F5;
  --dark-gray: #212121;
  --text-color: #333333;
  --header-height: 80px;
  --content-max-width: 600px;
  --section-spacing: 4rem;
  --paragraph-spacing: 1.5rem;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Barlow', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'PT Serif', serif;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: var(--dark-gray);
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

h2 {
  font-size: 2rem;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: var(--paragraph-spacing);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover, a:focus {
  color: var(--secondary);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 1rem;
  text-transform: uppercase;
  height: auto;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover, .btn-primary:focus {
  background-color: #0D47A1;
  color: var(--white);
  text-decoration: none;
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--white);
}

.btn-secondary:hover, .btn-secondary:focus {
  background-color: #1B5E20;
  color: var(--white);
  text-decoration: none;
}

.btn-accent {
  background-color: var(--accent);
  color: var(--dark-gray);
}

.btn-accent:hover, .btn-accent:focus {
  background-color: #FFA000;
  color: var(--dark-gray);
  text-decoration: none;
}

.btn-cta {
  background-color: var(--cta);
  color: var(--white);
}

.btn-cta:hover, .btn-cta:focus {
  background-color: #F57C00;
  color: var(--white);
  text-decoration: none;
}

nav {
  background-color: inherit;
  box-shadow: none;
}


header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.logo {
  height: 50px;
  width: auto;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark-gray);
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  color: var(--dark-gray);
  font-weight: 500;
  transition: color 0.3s ease;
}

nav ul li a:hover, nav ul li a:focus, nav ul li a.active {
  color: var(--primary);
  text-decoration: none;
}


.hero {
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 3rem;
  background-color: var(--primary);
  color: var(--white);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero-image {
  margin-top: 2rem;
  border-radius: 8px;
  overflow: hidden;
}


.section {
  padding: var(--section-spacing) 0;
}

.section-primary {
  background-color: var(--primary);
  color: var(--white);
}

.section-primary h2, .section-primary h3 {
  color: var(--white);
}

.section-secondary {
  background-color: var(--secondary);
  color: var(--white);
}

.section-secondary h2, .section-secondary h3 {
  color: var(--white);
}

.section-accent {
  background-color: var(--accent);
}

.section-light {
  background-color: var(--light-gray);
}

.section-white {
  background-color: var(--white);
}


.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.feature h3 {
  margin-top: 0;
}


.services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.service {
  background-color: var(--dark-gray);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.service h3 {
  color: var(--primary);
  margin-top: 0;
}


.cases {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.case {
  background-color: var(--light-gray);
  border-radius: 8px;
  padding: 1.5rem;
}

.case-metric {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}


.process {
  counter-reset: process-counter;
}

.process-step {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 2rem;
}

.process-step::before {
  counter-increment: process-counter;
  content: counter(process-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.2rem;
  height: 2.2rem;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.process-step h3 {
  margin-top: 0;
}


.form-container {
  background-color: var(--white);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  margin-top: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
}

.form-control:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.1);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-check {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.form-check-input {
  margin-right: 0.5rem;
  margin-top: 0.3rem;
}


.articles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.article-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: var(--white);
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.article-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.article-content {
  padding: 1.5rem;
}

.article-date {
  color: var(--dark-gray);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.article-card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.article-card p {
  margin-bottom: 1rem;
}


.article {
  padding-top: calc(var(--header-height) + 2rem);
}

.article-header {
  margin-bottom: 2rem;
}

.article-meta {
  color: var(--dark-gray);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.article-content img {
  border-radius: 8px;
  margin: 2rem 0;
}


footer {
  background-color: var(--dark-gray);
  color: var(--white);
  padding: 3rem 0 2rem;
}

.footer-container {
  display: flex;
  flex-direction: column;
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-info {
  margin-bottom: 2rem;
}

.footer-info h3 {
  color: var(--white);
  margin-top: 0;
}

.footer-contact {
  margin-bottom: 1.5rem;
}

.footer-contact p {
  margin-bottom: 0.5rem;
}

.footer-links {
  margin-bottom: 1.5rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 0.5rem;
}

.footer-links ul li a {
  color: var(--white);
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: var(--accent);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
}


.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--dark-gray);
  color: var(--white);
  padding: 1rem;
  z-index: 1001;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-content {
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.cookie-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1002;
  display: none;
}

.cookie-panel.show {
  display: flex;
}

.cookie-panel-content {
  background-color: var(--white);
  border-radius: 8px;
  padding: 2rem;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}

.cookie-panel h2 {
  margin-top: 0;
}

.cookie-category {
  margin-bottom: 1.5rem;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 24px;
}

.cookie-toggle-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .cookie-toggle-slider {
  background-color: var(--primary);
}

input:checked + .cookie-toggle-slider:before {
  transform: translateX(26px);
}

.cookie-panel-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 2rem;
}

.cookie-settings-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--white);
  color: var(--dark-gray);
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  cursor: pointer;
  z-index: 999;
  display: none;
}

.cookie-settings-toggle.show {
  display: flex;
}


.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1003;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.show {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: var(--white);
  border-radius: 8px;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  text-align: center;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.modal.show .modal-content {
  transform: translateY(0);
}

.modal-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.modal-title {
  margin-top: 0;
}

.modal-actions {
  margin-top: 2rem;
}


.text-center {
  text-align: center;
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.py-1 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }

.px-1 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2 { padding-left: 1rem; padding-right: 1rem; }
.px-3 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-4 { padding-left: 2rem; padding-right: 2rem; }
.px-5 { padding-left: 3rem; padding-right: 3rem; }


.iti { 
  width: 90% 
}

[type="checkbox"]:not(:checked), [type="checkbox"]:checked {
  position: relative;
  opacity: 1;
}


@media (min-width: 768px) {
  h1 {
    font-size: 3rem;
  }
  
  .features, .services, .cases, .articles {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-container {
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  
  .footer-info {
    flex: 0 0 100%;
  }
  
  .footer-contact, .footer-links {
    flex: 0 0 48%;
  }
}

@media (max-width: 767px) {
  .nav-toggle {
    display: block;
  }
  
  nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
  }
  
  nav.active {
    transform: translateY(0);
  }
  
  nav ul {
    flex-direction: column;
    padding: 1rem 0;
  }
  
  nav ul li {
    margin: 0;
    text-align: center;
  }
  
  nav ul li a {
    display: block;
    padding: 0.8rem;
  }
  
  .cookie-actions {
    flex-direction: column;
  }
  
  .cookie-actions .btn {
    width: 100%;
  }
  
  .cookie-panel-actions {
    flex-direction: column;
  }
  
  .cookie-panel-actions .btn {
    width: 100%;
  }
}


@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-in {
  animation: fadeIn 0.5s ease-in-out;
}


.thanks-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--header-height) - 200px);
  text-align: center;
}

.thanks-icon {
  font-size: 5rem;
  color: var(--primary);
  margin-bottom: 2rem;
}

.thanks-container h1 {
  margin-bottom: 1rem;
}

.thanks-container p {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}