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

:root {
  --primary: #0052cc;
  --secondary: #003d99;
  --accent: #0066ff;
  --dark: #2d2d2d;
  --light: #f5f5f5;
  --gray: #666666;
  --gradient: linear-gradient(135deg, #0052cc 0%, #0066ff 100%);
  --dark-bg: #1a1a1a;
  --dark-surface: #2a2a2a;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background: var(--light);
  transition: background 0.3s, color 0.3s;
}

/* Focus Visible pour Accessibilité */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

/* Respecter préférences utilisateur pour animations */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Page Loader */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s, visibility 0.5s;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid #f3f4f6;
  border-top: 4px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loader-text {
  margin-top: 1rem;
  font-size: 1.2rem;
  color: var(--primary);
  font-weight: 600;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 1rem 0;
}

nav.scrolled {
  padding: 0.5rem 0;
}

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

.logo-container {
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.logo-container:hover {
  transform: scale(1.05);
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 200px;
}

.logo-icon {
  width: 45px;
  height: 45px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  box-shadow: 0 2px 15px rgba(0, 82, 204, 0.3);
}

.logo-text {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

.logo-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.1rem;
  min-width: 80px;
}

.logo-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
}

.logo-title {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 500;
  margin: 0;
}

.logo-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 15px rgba(0, 82, 204, 0.3);
}

.logo-profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--dark);
  transition: all 0.3s;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  color: white;
  padding: 6rem 2rem 2rem;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

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

.hero-text h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.hero-text .subtitle {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  opacity: 0.95;
  font-weight: 600;
  line-height: 1.3;
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.85;
  line-height: 1.8;
  max-width: 550px;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.btn {
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: white;
  color: var(--primary);
}

.btn-primary:hover {
  background: #f0f0f0;
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline:hover {
  background: white;
  color: var(--primary);
}

.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  margin-top: 1rem;
}

.portfolio-item .btn-outline {
  color: var(--primary);
  border-color: var(--primary);
}

.portfolio-item .btn-outline:hover {
  background: var(--primary);
  color: white;
}

body.dark-mode .portfolio-item .btn-outline {
  color: #0066ff;
  border-color: #0066ff;
}

body.dark-mode .portfolio-item .btn-outline:hover {
  background: #0066ff;
  color: white;
}

.hero-image {
  animation: fadeInRight 1s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-card {
  position: relative;
  width: 100%;
  max-width: 450px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2rem;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  width: 100%;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
};
  border-radius: 10px;
}

.stat-item .number {
  font-size: 2rem;
  font-weight: bold;
  display: block;
}

.stat-item .label {
  font-size: 0.9rem;
  opacity: 0.8;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section commune */
section {
  padding: 5rem 2rem;
}

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

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--gradient);
  border-radius: 2px;
}

.section-title p {
  color: var(--gray);
  font-size: 1.1rem;
}

/* Company Section */
#entreprise {
  background: white;
}

.company-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.company-text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.company-description,
.company-mission,
.company-values {
  background: var(--light);
  padding: 2rem;
  border-radius: 15px;
}

.company-description h3,
.company-mission h3,
.company-values h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.company-description p,
.company-mission p {
  color: var(--gray);
  line-height: 1.8;
}

.values-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.values-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--gray);
  line-height: 1.6;
}

.values-list i {
  color: var(--primary);
  margin-top: 0.3rem;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.company-services {
  background: var(--light);
  padding: 2.5rem;
  border-radius: 15px;
  height: fit-content;
}

.company-services h3 {
  color: var(--primary);
  margin-bottom: 2rem;
  font-size: 1.3rem;
  text-align: center;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.service-item {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  border-left: 4px solid var(--primary);
  display: flex;
  gap: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.service-detail {
  flex: 1;
}

.service-detail h4 {
  color: var(--primary);
  margin-bottom: 0.3rem;
  font-size: 1.1rem;
}

.service-detail p {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.price {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.company-cta {
  display: flex;
  gap: 1rem;
  flex-direction: column;
}

.company-cta .btn {
  text-align: center;
  width: 100%;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-image {
  text-align: center;
}

.profile-image {
  background: var(--gradient);
  border-radius: 20px;
  padding: 2rem;
  color: white;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.profile-image:hover {
  transform: translateY(-5px);
}

.profile-image i {
  font-size: 8rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.actual-profile-image {
  width: 100%;
  height: auto;
  max-width: 300px;
  max-height: 400px;
  border-radius: 15px;
  object-fit: cover;
  display: block;
}

.image-placeholder {
  font-size: 1rem;
  opacity: 0.8;
  margin-top: 1rem;
  font-style: italic;
}

.about-info {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: var(--light);
  border-radius: 10px;
}

.info-item i {
  color: var(--primary);
  font-size: 1.3rem;
}

.about-text {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.about-text h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.about-text p {
  margin-bottom: 1rem;
  color: var(--gray);
  line-height: 1.8;
}
/* Stats Section */
.stats-section {
  background: var(--dark);
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2.5rem;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.stat-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: white;
}

.stat-text {
  font-size: 0.9rem;
  opacity: 0.8;
  color: rgba(255, 255, 255, 0.7);
}
/* Skills Section */
#competences {
  background: white;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.skill-category {
  background: var(--light);
  padding: 2rem;
  border-radius: 15px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.skill-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.skill-category h3 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.skill-item {
  margin-bottom: 1rem;
}

.skill-name {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.skill-bar {
  height: 8px;
  background: #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background: var(--gradient);
  border-radius: 10px;
  transition: width 1s ease;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 3rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gradient);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.timeline-item:hover {
  transform: translateX(10px);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -3.5rem;
  top: 2rem;
  width: 15px;
  height: 15px;
  background: var(--primary);
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 3px var(--primary);
}

.timeline-date {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: var(--gradient);
  color: white;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.timeline-content h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.timeline-content h4 {
  color: var(--gray);
  font-weight: 500;
  margin-bottom: 1rem;
}

.timeline-content ul {
  margin-left: 1.5rem;
}

.timeline-content li {
  margin-bottom: 0.5rem;
  color: var(--gray);
}

/* Portfolio Section */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.5rem;
  background: white;
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gradient);
  color: white;
  border-color: transparent;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.portfolio-item {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.portfolio-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.portfolio-image {
  width: 100%;
  height: 250px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
}

.portfolio-content {
  padding: 1.5rem;
}

.portfolio-content h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.portfolio-content p {
  color: var(--gray);
  margin-bottom: 1rem;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tag {
  padding: 0.3rem 0.8rem;
  background: var(--light);
  border-radius: 15px;
  font-size: 0.85rem;
  color: var(--primary);
}

/* Services */
#services {
  background: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--light);
  padding: 2.5rem;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.service-card:hover {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
}

.service-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
  justify-content: center;
}

.service-tags span {
  padding: 0.4rem 0.8rem;
  background: var(--light);
  border-radius: 15px;
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 500;
}

/* Contact */
#contact {
  background: var(--light);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
}

.contact-info {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
  height: fit-content;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--light);
  border-radius: 10px;
}

.contact-item i {
  width: 50px;
  height: 50px;
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

/* Footer */
footer {
  background: var(--dark);
  color: white;
  padding: 3rem 2rem 1rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-section a:hover {
  color: white;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s;
  z-index: 999;
}

.back-to-top.show {
  display: flex;
}

.back-to-top:hover {
  transform: translateY(-5px);
}

/* Theme Toggle */
.theme-toggle {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: white;
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 999;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.theme-toggle:hover {
  transform: scale(1.1);
}

.theme-toggle i {
  color: var(--primary);
  font-size: 1.3rem;
}

/* Language Toggle */
.language-toggle {
  position: fixed;
  bottom: 170px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: white;
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 999;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  font-weight: 700;
  color: var(--primary);
}

.language-toggle:hover {
  transform: scale(1.1);
}

/* Dark Mode */
body.dark-mode {
  background: #1a1a1a;
  color: #e0e0e0;
}

body.dark-mode nav {
  background: rgba(26, 26, 26, 0.95);
}

body.dark-mode .language-toggle {
  background: var(--dark-surface);
  color: #e0e0e0;
  border-color: #e0e0e0;
}

body.dark-mode .logo-name {
  color: #e0e0e0;
}

body.dark-mode .nav-links a {
  color: #e0e0e0;
}

body.dark-mode #competences,
body.dark-mode #services {
  background: #242424;
}

body.dark-mode .about-info,
body.dark-mode .about-text,
body.dark-mode .timeline-item,
body.dark-mode .portfolio-item,
body.dark-mode .contact-info,
body.dark-mode .contact-form {
  background: #2a2a2a;
  color: #e0e0e0;
}

body.dark-mode .skill-category,
body.dark-mode .service-card {
  background: #303030;
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea {
  background: #303030;
  color: #e0e0e0;
  border-color: #0052cc;
}

body.dark-mode .info-item,
body.dark-mode .contact-item {
  background: #303030;
}

body.dark-mode .tech-tag {
  background: #303030;
  color: #0066ff;
}

body.dark-mode .service-tags span {
  background: #303030;
  color: #0066ff;
}

body.dark-mode .stat-card {
  background: rgba(0, 82, 204, 0.1);
  border-color: rgba(0, 82, 204, 0.3);
}

body.dark-mode .stat-card:hover {
  background: rgba(0, 82, 204, 0.15);
}

body.dark-mode .profile-image {
  background: var(--gradient);
}

body.dark-mode .stats-section {
  background: #1a1a1a;
}

body.dark-mode #entreprise {
  background: #1a1a1a;
}

body.dark-mode .company-description,
body.dark-mode .company-mission,
body.dark-mode .company-values {
  background: #2a2a2a;
}

body.dark-mode .company-description h3,
body.dark-mode .company-mission h3,
body.dark-mode .company-values h3 {
  color: #0066ff;
}

body.dark-mode .company-description p,
body.dark-mode .company-mission p,
body.dark-mode .values-list li {
  color: #e0e0e0;
}

body.dark-mode .company-services {
  background: #2a2a2a;
}

body.dark-mode .company-services h3 {
  color: #0066ff;
}

body.dark-mode .service-item {
  background: #303030;
  border-left-color: #0066ff;
}

body.dark-mode .service-item h4 {
  color: #0066ff;
}

body.dark-mode .service-item p {
  color: #b0b0b0;
}

body.dark-mode .price {
  color: #0066ff;
}

body.dark-mode .nav-links {
  background: #242424;
}

/* Responsive */
@media (max-width: 968px) {
  .company-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .company-services {
    height: auto;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 70%;
    height: calc(100vh - 70px);
    background: white;
    flex-direction: column;
    padding: 2rem;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s;
  }

  body.dark-mode .nav-links {
    background: #16213e;
  }

  .nav-links.active {
    right: 0;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

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

  .timeline {
    padding-left: 2rem;
  }
}

@media (max-width: 576px) {
  .hero-text h1 {
    font-size: 2rem;
  }

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

  .profile-stats {
    grid-template-columns: 1fr;
  }

  .company-cta {
    flex-direction: column;
    gap: 1rem;
  }

  .company-cta .btn {
    padding: 1rem;
    font-size: 0.9rem;
  }

  .service-item {
    flex-direction: column;
    text-align: center;
  }

  .service-icon {
    margin: 0 auto;
  }
}
