/*-----------------------------------*\
  #style.css
\*-----------------------------------*/


/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {

  /** 
   * colors
   */

  --sonic-silver: hsl(0, 0%, 46%);
  --spanish-gray: hsl(0, 0%, 60%);
  --theme-color: hsl(10, 100%, 57%);
  --light-gray: hsl(0, 0%, 80%);
  --gray-x-11: hsl(0, 0%, 73%);
  --dim-gray: hsl(0, 0%, 44%);
  --cultured: hsl(0, 0%, 98%);
  --black_10: hsl(0, 0%, 0%, 0.1);
  --black_20: hsl(0, 0%, 0%, 0.2);
  --black_30: hsl(0, 0%, 0%, 0.3);
  --black_70: hsl(0, 0%, 0%, 0.7);
  --white_10: hsl(0, 0%, 100%, 0.1);
  --white: hsl(0, 0%, 100%);
  --black: hsl(0, 0%, 0%);

  /**
   * typography
   */

  --ff-poppins: 'Poppins', sans-serif;
  --ff-mulish: 'Mulish', sans-serif;

  --fs-35: 3.5rem;
  --fs-30: 3rem;
  --fs-25: 2.5rem;
  --fs-18: 1.8rem;
  --fs-17: 1.7rem;
  --fs-13: 1.3rem;

  --fw-800: 800;
  --fw-700: 700;
  --fw-600: 600;
  --fw-500: 500;
  --fw-400: 400;

  /**
   * spacing
   */

  --section-padding: 80px;

  /**
   * shadow
   */

  --shadow: 0 0 20px hsla(0, 0%, 0%, 0.08);

  /**
   * radius
   */

  --radius-10: 10px;
  --radius-8: 8px;

  /**
   * transition
   */

  --transition: 0.25s ease;
  --cubic-out: cubic-bezier(0.33, 0.85, 0.4, 0.96);

}





/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

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

li { list-style: none; }

a {
  text-decoration: none;
  color: inherit;
}

a,
img,
span,
input,
button,
textarea,
ion-icon { display: block; }

img { height: auto; }

input,
button,
textarea {
  background: none;
  border: none;
  font: inherit;
}

input,
textarea { width: 100%; }

button { cursor: pointer; }

ion-icon { pointer-events: none; }

address { font-style: normal; }

html {
  font-family: var(--ff-mulish);
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--white);
  color: var(--sonic-silver);
  font-size: 1.6rem;
  line-height: 1.75;
  letter-spacing: 0.2px;
}

:focus-visible { outline-offset: 4px; }

::placeholder { color: var(--dim-gray); }

::-webkit-scrollbar {
  width: 12px;
  height: 2px;
}

body::-webkit-scrollbar-track { background-color: var(--white); }

body::-webkit-scrollbar-thumb {
  background-color: var(--spanish-gray);
  border: 3px solid var(--white);
  border-radius: 50px;
}





/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.container { padding-inline: 30px; }

.section { padding-block: var(--section-padding); }

.img-holder {
  aspect-ratio: var(--width) / var(--height);
  background-color: var(--light-gray);
  overflow: hidden;
}

.has-before {
  position: relative;
  z-index: 1;
}

.has-before::before {
  position: absolute;
  content: "";
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-subtitle {
  color: var(--theme-color);
  font-family: var(--ff-poppins);
  font-weight: var(--fw-500);
  margin-block-end: 6px;
}

.h1,
.h2,
.h3 {
  color: var(--black);
  font-family: var(--ff-poppins);
}

.h1 { font-size: var(--fs-30); }

.h1,
.h2 {
  font-weight: var(--fw-800);
  text-transform: uppercase;
}

.h2 {
  font-size: var(--fs-25);
  line-height: 1.2;
}

.h1,
.h3 { line-height: 1.4; }

.h3 { font-size: var(--fs-18); }

.section-title { margin-block-end: 40px; }

:is(.portfolio, .news) .section-title { margin-block-end: 60px; }

.card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-10);
}

.card-content {
  position: absolute;
  top: 10px;
  right: 10px;
  bottom: 10px;
  left: 10px;
  background-color: var(--white);
  border-radius: var(--radius-8);
  padding: 20px 25px;
  display: grid;
  align-content: flex-end;
  opacity: 0;
  transition: var(--transition);
}

.card:is(:hover, :focus-within, :active) .card-content { opacity: 1; }

.card-content > ion-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--black);
  font-size: 40px;
  transform: rotate(-45deg);
}

.card-text { font-family: var(--ff-poppins); }

.has-scrollbar {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-block-end: 30px;
  margin-block-end: -15px;
  scroll-snap-type: inline mandatory;
}

.scrollbar-item {
  min-width: 100%;
  scroll-snap-align: start;
}

.has-scrollbar::-webkit-scrollbar-track { background-color: var(--black_20); }

.has-scrollbar::-webkit-scrollbar-thumb { background-color: var(--black_70); }

.has-scrollbar::-webkit-scrollbar-button { width: calc(25% - 25px); }




/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  padding-block: 15px;
  border-block-end: 1px solid var(--black_10);
  z-index: 4;
}

.header > .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}

.logo {
  color: var(--black);
  font-family: var(--ff-poppins);
  font-size: 3.2rem;
  line-height: 0.9;
  font-weight: var(--fw-700);
}

.nav-toggle-btn .line {
  width: 30px;
  height: 2px;
  background-color: var(--black);
  transition: var(--transition);
}

.nav-toggle-btn .line:not(:last-child) { margin-block-end: 8px; }

.nav-toggle-btn.active .line-1 { transform: translateY(10px) rotate(45deg); }

.nav-toggle-btn.active .line-2 {
  transform: translateX(-100%);
  opacity: 0;
}

.nav-toggle-btn.active .line-3 { transform: translateY(-10px) rotate(-45deg); }

.navbar {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  width: 100%;
  background-color: var(--white);
  padding-inline: 30px;
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: 0.3s var(--cubic-out);
}

.navbar.active {
  max-height: 250px;
  visibility: visible;
  transition-duration: 0.5s;
}

.navbar-list { margin-block: 25px; }

.navbar-link {
  color: var(--black);
  font-family: var(--ff-poppins);
  font-weight: var(--fw-500);
}





/*-----------------------------------*\
  #HERO
\*-----------------------------------*/

/* ======== HERO (Agrandir le bloc global) ======== */
.hero {
  background-color: var(--cultured);
  padding-block-start: calc(var(--section-padding) + 50px); /* ✅ Ajoute plus d’espace au-dessus */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 1100px; /* ✅ Augmente la largeur */
  margin: auto;
}

/* Augmente la taille du conteneur pour pousser les éléments */
.hero-content {
  max-width: 700px; /* ✅ Étend la zone de texte */
  width: 100%;
  padding: 20px;
}

/* Ajuste la taille du bloc de la liste */
.hero-list {
  width: 100%; /* ✅ Corrige la largeur pour éviter qu'elle dépasse */
  max-width: 500px;
  padding-left: 20px; /* ✅ Colle le texte à gauche */
  padding-right: 80px; /* ✅ Éloigne de "Web Development" */
}

/* Ajustement du bloc image */
.hero-banner {
  max-width: 700px; /* ✅ Agrandit l’image */
  max-height: 600px;
  margin-inline: auto;
  border-radius: var(--radius-10);
}

/* Ajuste la taille des liens */
.hero-list .list-link {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 35px; /* ✅ Éloigne l'icône et le texte */
  color: var(--black);
  font-size: 2rem;
  padding-block: 15px;
  cursor: pointer;
  transition: color 0.3s ease-in-out;
  padding-left: 5px; /* ✅ Colle encore plus le texte à gauche */
  margin-left: -10px; /* ✅ Corrige encore l'alignement à gauche */
  margin-right: 150px; /* ✅ Éloigne du titre */
}

/* Effet au survol */
.hero-list .list-link:hover {
  color: var(--theme-color);
}

.hero-list .list-link ion-icon {
  transition: transform 0.3s ease-in-out;
}

/* Rotation de la flèche */
.hero-list .list-link:hover ion-icon {
  transform: rotate(-45deg);
}

/* Expérience */
.exp-list {
  margin-top: 40px; /* ✅ Ajoute plus d’espace sous la liste */
}

.exp-list .list-item {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  font-family: var(--ff-poppins);
  line-height: 1.4;
}

/* Ajustement de la taille du texte pour l’expérience */
.exp-list .strong {
  color: var(--black);
  font-size: 3rem; /* ✅ Texte plus grand */
  font-weight: var(--fw-600);
}

.exp-list .span {
  font-size: 1.5rem; /* ✅ Ajuste la taille du texte */
}

/* ======== MENU DÉROULANT (Minimaliste) ======== */
.dropdown {
  position: relative;
  display: block;
  width: fit-content;
  cursor: pointer;
  margin-bottom: 10px;
}

.dropdown .title {
  font-size: 1.2rem;
  font-weight: normal;
  cursor: pointer;
  padding: 8px 0;
  transition: color 0.3s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: black;
}

/* Contenu du menu caché */
.dropdown-container {
  display: block;
  transition: height 0.3s ease-in-out;
  overflow: hidden;
  height: 0;
}

.dropdown-content p {
  font-size: 1rem !important; /* ✅ Force la taille */
  font-weight: bold;
  margin: 0;
  padding: 30px 0;
  transition: color 0.3s;
  cursor: pointer;
  color: black;
  text-align: center;
  border-bottom: 2px solid rgba(0, 0, 0, 0.2);
}

.dropdown-content p:last-child {
  border-bottom: none;
}

/* Lorsque le menu est actif, il devient visible */
.dropdown.active .dropdown-content {
  opacity: 1;
  visibility: visible;
}

/* Lorsque le menu est actif, il pousse le reste vers le bas */
.dropdown.active .dropdown-container {
  height: 100px; /* Ajuste selon le contenu */
}

/* Style des liens du menu */
.dropdown-content p {
  margin: 5px 0;
  padding: 8px 0;
  transition: color 0.3s;
  cursor: pointer;
  color: black;
  font-size: 1rem;
}

.dropdown-content p:hover {
  color: #FF5733; /* ✅ Orange au survol */
}

/* Effet au survol sur les titres des dropdowns */
.dropdown .title:hover {
  color: #FF5733; /* ✅ Devient orange au survol */
}

/* Effet au survol sur les liens normaux */
.hero-list .list-link:hover {
  color: #FF5733; /* ✅ Orange au survol */
}




/*-----------------------------------*\
  #SKILLS (Alignement & uniformisation)
\*-----------------------------------*/

.skills {
  background-color: var(--black);
  padding: 80px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  min-height: 100vh;
}

.skills .section-title {
  color: var(--white);
  text-align: center;
  margin-bottom: 40px;
}

/* Conteneur des compétences */
.skills-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
  max-width: 1200px;
  margin: auto;
}

/* Catégorie */
.skill-category {
  flex: 1;
  min-width: 550px;
  max-width: 550px;
  text-align: center;
}

.skill-category h3 {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--theme-color);
  text-align: center;
}

/* Bloc skill uniformisé */
.skill {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  width: 550px;
  height: 130px; /* ✅ Même hauteur pour toutes les cases */
  transition: transform 0.3s ease-in-out;
  overflow: hidden;
}

/* Agrandissement au survol */
.skill:hover {
  transform: scale(1.05);
}

/* Logo */
.skill img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.3s ease-in-out;
}

/* Texte (Centré verticalement) */
.skill span {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--white);
  flex-grow: 1;
  text-align: center;
}

/* Barre de progression (Alignement fixe) */
.skill-bar {
  width: 300px; /* ✅ Même largeur pour toutes les jauges */
  height: 12px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0; /* ✅ Empêche la déformation */
}

/* Barre orange */
.skill-fill {
  height: 100%;
  background-color: #FF5733;
  transition: width 0.5s ease-in-out;
}

/* Déplacement du logo */
.skill:hover img {
  transform: translateX(-20px);
}

/* Responsive */
@media (max-width: 900px) {
  .skills-container {
    flex-direction: column;
    align-items: center;
  }

  .skill {
    width: 90%;
    height: 130px;
  }

  .skill img {
    width: 50px;
    height: 50px;
  }

  .skill-bar {
    width: 250px; /* ✅ Ajusté pour mobile */
  }

  .skill:hover img {
    transform: translateX(-10px);
  }
}



/* ======== TIMELINE STYLES ======== */

/* Taille de police globale ajustable */
:root {
  --timeline-title-size: 2rem;  /* ✅ Taille des titres */
  --timeline-date-size: 2rem;   /* ✅ Taille des dates */
  --timeline-address-size: 2rem; /* ✅ Taille des adresses */
}

/* Espacement entre les éléments */
.timeline-item {
  padding-block: 20px;
  font-size: var(--fs-18);
  display: grid;
  gap: 10px;
}

/* Titre en gras et orange */
.timeline-item .item-title {
  color: #FF5733; /* ✅ Orange */
  font-size: var(--timeline-title-size);
  font-weight: bold;
}

/* Date en noir */
.timeline-item .item-period {
  font-weight: normal;
  color: var(--black); /* ✅ Noir */
  font-size: var(--timeline-date-size);
  margin-top: 2px; /* ✅ Assure l'espacement correct */
}

/* Adresse en noir aussi */
.timeline-item .item-address {
  color: var(--black_70);
  font-size: var(--timeline-address-size);
}

/* ======== BANNIÈRE (Image + Texte au survol) ======== */
.timeline-banner {
  width: 100%;
  max-width: 600px;
  height: 120px;
  border-radius: 8px;
  margin-top: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

/* Affichage de l’image */
.timeline-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.3s ease-in-out;
}

/* Effet de zoom sur l’image au survol */
.timeline-banner:hover img {
  transform: scale(1.05);
}

/* Ajout d'un overlay blanc semi-transparent */
.timeline-banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0);
  transition: background 0.3s ease-in-out;
}

/* Effet au survol : un voile blanc apparaît */
.timeline-banner:hover::after {
  background: rgba(255, 255, 255, 0.5);
}

/* Texte caché qui apparaît au survol */
.timeline-banner span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  font-weight: bold;
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

/* Le texte apparaît au survol */
.timeline-banner:hover span {
  opacity: 1;
}

/* Responsive */
@media (max-width: 900px) {
  .timeline-item {
      text-align: center;
  }

  .timeline-banner {
      max-width: 100%;
  }
}




/*-----------------------------------*\
  #PRICING (Animation & agrandissement)
\*-----------------------------------*/

.pricing {
  background-color: var(--cultured);
  padding: 80px 0;
}

.pricing .section-text {
  margin-block-end: 60px;
  text-align: center;
}

/* Grille des cartes */
.pricing-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  justify-content: center;
  max-width: 1200px;
  margin: auto;
}

/* Carte */
.pricing-card {
  --color: var(--black);
  --icon-color: var(--theme-color);

  background-color: var(--white);
  border-radius: var(--radius-10);
  box-shadow: var(--shadow);
  line-height: 1.2;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
}

/* Effet hover : agrandissement */
.pricing-card:hover {
  transform: scale(1.1); /* ✅ Agrandit la carte */
  background-color: var(--theme-color);
  --color: var(--white);
  --icon-color: var(--white);
}

/* Icônes */
.pricing-card ion-icon {
  color: var(--icon-color);
  font-size: 40px;
  transition: var(--transition);
}

/* Titre */
.pricing-card .card-title {
  color: var(--color);
  font-size: 1.5rem;
  font-weight: bold;
  font-family: var(--ff-poppins);
  margin-block: 14px 10px;
  transition: var(--transition);
}

/* Texte caché au départ */
.pricing-card .card-description {
  opacity: 0;
  max-height: 0;
  font-size: 1rem;
  color: var(--white);
  transition: opacity 0.3s ease-in-out, max-height 0.3s ease-in-out;
}

/* Affichage progressif du texte au survol */
.pricing-card:hover .card-description {
  opacity: 1;
  max-height: 100px; /* ✅ Ajuste selon le texte */
  margin-top: 10px;
}

/* Responsive */
@media (max-width: 900px) {
  .pricing-list {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    width: 90%;
    margin: auto;
  }
}


/*-----------------------------------*\
  #NEWS
\*-----------------------------------*/

.news-card .card-text { margin-block-end: 5px; }





/*-----------------------------------*\
  #CONTACT
\*-----------------------------------*/

.contact { background-color: var(--cultured); }

.contact-list { margin-block: 40px 50px; }

.contact-item:not(:last-child) { margin-block-end: 22px; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-item ion-icon {
  color: var(--theme-color);
  font-size: 22px;
  flex-shrink: 0;
  --ionicon-stroke-width: 25px;
}

.contact-link {
  color: var(--black);
  font-family: var(--ff-poppins);
}

.input-field {
  color: var(--black);
  font-family: var(--ff-poppins);
  font-size: var(--fs-13);
  letter-spacing: 1.4px;
  border: 1px solid var(--black_10);
  padding: 10px;
  margin-block-end: 30px;
  outline: none;
  transition: border var(--transition);
}

.input-field:focus { border-color: var(--black_30); }

textarea.input-field {
  resize: vertical;
  min-height: 45px;
  height: 45px;
  max-height: 100px;
}

.submit-btn {
  background-color: var(--theme-color);
  color: var(--white);
  width: 100%;
  font-size: var(--fs-17);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  transition: var(--transition);
}

.submit-btn:is(:hover, :focus) { background-color: var(--black); }

.submit-btn ion-icon { transition: var(--transition); }

.submit-btn:is(:hover, :focus) ion-icon { transform: rotate(-45deg); }





/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

.footer {
  background-color: var(--black);
  color: var(--white);
  text-align: center;
  padding-block: 30px;
}

.copyright { margin-block-end: 10px; }

.copyright-link { display: inline-block; }

.copyright-link:is(:hover, :focus) { text-decoration: underline; }

.social-list {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-link { font-size: 17px; }





/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

/**
 * responsive for larger than 576px screen
 */

@media (min-width: 576px) {

  /**
   * REUSED STYLE
   */

  .scrollbar-item { min-width: calc(50% - 20px); }



  /**
   * HERO
   */

  .exp-list {
    display: flex;
    justify-content: flex-start;
    gap: 50px;
  }

  .exp-list .list-item:not(:last-child) { margin-block-end: 0; }



  /**
   * PRICING
   */

  .pricing-card {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
  }

  .pricing-card .card-title {
    margin-block: 0;
    margin-inline-end: auto;
  }

}





/**
 * responsive for larger than 768px screen
 */

@media (min-width: 768px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-30: 3.5rem;
    --fs-25: 3rem;

  }



  /**
   * REUSED STYLE
   */

  .h3 { --fs-18: 2rem; }

  .card-content { padding: 30px 35px; }

  .card-content > ion-icon {
    top: 30px;
    right: 30px;
  }



  /**
   * TIMELINE
   */

  .timeline-item {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }



  /**
   * PRICING, CONTACT
   */

  .pricing-card,
  .contact-link { font-size: var(--fs-18); }



  /**
   * FOOTER
   */

  .footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .copyright { margin-block-end: 0; }

}





/**
 * responsive for larger than 992px screen
 */

@media (min-width: 992px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-35: 4.5rem;

    /**
     * spacing
     */

    --section-padding: 120px;

  }
  


  /**
   * REUSED STYLE
   */

  .container { padding-inline: 50px; }



  /**
   * HEADER
   */

  .header {
    background-color: transparent;
    border-block-end: none;
    padding-block: 25px;
    transition: var(--transition);
  }

  .header.active {
    background-color: var(--white);
    padding-block: 20px;
  }

  .navbar,
  .navbar.active {
    all: unset;
    margin-inline-start: auto;
    transition: var(--transition);
  }

  .navbar { visibility: hidden; }

  .navbar.active { visibility: visible; }

  .navbar-list {
    display: flex;
    gap: 20px;
    margin-block: 0;
  }

  .navbar-link {
    opacity: 0;
    transform: translateX(20px);
    font-weight: var(--fw-400);
    transition: var(--transition);
  }

  .navbar.active .navbar-link {
    opacity: 1;
    transform: translateX(0);
  }

  .navbar-link:is(:hover, :focus) { color: var(--theme-color); }



  /**
   * HERO
   */

  .hero {
    --section-padding: 70px;
    padding-block-start: calc(var(--section-padding) + 60px);
    min-height: 100vh;
    display: grid;
    align-items: center;
  }

  .hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 150px;
  }

  .hero-banner {
    order: 1;
    width: 250px;
    margin-inline: auto 80px;
    margin-block-end: 0;
    overflow: visible;
    transform: rotate(7deg);
  }

  .hero-banner .img-cover { border-radius: inherit; }

  .hero-banner::before {
    bottom: -40px;
    left: -95px;
    width: 90%;
    height: 100%;
    background-color: var(--theme-color);
    z-index: -1;
    transform: rotate(-15deg);
    border-radius: var(--radius-10);
  }

  .exp-list .span { --fs-13: 1.4rem; }

  .slide-down-btn {
    display: block;
    color: var(--black);
    font-size: 40px;
    max-width: max-content;
    margin-block-start: 40px;
    transition: var(--transition);
    animation: scrollDown 2s ease infinite;
  }

  .slide-down-btn:is(:hover, :focus) { color: var(--theme-color); }

  @keyframes scrollDown {
    0% { transform: translateY(0); }
    30% { transform: translateY(20px); }
  }

 /* Style de la liste principale */
/* Style de la liste principale */
.hero-list {
  list-style: none;
  padding: 0;
  width: 250px;
}

.hero-list .dropdown {
  position: relative;
  padding: 10px;
  font-size: 1.3rem;
  font-weight: 500;
  color: black;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
  border-bottom: 1px solid #ddd;
}

/* Flèche */
.arrow {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

/* Sous-menu caché par défaut */
.submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  background: white;
  border: 1px solid #ccc;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
}

/* Lorsque la classe "active" est ajoutée */
.submenu.active {
  max-height: 200px; /* Ajuste selon le contenu */
  opacity: 1;
  padding: 5px 0;
}

/* Style des éléments du sous-menu */
.submenu li {
  padding: 10px;
  font-size: 1rem;
  color: black;
  cursor: pointer;
  transition: background 0.3s;
}

.submenu li:hover {
  background: #ff5722;
  color: white;
}

/* Flèche en rotation */
.dropdown.active .arrow {
  transform: rotate(90deg);
}

  /**
   * SKILLS
   */

  .skills .container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 150px;
  }

  .skills-banner {
    display: block;
    position: absolute;
    top: 0;
    right: 50px;
    width: 410px;
    height: 620px;
    background-image: url('../images/portfolio-2.jpg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 105%;
    background-attachment: fixed;
    overflow: hidden;
  }



  /**
   * TIMELINE
   */

  .timeline-item { padding-block: 30px; }



  /**
   * PRICING
   */

  .pricing .container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: flex-start;
    gap: 200px;
  }

  .pricing-content {
    position: sticky;
    top: 120px;
  }

  .pricing .section-text { margin-block-end: 0; }


  .news-scroll-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin-top: 2rem;
  }
  
  .news-scroll {
    display: flex;
    gap: 20px;
    animation: scroll-left 25s linear infinite;
    width: max-content;
  }
  
  .scrollbar-item {
    flex: 0 0 auto;
    width: 250px;
    border-radius: 10px;
    overflow: hidden;
  }
  
  .news-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
  }
  
  /* Animation défilement */
  @keyframes scroll-left {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }
  
/* Portfolio Styles */
.portfolio {
  padding: 80px 0;
  text-align: center;
  background: transparent;
}

.portfolio-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  perspective: 1000px;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.portfolio-item {
  position: relative;
  width: 300px;
  height: 400px;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transform: rotateY(10deg);
  transition: transform 0.5s ease-out, box-shadow 0.5s ease-out;
  background: #000; /* Fond noir */
}

.portfolio-item:hover {
  transform: rotateY(0deg) scale(1.08);
  box-shadow: 0 20px 40px rgba(255, 100, 0, 0.6);
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease-out;
}

.portfolio-item:hover .portfolio-img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h3 {
  color: #ff6500;
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: neonGlow 1.5s infinite alternate;
}

/* Neon Glow Effect */
@keyframes neonGlow {
  from {
      text-shadow: 0 0 5px #ff6500, 0 0 10px #ff6500;
  }
  to {
      text-shadow: 0 0 10px #ff6500, 0 0 20px #ff6500;
  }
}

/* Animation Fade-In */
@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(50px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.portfolio-grid.active {
  opacity: 1;
  transform: translateY(0);
}





  /**
   * CONTACT
   */

  .contact .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 200px;
  }

  .contact-list { margin-block-end: 0; }

}





/**
 * responsive for larger than 1200px screen
 */

@media (min-width: 1200px) {

  /**
   * REUSED STYLE
   */

  .container {
    max-width: 1170px;
    width: 100%;
    margin-inline: auto;
  }

  .has-scrollbar { gap: 40px; }

  .scrollbar-item { min-width: calc(33.33% - 26.66px); }

  :is(.portfolio, .news) .section-title { margin-block-end: 80px; }



  /**
   * HEADER
   */

  .header .container { max-width: unset; }

  

  /**
   * HERO
   */

  .hero-banner { width: 275px; }

  .footer {
    background-color: var(--black);
    padding: 20px 0;
    text-align: center;
  }
  
  .footer-text {
    color: #aaa;
    font-size: 0.9rem;
    font-family: var(--ff-poppins);
  }
  

}