/*
__________________________________________________________________________

                    Reset
__________________________________________________________________________
 */

* {
  font-family: Helvetica, Arial, sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

/* Marche sur Chrome, Edge, et Safari */
*::-webkit-scrollbar {
  width: 9px;
}

*::-webkit-scrollbar-track {
  background: var(--bg-color);
}

*::-webkit-scrollbar-thumb {
  background-color: var(--skin-color);
  border-radius: 20px;
}

/* Pour Firefox */
::-moz-scrollbar {
  width: 9px; 
}

::-moz-scrollbar-thumb {
  background-color: var(--skin-color); 
  border-radius: 20px;
}

::-moz-scrollbar-track {
  background-color: var(--bg-color); 
}

/* Pour Edge et Internet Explorer */
::-ms-scrollbar {
  width: 9px; 
}

::-ms-scrollbar-thumb {
  background-color: var(--skin-color); 
  border-radius: 20px;
}

::-ms-scrollbar-track {
  background-color: var(--bg-color); 
}


body {
  --bg-color: #111111;
  --text-color: #dddddd;
  --text-color-2: rgba(221, 221, 221, 0.9);
  --bg-color-headers: #171717;
  --text-color-black: #111111;
  --bg-color-portfolio: #dedede;
  --bg-color-headers-scroll: #171717;
  --bg-color-headers-scroll-nav: #171717;

  --black-skill: #000000;
  --dark-gray-skill: #111111;
  --gray-skill: #333333;
  --text-shadow-color-skill: #000;
  --background-skill: #030303;

  background-color: var(--bg-color);
}

body.light {
  --bg-color: #ffffff;
  --text-color: #333333;
  --text-color-2: rgba(51, 51, 51, 0.9);
  --bg-color-headers: #f0f0f0;
  --text-color-black: #333333;
  --bg-color-portfolio: #111111;
  --bg-color-headers-scroll: #f0f0f0;
  --bg-color-headers-scroll-nav: #f0f0f0;

  --black-skill: #000000;
  --dark-gray-skill: #111111;
  --gray-skill: #333333;
  --text-shadow-color-skill: #000;
  --background-skill: #030303;

  background-color: var(--bg-color);
}

/*
__________________________________________________________________________

                    Other
__________________________________________________________________________
 */

.cursor {
  position: fixed;
  border-radius: 50%;
  transform: translateX(-50%) translateY(-50%);
  pointer-events: none;
  left: -100px;
  top: 50%;
  background-color: transparent;
  z-index: 10000;
  border: 2px solid var(--skin-color);
  height: 30px;
  width: 30px;
  transition: all 300ms ease-out;
}

@media screen and (max-width: 1000px) {
  .cursor {
    display: none;
  }
}

/*-- ======= Loader ======= */

#main,
#footer {
  display: none;
}

.loader {
  z-index: 9999;
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--bg-color);
  display: flex;
  justify-content: center;
  align-items: center;
}

.lettre {
  color: #484848;
  font-size: clamp(60px, 4vw, 80px);
  letter-spacing: 15px;
  margin-bottom: 150px;
  animation: flashLoader 1.2s linear infinite;
}

@media screen and (max-width: 550px) {
  .lettre {
    color: #484848;
    font-size: clamp(40px, 10vw, 60px);
    letter-spacing: 5px;
    margin-bottom: 150px;
    animation: flashLoader 1.2s linear infinite;
  }
}

@keyframes flashLoader {
  0% {
    color: var(--skin-color);
    text-shadow: 0 0 7px var(--skin-color);
  }

  90% {
    color: #484848;
    text-shadow: none;
  }

  100% {
    color: var(--skin-color);
    text-shadow: 0 0 7px var(--skin-color);
  }
}

.lettre:nth-child(1) {
  animation-delay: 0.1s;
}

.lettre:nth-child(2) {
  animation-delay: 0.2s;
}

.lettre:nth-child(3) {
  animation-delay: 0.3s;
}

.lettre:nth-child(4) {
  animation-delay: 0.4s;
}

.lettre:nth-child(5) {
  animation-delay: 0.5s;
}

.lettre:nth-child(6) {
  animation-delay: 0.6s;
}

.lettre:nth-child(7) {
  animation-delay: 0.7s;
}

.lettre:nth-child(8) {
  animation-delay: 0.8s;
}

.lettre:nth-child(9) {
  animation-delay: 0.9s;
}

.lettre:nth-child(10) {
  animation-delay: 1s;
}

.fondu-out {
  display: none;
  transition: opacity 0.4s ease-out;
}

/*
__________________________________________________________________________

                    Header
__________________________________________________________________________
*/

header {
  width: 100%;
  user-select: none;
  -webkit-user-select: none;
  display: flex;
  justify-content: center;
}

header a {
  text-decoration: none;
}

nav.navbar {
  width: calc(100% - 100px);
  position: fixed;
  top: 0;
  padding: 0 20px;
  margin: 30px;
  border-radius: 15px;
  height: 4.5rem;
  display: flex;
  justify-content: space-around;
  background: var(--bg-color-headers);
  align-items: center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
  z-index: 999;
  transition: all 0.5s ease-in-out;
  color: var(--text-color);
  max-width: 1700px;
}

nav.navbar.scrolled {
  width: 100%;
  max-width: 100%;
  margin: 0;
  border-radius: 0 0 25px 25px;
  background: var(--bg-color-headers-scroll-nav);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

nav.navbar.scrolled .links .item a .icon {
  width: 2.2rem;
  height: 2.2rem;
  margin: 0 20px;
}

nav.navbar.scrolled .links .item a p {
  opacity: 0;
  max-width: 0;
  transition: opacity 0.4s ease-in-out, max-width 0.4s ease-in-out;
}

nav.navbar .container {
  max-width: 1700px;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

nav.navbar .logo {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  transition: all 0.5s ease-in-out;
}

nav.navbar .logo .logo-img {
  height: 95%;
  margin-left: 1rem;
  display: none;
  visibility: hidden;
}

nav.navbar .logo .lien-logo-img {
  height: 100%;
  display: none;
  visibility: hidden;
}

nav.navbar .logo .logo-text span {
  color: var(--skin-color);
}

nav.navbar .links {
  display: flex;
  justify-content: space-around;
  align-items: center;
  font-size: 2.5rem;
  height: 100%;
  list-style: none;
  z-index: 990;
  border-radius: 0 20px 20px 20px;
}

nav.navbar .links .item {
  cursor: pointer;
  position: relative;
  transform: none;
}

nav.navbar .links .item a {
  display: flex;
  padding: 1.5rem;
  justify-content: center;
  align-items: center;
  color: var(--text-color);
  height: 100%;
  transition: transform 0.3s ease-in-out, 0.3s ease-in-out;
  text-decoration: none;
  font-size: 20px;
}

nav.navbar .links .item.button {
  display: none;
  color: var(--text-color-black);
}

nav.navbar .links .item a .icon {
  margin: 0 5px 0 0;
  width: 2em;
  height: 2rem;
  transition: width 0.5s ease-in-out, height 0.5s ease-in-out,
    margin 0.5s ease-in-out;
}

nav.navbar .links .item a p {
  opacity: 1;
  max-width: 150px;
  transition: opacity 0.2s 0.3s ease-in-out, max-width 0.4s ease-in-out;
}

nav.navbar .links .item a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 30%;
  transform: translateX(-50%) scaleX(0);
  transform-origin: 50% 50%;
  width: 70%;
  height: 1px;
  background-color: var(--skin-color-headers);
  transition: transform 250ms;
}

nav.navbar .links .item a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

nav.navbar .right-container {
  height: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

nav.navbar .toggle-btn {
  display: none;
  visibility: hidden;
  opacity: 0;
  width: 4rem;
  height: 4rem;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  margin-right: 20px;
  border-radius: 5px;
}

nav.navbar .toggle-btn .bar {
  width: 70%;
  height: 2px;
  background: var(--text-color);
}

nav.navbar .button,
nav.navbar .links .button {
  height: fit-content;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-color-black);
  font-size: 1.2rem;
  padding: 0.5rem 1.25rem;
  background: var(--skin-color);
  border-radius: 1rem;
  box-shadow: none;
  transition: all 0.5s ease-in-out, box-shadow 0.3s ease-in-out;
  border: 2px solid transparent;
}

nav.navbar .button .icon,
nav.navbar .links .button .icon {
  width: 1rem;
  height: 1rem;
  margin: 0 15px 0 0;
}

nav.navbar .button:hover,
nav.navbar .links .button:hover {
  background-color: transparent;
  border: 2px solid var(--skin-color);
  cursor: pointer;
  color: var(--text-color);
}

@media screen and (max-width: 2000px) {
  nav.navbar .links {
    font-size: 1.6rem;
  }

  nav.navbar .links .item a .icon {
    width: 1.8rem;
    height: 1.8rem;
    margin: 0 10px 0 0;
  }

  nav.navbar .button .icon,
  nav.navbar .links .button .icon {
    width: 1.8rem;
    height: 1.8rem;
    margin: 0 10px 0 0;
  }
}

@media screen and (max-width: 1800px) {
  nav.navbar {
    margin: 15px;
    width: calc(100% - 60px);
    height: 5rem;
  }

  nav.navbar.scrolled .links .item a .icon {
    margin: 0 5px;
  }

  nav.navbar .logo {
    font-size: 2.8rem;
  }
}

@media screen and (max-width: 1400px) {
  nav.navbar .logo {
    font-size: 2.3rem;
  }

  nav.navbar .links {
    font-size: 1.4rem;
  }

  nav.navbar .links .item {
    margin: 0 1rem;
  }

  nav.navbar .links .item a .icon,
  nav.navbar.scrolled .links .item a .icon {
    width: 1.5rem;
    height: 1.5rem;
  }

  nav.navbar .button,
  nav.navbar .links .button {
    font-size: 1.6rem;
  }

  nav.navbar .button .icon,
  nav.navbar .links .button .icon {
    width: 1.8rem;
    height: 1.8rem;
  }
}

@media screen and (max-width: 1100px) {
  nav.navbar .logo {
    font-size: 2.5rem;
  }

  nav.navbar .links .item {
    font-size: 1.5rem;
    margin: 0 0.4rem;
  }

  nav.navbar .links .item a {
    padding: 1rem;
  }

  nav.navbar .links .item a .icon {
    width: 1.8rem;
    height: 1.8rem;
  }
}

@media screen and (max-width: 1000px) {
  nav.navbar {
    justify-content: space-between;
    transition: all 0.5s ease-in-out, border-radius 0.5s 0.3s ease-in-out;
    border-radius: 10px;
    margin: 20px;
  }

  nav.navbar.active {
    border-radius: 10px 10px 0 10px;
    transition: all 0.5s ease-in-out, border-radius 0s;
  }

  nav.navbar.scrolled {
    border-radius: 0 0 15px 15px;
  }

  nav.navbar.scrolled .links {
    background: var(--bg-color-headers-scroll);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
  }

  nav.navbar.scrolled .links .item a p {
    max-width: fit-content;
    max-width: -moz-fit-content;
    opacity: 1;
  }

  main.active {
    filter: blur(4px);
  }

  #Home.active {
    filter: blur(4px);
  }

  footer.active {
    filter: blur(4px);
  }

  nav.navbar .container {
    justify-content: space-between;
  }

  nav.navbar .logo .logo-text {
    display: none;
    opacity: 0;
    visibility: hidden;
  }

  nav.navbar .logo .logo-img {
    display: block;
    visibility: visible;
    opacity: 1;
  }

  nav.navbar .logo .lien-logo-img {
    display: block;
    visibility: visible;
    opacity: 1;
  }

  nav.navbar .links {
    flex-direction: column;
    visibility: hidden;
    position: absolute;
    height: 0;
    overflow: hidden;
    right: 0;
    top: 100%;
    background: var(--bg-color-headers);
    border-radius: 0 0 20px 20px;
    transition: all 0.5s ease-in-out;
    align-items: flex-start;
  }

  nav.navbar .links.active {
    visibility: visible;
    height: 25rem;
  }

  nav.navbar .links.active .item {
    font-size: 1.5rem;
  }

  nav.navbar .links.active .item a .icon {
    height: 1.8rem;
  }

  nav.navbar .links .item {
    font-size: 0;
  }

  nav.navbar .links .item a {
    padding: 1.5rem;
  }

  nav.navbar .links .item a .icon {
    height: 0;
  }

  nav.navbar .links .item a p {
    width: fit-content;
    width: -moz-fit-content;
    height: fit-content;
    visibility: visible;
  }

  nav.navbar.scrolled.active {
    border-radius: 0 0 0 20px;
  }

  nav.navbar .toggle-btn {
    display: flex;
    visibility: visible;
    position: relative;
    opacity: 1;
  }

  nav.navbar .toggle-btn .bar {
    transition: 0.3s ease-in-out, opacity 0.2s 0.1s ease-in-out;
  }

  nav.navbar .toggle-btn.active .bar {
    position: absolute;
    transition: transform 0.3s ease-in-out;
  }

  nav.navbar .toggle-btn.active .bar-1 {
    position: relative;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
  }

  nav.navbar .toggle-btn.active .bar-2 {
    transform: rotate(-45deg);
  }

  nav.navbar .toggle-btn.active .bar-3 {
    transform: rotate(45deg);
  }
}

@media screen and (max-width: 550px) {
  nav.navbar {
    height: 50px;
  }

  nav.navbar .button,
  nav.navbar .links .button {
    font-size: 1.25rem;
    padding: 0.3rem 1rem;
  }

  nav.navbar .button .icon,
  nav.navbar .links .button .icon {
    width: 1.5rem;
    height: 1.5rem;
    margin: 0 15px 0 0;
  }
}

@media screen and (max-width: 450px) {
  nav.navbar {
    margin: 5px;
    width: calc(100% - 2rem);
  }

  nav.navbar .links.active {
    height: 30rem;
    display: flex;
    align-items: center;
  }

  nav.navbar .links .item.button {
    display: block;
    visibility: visible;
    opacity: 1;
  }

  nav.navbar .links .item.button a {
    color: var(--text-color-black);
    padding: 0;
  }

  nav.navbar .button {
    display: none;
    visibility: hidden;
    opacity: 0;
  }
}

@media screen and (max-height: 500px) {
  nav.navbar .links.active {
    height: 25rem;
  }
}

/*
__________________________________________________________________________

                    Hero Section - Version Améliorée
__________________________________________________________________________
 */

.hero {
  display: flex;
  justify-content: space-around;
  align-items: center;
  min-height: 100vh;
  z-index: 99;
  position: relative;
  background-color: var(--bg-color);
  padding: 150px 100px;
  gap: 50px;
}

.hero .text-box {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* Badge "Disponible" */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 16px;
  background: var(--skin-color-glow);
  border: 1px solid var(--skin-color);
  border-radius: 50px;
  font-size: 14px;
  color: var(--skin-color);
  font-weight: 500;
  animation: pulse 2s ease-in-out infinite;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--skin-color);
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

/* Titre principal */
.hero .text-box h1 {
  color: var(--text-color);
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
}

/* Sous-titre avec effet typing */
.hero-subtitle {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: clamp(18px, 2vw, 24px);
  color: var(--text-color-2);
  min-height: 40px;
}

.typing-prefix {
  color: var(--skin-color);
  font-weight: bold;
  font-family: 'Courier New', monospace;
}

.typing-text {
  color: var(--skin-color);
  font-weight: 600;
  border-right: 2px solid var(--skin-color);
  padding-right: 5px;
  animation: blink-cursor 0.8s step-end infinite;
}

@keyframes blink-cursor {
  0%, 100% { border-color: var(--skin-color); }
  50% { border-color: transparent; }
}

/* Description */
.hero-description {
  color: var(--text-color-2);
  font-size: 18px;
  line-height: 1.7;
  max-width: 600px;
}

/* Statistiques */
.hero-stats {
  display: flex;
  gap: 30px;
  margin: 10px 0;
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  background: var(--bg-color-headers);
  border-radius: 12px;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.hero-stat:hover {
  border-color: var(--skin-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 20px var(--skin-color-glow);
}

.stat-icon {
  font-size: 28px;
}

.hero-stat strong {
  display: block;
  font-size: 24px;
  color: var(--skin-color);
  font-weight: 700;
  line-height: 1;
}

.hero-stat p {
  font-size: 13px;
  color: var(--text-color-2);
  margin: 0;
  line-height: 1.2;
}

/* Boutons */
.hero .buttons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.hero .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.hero .btn i {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.hero .btn-primary {
  background: var(--skin-color);
  color: var(--text-color-black);
  box-shadow: 0 4px 15px var(--skin-color-shadow);
}

.hero .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--skin-color-glow);
}

.hero .btn-primary:hover i {
  transform: translateX(5px);
}

.hero .btn-secondary {
  background: transparent;
  border-color: var(--skin-color);
  color: var(--text-color);
}

.hero .btn-secondary:hover {
  background: var(--skin-color);
  color: var(--text-color-black);
  transform: translateY(-3px);
}

/* Réseaux sociaux */
.hero-social {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.hero-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: var(--bg-color-headers);
  border: 2px solid transparent;
  border-radius: 50%;
  color: var(--text-color);
  font-size: 20px;
  transition: all 0.3s ease;
}

.hero-social a:hover {
  border-color: var(--skin-color);
  color: var(--skin-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px var(--skin-color-shadow);
}

/* Image avec cartes flottantes */
.hero .image-box {
  width: 45%;
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.hero .image-box img {
  width: 100%;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

/* Cartes flottantes */
.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--bg-color-headers);
  border: 2px solid var(--skin-color);
  border-radius: 15px;
  color: var(--text-color);
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: float-cards 3s ease-in-out infinite;
}

.floating-card i {
  font-size: 20px;
  color: var(--skin-color);
}

.card-1 {
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.card-2 {
  bottom: 30%;
  left: -15%;
  animation-delay: 1s;
}

.card-3 {
  bottom: 10%;
  right: 10%;
  animation-delay: 2s;
}

@keyframes float-cards {
  0%, 100% { transform: translateY(0px) rotate(-2deg); }
  50% { transform: translateY(-15px) rotate(2deg); }
}

/* Scroll indicator */
.scroll-link {
  position: absolute;
  bottom: 7rem;
  left: 50%;
  transform: translateX(-50%);
}

.mouse {
  max-width: 2.5rem;
  width: 100%;
  height: auto;
}

.scroll {
  animation: scroll 1.5s cubic-bezier(0.65, -0.55, 0.25, 1.5) infinite;
  transform-origin: 50% 20.5px;
}

@keyframes scroll {
  0%, 20% { transform: translateY(0) scaleY(1); }
  100% { transform: translateY(36px) scaleY(2); opacity: 0; }
}

/* Responsive */
@media screen and (max-width: 1200px) {
  .hero {
    padding: 150px 50px;
  }
  
  .floating-card {
    font-size: 14px;
    padding: 10px 15px;
  }
}

@media screen and (max-width: 900px) {
  .hero {
    flex-direction: column-reverse;
    padding: 150px 30px;
    gap: 60px;
  }

  .hero .text-box,
  .hero .image-box {
    width: 100%;
  }

  .hero .text-box {
    align-items: center;
    text-align: center;
  }

  .hero-subtitle {
    justify-content: center;
  }

  .hero-description {
    text-align: center;
  }

  .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero .buttons {
    justify-content: center;
  }

  .hero-social {
    justify-content: center;
  }

  .floating-card {
    display: none; /* Enlève les cartes sur mobile */
  }
}

@media screen and (max-width: 750px) {
  .hero {
    padding: 120px 25px;
  }

  .hero .text-box h1 {
    font-size: 40px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-stats {
    gap: 15px;
  }

  .hero-stat {
    flex: 1;
    min-width: 120px;
  }

  .hero .buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero .btn {
    width: 100%;
  }
}

@media screen and (max-width: 450px) {
  .hero-stats {
    flex-direction: column;
    width: 100%;
  }

  .hero-stat {
    width: 100%;
  }

  .scroll-link {
    bottom: 2rem;
  }
}
/* 
___________________________________________________________________________________________

                     Section About - Version Améliorée
___________________________________________________________________________________________
 */

.About {
  min-height: 100vh;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 100px 100px;
  background-color: var(--bg-color);
}

.About a {
  text-decoration: none;
}

.About-img {
  height: auto;
  width: 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.About-img .about-title-img {
  display: none;
}

.About-img img {
  object-fit: cover;
  width: 60%;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}

.About-img img:hover {
  transform: scale(1.05) rotate(2deg);
}

.About-text {
  width: 60%;
  padding: 50px;
  border-radius: 20px;
  display: flex;
  justify-content: start;
  flex-direction: column;
  align-items: flex-start;
}

.About-text h2 {
  color: var(--skin-color);
  font-size: clamp(60px, 4vw, 75px);
  margin-bottom: 25px;
}

.About-text h3 {
  color: var(--text-color);
  letter-spacing: 2px;
  font-size: 22px;
  margin-bottom: 25px;
}

.About-text h3 span {
  color: var(--skin-color);
  font-weight: 600;
}

.About-text p {
  text-align: justify;
  color: var(--text-color);
  letter-spacing: 0.5px;
  line-height: 1.8;
  font-size: 18px;
  margin-bottom: 20px;
}

.About-text p strong {
  color: var(--skin-color);
  font-weight: 600;
}

/* Infos personnelles */
.row-info {
  display: flex;
  justify-content: start;
  align-content: center;
  width: 100%;
  list-style: none;
  text-decoration: none;
  color: var(--text-color);
  margin: 30px 0;
  padding: 30px;
  background: var(--bg-color-headers);
  border-radius: 15px;
  border-left: 4px solid var(--skin-color);
}

.info {
  display: flex;
  justify-content: start;
  align-content: center;
  list-style: none;
  text-decoration: none;
  color: var(--text-color);
  width: 50%;
}

.row-info ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.row-info li {
  font-size: 17px;
  margin-top: 12px;
  color: var(--text-color);
  transition: all 0.3s ease;
}

.row-info li:hover {
  transform: translateX(5px);
  color: var(--skin-color);
}

.row-info span.debut {
  font-weight: bold;
  font-size: 17px;
  margin-right: 8px;
  color: var(--skin-color);
}

.row-info li::before {
  content: "▸";
  padding-right: 10px;
  color: var(--skin-color);
  font-weight: bold;
}

/* Statistiques */
.about-stats {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  margin: 40px 0;
  padding: 30px;
  background: linear-gradient(135deg, var(--bg-color-headers) 0%, var(--skin-color-glow) 100%);
  border-radius: 15px;
  gap: 20px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  padding: 20px;
  background: var(--bg-color);
  border-radius: 10px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.stat-item:hover {
  transform: translateY(-5px);
  border-color: var(--skin-color);
  box-shadow: 0 10px 30px var(--skin-color-shadow);
}

.stat-number {
  font-size: 48px;
  font-weight: bold;
  color: var(--skin-color);
  margin-bottom: 10px;
  text-shadow: 0 0 20px var(--skin-color-shadow-strong);
}

.stat-label {
  font-size: 14px;
  color: var(--text-color);
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Boutons */
.about-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.About-text .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-decoration: none;
}

.About-text .btn i {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.About-text .btn-primary {
  background: var(--skin-color);
  color: var(--text-color-black);
  box-shadow: 0 4px 15px var(--skin-color-shadow);
}

.About-text .btn-primary:hover {
  background: transparent;
  border-color: var(--skin-color);
  color: var(--text-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--skin-color-glow);
}

.About-text .btn-primary:hover i {
  transform: translateY(-2px);
}

.About-text .btn-secondary {
  background: transparent;
  border: 2px solid var(--skin-color);
  color: var(--text-color);
}

.About-text .btn-secondary:hover {
  background: var(--skin-color);
  color: var(--text-color-black);
  transform: translateY(-3px);
}

.About-text .btn-secondary:hover i {
  transform: translateX(5px);
}

/* Responsive */
@media screen and (max-width: 1300px) {
  .About {
    flex-direction: column;
    padding: 200px 75px;
  }

  .About-img {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    margin-bottom: 50px;
  }

  .About-img .about-title-img {
    display: block;
  }

  .About-img .about-title-img h2 {
    color: var(--skin-color);
    font-size: clamp(60px, 4vw, 75px);
    margin-bottom: 25px;
  }

  .About-img .about-title-img h3 {
    color: var(--text-color);
    letter-spacing: 2px;
    font-size: 22px;
    margin-bottom: 25px;
  }

  .About-img .about-title-img h3 span {
    color: var(--skin-color);
  }

  .About-img img {
    border: 1px solid #dee2e6;
    border-radius: 50%;
    height: 250px;
    width: 250px;
  }

  .About-text {
    width: 85%;
    padding: 50px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .About-text .about-title {
    display: none;
  }
}

@media screen and (max-width: 1000px) {
  .row-info {
    display: flex;
    justify-content: start;
    align-content: center;
    flex-direction: column;
  }

  .info {
    width: 100%;
  }

  .info:first-child {
    margin-bottom: 20px;
  }

  .about-stats {
    flex-direction: column;
    gap: 15px;
  }

  .stat-item {
    width: 100%;
  }
}

@media screen and (max-width: 900px) {
  #About {
    padding: 200px 0px;
  }

  .About-text {
    width: 90%;
    padding: 50px;
  }

  .about-buttons {
    flex-direction: column;
    width: 100%;
  }

  .About-text .btn {
    width: 100%;
  }
}

@media screen and (max-width: 750px) {
  #About {
    padding: 100px 0px;
  }

  .About-text {
    width: 100%;
    padding: 35px;
  }

  .About-text p {
    font-size: 16px;
    line-height: 1.6;
  }

  .row-info {
    padding: 20px;
  }

  .row-info li {
    font-size: 15px;
  }

  .about-stats {
    padding: 20px;
  }

  .stat-number {
    font-size: 36px;
  }

  .stat-label {
    font-size: 12px;
  }
}

@media screen and (max-width: 450px) {
  .About-img img {
    height: 200px;
    width: 200px;
  }

  .About-text h2 {
    font-size: 40px;
  }

  .About-text h3 {
    font-size: 18px;
  }

  .stat-number {
    font-size: 30px;
  }
}


/* 
___________________________________________________________________________________________

                     Section  Skill - Grille statique moderne
___________________________________________________________________________________________
 */

.Skill {
  min-height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 100px 50px;
  background-color: var(--bg-color);
}

.Skill .container-skill {
  width: 100%;
  max-width: 1200px;
}

.Skill .section-title {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  margin-bottom: 80px;
}

.Skill h2 {
  text-align: center;
  color: var(--skin-color);
  font-size: clamp(60px, 4vw, 75px);
  margin-bottom: 20px;
}

.Skill h3 {
  text-align: center;
  color: var(--text-color);
  letter-spacing: 1px;
  font-size: 20px;
  max-width: 800px;
  line-height: 1.6;
}

.Skill hr {
  width: 30%;
  margin: 20px 0;
  border: 1px solid var(--skin-color);
}

/* Catégories */
.skill-category {
  margin-bottom: 60px;
}

.skill-category h4 {
  font-size: 28px;
  color: var(--skin-color);
  text-align: center;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

/* Grille de skills */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 30px;
  justify-items: center;
}

/* Carte de skill */
.skill-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 160px;
  aspect-ratio: 1;
  padding: 25px;
  background: var(--bg-color-headers);
  border-radius: 20px;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
  position: relative;
  overflow: hidden;
}

/* Effet de glow au hover */
.skill-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg, var(--skin-color), transparent);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.skill-card:hover::before {
  opacity: 1;
}

.skill-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: var(--skin-color);
}

/* Image/icône */
.skill-card img,
.skill-card svg {
  width: 70px;
  height: 70px;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.skill-card:hover img,
.skill-card:hover svg {
  transform: scale(1.15) rotateY(5deg);
}

/* Texte */
.skill-card span {
  color: var(--text-color);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.skill-card:hover span {
  color: var(--skin-color);
}

/* Animation d'apparition au scroll */
.skill-card {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.skill-card:nth-child(1) { animation-delay: 0.1s; }
.skill-card:nth-child(2) { animation-delay: 0.15s; }
.skill-card:nth-child(3) { animation-delay: 0.2s; }
.skill-card:nth-child(4) { animation-delay: 0.25s; }
.skill-card:nth-child(5) { animation-delay: 0.3s; }
.skill-card:nth-child(6) { animation-delay: 0.35s; }
.skill-card:nth-child(7) { animation-delay: 0.4s; }
.skill-card:nth-child(8) { animation-delay: 0.45s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media screen and (max-width: 1024px) {
  .skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 25px;
  }
  
  .skill-card {
    max-width: 140px;
    padding: 20px;
  }
  
  .skill-card img,
  .skill-card svg {
    width: 60px;
    height: 60px;
  }
}

@media screen and (max-width: 768px) {
  .Skill {
    padding: 80px 25px;
  }
  
  .skill-category {
    margin-bottom: 50px;
  }
  
  .skill-category h4 {
    font-size: 24px;
    margin-bottom: 30px;
  }
  
  .skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
  }
  
  .skill-card {
    max-width: 120px;
    padding: 15px;
    border-radius: 15px;
  }
  
  .skill-card img,
  .skill-card svg {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
  }
  
  .skill-card span {
    font-size: 14px;
  }
}

@media screen and (max-width: 480px) {
  .Skill h2 {
    font-size: 40px;
  }
  
  .Skill h3 {
    font-size: 16px;
  }
  
  .skill-category h4 {
    font-size: 20px;
  }
  
  .skills-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
  
  .skill-card {
    max-width: 100px;
    padding: 12px;
  }
  
  .skill-card img,
  .skill-card svg {
    width: 40px;
    height: 40px;
  }
  
  .skill-card span {
    font-size: 12px;
  }
}

/* 
___________________________________________________________________________________________

                     Section Experience - Timeline AMÉLIORÉE RESPONSIVE
___________________________________________________________________________________________
 */

.Experience {
  min-height: 100vh;
  padding: 100px 50px;
  background-color: var(--bg-color);
  position: relative;
}

.Experience .section-title {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  margin-bottom: 80px;
}

.Experience h2 {
  text-align: center;
  color: var(--skin-color);
  font-size: clamp(60px, 4vw, 75px);
  margin-bottom: 20px;
}

.Experience h3 {
  text-align: center;
  color: var(--text-color);
  letter-spacing: 1px;
  font-size: 20px;
  max-width: 800px;
  line-height: 1.6;
  margin: 0 20px;
}

.Experience hr {
  width: 30%;
  margin: 20px 0;
  border: 1px solid var(--skin-color);
}

/* ====== TIMELINE CONTAINER ====== */
.timeline-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
}

/* Ligne centrale de la timeline */
.timeline-container::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, 
    transparent, 
    var(--skin-color) 10%, 
    var(--skin-color) 90%, 
    transparent
  );
  top: 0;
  z-index: 1;
}


/* ====== TIMELINE ITEM ====== */
.timeline-item {
  position: relative;
  width: 100%;
  margin-bottom: 60px;
  display: flex;
  align-items: flex-start;
  z-index: 2;
}

/* Items LEFT - Texte à gauche */
.timeline-item.left {
  justify-content: flex-start;
}

.timeline-item.left .timeline-content {
  width: calc(50% - 40px);
  text-align: right;
  padding-right: 30px;
  position: relative;
}

/* Ligne de connexion pour LEFT */
.timeline-item.left .timeline-content::after {
  content: '';
  position: absolute;
  right: -30px;
  top: 30px;
  width: 30px;
  height: 2px;
  background: var(--skin-color);
  z-index: 1;
}

/* Items RIGHT - Texte à droite */
.timeline-item.right {
  justify-content: flex-end;
}

.timeline-item.right .timeline-content {
  width: calc(50% - 40px);
  text-align: left;
  padding-left: 30px;
  position: relative;
}

/* Ligne de connexion pour RIGHT */
.timeline-item.right .timeline-content::after {
  content: '';
  position: absolute;
  left: -30px;
  top: 30px;
  width: 30px;
  height: 2px;
  background: var(--skin-color);
  z-index: 1;
}


/* ====== TIMELINE CONTENT ====== */
.timeline-content {
  position: relative;
  display: flex;
  flex-direction: column;
}

/* ====== TIMELINE ICON ====== */
.timeline-icon {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: var(--bg-color-headers);
  border: 4px solid var(--skin-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.timeline-icon i {
  font-size: 24px;
  color: var(--skin-color);
}

.timeline-icon.active {
  background: var(--skin-color);
  box-shadow: 0 0 30px var(--skin-color-shadow);
  animation: pulse-icon 2s ease-in-out infinite;
}

.timeline-icon.active i {
  color: var(--text-color-black);
}

@keyframes pulse-icon {
  0%, 100% { 
    transform: translateX(-50%) scale(1); 
  }
  50% { 
    transform: translateX(-50%) scale(1.1); 
  }
}

.timeline-item:hover .timeline-icon {
  transform: translateX(-50%) scale(1.15);
  box-shadow: 0 0 20px var(--skin-color-shadow);
}

/* ====== TIMELINE CARD ====== */
.timeline-card {
  background: var(--bg-color-headers);
  padding: 25px;
  border-radius: 20px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin-top: 10px;
}

.timeline-card:hover {
  border-color: var(--skin-color);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--skin-color-shadow);
}

.timeline-card.active {
  border-color: var(--skin-color);
  background: linear-gradient(135deg, var(--bg-color-headers) 0%, rgba(55, 177, 130, 0.05) 100%);
}

/* ====== DATE ====== */
.timeline-date {
  display: inline-block;
  padding: 8px 16px;
  background: var(--skin-color-glow);
  color: var(--skin-color);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  border: 1px solid var(--skin-color);
  width: fit-content;
}

/* ====== TITRE ====== */
.timeline-card h3 {
  color: var(--text-color);
  font-size: 22px;
  font-weight: 700;
  margin: 8px 0 12px 0;
  line-height: 1.3;
}

/* ====== DESCRIPTION ====== */
.timeline-card p {
  color: var(--text-color-2);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 12px;
  text-align: justify;
}

.timeline-card p strong {
  color: var(--skin-color);
  font-weight: 600;
}

/* ====== TAGS ====== */
.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.timeline-tags .tag {
  padding: 6px 14px;
  background: var(--bg-color);
  border: 1px solid var(--skin-color);
  border-radius: 15px;
  font-size: 13px;
  color: var(--text-color);
  font-weight: 500;
  transition: all 0.3s ease;
}

.timeline-tags .tag:hover {
  background: var(--skin-color);
  color: var(--text-color-black);
  transform: scale(1.05);
}

/* ====== CERTIFICATION ====== */
.timeline-certif {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 12px 18px;
  background: var(--skin-color-glow);
  border-radius: 10px;
  border: 1px solid var(--skin-color);
  width: fit-content;
}

.timeline-certif i {
  font-size: 18px;
  color: var(--skin-color);
}

.timeline-certif span {
  color: var(--text-color);
  font-size: 14px;
  font-weight: 600;
}

/* ====== RESPONSIVE - TABLETTE ====== */
@media screen and (max-width: 1024px) {
  .timeline-item.left .timeline-content,
  .timeline-item.right .timeline-content {
    width: calc(50% - 30px);
    padding-right: 20px;
    padding-left: 20px;
  }

  .timeline-card {
    padding: 20px;
  }

  .timeline-card h3 {
    font-size: 20px;
  }
}

/* ====== RESPONSIVE - MOBILE ====== */
@media screen and (max-width: 768px) {
  .Experience {
    padding: 80px 20px;
  }

  .Experience h2 {
    font-size: 40px;
  }

  .Experience h3 {
    font-size: 16px;
  }

  /* Ligne à gauche sur mobile */
  .timeline-container::before {
    left: 30px;
  }

  .timeline-container {
    padding: 20px 0;
  }

  /* Supprimer les lignes de connexion desktop sur mobile */
  .timeline-item.left .timeline-content::after,
  .timeline-item.right .timeline-content::after {
    display: none;
  }

  /* Ligne de connexion mobile depuis l'icône */
  .timeline-item::before {
    content: '';
    position: absolute;
    left: 55px;
    top: 30px;
    width: 15px;
    height: 2px;
    background: var(--skin-color);
    z-index: 1;
  }

  /* ⭐ FORCE tous les items à gauche sur mobile */
  .timeline-item.left,
  .timeline-item.right {
    justify-content: flex-start !important;
  }

  /* Tous les items à droite sur mobile */
  .timeline-item {
    justify-content: flex-start;
    margin-bottom: 40px;
  }

  .timeline-item.left .timeline-content,
  .timeline-item.right .timeline-content {
    width: calc(100% - 70px);
    text-align: left !important;
    padding-left: 70px !important;
    padding-right: 0 !important;
  }

  /* 🎯 Icône centrée sur le trait */
  .timeline-icon {
    left: 30px !important;
    transform: translateX(-50%) !important;
    width: 50px;
    height: 50px;
  }

  .timeline-icon i {
    font-size: 20px;
  }

  .timeline-item:hover .timeline-icon {
    transform: translateX(-50%) scale(1.1) !important;
  }

  /* Card mobile */
  .timeline-card {
    padding: 20px;
    border-radius: 15px;
  }

  .timeline-card h3 {
    font-size: 18px;
  }

  .timeline-card p {
    font-size: 15px;
  }

  .timeline-date {
    font-size: 12px;
    padding: 6px 12px;
  }

  .timeline-tags {
    gap: 6px;
    margin-top: 12px;
  }

  .timeline-tags .tag {
    font-size: 11px;
    padding: 5px 10px;
  }

  .timeline-certif {
    padding: 10px 14px;
    font-size: 13px;
  }

  .timeline-certif i {
    font-size: 16px;
  }
}

/* ====== RESPONSIVE - PETIT MOBILE ====== */
@media screen and (max-width: 480px) {
  .Experience {
    padding: 60px 15px;
  }

  .Experience h2 {
    font-size: 32px;
  }

  .timeline-item::before {
    left: 45px;
    width: 15px;
  }

  .timeline-item.left .timeline-content,
  .timeline-item.right .timeline-content {
    width: calc(100% - 60px);
    padding-left: 60px !important;
  }

  /* 🎯 Icône centrée sur le trait (480px) */
  .timeline-icon {
    width: 45px;
    height: 45px;
    left: 22px !important;
    transform: translateX(-50%) !important;
  }

  .timeline-icon i {
    font-size: 18px;
  }

  .timeline-item:hover .timeline-icon {
    transform: translateX(-50%) scale(1.1) !important;
  }

  .timeline-container::before {
    left: 22px;
    width: 3px;
  }

  .timeline-card {
    padding: 15px;
  }

  .timeline-card h3 {
    font-size: 17px;
  }

  .timeline-card p {
    font-size: 14px;
    line-height: 1.6;
  }

  .timeline-tags .tag {
    font-size: 10px;
    padding: 4px 8px;
  }

  .timeline-certif {
    padding: 8px 12px;
    font-size: 12px;
  }
}

/* ====== TRÈS PETIT MOBILE ====== */
@media screen and (max-width: 360px) {
  .timeline-item::before {
    left: 40px;
    width: 10px;
  }

  .timeline-item.left .timeline-content,
  .timeline-item.right .timeline-content {
    width: calc(100% - 50px);
    padding-left: 50px !important;
  }

  /* 🎯 Icône centrée sur le trait (360px) */
  .timeline-icon {
    width: 40px;
    height: 40px;
    left: 18px !important;
    transform: translateX(-50%) !important;
  }

  .timeline-icon i {
    font-size: 16px;
  }

  .timeline-item:hover .timeline-icon {
    transform: translateX(-50%) scale(1.1) !important;
  }

  .timeline-container::before {
    left: 18px;
  }
}
/* 
___________________________________________________________________________________________

                     Section Portfolio - Design Moderne avec Filtres
___________________________________________________________________________________________
 */

.Portfolio {
  min-height: 100vh;
  padding: 100px 100px;
  background-color: var(--bg-color);
}

.Portfolio .container-Portfolio {
  max-width: 1400px;
  margin: 0 auto;
}

.Portfolio .section-title {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  margin-bottom: 60px;
}

.Portfolio h2 {
  color: var(--skin-color);
  font-size: clamp(60px, 4vw, 75px);
  margin-bottom: 20px;
}

.Portfolio h3 {
  color: var(--text-color);
  letter-spacing: 1px;
  font-size: 20px;
  max-width: 800px;
  line-height: 1.6;
  margin: 0 20px;
}

.Portfolio hr {
  width: 30%;
  margin: 20px 0;
  border: 1px solid var(--skin-color);
}

/* Filtres */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.filter-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--bg-color-headers);
  border: 2px solid transparent;
  border-radius: 50px;
  color: var(--text-color);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.filter-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: var(--skin-color);
  transition: width 0.4s ease, height 0.4s ease;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.filter-btn:hover::before {
  width: 300px;
  height: 300px;
}

.filter-btn span,
.filter-btn i {
  position: relative;
  z-index: 1;
}

.filter-btn i {
  font-size: 18px;
}

.filter-btn:hover {
  border-color: var(--skin-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px var(--skin-color-shadow);
}

.filter-btn:hover span,
.filter-btn:hover i {
  color: var(--text-color-black);
}

.filter-btn.active {
  background: var(--skin-color);
  border-color: var(--skin-color);
  color: var(--text-color-black);
  box-shadow: 0 8px 20px var(--skin-color-shadow);
}

/* Grille de projets */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 35px;
  margin: 0 auto;
}

/* Card */
.project-card {
  background: var(--bg-color-headers);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }
.project-card:nth-child(4) { animation-delay: 0.4s; }
.project-card:nth-child(5) { animation-delay: 0.5s; }
.project-card:nth-child(6) { animation-delay: 0.6s; }
.project-card:nth-child(7) { animation-delay: 0.7s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.project-card:hover {
  transform: translateY(-12px);
  border-color: var(--skin-color);
  box-shadow: 0 25px 50px var(--skin-color-shadow);
}

/* Image */
.card-image {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .card-image img {
  transform: scale(1.15);
}

/* Overlay */
.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 50%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 30px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .card-overlay {
  opacity: 1;
}

.overlay-buttons {
  display: flex;
  gap: 15px;
}

.btn-details,
.btn-live {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-details {
  background: var(--skin-color);
  color: var(--text-color-black);
}

.btn-details:hover {
  background: transparent;
  border-color: var(--skin-color);
  color: var(--skin-color);
  transform: scale(1.05);
}

.btn-live {
  background: transparent;
  border-color: #fff;
  color: #fff;
}

.btn-live:hover {
  background: #fff;
  color: #000;
  transform: scale(1.05);
}

/* Contenu */
.card-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-badge {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-badge.cyber {
  background: rgba(244, 67, 54, 0.2);
  color: #f44336;
  border: 1px solid #f44336;
}

.card-badge.web {
  background: rgba(33, 150, 243, 0.2);
  color: #2196F3;
  border: 1px solid #2196F3;
}

.card-badge.iot {
  background: rgba(156, 39, 176, 0.2);
  color: #9c27b0;
  border: 1px solid #9c27b0;
}

.card-badge.certif {
  background: rgba(76, 175, 80, 0.2);
  color: #4caf50;
  border: 1px solid #4caf50;
}


.card-icons i {
  font-size: 24px;
  color: var(--skin-color);
  opacity: 0.5;
}

.card-content h3 {
  color: var(--text-color);
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

.card-content p {
  color: var(--text-color-2);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.card-tags .tag {
  padding: 5px 12px;
  background: var(--bg-color);
  border: 1px solid var(--skin-color);
  border-radius: 12px;
  font-size: 12px;
  color: var(--text-color);
  font-weight: 500;
  transition: all 0.3s ease;
}

.card-tags .tag:hover {
  background: var(--skin-color);
  color: var(--text-color-black);
  transform: scale(1.05);
}

/* Message aucun projet */
.no-projects {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 80px 20px;
  color: var(--text-color-2);
  text-align: center;
}

.no-projects i {
  font-size: 64px;
  opacity: 0.3;
}

.no-projects p {
  font-size: 18px;
  font-weight: 500;
}

/* Responsive */
@media screen and (max-width: 1200px) {
  .portfolio-grid {
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
  }
}

@media screen and (max-width: 768px) {
  .Portfolio {
    padding: 80px 25px;
  }

  .portfolio-filters {
    gap: 10px;
  }

  .filter-btn {
    padding: 12px 20px;
    font-size: 14px;
  }

  .filter-btn span {
    display: none;
  }

  .filter-btn.active span {
    display: inline;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .card-image {
    height: 220px;
  }

  .card-content {
    padding: 25px 20px;
  }

  .overlay-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn-details,
  .btn-live {
    width: 100%;
    justify-content: center;
  }
}

@media screen and (max-width: 480px) {
  .Portfolio {
    padding: 80px 15px;
  }

  .filter-btn {
    padding: 10px 16px;
    font-size: 13px;
  }

  .card-content h3 {
    font-size: 19px;
  }

  .card-content p {
    font-size: 14px;
  }
}

/* 
___________________________________________________________________________________________

                     Section  Contact
___________________________________________________________________________________________
 */

.Contact {
  min-height: 100vh;
  position: relative;
  padding: 100px 100px;
  /* background-image: url("../img/bg.webp");
  background-position: center ;
  background-repeat: no-repeat;
  background-size: cover;*/
}

.Contact h2 {
  text-align: center;
  color: var(--skin-color);
  font-size: clamp(60px, 4vw, 75px);
}

.Contact .contact-title {
  color: var(--text-color);
  text-align: center;
  font-size: 25px;
  margin-bottom: 20px;
  margin-top: 20px;
}

.Contact .contact-sub-title {
  color: var(--text-color);
  text-align: center;
  font-size: 15px;
  margin-bottom: 60px;
}

.Contact .container .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.Contact .contact-info-item {
  flex: 0 0 25%;
  max-width: 25%;
  text-align: center;
  margin-bottom: 60px;
  min-width: 200px;
}

.Contact .contact-info-item .icon {
  display: inline-block;
}

.Contact .contact-info-item .icon i {
  font-size: 25px;
  color: var(--skin-color);
}

.Contact .contact-info-item h4,
.Contact .contact-info-item h5 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-color);
  text-transform: capitalize;
  margin: 15px 0 5px;
}

.Contact .contact-info-item p {
  font-size: 16px;
  line-height: 25px;
  color: var(--text-color-2);
  font-weight: 400;
}

.Contact .container .contact-form .row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
  position: relative;
}

.Contact .contact-form {
  flex: 0 0 60%;
  max-width: 60%;
}

.Contact .contact-form .col-6 {
  flex: 0 0 48%;
  max-width: 50%;
}

.Contact .contact-form .col-6:nth-child(1) {
  margin-right: 2%;
}

.Contact .contact-form .col-6:nth-child(2) {
  margin-left: 2%;
}

.Contact .contact-form .col-12 {
  flex: 0 0 100%;
  max-width: 100%;
}

.Contact .contact-form .form-item {
  margin-bottom: 30px;
}

.Contact .contact-form .form-item .form-control {
  width: 100%;
  height: 50%;
  border-radius: 25px;
  background: var(--bg-color-headers);
  border: 1px solid var(--bg-color-headers);
  padding: 10px 25px;
  font-size: 16px;
  color: var(--text-color);
  transition: all 0.3s ease;
}

.Contact .contact-form .form-item .form-control:focus {
  box-shadow: 0 0 20px var(--bg-color-headers);
}

.Contact .contact-form .form-item textarea.form-control {
  height: 140px;
}

.Contact .contact-form .btn {
  margin-top: 45px;
  background-color: var(--skin-color);
  color: var(--text-color);
  text-decoration: none;
  border: 2px solid transparent;
  padding: 10px 25px;
  border-radius: 2rem;
  transition: 0.4s;
  font-size: 1.25rem;
  height: 50px;
}

.Contact .contact-form .btn i {
  margin-right: 10px;
}

.Contact .contact-form .btn:hover {
  background-color: transparent;
  border: 2px solid var(--skin-color);
  cursor: pointer;
  color: var(--text-color);
}

.alert {
  width: 100%;
  padding: 12px 16px;
  border-radius: 4px;
  border-width: 1px;
  margin-top: 10px;
  font-size: 16px;
}

.alert-danger {
  color: #a94442;
  background-color: #f2dede;
  border-color: #ebccd1;
}

.alert-success {
  color: #3c763d;
  background-color: #dff0d8;
  border-color: #d6e9c6;
}

@media screen and (max-width: 1000px) {
  .Contact .contact-form {
    flex: 0 0 80%;
    max-width: 80%;
  }
}

@media screen and (max-width: 700px) {
  .Contact {
    min-height: 100vh;
    position: relative;
    padding: 100px 0px;
  }

  .Contact .contact-form {
    flex: 0 0 80%;
    max-width: 80%;
  }
}

/* 
___________________________________________________________________________________________

                     Footer
___________________________________________________________________________________________
 */

#footer {
  background-color: var(--bg-color);
  padding: 1rem;
  text-align: center;
  margin-top: 1rem;
  color: var(--skin-color);
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.social-buttons {
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.social-buttons .social-media {
  display: flex;
  justify-content: center;
  align-items: center;

  cursor: pointer;
  width: 3.125rem;
  height: 3.125rem;
  border: 0.125rem solid transparent;
  padding: 0;
  text-decoration: none;
  text-align: center;
  color: #fefefe;
  font-size: 1.5625rem;
  font-weight: normal;
  line-height: 2em;
  border-radius: 1.6875rem;
  transition: all 0.5s ease;
  margin: 1rem;
  margin-bottom: 0.25rem;
}

.social-buttons .social-media:hover,
.social-buttons .social-media:focus {
  -webkit-transform: rotate(360deg);
  -ms-transform: rotate(360deg);
  transform: rotate(360deg);
}

.social-buttons .social-media.github {
  background: #5e5e5e;
}

.social-buttons .social-media.github:hover,
.social-buttons .social-media.github:focus {
  color: #5e5e5e;
  background: #fefefe;
  border-color: #5e5e5e;
}

.social-buttons .social-media.linkedin {
  background: #007bb5;
} 

.social-buttons .social-media.linkedin:hover,
.social-buttons .social-media.linkedin:focus {
  color: #007bb5;
  background: #fefefe;
  border-color: #007bb5;
}

.social-buttons .social-media.discord {
  background: #5865f2;
}

.social-buttons .social-media.discord:hover,
.social-buttons .social-media.discord:focus {
  color: #5865f2;
  background: #fefefe;
  border-color: #5865f2;
}

#footer hr {
  width: 50%;
}

#footer p {
  margin-top: 1rem;
  color: var(--skin-color);
}

/* 
___________________________________________________________________________________________

                     Pages  Portfolio-details
___________________________________________________________________________________________
 */

.Portfolio-details {
  min-height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 100px 0px 0px 0px;
  background-color: var(--bg-color);
}

.Portfolio-details .row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
}

.Portfolio-details .container-slider {
  width: 45%;
}

.Portfolio-details .swiper {
  width: 100%;
}

.Portfolio-details .swiper-slide {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  padding-bottom: 40px;
}

.Portfolio-details .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.autoplay-progress {
  position: absolute;
  right: 16px;
  bottom: 40px;
  z-index: 10;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.autoplay-progress svg {
  --progress: 0;
  position: absolute;
  left: 0;
  top: 0px;
  z-index: 10;
  width: 100%;
  height: 100%;
  stroke-width: 4px;
  fill: none;
  stroke-dashoffset: calc(125.6 * (1 - var(--progress)));
  stroke-dasharray: 125.6;
  transform: rotate(-90deg);
}

.Portfolio-details .swiper-pagination-bullet {
  width: 12.5px;
  height: 12.5px;
  background-color: #dddddd;
}

.Portfolio-details .container-detail {
  width: 40%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border-radius: 1rem;
  box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 12px;
  background-color: #171717;
  padding: 50px;
}

.Portfolio-details .portfolio-info {
  display: flex;
  justify-content: center;
  flex-direction: column;
  width: 90%;
}

.Portfolio-details .portfolio-info h3 {
  text-align: center;
  color: var(--text-color);
  font-size: 35px;
}

.Portfolio-details .portfolio-info hr {
  width: 100%;
  margin: 15px 0px;
}

.Portfolio-details .portfolio-info ul {
  text-align: start;
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.Portfolio-details .portfolio-info li {
  color: var(--text-color);
  font-size: 18px;
  margin-top: 10px;
}

.Portfolio-details .portfolio-info li::before {
  content: ">";
  padding-right: 8px;
  color: var(--skin-color);
}

.Portfolio-details .badge ul {
  text-align: start;
  list-style-type: none;
  padding: 0;
  margin: 0;
  margin-bottom: 20px;
}

.Portfolio-details .badge li {
  color: var(--text-color);
  font-size: 18px;
  margin-top: 10px;
}

.Portfolio-details .badge li::before {
  content: "-";
  padding-right: 8px;
  color: var(--skin-color);
}

.Portfolio-details .container-detail a {
  color: var(--skin-color);
}

.Portfolio-details .portfolio-description {
  height: 40%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  width: 90%;
  color: var(--text-color);
}

.Portfolio-details .portfolio-description h4 {
  text-align: start;
  color: var(--text-color);
  font-size: 25px;
  margin-bottom: 15px;
}

.Portfolio-details .portfolio-description p {
  text-align: justify;
  color: var(--text-color-2);
  letter-spacing: 1px;
  font-size: 18px;
  font-weight: 100;
}

@media screen and (max-width: 1200px) {
  .Portfolio-details .row {
    flex-direction: column-reverse;
    padding: 100px 0;
  }

  .Portfolio-details .container-slider {
    width: 80%;
    margin-top: 50px;
  }

  .Portfolio-details .container-detail {
    width: 80%;
  }
}

@media screen and (max-width: 700px) {
  .Portfolio-details .row {
    flex-direction: column-reverse;
    padding: 50px 0;
  }

  .Portfolio-details .container-slider {
    width: 90%;
    margin-top: 50px;
  }

  .Portfolio-details .container-detail {
    width: 90%;
    padding: 20px;
  }
}

/* 
___________________________________________________________________________________________

                     Pages  Portfolio-details   CTF Tableau
___________________________________________________________________________________________
 */

.ctf {
  min-height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  padding: 200px 0px 0px 0px;
  background-color: var(--bg-color);
}


.ctf .wrapper-table {
  margin: 0 auto;
  padding: 40px;
  padding-top: 50px;
  width: 80%;
}

table {
  border-spacing: 1px;
  border-collapse: collapse;
  background: white;
  border-radius: 6px;
  overflow: hidden;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

table * {
  position: relative;
}

table td,
table th {
  padding-left: 8px;
  text-align: center;
}

table thead tr {
  text-align: center;
  height: 60px;
  background: var(--skin-color);
  font-size: 20px;
}

table tbody tr {
  height: 48px;
  text-align: center;
  border-bottom: 1px solid #7c7c7c;
}

table tbody td {
  height: 48px;
  text-align: center;
  font-size: 17px;
}

table tbody tr:last-child {
  border: 0;
}

.wrapper-table .table a {
  color: black;
}

table td,
table th {
  text-align: center;
}

@media screen and (max-width: 780px) {
  table thead tr {
    font-size: 18px;
  }

  table tbody td {
    font-size: 15px;
  }

  .ctf .wrapper-table {
    padding: 0px;
    padding-top: 50px;
    width: 80%;
  }
}


@media screen and (max-width: 35.5em) {
  table {
    display: block;
  }

  table>*,
  table tr,
  table td,
  table th {
    display: block;
  }

  table thead {
    display: none;
  }

  table tbody tr {
    height: auto;
    padding: 8px 0;
  }

  table tbody tr td {
    text-align: left;
    padding-left: 45%;
    margin-bottom: 12px;
  }

  table tbody tr td:last-child {
    margin-bottom: 0;
  }

  table tbody tr td:before {
    position: absolute;
    font-weight: 700;
    width: 40%;
    left: 10px;
    top: 0;
  }

  table tbody tr td:nth-child(1):before {
    content: "Plateforme";
  }

  table tbody tr td:nth-child(2):before {
    content: "Niveau";
  }

  table tbody tr td:nth-child(3):before {
    content: "Nom";
  }

  table tbody tr td:nth-child(4):before {
    content: "Date";
  }

  table tbody tr td:nth-child(5):before {
    content: "Lien";
  }
}


/* 
___________________________________________________________________________________________

                     Pages  Portfolio-details   WIzanime Video
___________________________________________________________________________________________
 */


 .Wizanime {
  min-height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  padding: 200px 0px 0px 0px;
  background-color: var(--bg-color);
}
 
.Wizanime .wrapper-table {
  margin: 0 auto;
  padding: 40px;
  padding-top: 50px;
  width: 80%;
}

 
.Wizanime .wrapper-table video{
  margin: 0 auto;
  padding: 40px;
  padding-top: 50px;
  width: 100%;
}


@media screen and (max-width: 780px) {

  .Wizanime .wrapper-table {
    padding: 0px;
    padding-top: 50px;
    width: 90%;
  }
}



