/* Styles pour les barres de progression */
.language-item {
  margin-bottom: 20px;
}

.language-item .progress {
  background-color: #e9ecef;
  border-radius: 10px;
  overflow: hidden;
  height: 8px;
  margin-bottom: 15px;
  position: relative;
}

.language-item .progress-bar {
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(45deg, #0563bb, #00e1ff);
  position: absolute;
  top: 0;
  left: 0;
  transition: width 1.5s ease-in-out;
}

.language-item .progress-bar.francais {
  width: 100%;
}

.language-item .progress-bar.arabe {
  width: 85%;
}

.language-item .progress-bar.anglais {
  width: 60%;
}

.language-item .d-flex {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}

.language-item .fw-bold {
  font-weight: 600;
}

/* Ajouter ces styles pour la section Centres d'intérêt */
.interest-card {
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
  height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #f8f9fa, #e9ecef);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.interest-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(5, 99, 187, 0.2);
}

.interest-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(45deg, #0563bb, #00e1ff);
  transition: height 0.3s ease;
}

.interest-card:hover::before {
  height: 10px;
}

.interest-icon {
  font-size: 48px;
  margin-bottom: 15px;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.interest-card:hover .interest-icon {
  transform: scale(1.2);
  color: #0678e3;
}

.interest-title {
  font-weight: 600;
  font-size: 18px;
  transition: all 0.3s ease;
}

.interest-card:hover .interest-title {
  color: var(--primary-color);
}

/* Styles pour la section certifications */
.certifications-section {
  margin-top: 50px;
  padding: 30px 0;
  background: linear-gradient(to right, rgba(248, 249, 250, 0.8), rgba(233, 236, 239, 0.8));
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.certification-title {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  font-size: 24px;
  font-weight: 600;
  color: var(--primary-color);
}

.certification-title::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 3px;
  background: var(--gradient-primary);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.certification-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.certification-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(5, 99, 187, 0.15);
}

.certification-img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  padding: 15px;
  background: #f8f9fa;
  transition: all 0.3s ease;
}

.certification-card:hover .certification-img {
  transform: scale(1.05);
}

.certification-body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.certification-name {
  font-weight: 600;
  font-size: 18px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.certification-desc {
  font-size: 14px;
  color: var(--text-color-light);
  margin-bottom: 15px;
}

.certification-date {
  font-size: 12px;
  color: var(--text-color-light);
  background: #f8f9fa;
  padding: 5px 10px;
  border-radius: 20px;
  display: inline-block;
}

/* Amélioration du centrage des cartes d'intérêt */
.interest-card {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
  height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #f8f9fa, #e9ecef);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.section-title + .row {
  justify-content: center;
}

