
/*-------TOUT LE CONTENU-------------*/
* {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
  box-sizing: border-box;

}

html {
  scroll-behavior: smooth;
}

html, body{
  box-sizing: border-box;


}
body{
  height: 100%;
  background-image: url('../image/pres.png'); /* Remplacez par le chemin de votre image */
  background-attachment: fixed; /* L'image reste fixe pendant le défilement */
  background-size: cover; /* L'image couvre tout l'écran */
  background-position: center; /* Centre l'image */
  background-repeat: no-repeat; /* Évite la répétition de l'image */
  color: white;
  font-family: 'Poppins', sans-serif;
}

/* Loading Screen Styles */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0f0f0f;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loading-logo {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 30px;
  background: linear-gradient(to right,  rgb(249, 188, 202), rgb(239, 71, 111));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.loader {
  width: 150px;
  height: 5px;
  background-color: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.loader::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent,  rgb(249, 188, 202), rgb(239, 71, 111));
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    left: -50%;
  }
  100% {
    left: 100%;
  }
}

.loading-text {
  margin-top: 20px;
  font-size: 14px;
  letter-spacing: 2px;
  opacity: 0.7;
}

.loading-counter {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 500;
}

/* Main Site Styles */
.main-site {
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in;
}


/* État initial : caché */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* État final : visible */
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Conteneur de l'image de fond */
.background-header {
  width: 100%;
  height: 100vh; /* Occupe toute la hauteur de la fenêtre */
  background: url("../image/back.jpg") no-repeat center center;
  background-size: cover;
  position: relative;
  z-index: -1; /* Place le conteneur derrière le contenu */
}

/*Bouton principal*/

.button {
  height: 50px;
  width: 200px;
  position: relative;
  background-color: transparent;
  cursor: pointer;
  border: 2px solid white;
  overflow: hidden;
  border-radius: 30px;
  color: white;
  transition: all 0.5s ease-in-out;
  font-family: "Roboto Mono", monospace;
  z-index: 10;
}

.type1::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  transition: all 0.5s ease-in-out;
  background-color: #333;
  border-radius: 30px;
  visibility: hidden;
  height: 10px;
  width: 10px;
  z-index: -1;
}

.button:hover {
  box-shadow: 1px 1px 200px #252525;
  color: #fff;
  border: none;
}

.type1:hover::after {
  visibility: visible;
  transform: scale(100) translateX(2px);
}



/*-----------NAVBAR-------------------*/
/* Styles améliorés pour la navbar */
.navbar {
  width: 100%;
  height: 80px; /* Légèrement réduit pour un look plus moderne */
  background-color: rgba(26, 26, 26, 0.95); /* Légèrement transparent */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 60px;
  transition: all 0.4s ease;
  position: fixed;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Ombre subtile */
  backdrop-filter: blur(10px); /* Effet de flou */
}

/* Logo avec dégradé */
.logo {
  display: flex;
  align-items: center;
  height: 100%;
}
.logo img {
  height: 150px;
  width: auto;
  object-fit: contain;
  padding-bottom: 2%;
}

.logo-text {
  background: linear-gradient(to right, rgb(249, 188, 202), rgb(239, 71, 111));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 2px;
}

/* Menu navigation */
.nav-links {
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
  transition: all 0.3s ease;
}

.nav-item {
  position: relative;
  color: white;
  font-size: 1em;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 0;
  transition: all 0.3s ease;
}

/* Effet de soulignement animé */
.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(to right, rgb(249, 188, 202), rgb(239, 71, 111));
  transition: width 0.3s ease;
}

.nav-item:hover::after {
  width: 100%;
}

.nav-item:hover {
  color: rgb(249, 188, 202);
}

/* Bouton CV amélioré */
.btn-cv {
  background: linear-gradient(to right, rgb(249, 188, 202), rgb(239, 71, 111));
  color: white;
  border: none;
  padding: 12px 25px;
  font-size: 1em;
  font-weight: 600;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.4s ease;
}

.btn-cv::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: width 0.4s ease;
  z-index: -1;
}

.btn-cv:hover::before {
  width: 100%;
}

.btn-cv:hover {
  box-shadow: 0 5px 15px rgba(239, 71, 111, 0.5);
  transform: translateY(-2px);
}

.btn-cv i {
  font-size: 1.2em;
}

/* Styles pour le menu hamburger (mobile) */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 25px;
  cursor: pointer;
  z-index: 1001;
}

.bar {
  width: 100%;
  height: 3px;
  background-color: white;
  border-radius: 10px;
  transition: all 0.3s ease;
}

/* Animation pour le menu hamburger */
.menu-toggle.active .bar:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
  background: linear-gradient(to right, rgb(249, 188, 202), rgb(239, 71, 111));
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
  background: linear-gradient(to right, rgb(249, 188, 202), rgb(239, 71, 111));
}

/* Animation de la navbar au scroll */
.navbar.scrolled {
  height: 70px;
  background-color: rgba(26, 26, 26, 0.98);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}



/* Media queries pour la responsivité */
@media screen and (max-width: 992px) {
  .navbar {
    padding: 0 30px;
  }

  .nav-links {
    gap: 15px;
  }
}

@media screen and (max-width: 768px) {
  .navbar {
    padding: 0 20px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    max-width: 300px;
    background-color: rgba(26, 26, 26, 0.95);
    flex-direction: column;
    gap: 0;
    padding: 100px 0 30px 0;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
    transition: right 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    backdrop-filter: blur(10px);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-item {
    display: block;
    padding: 15px 0;
    width: 100%;
  }

  .nav-item::after {
    display: none;
  }

  .nav-item:hover {
    background-color: rgba(239, 71, 111, 0.2);
  }

  .btn-cv {
    padding: 10px 20px;
    font-size: 0.9em;
  }

  .link-text {
    display: inline-block;
    margin-left: 5px;
  }
}

/*----------------Page d'accueil--------------*/

.home {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  padding-bottom: 8%;
  font-size: 20px;
}


/* Main content styles */
.home-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 80px 0;
  padding-top: 20%;
}

.content-left {
  max-width: 600px;
}

.text-container {
  margin-bottom: 25px; /* Ajoute un espace en dessous du texte */
}


/* Style pour le texte qui s'écrit tout seul */
.typing, .text {
  font-size: 18px;
  font-weight: 600;
  background: linear-gradient(to right, rgb(249, 188, 202), rgb(239, 71, 111));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  margin-bottom: 25px;
}





.name {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
}

.subtext {
  color: rgb(249, 188, 202);
  font-size: 20px;
  margin-bottom: 30px;
}

.contact-info {
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.contact-item i {
  margin-right: 15px;
  color: rgb(249, 188, 202);
}

.contact-item a {
  color: white;
  text-decoration: none;
}

.social-links {
  display: flex;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #1a1a1a;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 15px;
  transition: background-color 0.3s;
}

.social-link:hover {
  background-color: rgb(249, 188, 202);
}

.social-link i {
  color: white;
}

.profile-image {
  position: relative;
}

.profile-circle {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 20px rgba(239, 71, 111, 0.3); /* Ajout d'une ombre douce */
}

/* Création d'un pseudo-élément pour le contour en dégradé */
.profile-circle::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: linear-gradient(to bottom, rgb(249, 188, 202), rgb(239, 71, 111));
  border-radius: 50%;
  z-index: -1;
}

.profile-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* -----------------------------------Presentation -----------------------------*/

/* Amélioration de la section présentation */
.presentation {
  z-index: 1;
  position: relative;
  height: 100vh;
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
  font-family: 'Poppins', sans-serif;
}

.presentation .main-container {
  width: 85%;
  max-width: 1000px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: rgba(7, 7, 7, 0.85);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.presentation .main-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}
/*Généralisation des titres*/
.title {
  font-size: 2.5rem;
  font-weight: bold;
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 20px;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 1px;
  text-align: center;
}

.title span {
  -webkit-text-stroke: 1px white;
  color: transparent;
  background: linear-gradient(to right, rgb(249, 188, 202), rgb(239, 71, 111));
  -webkit-background-clip: text;
  background-clip: text;
}

.title:after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, rgb(249, 188, 202), rgb(239, 71, 111));
  margin: 15px auto 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  border-radius: 2px;
}

.button-container {
  display: flex;
  justify-content: center;
  margin: 25px 0;
  gap: 20px;
}

.button-container .button {
  height: 50px;
  width: 200px;
  position: relative;
  background-color: transparent;
  cursor: pointer;
  border: 2px solid white;
  overflow: hidden;
  border-radius: 30px;
  color: white;
  transition: all 0.5s ease-in-out;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  z-index: 10;
}

.button-container .button:hover {
  border-color: rgb(239, 71, 111);
}

.img-txt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  margin: 25px 0;
}

.img-txt #profile {
  width: 280px;
  height: 280px;
  border-radius: 15px;
  object-fit: cover;
  transition: transform 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 3px solid transparent;
  background: linear-gradient(white, white) padding-box,
  linear-gradient(to right, rgb(249, 188, 202), rgb(239, 71, 111)) border-box;
}

.img-txt #profile:hover {
  transform: scale(1.03);
}

.img-txt p {
  flex: 1;
  min-width: 300px;
  line-height: 1.8;
  font-size: 1.05rem;
  font-family: 'Open Sans', sans-serif;
  color: rgba(255, 255, 255, 0.9);
  text-align: justify;
}

/* Animation lors du changement de texte */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

#text {
  animation: fadeIn 0.6s ease-in-out;
}

/* Amélioration de la section réseaux sociaux */
.social {
  margin-top: 30px;
  width: 100%;
}

.list-icon {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}

.list-icon .icon-content a {
  width: 55px;
  height: 55px;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  transition: all 0.4s ease;
}

.list-icon .icon-content a:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.list-icon .icon-content a svg {
  width: 25px;
  height: 25px;
}

.list-icon .icon-content .tooltip {
  background: linear-gradient(to right, rgb(249, 188, 202), rgb(239, 71, 111));
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  padding: 8px 15px;
  border-radius: 20px;
  letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive design */
@media screen and (max-width: 768px) {
  .presentation {
    height: auto;
    padding: 4rem 1rem;
  }

  .presentation .main-container {
    width: 95%;
    padding: 25px;
  }

  .img-txt {
    flex-direction: column;
    text-align: center;
  }

  .img-txt #profile {
    margin: 0 auto;
  }

  .img-txt p {
    text-align: center;
  }

  .button-container {
    flex-direction: column;
    align-items: center;
  }

  .button-container .button {
    margin: 10px 0;
  }
}

#profile{
  height: 80%;
  width: 50%;
  border-radius: 52px;
}

.img-txt #profile, .img-txt p{
  margin : 25px
}

.btn-txt {
  z-index: 1;
  font-weight: 800;
  letter-spacing: 4px;
}


/*------------------ ICON RESEAUX SOCIAUX------------------------ */
ul {
  list-style: none;
}

.list-icon {
  display: flex;
  justify-content: center;
  align-items: center;
}
.list-icon .icon-content {
  margin: 0 10px;
  position: relative;
}
.list-icon .icon-content .tooltip {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  padding: 6px 10px;
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  font-size: 14px;
  transition: all 0.3s ease;
}
.list-icon .icon-content:hover .tooltip {
  opacity: 1;
  visibility: visible;
  top: -50px;
}
.list-icon .icon-content a {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #4d4d4d;
  background-color: #fff;
  transition: all 0.3s ease-in-out;
}
.list-icon .icon-content a:hover {
  box-shadow: 3px 2px 45px 0px rgb(0 0 0 / 12%);
}
.list-icon .icon-content a svg {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
}
.list-icon .icon-content a:hover {
  color: white;
}
.list-icon .icon-content a .filled {
  position: absolute;
  top: auto;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: #000;
  transition: all 0.3s ease-in-out;
}
.list-icon .icon-content a:hover .filled {
  height: 100%;
}

.list-icon .icon-content a[data-social="linkedin"] .filled,
.list-icon .icon-content a[data-social="linkedin"] ~ .tooltip {
  background-color: #24262a;
}

.list-icon .icon-content a[data-social="github"] .filled,
.list-icon .icon-content a[data-social="github"] ~ .tooltip {
  background-color: #24262a;
}





/*--------------------- Mes projets *-----------------------------*/
.projet {
  z-index: 10;
  position: relative;
  min-height: 100vh;
  padding-top: 2rem;
  padding-bottom: 5rem; /* Padding de base */
}

/* Pour les tablettes et petits écrans de bureau */
@media screen and (max-width: 1366px) {
  .projet {
    padding-bottom: 8rem;
  }
}

/* Pour les écrans de PC portable (résolution commune 1366x768, 1440x900) */
@media screen and (max-width: 1440px) and (max-height: 900px) {
  .projet {
    padding-bottom: 12rem;
  }
}

/* Pour les plus petits écrans de portable */
@media screen and (max-width: 1280px) {
  .projet {
    padding-bottom: 10rem;
  }
}

/* Votre règle existante pour les écrans plus petits */
@media screen and (max-width: 1020px) {
  .projet {
    padding-bottom: 15rem; /* Augmenté pour plus d'espace */
  }
}

/* Pour les tablettes */
@media screen and (max-width: 768px) {
  .projet {
    padding-bottom: 8rem;
  }
}

/* Pour les mobiles */
@media screen and (max-width: 480px) {
  .projet {
    padding-bottom: 6rem;
  }
}

.project-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px;
  gap: 2rem; /* Ajout d'un gap pour un meilleur espacement */
  max-width: 1200px; /* Limite la largeur maximale */
  margin: 0 auto; /* Centre le container */
}

/* Ajustement pour les cartes de projet */
.card {
  flex: 0 0 auto;
  margin-bottom: 2rem;
}

/* Media query spécifique pour les résolutions de portable courantes */
@media screen and (min-width: 1020px) and (max-width: 1366px) and (max-height: 768px) {
  .projet {
    padding-bottom: 20rem; /* Beaucoup plus d'espace pour ces résolutions */
  }

  .project-container {
    padding-bottom: 4rem;
  }
}

.project-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px; /* Ajout de padding */
}

.card {
  margin: 20px;
  width: 300px;
  height: auto; /* Ajustement automatique de la hauteur */
  background-color: #1e1e1e;
  color: white;
  overflow: visible;
  display: flex;
  flex-direction: column; /* Changement de direction pour empiler les éléments */
  border-radius: 15px; /* Arrondir les bords du conteneur principal */
  opacity: 0; /* Commence invisible pour l'animation */
  transition: opacity 0.5s ease, transform 0.3s ease; /* Ajout de la transition */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.circles,
.browser {
  height: 30px;
  display: flex;
  align-items: center;
}

.circles {
  width: 20%;
  gap: 8px;
  padding: 10px;
}

.c {
  width: 09px;
  height: 9px;
  border-radius: 50%;
  box-shadow: inset 2px 2px 5px rgba(235, 235, 235, 0.356);
}

.c:first-child {
  background-color: red;
}

.c:nth-child(2) {
  background-color: rgb(204, 167, 4);
}

.c:last-child {
  background-color: green;
}

.browser {
  width: 80%;
  padding: 5px;
  display: flex;
  gap: 10px;
}

.chevrons {
  display: flex;
}

.search-bar {
  position: relative;
  border: 0.5px solid black;
  border-radius: 5px;
  padding: 5px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: rgb(88, 88, 88);
  box-shadow: inset 2px 2px 2px #05050525;

}

.search-bar svg {
  position: absolute;
  left: 10px;
}

.card:hover {
  transform: scale(1.05); /* Légère augmentation au survol */
  box-shadow: 0 6px 12px rgba(103, 103, 103, 0.3); /* Changement d'ombre */
}

.card.show {
  opacity: 1;
}

.card img {
  width: 50%;
  
  margin-top: 10px;

}

.projectcard h3 {
  font-size: 1.8em; /* Taille augmentée pour les titres */
  text-shadow: 1px 1px 4px rgba(1, 0, 0, 0.5); /* Ombre au texte */
  padding-bottom: 10px;
  padding-top: 10px;
}

.projectcard .moins {
  font-size: 1.4em;
}

.projectcard p {
  font-size: 0.9em;
  margin-bottom: 15px;
  padding-bottom: 10px;
  color: rgb(88, 88, 88);
}

.projectcard img {
    width: 100%;
    height: 100px; /* Hauteur fixe - ajustez selon vos besoins */
    object-fit: cover; /* Garde les proportions en recadrant si nécessaire */
    object-position: center; /* Centre l'image */
   
}

.projectcard .btn-cv {
  margin-bottom: 15px;
}

.projectcard {
  display: flex;
  text-align: center;
  align-items: center;
  flex-direction: column;
  flex: 0 0 calc(33.33% - 15px);
}


/*---------Bouton voir plus----------------*/

.btn-gradient {
  border-radius: 10px;
  padding: 10px;
  margin: 20px;
  background-image: linear-gradient(to right, rgb(249, 188, 202), rgb(239, 71, 111));
  color: white;
}
.btn-glow:hover {
  box-shadow: #481b5e 0px 0px 20px 0px;
}

/*---------Mes compétences ---------------*/


.competence {
  padding-top: 40%;
}

.competence .main-container {
  background-color: rgba(30,30,30,0.5);
  margin-bottom: 50px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.competence .title {
  padding-top: 5%;
  margin-bottom: 30px;
}

.competences-container {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  color: white;
  flex-wrap: wrap;
}

.competences-skills {
  width: 60%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.skills-category {
  margin-bottom: 20px;
}

.category-title {
  font-size: 22px;
  margin-bottom: 15px;
  color: #f9bcca;
  border-bottom: 1px solid rgba(249, 188, 202, 0.3);
  padding-bottom: 8px;
}

.skill {
  margin-bottom: 25px;
}

.skill-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.skill-name {
  font-size: 16px;
  font-weight: 500;
}

.skill-percent {
  font-weight: bold;
  color: #ff9fd9;
}

.progress-container {
  width: 100%;
  height: 12px;
  background-color: rgba(51, 51, 51, 0.7);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  border-radius: 20px;
  width: 0%;
  background: linear-gradient(90deg, #f9bcca, #ff9fd9);
  position: relative;
  transition: width 1.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.progress-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 20px;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.7));
  filter: blur(5px);
  animation: glow 2s infinite;
}

@keyframes glow {
  0% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.7;
  }
  100% {
    opacity: 0.3;
  }
}

.cv-preview {
  width: 35%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cv-container {
  position: relative;
  width: 380px;
  height: 480px;
  margin-bottom: 30px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cv-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(249, 188, 202, 0.3);
}

.cv-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.3s ease;
}

.cv-container:hover .cv-image {
  filter: blur(2px) brightness(0.7);
}

.cv-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}

.cv-container:hover .cv-overlay {
  opacity: 1;
}

.cv-info h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #ff9fd9;
}

.cv-info p {
  font-size: 14px;
  line-height: 1.5;
}

.download-btn {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(90deg, rgba(249, 188, 202, 0.2), rgba(255, 159, 217, 0.2));
  color: white;
  border: 2px solid #ff9fd9;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(255, 159, 217, 0.3);
  position: relative;
  overflow: hidden;
}

.download-btn:hover {
  background: linear-gradient(90deg, rgba(249, 188, 202, 0.8), rgba(255, 159, 217, 0.8));
  box-shadow: 0 0 20px rgba(255, 159, 217, 0.5);
  transform: translateY(-2px);
}


@media (max-width: 992px) {
  .competences-skills {
    width: 100%;
    margin-bottom: 40px;
  }

  .cv-preview {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .competence {
    padding-top: 20%;
  }

  .cv-container {
    width: 250px;
    height: 340px;
  }
}

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

  .skill-name {
    font-size: 14px;
  }

  .cv-container {
    width: 220px;
    height: 300px;
  }

  .download-btn {
    padding: 10px 25px;
    font-size: 14px;
  }
}

/*---------Mes outils ---------------*/

.section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.content-container {
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: flex-start;
}

.description {
  padding-top: 50px;
  flex: 1;
  font-size: 18px;
  line-height: 1.6;
  color: white;
}

.description p{
  padding-bottom: 20px;
}

.outils-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

.outil-item {
  /* Supprimer la bordure existante */
  border: none;

  /* Créer une bordure transparente qui sera remplie par le dégradé */
  border: 3px solid transparent;

  /* Appliquer le dégradé uniquement à la bordure */
  background-image:
    linear-gradient(to right, #1a1a1a, #1a1a1a),    /* Couleur de fond */
    linear-gradient(to right, rgb(249, 188, 202), rgb(239, 71, 111)); /* Dégradé pour la bordure */

  background-origin: padding-box, border-box;
  background-clip: padding-box, border-box;

  /* Autres propriétés de style existantes */
  padding: 10px;
  border-radius: 8px; /* Augmentation légère pour un look plus moderne */
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  aspect-ratio: 1/1;
  position: relative;
  overflow: hidden;
}

/* Modifier le hover pour préserver le dégradé de la bordure */
.outil-item:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(239, 71, 111, 0.4); /* Ajouter une lueur rose au survol */

  /* Nouveau fond au survol tout en gardant le dégradé de la bordure */
  background-image:
    linear-gradient(to right, rgba(100, 100, 100, 0.7), rgba(100, 100, 100, 0.7)),
    linear-gradient(to right, rgb(249, 188, 202), rgb(239, 71, 111));
}

.outil-item img {
  max-width: 100%;
  height: auto;
  max-height: 90px;
  transition: opacity 0.3s ease;
}

.outil-item:hover img {
  opacity: 0.5;
}

.outil-name {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-weight: bold;
  font-size: 18px;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
  padding: 10px;
}

.outil-item:hover .outil-name {
  opacity: 1;
}

/*----------------------------Footer-------------------------*/
.footer {
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(249, 188, 202, 0.2);
  padding: 40px 0 20px 0;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgb(249, 188, 202), rgb(239, 71, 111), transparent);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 30px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-name {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(to right, rgb(249, 188, 202), rgb(239, 71, 111));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
}

.footer-title {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  font-weight: 400;
}

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

.footer-quote {
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 15px;
  line-height: 1.4;
}

.footer-quote::before,
.footer-quote::after {
  content: '"';
  color: rgb(249, 188, 202);
  font-size: 1.3rem;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
}

.contact-info2 {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: right;
}

.contact-item2 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.contact-item2:hover{
  color: rgb(249, 188, 202);
}

.contact-item2 i {
  color: rgb(249, 188, 202);
  width: 16px;
}

.social-links2 {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-link2 {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(249, 188, 202, 0.1);
  border: 1px solid rgba(249, 188, 202, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-link2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgb(249, 188, 202), rgb(239, 71, 111));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.social-link2:hover::before {
  opacity: 1;
}

.social-link2 i {
  color: white;
  font-size: 16px;
  position: relative;
  z-index: 1;
}

.social-link2:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(239, 71, 111, 0.3);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
}

.copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.heart {
  color: rgb(239, 71, 111);
  animation: heartbeat 1.5s ease-in-out infinite;
}
