@font-face {
  font-family: "icomoon";
  src: url("../fonts/icomoon.eot");
  src: url("../fonts/icomoon.eot#iefix")
      format("embedded-opentype"),
    url("../fonts/icomoon.ttf") format("truetype"),
    url("../fonts/icomoon.woff") format("woff"),
    url("../images/icomoon.svg#icomoon") format("svg");
  font-weight: normal;
  font-style: normal;
}
/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
* {
  box-sizing: border-box;
  font-family: "Open Sans", sans-serif;
}
body {
  color: #000;
}

p {
  margin-bottom: 20px;
}

ul {
  margin-top: 10px;
  margin-bottom: 30px;
  padding-left: 20px;
}

a {
  text-decoration: none;
  color: #000000;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
}

/*--------------------------------------------------------------
# Back to top (retour top)
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #000000;
  width: 40px;
  height: 40px;
  border: 2px solid #000000;
  transition: all 0.4s ease-in-out;
  cursor: pointer;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

.back-to-top:hover {
  background-color: #fff;
}

.back-to-top i:hover {
  color: #000000;
}

/*--------------------------------------------------------------
# Preloader (Chargement)
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #fff;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #000000;
  border-top-color: #e7e4fe;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Partie Header
--------------------------------------------------------------*/
#header {
  transition: all 0.5s;
  z-index: 997;
  padding: 20px 0;
}

#header.header-scrolled,
#header.header-inner-pages {
  background: rgba(0, 0, 1, 0.90);
  padding: 12px 0;
}

#header .logo {
  font-size: 30px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
}

#header .logo a {
  color: #fff;
}

#header .logo img {
  max-height: 90px;
}

/*--------------------------------------------------------------
# Menu de navigation
--------------------------------------------------------------*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar > ul > li {
  padding: 10px 0 10px 24px;
}

.navbar a,
.navbar a:focus {
  font-size: 16px;
  font-weight: 600;
  padding: 0 8px;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  transition: color 0.3s ease, border-color 0.3s ease, text-shadow 0.3s ease;
}

/* Contour uniquement quand l'onglet est actif / sélectionné */
.navbar a.active,
.navbar a:focus {
  text-shadow: 0 0 0.3px #ffffff
}

.navbar a i,
.navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar > ul > li > a::before {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: #fff;
  transition: width 0.3s ease;
}

.navbar a:hover::before,
.navbar li:hover > a::before,
.navbar .active::before,
.navbar a:hover,
.navbar a.active,
.navbar a:focus {
  text-shadow: 0 0 0.3px #ffffff;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
  color: #043dc4;
}e88c30

.navbar .getstarted {
  background: transparent;
  border-radius: 6px;
  padding: 8px 20px;
  color: #fff;
  transition: all 0.3s ease;
}

.neon {
  color: #043dc4;
  text-shadow:
    0 0 2px #043dc4,
    0 0 4px #043dc4,
    0 0 6px rgba(255, 255, 255, 0.2);
  font-weight: 600;
}

.navbar .getstarted:focus,
.navbar .getstarted:active {
  outline: none;
  box-shadow: none;
  padding: 8px 20px; /* Force le même padding même au clic */
  border: 2px solid #fff; /* Redéfinit pour éviter l'effet de "recalcul" */
}

.navbar .getstarted:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.navbar .getstarted:before,
.navbar li:hover > .getstarted:before {
  visibility: hidden;
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 24px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
  overflow: hidden;
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  font-size: 14px;
  color: #000000;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover > a {
  color: #e88c30;
}

.navbar .dropdown:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover > ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 991px) {
  .navbar ul {
    display: none;
  }
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover > ul {
    left: -100%;
  }
} 

/* --------------------------------------------
 # Navigation mobile
----------------------------------------------- */
/* Bouton hamburger */
.mobile-nav-toggle {
  display: none;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  line-height: 0;
  transition: transform 0.3s ease;
  z-index: 1002;
  position: relative;
}

.mobile-nav-toggle.bi-x {
  transform: rotate(90deg);
}

/* Mobile uniquement */
@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
    position: absolute;
    right: 20px;
  }

  .navbar ul {
    display: none;
  }

  .navbar.navbar-mobile ul {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 80px 20px 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-radius: 0;
  box-shadow: none;
  z-index: 1000;
  transition: all 0.3s ease;
  overflow-y: auto;
}


  .navbar.navbar-mobile ul li {
    margin-bottom: 10px;
  }

  .navbar.navbar-mobile a {
    display: block;
    padding: 12px;
    font-size: 17px;
    color: #111;
    text-align: left;
    transition: color 0.2s;
    border-radius: 6px;
  }

  .navbar.navbar-mobile a:hover,
  .navbar.navbar-mobile .active,
  .navbar.navbar-mobile li:hover > a {
    background-color: #f0f0f0;
    color: #e88c30;
  }

  .navbar.navbar-mobile .getstarted {
    font-weight: bold;
    background-color: #e88c30;
    color: #fff;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    margin-top: 10px;
  }

  .navbar.navbar-mobile .dropdown ul {
    display: none;
    padding-left: 15px;
    margin-top: 10px;
    background: #f9f9f9;
    border-left: 2px solid #ddd;
  }

  .navbar.navbar-mobile .dropdown-active {
    display: block;
  }
}


/*--------------------------------------------------------------
# Hero section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 100vh;
  background: linear-gradient(
    45deg,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(30, 30, 30, 0.85) 100%
  ),
    url("../images/hero-bg.jpg") center center no-repeat;
  background-size: cover;
  
}

#hero .container,
#hero .container-fluid {
  padding-top: 84px;
}

#hero h1 {
  margin: 0;
  font-size: 52px;
  font-weight: 700;
  line-height: 64px;
  color: #fff;
}

#hero h2 {
  color: rgba(255, 255, 255, 0.8);
  margin: 10px 0 0 0;
  font-size: 20px;
}

#hero .socials {
  font-size: 1.7rem;
  display: flex;
}

#hero .socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  margin: 0 4px;
  text-decoration: none;
  color: #fff;
  border-radius: 30%;
  border: 2px solid #fff;
}

#hero a:hover {
  background-color: #fff;
  transition: 1s ease-in-out;
  color: #000000;
}

#hero .list-unstyled {
  list-style: none;
  margin: 0;
  padding: 0;
}

#hero .btn-get-started {
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 20px;
  border-radius: 8px;
  margin-top: 30px;
  color: white;
  border: 3px double #fff;
  text-decoration: none;
  transition: background-color 0.3s 
  ease;
}

.btn-show-certifications {
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.5px;
  display: inline-block;
  padding: 8px 16px;
  border-radius: 6px;
  margin-top: 20px;
  color: #fff;
  background-color: #000; /* noir par défaut */
  border: 2px solid transparent; /* pas de bordure visible par défaut */
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.btn-show-certifications:hover {
  background-color: #e88c30; /* orange au hover */
  color: white; /* texte noir pour contraste */
  transform: scale(1.02);
  border: 2px solid #000; /* visible uniquement au hover */
  border-color: #000; /* optionnel : bordure noire au hover */
}

.certification-line {
  display: flex;
  align-items: flex-end; /* aligne le badge en bas du h3 */
  gap: 12px; /* espace entre le titre et le badge */
  flex-wrap: wrap;
}

.badge-progress {
  display: inline-block;
  background-color: #e88c30;
  color: #1f2937;
  border-radius: 9999px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.2;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  position: relative;
  top: 2px; /* léger décalage vers le bas */
}

.badge-label {
  display: block;
  margin-bottom: 2px;
}

.progress-bar {
  background-color: #e5e7eb;
  height: 4px;
  width: 100%;
  border-radius: 9999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background-color: #000;
  transition: width 0.3s ease-in-out;
}

#about .btn-decouvrir-parcours {
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 20px;
  border-radius: 8px;
  margin-top: 40px;
  color: black;
  border: 3px double #000;
  text-decoration: none;
  transition: background-color 0.3s 
  ease;
}

#about .btn-decouvrir-parcours:hover {
  background: #000000;
  color: white;
  border-color: #000000;
}

#hero .btn-get-started:hover {
  background: #ffffff;
  color: #000000;
  border-color: #000000;
}

#hero .animated {
  animation: up-down 2s ease-in-out infinite alternate-reverse both;
}

@media (min-width: 1200px) {
  #hero {
    background-attachment: fixed;
  }
}

@media (min-width: 1000px) {
  #hero .socials {
    margin: 0;
  }
}

@media (max-width: 991px) {
  #hero {
    text-align: center;
  }

  #hero .socials {
    margin: 0 auto;
    font-size: 1.4rem;
  }

  #hero .container,
  #hero .container-fluid {
    padding-top: 68px;
  }

  #hero .animated {
    animation: none;
  }

  #hero .hero-img {
    text-align: center;
  }

  #hero .hero-img img {
    width: 50%;
  }
}

@media (max-width: 768px) {
  #hero h1 {
    font-size: 26px;
    line-height: 36px;
  }

  #hero h2 {
    font-size: 18px;
    line-height: 24px;
  }

  #hero .hero-img img {
    width: 60%;
  }
}

@media (max-width: 575px) {
  #hero .hero-img img {
    width: 80%;
  }
}

@media (max-width: 575px), (max-height: 600px) {
  #hero {
    height: auto;
  }
}

@keyframes up-down {
  0% {
    transform: translateY(10px);
  }

  100% {
    transform: translateY(-10px);
  }
}

/*--------------------------------------------------------------
# Section générale
--------------------------------------------------------------*/
section {
  overflow: hidden;
  padding: 100px 0;
}

/*--------------------------------------------------------------
# Section "à propos"
--------------------------------------------------------------*/
.about {
  padding: 130px 0;
  overflow: hidden;
}

.about .content h2 {
  font-weight: bold;
  font-style: normal;
  font-size: 32px;
  color: #000000;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  text-transform: uppercase;
}

.about .content h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: #000000;
  bottom: 0;
  left: 0;
}

.about .content h3 {
  color: #000000;
}

.about .content p {
  font-size: 19px;
  padding-right: 4px;
  text-align: justify;
}

.about .content i {
  font-size: 20px;
  padding-right: 4px;
}

.about .content .read-more {
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 20px 10px 20px;
  margin-bottom: 30px;
  transition: 0.5s;
  color: #fff;
  border: 3px double #000000;
  background: #000000;
  position: relative;
}

.about .content .read-more:hover {
  background: #fff;
  color: #000000;
  border-color: #000000;
}

.about .content .read-more i {
  font-size: 22px;
  position: absolute;
  right: 20px;
  top: 12px;
}

.about-hobbies-section {
  flex-direction: row;
  flex-wrap: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 15px;
}

@media (min-width: 992px) {
  .about-hobbies-section {
    gap: 0;
    font-size: 13px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: space-between;
    white-space: nowrap;
  }
}
@media (min-width: 375px) {
  .about-hobbies-section {
    gap: 16px;
    white-space: nowrap;
    justify-content: center;
    flex-wrap: wrap;
  }
}
@media (min-width: 425px) {
  .about-hobbies-section {
    gap: 18px;
    white-space: nowrap;
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (min-width: 440px) {
  .about-hobbies-section {
    gap: 18px;
    white-space: nowrap;
    justify-content: center;
    flex-wrap: wrap;
  }
}

.text-orange {
  color: #043dc4;
}

/*--------------------------------------------------------------
# Section "Parcours"
--------------------------------------------------------------*/
.resume .section-title h2 {
  font-size: 32px;
  color: #000000;
  font-weight: bold;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  text-transform: uppercase;
}

.resume .section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: #000000;
  bottom: 0;
  left: 0;
}

.resume .section-title span {
  font-style: italic;
  font-size: 1rem;
}

.resume .timeline {
  list-style: none;
  padding: 20px 0 20px;
  position: relative;
}

.resume .timeline:before {
  top: 20px;
  bottom: 0;
  position: absolute;
  content: " ";
  width: 2px;
  background-color: #e6e6e6;
  left: 50%;
  margin-left: 0px;
}

.resume .timeline .timeline-heading > div h3 {
  display: inline-block;
  padding: 7px 15px;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 5px;
  font-weight: bold;
  background: #e6e6e6;
  -webkit-border-radius: 4px;
  border-radius: 4px;
}

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

.resume .timeline > li:before,
.timeline > li:after {
  content: "";
  display: table;
}

.resume .timeline > li:after {
  clear: both;
}

.resume .timeline > li > .timeline-panel {
  width: 45%;
  float: left;
  margin-bottom: 0;
  position: relative;
  -webkit-border-radius: 4px;
  border-radius: 4px;
}

.resume .timeline > li > .timeline-badge {
  color: #fff;
  width: 44px;
  height: 44px;
  line-height: 50px;
  font-size: 1.4em;
  text-align: center;
  position: absolute;
  top: 40px;
  left: 50%;
  margin-left: -21px;
  background-color: #000000;
  z-index: 100;
  display: table;
  -webkit-border-radius: 50%;
  border-radius: 50%;
}

.resume .timeline > li > .timeline-badge i {
  display: table-cell;
  vertical-align: middle;
  height: 44px;
  font-size: 18px;
}

.resume .timeline > li.timeline-unverted {
  text-align: right;
}

.resume .timeline > li.timeline-inverted > .timeline-panel {
  float: right;
}

.resume .timeline > li.timeline-inverted > .timeline-panel:before {
  border-left-width: 0;
  border-right-width: 15px;
  left: -15px;
  right: auto;
}

.resume .timeline > li.timeline-inverted > .timeline-panel:after {
  border-left-width: 0;
  border-right-width: 14px;
  left: -14px;
  right: auto;
}

.resume .timeline-title {
  margin-top: 0;
}

.resume .company {
  display: block;
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: normal;
  color: black;
}

.resume .timeline-body > p,
.timeline-body > ul {
  margin-bottom: 0;
}

.resume .timeline-body > p + p {
  margin-top: 5px;
}

@media screen and (max-width: 480px) {
  .resume .timeline > li > .timeline-panel {
    width: 75% !important;
  }
  .resume .timeline > li > .timeline-panel:before {
    top: 30px;
  }
  .resume .timeline > li > .timeline-panel:after {
    top: 31px;
  }
}

@media screen and (max-width: 480px) {
  .resume .timeline:before {
    margin-left: -64px;
  }
}

@media screen and (max-width: 768px) {
  .resume .timeline:before {
    margin-left: -64px;
  }
}

@media screen and (max-width: 768px) {
  .resume .timeline .timeline-heading {
    margin-bottom: 30px;
  }
}

@media screen and (max-width: 768px) {
  .resume .timeline > li {
    margin-bottom: 4em;
  }
}

@media screen and (max-width: 768px) {
  .resume .timeline > li > .timeline-panel {
    width: 85% !important;
  }
}

@media screen and (max-width: 768px) {
  .resume .timeline > li > .timeline-badge {
    margin-left: -10px !important;
  }
}

@media screen and (max-width: 768px) {
  .resume .timeline .timeline-heading > div h3 {
    float: left;
    margin-bottom: 0;
  }
}

@media screen and (max-width: 768px) {
  .resume .timeline > li.timeline-unverted {
    text-align: left;
  }
}

@media screen and (max-width: 992px) {
  .resume .timeline > li > .timeline-badge {
    margin-left: -10px !important;
  }
}

@media (max-width: 992px) {
  .resume ul.timeline:before {
    left: 90px;
  }

  .resume ul.timeline > li > .timeline-panel {
    width: calc(100% - 200px);
    width: -webkit-calc(100% - 200px);
  }

  .resume ul.timeline > li > .timeline-badge {
    left: 15px;
    margin-left: 0;
    top: 16px;
  }

  .resume ul.timeline > li > .timeline-panel {
    float: right;
  }

  .resume ul.timeline > li > .timeline-panel:before {
    border-left-width: 0;
    border-right-width: 15px;
    left: -15px;
    right: auto;
  }

  .resume ul.timeline > li > .timeline-panel:after {
    border-left-width: 0;
    border-right-width: 14px;
    left: -14px;
    right: auto;
  }
}

/* ------------------------------------------------------------
# Section "Compétences logicielles"
--------------------------------------------------------------- */
.skills-softwar .section-title h2 {
  font-size: 2rem;
  color: #000000;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  text-transform: uppercase;
}

.skills-softwar .section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: #000000;
  bottom: 0;
  left: 0;
}

.skills-softwar .section-title span {
  font-style: italic;
  margin-bottom: 40px;
  display: inline-block;
}

.skills-softwar .container {
  margin-right: auto;
  margin-left: auto;
  padding-left: 15px;
  padding-right: 15px;
}

.skills-softwar .icon {
  width: 50px;
  height: 50px;
  background: #000000;
  border-radius: 50%;
  transition: 0.5s;
  border: 5px solid #000000;
  display: table;
  text-align: center;
  margin: 10px auto;
}
.skills-softwar .icon lord-icon {
  display: table-cell;
  vertical-align: baseline;
}

.skills-softwar .row {
  margin-left: -15px;
  margin-right: -15px;
}

.skills-softwar .feature-left {
  margin-bottom: 30px;
}

.skills-softwar .title {
  font-size: 19px;
  color: #000;
}

.skills-softwar .description {
  font-size: 13px;
  text-align: center;
}

.col-md-4 {
  position: relative;
  min-height: 1px;
  padding-left: 15px;
  padding-right: 15px;
}

@media (min-width: 992px) {
  .col-md-4 {
    width: 33.33333%;
  }
}

@media (min-width: 992px) {
  .col-md-4 {
    float: left;
  }
}
/*--------------------------------------------------------------
# Section "Compétences de langage de programmation"
--------------------------------------------------------------*/
.skills-language {
  padding : 80px 0
}

.skills-language .row {
  margin-left: -15px;
  margin-right: -15px;
}

.skills-language .section-title h2 {
  font-size: 2rem;
  color: #000000;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  text-transform: uppercase;
}

.skills-language .section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: #000000;
  bottom: 0;
  left: 0;
}

.skills-language .section-title span {
  font-style: italic;
  margin-bottom: 40px;
  display: inline-block;
}

.skills-language {
  font-size: 0.875rem;
}

.skills-language .progress-wrap {
  width: 100%;
  float: left;
  margin-bottom: 30px;
}

.skills-language .progress-wrap h3 {
  font-size: 16px;
  display: block;
  margin-bottom: 10px;
  float: left;
  width: 100%;
}

.skills-language .progress-wrap h3 .name-left {
  float: left;
}

.skills-language .progress-wrap h3 .value-right {
  float: right;
}

.skills-language .progress {
  width: 100%;
  float: left;
  height: 5px;
  box-shadow: none;
}

.skills-language .progress-bar {
  background-color: #000000;
  height: 5px;
  display: block;
  box-shadow: none;
}

.skills-language .progress {
  width: 100%;
  float: left;
  height: 5px;
  box-shadow: none;
}
.skills-language .progress-bar {
  background-color: brand-bg-dark;
  height: 5px;
  display: block;
  box-shadow: none;

  &.progress-bar-1 {
    background-color: #043dc4 !important;
  }
  &.progress-bar-2 {
    background-color: #043dc4 !important;
  }
  &.progress-bar-3 {
    background-color: #043dc4 !important;
  }
  &.progress-bar-4 {
    background-color: #043dc4 !important;
  }
  &.progress-bar-5 {
    background-color: #043dc4 !important;
  }
  &.progress-bar-6 {
    background-color: #043dc4 !important;
  }
}

/*--------------------------------------------------------------
# Projets
--------------------------------------------------------------*/
/* === SECTION PROJETS FILTRABLES + ARBORESCENCE === */
.project-filter-section {
  background: #141414;
  padding: 80px 20px;
  scroll-margin-top: 100px;
}

.project-filter-section h2 {
  font-size: 32px;
  color: #fff;
  font-weight: 600;
  margin-bottom: 10px;
  padding-bottom: 10px;
  position: relative;
  text-transform: uppercase;
}

.project-filter-section h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: #fff;
  bottom: 0;
  left: 0;
}

.project-filter-buttons {
  margin-top: 30px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.project-filter-buttons .filter-btn {
  background-color: transparent;
  border: 2px solid #fff;
  color: #fff;
  padding: 8px 18px;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  width: fit-content;
  transition: all 0.3s ease;
}

.project-filter-buttons .filter-btn:hover,
.project-filter-buttons .filter-btn.active {
  background-color: #e88c30;
  border-color: #e88c30;
  color: #000;
}

.category-group {
  margin-left: 15px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.subcategory {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: 20px;
  margin-top: 5px;
}

.project-filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 8px; /* Ajustable à 8px si tu veux encore plus serré */
  justify-items: center; /* Centre les tuiles individuellement */
  align-items: start;
}

.project-filter-card {
  max-width: 320px;
  width: 100%;
  margin: 0; /* Retire le margin ici, c'est géré par le gap */
  background: #1f1f1f;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.project-filter-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.project-filter-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.project-filter-card h4 {
  color: #fff;
  padding: 15px;
  font-size: 1rem;
  text-align: center;
}

.subcategory {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: 20px;
  margin-top: 8px;
  transition: all 0.3s ease;
}

.subcategory.open {
  display: flex;
}

.toggle-sub {
  position: relative;
}

.toggle-sub.open::after {
  content: "▼";
  position: absolute;
  right: -20px;
  color: #e88c30;
}

.toggle-sub::after {
  content: "▸";
  position: absolute;
  right: -20px;
  color: #fff;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .section-title h2 {
  font-size: 32px;
  color: #000000;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  text-transform: uppercase;
}

.contact .section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: #000000;
  bottom: 0;
  left: 0;
}

.contact .section-title span {
  font-style: italic;
}

.contact .info-box {
  color: #000;
  text-align: center;
  box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
  padding: 20px 0 30px 0;
}

.contact .info-box i {
  font-size: 32px;
  color: #000000;
  border-radius: 50%;
  padding: 8px;
}

.contact .info-box h3 {
  font-size: 20px;
  color: #000000;
  font-weight: 700;
  margin: 10px 0;
}

.contact .info-box p {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.contact .php-email-form {
  box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
  padding: 30px;
  background: #fff;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #e3390a;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br + br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 5px;
  box-shadow: none;
  font-size: 14px;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: #000000;
}

.contact .php-email-form input {
  padding: 10px 15px;
}

.contact .php-email-form textarea {
  padding: 12px 15px;
}

.contact .php-email-form button[type="submit"] {
  background: #000000;
  border: 3px double #000000;
  padding: 10px 24px;
  color: #fff;
  transition: 0.4s;
  border-radius: 5px;
}

.contact .php-email-form button[type="submit"]:hover {
  background: #fff;
  color: #000000;
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  color: #fff;
  font-size: 14px;
  background: linear-gradient(
    45deg,
    rgba(10, 10, 10, 0.95) 0%,
    rgba(30, 30, 30, 0.95) 100%
);
}

#footer .footer-top {
  position: relative;
}

#footer .footer-contact {
  margin-bottom: 20px;
  text-align: center;
}

#footer .footer-top .footer-contact h3 {
  font-size: 30px;
  margin: 35px 0 20px 0;
  font-weight: 600;
}

#footer .footer-top .footer-contact p {
  font-size: 15px;
}

#footer .copyright-wrap {
  border-top: 1px solid #000000;
}

#footer .credits {
  padding-top: 5px;
  font-size: 13px;
  color: #fff;
}

#footer .credits a {
  color: #fff;
}

#footer .social-links a {
  font-size: 18px;
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .social-links a:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  text-decoration: none;
}

.cursor {
  display: inline-block;
  background-color: transparent;
  animation: blink 0.7s infinite;
  color: #fff;
  font-weight: bold;
}

@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}

/*--------------------------------------------------------------
# Modifications
--------------------------------------------------------------*/
.profile-photo-wrapper {
  width: 100%;
  max-width: 325px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid #000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.intro {
  font-size: 18px;
  color: #ccc;
  margin-bottom: 10px;
  font-family: "Poppins", sans-serif;
}

.breaking-text {
  font-size: 1rem;
  font-size: 19px;
  line-height: 1.4;
  white-space: pre-wrap;
  min-height: 2.8em; /* Réserve l’espace de 2 lignes */
}


.breaking-text strong {
  color: #ff4c4c;
}

.breaking-banner {
  position: relative;
  margin: 0;
  width: 100%;
  padding: 12px 20px;
  text-align: center;
  font-size: 1rem;
  line-height: 1.6;
  color: #000; /* Texte noir */
  background-color: #fff; /* Fond blanc */
  border: none; /* Supprime la bordure */
  box-shadow: none; /* Supprime l’ombre */
}

.breaking-title {
  font-weight: bold;
  color: #e88c30; /* "IMPORTANT" en orange */
  margin-bottom: 5px;
  font-size: 1.1rem;
  animation: clignote 3s infinite;
}

/* Clignotement doux */
@keyframes clignote {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.breaking-extra {
  opacity: 0;
  margin-top: 12px;
  font-size: 0.95rem;
  color: #e88c30;
  transition: opacity 1.8s ease;
}

@media screen and (max-width: 600px) {
  .breaking-banner {
    font-size: 0.9rem;
  }

  .breaking-text {
    font-size: 0.95rem;
  }
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ==== GESTION DES MODALES ==== */
.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 20px;
}

.modal-content {
  background: #1f1f1f;
  color: #fff;
  max-width: 600px;
  width: 100%;
  padding: 30px;
  border-radius: 12px;
  position: relative;
  overflow-y: auto;
  max-height: 90vh;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.close-modal {
  position: absolute;
  top: 0px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  color: #e88c30;
}

.modal-overlay.active {
  display: flex;
}

.modal-button {
  display: inline-block;
  background-color: #e88c30;
  color: white;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.2s ease;
}

.modal-button:hover {
  background-color: #cc7724;
}

body.modal-open {
  overflow: hidden;
}