/* Réinitialisation des styles par défaut */
html {
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
p,
ul,
li,
a {
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  /* Au moins la hauteur de la fenêtre visible */
}

/* Styles spécifiques à la mise en page */
.header {
  background-color: #333;
  color: #fff;
}

.menu {
  display: flex;
  align-items: center;
  background-color: #333;
  justify-content: space-between;
}

.menu-logo>a {
  text-decoration: none;
  display: table;
}

.menu-logo img {
  width: 50px;
  height: auto;
  margin-right: 10px;
}

.menu-name {
  font-size: 20px;
  margin-left: 10px;
  color: #fff;
  display: table-cell;
  vertical-align: middle;
}

.menu-list {
  list-style: none;
  display: flex;
  margin-right: 20px;
}

.menu-list li {
  margin-left: 20px;
}

.menu-list li:first-child {
  margin-left: 0;
}

.menu-list li a {
  color: #fff;
  text-decoration: none;
}

.main-content {
  flex-grow: 1;
}

.hero-section {
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: black;
  background: url("/static/website/hero_background.webp") 50% 0 no-repeat fixed;
  color: #fff;
  text-align: center;
}

.hero-content {
  max-width: 600px;
  margin: 0 auto;
}

.hero-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 30px;
}

.cta-button {
  display: inline-block;
  padding: 12px 30px;
  margin-bottom: 15px;
  background-color: #e99bff;
  color: #172c57;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #8430a8;
}

nav {
  background-color: #333;
  text-align: center;
  display: flex;
  justify-content: center;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  margin: 0 10px;
}

#gauge-container1 {
  width: 400px;
  height: 300px;
}

.chart-first {
  fill: #ff533d;
}

.chart-second {
  fill: #66AB8C;
}


.needle,
.needle-center {
  fill: #000000;
}

.text {
  color: "#112864";
  font-size: 16px;
}


svg {
  font: 10px sans-serif;
}

section {
  padding: 40px 0;
  text-align: center;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 0 10% 5% 10%;
}

.service-item {
  background-color: #172c57;
  border-radius: 10px;
  text-align: center;
  color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 0 0 calc(33.3333% - 30px);
  margin-bottom: 30px;
  padding: 2px;
}

.column div {
  margin: auto;
  width: 50%;
}

.service-item h3 {
  font-size: 24px;
  margin: 15px;
  color: #e99bff;
}

.service-item p {
  font-size: 16px;
  line-height: 1.6;
  margin: 30px;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Ajout d'un espace entre les éléments */
.services-grid::before,
.services-grid::after {
  flex: 0 0 10px;
}

.demos-section {
  background-color: #afdbf8;
}

.service-item span {
  color: #e99bff;
}

.tooltip {
  display: none;
  position: absolute;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  pointer-events: none;
}

h2 {
  text-align: center;
}

.containerchart {
  display: flex;
  padding: 40px 0;
  margin: auto;
}

.column {
  flex: 1;
  padding: 20px;
}

/* Pour les écrans plus petits (max-width: 1200px) */
@media (max-width: 1200px) {
  .service-item {
    flex: 0 0 calc(50% - 30px);
  }
}

/* Pour les écrans encore plus petits (max-width: 800px) */
@media (max-width: 800px) {
  .service-item {
    flex: 0 0 calc(100% - 30px);
  }
}

.about-section {
  background-color: #172c57;
}

.about-section .container .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.about-section h2 {
  color: #fff;
}

.about-section p {
  line-height: 1.6;
  margin-bottom: 15px;
}

.about-section p.special {
  font-weight: bold;
}

.about-section a {
  color: #007bff;
  text-decoration: none;
}

.about-section a:hover {
  text-decoration: underline;
}

.div-space {
  margin: 3vh 4vh;
  text-align: justify;
  border-radius: 25px;
  background-color: #afdbf8;
  padding: 25px;
  color: #172c57;
}

.div-space-image {
  background: none;
  padding: 0px;
}

.div-space h3 {
  margin: 20px;
  text-align: center;
}

.div-space img {
  width: 100%;
  margin: auto;
  height: auto;
  border-radius: 25px;
}

.svg-container {
  display: grid;
  place-items: center;
}

.legal-title {
  margin-bottom: 20px;
}

.process-section .container h2 {
  color: #172c57;
}

.cta-text span {
  color: #e99bff;
}

.container h2 {
  padding: 20px;
}

.process-steps {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

.process-step {
  flex: 0 0 calc(33.3333% - 40px);
  margin: 10px;
  padding: 10px;
  background-color: #172c57;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-number {
  font-size: 30px;
  background-color: #afdbf8;
  color: #172c57;
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
  margin: 0 auto 10px;
}

.process-step h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #e99bff;
}

.process-step p {
  font-size: 16px;
  color: #fff;
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 20px 0;
}

.footer-content {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  list-style: none;
  display: flex;
}

.footer-links li {
  margin-right: 20px;
}

.footer-links li:last-child {
  margin-right: 0;
}

.footer-links li a {
  color: #fff;
  text-decoration: none;
}

.footer-info {
  margin: 0;
  color: white !important;
}

.freelancing-section {
  background-color: #333;
  color: #fff;
}

.freelancing-section p {
  font-size: 18px;
}

.freelancing-section a {
  background-color: #af33db;
  color: #fff;
  border: none;
  padding: 12px 30px;
  font-size: 18px;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.freelancing-section a:hover {
  background-color: #8430a8;
}

.cta-section {
  background-color: #172c57;
  color: #fff;
}

.cta-text {
  font-size: 28px;
  margin-bottom: 20px;
}

.form-container {
  max-width: 400px;
  margin: 100px auto auto auto;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-container label {
  display: block;
  margin-bottom: 10px;
  color: #666;
}

.form-container input,
.form-container textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.form-container button {
  background-color: #af33db;
  color: #fff;
  border: none;
  padding: 12px 30px;
  font-size: 18px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin: auto;
}

.form-container button:hover {
  background-color: #8430a8;
}

.form-container img {
  width: 100%;
  height: auto;
}

.legal-title {
  margin-bottom: 20px;
}

.title {
  margin: 20px;
  text-align: center;
}

/* Styles spécifiques pour la version mobile (max-width: 768px) */
@media (max-width: 768px) {
  .menu {
    flex-direction: column;
    align-items: center;
    padding: 10px;
  }

  .menu-logo {
    margin-bottom: 10px;
  }

  .menu-name {
    margin-left: 0;
    margin-bottom: 20px;
  }

  .menu-list {
    flex-direction: column;
    align-items: center;
  }

  .menu-list li {
    margin: 10px 0;
  }

  .hero-content {
    padding: 0 20px;
  }

  .hero-content h2 {
    font-size: 28px;
  }

  .hero-content p {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .cta-button {
    font-size: 16px;
  }

  .services-grid {
    padding: 0;
  }

  .service-item {
    flex: 0 0 100%;
  }

  .about-section .container .grid {
    grid-template-columns: 1fr;
  }

  .containerchart {
    grid-template-columns: 1fr;
  }

  .column {}

  .div-space {
    padding: 15px;
  }

  .div-space h3 {
    font-size: 20px;
  }

  .div-space img {
    border-radius: 10px;
  }

  .container h2 {
    font-size: 28px;
  }

  .process-step {
    flex: 0 0 calc(50% - 20px);
  }

  .cta-text {
    font-size: 20px;
  }

  .freelancing-section p {
    font-size: 16px;
  }

  .form-container {
    max-width: 100%;
    padding: 15px;
  }

  .form-container button {
    font-size: 16px;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
  }

  .footer-links {
    margin-bottom: 20px;
  }

  .footer-info {
    margin-top: 20px;
  }
}