* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #000000 ;
  color: #fff ;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* Hero Section */
.hero-section {
  display: flex;
  align-items: center;
  padding: 15px 0;
}

.greeting {
  color: #fff !important;
  font-size: 18px;
  margin-bottom: 10px;
}

.hero-title {
  display: flex;
  flex-direction:row;
  font-size: 56px;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: bold;
  color: #c32257 !important;
  text-shadow: 0 0 12px #a73f7a, 0 0 24px #4b0b38;
}

.highlight {
  color: #fff;
  font-size: 26px;
}

.hero-description {
  font-size: 16px;
  color: #b3b3b3 !important;
  line-height: 1.6;
  margin-bottom: 35px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-buttons .btn {
  padding: 14px 32px !important;
  font-size: 16px !important;
  border-radius: 4px !important;
  transition: all 0.3s;
  text-decoration: none !important;
  font-weight: 500;
}

.hero-buttons .btn-primary {
  background-color: #c32257 !important;
  border: 2px solid #c32257 !important;
  color: #fff !important;
}

.hero-buttons .btn-primary:hover {
  background-color: #f4aebd !important;
  border-color: #f4aebd !important;
  color: #000000 !important;
}

.hero-buttons .btn-secondary {
  background-color: transparent !important;
  color: #c32257 !important;
  border: 2px solid #c32257 !important;
}

.hero-buttons .btn-secondary:hover {
  background-color: #f4aebd !important;
  border-color: #f4aebd !important;
  color: #000000 !important;
}

.hero-image {
  max-width: 500px;
  width: 100%;
  border-radius: 8px;
}
.hero-content {
  margin-left: 100px;
}

.btn-cv {
  background: transparent;
  color: white;
  border: solid 1px #c32257;
  padding: 12px 30px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(195, 34, 87, 0.3);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.text-description2 {
  display: flex;
  justify-content: center;
  padding: 10px;
}

.text-description2-content {
  display: flex;
  justify-content: center;
  font-size: 1.2rem;
  color: rgb(206, 200, 200);
  max-width: 600px;
  font-weight: 300;
}

/* Tablet */
@media (max-width: 991px) {
  .hero-title {
    font-size: 42px;
    text-align: center;
    /* margin-left: 0; 
    justify-content: center; 
    width: 100%; */
  }


  .hero-title {
    font-size: 42px;
    text-align: center;
  }

  .hero-section {
    text-align: center;
  }

  .typing-container {
    justify-content: center;
    display: flex;
  }

  .btn-cv {
    display: inline-flex;
    margin: 0 auto;
  }

  /* Astuce : centrer un inline-flex */
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .hero-title {
    font-size: 1.8rem;
    text-align: center;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }
}
.typing-container {
  font-size: 1.5rem;
  font-weight: 500;
  min-height: 2em;
  display: flex;
  align-items:center
}

.text-display {
  display: inline;
}

.cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background: #c32257; 
  margin-left: 4px;
  vertical-align: text-bottom;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}


.about-section {
      padding: 80px 20px;
      max-width: 1200px;
      margin: 0 auto;
    }

    .tagline {
      text-align: center;
      font-size: 1.1rem;
      color: #999;
      margin-bottom: 60px;
      line-height: 1.6;
    }

   
   
/* Section Compétences */
.competences-section {
  color: white;
  padding: 60px 0; /* Réduit de 100px à 60px */
  position: relative;
  overflow: hidden;
}
.competences-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
}
.competences-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 40px; /* Réduit de 60px à 40px */
  background: linear-gradient(135deg, #c32257 0%, #ff6b9d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.competences-subtitle {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin-top: 40px; /* Espace entre les catégories */
  margin-bottom: 25px; /* Réduit l'espace avant la grille */
}

.competences-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); /* Réduit de 150px à 120px */
  gap: 25px; /* Réduit de 40px à 25px */
  max-width: 1000px; /* Réduit de 1200px à 1000px */
  margin: 0 auto;
  padding: 15px; /* Réduit de 20px à 15px */
}

.competence-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px; /* Réduit de 15px à 12px */
  padding: 20px 15px; /* Réduit le padding */
  background: rgba(224, 46, 46, 0.03);
  border-radius: 12px; /* Réduit de 15px à 12px */
  border: 1px solid white;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.competence-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  transition: left 0.5s ease;
}

.competence-item:hover::before {
  left: 100%;
}

.competence-item:hover {
  transform: translateY(-8px); /* Réduit de -10px à -8px */
  background: rgba(195, 34, 87, 0.1);
  border-color: #c32257;
  box-shadow: 0 15px 30px rgba(239, 6, 76, 0.3); /* Réduit l'ombre */
}

.competence-icon {
  width: 60px; /* Réduit de 80px à 60px */
  height: 60px; /* Réduit de 80px à 60px */
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(232, 7, 82, 0.1);
  border-radius: 50%;
  padding: 12px; /* Réduit de 15px à 12px */
  transition: all 0.3s ease;
  box-shadow: 0 15px 30px rgba(239, 6, 76, 0.3); /* Réduit l'ombre */
}

.competence-item:hover .competence-icon {
  transform: scale(1.1) rotate(5deg);
  border: 1px solid #c32257;
  background: #c32257;
}

.competence-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

.competence-item:hover .competence-icon img {
  filter: brightness(1) invert(0);
}

.competence-name {
  font-size: 0.9rem; /* Réduit de 1rem à 0.9rem */
  font-weight: 600;
  color: #ccc;
  text-align: center;
  transition: color 0.3s ease;
}

.competence-item:hover .competence-name {
  color: #c32257;
}
/* Animation d'apparition */
.competence-item {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.competence-item:nth-child(1) { animation-delay: 0.1s; }
.competence-item:nth-child(2) { animation-delay: 0.2s; }
.competence-item:nth-child(3) { animation-delay: 0.3s; }
.competence-item:nth-child(4) { animation-delay: 0.4s; }
.competence-item:nth-child(5) { animation-delay: 0.5s; }
.competence-item:nth-child(6) { animation-delay: 0.6s; }
.competence-item:nth-child(7) { animation-delay: 0.7s; }
.competence-item:nth-child(8) { animation-delay: 0.8s; }
.competence-item:nth-child(9) { animation-delay: 0.9s; }
.competence-item:nth-child(10) { animation-delay: 1s; }
.competence-item:nth-child(11) { animation-delay: 1.1s; }
.competence-item:nth-child(12) { animation-delay: 1.2s; }
.competence-item:nth-child(13) { animation-delay: 1.3s; }
.competence-item:nth-child(14) { animation-delay: 1.4s; }
.competence-item:nth-child(15) { animation-delay: 1.5s; }
.competence-item:nth-child(16) { animation-delay: 1.6s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .competences-title {
    font-size: 2rem;
    margin-bottom: 40px;
  }
  
  .competences-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
  }
  
  .competence-icon {
    width: 60px;
    height: 60px;
  }
  
  .competence-name {
    font-size: 0.9rem;
  }
}

/* Section Formation */

.formations-section {
  background: #000;
  color: #fff;
  padding: 80px 0;
}
.formations-title {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #c32257 0%, #ff6b9d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.formations-subtitle {
  text-align: center;
  font-size: 1rem;
  color: #888;
  margin-bottom: 70px;
}
.formation-timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}
.formation-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: rgba(195, 34, 87, 0.3);
  top: 0;
}
.formation-item {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  position: relative;
}
.formation-item:nth-child(odd) {
  flex-direction: row;
}
.formation-item:nth-child(even) {
  flex-direction: row-reverse;
}
.formation-card {
  width: 44%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(195, 34, 87, 0.25);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: border-color 0.3s, background 0.3s;
}
.formation-card:hover {
  border-color: #c32257;
  background: rgba(195, 34, 87, 0.08);
}
.formation-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid rgba(195, 34, 87, 0.4);
  background: rgba(195, 34, 87, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: bold;
  color: #c32257;
  overflow: hidden;
}
.formation-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.formation-info { flex: 1; }
.formation-school {
  font-size: 0.85rem;
  font-weight: 700;
  color: #c32257;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.formation-degree {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.formation-desc {
  font-size: 0.88rem;
  color: #aaa;
  line-height: 1.6;
}
.formation-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  background: #c32257;
  border-radius: 50%;
  border: 3px solid #000;
  box-shadow: 0 0 0 3px rgba(195, 34, 87, 0.3);
  z-index: 2;
}
.formation-date {
  width: 44%;
  font-size: 1.1rem;
  font-weight: 700;
  color: #c32257;
  padding: 0 50px; /* augmenté de 30px à 50px */
  z-index: 1;
}
.formation-item:nth-child(odd) .formation-date {
  text-align: left;
  padding-left: 100px; /* pousse la date vers la droite */
}
.formation-item:nth-child(even) .formation-date {
  text-align: right;
  padding-right: 100px; /* pousse la date vers la gauche */
}
@media (max-width: 768px) {
  .formation-timeline::before { left: 20px; }
  .formation-item,
  .formation-item:nth-child(even) {
    flex-direction: column;
    padding-left: 50px;
  }
  .formation-dot { left: 20px; top: 24px; }
  .formation-card { width: 100%; }
  .formation-date {
    width: 100%;
    text-align: left !important;
    padding: 0 0 8px 0;
    font-size: 0.95rem;
  }
  .formations-title { font-size: 2rem; }
}

    /* ===== SECTION PARCOURS/TIMELINE ===== */
.parcours-section {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  color: white;
  padding: 100px 0;
  min-height: 100vh;
}

.parcours-title {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #fff;
}

.parcours-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 80px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Ligne verticale au milieu */
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: rgba(195, 34, 87, 0.2);
  top: 0;
}

/* Ligne progressive qui se remplit */
.timeline::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 0%;
  background: linear-gradient(180deg, #c32257 0%, #a01d47 100%);
  top: 0;
  transition: height 0.3s ease;
}

.timeline-item {
  position: relative;
  margin-bottom: 80px;
  opacity: 0;
  transition: opacity 0.6s ease;
}


.timeline-item.show {
  opacity: 1;
  
}

/* Point sur la ligne avec animation */
.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) scale(0);
  width: 24px;
  height: 24px;
  background: #c32257;
  border: 4px solid #1a1a1a;
  border-radius: 50%;
  z-index: 2;
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.3s,
              opacity 0.3s ease 0.3s,
              box-shadow 0.3s ease;
}

.timeline-item.show .timeline-dot {
  transform: translateX(-50%) scale(1);
  opacity: 1;
  box-shadow: 0 0 0 4px rgba(195, 34, 87, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 4px rgba(195, 34, 87, 0.3);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(195, 34, 87, 0.1);
  }
}

.timeline-item:hover .timeline-dot {
  transform: translateX(-50%) scale(1.3);
  box-shadow: 0 0 0 8px rgba(195, 34, 87, 0.4);
}

/* Contenu avec effet de slide */
.timeline-content {
  position: relative;
  width: 45%;
  padding: 25px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(195, 34, 87, 0.2);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateX(0);
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.7s ease,
              background 0.4s ease,
              border-color 0.4s ease,
              box-shadow 0.4s ease;
}

/* Items à gauche (impairs) */
.timeline-item:nth-child(odd) .timeline-content {
  margin-left: 0;
  margin-right: auto;
  text-align: right;
  transform-origin: right center;
}

/* Items à droite (pairs) */
.timeline-item:nth-child(even) .timeline-content {
  margin-left: auto;
  margin-right: 0;
  text-align: left;
  transform-origin: left center;
}

/* Animation différente selon le côté */
.timeline-item:nth-child(odd):not(.show) .timeline-content {
  transform: translateX(-60px);
  opacity: 0;
}

.timeline-item:nth-child(even):not(.show) .timeline-content {
  transform: translateX(60px);
  opacity: 0;
}

.timeline-item.show .timeline-content {
  transform: translateX(0) !important;
  opacity: 1;
}

.timeline-content:hover {
  background: rgba(195, 34, 87, 0.1);
  border-color: #c32257;
  transform: translateY(-5px) !important;
  box-shadow: 0 10px 30px rgba(195, 34, 87, 0.2);
}

.timeline-date {
  font-size: 0.9rem;
  color: #c32257;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.4s ease 0.2s;
}

.timeline-item.show .timeline-date {
  opacity: 1;
  transform: translateY(0);
}

.timeline-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.4s ease 0.3s;
}

.timeline-item.show .timeline-title {
  opacity: 1;
  transform: translateY(0);
}

.timeline-company {
  font-size: 1rem;
  color: #aaa;
  margin-bottom: 15px;
  font-style: italic;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.4s ease 0.4s;
}

.timeline-item.show .timeline-company {
  opacity: 1;
  transform: translateY(0);
}

.timeline-description {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.4s ease 0.5s;
}

.timeline-item.show .timeline-description {
  opacity: 1;
  transform: translateY(0);
}

/* Ligne de connexion entre point et contenu */
.timeline-content::before {
  content: '';
  position: absolute;
  top: 30px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #c32257, rgba(195, 34, 87, 0));
  transition: width 0.6s ease 0.4s;
}

.timeline-item:nth-child(odd) .timeline-content::before {
  right: -55px;
  transform-origin: left;
  background: linear-gradient(90deg, rgba(195, 34, 87, 0), #c32257);
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: -55px;
  transform-origin: right;
}

.timeline-item.show .timeline-content::before {
  width: 50px;
}

/* Responsive */
@media (max-width: 768px) {
  .timeline::before,
  .timeline::after {
    left: 30px;
  }
  
  .timeline-dot {
    left: 30px;
  }
  
  .timeline-content {
    width: calc(100% - 80px);
    margin-left: 60px !important;
    text-align: left !important;
  }
  
  .timeline-content::before {
    left: -45px !important;
    width: 40px !important;
    background: linear-gradient(90deg, rgba(195, 34, 87, 0), #c32257) !important;
  }
  
  .timeline-item:nth-child(odd):not(.show) .timeline-content,
  .timeline-item:nth-child(even):not(.show) .timeline-content {
    transform: translateX(50px);
  }
  
  .parcours-title {
    font-size: 2rem;
  }
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Bouton CV stylé */
.btn-cv {
  background: transparent;
  color: white;
  border: solid 1px #c32257;
  padding: 12px 30px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(195, 34, 87, 0.3);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-cv:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(195, 34, 87, 0.5);
}

.btn-cv span {
  font-size: 1.2rem;
}

/* Modal CV */
.cv-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  animation: fadeIn 0.3s ease;
  overflow-y: auto;
}

.cv-modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.cv-modal-content {
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  border-radius: 15px;
  width: 100%;
  max-width: 900px;
  overflow: hidden;
  box-shadow: 0 10px 50px rgba(195, 34, 87, 0.3);
  animation: slideDown 0.4s ease;
  border: 2px solid rgba(195, 34, 87, 0.3);
}

@keyframes slideDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cv-modal-header {
  padding: 20px 30px;
  background: rgba(195, 34, 87, 0.1);
  border-bottom: 2px solid rgba(195, 34, 87, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cv-modal-header h3 {
  margin: 0;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
}

.cv-close {
  background: none;
  border: none;
  color: #c32257;
  font-size: 2.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  line-height: 1;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.cv-close:hover {
  background: rgba(195, 34, 87, 0.2);
  transform: rotate(90deg);
}

.cv-modal-body {
  padding: 20px;
  max-height: 70vh;
  overflow-y: auto;
}

.cv-preview {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
}

.cv-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.cv-image:hover {
  transform: scale(1.02);
}

.cv-modal-footer {
  padding: 20px 30px;
  background: rgba(195, 34, 87, 0.05);
  border-top: 2px solid rgba(195, 34, 87, 0.3);
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-download {
  background: linear-gradient(135deg, #c32257 0%, #a01d47 100%);
  color: white;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(195, 34, 87, 0.3);
  font-size: 0.95rem;
}

.btn-download:hover{
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(195, 34, 87, 0.5);
  color: white;
}

.btn-close-modal {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(195, 34, 87, 0.3);
  padding: 12px 25px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.btn-close-modal:hover {
  background: rgba(195, 34, 87, 0.2);
  border-color: #c32257;
}

/* Responsive */
@media (max-width: 768px) {
  .cv-modal-content {
    width: 95%;
  }
  
  .cv-modal-body {
    padding: 10px;
    max-height: 60vh;
  }
  
  .cv-modal-footer {
    flex-direction: column;
    padding: 15px;
  }
  
  .btn-download,
  .btn-close-modal {
    width: 100%;
    justify-content: center;
  }
  
  .cv-modal-header h3 {
    font-size: 1.2rem;
  }
}

/* Custom scrollbar pour le modal */
.cv-modal-body::-webkit-scrollbar {
  width: 8px;
}

.cv-modal-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.cv-modal-body::-webkit-scrollbar-thumb {
  background: #c32257;
  border-radius: 10px;
}

.cv-modal-body::-webkit-scrollbar-thumb:hover {
  background: #a01d47;
}


.contact-section {
  /* min-height: 100vh; */
  background: radial-gradient(circle at top right, #1a1a1a, #000);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  text-align: center;
  padding: 10px 5px;
}

.contact-section h1 {
  font-size: 3rem;
  font-weight: 600;
}

.btn-book {
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid #444;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-book:hover {
  background: #fff;
  color: #000;
}

.contact-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 14px 22px;
  border-radius: 12px;
  color: #c32257;
  text-decoration: none;
  font-size: 1rem;
}


/* Icônes sociales */
.social-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.social-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  border: 2px solid rgba(195, 34, 87, 0.3);
  color: #ccc;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.social-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #c32257 0%, #a01d47 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.social-icon svg {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-5px);
  border-color: #c32257;
  box-shadow: 0 8px 25px rgba(195, 34, 87, 0.4);
}

.social-icon:hover::before {
  opacity: 1;
}

.social-icon:hover svg {
  color: white;
  transform: scale(1.1) rotate(5deg);
}

/* Animation au hover spécifique */
.social-icon.linkedin:hover {
  animation: bounce 0.6s ease;
}

.social-icon.github:hover {
  animation: rotate 0.6s ease;
}

@keyframes bounce {
  0%, 100% { transform: translateY(-5px); }
  50% { transform: translateY(-10px); }
}

@keyframes rotate {
  0% { transform: translateY(-5px) rotate(0deg); }
  50% { transform: translateY(-5px) rotate(180deg); }
  100% { transform: translateY(-5px) rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
  .social-icon {
    width: 45px;
    height: 45px;
  }
  
  .social-links {
    gap: 15px;
  }
}

