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

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #e2e8f0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  overflow-x: hidden;
}

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

/* Navbar */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(20px);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
}
nav.scrolled {
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}
.nav-links a {
  color: #cbd5e1;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
}
.nav-links a:hover {
  color: #60a5fa;
  transform: translateY(-2px);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
  transition: width 0.3s ease;
}
.nav-links a:hover::after {
  width: 100%;
}

/* Hero */
.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 130px;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.1;
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInUp 1s ease-out;
}
.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  color: #94a3b8;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-out 0.2s both;
}
.hero-description {
  font-size: 1.1rem;
  color: #cbd5e1;
  max-width: 600px;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-out 0.4s both;
}
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  animation: fadeInUp 1s ease-out 0.6s both;
}
.btn {
  padding: 12px 30px;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.btn-primary {
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  color: white;
}
.btn-secondary {
  background: transparent;
  color: #60a5fa;
  border: 2px solid #60a5fa;
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(96, 165, 250, 0.3);
}

/* Sections */
section {
  padding: 100px 0;
  position: relative;
}
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, #ffffff, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Formation */
.formation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.formation-card {
  background: rgba(30, 41, 59, 0.5);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(96, 165, 250, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.formation-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.formation-card:hover::before {
  transform: scaleX(1);
}
.formation-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(96, 165, 250, 0.2);
}
.formation-date {
  color: #60a5fa;
  font-weight: 600;
  font-size: 0.9rem;
}
.formation-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0.5rem 0;
  color: #f1f5f9;
}
.formation-school {
  color: #94a3b8;
  font-style: italic;
}
.formation-description {
  color: #cbd5e1;
  margin-top: 1rem;
}

/* Projets */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.project-card {
  background: rgba(30, 41, 59, 0.5);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(96, 165, 250, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #a78bfa, #ec4899);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.project-card:hover::before {
  transform: scaleX(1);
}
.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(167, 139, 250, 0.2);
}
.project-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #f1f5f9;
}
.project-tech {
  display: inline-block;
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.project-description {
  color: #cbd5e1;
  line-height: 1.6;
}

/* Skills */
.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.skill-category {
  background: rgba(30, 41, 59, 0.5);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(96, 165, 250, 0.2);
  transition: all 0.3s ease;
}
.skill-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(96, 165, 250, 0.15);
}
.skill-category h3 {
  color: #60a5fa;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}
.skill-tag {
  display: inline-block;
  background: rgba(96, 165, 250, 0.1);
  color: #60a5fa;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  margin: 0.25rem;
  border: 1px solid rgba(96, 165, 250, 0.3);
  transition: all 0.3s ease;
}
.skill-tag:hover {
  background: rgba(96, 165, 250, 0.2);
  transform: scale(1.05);
}

/* Contact */
.contact {
  background: rgba(15, 23, 42, 0.8);
}
.contact-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.contact-description {
  font-size: 1.2rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
}
.contact-info {
  display: flex;
  justify-content: center;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  position: relative;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #60a5fa;
  text-decoration: none;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(96, 165, 250, 0.3);
  border-radius: 50px;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}
.contact-item:hover {
  background: rgba(96, 165, 250, 0.06);
  transform: translateY(-3px);
}

