/*

Tooplate 2115 Marvel

https://www.tooplate.com/view/2115-marvel

*/


@import url("https://fonts.googleapis.com/css?family=Maven+Pro:400,700");
body {
  font-family: "Maven Pro", sans-serif;
  padding-top: 70px;
}

.full-screen {
  padding: 8rem 0;
}

.small-text {
  color: #5b5b5b;
  font-size: 20px;
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 50px;
  letter-spacing: 0.2px;
}

ul {
  margin: 0;
  padding: 0;
}
ul li {
  list-style: none;
}

a {
  font-weight: normal;
  text-decoration: none !important;
  transition: all 0.4s ease;
}
a:hover {
  color: #3E70AA !important;
}

.navbar-brand .uil {
  font-size: 40px;
}

p {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
  color: #5b5b5b;
}




h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  letter-spacing: -1px;
}

h1 {
  color: #212121;
  font-size: 2.8em;
  margin: 24px 0;
}

h2 {
  color: #353535;
  font-size: 2.4em;
  font-weight: bold;
  width: 100%;
}

h3 {
  margin-top: 20px;
  color: #484848;
  
}

h3,
b, strong {
  font-weight: bold;
}

h4 {
  margin-top: 20px;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
  color: #535353;
  width: 180%; 
  text-indent: 50px;
}

h5{
  margin-top: 100px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 300;
}


.custom-btn {
  background: #eee;
  color: #5b5b5b;
  font-weight: bold;
  border-radius: 50px;
  padding: 13px 29px;
  font-size: 14px;
  line-height: normal;
  overflow: hidden;
  transition: all 0.4s ease;
}
.custom-btn:hover {
  color: #3E70AA;
}
.custom-btn.custom-btn-bg {
  background: #3E70AA;
  color: #ffffff;
}
.custom-btn.custom-btn-bg:hover {
  background: #5b5b5b;
  color: #ffffff !important;
}

.animated {
  position: relative;
}

.animated-info {
  display: inline-block;
  vertical-align: top;
  margin-top: 5px;
  min-width: 260px;
  position: relative;
}

.animated-item {
  color: #3E70AA;
}

.animated-item {
  font-size: 38px;
  line-height: inherit;
  display: block;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  animation: BottomTotop 3s linear infinite 0s;
}
.animated-item:nth-child(2n+2) {
  animation-delay: 1s;
}

@keyframes typing {
  0%, 100% { width: 0; }
  25%, 50% { width: 100%; }
}

@keyframes blink-caret {
  50% { border-color: #3E70AA; }
}

.typewriter-text {
  font-family: monospace;
  color: #3E70AA;
  display: inline-block;
  overflow: hidden;
  border-right: .15em solid #3E70AA;
  white-space: nowrap;
  letter-spacing: .15em;
  animation:
      typing 8s steps(50, end) infinite,
      blink-caret 1s step-end infinite;
}

.typewriter-text-container {
  max-width: 100%;
  margin: 0 auto;
}








@keyframes BottomTotop {
  0% {
    opacity: 0;
  }
  5% {
    opacity: 0;
    transform: translateY(5px);
  }
  10% {
    opacity: 1;
    transform: translateY(0px);
  }
  25% {
    opacity: 1;
    transform: translateY(0px);
  }
  30% {
    opacity: 0;
    transform: translateY(5px);
  }
  80% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 999999;
  will-change: transform;
  transition: transform 200ms linear;
  margin-left: 20px; /* Ajoutez une marge à gauche */
  margin-right: 20px; /* Ajoutez une marge à droite */
}

.navbar[class*="-unpinned"] {
  transform: translate(0, -150%);
}

.navbar[class*="-pinned"] {
  transform: translate(0, 0);
}

.navbar[class*="headroom--not-top"] {
  background: #ffffff;
  border-bottom: 1px solid #f0f0f0;
  padding-top: 0;
  padding-bottom: 0;
}

.navbar-brand {
  font-weight: bold;
}

.navbar-expand-sm .navbar-nav .nav-link {
  padding: 0 20px;
}

.nav-link {
  font-weight: bold;
  font-size: 16px;
  overflow: hidden;
}

.nav-link span {
  position: relative;
  display: inline-block;
  transition: transform 0.3s;
}

.nav-link span:before {
  position: absolute;
  top: 100%;
  content: attr(data-hover);
  transform: translate3d(0, 0, 0);
}

.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover {
  color: #3E70AA;
  font-weight: bold;
}

.navbar-light .navbar-nav .nav-link:focus span,
.navbar-light .navbar-nav .nav-link:hover span {
  transform: translateY(-100%);
}

.navbar-light .navbar-toggler-icon {
  background: none;
}

.navbar-toggler {
  border: 0;
  padding: 0;
  width: 32px;
  height: 32px;
  line-height: 32px;
  outline: none;
  cursor: pointer;
  margin-right: 10px;
}

.navbar-toggler:focus {
  outline: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:first-child {
  transform: rotate(45deg);
  top: 6px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:nth-child(2) {
  display: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:last-child {
  transform: rotate(-45deg);
  bottom: 1px;
}

.navbar-toggler .navbar-toggler-icon {
  background: #212121;
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  transition: all 0.4s ease;
  position: relative;
}




.copyright-text {
  font-size: 16px;
  font-weight: normal;
  display: block;
}

.color-mode {
  font-weight: bold;
  cursor: pointer;
}

.color-mode-icon {
  position: relative;
  right: 6px;
}
.color-mode-icon:after {
  font-family: 'unicons';
  content: '\ea9f';
  font-size: 30px;
  font-weight: 300;
  font-style: normal;
}
.color-mode-icon.active:after {
  font-family: 'unicons';
  content: '\eb65';
  font-size: 30px;
  color: #ffffff;
}

.dark-mode {
  background: #0c0c0d;
}
.dark-mode .navbar-light .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.8);
}
.dark-mode .navbar-light .navbar-nav .nav-link:hover {
  color: #3E70AA;
}
.dark-mode .navbar[class*="headroom--not-top"] {
  background: #0c0c0d;
  border-bottom: 1px solid #1f1f1f;
}
.dark-mode .small-text {
  background: #0d0c15;
  color: #ffffff;
}
.dark-mode .feature-card .uil,
.dark-mode .navbar-light .navbar-brand,
.dark-mode h1, .dark-mode h2, .dark-mode h3, .dark-mode h4, .dark-mode h5, .dark-mode h6,
.dark-mode .color-mode {
  color: #ffffff;
}
.dark-mode .owl-carousel .owl-nav button.owl-next,
.dark-mode .owl-carousel .owl-nav button.owl-prev,
.dark-mode .owl-carousel button.owl-dot {
  color: #ffffff;
}

.timeline-wrapper {
  position: relative;
  padding: 22px 0;
}
.timeline-wrapper:last-child:before {
  height: 0;
}
.timeline-wrapper:before {
  content: "";
  background: #484848;
  width: 3px;
  height: 100%;
  position: absolute;
  left: 38px;
}

.timeline-yr {
  background: #484848;
  border-radius: 100%;
  position: absolute;
  width: 75px;
  height: 75px;
  line-height: 75px;
  text-align: center;
}
.timeline-yr span {
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  display: block;
  line-height: 75px;
}

.timeline-info {
  display: inline-block;
  vertical-align: top;
  max-width: 432px;
  margin-left: 6em;
}
.timeline-info small {
  color: #474559;
  font-size: 16px;
  font-weight: bold;
  display: inline-block;
  vertical-align: middle;
  margin-left: 15px;
}

.owl-carousel .owl-nav span {
  display: none;
}
.owl-carousel .owl-nav .owl-prev:before,
.owl-carousel .owl-nav .owl-next:before {
  background: none;
  padding: 0;
  display: block;
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  font-family: 'unicons';
  font-size: 100px;
  line-height: normal;
}
.owl-carousel .owl-nav .owl-prev:before {
  content: '\e833';
  left: -45px;
}
.owl-carousel .owl-nav .owl-next:before {
  content: '\e836';
  right: -45px;
}

.owl-theme .owl-nav [class*=owl-] {
  background: none;
  border-radius: 0;
  margin: 0;
  padding: 0;
  font-size: inherit;
}
.owl-theme .owl-nav [class*=owl-]:hover {
  color: #3E70AA;
}
.owl-theme .owl-dots .owl-dot {
  outline: none;
}
.owl-theme .owl-dots .owl-dot span {
  width: 8px;
  height: 8px;
}
.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
  background: #5b5b5b;
}

.google-map iframe {
  width: 100%;
}

/* Style général de la section de contact */
.contact {
  display: flex;
  flex-direction: column; /* Organiser les enfants verticalement */
  justify-content: center; /* Centrer horizontalement */
  align-items: center;     /* Centrer verticalement */
  padding: 2rem 0; /* Ajoute un padding vertical pour un peu d'espace */
  text-align: center;      /* Centrer le texte à l'intérieur */
}

/* Style du conteneur dans la section de contact */
.contact .container {
  width: 100%; /* Utiliser la pleine largeur disponible */
  max-width: 900px; /* Limiter la largeur maximale du contenu */
}

/* Style de la rangée dans la section de contact */
.contact .row {
  width: 100%; /* S'assurer que la rangée utilise toute la largeur */
}

/* Style pour la colonne qui contient le formulaire de contact */
.contact .col-lg-6 {
  margin: 0 auto; /* Centrer la colonne dans le conteneur */
}

/* Style du formulaire de contact */
.contact-form {
  padding: 1rem;
}

/* Styles pour les éléments à l'intérieur du formulaire de contact */
.contact-form h2 {
  margin-bottom: 1rem;
}

.contact-form p {
  margin-bottom: 0.5rem;
}

/* Styles pour les boutons */
.custom-btn-group .btn {
  margin: 0.5rem 0.5rem 0.5rem 0;
}

/* Styles pour les boutons et les éléments interactifs */
.contact-form .form-control, .contact-form .submit-btn, .custom-btn-group .btn {
  transition: all 0.3s ease; /* Transition douce pour les états hover et focus */
}

/* Assurez-vous que les styles de focus et de hover ne déplacent pas les éléments */
.contact-form .form-control:hover, .contact-form .form-control:focus {
  border-color: #3E70AA;
  box-shadow: none; /* Retirer l'ombre pour éviter tout déplacement */
}

/* Style du bouton de soumission si utilisé */
.contact-form .submit-btn:hover {
  background: #484848;
}

/* Style pour les informations de contact supplémentaires */
.contact-info p, .contact-info a {
  color: #f7f3f3;
}


@media (max-width: 992px) {
  .contact .col-lg-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.social-links .uil {
  color: #f7f3f3;
  font-size: 20px;
  display: block;
  margin: 5px 0;
}
.social-links .uil:hover {
  color: #3E70AA;
}

@media (min-width: 1270px) {
  .owl-theme .owl-dots {
    position: relative;
    bottom: 50px;
  }
}
@media (max-width: 991px) {
  .full-screen {
    padding-bottom: 4rem;
  }

  .color-mode {
    display: none;
  }

  .about-image {
    margin-top: 4em;
  }

  .mobile-mt-2,
  .contact-form {
    margin-top: 2em;
  }

  .contact-info {
    padding: 0 2rem;
  }
}
@media (max-width: 767px) {
  h1 {
    font-size: 2.4em;
  }

  h2 {
    font-size: 2em;
  }

  .animated-item {
    font-size: 28px;
  }

  .navbar-collapse {
    background: #ffffff;
    text-align: center;
    padding-bottom: 20px;
  }

  .navbar-expand-sm .navbar-nav .nav-link {
    padding: 3px 20px;
  }
}
@media (max-width: 580px) {
	.animated-info {
		min-width: 200px;
	}
  .animated-item {
    font-size: 30px;
  }

  .custom-btn-group {
    text-align: center;
  }

  .custom-btn {
    display: block;
    margin: 10px 0;
  }

  .owl-theme .owl-nav {
    display: none;
  }

  .timeline-info small {
    display: block;
    margin: 10px 0 0 0;
  }
}
@media (max-width: 320px) {
  .animated-text {
    margin-top: 0;
  }

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

  .full-screen {
    padding: 4rem 0;
  }

  .mobile-block {
    display: block;
  }

  .contact-info {
    flex-direction: column;
  }

  .social-links li {
    display: inline-block;
    vertical-align: top;
  }
}

.timeline-info a {
  transition: transform 0.5s ease-in-out;
  display: inline-block; /* Assurez-vous que l'élément est un bloc en ligne pour l'animation */
  color: #3E70AA; /* Couleur du lien - choisissez une couleur qui se démarque */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2); /* Ajoute une légère ombre pour le rendre plus lisible */
  font-weight: bold; /* Met le texte en gras */
}

.timeline-info a:hover {
  transform: scale(1.15); /* Agrandit légèrement plus le bouton au survol */
  color: #3E70AA; /* Change la couleur au survol */
}

@keyframes pulse {
  0%, 100% {
      transform: scale(1);
      color: #3E70AA;
  }
  50% {
      transform: scale(1.1);
      color: #3E70AA; /* Change légèrement la couleur pour attirer l'attention */
  }
}

.timeline-info a {
  animation: pulse 2s infinite ease-in-out; /* Rend l'animation plus longue et plus fluide */
}



/* Style initial pour les informations de la timeline qui seront animées */
.timeline-info {
  opacity: 0;
  transform: translateX(50%);
  visibility: hidden;
  transition: opacity 1s ease-out, transform 1s ease-out; /* Temps d'animation augmenté */
}

/* Classe qui sera ajoutée par JavaScript pour animer les informations de la timeline */
.is-visible {
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
}

.contact {
  display: flex;
  justify-content: center; /* Centrer horizontalement */
  align-items: center;     /* Centrer verticalement */
}

.contact .container {
  text-align: center; /* Centrer le texte et les éléments en ligne */
}





.certifications-section {
  background-color: #f8f9fa;
  padding: 50px 0;
  margin-bottom: 50px; /* ESPACE avec la section suivante */
}

.certif-title {
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
}

.certif-separator {
  width: 60%;
  margin: 40px auto;
  border: 2px solid #ccc;
}

.diploma-container, .certification-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.flip-card {
  width: 180px;
  height: 200px;
  perspective: 1000px;
  cursor: pointer;
}

.flip-card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* Face avant */
.flip-card-front, .flip-card-back {
  width: 100%;
  height: 100%;
  position: absolute;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  background: white;
  padding: 10px;
}

.flip-card-front i {
  font-size: 40px;
  color: #3E70AA;
}

.flip-card-front p {
  font-size: 14px;
  margin-top: 10px;
  font-weight: bold;
}

/* Face arrière */
.flip-card-back {
  background: #ffffff;
  color: #333;
  transform: rotateY(180deg);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Assure un bon espacement */
  padding: 15px;
}

.flip-card-back p {
  font-size: 14px;
  text-align: center;
  flex-grow: 1; /* Permet au texte de prendre l'espace disponible */
}

/* Fixer le bouton en bas de la carte avec une marge */
.flip-card-back .btn.custom-btn {
  margin-top: auto; /* Pousse le bouton vers le bas */
  margin-bottom: 10px; /* Ajoute un petit espace en bas */
  align-self: center; /* Centre horizontalement */
  width: 80%; /* Ajuste la taille du bouton */
  text-align: center;
}


/* Bouton Télécharger */
.certif-button {
  background-color: #3E70AA;
  color: black;
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 12px; /* Plus arrondi */
  transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
  font-weight: normal; /* Pas en gras */
}

.certif-button:hover {
  background-color: #666;
  color: white;
}





/* Style de base du lien 🔗 */
.custom-icon-btn {
  font-size: 24px; /* Taille légèrement augmentée */
  color: black;
  text-decoration: none;
  transition: transform 0.2s ease-in-out, color 0.2s ease-in-out;
  display: inline-block;
  margin-top: auto;
}

/* Effet au survol : agrandissement subtil et couleur */
.custom-icon-btn:hover {
  color: #3E70AA; /* Devient jaune */
  transform: scale(1.2); /* Légère augmentation */
}

/* Style de base du lien 🔗 */
.custom-icon-btn {
  font-size: 24px; /* Ajuste la taille pour qu'elle soit bien visible */
  color: black; /* Assure que l'icône soit bien contrastée */
  text-decoration: none;
  transition: transform 0.2s ease-in-out, color 0.2s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: auto; /* Assure que le lien est bien en bas */
  opacity: 1; /* Assure que l'icône est bien visible */
}

/* Effet au survol : agrandissement et couleur */
.custom-icon-btn:hover {
  color: #3E70AA; /* Devient jaune au survol */
  transform: scale(1.2); /* Légère augmentation */
}

/* Correction du positionnement */
.flip-card-back {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Répartit les éléments */
  align-items: center;
  padding: 15px;
}

.flip-card-back p {
  text-align: center;
  margin-bottom: 10px;
}






/* Profil Section */
.profil-section {
  background-color: #f8f9fa;
  padding: 50px 0;
}

.profil-photo {
  text-align: center;
  padding: 20px;
}

.profil-photo img {
  border-radius: 50%;
  max-width: 80%;
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

.profil-text {
  padding: 20px;
  font-size: 16px;
  color: #333;
}

.profil-text h3 {
  color: #3E70AA;
  font-size: 24px;
  margin-bottom: 15px;
}

@media (max-width: 767px) {
  .profil-photo, .profil-text {
      text-align: center;
  }

  .profil-photo {
      margin-bottom: 20px;
  }

  .profil-photo img {
      max-width: 60%;
  }
}

.profil-photo img {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
      transform: translateY(0);
  }
  50% {
      transform: translateY(-10px);
  }
}


@keyframes waveAnimation {
  0%, 50%, 100% {
    transform: rotate(0deg);
  }
  10%, 30%, 60%, 80% {
    transform: rotate(-10deg);
  }
  20%, 40%, 70%, 90% {
    transform: rotate(10deg);
  }
}

.wave-hand {
  display: inline-block;
  animation: waveAnimation 2s infinite;
}








.resume {
  background-color: #ffffff;
  padding: 20px 0;
}

.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 30px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s, transform 0.5s;
}

.timeline-item:nth-child(odd) .timeline-content {
  background-color: #f8f9fa;
}

.timeline-item:nth-child(even) .timeline-content {
  background-color: #f8f9fa;
}

.timeline-item:before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  width: 2px;
  height: 100%;
  background-color: #ccc;
}

.timeline-year {
  position: absolute;
  left: 0;
  top: 15px;
  width: 40px;
  height: 40px;
  background-color: #e43a43;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  transition: background-color 0.3s;
  z-index: 1;
}

.timeline-content {
  background-color: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s;
  margin-left: 10px;
}

.timeline-subtitle {
  font-size: 0.9em;
  color: #888;
  margin-bottom: 5px;
}

.timeline-date {
  font-size: 0.85em;
  color: #555;
  margin-bottom: 5px;
}

.timeline-link {
  color: #3E70AA;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.timeline-link:hover {
  color: #e01b95;
}

.timeline-item:nth-child(odd) .timeline-year {
  background-color: #12a331;
}

.timeline-item:nth-child(even) .timeline-year {
  background-color: #039be5;
}

/* Animation */
.timeline-item.animate {
  opacity: 1;
  transform: translateY(0);
}




@keyframes moveUpDown {
  0%, 100% {
      transform: translateY(0);
  }
  50% {
      transform: translateY(-10px);
  }
}

.move-up-down {
  animation: moveUpDown 3s infinite;
}


@keyframes zoomInOut {
  0%, 100% {
      transform: scale(1);
  }
  50% {
      transform: scale(1.1);
  }
}

.zoom-emoji {
  display: inline-block;
  animation: zoomInOut 2s infinite ease-in-out;
}













/* Style général de la section */
.career-path {
  background-color: #ffffff;
  padding: 50px 0;
}

/* Titre de section */
.section-title {
  font-size: 1.75rem;
  font-weight: bold;
  color: #3E70AA;
  display: inline-block;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeIn 0.5s 0.5s forwards;
}

/* Animation de fade-in */
@keyframes fadeIn {
  to {
      opacity: 1;
  }
}

/* Liste des expériences et formations */
.experience-list,
.education-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Élément de la liste */
.experience-item,
.education-item {
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  opacity: 0;
  animation: slideIn 0.5s forwards;
}

.experience-item:nth-child(2) {
  animation-delay: 0.3s;
}

.experience-item:nth-child(3) {
  animation-delay: 0.6s;
}

.experience-item:nth-child(4) {
  animation-delay: 0.9s;
}

.education-item:nth-child(2) {
  animation-delay: 0.3s;
}

.education-item:nth-child(3) {
  animation-delay: 0.6s;
}

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

.experience-item:hover,
.education-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* En-tête de l'élément */
.item-header {
  background-color: #f9f9f9;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ddd;
  animation: fadeInUp 0.5s ease-in-out;
}

/* Titre de l'élément */
.item-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: #3E70AA;
}

/* Rôle et durée de l'élément */
.item-role-duration {
  display: flex;
  align-items: center;
  gap: 5px;
}

.item-role {
  font-size: 1rem;
  color: #555;
  font-style: italic;
}

.item-duration {
  font-size: 1rem;
  color: #777;
}

/* Contenu de l'élément */
.item-content {
  padding: 10px;
  background-color: #ffffff;
  animation: fadeInUp 0.5s 0.2s ease-in-out;
}

/* Date de l'élément */
.item-date {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 5px;
}

/* Détails de l'élément */
.item-details {
  font-size: 1rem;
  color: #333;
  line-height: 1.3;
}

/* Lien de l'élément */
.item-link {
  color: #3E70AA;
  text-decoration: none;
  font-weight: bold;
  position: relative;
}

.item-link::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #3E70AA;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.item-link:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Animation de fade-in vers le haut */
@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(10px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 992px) {
  .mobile-mt-2 {
      margin-top: 2rem;
  }
}






body {
  overflow-x: hidden;
}

section.contact {
  background-color: #f8f9fa; /* Couleur gris clair */
  padding: 20px 0; /* Ajustez le padding selon vos besoins */
}

















.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.75);
  justify-content: center;
  align-items: center;
}

.modal-content {
  position: relative;
  margin: auto;
  padding: 0;
  width: 80%;
  max-width: 700px;
  border-radius: 15px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.modal-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
}

.close {
  position: absolute;
  top: 10px;
  right: 10px;
  color: red;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: darkred;
  text-decoration: none;
  cursor: pointer;
}

.custom-icon-btn {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}