/* Careers Page Specific Styles */

.careers-intro {
    background: #f8f9fa;
    padding: 60px 0 20px 0;
}

.intro-content h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #2c3e50;
    font-size: 2.5rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.benefit-item h3 {
    color: #c0392b;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.benefit-item p {
    color: #666;
    line-height: 1.6;
}

.job-openings {
    padding: 20px 0 20px 0;
}

.job-openings h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #2c3e50;
    font-size: 2.5rem;
}

.job-posting {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 40px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.job-posting:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.job-header {
    background: linear-gradient(135deg, #c0392b, #e74c3c);
    color: white;
    padding: 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.job-header:hover {
    background: linear-gradient(135deg, #a93226, #c0392b);
}

.job-header-content {
    flex: 1;
}

.expand-button {
    margin-left: 20px;
    background: rgba(255,255,255,0.2);
    padding: 10px 20px;
    border-radius: 25px;
    border: 2px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.expand-button:hover {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.5);
}

.button-text {
    font-weight: 600;
    font-size: 0.9rem;
    color: white;
}

.job-header h3 {
    margin: 0 0 15px 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.job-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.job-type, .job-location, .job-salary, .job-schedule {
    background: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.job-salary {
    background: rgba(255,255,255,0.3);
    font-weight: 600;
}

.job-schedule {
    background: rgba(255,255,255,0.25);
    font-weight: 500;
}

.job-content {
    padding: 0 40px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.job-posting.expanded .job-content {
    max-height: 2000px; /* Large enough to accommodate content */
    padding: 40px;
}

.job-section {
    margin-bottom: 30px;
}

.job-section:last-child {
    margin-bottom: 0;
}

.job-section h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3rem;
    border-bottom: 2px solid #c0392b;
    padding-bottom: 8px;
    display: inline-block;
}

.job-section p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
}

.job-section ul {
    color: #666;
    line-height: 1.7;
    padding-left: 20px;
}

.job-section li {
    margin-bottom: 8px;
}

.apply-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: #c0392b;
    color: white;
    border-color: #c0392b;
}

.btn-primary:hover {
    background: #a93226;
    border-color: #a93226;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #c0392b;
    border-color: #c0392b;
}

.btn-secondary:hover {
    background: #c0392b;
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #2c3e50;
    border-color: #2c3e50;
}

.btn-outline:hover {
    background: #2c3e50;
    color: white;
    transform: translateY(-2px);
}

.no-positions {
    text-align: center;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-top: 30px;
}

.no-positions p {
    color: #666;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.application-process {
    background: #f8f9fa;
    padding: 20px 0 80px 0;
}

.application-process h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #2c3e50;
    font-size: 2.5rem;
}

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

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

.step-number {
    width: 60px;
    height: 60px;
    background: #c0392b;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 30px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #ddd;
    z-index: 1;
}

.step h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.step p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .intro-content h2,
    .job-openings h2,
    .application-process h2 {
        font-size: 2rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .job-header {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .job-header-content {
        width: 100%;
    }
    
    .job-header h3 {
        font-size: 1.5rem;
    }
    
    .expand-button {
        margin-left: 0;
        margin-top: 15px;
        align-self: center;
    }
    
    .job-meta {
        gap: 10px;
    }
    
    .job-type, .job-location, .job-posted {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .job-content {
        padding: 20px;
    }
    
    .apply-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .step:not(:last-child)::after {
        display: none;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .careers-intro,
    .job-openings,
    .application-process {
        padding: 40px 0;
    }
    
    .benefit-item,
    .job-content {
        padding: 20px;
    }
    
    .job-header {
        padding: 15px;
    }
    
    .job-header h3 {
        font-size: 1.3rem;
    }
}
