:root {
  --primary-color: #a0e00d;
  --text-color: #fff;
  --background-color: #020202;
  --btn-bg: #a0e00d;
  --btn-hover-bg: #a0e00d;
  --dark: #0d0d0d;
  --shadow: #a1e00d77;
  --second-text-color: #ccc;
}

body {
  font-family: "Oswald", sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
}

a {
  text-decoration: none;
}

/* Personnalisation du logo */
.logo {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 5px;
  padding: 0.5rem 1rem;
  transition: background-color 0.3s, color 0.3s;
}

/* Section Header*/
.navbar {
  background-color: rgba(0, 0, 0, 0.575);
  padding: 10px 30px;
  border-radius: 50px;
  width: 1100px;
  max-width: 90%;
  margin: 10px auto;
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  backdrop-filter: blur(15px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex; /* Flexbox pour aligner les éléments */
  justify-content: space-between; /* Espacement entre les éléments */
  align-items: center; /* Centrer verticalement */
}

.navbar .navbar-brand,
.navbar .nav-link {
  color: var(--text-color);
  font-weight: 600;
}

.navbar .nav-link {
  padding: 10px 20px;
  text-decoration: none;
  margin: 0 10px; /* Espacement latéral entre les liens */
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  cursor: pointer;
  transition: color 0.3s, background-color 0.3s;
  border-radius: 30px;
}

.navbar .nav-link:hover {
  color: var(--primary-color);
}

.navbar .btn-cta {
  background-color: var(--btn-bg);
  color: var(--dark);
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-size: 1.2rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

.navbar .btn-cta:hover {
  background-color: var(--btn-hover-bg);
  transform: scale(1.1);
  color: var(--background-color);
  box-shadow: 0 4px 10px var(--shadow);
}

.navbar-toggler {
  background-color: transparent;
  border: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-icon {
  transition: transform 0.3s ease;
}

.navbar-icon.collapsed {
  transform: scale(0.8);
}

.navbar-icon.expanded {
  transform: scale(1);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: center;
    padding: 15px;
  }

  .navbar .nav-link {
    margin: 10px 0; /* Espacement vertical entre les liens */
    border: none;
    box-shadow: none;
    background-color: transparent;
    color: var(--text-color);
    text-align: center;
    font-size: 1rem;
  }

  .navbar .navbar-collapse {
    text-align: center;
    align-items: center;
  }

  .navbar .btn-cta {
    margin-top: 50px; /* Ajoute un espace au-dessus du bouton */
    padding: 0.5rem 1.5rem;
  }
}

/* Section Hero */
.hero {
  padding: 10rem 0 5rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 100vh;
  text-align: center;
  position: relative;
  background-image: url(../grille.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(0, 0, 0, 0.6),
    rgba(0, 0, 0, 0.9) 80%,
    #020202 90%
  );
  pointer-events: none;
}

/* Contenu de texte */
.hero-content {
  margin-bottom: 3rem; /* Ajoute un espace entre le texte et l'image */
}

.hero-content h1 {
  font-size: 5rem;
  font-weight: bold;
  color: var(--text-color);
  line-height: 1.2;
}

.hero-content h1 span {
  color: var(--primary-color);
}

.hero-content p {
  font-size: 1.5rem;
  margin: 1.5rem 0;
  color: var(--second-text-color);
}

.blur-effect-hero {
  position: relative;
}

.blur-effect-hero::before {
  content: "";
  position: absolute;
  top: -30px;
  left: 50%;
  width: 60%;
  height: 90%;
  background-color: var(--primary-color); /* Vert fluo légèrement transparent */
  border-radius: 50%;
  transform: translate(50%, -100%) rotate(180deg); /* Crée un arc vers le bas */
  box-shadow: 0 0 80px var(--primary-color), 0 0 120px var(--shadow);
  filter: blur(40px);
  border-radius: 50%; /* Crée un cercle */
  transform: translateX(-50%); /* Centre le cercle horizontalement */
  z-index: -1; /* Place le cercle derrière le container */
}

/* Arc décoratif */
.arc {
  position: absolute;
  top: 350px; /* Ajuste cette valeur pour déplacer vers le bas */
  right: 250px; /* Ajuste cette valeur pour déplacer vers la gauche */
  width: 200px; /* Largeur de l'arc */
  height: 200px; /* Hauteur de l'arc */
  background-color: var(--primary-color);
  border-radius: 50%;
  transform: translate(50%, -100%) rotate(180deg); /* Crée un arc vers le bas */
  box-shadow: 0 0 80px var(--primary-color), 0 0 120px var(--shadow);
  filter: blur(80px);
  z-index: -1;
}

/* Style des boutons */
.hero-content .btn-hero,
.hero-content .btn-hero2 {
  padding: 0.8rem 1.8rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  text-transform: uppercase;
  transition: background-color 0.3s, transform 0.3s;
  margin-right: 20px;
}

.hero-content .btn-hero {
  background-color: var(--primary-color);
  color: var(--dark);
}

.hero-content .btn-hero:hover {
  background-color: var(--btn-bg);
  color: var(--background-color);
  transform: scale(1.05);
}

.hero-content .btn-hero::after {
  content: " ↗";
  font-size: 1.5rem;
  margin-left: 0.5rem;
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

.hero-content .btn-hero2 {
  background-color: var(--background-color);
  color: var(--btn-bg);
  border: solid 2px var(--btn-bg) !important;
}

.hero-content .btn-hero2:hover {
  transform: scale(1.05);
  color: var(--btn-bg);
}

.hero-content .btn-hero2::after {
  content: " ↗";
  font-size: 1.5rem;
  margin-left: 0.5rem;
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

/* Image de la section Hero */
.hero-image img {
  width: 100%; /* Ajuste la largeur de l'image */
  max-width: 600px; /* Limite la taille maximale de l'image */
  height: 600px; /* Conserve le ratio d'aspect de l'image */
  object-fit: cover;
  object-fit: cover;
}

.content {
  position: relative; /* Pour s'assurer que le contenu est au-dessus de l'arc */
  z-index: 1; /* Mettre le contenu au-dessus de l'arc */
  text-align: center; /* Centrer le texte */
}

@media (max-width: 768px) {
  .hero-content .btn-hero,
  .hero-content .btn-hero2 {
    padding: 0.6rem 1.2rem;
    font-size: 0.875rem;
    margin-right: 10px;
    border-radius: 40px;
  }

  .hero-content .-hero::after,
  .hero-content .-hero2::after {
    font-size: 1.2rem;
    margin-left: 0.3rem;
  }
}

@media (max-width: 480px) {
  .hero-content .btn-hero,
  .hero-content .btn-hero2 {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    margin-right: 5px;
    border-radius: 30px;
  }

  .hero-content .btn-hero::after,
  .hero-content .btn-hero2::after {
    font-size: 1rem;
    margin-left: 0.2rem;
  }
}

.hero-image img {
  max-width: 80%;
  border-radius: 10px;
  display: inline-block;
  border-radius: 25px;
}

/* Media queries pour écrans plus petits */
@media (max-width: 1200px) {
  .hero-image {
    float: none;
    text-align: center;
    margin-left: 0;
  }

  .hero-image img {
    max-width: 100%;
  }
}

/* Section Statique */
.section-stat {
  padding: 4rem 0;
  text-align: center;
  background-color: var(--background-color);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.section-stat .stat {
  font-size: 4rem;
  font-weight: bold;
  color: var(--primary-color);
  margin: 1rem 0;
}

.section-stat .description {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 2rem;
}

/* Responsive CSS */
@media (max-width: 1200px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-image {
    margin-top: 2rem;
  }

  .hero-content h1 {
    font-size: 4rem;
  }
}

@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-content p {
    font-size: 1.25rem;
  }

  .section-stat .stat {
    font-size: 2.5rem;
  }

  .section-stat .description {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .hero {
    min-width: 0 !important;
    padding: 10rem 0 5rem 0;
  }
  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-content p {
    font-size: 1.15rem;
  }

  .hero-image img {
    max-width: 100%;
  }

  .section-stat .stat {
    font-size: 4rem;
  }

  .section-stat .description {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .hero {
    min-width: 0;
  }
  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .section-stat .stat {
    font-size: 3rem;
  }

  .section-stat .description {
    font-size: 1.2rem;
  }

  .section-stat .col-md-4 {
    width: 100%;
    margin-bottom: 2rem;
  }
}

/* about section*/

.about-section {
  padding: 50px 0 100px 0;
  background-color: var(--background-color);
  color: var(--text-color);
  position: relative;
  overflow: hidden;
}

.section-title-left {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.about-text {
  font-size: 1.2rem;
  line-height: 1.9;
  color: var(--second-text-color);
  margin-bottom: 20px;
}

.about-content {
  padding: 20px;
}

.about-image {
  text-align: center;
}

.about-img {
  max-width: 100%;
  height: auto;
  border-radius: 25px;
}

/*skill section*/

.skills-section {
  margin-top: 50px;
}

.skills-title {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin: 20px 0 15px 0;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
}

.skill {
  margin-bottom: 15px;
  margin-top: 20px;
}

.skill h4 {
  font-size: 1.3rem;
  color: var(--text-color);
  margin-bottom: 10px;
  margin-top: 10px;
}

.skill-bar {
  width: 100%;

  height: 12px;
  background-color: var(--dark);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.skill-level {
  height: 100%;
  background-color: var(--primary-color);
  transition: width 0.6s ease-in-out;
  position: relative;
}

.btn {
  background-color: var(--btn-bg);
  color: var(--background-color);
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  border: solid 2px var(--primary-color);
  z-index: 2;
  position: relative;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.btn:hover {
  color: var(--btn-bg);
  border: solid 2px var(--btn-bg);
}

.highlight-white {
  color: #fff;
  font-weight: bold;
}

@media (max-width: 768px) {
  .skills-section {
    margin-top: 40px;
  }

  .about-image {
    margin-bottom: 40px;
  }

  .about-text {
    font-size: 1rem;
  }

  .skills {
    flex-direction: column;
  }
}

/*texh logo*/

.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 16px;
  padding: 50px 0 0 0;
}

.tech-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
  flex: 0 0 auto;
}

.logo-img {
  max-width: 2rem;
  height: auto;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.tech-logo:hover .logo-img {
  filter: grayscale(0%);
}

@media (min-width: 768px) {
  .logo-container {
    flex-wrap: wrap;
    justify-content: space-evenly;
  }

  .logo-img {
    max-width: 70px;
  }
}

.services {
  padding: 80px 0;
  background-color: var(--dark);
  color: var(--text-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: var(--background-color);
  border-radius: 25px;
  overflow: hidden;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease,
    background-color 0.4s ease;
  padding: 40px 20px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); /* Ombre de base */
}

.service-card:hover {
  transform: translateY(-10px) scale(1.05);
  background-color: var(--background-color);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.6), 0 0 30px var(--primary-color); /* Ajout de la lumière verte */
}

.service-card:hover .service-icon {
  transform: scale(1.2);
  color: var(--primary-color);
}

.service-icon {
  font-size: 3.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  transition: transform 0.4s ease, color 0.4s ease;
}

.service-card h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--text-color);
  transition: color 0.4s ease, transform 0.4s ease;
}

.service-card:hover h3 {
  color: var(--primary-color);
  transform: translateY(-5px);
}

.service-card p {
  font-size: 1rem;
  color: var(--second-text-color);
  margin-bottom: 30px;
  transition: color 0.4s ease, transform 0.4s ease;
}

.service-card:hover p {
  color: #f1f1f1;
  transform: translateY(-3px);
}

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none; /* Empêche les interactions */
  transition: opacity 0.4s ease;
  z-index: 0;
}

.service-card:hover .service-overlay {
  opacity: 1;
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 2rem;
  }

  .service-card {
    padding: 30px 15px;
  }

  .service-icon {
    font-size: 3rem;
  }

  .service-card h3 {
    font-size: 1.5rem;
  }

  .btn {
    padding: 10px 20px;
  }
}

/* Section de la timeline */
.timeline-section {
  padding: 60px 20px;
  background-color: var(--background-color);
  color: var(--text-color);
  text-align: center;
}

/* Titre de la timeline */
.timeline-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 40px;
}

/* Conteneur principal de la timeline */
.timeline {
  position: relative;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 15px 0;
}

/* Ligne centrale de la timeline */
.timeline::after {
  content: "";
  position: absolute;
  width: 2px;
  background: var(--primary-color);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
}

/* Élément de chaque étape de la timeline */
.timeline-item {
  position: relative;
  width: 50%;
  padding: 15px 30px;
  box-sizing: border-box;
}

/* Positionnement des éléments alternés à gauche */
.timeline-item.left {
  left: 0;
}

/* Positionnement des éléments alternés à droite */
.timeline-item.right {
  left: 50%;
}

/* Points sur la ligne de la timeline */
.timeline-item::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: calc(50% - 8px);
  background: var(--dark);
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  z-index: 1;
}

/* Points pour les éléments à droite */
.timeline-item.right::before {
  left: -8px;
}

/* Points pour les éléments à gauche */
.timeline-item.left::before {
  right: -8px;
}

/* Lignes horizontales des étapes */
.timeline-item::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 2px;
  top: calc(50% - 1px);
  background: var(--primary-color);
  z-index: 1;
}

/* Lignes pour les éléments à droite */
.timeline-item.right::after {
  left: 8px;
}

/* Lignes pour les éléments à gauche */
.timeline-item.left::after {
  right: 8px;
}

/* Date de l'étape */
.timeline-item .date {
  position: absolute;
  display: inline-block;
  top: calc(50% - 8px);
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 1;
}

/* Positionnement des dates pour les éléments à gauche */
.timeline-item.left .date {
  right: -75px;
}

/* Positionnement des dates pour les éléments à droite */
.timeline-item.right .date {
  left: -75px;
}

/* Icônes des étapes */
.timeline-item .icon {
  position: absolute;
  display: inline-block;
  width: 40px;
  height: 40px;
  padding: 9px 0;
  top: calc(50% - 20px);
  background: var(--primary-color);
  border: 2px solid var(--dark);
  border-radius: 50%;
  text-align: center;
  font-size: 18px;
  color: var(--dark);
  z-index: 1;
}

/* Positionnement des icônes pour les éléments à gauche */
.timeline-item.left .icon {
  right: 56px;
}

/* Positionnement des icônes pour les éléments à droite */
.timeline-item.right .icon {
  left: 56px;
}

/* Contenu de chaque étape */
.timeline-item .content {
  padding: 20px;
  background: var(--background-color);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  color: var(--text-color);
}

/* Cartes modernes */
.card {
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Titres dans les contenus */
.timeline-item .content h2 {
  margin: 0 0 10px 0;
  font-size: 18px;
  font-weight: normal;
  color: var(--primary-color);
}

/* Paragraphes dans les contenus */
.timeline-item .content p {
  margin: 0;
  font-size: 16px;
  line-height: 22px;
  color: var(--text-color);
}

/* Styles responsive pour les écrans plus petits */
@media (max-width: 767.98px) {
  .timeline::after {
    left: 90px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 120px;
    padding-right: 30px;
  }

  .timeline-item.right {
    left: 0%;
  }

  .timeline-item.left::before,
  .timeline-item.right::before {
    left: 82px;
  }

  .timeline-item.left::after,
  .timeline-item.right::after {
    left: 100px;
    background-color: transparent;
  }

  .timeline-item.left .date,
  .timeline-item.right .date {
    right: auto;
    left: 15px;
  }

  .timeline-item.left .icon,
  .timeline-item.right .icon {
    right: auto;
    left: 146px;
  }

  .timeline-item.left .content,
  .timeline-item.right .content {
    padding: 30px 30px 30px 90px;
    border-radius: 500px 0 0 500px;
  }
}

/* Section Portfolio */
.portfolio-section {
  padding: 100px 20px;
  color: var(--text-color);
}
/* Filtre du portfolio */
.filter-menu {
  margin-bottom: 60px;
  text-align: center;
}

.filter-btn {
  padding: 12px 25px;
  margin: 0 10px;
  margin-bottom: 10px !important;
  background-color: var(--btn-bg);
  color: var(--text-color);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background-color: var(--btn-hover-bg);
}

/* Conteneur */
.container {
  max-width: 1300px;
}

/* Titre de section */
.section-title {
  text-align: center;
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 60px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

/* Filtre du portfolio */
.filter-menu {
  margin-bottom: 60px;
  text-align: center;
}

/* Style des boutons de filtre */
.filter-btn {
  padding: 12px 25px;
  margin: 0 15px;
  background-color: transparent; /* Fond transparent */
  color: var(--primary-color); /* Couleur du texte en vert */
  border: 2px solid var(--primary-color); /* Bordure verte */
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: color 0.3s ease, border-color 0.3s ease,
    background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Effet au survol et bouton actif */
.filter-btn.active,
.filter-btn:hover {
  color: var(--text-color); /* Couleur du texte en blanc */
  background-color: var(
    --primary-color
  ); /* Fond vert lors de l'activation ou du survol */
  border-color: var(--primary-color); /* Bordure verte */
  box-shadow: 0 0 10px 2px var(--shadow); /* Lumière verte */
}

/* Style global */
html,
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

.portfolio-grid {
  display: flex;
  flex-wrap: wrap;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  transition: box-shadow 0.4s ease;
}

.portfolio-item img {
  width: 100%;
  height: 300px; /* Taille uniforme pour les images */
  object-fit: cover;
  border-radius: 20px;
}

/* Infos projet */
.project-info {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
}

.project-title {
  position: absolute;
  top: 15px; /* Légère marge par rapport au haut */
  left: 20px; /* Légère marge par rapport à la gauche */
  background-color: rgba(0, 0, 0, 0.6);
  color: var(--primary-color);
  font-size: 20px;
  padding: 5px 10px;
  border-radius: 25px;
}

.project-technologies {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  gap: 10px;
}

.project-technologies span {
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 3px 8px;
  border-radius: 25px;
  font-size: 14px;
}

/* Bouton rond avec flèche */
.project-link {
  position: absolute;
  bottom: 20px;
  right: 20px;
  text-decoration: none;
}

.round-button {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
  border: solid 2px var(--primary-color);
  transition: background-color 0.3s, transform 0.3s;
  position: relative;
}

.round-button::before {
  content: "↗"; /* Flèche CSS */
  color: var(--background-color);
  font-size: 24px;
  font-weight: bold;
  transition: transform 0.3s, color 0.3s;
}

.round-button:hover {
  background-color: var(--background-color);
  border: solid 2px var(--primary-color);
  transform: scale(1.1);
}

/* Le hover doit affecter le pseudo-élément à travers l'élément parent */
.round-button:hover::before {
  color: var(--text-color);
}

/* Responsive */
@media (max-width: 767.98px) {
  .portfolio-item {
    margin-bottom: 20px;
  }

  .project-title {
    font-size: 18px;
  }

  .round-button {
    width: 40px;
    height: 40px;
  }

  .round-button::before {
    font-size: 20px;
  }
}

.blur-effect {
  position: relative;
}

.blur-effect::before {
  content: "";
  position: absolute;
  top: -30px;
  left: 50%;
  width: 80%;
  height: 110%;
  background-color: var(--primary-color); /* Vert fluo légèrement transparent */
  border-radius: 50%;
  transform: translate(50%, -100%) rotate(180deg); /* Crée un arc vers le bas */
  box-shadow: 0 0 80px var(--primary-color), 0 0 120px var(--shadow);
  filter: blur(80px);
  border-radius: 50%; /* Crée un cercle */
  transform: translateX(-50%); /* Centre le cercle horizontalement */
  z-index: -1; /* Place le cercle derrière le container */
}

.blur-effect-footer {
  position: relative;
}

.blur-effect-footer::before {
  content: "";
  position: absolute;
  top: -30px;
  left: 50%;
  width: 100%;
  height: 100%;
  background-color: var(--primary-color); /* Vert fluo légèrement transparent */
  border-radius: 50%;
  transform: translate(50%, -100%) rotate(180deg); /* Crée un arc vers le bas */
  box-shadow: 0 0 80px var(--primary-color), 0 0 120px var(--shadow);
  filter: blur(40px);
  border-radius: 50%; /* Crée un cercle */
  transform: translateX(-50%); /* Centre le cercle horizontalement */
  z-index: -1; /* Place le cercle derrière le container */
}

.cta-section {
  padding: 60px 0;
}

.cta-card {
  background-color: var(--background-color);
  border-radius: 50px;
  padding: 20px 20px;
  width: 100%;
  display: flex;
  flex-direction: row;
  overflow: hidden;
}

.card-body {
  padding: 40px;
  color: var(--dark);
}

.cta-title {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-color);
}

.cta-text {
  font-size: 1.2rem;
  margin-top: 15px;
  margin-bottom: 30px;
  color: var(--second-text-color);
}

.card-img-right {
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .cta-card {
    flex-direction: column;
  }

  .card-img-right {
    height: 100%;
    object-fit: cover;
  }

  .card-body {
    padding: 20px;
    text-align: center;
  }

  .cta-title {
    font-size: 1.5rem;
  }

  .cta-text {
    font-size: 1rem;
  }
}

.faq-section {
  color: var(--text-color);
  padding: 60px 0;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--dark);
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 20px;
  cursor: pointer;
  position: relative;
  transition: box-shadow 0.3s; /* Retenir uniquement le box-shadow */
}

.faq-item:hover {
  box-shadow: none; /* Enlever l'effet de scale et de box-shadow sur la carte */
}

.faq-item.active {
  box-shadow: 0 0 20px var(--primary-color); /* Ajout de lumière verte */
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question h2 {
  font-size: 1.3rem;
  color: var(--text-color);
  margin: 0;
  text-transform: uppercase;
}

.faq-toggle {
  font-size: 1.5rem;
  color: var(--dark);
  background-color: var(--primary-color); /* Fond vert */
  border-radius: 50%; /* Rend le bouton complètement rond */
  padding: 10px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s; /* Transition pour le bouton */
}

.faq-toggle:hover {
  box-shadow: 0 0 10px var(--primary-color); /* Effet de survol sur le bouton */
  transform: scale(1.1); /* Légère augmentation de taille au survol */
}

.faq-answer {
  display: none;
  margin-top: 15px;
  font-size: 1rem;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out; /* Transition douce */
}

.faq-item.active .faq-answer {
  display: block;
  opacity: 1;
  max-height: 500px; /* Ajuster selon le contenu */
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg); /* Change "+" to "x" */
}

/* Responsivité */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .faq-question h2 {
    font-size: 1.25rem;
  }

  .faq-toggle {
    width: 35px;
    height: 35px;
    font-size: 1.25rem;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 2rem;
  }

  .faq-item {
    padding: 15px;
  }

  .faq-question h2 {
    font-size: 1.15rem;
  }

  .faq-toggle {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }
}

/* Section contact */
.contact-section {
  color: var(--text-color);
  padding: 60px 20px;
}

.contact-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap; /* Permet aux éléments de s'adapter sur les petites écrans */
}

.image-container {
  flex: 1;
  min-width: 300px; /* Largeur minimale pour l'image */
}

.contact-image {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.form-wrapper {
  flex: 1;
  max-width: 600px;
  padding: 20px;
  transition: transform 0.3s;
}

.form-group {
  margin-bottom: 20px;
}

.form-control {
  background-color: transparent;
  color: var(--text-color);
  border: 2px solid var(--primary-color);
  border-radius: 25px;
  padding: 15px;
  padding-left: 10px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  transition: background-color 0.3s ease;
  position: relative;
}

.form-control::placeholder {
  color: var(--text-color);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.form-control:focus {
  border-color: var(--btn-bg);
  background-color: var(--background-color);
  outline: none;
  color: white;
  box-shadow: 0 0 5px var(--btn-bg);
}

.form-control:focus::placeholder {
  opacity: 0;
}

.form-response {
  margin-top: 20px;
  font-size: 1rem;
  color: var(--primary-color);
  display: none;
  text-align: center;
}

/* Media Queries pour Responsive Design */
@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column; /* Passer à une colonne sur les écrans plus petits */
    align-items: center;
    gap: 10px; /* Réduire l'espacement entre l'image et le formulaire */
  }

  .image-container {
    width: 100%; /* Prendre toute la largeur sur mobile */
    margin-bottom: 10px; /* Espacement réduit entre l'image et le formulaire */
  }

  .form-wrapper {
    width: 100%; /* Prendre toute la largeur sur mobile */
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 2rem; /* Réduire la taille du titre */
  }

  .form-control {
    padding: 10px; /* Réduire le padding des champs sur mobile */
  }

  .btn {
    padding: 10px 20px; /* Ajuster le padding du bouton */
    font-size: 1rem; /* Réduire la taille de la police */
  }
}

.footer {
  background-color: var(--background-color);
  color: #fff;
  padding: 80px 0;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.footer-title {
  font-size: 48px;
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.footer-tagline {
  font-size: 24px;
  color: #fff;
  font-weight: bold;
  margin-bottom: 10px;
}

.footer-description {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  text-transform: lowercase;
}

.footer-subtitle {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-links {
  list-style: none;
  padding: 0;
  font-size: 18px;
  font-weight: 600;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.social-icons {
  margin-top: 15px;
}

.social-icons a {
  margin-right: 15px;
  color: #fff;
  font-size: 30px;
  transition: transform 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.2);
  color: var(--primary-color);
}

.contact-info {
  font-size: 18px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.9);
}

.contact-info a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

/* Centrer la section "Naviguer ici" */
.footer .row {
  display: flex;
  justify-content: center;
}

.footer .col-lg-4,
.footer .col-md-6 {
  margin-bottom: 20px;
}

/* Centrer la colonne des liens de navigation */
.footer .col-lg-4:nth-child(2) {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Footer Bottom */
.footer-bottom {
  padding-top: 40px;
  margin-top: 50px;
  border-top: 2px solid rgba(255, 255, 255, 0.1);
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  letter-spacing: 3px;
  text-align: center;
}

/* Media Queries pour Responsive Design */

/* Petits écrans (mobiles) */
@media (max-width: 768px) {
  .footer-title {
    font-size: 36px;
  }
  .footer-tagline {
    font-size: 18px;
  }
  .footer-description {
    font-size: 14px;
  }
  .footer-subtitle {
    font-size: 18px;
  }
  .footer-links {
    font-size: 16px;
  }
  .social-icons a {
    font-size: 24px;
  }
  .footer-bottom {
    font-size: 14px;
  }
}

/* Moyens écrans (tablettes) */
@media (max-width: 992px) {
  .footer .row {
    flex-direction: column;
    align-items: center;
  }
  .footer .col-lg-4,
  .footer .col-md-6 {
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
  }
  .footer-links {
    font-size: 16px;
  }
}

/* Grands écrans */
@media (min-width: 1200px) {
  .footer-title {
    font-size: 52px;
  }
  .footer-tagline {
    font-size: 26px;
  }
  .footer-description {
    font-size: 18px;
  }
  .footer-subtitle {
    font-size: 24px;
  }
  .footer-links {
    font-size: 20px;
  }
  .social-icons a {
    font-size: 36px;
  }
}

@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@900&family=Poppins:wght@600&family=Playfair+Display:ital@1&display=swap");

.impact-section {
  background-color: var(--background-color);
  padding: 2rem;
}

.main-heading {
  color: var(--second-text-color);
  font-size: 2.8rem;
  line-height: 1.2;
  font-family: "Roboto", sans-serif;
  margin: 0;
  padding-top: 2em;
}

@media (max-width: 768px) {
  .main-heading {
    font-size: 1.3rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }
}

.emphasis {
  font-size: 3rem;
  background-color: var(--primary-color);
  color: var(--background-color);
  padding: 0.3rem 0.6rem;
  border-radius: 8px;
  font-family: "Poppins", sans-serif;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .impact-section {
    padding: 0;
  }
  .emphasis {
    font-size: 1.3rem;
    line-height: 1.2;
    padding: 0.2rem 0.4rem;
    margin-bottom: 0.5rem;
  }
}

.bold-text {
  font-weight: 900;
  font-family: "Poppins", sans-serif;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.italic {
  font-style: italic;
  font-family: "Playfair Display", serif;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.underline {
  text-decoration: underline;
  font-family: "Poppins", sans-serif;
  background-color: var(--dark);
  padding: 0.1rem 0.5rem 0.5rem 0.5rem;
  border-radius: 5px;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .underline {
    padding: 0.3rem;
  }
}

.section-title {
  position: relative;
  font-size: 2.5rem;
  color: var(--primary-color);
  overflow: hidden;
}

.section-title:hover::after {
  transform: translateX(0);
}

.box {
  width: 200px;
  border-radius: 25px;
  background-color: #1b1930;
  position: relative;
}
@property --angle {
  syntax: "<angle>";
  inherits: true;
  initial-value: 0deg;
}
.box::after,
.box::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  --angle: 0deg;
  background-image: conic-gradient(
    from var(--angle),
    #ff00ff,
    #ffd700,
    #ff00ff
  );

  animation: autoRotate 5s linear infinite;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  padding: 2px;
  box-sizing: unset;
}
.box::after {
  filter: blur(60px);
}
@keyframes autoRotate {
  to {
    --angle: 360deg;
  }
}

.static-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.btn-static {
  padding: 0.4rem 1.2rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color);
  border-radius: 50px;
  cursor: default;
  overflow: hidden;
}

/* Centrage du contenu au-dessus du dégradé */
.btn-static > * {
  position: relative;
  z-index: 1;
}
