/* =====================================
 * Amélioration générale de la typographie et du corps
 * ===================================== */
body {
  font-family: "Poppins", sans-serif; /* Utilisation d'une police moderne */
  color: #444444; /* Couleur de texte plus douce */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif; /* Police d'en-tête distinctive */
  font-weight: 700;
  line-height: 1.2;
}

/* =====================================
 * Définition des couleurs et variables
 * ===================================== */
:root {
  --primary-color: #1b2f45; /* Bleu vif pour l'accentuation */
  --secondary-color: #dfaf02; /* Bleu foncé pour le contraste */
  --light-blue: #e9f5ff; /* Un bleu très clair pour les fonds de section */
  --white: #ffffff;
  --gray-light: #f8f9fa; /* Un gris clair pour les arrières-plans */
}

/* =====================================
 * Styles des sections et des composants principaux
 * ===================================== */
.page-title {
  padding: 120px 0;
  position: relative;
  background-size: cover;
  background-position: center;
  text-align: center;
}

.page-title::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(
    0,
    0,
    0,
    0.6
  ); /* Surcouche sombre pour améliorer la lisibilité */
}

.page-title h1 {
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  position: relative;
  margin-bottom: 10px;
  animation: fadeInDown 1s ease-in-out;
}

.breadcrumbs {
  position: relative;
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.8);
  transition: 0.3s;
}

.breadcrumbs a:hover {
  color: var(--white);
  text-decoration: underline;
}

.section {
  padding: 60px 0;
  overflow: hidden;
}

/* =====================================
 * Styles spécifiques à la page de recrutement
 * ===================================== */
.recruitment .section-title {
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  position: relative;
}

.recruitment .section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  margin: 10px auto 0;
}

.bg-light-blue {
  background-color: var(--light-blue);
}

.text-primary {
  color: var(--primary-color) !important;
}

/* =====================================
 * Styles des cartes de service et des icônes
 * ===================================== */
.service-card {
  background-color: var(--white);
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease-in-out;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.service-card .icon-box {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  border-radius: 50%;
  color: var(--white);
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px auto;
  transition: all 0.4s ease-in-out;
}

.service-card:hover .icon-box {
  background: var(--secondary-color);
  transform: rotate(360deg);
}

.service-card h4.card-title {
  color: #222222;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-card p.card-text {
  font-size: 15px;
  color: #777777;
}

/* =====================================
 * Animations pour les effets visuels
 * ===================================== */
@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
