@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap');

html,body,#root{height:100%;scroll-behavior: smooth;}
    body{
    margin: 0;
    padding: 0;
      min-height: 100vh;
      font-family:Inter,system-ui,Arial,sans-serif;
      background:linear-gradient(180deg,#05060a 0%,#061225 100%);
      color:#d8e0ea; -webkit-font-smoothing:antialiased;
      -moz-osx-font-smoothing:grayscale;
      line-height:1.45;
       background-attachment: fixed;
    }

header{display:flex;align-items:center;justify-content:space-between;padding:18px 0;padding-bottom: 10vh;}
    .brand{
        display:flex;gap:14px;
        align-items:center;margin-left: 20%;}
    .brand h1{font-size:16px;font-weight:700;margin-bottom: -2px;}
    .brand p{font-size:12px;color:rgba(216,224,234,0.6);margin-top:2px;}

     nav{display:flex;gap:10px;align-items:center;margin-right: 20%;}
    nav a{font-size:14px;color:rgba(216,224,234,0.78);padding:8px 12px;border-radius:8px;transition:all .18s}
    nav a:hover{background:rgba(255,255,255,0.03);transform:translateY(-2px)}

.hero {
  display: grid;
  grid-template-columns: 1fr 800px;
  gap: 32px;
  align-items: center;
  margin-left: 20%;
  padding-bottom: 10vh;
}

.hero h2 {
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 10px;
  text-transform: uppercase;
  color: #d8e0ea;
  animation: glitchText 3s steps(100) infinite;
  position: relative;
}

@keyframes glitchText {
  0%, 2%, 4%, 6%, 8%, 10% {
    text-shadow: 2px 0 0 red, -2px 0 0 cyan;
    filter: blur(0);
  }
  12%, 14%, 16%, 18% {
    text-shadow: 1px 0 0 lime, -1px 0 0 #0c33f5;
    filter: blur(0.5px);
  }
  20%, 22%, 24% {
    text-shadow: 3px 0 0 magenta, -3px 0 0 #00ffea;
    filter: blur(0);
  }
  26%, 28%, 30% {
    text-shadow: 2px 0 0 #ff00ff, -2px 0 0 #0ff;
    filter: blur(0.2px);
  }
  32%, 34%, 36%, 38%, 40% {
    text-shadow: 0.8px 0 0 lime, -0.8px 0 0 cyan;
    filter: blur(0);
  }
  100% {
    text-shadow: 0 0 0 #d8e0ea;
    filter: blur(0);
  }
}


.hero p {
  color: rgba(216,224,234,0.72);
  max-width: 56ch;
}

.actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.actions a{
    text-decoration: none;
    color: white;
    background-color: rgba(148, 208, 223, 0.082);
    border-radius: 10px;
    padding: 20px 15px;
    transition: 0.5s ease-out;
}

.actions a:hover{
    color: black;
    background-color: rgb(255, 255, 255);
    transition: 0.3s ease-in;
}

.card-outline{
    width:100%;
    max-width:480px;
    margin-top: 50px;
    background: linear-gradient(180deg,rgba(255,255,255,0.02),rgba(255,255,255,0.01));
    box-shadow: 5px 5px 10px rgba(2,6,23,0.6);
    border-radius: 10px;
    padding: 0 10px;
}

.terminal{
    background:linear-gradient(180deg,#061018,#031022);
    padding:14px;
    border-radius:8px;
    border:1px solid rgba(255,255,255,0.02)
}

.terminaltext{
  font-family:JetBrains Mono,monospace;
  color:#bfe8ff;
  font-size:13px;
  margin:0;
  white-space:pre-wrap;
}

.terminalfadebar {
  position: relative;
  height: 6px;        
  margin-top: 6px;
  overflow: hidden;
  border-radius: 4px;
}

.terminalfadebar span {
  display: block;
  width: 100%;           
  height: 100%;
  border-radius: 4px;

 
  background: linear-gradient(90deg,
    red, orange, yellow, green, cyan, blue, violet
  );
  background-size: 400% 100%;


  animation: rainbowFade 5s linear infinite;
}

@keyframes rainbowFade {
  0%   { background-position: 0% 0; }
  50%  { background-position: 100% 0; }
  100% { background-position: 0% 0; }
}



.certifications {
  padding: 80px 10%;
  color: #d8e0ea;
  font-family: Inter, system-ui, Arial, sans-serif;
}

.certifications h2 {
  font-size: 32px;
  margin-bottom: 40px;
  text-align: center;
}


.timeline-container {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 800px; 
  margin: 0 auto;
  margin-top: 10vh;
  height: 150px;
}


.timeline-line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, #00eaff 0%, #00eaff 40%, transparent 40%, transparent 100%);
  z-index: 1;
}


.timeline-line::after {
  content: '';
  position: absolute;
  left: 40%;
  top: 0;
  width: 50%;
  height: 100%;
  border-top: 4px dashed rgba(0, 234, 255, 0.5);
}


.timeline-point {
  position: absolute;
  top: 50%;
  left: var(--pos);
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  z-index: 2;
  transition: transform 0.3s ease;
}


.timeline-point.completed {
  background-color: #00eaff;
  box-shadow: 0 0 8px rgba(0, 234, 255, 0.6);
}


.timeline-point.in-progress {
  background-color: #00eaff;
  z-index: 3;
}

.timeline-point.in-progress .ping {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  background: rgba(0,234,255,0.4);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: pingSpread 1.5s infinite;
  z-index: -1;
}

.timeline-point.upcoming {
  width: 16px;
  height: 16px;
  background-color: #00eaff81; 
  border-radius: 50%;
  z-index: 2;
}


@keyframes pingSpread {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.5);
    opacity: 0;
  }
}


.timeline-box {
  position: absolute;
  background-color: rgba(10, 20, 40, 0.85);
  padding: 10px 14px;
  border-radius: 8px;
  min-width: 140px;
  font-size: 14px;
  text-align: center;
  box-shadow: 0 0 8px rgba(0, 234, 255, 0.4);
}

.timeline-box.top {
  bottom: 160%;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-box.bottom {
  top: 160%;
  left: 50%;
  transform: translateX(-50%);
}



@media (max-width: 768px) {

  
  .timeline-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    max-width: 300px;
    height: auto;
    padding-left: 20px; 
    gap: 40px; 
    margin: 0 auto;
    position: relative;
  }

  
  .timeline-line {
    position: absolute;
    top: 0;
    left: 8px;
    width: 4px;
    height: 100%;
    background-color: rgba(0,234,255,0.5);
  }

  
  .timeline-line::after {
    display: none;
  }

  
  .timeline-point {
    position: relative;
    left: 0 !important;
    top: 0;
    transform: none;
    margin-bottom: 0;
  }

  
  .timeline-box.top,
  .timeline-box.bottom {
    position: relative;
    top: 0;
    bottom: 0;
    transform: none;
    margin-left: 30px; 
    margin-bottom: 0;
    text-align: left;
  }

  
  .timeline-point.in-progress .ping {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}






.skills {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6vh 2vw;
}

.skills h2 {
  font-size: 32px;
  margin-bottom: 3vh;
  color: white;
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 1000px;
}

.skill-card {
  background-color: rgba(110,110,110,0.1);
  padding: 2rem 1.5rem;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card h3 {
  margin-bottom: 1rem;
  font-size: 20px;
  color: #00eaff;
}

.skill-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.skill-card li {
  margin-bottom: 0.5rem;
  font-size: 14px;
  color: rgba(216,224,234,0.85);
}


.skill-card:hover {
  transform: scale(1.05);
  box-shadow: 
    0 0 8px rgba(0,234,255,0.4),
    0 0 16px rgba(0,234,255,0.25);
}



.projets {
  display: flex;
  flex-direction: column; 
  align-items: center;    
  padding-bottom: 10vh;
  min-height: 350px;
}

.projets h2 {
  margin-bottom: 24px; 
  color: white;
  font-size: 32px;
}

.plcard {
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 1000px;
  transition: all 0.3s ease-in-out;
}

.card {
  padding: 1vh 1vw;
  min-height: 120px;
  background-color: rgba(110, 110, 110, 0.096);
  border-radius: 8px;
  display: flex;
  flex-direction: column;   
  justify-content: flex-start;
  color: white;
  transition: transform 0.3s ease, filter 0.3s ease;
}



.card:hover {
  transform: scale(1.1);
  z-index: 2;
  
  border: 1.5px solid rgba(255, 255, 255, 0.8); 

  box-shadow:
    0 0 10px rgba(255, 255, 255, 0.5),  
    0 0 20px rgba(255, 255, 255, 0.35), 
    0 0 35px rgba(255, 255, 255, 0.2);  
}




.plcard:hover .card:not(:hover) {
  filter: brightness(0.7); 
}
.card a{
    font-size: 20px;
    text-decoration: none;
    color: white;
}
.card p {
  margin-top: 1rem;
  font-size: 14px;
  line-height: 1.4;
}

.contact h1{
  text-align: center;
  font-size: 100%;
  padding-bottom: 2vh;
}


@media (max-width: 430px) {

  
  body, html {
    overflow-x: hidden; 
  }

  
  header {
    flex-direction: column;
    align-items: center;
    padding: 12px 5%;
  }

  .brand {
    margin: 0;
    gap: 8px;
    justify-content: center;
    text-align: center;
  }

  .brand h1 {
    font-size: 18px;
  }

  .brand p {
    font-size: 12px;
  }

  nav {
    margin-top: 10px;
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  nav a {
    font-size: 12px;
    padding: 6px 10px;
  }

  
  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    gap: 20px;
    padding-bottom: 6vh;
  }

  .hero-left h2 {
    font-size: 28px;
    text-align: center;
  }

  .hero-left p {
    font-size: 14px;
    max-width: 100%;
    text-align: center;
  }

  .actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .actions a {
    width: 100%;
    text-align: center;
    padding: 12px 0;
    font-size: 14px;
  }

  .card-outline{
    width: 95%;
  }

  .card-outline p{
    font-size: 11px;
  }

  .terminaltext{
    font-size: 11px;
  }

  
  .timeline-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    min-width: 320px;         
    margin: 0 auto;
    padding-left: 24px;       
    gap: 180px;                
    position: relative;
    height: auto;
  }

  
  .timeline-line {
    position: absolute;
    top: 0;
    left: 0;                  
    width: 4px;
    height: 100%;
    background-color: rgba(0,234,255,0.5);
    border-radius: 2px;
  }

  .timeline-line::after {
    display: none;            
  }

  
  .timeline-point {
    position: relative;
    left: 0 !important;
    top: 0;
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;  
    gap: 16px;                
    z-index: 2;
  }

  .timeline-point.completed,
  .timeline-point.in-progress,
  .timeline-point.upcoming {
    width: 16px;
    height: 16px;
  }

  .timeline-point.in-progress .ping {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  
  .timeline-box {
    position: relative;
    top: 0;
    bottom: 0;
    transform: none;
    margin: 0;
    padding: 14px 18px;       
    min-width: 220px;         
    font-size: 14px;
    text-align: left;
    background-color: rgba(10,20,40,0.85);
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0,234,255,0.3);
  }

  .timeline-box.top,
  .timeline-box.bottom {
    margin-left: 28px;        
  }

  .timeline-box strong {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
  }

  
  .skill-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 16px;
  }

  .skill-card {
    width: 100%;
    max-width: 320px;
    padding: 1.5rem 1rem;
  }

  .skill-card h3 {
    font-size: 18px;
    text-align: center;
  }

  .skill-card ul {
    padding-left: 0;
    text-align: center;
  }

  .skill-card li {
    font-size: 13px;
  }

  
  .plcard {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 320px;
    gap: 16px;
  }

  .card {
    width: 100%;
    min-height: auto;
    padding: 1rem;
    text-align: center;
  }

  .card a {
    font-size: 16px;
  }

  .card p {
    font-size: 13px;
    line-height: 1.4;
  }

  
  .terminal {
    padding: 10px;            
  }

  .terminal pre {
    font-size: 11px;          
    white-space: pre-wrap;
    word-break: break-word;
  }

  .terminalfadebar {
    height: 3px;              
  }
}



@media (max-width: 1300px) {

  
  .hero {
    grid-template-columns: 1fr 600px; 
    gap: 24px;
    margin-left: 10%; 
  }

  
  .timeline-container {
    max-width: 700px; 
    gap: 60px;        
  }

  
  .timeline-box {
    min-width: 180px;
    font-size: 13px;
    padding: 8px 12px;
  }

  
  .timeline-line {
    background: linear-gradient(to right, #00eaff 0%, #00eaff 40%, transparent 40%, transparent 100%);
  }

  
  .skill-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
  }

  
  .plcard {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
  }

  
  header {
    padding-left: 5%;
    padding-right: 5%;
  }

  .brand {
    margin-left: 0;
  }

  nav {
    margin-right: 0;
  }

}





@media (max-width: 800px) {

  
  body, html {
    overflow-x: hidden; 
  }

  
  header {
    flex-direction: column;
    align-items: center;
    padding: 12px 5%;
  }

  .brand {
    margin: 0;
    gap: 8px;
    justify-content: center;
    text-align: center;
  }

  .brand h1 {
    font-size: 18px;
  }

  .brand p {
    font-size: 12px;
  }

  nav {
    margin-top: 10px;
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  nav a {
    font-size: 12px;
    padding: 6px 10px;
  }

  
  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    gap: 20px;
    padding-bottom: 6vh;
  }

  .hero-left h2 {
    font-size: 28px;
    text-align: center;
  }

  .hero-left p {
    font-size: 14px;
    max-width: 100%;
    text-align: center;
  }

  .actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .actions a {
    max-width: 50%;
    margin-left: 25%;
    text-align: center;
    padding: 12px 0;
    font-size: 14px;
  }

  .card-outline{
    width: 95%;
  }

  .card-outline p{
    font-size: 11px;
  }

  .terminaltext{
    font-size: 11px;
  }

  
  .timeline-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    min-width: 320px;         
    margin: 0 auto;
    margin-left: 120px;
    padding-left: 24px;       
    gap: 180px;                
    position: relative;
    height: auto;
  }

  
  .timeline-line {
    position: absolute;
    top: 0;
    left: 0;                  
    width: 4px;
    height: 100%;
    background-color: rgba(0,234,255,0.5);
    border-radius: 2px;
  }

  .timeline-line::after {
    display: none;            
  }

  
  .timeline-point {
    position: relative;
    left: 0 !important;
    top: 0;
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;  
    gap: 16px;                
    z-index: 2;
  }

  .timeline-point.completed,
  .timeline-point.in-progress,
  .timeline-point.upcoming {
    width: 16px;
    height: 16px;
  }

  .timeline-point.in-progress .ping {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  
  .timeline-box {
    position: relative;
    top: 0;
    bottom: 0;
    transform: none;
    margin: 0;
    padding: 14px 18px;       
    min-width: 220px;         
    font-size: 14px;
    text-align: left;
    background-color: rgba(10,20,40,0.85);
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0,234,255,0.3);
  }

  .timeline-box.top,
  .timeline-box.bottom {
    margin-left: 150px;        
  }

  .timeline-box strong {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
  }

  
  .skill-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 16px;
  }

  .skill-card {
    width: 100%;
    max-width: 320px;
    padding: 1.5rem 1rem;
  }

  .skill-card h3 {
    font-size: 18px;
    text-align: center;
  }

  .skill-card ul {
    padding-left: 0;
    text-align: center;
  }

  .skill-card li {
    font-size: 13px;
  }

  
  .plcard {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 320px;
    gap: 16px;
  }

  .card {
    width: 100%;
    min-height: auto;
    padding: 1rem;
    text-align: center;
  }

  .card a {
    font-size: 16px;
  }

  .card p {
    font-size: 13px;
    line-height: 1.4;
  }

  
  .terminal {
    padding: 10px;            
  }

  .terminal pre {
    font-size: 11px;          
    white-space: pre-wrap;
    word-break: break-word;
  }

  .terminalfadebar {
    height: 3px;              
  }
}


@media (max-width: 768px) {
  .timeline-box.top,
  .timeline-box.bottom {
    margin-left: 20px;        
  }

}


@media (max-width: 500px) {

  .timeline-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    min-width: 320px;         
    margin: 0 auto;
    margin-left: 12px;
    padding-left: 24px;       
    gap: 180px;                
    position: relative;
    height: auto;
  }


  .timeline-box.top,
  .timeline-box.bottom {
    margin-left: 20px;        
  }

}