:root {
  --bg-1: #001a00;
  --bg-2: #000000;
  --text: #E6FFE6;
  --muted: #9CD89C;
  --accent: #00FF00;
  --accent-2: #00CC00;
  --card: #002b02;
  --shadow: 0 10px 30px rgba(0, 255, 0, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}


body {
  font-family: 'Courier New', monospace;
  background: var(--bg-1);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at top, var(--bg-2) 0%, var(--bg-1) 100%);
  z-index: -2;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(2px 2px at 20px 30px, var(--accent), transparent),
    radial-gradient(2px 2px at 40px 70px, var(--accent-2), transparent),
    radial-gradient(1px 1px at 90px 40px, var(--accent), transparent),
    radial-gradient(1px 1px at 130px 80px, var(--accent-2), transparent),
    radial-gradient(2px 2px at 160px 30px, var(--accent), transparent);
  background-repeat: repeat;
  background-size: 200px 100px;
  animation: stars 20s linear infinite;
  opacity: 0.3;
  z-index: -1;
}

@keyframes stars {
  from { transform: translateY(0px); }
  to { transform: translateY(-100px); }
}

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

.section {
  padding: 60px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 80px;
  color: var(--accent);
  position: relative;
  text-shadow: 0 0 10px var(--accent);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 2px;
  box-shadow: 0 0 10px var(--accent);
}

#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 26, 0, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--accent);
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.logo-accent {
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link.active,
.nav-link:hover {
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
  box-shadow: 0 0 5px var(--accent);
}

.nav-link.active::after,
.nav-link:hover::after {
  width: 100%;
}

.nav-social {
  display: flex;
  gap: 15px;
}

.social-icon {
  color: var(--muted);
  transition: all 0.3s ease;
  padding: 8px;
  border-radius: 50%;
}

.social-icon:hover {
  color: var(--accent);
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--accent);
  transition: all 0.3s ease;
  border-radius: 2px;
  box-shadow: 0 0 5px var(--accent);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 0 80px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-text {
  animation: slideInLeft 1s ease-out;
}

.greeting {
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 15px;
  text-shadow: 0 0 5px var(--accent);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--accent);
  text-shadow: 0 0 15px var(--accent);
}

.cursor {
  color: var(--accent);
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.hero-quote {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 35px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.hero-social {
  display: flex;
  gap: 15px;
}

.hero-social-icon {
  color: var(--muted);
  padding: 10px;
  border-radius: 50%;
  transition: all 0.3s ease;
  background: rgba(0, 43, 2, 0.5);
  backdrop-filter: blur(5px);
}

.hero-social-icon:hover {
  color: var(--accent);
  transform: scale(1.1);
  background: rgba(0, 43, 2, 0.8);
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
}

.hero-visual {
  display: flex;
  justify-content: center;
  animation: slideInRight 1s ease-out;
}

.avatar-container {
  position: relative;
  width: 500px;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sun-core {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 4px solid var(--accent);
  box-shadow:
    0 0 40px rgba(0, 255, 0, 0.8),
    0 0 80px rgba(0, 255, 0, 0.5),
    0 0 120px rgba(0, 255, 0, 0.3),
    inset 0 0 30px rgba(0, 255, 0, 0.4);
  animation: sunGlow 3s ease-in-out infinite alternate;
  cursor: pointer;
  transition: transform 0.3s ease;
  overflow: hidden;
  background: radial-gradient(circle, rgba(0, 255, 0, 0.3), transparent);
}

.sun-core img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.sun-core:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.orbit-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  transform-origin: 0 0;
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.orbit-icon img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  filter: brightness(1.2);
}

.orbit-icon:hover img {
  filter: brightness(1.5) drop-shadow(0 0 10px var(--accent));
}

/* Styles pour les SVG personnalisés */
.orbit-icon svg {
  width: 70%;
  height: 70%;
  transition: all 0.3s ease;
}

/* Couleurs officielles des logos */
.burpsuite-icon svg {
  fill: #FF6633;
}

.burpsuite-icon:hover svg {
  fill: #FF8855;
  filter: drop-shadow(0 0 10px #FF6633);
}

.tryhackme-icon svg {
  fill: #212C42;
}

.tryhackme-icon:hover svg {
  fill: #2d3f5f;
  filter: drop-shadow(0 0 10px #212C42);
}

.hackthebox-icon svg {
  fill: #9FEF00;
}

.hackthebox-icon:hover svg {
  fill: #b4ff1a;
  filter: drop-shadow(0 0 10px #9FEF00);
}

.wireshark-icon svg {
  fill: #1679A7;
}

.wireshark-icon:hover svg {
  fill: #1a8fc4;
  filter: drop-shadow(0 0 10px #1679A7);
}

@keyframes sunGlow {
  0% {
    box-shadow:
      0 0 40px rgba(0, 255, 0, 0.8),
      0 0 80px rgba(0, 255, 0, 0.5),
      0 0 120px rgba(0, 255, 0, 0.3),
      inset 0 0 30px rgba(0, 255, 0, 0.4);
  }
  100% {
    box-shadow:
      0 0 50px rgba(0, 255, 0, 1),
      0 0 100px rgba(0, 255, 0, 0.7),
      0 0 150px rgba(0, 255, 0, 0.4),
      inset 0 0 40px rgba(0, 255, 0, 0.6);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.glow-genz-button {
  background: transparent;
  border: 2px solid var(--accent);
  border-radius: 12px;
  color: var(--accent);
  font-weight: 700;
  font-size: 18px;
  padding: 12px 36px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-family: 'Courier New', monospace;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.glow-genz-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--accent), var(--accent-2), #00FF7F, #00FF00);
  background-size: 400% 400%;
  animation: glowGradient 4s ease infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.glow-genz-button:hover {
  color: var(--bg-1);
  border-color: var(--accent-2);
  box-shadow: 0 0 25px rgba(0, 255, 0, 1), 0 0 50px rgba(0, 204, 0, 0.8);
  transform: scale(1.05);
  background: var(--accent);
}

.glow-genz-button:hover::before {
  opacity: 1;
}

@keyframes glowGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 60px;
}

.about-text p {
  margin-bottom: 20px;
  line-height: 1.8;
  color: var(--muted);
}

.skills h3 {
  color: var(--accent);
  margin-bottom: 20px;
  font-size: 1.2rem;
  text-shadow: 0 0 5px var(--accent);
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-tag {
  background: rgba(0, 255, 0, 0.1);
  color: var(--accent);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  border: 1px solid rgba(0, 255, 0, 0.3);
  transition: all 0.3s ease;
}

.skill-tag:hover {
  background: var(--accent);
  color: var(--bg-1);
  transform: scale(1.05);
  box-shadow: 0 0 10px var(--accent);
}

.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.code-animation {
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid var(--accent);
  border-radius: 12px;
  padding: 30px;
  font-family: 'Courier New', monospace;
  font-size: 1.1rem;
  color: var(--accent);
  box-shadow: 0 0 30px rgba(0, 255, 0, 0.3);
}

.code-line {
  margin-bottom: 8px;
}

.code-line.indent {
  margin-left: 20px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.project-card {
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid var(--accent);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 255, 0, 0.4);
  border-color: var(--accent-2);
}

.project-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-content {
  padding: 25px;
}

.project-content h3 {
  color: var(--accent);
  margin-bottom: 15px;
  font-size: 1.3rem;
  text-shadow: 0 0 5px var(--accent);
}

.project-content p {
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.project-tech span {
  background: rgba(0, 255, 0, 0.1);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  border: 1px solid rgba(0, 255, 0, 0.3);
}

.project-links {
  display: flex;
  gap: 15px;
}

.project-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 8px 16px;
  border: 1px solid var(--accent);
  border-radius: 6px;
}

.project-link:hover {
  background: var(--accent);
  color: var(--bg-1);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 60px;
}

.contact-info p {
  color: var(--muted);
  margin-bottom: 30px;
  line-height: 1.8;
}

.contact-details {
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  color: var(--muted);
}

.contact-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

.contact-item span {
  font-weight: 500;
}

.social-links {
  display: flex;
  gap: 20px;
}

.social-link {
  color: var(--muted);
  transition: all 0.3s ease;
  padding: 12px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--accent);
  height: 50px;
  width: 50px;
}

.social-link:hover {
  color: var(--accent);
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
}

.contact-form {
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid var(--accent);
  border-radius: 12px;
  padding: 30px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid var(--accent);
  border-radius: 8px;
  color: var(--text);
  font-family: 'Courier New', monospace;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-2);
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
}

.slide-in-left {
  transform: translateX(-30px);
  opacity: 0;
  transition: all 1.5s ease;
}

.slide-in-right {
  transform: translateX(30px);
  opacity: 0;
  transition: all 1.5s ease;
}

.slide-in-up {
  transform: translateY(30px);
  opacity: 0;
  transition: all 1.5s ease;
}

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }

  .hero-social {
    justify-content: center;
  }

  .hero-title {
    font-size: 3rem;
  }

  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(0, 26, 0, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    border-bottom: 1px solid var(--accent);
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .hamburger {
    display: flex;
  }

  .hero-content {
    gap: 40px;
  }

  .hero-social {
    justify-content: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .avatar-container {
    width: 350px;
    height: 350px;
  }

  .sun-core {
    width: 200px;
    height: 200px;
  }

  .orbit-icon {
    width: 40px;
    height: 40px;
  }

  .about-content,
  .contact-content {
    gap: 40px;
  }

  .projects-grid {
    gap: 30px;
  }

  .project-content {
    padding: 20px;
  }

  .contact-form {
    padding: 25px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 15px;
  }

  .section {
    padding: 60px 0;
  }

  .hero-content {
    gap: 30px;
  }

  .hero-social {
    justify-content: center;
  }

  .greeting {
    font-size: 1rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-quote {
    font-size: 1rem;
  }

  .avatar-container {
    width: 300px;
    height: 300px;
  }

  .sun-core {
    width: 150px;
    height: 150px;
  }

  .orbit-icon {
    width: 35px;
    height: 35px;
  }

  .nav-container {
    padding: 12px 15px;
  }

  .about-content,
  .contact-content {
    gap: 30px;
  }

  .skills-grid {
    justify-content: center;
  }

  .project-links {
    flex-direction: column;
  }

  .social-links {
    justify-content: center;
  }
}
.terminal {
  background: #000;
  border: 2px solid var(--accent);
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,255,0,0.3);
  overflow: hidden;
  font-family: 'Courier New', monospace;
}

.terminal-header {
  background: #111;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--accent);
}

.terminal-header .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.terminal-header .red { background: #ff5f56; }
.terminal-header .yellow { background: #ffbd2e; }
.terminal-header .green { background: #27c93f; }

.terminal-title {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.9rem;
}

.terminal-body {
  padding: 20px;
  color: var(--accent);
  font-size: 0.95rem;
  line-height: 1.6;
  white-space: pre-wrap;
}
#decrypt-bar {
  font-weight: bold;
  color: var(--accent);
}


.cert-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.cert-track {
  display: flex;
  gap: 40px;
  animation: scrollCerts 20s linear infinite;
}

.cert-track img {
  height: 300px;
  filter: drop-shadow(0 0 10px var(--accent));
  transition: transform 0.3s ease;
}

.cert-track img:hover {
  transform: scale(1.1);
}

@keyframes scrollCerts {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Experience Section Styles */
.experience-timeline {
  position: relative;
  max-width: 900px;
  margin: 60px auto 0;
}

.experience-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent), var(--accent-2));
  box-shadow: 0 0 10px var(--accent);
}

.experience-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
  position: relative;
}

.experience-item::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 30px;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--accent);
  z-index: 2;
}

.experience-item:nth-child(even) {
  direction: rtl;
}

.experience-item:nth-child(even) > * {
  direction: ltr;
}

.experience-date {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding-top: 20px;
}

.experience-item:nth-child(even) .experience-date {
  justify-content: flex-start;
}

.experience-date span {
  background: rgba(0, 255, 0, 0.1);
  color: var(--accent);
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 600;
  border: 1px solid var(--accent);
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.experience-content {
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid var(--accent);
  border-radius: 12px;
  padding: 30px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
  transition: all 0.3s ease;
}

.experience-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 255, 0, 0.4);
  border-color: var(--accent-2);
}

.experience-content h3 {
  color: var(--accent);
  font-size: 1.4rem;
  margin-bottom: 10px;
  text-shadow: 0 0 5px var(--accent);
}

.experience-content h4 {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 15px;
  font-weight: 500;
}

.experience-content p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.experience-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.experience-tech span {
  background: rgba(0, 255, 0, 0.1);
  color: var(--accent);
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.85rem;
  border: 1px solid rgba(0, 255, 0, 0.3);
  transition: all 0.3s ease;
}

.experience-tech span:hover {
  background: rgba(0, 255, 0, 0.2);
  transform: scale(1.05);
}

/* Responsive Experience Section */
@media (max-width: 768px) {
  .experience-timeline::before {
    left: 20px;
  }

  .experience-item {
    grid-template-columns: 1fr;
    padding-left: 50px;
  }

  .experience-item::before {
    left: 20px;
    transform: translateX(0);
  }

  .experience-item:nth-child(even) {
    direction: ltr;
  }

  .experience-date {
    justify-content: flex-start !important;
    margin-bottom: 20px;
  }

  .experience-content {
    padding: 20px;
  }
}