* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
  }
  body{
    background-color: #121F28;
     padding-top: 60px;
  }
  .menu-nav{
    background-color: #152734;
    display: flex;
    align-items: center;
    justify-content: space-between; 
    height: 75px;
    padding: 0 24px;
    gap: 16px;
    position: fixed;
    top: 0;
    z-index: 1000;
    width: 100%;
    left: 0;
  }
  .menu {
    list-style: none;
    display: flex; 
    align-items: center;
    gap: 28px;
  }
  .portfolio{
    color: #FD7747;
  }
  .nom{
    color: rgba(255,255,255,0.7);
    font-size: 25px;
    font-weight: 600;
  }
  .menu li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 6px 8px;
    transition: color 0.3s;
  }
  .menu li a.active,
  .menu li a[aria-current="page"]{
    color: #FD7747;
  }
  .menu li a:hover {
    color: #FD7747;
  }
  .burger{
    display: none; 
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
  }
  .burger:focus{ outline: 2px solid #FD7747; outline-offset: 2px; }
  .burger:hover{ background: rgba(255,255,255,0.12); }
  .burger:active{ transform: scale(0.96); box-shadow: 0 4px 16px rgba(0,0,0,0.25); }
  .burger .line{
    width: 22px; height: 2.5px; border-radius: 2px;
    background: #ffffff;
    box-shadow: 0 0 1px rgba(0,0,0,0.25);
    transition: transform .3s ease, opacity .2s ease;
  }
  .burger.active .line:nth-child(1){ transform: translateY(7px) rotate(45deg); }
  .burger.active .line:nth-child(2){ opacity: 0; }
  .burger.active .line:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
  body.no-scroll{ overflow: hidden; }
  .back{
    position: relative;
    background-image:linear-gradient(rgba(255,255,255,0.18),rgba(255,255,255,0.18)),url('PFI.png') ;
    background-size: cover;
    background-position: center;
    height: 630px;
    padding: 120px 40px 40px 40px;
    color: white;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
  }
  .hero{
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 40px;
  }
  .hero-right{
    display: flex;
    justify-content: center;
  }
  .hero-card{
    width: 500px;
    height: 480px;
    border-radius: 8px;
    background: linear-gradient(160deg, #0c141a 0%, #101e28 60%, #112b3b 100%);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 12px 24px rgba(0,0,0,0.45);
  }
  .back h2{
    font-size: 2.8rem;
    max-width: 800px;
    line-height: 1.2;
    letter-spacing: 1px;
    padding: 10px;
  }
  .trait{
    font-size: 2.8rem;
    max-width: 800px;
    line-height: 1.2;
    letter-spacing: 1px;
    padding: 10px;
    display: inline-flex;
    align-items: center;
    gap: 12px; 
    position: relative;
  }
  .trait::before{
    content: "";
    display: inline-block;
    width: 180px;
    height: 6px;
    background: #FD7747;
    border-radius: 0 6px 6px 0;
    position: relative;
  }
  .trait::after{
    content: "";
    width: 6px;
    height: 15px;
    background: #FD7747;
    position: absolute;
    left: 180px;
    top: -2px;
    border-radius:3px;
    margin-top: 25px;
    margin-left: 4px;
    align-self: flex-start;
  }
  .button{
    margin-top: 18px;
    padding: 12px 25px;
    background-color: #FD7747;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    margin-right: 40px;
    color: white;
  }
  .button1{
    margin-top: 18px;
    padding: 12px 25px;
    background-color: #000000;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    margin-right: 40px;
    color: white;
    border-width: 1px;
    border-color: #FD7747;
  }
.langage{
   align-items: center;
   display: flex;
   padding: 10px;
   gap: 110px;
   background-color:rgba(18,31,40,0.95) ;
   color: rgba(255,255,255,0.50);
}
.about{
    background-color: #121F28;
    color: white;
    overflow: hidden; 
    padding: 60px 40px 80px 40px;
}
.about-grid{
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}
.about-me{
    color: #FD7747;
    font-size: 2.8rem;
    max-width: 800px;
    line-height: 1.2;
    letter-spacing: 1px;
    padding: 10px;
    display: inline-flex;
    align-items: center;
    gap: 12px; 
    position: relative;
    margin: 0 0 12px 0;
}
.about-me::before{
    content: "";
    display: inline-block;
    width: 180px;
    height: 6px;
    background: #FD7747;
    border-radius: 0 6px 6px 0;
    position: relative;
  }
  .about-me::after{
    content: "";
    width: 6px;
    height: 15px;
    background: #FD7747;
    position: absolute;
    left: 180px;
    top: -2px;
    border-radius:3px;
    margin-top: 25px;
    margin-left: 4px;
    align-self: flex-start;
  }
  .profil{
    margin-top: 16px;
    text-align: left;
    max-width: 750px;
    font-size: 18px;
    color: rgba(255,255,255,0.85);
  }
  .timeline{
    position: relative;
    padding-left: 48px;
    margin: 12px 0 0 0;
  }
  .timeline::before{
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    width: 3px;
    height: 100%;
    background: #FD7747;
  }
  .timeline-list{
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 42px;
    margin: 0;
    padding: 0;
    font-size: 28px;
    color: #fff;
  }
  .timeline-list li{
    position: relative;
    padding-left: 12px;
  }
  .timeline-list li::before{
    content: '';
    position: absolute;
    left: -28px;
    top: 6px;
    width: 12px;
    height: 12px;
    background: #FD7747;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(255,112,0,0.15);
  }
  .tools{
    background-color: #121F28;
    padding: 24px 40px 80px 40px;
  }
  .tools-title{
    color: #FD7747;
    font-size: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    margin-left: 160px;
    margin-top: 28px;
  }
  .tools-title::before{
    content: "";
    display: inline-block;
    width: 120px;
    height: 4px;
    background: #FD7747;
    border-radius: 0 6px 6px 0;
    position: relative;
  }
  .tools-grid{
    max-width: 1100px;
    margin: 28px auto 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    gap: 36px;
  }
  .tool-card{
    background: #0f171e;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .tool-icon{
    width: 84px;
    height: 84px;
    border-radius: 16px;
    background: none; 
    display: grid;
    place-items: center;
    border: none; 
    padding: 0;
  }
  .tool-icon img{
    width: 42px;
    height: 42px;
    display: block;
    background: none !important; 
    border-radius: 0 !important; 
    padding: 0 !important;
    filter: brightness(0) invert(1); 
  }
  .tool-name{ color: rgba(255,255,255,0.9); font-weight: 600; }
  .tool-meter{
    width: 90%;
    height: 10px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    overflow: hidden;
  }
  .tool-meter .level{
    display: block;
    height: 100%;
    background: #FD7747;
  }
  .site-footer{
    background: #0f171e;
    color: rgba(255,255,255,0.85);
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .footer-top{
    max-width: 1200px;
    margin: 0 auto;
    padding: 36px 24px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 24px;
    align-items: start;
  }
  .footer-logo{
    color: #FD7747;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
  }
  .socials{ display: flex; gap: 14px; }
  .social{
    width: 36px; height: 36px; display: grid; place-items: center;
    color: #fff; border: 1px solid rgba(255,255,255,0.18); border-radius: 8px;
    background: #121F28; text-decoration: none;
    transition: transform .2s, border-color .2s;
  }
  .social:hover{ transform: translateY(-2px); border-color: #FD7747; }
  .footer-contact h4{ color:#FD7747; margin-bottom: 10px; }
  .footer-contact ul{ list-style:none; padding:0; margin:0; display:grid; gap:8px; }
  .footer-contact a{ color: rgba(255,255,255,0.85); text-decoration:none; }
  .footer-contact a:hover{ color:#FD7747; }
  .footer-bottom{
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center; padding: 16px 12px; color: rgba(255,255,255,0.6);
    background: #0f171e;
  }
  .skills-container{ max-width: 1200px; margin: 40px auto 80px auto; padding: 0 24px; }
  .skills-title{ color:#FD7747; font-size: 2.4rem; margin: 24px 0; font-weight:700; }
  .skills-frame{ background:#0f171e; border:2px solid rgba(255,255,255,0.18); border-radius:28px; padding: 32px; }
  .skills-grid{ display:grid; grid-template-columns: repeat(3, minmax(160px, 1fr)); gap: 28px; justify-items:center; }
  .skill-card{ display:flex; flex-direction:column; align-items:center; gap:10px; }
  .skill-icon{ width:84px; height:84px; border-radius:16px; display:grid; place-items:center; background:#121F28; color:#fff; border:2px solid #FD7747; font-weight:800; font-size:28px; }
  .skill-icon.brand{ background:#121F28; font-size: 36px; }
  .skill-name{ color: rgba(255,255,255,0.9); font-weight:600; }
  .skill-meter{ width: 140px; height: 10px; background: rgba(255,255,255,0.1); border-radius: 8px; overflow:hidden; }
  .skill-meter span{ display:block; height:100%; background:#FD7747; }
  @media (max-width: 768px){
    .skills-grid{ grid-template-columns: repeat(2, minmax(140px, 1fr)); }
  }
  @media (max-width: 480px){
    .skills-grid{ grid-template-columns: 1fr; }
  }
  .projects-container{ max-width: 1200px; margin: 40px auto 80px auto; padding: 0 24px; }
  .projects-title{
    color: #FD7747; font-size: 2.4rem; margin: 24px 0; font-weight: 700;
  }
  .project-frame{
    min-height: 520px;
    border: 2px solid rgba(255,255,255,0.18);
    border-radius: 28px;
    background: #0f171e;
    padding: 24px;
    position: relative;
  }
  .next-project{
    position: absolute; bottom: 24px; right: 24px;
    background: #FD7747; color: #fff; text-decoration: none; font-weight: 700;
    padding: 14px 22px; border-radius: 10px; box-shadow: 0 2px 0 rgba(0,0,0,0.2);
  }
  @media (max-width: 768px){
    .projects-container{ padding: 0 16px; }
    .projects-title{ font-size: 2rem; }
    .project-frame{ min-height: 380px; }
    .next-project{ right: 16px; bottom: 16px; }
  }
  .contact-container{
    max-width: 1100px;
    margin: 40px auto 80px auto;
    padding: 0 24px;
  }
  .contact-title{
    color: #FD7747;
    font-size: 2.2rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    margin: 24px 0 20px 0;
  }
  .contact-title::before{
    content: "";
    display: inline-block;
    width: 220px;
    height: 6px;
    background: #FD7747;
    border-radius: 0 6px 6px 0;
    position: relative;
    margin-right: 12px;
  }
  .contact-list{ display: grid; gap: 28px; margin-bottom: 40px; }
  .contact-row{ display:flex; align-items:center; gap: 18px; }
  .contact-icon{ width:48px; height:48px; display:grid; place-items:center; font-size:26px; color:#fff; background:#121F28; border:1px solid rgba(255,255,255,0.18); border-radius:8px; }
  .contact-text{ color: rgba(255,255,255,0.9); text-decoration:none; font-size: 24px; }
  .contact-text:hover{ color:#FD7747; }
  .contact-form{ display:grid; gap:16px; max-width:700px; }
  .form-row{ display:grid; gap:8px; }
  .form-row label{ color: rgba(255,255,255,0.8); }
  .form-row input, .form-row textarea{
    background:#0f171e; color:#fff; border:1px solid rgba(255,255,255,0.18); border-radius:8px; padding:12px 14px; outline:none;
  }
  .form-row input:focus, .form-row textarea:focus{ border-color:#FD7747; }
  @media (max-width: 768px){
    .contact-text{ font-size: 18px; }
    .contact-title{ font-size: 1.8rem; }
  }
  @media (max-width: 1024px) {
    .hero { 
      grid-template-columns: 1fr; 
      gap: 30px;
      text-align: center;
    }
    .hero-right { 
      order: -1;
      margin-top: 0;
    }
    .hero-card { 
      width: 350px; 
      height: 400px;
      margin: 0 auto;
    }
    .about-grid { 
      grid-template-columns: 1fr; 
      gap: 32px; 
    }
    .tools-grid { 
      grid-template-columns: repeat(3, 1fr); 
      gap: 20px;
    }
    .tools-title { 
      margin-left: 0; 
      text-align: center;
    }
    .back {
      padding: 100px 30px 40px 30px;
    }
  }
  @media (max-width: 960px) {
    .burger { 
      display: inline-flex;
      width: 48px;
      height: 48px;
      touch-action: manipulation;
    }
    .menu-nav { 
      height: 70px;
      padding: 0 16px;
      justify-content: space-between;
      align-items: center;
    }
    .nav-left {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 2px;
      flex: 1;
      min-width: 0;
    }
    .portfolio {
      font-size: 1.1rem;
      margin: 0;
      line-height: 1.2;
    }
    .nom { 
      font-size: 12px;
      font-weight: 500;
      color: rgba(255,255,255,0.8);
      display: block;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 200px;
    }
    .menu {
      position: fixed;
      top: 70px;
      left: 0;
      width: 85vw;
      max-width: 320px;
      height: calc(100vh - 70px);
      background: linear-gradient(180deg, #152734 0%, #0f1f2a 100%);
      display: flex;
      flex-direction: column;
      padding: 20px;
      gap: 12px;
      box-shadow: 8px 0 25px rgba(0,0,0,0.4);
      z-index: 1001;
      transform: translateX(-100%);
      opacity: 0;
      transition: transform .3s cubic-bezier(0.4, 0, 0.2, 1), opacity .25s ease;
      overflow-y: auto;
      pointer-events: none;
    }
    .menu.open { 
      transform: translateX(0); 
      opacity: 1; 
      pointer-events: auto; 
    }
    .menu li a { 
      padding: 16px 12px;
      display: block;
      border-radius: 10px;
      font-size: 16px;
      font-weight: 600;
      transition: all .2s ease;
      border: 1px solid transparent;
    }
    .menu li a:hover,
    .menu li a:focus { 
      background: rgba(253, 119, 71, 0.1);
      border-color: rgba(253, 119, 71, 0.3);
      transform: translateX(4px);
    }
    .menu.open li { animation: slideInMenu .4s ease-out both; }
    .menu.open li:nth-child(1) { animation-delay: .05s; }
    .menu.open li:nth-child(2) { animation-delay: .1s; }
    .menu.open li:nth-child(3) { animation-delay: .15s; }
    .menu.open li:nth-child(4) { animation-delay: .2s; }
    @keyframes slideInMenu {
      from { 
        transform: translateX(-20px); 
        opacity: 0; 
      }
      to { 
        transform: translateX(0); 
        opacity: 1; 
      }
    }
    body.no-scroll::before {
      content: "";
      position: fixed;
      inset: 0;
      top: 70px;
      background: rgba(0,0,0,0.5);
      backdrop-filter: blur(2px);
      -webkit-backdrop-filter: blur(2px);
      z-index: 999;
    }
    .back { 
      padding: 90px 20px 30px 20px;
      height: auto;
      min-height: 500px;
    }
    .back h2, .trait { 
      font-size: 1.8rem;
      line-height: 1.3;
    }
    .trait::before { 
      width: 100px;
    }
    .trait::after { 
      left: 100px;
    }
    .hero-card {
      width: 280px;
      height: 320px;
    }
    .button {
      padding: 14px 28px;
      font-size: 15px;
      margin-top: 25px;
      touch-action: manipulation;
    }
    .langage { 
      flex-wrap: wrap;
      gap: 15px;
      justify-content: center;
      padding: 15px;
    }
    .tools-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 15px;
    }
  }
  @media (max-width: 768px) {
    body {
      font-size: 14px;
      padding-top: 65px;
    }
    .menu-nav {
      height: 65px;
      padding: 0 12px;
    }
    .portfolio {
      font-size: 1.1rem;
    }
    .menu {
      top: 65px;
      height: calc(100vh - 65px);
      width: 90vw;
      padding: 16px;
    }
    body.no-scroll::before {
      top: 65px;
    }
    .back {
      padding: 80px 15px 25px 15px;
      min-height: 450px;
    }
    .back h2, .trait {
      font-size: 1.6rem;
      padding: 8px;
    }
    .trait::before {
      width: 80px;
    }
    .trait::after {
      left: 80px;
    }
    .hero-card {
      width: 240px;
      height: 280px;
    }
    .button {
      padding: 12px 24px;
      font-size: 14px;
    }
    .about {
      padding: 30px 15px;
    }
    .about-me {
      font-size: 1.8rem;
      text-align: center;
    }
    .profil {
      font-size: 15px;
      line-height: 1.6;
      text-align: left;
    }
    .timeline {
      padding-left: 30px;
    }
    .timeline::before {
      left: 15px;
    }
    .timeline-list {
      font-size: 16px;
      gap: 20px;
    }
    .timeline-list li::before {
      left: -18px;
      width: 8px;
      height: 8px;
      top: 4px;
    }
    .tools {
      padding: 25px 15px;
    }
    .tools-title {
      font-size: 1.6rem;
      text-align: center;
    }
    .tools-grid {
      grid-template-columns: 1fr;
      gap: 15px;
      max-width: 400px;
      margin: 0 auto;
    }
    .tool-card {
      padding: 20px;
      text-align: center;
    }
    .tool-icon {
      width: 60px;
      height: 60px;
      font-size: 20px;
      margin: 0 auto 12px auto;
    }
    .tool-name {
      font-size: 14px;
      margin: 10px 0;
    }
    .tool-meter {
      height: 8px;
    }
    .langage {
      display: flex;
      flex-wrap: nowrap;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      padding: 8px 10px;
    }
    .langage h3 {
      font-size: 12px;
      padding: 6px 8px;
      text-align: center;
      flex: 0 0 auto;
    }
    .langage h3:nth-child(n+5) { display: none; }
    .footer-top {
      grid-template-columns: 1fr;
      text-align: center;
      gap: 25px;
    }
    .socials {
      justify-content: center;
      gap: 15px;
    }
    .social {
      width: 45px;
      height: 45px;
      font-size: 18px;
    }
  }
  @media (max-width: 480px) {
    .menu-nav {
      height: 60px;
      padding: 0 10px;
    }
    .portfolio {
      font-size: 1rem;
    }
    .burger {
      width: 44px;
      height: 44px;
    }
    .menu {
      top: 60px;
      height: calc(100vh - 60px);
      width: 95vw;
      padding: 12px;
    }
    body.no-scroll::before {
      top: 60px;
    }
    .back {
      padding: 70px 10px 20px 10px;
      min-height: 400px;
    }
    .back h2, .trait {
      font-size: 1.4rem;
      padding: 6px;
    }
    .trait::before {
      width: 60px;
    }
    .trait::after {
      left: 60px;
    }
    .hero-card {
      width: 200px;
      height: 240px;
    }
    .button {
      padding: 10px 20px;
      font-size: 13px;
      margin-top: 20px;
    }
    .about-me {
      font-size: 1.5rem;
    }
    .tools-title {
      font-size: 1.4rem;
    }
    .timeline-list {
      font-size: 14px;
    }
    .langage {
      display: flex;
      flex-wrap: nowrap;
      align-items: center;
      justify-content: space-between;
      gap: 6px;
      padding: 6px 8px;
    }
    .langage h3 {
      font-size: 11px;
      padding: 4px 6px;
      flex: 0 0 auto;
    }
    .langage h3:nth-child(n+5) { display: none; }
    .menu li a {
      padding: 14px 10px;
      font-size: 15px;
    }
  }
  @media (max-width: 360px) {
    .back h2, .trait {
      font-size: 1.2rem;
    }
    .hero-card {
      width: 180px;
      height: 220px;
    }
    .button {
      padding: 8px 16px;
      font-size: 12px;
    }
    .about-me {
      font-size: 1.3rem;
    }
    .tools-title {
      font-size: 1.2rem;
    }
  }
.button {
    display: inline-block;
    margin-top: 1cm; 
    text-decoration: none !important; 
    background-color: #FD7747; 
    color: #fff;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: bold;
    transition: background 0.2s;
}
.button:hover {
    background-color: #e69500;
    text-decoration: none;
}
@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes scaleIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
.animate-text {
    opacity: 0;
    animation: slideInFromLeft 0.8s ease-out forwards;
}
.animate-button {
    opacity: 0;
    animation: scaleIn 0.6s ease-out forwards;
}
.animate-delay-1 {
    animation-delay: 0.2s;
}
.animate-delay-2 {
    animation-delay: 0.6s;
}
.animate-delay-3 {
    animation-delay: 1.0s;
}
.animate-delay-4 {
    animation-delay: 1.4s;
}
.trait.animate-text {
    animation: slideInFromLeft 0.8s ease-out forwards;
}
.trait::before {
    opacity: 0;
    animation: slideInFromLeft 0.6s ease-out forwards;
    animation-delay: 0.8s;
}
.trait::after {
    opacity: 0;
    animation: fadeInUp 0.4s ease-out forwards;
    animation-delay: 1.0s;
}
@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}
@keyframes timelineSlide {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes highlightGlow {
    0%, 100% {
        background-size: 0% 100%;
    }
    50% {
        background-size: 100% 100%;
    }
}
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}
.animate-about-title {
    opacity: 0;
    animation: fadeInScale 1s ease-out forwards;
    animation-delay: 0.2s;
}
.animate-about-text {
    opacity: 0;
    animation: slideInFromRight 1.2s ease-out forwards;
    animation-delay: 0.5s;
}
.animate-timeline-item {
    opacity: 0;
    animation: timelineSlide 0.8s ease-out forwards;
}
.highlight-text {
    background: linear-gradient(120deg, transparent 0%, transparent 50%, #FD7747 50%, #FD7747 100%);
    background-size: 0% 100%;
    background-repeat: no-repeat;
    background-position: 0% 100%;
    animation: highlightGlow 2s ease-in-out infinite;
    animation-delay: 1.5s;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 600;
    color: #fff;
    transition: all 0.3s ease;
}
.highlight-text:hover {
    background-size: 100% 100%;
    color: #121F28;
    transform: scale(1.02);
}
.about-me {
    position: relative;
    overflow: hidden;
}
.about-me::before {
    animation: slideInFromLeft 0.8s ease-out forwards;
    animation-delay: 0.4s;
}
.about-me::after {
    animation: fadeInUp 0.4s ease-out forwards;
    animation-delay: 0.6s;
}
.profil {
    line-height: 1.8;
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    text-align: justify;
    position: relative;
}
.profil::first-letter {
    font-size: 3em;
    font-weight: bold;
    color: #FD7747;
    float: left;
    line-height: 0.8;
    margin: 8px 8px 0 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.timeline-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    margin: 8px 0;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding-left: 8px;
}
.timeline-item:hover {
    background: rgba(253, 119, 71, 0.05);
    transform: translateX(5px);
}
.service-icon {
    font-size: 1.2em;
    color: #FD7747;
    background: linear-gradient(135deg, rgba(253, 119, 71, 0.15), rgba(253, 119, 71, 0.25));
    padding: 12px;
    border-radius: 12px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    border: 2px solid rgba(253, 119, 71, 0.2);
    box-shadow: 0 4px 12px rgba(253, 119, 71, 0.15);
    flex-shrink: 0;
}
.service-icon:hover {
    background: linear-gradient(135deg, #FD7747, #ff9500);
    color: #fff;
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 6px 20px rgba(253, 119, 71, 0.4);
    border-color: #FD7747;
}
.timeline-item span {
    font-size: 1.1em;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    transition: all 0.3s ease;
}
.timeline-item:hover span {
    color: #fff;
    transform: translateX(2px);
}
@keyframes iconPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(253, 119, 71, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(253, 119, 71, 0);
    }
}
@keyframes pageSlideIn {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes cardSlideUp {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
@keyframes formFieldSlide {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}
.animate-page-title {
    opacity: 0;
    animation: pageSlideIn 1s ease-out forwards;
}
.animate-page-title.animate-in {
    opacity: 1;
}
.animate-skill-card {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: all 0.6s ease-out;
}
.animate-skill-card.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.animate-project-card {
    opacity: 0;
    transform: translateY(40px) rotateX(10deg);
    transition: all 0.8s ease-out;
}
.animate-project-card.animate-in {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
}
.project-content {
    padding: 30px;
    height: calc(100% - 60px);
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.project-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FD7747, #ff9500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    color: white;
    margin-bottom: 10px;
    box-shadow: 0 4px 15px rgba(253, 119, 71, 0.3);
}
.project-title {
    color: #FD7747;
    font-size: 1.4em;
    margin: 0;
    font-weight: 600;
}
.project-description {
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
    flex-grow: 1;
}
.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}
.tech-tag {
    background: rgba(253, 119, 71, 0.15);
    color: #FD7747;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 500;
    border: 1px solid rgba(253, 119, 71, 0.3);
}
.project-link {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: #FD7747;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 12px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(253, 119, 71, 0.3);
}
.project-link:hover {
    background: #e69500;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(253, 119, 71, 0.4);
}
.animate-contact-section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.animate-contact-section.animate-in {
    opacity: 1;
    transform: translateY(0);
}
.animate-contact-item {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease-out;
}
.animate-contact-item.animate-in {
    opacity: 1;
    transform: translateX(0);
}
.animate-form-field {
    opacity: 0;
    animation: formFieldSlide 0.6s ease-out forwards;
}
.animate-form-button {
    opacity: 0;
    animation: scaleIn 0.6s ease-out forwards;
}
.contact-icon {
    transition: all 0.3s ease;
}
.contact-row:hover .contact-icon {
    background: #FD7747 !important;
    color: #121F28 !important;
    transform: scale(1.1);
}
@keyframes toolSlideIn {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
@keyframes toolMeterFill {
    0% {
        width: 0% !important;
    }
    100% {
        width: var(--target-width);
    }
}
.animate-tools-title {
    opacity: 0;
    animation: fadeInScale 1s ease-out forwards;
    animation-delay: 0.2s;
}
.animate-tools-title.animate-in {
    opacity: 1;
}
.animate-tool-card {
    opacity: 0;
    transform: translateY(40px) scale(0.9);
    transition: all 0.6s ease-out;
}
.animate-tool-card.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.animate-tool-card.animate-in .tool-meter .level {
    animation: toolMeterFill 1.5s ease-out forwards;
    animation-delay: 0.5s;
}
.tool-card {
    transition: all 0.3s ease;
    cursor: pointer;
}
.tool-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}
.tool-card:hover .tool-icon {
    transform: scale(1.1);
}
.tool-card:hover .tool-name {
    color: #FD7747;
}
.tool-meter {
    position: relative;
    overflow: hidden;
}
.tool-meter .level {
    transition: all 0.3s ease;
    position: relative;
}
.tool-meter .level::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: rgba(255,255,255,0.8);
    border-radius: 0 8px 8px 0;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}
.hero-left h2 {
    min-height: 1.2em;
    font-weight: bold !important;
    line-height: 1.2 !important;
    letter-spacing: 0.02em !important;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.trait {
    min-height: 1.2em;
    white-space: nowrap !important;
    overflow: visible !important;
    font-size: 2.8rem !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
}
.menu li a {
    min-width: fit-content;
    white-space: nowrap;
    font-weight: 600 !important;
    font-size: 15px !important;
}
.timeline-item {
    min-height: 2em;
    display: flex;
    align-items: center;
    gap: 12px;
}
.tool-name {
    font-weight: 600 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
}
.skill-name {
    font-weight: 600 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}
.footer-contact li {
    min-height: 1.5em;
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-logo {
    font-weight: 800 !important;
    font-size: 24px !important;
}
.button {
    white-space: nowrap;
    min-width: fit-content;
    font-weight: bold !important;
}
@media (max-width: 768px) {
    body {
        font-size: 14px;
        line-height: 1.5;
    }
    .menu-nav {
        flex-direction: column;
        padding: 15px;
        gap: 15px;
    }
    .portfolio, .nom {
        font-size: 1.2em;
        text-align: center;
    }
    .menu {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        text-align: center;
    }
    .menu li a {
        padding: 10px;
        display: block;
    }
    .hero {
        flex-direction: column;
        gap: 30px;
        padding: 20px;
        text-align: center;
    }
    .hero-left {
        order: 2;
    }
    .hero-right {
        order: 1;
    }
    .hero-left h2 {
        font-size: 1.8em;
        margin-bottom: 15px;
    }
    .trait {
        font-size: 1.6em !important;
    }
    .hero-card {
        width: 200px;
        height: 200px;
        margin: 0 auto;
    }
    .button {
        padding: 12px 24px;
        font-size: 14px;
        margin-top: 20px;
    }
    .langage {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 20px;
    }
    .langage h3 {
        font-size: 12px;
        padding: 8px;
    }
    .about-grid {
        flex-direction: column;
        gap: 30px;
        padding: 20px;
    }
    .timeline-list {
        gap: 15px;
    }
    .timeline-item {
        padding: 15px;
        font-size: 14px;
    }
    .service-icon {
        font-size: 1.2em;
    }
    .about-content {
        text-align: left;
    }
    .about-me {
        font-size: 1.8em;
        text-align: center;
        margin-bottom: 20px;
    }
    .profil {
        font-size: 14px;
        line-height: 1.6;
    }
    .tools {
        padding: 20px;
    }
    .tools-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .tool-card {
        padding: 15px;
    }
    .tool-icon img {
        width: 30px !important;
        height: 30px !important;
    }
    .tool-name {
        font-size: 12px;
        margin: 8px 0;
    }
    .tool-meter {
        height: 6px;
    }
    .site-footer {
        padding: 20px;
    }
    .footer-top {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .footer-brand {
        order: 1;
    }
    .footer-contact {
        order: 2;
    }
    .footer-logo {
        font-size: 1.5em;
    }
    .socials {
        justify-content: center;
        gap: 15px;
    }
    .social {
        width: 40px;
        height: 40px;
        font-size: 1.2em;
    }
    .footer-contact ul {
        gap: 10px;
    }
    .footer-contact li {
        font-size: 13px;
    }
    .footer-bottom {
        text-align: center;
        font-size: 12px;
        padding-top: 15px;
    }
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .project-content {
        padding: 20px;
    }
    .project-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5em;
    }
}
@media (max-width: 480px) {
    .hero-left h2 {
        font-size: 1.4em;
    }
    .trait {
        font-size: 1.3em !important;
    }
    .hero-card {
        width: 150px;
        height: 150px;
    }
    .langage {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .tool-card {
        padding: 12px;
    }
    .menu-nav {
        padding: 10px;
    }
    .about-me {
        font-size: 1.5em;
    }
    .tools-title {
        font-size: 1.5em;
    }
}

@keyframes bgShift{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}
.back{position:relative;overflow:hidden}
.back::before{content:"";position:absolute;inset:0;background:linear-gradient(120deg,#0e1a22,#152734,#0f1f2a,#0e1a22);background-size:200% 200%;animation:bgShift 12s ease infinite;opacity:.6;z-index:-1}
.hero{position:relative;z-index:1}
.hero-card{position:relative;background:rgba(255,255,255,0.06);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);box-shadow:0 10px 30px rgba(0,0,0,.35),inset 0 0 0 1px rgba(255,255,255,0.06);transform-style:preserve-3d;transition:transform .2s ease,box-shadow .2s ease}
.hero-card:hover{box-shadow:0 16px 40px rgba(253,119,71,.25),0 0 0 1px rgba(253,119,71,.3)}
.button{box-shadow:0 6px 18px rgba(253,119,71,.25)}
.button:hover{box-shadow:0 10px 26px rgba(253,119,71,.35),0 0 20px rgba(253,119,71,.35)}
.tool-card{background:rgba(255,255,255,0.04);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);border:1px solid rgba(255,255,255,0.06)}
.tool-card:hover{border-color:rgba(253,119,71,.4)}
.animate-glow{position:relative}
.animate-glow::after{content:"";position:absolute;inset:-2px;border-radius:12px;background:radial-gradient(120px 60px at var(--mx,50%) var(--my,50%),rgba(253,119,71,.25),transparent 60%);pointer-events:none;transition:opacity .2s ease;opacity:.6}
@media (prefers-reduced-motion:reduce){.back::before{animation:none}.animate-on-scroll,.animate-text,.animate-button{animation:none!important;transition:none!important;opacity:1!important;transform:none!important}}
.project-frame{position:relative;overflow:hidden;border-radius:14px}
.project-badge{position:absolute;top:12px;left:12px;z-index:2;background:rgba(253,119,71,.9);color:#fff;padding:6px 10px;border-radius:999px;font-size:.8rem;font-weight:700;letter-spacing:.02em;box-shadow:0 4px 14px rgba(253,119,71,.35)}
