/* ===== CAREER PAGE STYLES ===== */

/* Job Card Styles */
.job-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.job-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(15, 42, 99, 0.1);
    border-color: #c62828;
}

.job-card.hidden {
    display: none;
}

.job-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.job-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0f2a63, #143b82);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.job-icon i {
    font-size: 20px;
    color: #ffffff;
}

.job-info {
    flex: 1;
    min-width: 0;
}

.job-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0f2a63;
    margin-bottom: 6px;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 10px;
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #6b7280;
}

.job-meta i {
    color: #c62828;
    font-size: 11px;
}

.job-description {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.job-requirements {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.job-requirements span {
    background: #f8fafc;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    color: #0f2a63;
    font-weight: 500;
    border: 1px solid #e2e8f0;
}

.job-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

.job-status {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.job-status.active {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.job-status.coming-soon {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.apply-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: #c62828;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.apply-btn:hover {
    background: #a51616;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(198, 40, 40, 0.3);
    color: #ffffff;
}

/* Filter Section */
.filter-section {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 32px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(15, 42, 99, 0.06);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.filter-label {
    font-size: 16px;
    font-weight: 600;
    color: #0f2a63;
    margin-right: 8px;
}

.filter-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 25px;
    border: 2px solid #e2e8f0;
    background: #ffffff;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #c62828;
    color: #c62828;
}

.filter-btn.active {
    background: #c62828;
    border-color: #c62828;
    color: #ffffff;
}

.job-count {
    margin-left: auto;
    font-size: 14px;
    color: #6b7280;
}

.job-count strong {
    color: #0f2a63;
}

/* Section Headers */
.job-section-title {
    font-size: 24px;
    font-weight: 700;
    color: #0f2a63;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
}

.job-section-title i {
    color: #c62828;
}

/* Benefits Section */
.benefits-section {
    background: #f8fafc;
    border-radius: 20px;
    padding: 48px;
    margin-bottom: 48px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.benefit-item {
    text-align: center;
    padding: 24px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(15, 42, 99, 0.1);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #c62828, #a51616);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.benefit-icon i {
    font-size: 22px;
    color: #ffffff;
}

.benefit-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: #0f2a63;
    margin-bottom: 8px;
}

.benefit-item p {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
}

/* Culture Section */
.culture-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.culture-content h2 {
    font-size: 38px;
    font-weight: 700;
    color: #0f2a63;
    margin-bottom: 20px;
}

.culture-content p {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 24px;
}

.culture-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.culture-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #1a1a2e;
    font-weight: 500;
}

.culture-feature i {
    color: #10b981;
    font-size: 18px;
}

.culture-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.culture-images img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(15, 42, 99, 0.1);
}

.culture-images .img-large {
    grid-column: 1 / 3;
    height: 200px;
    object-fit: cover;
}

.culture-images .img-small {
    height: 160px;
    object-fit: cover;
}

/* How to Apply Section */
.how-to-apply {
    background: linear-gradient(135deg, #0f2a63, #143b82);
    border-radius: 20px;
    padding: 48px;
    color: #ffffff;
    margin-bottom: 60px;
}

.how-to-apply h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 32px;
    text-align: center;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.step-item {
    text-align: center;
}

.step-number {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.step-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-item p {
    font-size: 14px;
    opacity: 0.85;
    line-height: 1.5;
}

/* CTA Section Override */
.cta-career-section {
    background: #f8fafc;
    padding: 80px 0;
}

.cta-career-wrapper {
    background: #ffffff;
    border-radius: 20px;
    padding: 48px;
    box-shadow: 0 10px 30px rgba(15, 42, 99, 0.08);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.cta-career-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #0f2a63;
    margin-bottom: 16px;
}

.cta-career-content p {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 24px;
}

.cta-career-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}

.cta-career-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #0f2a63;
}

.cta-career-feature i {
    color: #c62828;
    font-size: 16px;
}

.cta-career-image {
    text-align: center;
}

.cta-career-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(15, 42, 99, 0.1);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .job-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .job-card {
        padding: 24px;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .culture-section {
        grid-template-columns: 1fr;
    }

    .culture-images {
        order: -1;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-career-wrapper {
        grid-template-columns: 1fr;
    }

    .cta-career-image {
        order: -1;
    }

    .filter-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .job-count {
        margin-left: 0;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .job-cards-grid {
        grid-template-columns: 1fr;
    }

    .benefits-section {
        padding: 32px 24px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .culture-content h2 {
        font-size: 28px;
    }

    .culture-features {
        grid-template-columns: 1fr;
    }

    .how-to-apply {
        padding: 32px 24px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .job-card {
        padding: 20px;
    }

    .job-header {
        flex-direction: column;
    }

    .job-icon {
        width: 44px;
        height: 44px;
    }

    .job-icon i {
        font-size: 18px;
    }

    .job-action {
        flex-direction: column;
        align-items: stretch;
    }

    .apply-btn {
        justify-content: center;
    }

    .filter-buttons {
        width: 100%;
    }

    .filter-btn {
        flex: 1;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .job-meta {
        flex-direction: column;
        gap: 6px;
    }

    .job-requirements {
        flex-direction: column;
    }

    .job-requirements span {
        width: fit-content;
    }
}
