/* CAREERS PAGE STYLES */

.careers-hero {
    text-align: center;
    padding: 120px 20px 80px;
    max-width: 900px;
    margin: 0 auto;
}

.careers-hero h1 {
    font-size: 56px;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.careers-hero p {
    font-size: 20px;
    color: #6e6e73;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Culture Grid */
.culture-section {
    padding: 0 20px 100px;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.culture-card {
    background: #fbfbfd;
    padding: 40px;
    border-radius: 24px;
    transition: transform 0.3s ease;
}

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

.culture-icon {
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    color: #0071e3;
}

.culture-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 700;
}

.culture-card p {
    color: #555;
    line-height: 1.6;
}

/* Job Listings */
.jobs-section {
    max-width: 1000px;
    margin: 0 auto 100px;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
}

.job-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.job-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 113, 227, 0.3);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.job-title {
    font-size: 22px;
    font-weight: 700;
    color: #1d1d1f;
}

.job-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tag {
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    background: #f5f5f7;
    color: #555;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag.remote {
    background: #e3f2fd;
    color: #0071e3;
}

.tag.engineering {
    background: #fff8e1;
    color: #f57f17;
}

.tag.design {
    background: #f3e5f5;
    color: #7b1fa2;
}

.job-desc {
    color: #555;
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.job-card.active .job-desc {
    max-height: 500px;
    /* Adjust as needed */
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.expand-icon {
    width: 24px;
    height: 24px;
    color: #999;
    transition: transform 0.3s ease;
}

.job-card.active .expand-icon {
    transform: rotate(180deg);
}

.apply-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    background: #1d1d1f;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s ease;
}

.apply-btn:hover {
    background: #000;
}

@media (max-width: 600px) {
    .careers-hero h1 {
        font-size: 40px;
    }

    .job-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .expand-icon {
        position: absolute;
        top: 30px;
        right: 30px;
    }
}