/* Career Hero Section */
.career-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('{% static "client/images/career-hero.jpg" %}');
    background-size: cover;
    background-position: center;
    color: var(--color);
    padding: 6rem 0;
    text-align: center;
}

.career-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.career-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.career-hero p {
    font-size: var(--medium-size);
    margin-bottom: 2rem;
}
.cta-button {
  background-color: #e0e0e0; /* gris clair */
  color: rgba(80, 75, 75, 0.9); /* blanc légèrement transparent */
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, transform 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cta-button:hover {
  background-color: #ffe082; /* jaune doux */
  color: #333; /* texte devient foncé pour contraste */
  transform: translateY(-2px);
}

.cta-button::before {
  content: "";
  position: absolute;
  left: -75%;
  top: 0;
  width: 150%;
  height: 100%;
  background: rgba(255, 255, 255, 0.15);
  transform: skewX(-45deg);
  transition: left 0.5s ease-in-out;
  z-index: 0;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button span {
  position: relative;
  z-index: 2;
}


/* Why Join Section */
.why-join {
    padding: 4rem 0;
    background-color: var(--bg-color);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-label {
    color: var(--primary-color);
    font-size: var(--medium-size);
    margin-bottom: 0.5rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    text-align: center;
    padding: 2rem;
    border-radius: 8px;
    background-color: rgba(254, 246, 0, 0.05);
    border: 1px solid rgba(254, 246, 0, 0.1);
    transition: transform 0.3s;
}

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

.benefit-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* Positions Section */
.positions {
    padding: 4rem 0;
    background-color: #f9f9f9;
}

.positions-list {
    max-width: 900px;
    margin: 0 auto;
}

.position-card {
    background-color: var(--bg-color);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.position-card h3 {
    color: var(--secondary);
    margin-bottom: 1rem;
}

.position-desc {
    margin: 1.5rem 0;
}

.position-desc ul {
    padding-left: 1.5rem;
    margin-top: 1rem;
}

.apply-button {
    background-color: var(--primary-color);
    color: var(--secondary);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.apply-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Process Section */
.process {
    padding: 4rem 0;
    background-color: var(--secondary);
    color: var(--color);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

/* Testimonials */
.testimonials {
    padding: 4rem 0;
    background-color: var(--bg-color);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-weight: bold;
    color: var(--secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .career-hero h1 {
        font-size: 2rem;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .step:not(:last-child) {
        margin-bottom: 3rem;
    }
}