/* Additional CSS for Career Page */
.career-content-section {
    padding: 80px 0;
    background-color: #f9fafb;
}

.section-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.section-intro h2::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 4px;
    background: var(--primary-color);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.benefit-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}

.benefit-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

.team-showcase-section {
    margin-bottom: 70px;
}

.team-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    height: 300px;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%);
    display: flex;
    align-items: flex-end;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.overlay-content {
    padding: 25px;
    color: white;
    width: 100%;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.gallery-item:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content h4 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.overlay-content p {
    opacity: 0.9;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .team-gallery {
        grid-template-columns: 1fr;
    }
}

.team-showcase {
    margin: 60px 0;
}

.job-openings-section {
    margin-top: 80px;
}

.job-table-container {
    overflow-x: auto;
    margin: 40px 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
}

.job-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    overflow: hidden;
}

.job-table th,
.job-table td {
    padding: 18px 25px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.job-table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.job-table tbody tr {
    transition: all 0.3s ease;
}

.job-table tbody tr:hover {
    background-color: #f8f9fa;
    transform: scale(1.01);
}

.job-table tbody tr:last-child td {
    border-bottom: none;
}

.apply-btn {
    display: inline-block;
    padding: 8px 18px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.apply-btn:hover {
    background-color: #b91c1c;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.2);
}

@media (max-width: 768px) {
    .job-table th,
    .job-table td {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .apply-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}