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

html, body {
  height: 100%;
  width: 100%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: url('images/fondo.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #f0f0f0;
  line-height: 1.5;
}
header {
  background-color: rgba(8, 20, 42, 0.9);
  padding: 15px 1rem;     
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  height: auto;
  min-height: 80px;      
  width: 100%;
  top: 0;
  z-index: 1000;
}


.logo {
  height: 60px;         
  cursor: pointer;
}


.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;       
  cursor: pointer;
  color: white;
}


.nav-links {
  list-style: none;
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-links li a {
  text-decoration: none;
  font-weight: 600;
  color: #4da6ff;
}



@media (max-width: 768px) {
  header {
    justify-content: center; 
  }


  .menu-toggle {
    display: block;
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
  }


  .logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }


  .nav-links {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: rgba(8, 20, 42, 0.95);
    padding: 1rem 0;
    z-index: 999;
    margin-top: 15px;
  }

  .nav-links.show {
    display: flex;
  }

}
.btn-login {
  background-color: #1a73e8;
  color: white !important;
  padding: 12px 24px;    
  border-radius: 25px;
  text-decoration: none;
}
.language-dropdown {
  position: fixed;
  bottom: 50px;  
  right: 20px;   
  z-index: 10000;
  user-select: none;
}

.language-dropdown button {
  background: transparent;
  border: none;
  color: #4da6ff;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
}

/* Menu déroulant */
.language-dropdown .lang-menu {
  position: absolute;
  bottom: 130%;  
  right: 0;
  background-color: rgba(8, 20, 42, 0.95);
  border-radius: 6px;
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.15);
  padding: 0.5rem 0;
  min-width: 130px;
  list-style: none;
  z-index: 1000;
}

.language-dropdown .lang-menu li a {
  color: #4da6ff;
  text-decoration: none;
  display: block;
  padding: 8px 16px;
  font-weight: 600;
}

.language-dropdown .lang-menu li a:hover {
  background-color: #4da6ff;
  color: #08142a;
  border-radius: 6px;
}


.about {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 120px 40px 60px; 
  max-width: 1000px;
  margin: auto;
}

.about-text p {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  text-align: justify;
}

.about-text h1 {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 1rem;
  text-align: center;
}
.about-text {
  flex: 1.3; 
  padding: 20px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.about-img {
  max-width: 60%;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-img img {
  max-width: 100%; 
  max-height: 400px; 
  width: auto;
  height: auto;
  border-radius: 15px;
  object-fit: cover;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
  .about {
    flex-direction: column;
    text-align: center;
  }

  .about-img img {
    max-width: 80%;
    height: auto;
  }
}

.parcours ul {
    list-style: none;
    padding: 0;
  }
  
  .parcours li {
    margin-bottom: 10px;
    padding-left: 1em;
    position: relative;
  }
  
  .parcours li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #4da6ff;
  }




  .timeline {
    padding: 60px 20px;
    max-width: 800px;
    margin: auto;
    color: white;
    margin: 60px auto 0;
  }
  
  .timeline h2 {
    text-align: center;
    color: #4da6ff;
    margin-bottom: 40px;
  }
  
  .timeline-container {
    position: relative;
    margin-left: 20px;
    border-left: 3px solid #4da6ff;
    padding-left: 30px;
  }
  
  .timeline-item {
    opacity: 0;
    transform: translateY(50px);
    transition: 0.6s ease;
    margin-bottom: 40px;
    position: relative;
  }
  
  .timeline-dot {
    width: 20px;
    height: 20px;
    background: #4da6ff;
    border-radius: 50%;
    position: absolute;
    left: -41px;
    top: 0;
  }
  
  .timeline-content h3 {
    margin: 0 0 5px;
    color: #4da6ff;
    font-size: 18px;
  }
  
  .timeline-content p {
    margin: 0;
    line-height: 1.6;
  }
  

  .timeline-item.show {
    opacity: 1;
    transform: translateY(0);
  }
  

  @media (max-width: 768px) {
    .about {
      flex-direction: column;
      text-align: center;
      padding: 100px 20px 40px;
    }
  
    .about-img {
      margin-top: 20px;
    }
  }

  .slogan {
    font-style: italic;
    color: #4da6ff;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-in-out;
  }
  .slogan.show {
    opacity: 1;
    transform: translateY(0);
  }

  .about-extra-v2 {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 3rem 1.5rem;
    max-width: 900px;
    margin: auto;
  }
  
  .extra-item {
    background: rgba(0, 30, 60, 0.5);
    border-radius: 20px;
    padding: 2rem;
    color: #f0f8ff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(100, 200, 255, 0.2);
    backdrop-filter: blur(12px);
    transition: transform 0.3s ease;
  }
  
  .extra-item:hover {
    transform: translateY(-5px);
  }
  
  .extra-item h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #4da6ff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .extra-item.alt {
    background: rgba(10, 15, 35, 0.6);
  }
  
  .extra-item.call {
    text-align: center;
    border: 1px solid rgba(100, 200, 255, 0.3);
  }
  
  .btn-glow {
    margin-top: 1rem;
    display: inline-block;
    background-color: #4da6ff;
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    font-weight: bold;

  }
  
  .btn-glow:hover {
    background-color: #1e88e5;
    box-shadow: 0 0 15px #1e88e5;
  }
  
  @media (max-width: 768px) {
    .about-extra-v2 {
      padding: 2rem 1rem;
    }
    .extra-item {
      padding: 1.5rem;
    }
    .extra-item h2 {
      font-size: 1.5rem;
    }
  }
  


  
  .btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    background-color: #4da6ff;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
  }
  
  .btn:hover {
    background-color: #1a8cff;
  }


  @media (max-width: 768px) {
    .about-extra {
      padding: 40px 20px;
      gap: 30px;
    }
  
    .extra-block {
      padding: 20px;
    }
  
    .extra-block h2 {
      font-size: 1.4rem;
    }
  
    .extra-block p {
      font-size: 1rem;
    }
  }
  
  @media (max-width: 480px) {
    .about-extra {
      padding: 30px 15px;
      gap: 20px;
    }
  
    .extra-block {
      padding: 16px;
    }
  
    .extra-block h2 {
      font-size: 1.25rem;
    }
  
    .extra-block p {
      font-size: 0.95rem;
      line-height: 1.5;
    }
  
    .btn {
      padding: 10px 20px;
      font-size: 0.95rem;
    }
  }

  .footer {
    background-color: #031626;
    color: #f0f0f0;
    padding: 20px 20px; 
    font-size: 0.95rem;
    margin-top: 60px;
    text-align: center;
  }
  
  .footer-top {
    max-width: 1000px;
    margin: auto;
    display: flex;
    flex-direction: column;  
    align-items: center;
    gap: 15px;
    text-align: center;
  }
  

  .footer-left,
  .footer-center,
  .footer-right,
  .footer-login {
    flex: 1 1 100%;
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;  
    gap: 20px;
    white-space: nowrap; 
  }
  
  .footer-left p {
    margin-top: 15px;
    margin-bottom: 15px;
    font-weight: bold;
  }
  
  .footer-center a,
  .footer-right a {
    color: #4da6ff;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 5px 10px;
    white-space: nowrap; 
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .footer-center a:hover,
  .footer-right a:hover {
    color: #1a8cff;
  }
  
  .footer-right i {
    font-size: 1.2rem;
  }
  
  .contact-button2 {
    background-color: #4da6ff;
    color: white;
    padding: 6px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 1rem;
    display: inline-block;
    transition: background-color 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
  }
  
  .contact-button2 :hover {
    background-color: #285a8e;
  }
  
  /* Desktop */
  @media (min-width: 601px) {
    .footer-top {
      flex-direction: row;       
      justify-content: center;   
      gap: 40px;
      text-align: center;
    }
    
    .footer-left,
    .footer-center,
    .footer-right,
    .footer-login {
      flex: 1;                 
      justify-content: center;  
    }
  }
.btn-profil {
    background: rgba(30, 41, 59, 0.7); 
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: inherit;
    font-size: 1rem;
    backdrop-filter: blur(6px);
    box-shadow: 0 0 10px rgba(0, 204, 255, 0.3);
  }
  
  .btn-profil i {
    font-size: 1rem;
    color: rgb(12, 110, 215);
  }
  
  .btn-profil:hover {
    background: rgba(30, 41, 59, 0.9);
    box-shadow: 0 0 14px rgba(0, 204, 255, 0.5);
  }

  .dropdown {
    position: relative;
  }
  

  .dropdown-menu {
    position: absolute;
    top: 110%;
    right: 0;
    background: rgba(30, 41, 59, 0.85);
    border-radius: 16px;
    padding: 0.5rem 0;
    margin-top: 10px;
    list-style: none;
    box-shadow: 0 8px 16px rgba(0, 204, 255, 0.1);
    backdrop-filter: blur(8px);
    z-index: 999;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 180px;
  }
  
  .dropdown-menu li {
    text-align: center;
  }
  
  .dropdown-menu li a {
    display: block;
    padding: 10px 16px;
    text-decoration: none;
    color: #e0f2fe;
    font-weight: 500;
    border-radius: 8px;
  }
  
  .dropdown-menu li a:hover {
    background-color: rgba(14, 165, 233, 0.2);
    color: #1a73e8;;
  }

  .btn-cv {
    display: inline-block;
    background-color: #4da6ff;
    color: white;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin-top: 10px;
  }
  
  .btn-cv:hover {
    background-color: #1a8cff;
  }
  
  .btn-cv i {
    margin-left: 8px;
  }
  