
/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
  --main-color: #000000;
  --point-color: #555;
  --size: 5px;
  --fade-duration: 1s; /* DurÃ©e du fondu, ajustez selon vos prÃ©fÃ©rences */
}

.loader {
  background-color: var(--main-color);
  overflow: hidden;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0; left: 0;
  display: flex;
  align-items: center;
  align-content: center; 
  justify-content: center;  
  z-index: 100000;
  opacity: 1;
  transition: opacity var(--fade-duration) ease-in-out;
}


.loader.fade-out {
  visibility: hidden;
  transition: visibility 0s 1s, opacity 1s ease-in-out;
  opacity: 0;
}


.loader__element {
  border-radius: 100%;
  border: var(--size) solid var(--point-color);
  margin: calc(var(--size)*2);
}

.loader__element:nth-child(1) {
  animation: preloader .6s ease-in-out alternate infinite;
}
.loader__element:nth-child(2) {
  animation: preloader .6s ease-in-out alternate .2s infinite;
}
.loader__element:nth-child(3) {
  animation: preloader .6s ease-in-out alternate .4s infinite;
}

@keyframes preloader {
  100% { transform: scale(2); }
}
@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}


body {
  font-family: "Open Sans", sans-serif;
  /* color: #ffffff; */
}

a {
  color: #9500ff;
  text-decoration: none;
}

a:hover {
  color: #9500ff;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Raleway", sans-serif;

}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #9500ff;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: black;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
body, h1, h2, h3, p, ul, li {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
}


/*--------------------------------------------------------------
# Navigation Menu Stylé
--------------------------------------------------------------*/
#header {
  background: transparent;
  padding: 20px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: background-color 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}

#header.scrolled {
  background-color: rgba(15, 16, 17, 0.95); /* noir translucide */
  box-shadow: 0 4px 15px rgba(149, 0, 255, 0.3); /* glow violet */
  backdrop-filter: blur(6px); /* effet glassmorphism */
}

#navbar {
  display: flex;
  justify-content: center;
  align-items: center;
}

#navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 25px; /* espace plus uniforme */
}

#navbar ul li {
  position: relative;
}

#navbar a {
  font-size: 21px; /* texte plus grand */
  font-family: "Poppins", sans-serif;
  text-decoration: none;
  color: #fff;
  position: relative;
  padding: 5px 0;
  transition: color 0.3s ease-in-out;
}


/* Effet underline fluide */
#navbar a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #9500ff, #4a00e0);
  transition: width 0.3s ease-in-out;
  border-radius: 2px;
}

#navbar a:hover {
  color: #a98afd;
  text-shadow: 0 0 10px rgba(149, 0, 255, 0.7);
}

#navbar a:hover::after {
  width: 100%;
}

/* Actif = soulignement violet */
#navbar .active a {
  color: #a98afd;
  text-shadow: 0 0 12px rgba(149, 0, 255, 0.9);
}

#navbar .active a::after {
  width: 100%;
}






#menuBtn {
  position: fixed;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  padding: 8px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  background-color: #000000;
  color: #fff;
  transition: background-color 0.3s ease, color 0.3s ease;
  z-index: 2;
}



#menuBtn:hover {
  background-color: #9500ff;
}

.button-container {
  display: none;
  position: fixed;
  top: 50%;
  left: 90px;
  transform: translateY(-50%);
  flex-direction: column;
  align-items: center;
  z-index: 1;
}

.button-container button {
  margin-bottom: 10px;
  padding: 5px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  background-color: #007bff;
  color: #a45a5a;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.button-container.show {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.button-container.show button {
  display: block;
  width: 100%;
}




/* Styles spÃ©cifiques pour le bouton changeBackgroundBtn */
#changeBackgroundBtn {
  background-color: #000000;
  color: #ffffff;
  /* Ajoutez d'autres styles si nÃ©cessaire */
}

#changeBackgroundBtn:hover {
  background-color: #ac37ff;
}

/* Styles spÃ©cifiques pour le bouton changeColorButton */
#changeColorButton {
  background-color: #000000;
  color: #ffffff;
  /* Ajoutez d'autres styles si nÃ©cessaire */
}

#changeColorButton:hover {
  background-color: #ac37ff;
}

/* Styles spÃ©cifiques pour le bouton Darkmode */
#Darkmode {
  background-color: #000000;
  color: #ffffff;
  /* Ajoutez d'autres styles si nÃ©cessaire */
}

#Darkmode:hover {
  background-color: #ac37ff;
}



 

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */


/*--------------------------------------------------------------
# Hero Section Ultra Stylée
--------------------------------------------------------------*/

#hero {
  width: 100%;
  height: 100vh;
  background: linear-gradient(rgba(15, 0, 75, 0.5), rgba(0,0,0,0.5)), url("../img/hero-bg.jpg") top center;
  background-size: cover;
  background-attachment: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
  position: relative;
  overflow: hidden;
}

/* Conteneur du texte */
#hero .hero-container {
  position: relative;
  z-index: 2;
  min-width: 300px;
  max-width: 90%;
}

/* Titre principal */
#hero h1 {
  margin: 0 0 10px 0;
  font-size: 70px;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 0 0 10px #9500ff, 0 0 20px black, 4px 4px 10px black;
  transition: all 0.4s ease;
}

#hero h1:hover {
  color: #a98afd;
  text-shadow: 0 0 20px #9500ff, 0 0 30px black, 4px 4px 10px black;
  transform: scale(1.05);
}

/* Sous-titre ou description */
#hero p {
  color: #fff;
  font-size: 26px;
  margin-bottom: 50px;
  font-family: "Poppins", sans-serif;
  text-shadow: 0 0 6px black, 4px 4px 5px black;
  line-height: 1.4;
}

#hero p span {
  color: #fff;
  letter-spacing: 1px;
  border-bottom: 4px solid #9500ff;
  transition: border-color 0.3s ease, color 0.3s ease;
}

#hero p span:hover {
  color: #a98afd;
  border-color: #a98afd;
}
/* Boutons gris/noir avec texte blanc et effets */
#hero a {
  color: #fff;
  text-shadow: 0 0 10px black;
  font-size: 20px;
  font-weight: 600;
  background-color: rgba(30, 30, 30, 0.7);
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  text-decoration: none;
  display: inline-block;
  margin: 0 2px; /* espace horizontal entre boutons */
}

/* Hover : violet et légèrement agrandi */
#hero a:hover {
  color: #fff;
  background: linear-gradient(90deg, #6200ff, #9500ff);
  text-shadow: 0 0 10px #00000000, 0 0 15px #000000;
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(149, 0, 255, 0.7);
}

/* Animation douce pour le fond (optionnelle) */
@keyframes gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Responsive */
@media (max-width: 1024px) {
  #hero h1 {
    font-size: 50px;
  }

  #hero p {
    font-size: 22px;
  }

  #hero a {
    font-size: 20px;
    padding: 12px 25px;
  }
}

@media (max-width: 768px) {
  #hero h1 {
    font-size: 32px;
    line-height: 36px;
  }

  #hero p {
    font-size: 18px;
    line-height: 24px;
  }

  #hero a {
    font-size: 18px;
    padding: 10px 20px;
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/


section {
padding: 60px;
  overflow: hidden;
  background-color: #1e1f22
  

}

.section-bg {
  background: #1e1f22
}

.section-title {
  padding-bottom: 30px;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  text-transform: uppercase;
}
.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: #ffffff;
  text-shadow: #220c74 4px 4px 8px;
  
}


.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: #5b00c2;
  bottom: 0;
  left: 0;
}

.section-title p {
  margin-bottom: 0;
}/*--------------------------------------------------------------
# About Section - Thème moderne noir/violet
--------------------------------------------------------------*/

/* Conteneur des colonnes */
.about-row {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

/* Colonnes */
.about-col {
  flex: 1;
  min-width: 300px;
  padding: 25px;
  border-radius: 20px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.6;
  transition: all 0.3s ease;
  box-shadow: 15px 15px 35px rgba(0,0,0,0.5), -15px -15px 35px rgba(77,75,155,0.2);
}

/* Bloc infos à gauche */
.about-info {
  background: rgba(50, 50, 60, 0.9);
  color: #fff;
  text-shadow: 0 0 8px black;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  
}

.about-info:hover {
  transform: scale(1.02);
  box-shadow: 0 0 25px rgba(149,0,255,0.5), 0 0 35px rgba(77,75,155,0.4);
}

.about-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
   text-transform: uppercase;
}

.about-info ul li {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease, color 0.3s ease;
}

.about-info ul li:hover {
  transform: translateX(5px);
  color: #a98afd; /* violet au survol */
}

.about-info ul strong {
  margin-right: 10px;
  color: #9933ff;
}

.about-info ul i {
  font-size: 18px;
  margin-right: 8px;
  color: #ffffff;
  animation: bounceIcon 2s infinite;
}
.about-text p {
  margin-bottom: 2px; /* espace entre les phrases */
}

@keyframes bounceIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* Bloc paragraphe à droite */
.about-text {
  background: rgba(149,0,255,0.15); /* violet clair transparent */
  color: #fff;
  text-shadow: 0 0 8px black;
  border-radius: 20px;
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-text:hover {
  transform: scale(1.02);
  box-shadow: 0 0 25px rgba(149,0,255,0.4), 0 0 35px rgba(77,75,155,0.3);
}

.about-text p {
  margin: 0;
}
/* Style pour les liens mail dans le bloc infos */
.about-info ul li a {
  color: #fff; /* blanc */
  text-decoration: none; /* supprime le soulignement */
  transition: color 0.3s ease;
}

.about-info ul li a:hover {
  color: #a98afd; /* violet au survol */
  text-shadow: 0 0 5px #9500ff;
}

/* Section titre */
.section-title h2 {
  text-align: center;
  font-size: 32px;
  color: #a98afd;
  font-weight: 700;
  margin-bottom: 40px;
  text-shadow: 1px 1px 5px black;
}

/* Responsive */
@media (max-width: 768px) {
  .about-row {
    flex-direction: column;
  }

  .about-col {
    width: 100%;
  }
}


/* Skills Section */
.skills .section-title h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: #a98afd;
  margin-bottom: 40px;
    text-transform: uppercase;
}

/* Grille 3x3 */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* Cartes */
.skills-grid .card {
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  box-shadow: 10px 10px 25px rgba(0,0,0,0.4), -10px -10px 25px rgba(77, 75, 155, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-weight: 500;

  
}

.skills-grid .card:hover {
  transform: scale(1.03);
  box-shadow: 15px 15px 35px rgba(0,0,0,0.5), -15px -15px 35px rgba(77, 75, 155, 0.5);
}

.skills-grid .card h5 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #a98afd;
    text-transform: uppercase;
    font-weight: bold;
}

.skills-grid .card p {
 font-size: 18px;
  line-height: 1.5;
  text-align: left;
}

/* Responsive */
@media (max-width: 1024px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }
}


/*--------------------------------------------------------------
# Resume
--------------------------------------------------------------*/
.resume .separation {
  border-radius: 10px;
  padding: 30px;
  background-color: #191e20;
  border-radius: 30px;
  background-image: linear-gradient(to right bottom, #0c0c0d, #0b0b0d, #09090c, #08080c, #0d0b14);
  box-shadow: 15px 15px 30px rgb(15, 15, 15), -15px -15px 30px rgba(77, 75, 155, 0.534);
  animation: autoShadow 1s infinite alternate ease-in-out;
}
.resume-img {
  position: absolute;
  top: 10; /* Ajustez cette valeur selon vos besoins */
  right: 310px; /* Ajustez cette valeur selon vos besoins */
}


.resume .resume-title {
  font-size: 26px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #9500ff;
}

.resume .resume-item {
  padding: 0 0 20px 20px;
  margin-top: -2px;
  border-left: 2px solid #ffffff;
  position: relative;
  color: white;
  text-shadow: #000000;
}

.resume .resume-item h4 {

  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
  color: #a98afd;
  margin-bottom: 10px;
}

.resume .resume-item h5,
.resume .resume-item p {
  font-size: 18px;
  background: #1c1d1f94;
  padding: 5px 15px;
  display: inline-block;
  font-weight: 600;
  margin-bottom: 10px;
   font-size: 18px;
}

.resume .resume-item ul {
  padding-left: 20px;
}

.resume .resume-item ul li {
  padding-bottom: 10px;
}

.resume .resume-item:last-child {
  padding-bottom: 0;
}

.resume .resume-item::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50px;
  left: -9px;
  top: 0;
  background: #fff;
  border: 2px solid #6200ff;
}
/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
/* Animation fluide des cartes filtrées */
.portfolio-item {
  transition: all 0.4s ease; /* transition douce */
  opacity: 1;
  transform: scale(1);
}

.portfolio-item.hide {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none; /* empêche l'interaction sur les éléments masqués */
  height: 0;
  margin: 0;
  padding: 0;
}

/* Carte principale */
.portfolio .portfolio-card {
  border-radius: 15px;
  background: linear-gradient(to right bottom, #0c0c0d, #0b0b0d, #09090c, #08080c, #0d0b14);
  color: #fff;
  box-shadow: 15px 15px 30px rgb(15, 15, 15),
              -15px -15px 30px rgba(77, 75, 155, 0.534);
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 40px;
}

.portfolio .portfolio-card:hover {
  transform: scale(1.03);
  box-shadow: 20px 20px 40px rgb(15, 15, 15),
              -20px -20px 40px rgba(77, 75, 155, 0.534);
}

/* Titre */
.portfolio .portfolio-card h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffffff;
}

/* Dates */
.portfolio .portfolio-card .dates {
  font-size: 14px;
  font-weight: 500;
  background: #1c1d1f94;
  display: inline-block;
  padding: 5px 12px;
  border-radius: 6px;
  margin-bottom: 12px;
    font-weight: bold; /* Texte en gras */
  background: rgba(28,29,31,0.58);
  border-radius: 5px;
  color: #fff;
}
/* Texte */
.portfolio .portfolio-card p {
  font-size: 16px; /* taille un peu plus grande */
  line-height: 1.6;
  margin-bottom: 10px;
  font-weight: bold; /* Texte en gras */
  background: rgba(28,29,31,0.58);
  padding: 5px 15px;
  display: block;
  border-radius: 5px;
  color: #fff;
}

/* Badges technos */
.portfolio .tech-badges {
  margin: 10px 0 15px 0;
}

.portfolio .tech-badges span {
  display: inline-block;
  margin: 3px;
  padding: 5px 10px;
  border-radius: 8px;
  background: #a98afd;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

/* Boutons */
.portfolio .portfolio-links {
  margin-top: 15px;
}

.portfolio .portfolio-links .details-btn,
.portfolio .portfolio-links .github-btn {
  margin: 5px;
  display: inline-block;
  padding: 8px 15px;
  border-radius: 8px;
  background: #a98afd;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.portfolio .portfolio-links .details-btn:hover,
.portfolio .portfolio-links .github-btn:hover {
  background: #a98afd;
}

/* ===== Portfolio Filter Bar ===== */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
  justify-content: center;
}

.portfolio-filters .filter-btn {
  background: linear-gradient(135deg, #9500ff, #000000);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, background 0.3s;
}

.portfolio-filters .filter-btn:hover {
  background: linear-gradient(135deg, #9500ff, #6200ff);
  transform: scale(1.05);
}

.portfolio-filters .filter-btn.active {
  background: linear-gradient(135deg, #dd00ff, #5702e1);
  box-shadow: 0 4px 15px rgba(255, 60, 0, 0.4);
}

/* ===== Portfolio Section ===== */
.portfolio {
  padding: 60px 0;
}

.portfolio .section-title h2 {
  color: #a98afd;
  text-align: center;
  margin-bottom: 40px;
  font-size: 32px;
  font-weight: 700;
}

/* ===== Portfolio Filter Bar ===== */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
}

.portfolio-filters .filter-btn {
  background: linear-gradient(135deg, #9951a8, #9500ff);
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, background 0.3s;
}

.portfolio-filters .filter-btn:hover {
  background: linear-gradient(135deg, #000000, #000000);
  transform: scale(1.05);
}

.portfolio-filters .filter-btn.active {
  background: linear-gradient(135deg, #000000, #000000);
  box-shadow: 0 4px 15px rgba(255, 0, 230, 0.4);
}

/* ===== Portfolio Cards ===== */
.portfolio-card {
  background: linear-gradient(to right bottom, #0c0c0d, #0b0b0d, #09090c, #08080c, #0d0b14);
  color: #fff;
  border-radius: 12px;
  box-shadow: 15px 15px 30px rgb(15, 15, 15), -15px -15px 30px rgba(77, 75, 155, 0.534);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card:hover {
  transform: scale(1.02);
  box-shadow: 20px 20px 40px rgb(15, 15, 15), -20px -20px 40px rgba(77, 75, 155, 0.534);
}

.portfolio-card h4 {
  font-size: 20px;
  color: #9500ff;
  font-weight: 700;
  margin-bottom: 10px;
}

.portfolio-card .dates {
  font-size: 14px;
  font-weight: 500;
  background: #1c1d1f94;
  display: inline-block;
  padding: 5px 12px;
  border-radius: 6px;
  margin-bottom: 10px;
  color: #eee;
}

.portfolio-card .tech-badges {
  margin: 8px 0 12px 0;
}

.portfolio-card .tech-badges span {
  display: inline-block;
  margin: 3px;
  padding: 5px 10px;
  border-radius: 8px;
  background: #9500ff;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.portfolio-card .portfolio-links {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.portfolio-card .portfolio-links .details-btn,
.portfolio-card .portfolio-links .preview-btn,
.portfolio-card .portfolio-links .github-btn {
  background: #9500ff;
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s;
}

.portfolio-card .portfolio-links .details-btn:hover,
.portfolio-card .portfolio-links .preview-btn:hover,
.portfolio-card .portfolio-links .github-btn:hover {
  background: #000000;
  transform: scale(1.05);
}

/* ===== Hidden Project Containers ===== */
.hidden {
  display: none;
  margin-top: 15px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .portfolio-filters {
    gap: 8px;
  }
  .portfolio-card h4 {
    font-size: 18px;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.contact .section-title h2 {
  color: #9500ff;
  text-align: center;
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 2.5rem;
}

.contact .section-title p {
  color: #ccc;
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.1rem;
}


@media (max-width: 1199px) {
  #footer {
    position: static;
    width: auto;
    padding-right: 20px 15px;
  }
}
.contact.section-bg {
 background-color: rgb(30, 31, 34);
  padding: 60px 0;
  color: white;
}

.contact .section-title h2 {
  color: #9500ff;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.contact-card {
  background: linear-gradient(to right bottom, #0c0c0d, #0b0b0d, #09090c, #08080c, #0d0b14);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 10px 10px 25px rgba(0,0,0,0.5), -10px -10px 25px rgba(77,75,155,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 15px 15px 30px rgba(0,0,0,0.7), -15px -15px 30px rgba(77,75,155,0.5);
}

.contact-card .contact-img img {
  max-width: 200px;
  border-radius: 15px;
}

.contact-card label {
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
  color: #a98afd;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  padding: 10px 15px;
  margin-bottom: 20px;
  border-radius: 8px;
  border: none;
  background: rgba(28,29,31,0.6);
  color: white;
  font-size: 16px;
}

.contact-card button {
  display: inline-block;
  padding: 10px 20px;
  background: #9500ff;
  color: #1c1c1c;
  border-radius: 5px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-card button:hover {
  background: #7b63d3;
  color: white;
}



@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}/* ===== Stage Section ===== */
.stage-section {
 background-color: rgb(30, 31, 34);
  padding: 60px 0;
  color: white;
  text-align: center;
}

/* Titre de la section */
.stage-section .section-title h2 {
  color: #9500ff;
  font-weight: 700;
  margin-bottom: 40px;
}

/* Cartes de stage */
.stage-card {
 background: linear-gradient(to right bottom, #0c0c0d, #0b0b0d, #09090c, #08080c, #0d0b14);
  border-radius: 15px;
  padding: 25px;
  box-shadow: 15px 15px 30px rgba(15,15,15,0.6), -15px -15px 30px rgba(77,75,155,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover */
.stage-card:hover {
  transform: translateY(-5px);
  box-shadow: 20px 20px 40px rgba(15,15,15,0.7), -20px -20px 40px rgba(77,75,155,0.5);
}

/* Titres des stages */
.stage-card .resume-title {
  color: #9500ff;
  font-weight: 700;
  margin-bottom: 15px;
}

/* Sous-titres et textes */
.stage-card h5,
.stage-card p {
  font-size: 16px;
  background: rgba(28,29,31,0.58);
  padding: 5px 15px;
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
  border-radius: 5px;
  color: #fff;
}
.stage-info {
  display: flex;            /* met les éléments sur une ligne */
  flex-wrap: wrap;          /* permet de revenir à la ligne si c’est trop petit */
  gap: 15px;                /* espace entre les items */
  justify-content: center;  /* centre horizontalement */
  margin-bottom: 15px;
}

.stage-info h5 {
  background: rgba(28, 29, 31, 0.58);
  padding: 5px 10px;
  border-radius: 5px;
  font-weight: 600;
  color: white;
  margin: 0;                /* supprimer les marges par défaut */
}

/* Boutons */
.stage-card .details-btn,
.stage-card .github-btn,
.stage-card .maquette-btn {
  display: inline-block;
  margin: 5px 5px 0 0;
  padding: 8px 14px;
  border-radius: 8px;
  background: #9500ff;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.stage-card .details-btn:hover,
.stage-card .github-btn:hover,
.stage-card .maquette-btn:hover {
  background: #000000;
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .stage-card h5,
  .stage-card p {
    font-size: 14px;
  }
}



.veille.section-bg {
 background-color: rgb(30, 31, 34);
  padding: 60px 0;
  color: white;
}

.veille .section-title h2 {
  color: #9500ff !important;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.veille-card {
  background: linear-gradient(to right bottom, #0c0c0d, #0b0b0d, #09090c, #08080c, #0d0b14);
  border-radius: 15px;
  padding: 25px;
  box-shadow: 10px 10px 25px rgba(0,0,0,0.5), -10px -10px 25px rgba(77,75,155,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.veille-card:hover {
  transform: translateY(-5px);
  box-shadow: 15px 15px 30px rgba(0,0,0,0.7), -15px -15px 30px rgba(77,75,155,0.5);
}

.veille-card h4, .veille-card h5, .veille-card h6 {
  color: #9500ff;
  font-weight: 600;
  margin-bottom: 15px;
}

.veille-card p {
  font-size: 16px;
  line-height: 1.6;
  background: rgba(28,29,31,0.6);
  padding: 10px 15px;
  border-radius: 8px;
  margin-bottom: 15px;
}

.veille-card a.details-btn, 
.veille-card .button8 {
  display: inline-block;
  padding: 8px 15px;
  background: #9500ff;
  color: #ffffff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 10px;
  transition: all 0.3s ease;
}

.veille-card a.details-btn:hover, 
.veille-card .button8:hover {
  background: #000000;
  color: white;
}

.veille-card .veille-image {
  max-width: 100%;
  border-radius: 10px;
  display: block;
  margin: 15px 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
}

.push-references {
  margin-top: 25px; /* espacement plus grand */
}


.contact-box {
  padding: 30px;
  background-image: linear-gradient(to right bottom, #0c0c0d, #0b0b0d, #09090c, #08080c, #0d0b14);
  box-shadow: 15px 15px 30px rgb(15, 15, 15), -15px -15px 30px rgba(77, 75, 155, 0.534);
  border-radius: 10px;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  color: white;
}

.contact-box label {
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
}

.contact-box input[type="email"],
.contact-box textarea {
  width: 100%;
  padding: 8px;
  border-radius: 5px;
  border: 1px solid #ccc;
  background-color: #f8f8f8;
  margin-bottom: 10px;
}

.contact-box button {
  background-color: #9500ff;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

.contact-box button:hover {
  background-color: #7d5eff;
}

/* Pour les navigateurs WebKit (Chrome, Safari, Opera) */
::-webkit-scrollbar {
  width: 10px; /* Largeur de la scrollbar */
}

::-webkit-scrollbar-track {
  background-color: #333; /* Couleur de fond de la track en gris foncé */
}

::-webkit-scrollbar-thumb {
  background-color: #666; /* Couleur de la thumb en gris foncé */
  border-radius: 5px; /* Arrondi de la thumb */
}




/* Styles pour le modal */
.modal {
  display: none; /* Par défaut, le modal est caché */
  position: fixed; /* Positionnement fixe pour le modal */
  z-index: 1000; /* Assure que le modal est au-dessus de tout le reste */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Fond semi-transparent pour assombrir l'arrière-plan */
  overflow: auto; /* Permet le défilement si le contenu du modal est trop long */
}

/* Contenu du modal */
.modal-content {
  background-color: #121212;
  margin: 15% auto; /* Centre le modal verticalement et horizontalement */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Largeur du modal */
  max-width: 600px; /* Largeur maximale du modal */
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  position: relative;
}

/* Bouton pour fermer le modal */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Style pour l'image dans le modal */
.modal-content img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}.details-btn,
.github-btn,
.maquette-btn {
  display: inline-block;
  padding: 5px 10px; /* Ajustement de la taille du bouton */
  margin-right: 10px;
  border: none;
  border-radius: 3px; /* Plus petit rayon de bordure */
  background-color: #7d5eff; /* Couleur de fond */
  color: #fff; /* Couleur du texte */
  font-size: 14px; /* Taille de la police réduite */
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.details-btn:hover,
.github-btn:hover,
.maquette-btn:hover {
  background-color: #9500ff; /* Couleur de fond au survol */
}

.github-btn {
  background-color: #7d5eff; /* Utilise la même couleur que les autres boutons */
}

.github-btn:hover {
  background-color: #9500ff; /* Couleur de fond au survol */
}

.maquette-btn {
  background-color: #7d5eff; /* Utilise la même couleur que les autres boutons */
}

.maquette-btn:hover {
  background-color: #9500ff; /* Couleur de fond au survol */
}


/* Styles for Veille Section */
#veille {
  padding: 80px 0;
}

#veille .section-title h2 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 30px;
  color: #fff;
  text-align: center;
}

#veille .veille-box {
  margin-top: 50px;
}

#veille .veille-box .row {
  justify-content: center;
}

#veille .veille-box h3 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #fff;
}

#veille .veille-box p {
  font-size: 18px;
  line-height: 1.8;
  color: #fff;
}

#veille .veille-box .col-lg-6 {
  margin-bottom: 30px;
}

#veille .competences-block {
  padding: 30px;
  background-image: linear-gradient(to right bottom, #0c0c0d, #0b0b0d, #09090c, #08080c, #0d0b14);
  box-shadow: 15px 15px 30px rgb(15, 15, 15), -15px -15px 30px rgba(77, 75, 155, 0.534);
  border-radius: 10px;
  color: #fff;
}

#veille .competences-block h2 {
  font-size: 24px;
  font-weight: bold;
  color: #9500ff;
  margin-bottom: 20px;
}

#veille .competences-block .carousel-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #fff;
}

#veille .competences-block .carousel-item h4 {
  font-size: 18px;
  font-weight: bold;
  color: #9500ff;
  margin-bottom: 10px;
}

#veille .competences-block .carousel-item p {
  font-size: 16px;
  color: #fff;
}

#veille .competences-block .carousel-control-prev-icon,
#veille .competences-block .carousel-control-next-icon {
  background-color: #9500ff;
}

#veille .competences-block .button8 {
  background-color: #9500ff;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease-in-out;
}

#veille .competences-block .button8:hover {
  background-color: #8d72dc;
}
/*--------------------------------------------------------------
# Certifications
--------------------------------------------------------------*/
/* === Certifications Section === */
.certifications .cert-card {
  border-radius: 20px;
  background: linear-gradient(to right bottom, #0c0c0d, #0b0b0d, #09090c, #08080c, #0d0b14);
  color: #fff;
  box-shadow: 15px 15px 30px rgb(15, 15, 15),
              -15px -15px 30px rgba(77, 75, 155, 0.534);
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certifications .cert-card:hover {
  transform: scale(1.03);
  box-shadow: 20px 20px 40px rgb(15, 15, 15),
              -20px -20px 40px rgba(77, 75, 155, 0.534);
}

.certifications .cert-card h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #a98afd;
  text-transform: uppercase;
}

.certifications .cert-card .subtitle {
  font-size: 16px;
  font-weight: 600;
  color: #ddd;
  margin-bottom: 10px;
}

.certifications .cert-card .level,
.certifications .cert-card .status {
  font-size: 14px;
  font-weight: 500;
  background: #1c1d1f94;
  display: inline-block;
  padding: 5px 12px;
  border-radius: 6px;
  margin-bottom: 15px;
  color: #eee;
}

.certifications .cert-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #ddd;
}

.certifications .cert-card .certificate-img {
  max-width: 150px;
  margin: 15px auto;
  display: block;
  border-radius: 10px;
}

.certifications .cert-links {
  margin-top: 15px;
}

.certifications .cert-links .maquette-btn {
  margin: 5px;
  display: inline-block;
  padding: 8px 15px;
  border-radius: 8px;
  background: #9500ff;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.certifications .cert-links .maquette-btn:hover {
  background: #000000;
}
.projetpro.section-bg {
 background-color: rgb(30, 31, 34);
  padding: 60px 0;
  color: white;
}

.projetpro .section-title h2 {
  color: #9500ff;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.projetpro-card {
  background: linear-gradient(to right bottom, #0c0c0d, #0b0b0d, #09090c, #08080c, #0d0b14);
  border-radius: 15px;
  padding: 25px;
  box-shadow: 10px 10px 25px rgba(0,0,0,0.5), -10px -10px 25px rgba(77,75,155,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 0 auto; /* centre la carte horizontalement si nécessaire */
  text-align: center; /* centre le contenu */
}

.projetpro-card:hover {
  transform: translateY(-5px);
  box-shadow: 15px 15px 30px rgba(0,0,0,0.7), -15px -15px 30px rgba(77,75,155,0.5);
}

.projetpro-card .icon {
  font-size: 40px;
  color: #9500ff;
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
}

.projetpro-card p {
  font-size: 16px;
  line-height: 1.6;
  background: rgba(28,29,31,0.6);
  padding: 10px 15px;
  border-radius: 8px;
  margin-bottom: 15px;
}


.veille-image {
  width: 15%; /* Vous pouvez ajuster cette valeur selon vos besoins */
}


.meteo-container {
  background: #1c1d1f94;
  padding: 15px;
  border-radius: 10px;
}
.meteo-container input {
  padding: 5px 10px;
  margin-right: 5px;
  border-radius: 5px;
  border: none;
}
.meteo-container button {
  padding: 5px 10px;
  border-radius: 5px;
  border: none;
  background-color: #9500ff;
  color: #fff;
  cursor: pointer;
}
.meteo-container button:hover {
  background-color: #000000;
}/* === To-Do List === */
/* === To-Do List === */
.todo-app {
  margin-top: 15px;
  background: #1c1d1f94;
  padding: 15px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hidden { display: none; }

.todo-app .close-btn {
  align-self: flex-end;
  background: #9500ff;
  color: #fff;
  border: none;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  margin-bottom: 10px;
}

.todo-app .input-section {
  display: flex;
  gap: 10px;
}

.todo-app input[type="text"] {
  flex: 1;
  padding: 8px 12px;
  border-radius: 8px;
  border: none;
  outline: none;
  background: #1c1d1f94;
  color: #fff;
  font-size: 14px;
}

.todo-app button {
  padding: 8px 12px;
  border-radius: 8px;
  border: none;
  background: #6200ff;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.todo-app button:hover {
  background: #9500ff;
}

.todo-app .filters {
  display: flex;
  gap: 8px;
}

.todo-app .filters button {
  padding: 5px 10px;
  border-radius: 6px;
  border: none;
  background: #1c1d1f94;
  color: #fff;
  font-size: 13px;
  cursor: pointer;
}

.todo-app .filters button.active,
.todo-app .filters button:hover {
  background: #6200ff;
}

#taskList {
  list-style: none;
  padding: 0;
  margin: 0;
}

#taskList li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1c1d1f94;
  margin-bottom: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
}

#taskList li.completed span::before {
  content: "✔️ ";
}

#taskList li.pending span::before {
  content: "⏳ ";
}

#taskList li button {
  background: #9500ff;
  padding: 3px 6px;
  border-radius: 6px;
  font-size: 12px;
}

#taskList li button:hover {
  background: #6200ff;
}

.preview-btn {
  padding: 6px 12px;
  border-radius: 6px;
  background: #6200ff;
  color: #fff;
  border: none;
  font-weight: 600;
  cursor: pointer;
}

.preview-btn:hover {
  background: #9500ff;
}
/*--------------------------------------------------------------
# Crypto Tracker
--------------------------------------------------------------*/

.crypto-container {
  background: #1e1e1e;
  padding: 15px;
  margin-top: 15px;
  border-radius: 15px;
  box-shadow: 10px 10px 20px rgba(0,0,0,0.5),
              -10px -10px 20px rgba(77, 75, 155, 0.3);
  color: #fff;
}

.crypto-container h5 {
  margin-bottom: 10px;
  color: #9500ff;
}

.crypto-container select {
  background: #2c2c2c;
  color: #fff;
  border: none;
  padding: 5px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  margin-bottom: 10px;
}

.crypto-container .crypto-rate {
  font-size: 24px;
  font-weight: 700;
  margin: 10px 0;
}

.crypto-container button {
  background: #6200ff;
  color: #fff;
  padding: 6px 12px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.crypto-container button:hover {
  background: #9500ff;
}

.crypto-container .info {
  font-size: 14px;
  color: #ccc;
  margin-top: 8px;
}
