.job-card {
  background: #357361C4;
  color: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-family: 'Source Sans Pro', sans-serif;
  
  margin: 0 auto;
  width: 460px; /* ou la taille que tu veux */
}

.job-card h4 {
  font-size: 1.4rem;
  color: white;
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.job-card p {
  font-size: 0.95rem;
  flex-grow: 1;
  margin-bottom: 1.3rem;
  color:#ececec
}

.btn-apply {
  align-self: start;
  background-color: white;
  color: #2f4f4f;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-apply:hover {
  background-color: #a4d0b0;
  color: #1d2e2e;
}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}


.offre-row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  width: 100%;
}

.offre-col {
  flex: 1 1 48%; /* 2 colonnes */
  background-color: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 20px;
  border: 3px solid #82c2a6;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  box-sizing: border-box;
  color: white;
  min-width: 300px; /* évite de devenir trop étroit sur tablettes */
}

@media (max-width: 768px) {
  .offre-col {
    flex: 1 1 100%; /* 1 colonne pleine largeur */
  }
}



.container-offre  {
  max-width: 100%;
  padding: 1rem;
  box-sizing: border-box;
  overflow-x: auto;
}


.col-lg-6.col-md-8 {
  display: flex;
  justify-content: center; /* centre horizontalement */
  align-items: center; /* centre verticalement */
  width:480px;
}