    /* GENERAL */
    body{
        font-family: 'Lato', 'sans-serif';
    }
    h2,h3,h4,h5,h6{
        font-weight: bold;
    }
    .profile-picture img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 50%; /* cercle parfait */
  border: 3px solid transparent;
  background: linear-gradient(90deg, #ff00cc, #3333ff, #00ffff, #ffe83e);
  background-size: 300% 300%;
  animation: gradientGlow 6s ease infinite; /* dégradé animé */
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3); /* glow subtil */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Effet de mouvement du dégradé */
@keyframes gradientGlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Hover léger pour interactivité */
.profile-picture img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.5);
}

/* Centrage de la photo */
.profile-picture {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px auto;
}
    section{
        padding: 65px 0 80px 0;
    }
    section .heading{
        text-align: center;
        padding-bottom: 40px;
    }
    section .heading h2{
        text-transform: uppercase;
    }
    .divider{
        width: 100px;
        height: 2px;
        background-color: #2879e3;
        margin: 0 auto 20px;
    }
    .divider.white{
        background-color: #fff;
    }
    ul{
        list-style: none;
    }

    /* NAVBAR */
.navbar {
    background: linear-gradient(135deg, #6a11cb, #2575fc, #4895ef); /* dégradé animé */
    background-size: 300% 300%;
    animation: navbarGradient 10s ease infinite;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: bold;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

/* Animation du fond */
@keyframes navbarGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Centrage des liens */
.navbar-nav {
    margin: 0 auto;
    text-align: center;
}

/* Liens */
.nav-link {
    color: white !important;
    margin: 0 8px;
    padding: 8px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

/* Hover & active */
.nav-link:hover,
.nav-link.active {
    background-color: white;
    color: #2575fc !important; /* couleur cohérente avec le dégradé */
    box-shadow: 0 0 15px rgba(255,255,255,0.6);
    transform: scale(1.1);
}

/* Responsive navbar-toggler */
.navbar-toggler {
    border: 1px solid rgba(255,255,255,0.5);
}

/* Icone toggle */
.navbar-toggler-icon {
    filter: invert(100%);
}
/*ABOUT*/
    #about {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    min-height: 100vh;
    background: linear-gradient(270deg, #001F3F, #441c55, #001F3F);
    background-size: 200% 200%;
    animation: breathingBG 6s ease-in-out infinite;
    background-size: 200% 200%;
    color: white;
    padding: 50px 140px;
    position: relative;
    animation: breathingBG 8s ease-in-out infinite;
}

#about::before {
    content: "";
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    background: rgba(0,0,0,0.3); /* overlay pour contraste */
    z-index: 0;
    border-radius: inherit;
}

#about .heading, 
#about .profile-picture {
    position: relative;
    z-index: 1;
}

/* Animation de respiration du fond */
@keyframes breathingBG {
    0% { 
        filter: brightness(100%) saturate(100%);
        background-position: 0% 50%;
    }
    50% { 
        filter: brightness(130%) saturate(120%);
        background-position: 100% 50%;
    }
    100% { 
        filter: brightness(100%) saturate(100%);
        background-position: 0% 50%;
    }
}
    .profile-picture{
        text-align: center;
        margin: 0px auto 30px;
        height: 385px;
    }
    #about img{
        height: 330px;
        width: 410px;
    }
    #about .heading h1{
         color: #fff;
        margin: 0 auto 20px; /* <-- centre horizontalement */
        display: block;
        background: linear-gradient(135deg, #6a11cb, #2575fc);
        font-family: "Poppins", sans-serif;
        font-size: 3rem;
        text-align: center;
        width: 500px;
        border-radius: 30px;
        padding: 20px 0;
    }
    #about .heading h3 {
        background: linear-gradient(90deg, rgb(247, 78, 163), #4dff7a);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-size: 2.8rem;
        font-weight: 700;
        text-align: center;
        font-family: "Poppins", sans-serif;
        letter-spacing: 1px;
}
    .button-1 {
        font-weight: bold;
        text-transform: uppercase;
        color: #2ce61f; /* texte noir pour qu'il se voie sur fond clair */
        border: 2px solid #00ff22; /* contour noir */
        padding: 18px 50px;
        display: inline-block;
        border-radius: 50px; /* style moderne arrondi */
        text-decoration: none;
        margin-top: 20px;
        font-family: "Poppins", sans-serif;
        font-size: 1rem;
        letter-spacing: 1px;
        transition: all 1s ease-in-out;
        position: relative;
        overflow: hidden;
        background: transparent; /* bouton “vide” de base */
}
    .button-1::before {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: hsl(61, 100%, 62%); /* couleur hover */
        transition: all 0.3s ease-in-out;
        z-index: 0;
}

.button-1:hover::before {
    left: 0;
}

.button-1:hover {
    color: #000; /* texte noir sur hover */
    border-color: #3d7c12;
}

.button-1 span {
    position: relative;
    z-index: 1;
}

    /* SKILLS */
    #skills {
  background: radial-gradient(circle at top left, #1c0f27, #203a43, #2c5364);
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

#skills .heading h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 50px;
  background: linear-gradient(90deg, #00d2ff, #3a7bd5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(58, 123, 213, 0.6);
}

#skills .progress {
  height: 50px;
  margin: 25px 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

#skills .progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #00c6ff, #0072ff, #00c6ff);
  background-size: 300% 300%;
  animation: gradientFlow 4s ease infinite, growBar 1.2s ease-out forwards;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 25px;
  box-shadow: 0 0 15px rgba(0, 114, 255, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#skills .progress-bar:hover {
  transform: scale(1.03);
  box-shadow: 0 0 25px rgba(19, 162, 210, 0.9);
}

#skills .progress-bar h5 {
  margin: 0;
  font-size: 1.1rem;
  color: #fff;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* ANIMATIONS */
@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes growBar {
  0% { width: 0; opacity: 0.3; }
  100% { width: 100%; opacity: 1; }
}

/* Divider line */
.divider {
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, #00d2ff, #3a7bd5);
  margin: 0 auto 40px auto;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(0, 191, 255, 0.6);
}

/* Ajustements responsive */
@media (max-width: 768px) {
  #skills .progress-bar h5 {
    font-size: 0.95rem;
  }
  #skills .heading h2 {
    font-size: 2rem;
  }
}
    /* ========== EXPERIENCE SECTION ========== */

#experience {
    background: linear-gradient(270deg, #001F3F, #0074D9, #001F3F);
    background-size: 200% 200%;
    animation: breathingBG 6s ease-in-out infinite;
    color: #fff;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

#experience .heading h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 60px;
  background: linear-gradient(90deg, #ffffff, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(147, 187, 244, 0.6);
}

.divider.white {
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, #ffffff, #3abed5);
  margin: 0 auto 50px auto;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(0, 191, 255, 0.6);
}

/* TIMELINE */
.timeline {
  position: relative;
  padding: 40px 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.856), rgba(255, 255, 255, 0.5));
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 10px #f9ed00;
}

.timeline > li {
  position: relative;
  margin-bottom: 60px;
}

/* BADGE */
.timeline li .timeline-badge {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #00d2ff, #3a7bd5);
  color: white;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  line-height: 55px;
  text-align: center;
  font-size: 1.4rem;
  box-shadow: 0 0 15px rgba(0, 191, 255, 0.8);
  z-index: 10;
  animation: pulseBadge 3s infinite;
}

/* PANELS */
.timeline-panel-container {
  width: 50%;
  float: left;
  clear: both;
}

.timeline-panel-container-inverted {
  width: 50%;
  float: right;
  clear: both;
}

.timeline-panel {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 25px 30px;
  position: relative;
  box-shadow: 0 0 20px rgba(0, 191, 255, 0.1);
  border: 1px solid rgba(0, 191, 255, 0.2);
  backdrop-filter: blur(10px);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.timeline-panel:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(0, 191, 255, 0.5);
}

/* CONNECTOR TRIANGLE */
.timeline-panel:after {
  content: "";
  position: absolute;
  top: 25px;
  right: -15px;
  border-top: 15px solid transparent;
  border-left: 15px solid rgba(255, 255, 255, 0.08);
  border-bottom: 15px solid transparent;
}

.timeline-panel-container-inverted .timeline-panel:after {
  left: -15px;
  right: auto;
  border-left: 0;
}

/* TEXT STYLES */
.timeline-heading h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #00d2ff;
  text-shadow: 0 0 8px rgba(0, 191, 255, 0.6);
}

.timeline-heading h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  opacity: 0.9;
  margin-bottom: 8px;
}

.timeline-heading p.text-muted {
  font-size: 17px;
  font-weight: bold;
}

.timeline-body p {
  color: #000d13;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 10px;
}
.timeline-body ul li {
  color: #000d13;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

/* ANIMATIONS */
@keyframes pulseBadge {
  0% { box-shadow: 0 0 10px rgba(0, 191, 255, 0.6); }
  50% { box-shadow: 0 0 25px rgba(0, 191, 255, 0.9); }
  100% { box-shadow: 0 0 10px rgba(0, 191, 255, 0.6); }
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .timeline::before {
    left: 30px;
  }
  .timeline-panel-container,
  .timeline-panel-container-inverted {
    width: 100%;
    float: none;
    padding-left: 60px;
    padding-right: 20px;
  }
  .timeline-panel:after,
  .timeline-panel-container-inverted .timeline-panel:after {
    left: 45px;
    right: auto;
    border-right: 15px solid rgba(255, 255, 255, 0.08);
    border-left: 0;
  }
  .timeline li .timeline-badge {
    left: 30px;
    transform: none;
  }
}

    /* EPERIENCE */
    #experience{
        background: linear-gradient(270deg, #001F3F, #4800d9, #001F3F);
        background-size: 200% 200%;
        animation: breathingBG 6s ease-in-out infinite;
    }
    #experience .heading h2{
        color: #fff;
    }
    .timeline{
        padding: 30px 10px;
        position: relative;
    }
    .timeline::before{
        content:" ";
        top: 0;
        bottom: 0;
        position: absolute;
        content: " ";
        width: 5px;
        background-color: #333;
        left: 50%;
        margin-left: -2,5px;
    }
    .timeline > li{
        margin-bottom: 20px;
        position: relative;
    }
    .timeline > li:before,
    .timeline > li:after{
        content: " ";
        display: table;
    }
    .timeline > li::after{
        clear: both;
    }
    .timeline li .timeline-badge{
        color: #0a2b57;
        width: 50px;
        line-height: 50px;
        font-size: 20px;
        text-align: center;
        position: absolute;
        top: 16px;
        left: 50%;
        margin-left: -25px;
        background-color: #fff;
        border-radius: 50%;
        margin-left: 2px;
    }
    .timeline-panel-container{
        width: 50%;
        float: left;
    }
    .timeline-panel-container-inverted{
        width: 50%;
        float: right;
    }
    .timeline-panel{
        width: 90%;
        float: right;
        margin-right: 40px;
        border: 1px solid #fff;
        border-radius: 7px;
        padding: 20px 25px;
        position: relative;
        box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
        background-color: #fff;
    }
    .timeline-panel-container-inverted .timeline-panel{
        float: left;
        margin-left: 40px;
    }
    .timeline-panel:after{
        position: absolute;
        top: 27px;
        right: -14px;
        display: inline-block;
        border-top: 14px solid transparent;
        border-left: 14px solid #fff;
        border-right: 0 solid #fff;
        border-bottom: 14px solid transparent;
        content: " ";
    }
    .timeline-panel-container-inverted .timeline-panel:after{
        border-left-width: 0;
        border-right-width: 14px;
        left: -14px;
        right: auto;
    }
    .timeline-heading h3{
        margin-top: 5px;
        font-size: 20px;
        color: #564ce0;
    }
    .timeline-heading h4{
        margin-top: 5px;
        font-size: 20px;
        color: red;
        font-family: 'Roboto', sans-serif;
    }

    /* EDUCATION */

#education {
    background: radial-gradient(circle at top left, #1c0f27, #203a43, #2c5364);
    padding: 80px 0;
}

#education .heading h2 {
    color: #cbcee5;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
     font-family: 'Roboto', sans-serif;
}

/* Education Block */
.education-block {
    background: #fff;
    width: 90%;
    margin: 0 auto 30px auto;
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    border: 2px solid #c6c6bf;
    box-shadow: 0 0 20px rgba(40,121,227,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
     font-family: 'Roboto', sans-serif;
}

.education-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(40,121,227,0.4);
}

/* Dates */
.education-block h5 {
    color: #2879e3;
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Icon */
.education-block span {
    font-size: 40px;
    color: #FFD700;
    display: block;
    margin: 10px 0;
}

/* School / Degree */
.education-block h3 {
    color: #2879e3;
    font-size: 22px;
    margin: 15px 0 5px 0;
    font-weight: 700;
     font-family: 'Roboto', sans-serif;
}

.education-block h4 {
    color: #555;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
     font-family: 'Roboto', sans-serif;
}

/* Divider */
.divider.education {
    width: 60px;
    height: 4px;
    background-color: #2879e3;
    margin: 10px auto 20px auto;
    border-radius: 2px;
    font-family: 'Roboto', sans-serif;
}

/* Paragraphs */
.education-block p {
    color: #000000;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 8px;
    font-family: 'Roboto', sans-serif;
}

/* Responsive */
@media (max-width: 767px) {
    .education-block {
        width: 95%;
        padding: 25px;
    }
    .education-block span {
        font-size: 35px;
    }
}

    /* PORTFOLIO */

#portfolio {
  position: relative;
  background: linear-gradient(270deg, #001F3F, #4800d9, #001F3F);
    background-size: 200% 200%;
    animation: breathingBG 6s ease-in-out infinite;
  color: white;
  padding: 80px 0;
  overflow: hidden;
}

#portfolio .container {
  position: relative;
  z-index: 1;
}

#portfolio .heading h2 {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: bold;
  margin-bottom: 50px;
}

/* Style des images */
#portfolio img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  transition: all 0.4s ease;
  filter: grayscale(80%) brightness(85%);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
}

/* Effet hover moderne */
#portfolio img:hover {
  filter: grayscale(0%) brightness(100%);
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.4), 0 0 45px rgba(106, 17, 203, 0.3);
}

/* Alignement et espacement */
#portfolio .col-md-4 {
  margin-bottom: 30px;
}

/* Transition fluide des colonnes */
#portfolio .col-md-4 a {
  display: block;
  transition: transform 0.3s ease;
}

#portfolio .col-md-4 a:hover {
  transform: scale(1.02);
}


    /* RECOMENDATIONS */
#recommendations {
  position: relative;
  background: linear-gradient(135deg, #1a1f35, #222a48);
  color: white;
  padding: 80px 0;
  overflow: hidden;
}

/* Animation lumineuse douce en fond */
#recommendations::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(circle at 30% 30%, rgba(40,121,227,0.3), transparent 70%),
              radial-gradient(circle at 80% 80%, rgba(106,17,203,0.25), transparent 70%);
  animation: floatingGlow 12s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes floatingGlow {
  0% { transform: scale(1) translate(0, 0); opacity: 0.6; }
  100% { transform: scale(1.1) translate(-2%, 2%); opacity: 0.9; }
}

#recommendations .container {
  position: relative;
  z-index: 1;
}

#recommendations .heading h2 {
  color: #00c6ff;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: bold;
  margin-bottom: 50px;
}

/* Style des citations */
#myCarousel .carousel-item {
  padding: 60px 20px;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

#myCarousel .carousel-item h3 {
  font-size: 1.5rem;
  font-style: italic;
  color: #f0f0f0;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
  margin-bottom: 25px;
}

#myCarousel .carousel-item h4 {
  color: #00ffff;
  font-size: 1.1rem;
  font-weight: 600;
  opacity: 0.9;
}

/* Boutons du carousel */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
  width: 40px;
  height: 40px;
}

.carousel-indicators [data-bs-target] {
  background-color: #00c6ff;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.carousel-indicators .active {
  opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
  #myCarousel .carousel-item h3 {
    font-size: 1.2rem;
  }
  #myCarousel .carousel-item h4 {
    font-size: 1rem;
  }
}

    
    /* CONTACT */
    #contact {
    background: linear-gradient(270deg, #215992, #905ff3, #001F3F);
    background-size: 200% 200%;
    padding: 80px 0;
}

    .divider-2{
        width: 100px;
        height: 2px;
        background: #ffa500;
        margin: 0 auto;
    }
    .heading{
        text-align: center;
        margin-bottom: 40px;
    }
    h2{
        text-transform: uppercase;
        font-weight: bold;
        color: #fff;
        margin-top: 10px;
    }
   #contact-form {
    font-size: 18px;
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-top: 5px solid #ffa500;
}
@media (max-width: 768px) {
    #contact-form {
        padding: 25px;
    }
}

    .blue{
        color: #0069d6;
    }
    .form-control {
    height: 50px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: #ffa500;
    box-shadow: 0 0 5px rgba(255, 165, 0, 0.5);
    outline: none;
}

    .comments{
        font-style: italic;
        font-size: 18px;
        color: #d82c2e;
        height: 25px;
    }
    #contact-form input[type=submit]{
        margin: 40px auto 0;
        display: block;
    }
    .button-2 {
    border: none;
    background: linear-gradient(135deg, #ffa500, #ff8c00);
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    padding: 15px;
    border-radius: 8px;
    width: 100%;
    transition: all 0.3s ease;
}

.button-2:hover {
    background: #333;
    transform: scale(1.03);
}

    .thank-you{
        text-align: center;
        margin-top: 15px;
        font-weight: bold;
        font-size: 22px;
    }
    /* FOOTER */
    footer {
    background: linear-gradient(180deg, #222 0%, #111 100%);
    padding: 30px 0 50px;
    position: relative;
}

footer a {
    text-decoration: none;
}

footer span {
    display: inline-block;
    background-color: #ffa500;
    color: #fff;
    font-size: 25px;
    line-height: 45px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

footer span:hover {
    background-color: #ff1500;
    transform: translateY(-5px);
}

footer h5 {
    color: #ccc;
    font-weight: normal;
    font-size: 16px;
    margin: 0;
}
