/* Remove all navbar, sidebar, body, and universal box-sizing styles since they're now in common.css */

/* Keep only Career Page specific styles */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f5f5f5;
    font-size: 16px;
}

.rubik-text {
    font-family: 'Rubik', sans-serif;
}

/* Company Intro */
.company-intro {
    max-width: 1100px;
    margin: 2.5rem auto;
    padding: 1.5rem 2rem;
    text-align: center;
    background-color: #f7f3f3;
    border-radius: 8px;
    margin-bottom: 80px;
}

.company-intro h1 {
    font-size: 3rem;
    margin-bottom: 1.2rem;
    color: #19376d;
}

.company-intro p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: #000;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.join-btn {
    background-color: #D2232A;
    color: white;
    border: none;
    padding: 0.85rem 1.75rem;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 4px;
    margin-right: 1.5rem;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.join-btn:hover {
    background-color: #b93b3f;
}

.company-intro a.join-btn {
    margin-right: 0;
    margin-left: 1.5rem;
    background-color: transparent;
    color: #D2232A;
    border: 1px solid #D2232A;
}

.company-intro a.join-btn:hover {
    background-color: #fff4e6;
    color: #D2232A;
}

.culture-section {
    display: flex;
    gap: 3rem;
    max-width: 1100px;
    margin: 4.5rem auto;
    padding: 0 1.5rem;
    background-color: #f7f3f3;
}

.left-col {
    flex: 1;
}

.left-col h3 {
    font-size: 2.5rem;
    color: #19376d;
    margin-bottom: 1.2rem;
    line-height: 1.3;
}

.left-col p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.7;
}

.right-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
}

.item-row {
    display: flex;
    gap: 2.5rem;
}

.item {
    flex: 1;
}

.item h4 {
    margin-bottom: 0.5rem;
    font-size: 20px;
    font-weight: bold;
    color: #D2232A;
}

.item p {
    font-size: 13px;
    color: #001833;
    line-height: 1.5;
}

.icon-box {
    width: 55px;
    height: 55px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.icon-box img {
    width: 40px;
    height: 40px;
}

.icon-box.team {
    background-color: #e9f1ff;
}

.icon-box.future {
    background-color: #eef9ec;
}

.icon-box.learn {
    background-color: #f1f5f9;
}

.icon-box.levelup {
    background-color: #fdecec;
}

/* Current Openings */
.career-wrapper {
    padding: 3rem;
    background-color: white;
}

.career-heading {
    text-align: center;
    margin-bottom: 3.5rem;
}

.career-heading h2 {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    font-weight: bold;
}

.career-heading p {
    color: #555;
    max-width: 700px;
    margin: 0 auto;
    font-size: 1rem;
}

.career-section {
    display: flex;
    gap: 3rem;
    padding: 2.5rem 3.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.departments {
    width: 30%;
    display: flex;
    justify-content: right;
    padding-left: 1.5rem;
}

.departmentList {
    list-style: none;
    padding: 0;
}

.departmentList li {
    margin-bottom: 1.2rem;
    cursor: pointer;
    font-size: 1.05rem;
}

.departmentList li.active {
    font-weight: bold;
    color: #D2232A;
}

.job-listings {
    width: 70%;
}

.job-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    padding: 1.8rem;
    border-radius: 12px;
    margin-bottom: 1.8rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.job-card:hover {
    background-color: #f0f6ff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.job-role {
    flex: 2;
    min-width: 200px;
}

.job-role h3 {
    margin: 0;
    font-size: 19px;
    font-weight: bold;
    color: #001833;
    white-space: normal;
    word-wrap: break-word;
}

.job-meta-group {
    flex: 1.5;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
}

.meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.meta-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: #DE9C9C;
}

.meta-item strong {
    font-size: 1.05rem;
    margin-top: 0.25rem;
    color: #333;
}

.apply-btn {
    flex-shrink: 0;
    margin-left: 2.5rem;
    color: #D2232A;
    padding: 0.6rem 1.4rem;
    border-radius: 25px;
    font-weight: 500;
    font-size: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 1px solid transparent;
}

.job-card:hover .apply-btn {
    background-color: #D2232A;
    color: #fff;
}

.no-jobs-message {
    text-align: center;
    padding: 2.5rem;
    background: #f8f8f8;
    border-radius: 12px;
    margin-top: 1.5rem;
    border: 1px solid #ddd;
}

.no-jobs-message h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 0.6rem;
}

.no-jobs-message p {
    font-size: 1.05rem;
    color: #666;
}

.no-jobs-message {
    text-align: center;
    padding: 40px 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-top: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.no-jobs-message p {
    font-size: 1.1em;
    color: #001833;
    line-height: 1.6;
    margin-bottom: 10px;
}

.no-jobs-message a {
    color: #D2232A;
    text-decoration: none;
    font-weight: bold;
}

.no-jobs-message a:hover {
    text-decoration: underline;
}

/* Responsive styles */
@media (max-width: 992px) {
    .career-section {
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 2.5rem;
    }

    .departments {
        width: 100%;
        justify-content: center;
        padding-left: 0;
        margin-bottom: 2rem;
    }

    .departmentList {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.2rem;
    }

    .departmentList li {
        margin-bottom: 0;
        padding: 0.6rem 1.2rem;
        border: 1px solid #eee;
        border-radius: 20px;
        font-size: 0.95rem;
    }

    .departmentList li.active {
        background-color: #D2232A;
        color: #fff;
        border-color: #D2232A;
    }

    .job-listings {
        width: 100%;
    }

    .job-card {
        padding: 1.5rem;
    }

    .job-role h3 {
        font-size: 18px;
    }

    .job-meta-group {
        gap: 1.5rem;
    }

    .meta-item span, .meta-item strong {
        font-size: 0.9rem;
    }

    .apply-btn {
        padding: 0.5rem 1.25rem;
        font-size: 0.95rem;
    }

    .culture-section {
        flex-direction: column;
        gap: 2.5rem;
        margin: 3rem auto;
        padding: 0 2rem;
    }

    .left-col h3 {
        font-size: 2.1rem;
        text-align: center;
    }

    .left-col p {
        font-size: 1.05rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .career-wrapper {
        padding: 1.5rem;
    }

    .career-heading {
        margin-bottom: 2.5rem;
    }

    .career-heading h2 {
        font-size: 2rem;
    }

    .career-heading p {
        font-size: 0.9rem;
    }

    .departmentList {
        gap: 0.8rem;
    }

    .departmentList li {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .job-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
    }

    .job-role {
        min-width: unset;
        width: 100%;
        margin-bottom: 1rem;
    }

    .job-role h3 {
        font-size: 17px;
    }

    .job-meta-group {
        width: 100%;
        justify-content: space-between;
        margin-top: 0;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .meta-item {
        align-items: flex-start;
        text-align: left;
        flex: 1 1 45%;
    }

    .meta-item:nth-child(odd) {
        margin-right: 0.5rem;
    }

    .apply-btn {
        width: 100%;
        margin-left: 0;
        margin-top: 1.5rem;
        text-align: center;
        padding: 0.7rem 1rem;
        font-size: 0.95rem;
    }

    .culture-section {
        padding: 0 1rem;
    }

    .item-row {
        flex-direction: column;
        gap: 2rem;
    }

    .item {
        text-align: center;
    }

    .icon-box {
        margin: 0 auto 1rem auto;
    }

    .company-intro h1 {
        font-size: 2.2rem;
    }

    .company-intro p {
        font-size: 0.95rem;
    }

    .company-intro .join-btn {
        display: inline-block;
        width: auto;
        padding: 0.6rem 1.2rem;
        font-size: 1rem;
        margin: 0 0.5rem;
    }

    .company-intro a.join-btn {
        margin: 0 0.5rem;
    }
}

@media (max-width: 480px) {
    .departmentList {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.6rem;
    }

    .departmentList li {
        width: auto;
        text-align: center;
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }

    .job-card {
        padding: 0.8rem;
    }

    .job-role h3 {
        font-size: 15px;
    }

    .meta-item span, .meta-item strong {
        font-size: 0.8rem;
    }

    .apply-btn {
        font-size: 0.9rem;
        padding: 0.6rem 0.8rem;
    }

    .left-col h3 {
        font-size: 1.8rem;
    }

    .left-col p {
        font-size: 0.95rem;
    }

    .item h4 {
        font-size: 18px;
    }

    .item p {
        font-size: 12px;
    }

    .company-intro h1 {
        font-size: 1.9rem;
    }
}