/* Style pour le titre principal de la section À propos */
.main-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--heading-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.main-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--sidebar-active);
  border-radius: 2px;
}

/* Style pour les sous-sections */
.sub-section {
  margin-bottom: 50px;
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px var(--card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.sub-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--card-shadow);
}

/* Style pour les sous-titres */
.sub-title {
  font-size: 28px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 20px;
  position: relative;
  padding-left: 15px;
}

.sub-title:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 5px;
  background-color: var(--sidebar-active);
  border-radius: 2px;
}

/* Style pour les paragraphes */
.sub-section p {
  font-size: 16px;
  color: var(--text-color);
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

/* Styles pour les hexagones animés */
#Polygon-1,
#Polygon-2,
#Polygon-3,
#Polygon-4,
#Polygon-5 {
  animation: float 1s infinite ease-in-out alternate;
}

#Polygon-2 {
  animation-delay: .2s;
}

#Polygon-3 {
  animation-delay: .4s;
}

#Polygon-4 {
  animation-delay: .6s;
}

#Polygon-5 {
  animation-delay: .8s;
}

footer.copyright {
  background-color: var(--sidebar-active);
  color: white;
  padding: 15px;
  text-align: center;
  font-size: 14px;
  border-radius: 10px;
  border: 2px solid white;
  margin-top: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.sidebar footer.copyright {
  margin-top: auto;
  background-color: transparent;
  border: none;
  box-shadow: none;
}

@keyframes float {
  100% {
    transform: translateY(20px);
  }
}

/* Veille informatique styling */
.veille-section {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px var(--card-shadow);
  margin-bottom: 30px;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.veille-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--card-shadow);
}

.veille-section h2 {
  color: var(--heading-color);
  font-size: 24px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--sidebar-active);
  padding-bottom: 10px;
}

.veille-section p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 20px;
  text-align: justify;
}

.veille-section ul {
  list-style-type: none;
  padding-left: 0;
}

.veille-section li {
  background: var(--card-bg);
  padding: 15px;
  margin: 10px 0;
  border-radius: 8px;
  box-shadow: 0 2px 5px var(--card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 3px solid var(--sidebar-active);
}

.veille-section li:hover {
  transform: translateX(10px);
  box-shadow: 0 4px 10px var(--card-shadow);
}

.veille-section a {
  color: var(--sidebar-active);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.veille-section a:hover {
  color: var(--sidebar-hover);
  text-decoration: underline;
}

/* Responsive styles */
@media (max-width: 768px) {
  .main-title {
    font-size: 30px;
  }

  .sub-title {
    font-size: 24px;
  }

  .sub-section {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .main-title {
    font-size: 26px;
  }

  .sub-title {
    font-size: 20px;
  }

  .sub-section p {
    font-size: 15px;
  }
}

/* Améliorations pour le mode sombre */
.dark .veille-section li {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.dark .veille-section li:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.dark .sub-section {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.dark .sub-section:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

