
body {
  margin-top: 70px;
  background-color: #f8f9fa;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
}


.hero {
  position: relative;
  height: 100vh;
  background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
  overflow: hidden;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('background-dots.svg') repeat;
  opacity: 0.3;
  z-index: 1;
}

.hero .container {
  z-index: 2;
  color: #fff;
}

.navbar-brand {
  font-weight: bold;
}

.social-icons a {
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #ffd700;
}

.navbar {
  background-color: #fff !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

section.container {
  padding: 60px 15px;
}

img.img-fluid.rounded-circle {
  max-width: 250px;
  border-radius: 50%;
  border: 5px solid #ddd;
  margin-bottom: 20px;
}

section h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: #000000;
}

section p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #000000;
  margin-bottom: 20px;
}

footer {
  background-color: #fff;
  text-align: center;
  padding: 20px 0;
  font-size: 0.9rem;
  color: #777;
}

.index-page .hero h1,
.index-page .hero p {
  color: #fff;
}


.circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}


.container-page {
  padding: 100px 20px 40px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.illustration img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.about-box {
  background-color: #333;
  color: white;
  padding: 25px;
  border-radius: 8px;
}

.about-box h2 {
  margin-top: 0;
  font-size: 28px;
}

.about-box p {
  margin: 15px 0;
  font-size: 16px;
}

.about-box strong {
  color: #ffc107;
}



.formation-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  font-family: sans-serif;
}

.formation {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 20px;
}

.formation-image {
  flex: 0 0 200px;
  margin-right: 20px;
  position: relative;
}

.formation-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
}

.image-date {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background-color: #fff;
  color: #000;
  padding: 4px 8px;
  font-size: 14px;
  border-radius: 2px;
  line-height: 1.2;
}

.formation-text {
  flex: 1;
}

.formation-text h2 {
  margin-top: 0;
}

.section-title {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  text-transform: uppercase;
  margin: 100px 0 60px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ccc;
}

@media only screen and (max-width: 600px) {
  .formation {
    flex-direction: column;
    align-items: flex-start;
  }

  .formation-image {
    margin-right: 0;
    margin-bottom: 15px;
  }
}


  .certificates-section {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    font-family: sans-serif;
  }

  .certificate {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    gap: 20px;
  }

  .certificate-text {
    flex: 1;
  }

  .certificate h2 {
    margin-top: 0;
    font-size: 20px;
    color: #333;
  }

  .certificate p {
    margin: 5px 0;
    color: #555;
  }

  .certificate-button {
    display: inline-block;
    margin-top: 10px;
    background-color: #007bff;
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
  }

  .certificate-button:hover {
    background-color: #0056b3;
  }

  .certificate-image {
    width: 100px;
    height: auto;
  }

  @media only screen and (max-width: 600px) {
    .certificate {
      flex-direction: column;
      align-items: center;
    }

    .certificate-image {
      margin-top: 10px;
    }
  }


  .navbar {
  background: linear-gradient(to right, #0a3664, #0d637a) !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.navbar .nav-link {
  color: white !important;
}

.navbar .nav-link.active {
  font-weight: bold;
  text-decoration: underline;
}

.navbar .navbar-brand {
  color: white !important;
}



.titre-projets {
  font-size: 2.3rem;
  font-weight: bold;
  color: #222;
  text-align: left;
}

.barre-separation {
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, #007bff, #00c6ff);
  border: none;
  margin-bottom: 40px;
}

.projet-block img {
  width: 100%;
  max-width: 300px;
  border-radius: 8px;
  object-fit: cover;
}

.projet-texte p {
  font-size: 1rem;
  color: #333;
}

.projet-texte h2 {
  font-weight: 600;
  margin-bottom: 10px;
}

.portrait-hover {
  transition: transform 0.3s ease;
}

.portrait-hover:hover {
  transform: translateY(8px);
}

.competence-card {
  background-color: white;
  border: 1px solid #dee2e6;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.competence-card:hover {
  transform: translateY(-4px);
}

.competence-card h2 {
  font-weight: 600;
  margin-bottom: 15px;
}

.competence-card ul {
  padding-left: 1.2rem;
}



.formation-card:hover {
  transform: translateY(-4px);
}


.btn-doc {
  margin-left: 24px; 
}


.btn-doc {
  background-color: #1881e9;
  color: white;
  font-weight: 600;
  padding: 7px 15px;
  border-radius: 6px;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.btn-doc:hover {
  background-color: #1a8cff;
  color: white;
  text-decoration: none;
}


.projet-card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 20px;
  margin-bottom: 40px;
  transition: transform 0.2s ease;
}

.projet-card:hover {
  transform: translateY(-4px);
}

.easter-egg {
  text-decoration: none; 
  font-size: 1.3rem;
  margin-left: 6px;
  transition: transform 0.2s ease;
  color: inherit; 
}


.easter-egg:hover {
  transform: rotate(20deg) scale(1.3);
  cursor: pointer;
}



.doc-block {
  transition: transform 0.2s ease;
}

.doc-block:hover {
  transform: translateY(-3px);
}

h1 {
  color: #0d47a1;
}


.hacker-mode {
  background-color: black !important;
  color: red !important;
}

.hacker-mode * {
  background-color: black !important;
  color: red !important;
  border-color: red !important;
}


#easter-egg-zone {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 45px;
  height: 45px;
  opacity: 0; 
  cursor: pointer;
  z-index: 99999;
}







