/* Styles spécifiques pour le bloc expertise */
.expertise-section {
  background-color: #f9f9f9;
  font-family: Arial, sans-serif;
  text-align: center;
}

.expertise-section .expertise-title span {
  display: block;
  color: #172127;
  margin-bottom: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 56px;
}

.expertise-title.image {
  margin-bottom: 40px;
}

.expertise-title.image img {
  max-height: 100px;
}

.expertise-section .description {
  text-align: justify;
  font-family: Arial, sans-serif;
  font-size: 18px;
  line-height: 28px;
  color: #525A5F;
  text-align: center;
  margin-bottom: 40px;
}

.expertise-section .description.expertise-description {
  text-align: left;
}

.expertise-card {
  background-color: #E6F2FA;
  height: 100%;
  border-radius: 12px;
  padding: 40px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.expertise-card:hover {
  transform: translateY(-5px);
}

.expertise-icon {
  width: 130px;
  height: 135px;
  margin: 0 auto 40px auto;
  object-fit: contain;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Styles pour les icônes Font Awesome */
.expertise-icon.icon-fa {
  margin-bottom: 20px !important; /* Réduire la marge pour les icônes FA */
}

.expertise-icon.icon-fa i,
.expertise-icon.icon-fa .fa,
.expertise-icon.icon-fa .fas,
.expertise-icon.icon-fa .far,
.expertise-icon.icon-fa .fab {
  font-size: 80px !important; /* Réduire la taille de l'icône */
  color: var(--page-color, #004D82) !important;
  width: auto !important;
  height: auto !important;
}

.expertise-card h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 40px;
  color: #172127;
  margin-bottom: 8px;
}

.expertise-card .sub-title {
  color: #172127;
  margin-bottom: 10px;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 32px;
}

.expertise-card .description {
  color: #525A5F;
  margin-bottom: 15px;
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 24px;
  flex-grow: 1;
}

.expertise-card a {
  color: #004D82;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  margin-top: auto;
}

.expertise-card a::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 24px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23004D82"><path d="M16.01 11H4v2h12.01v3L20 12l-3.99-4z"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
}

.expertise-card a:hover {
  color: #003366;
}

.expertise-card a:hover::after {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23003366"><path d="M16.01 11H4v2h12.01v3L20 12l-3.99-4z"/></svg>');
}
