/* Career Hero Section */
.career-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.career-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.career-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.career-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 115, 150, 0.9) 0%, rgba(26, 90, 117, 0.85) 100%);
    z-index: 2;
}

.career-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
}

.career-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.career-hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 500;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.career-hero-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Why Join Us Section */
.why-join-section {
    padding: 100px 0;
    background: var(--light-blue);
}

/* Company Profile Download */
.company-profile-download {
    margin-top: 50px;
    margin-bottom: 40px;
}

.download-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding: 40px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0 10px 30px rgba(37, 115, 150, 0.2);
    transition: all 0.3s ease;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(37, 115, 150, 0.3);
}

.download-icon {
    font-size: 4rem;
    color: var(--white);
    min-width: 80px;
    text-align: center;
}

.download-content {
    flex: 1;
    color: var(--white);
}

.download-content h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.download-content p {
    font-size: 1rem;
    opacity: 0.95;
    line-height: 1.6;
}

.btn-download {
    background: var(--white);
    color: var(--primary-color);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-download:hover {
    background: var(--light-blue);
    transform: scale(1.05);
}

.btn-download i {
    font-size: 1.1rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(37, 115, 150, 0.15);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
}

.benefit-icon i {
    font-size: 2rem;
    color: var(--white);
}

.benefit-card h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.benefit-card p {
    color: var(--text-color);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Jobs Section */
.jobs-section {
    padding: 100px 0;
    background: var(--white);
}

/* Job Filter Tabs */
.job-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin: 40px 0;
}

.filter-tab {
    padding: 12px 28px;
    background: var(--white);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 115, 150, 0.3);
}

/* Jobs Grid */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.job-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.job-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(37, 115, 150, 0.15);
    border-color: var(--secondary-color);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.job-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.job-card:hover .job-icon {
    transform: scale(1.1) rotate(5deg);
}

.job-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.job-badge {
    background: var(--light-blue);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.job-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.job-summary {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 0.95rem;
    flex-grow: 1;
}

.job-requirements {
    margin-bottom: 25px;
}

.requirement-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 10px;
    background: var(--light-blue);
    border-radius: 10px;
}

.requirement-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
    min-width: 20px;
}

.requirement-item span {
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 500;
}

.btn-apply {
    width: 100%;
    padding: 14px 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 115, 150, 0.3);
}

.btn-apply i {
    transition: transform 0.3s ease;
}

.btn-apply:hover i {
    transform: translateX(5px);
}

/* Application CTA */
.application-cta {
    padding: 100px 0;
    margin-bottom: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* Job Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.modal-content {
    position: relative;
    background: var(--white);
    border-radius: 25px;
    max-width: 800px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    z-index: 2;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: var(--accent-color);
    transform: rotate(90deg);
}

.modal-body {
    padding: 50px 40px;
}

.modal-header {
    text-align: center;
    margin-bottom: 40px;
}

.modal-job-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.modal-job-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.modal-job-title {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.modal-job-category {
    display: inline-block;
    background: var(--light-blue);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
}

.modal-section {
    margin-bottom: 35px;
}

.modal-section h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-section h3 i {
    font-size: 1.3rem;
}

.modal-section ul {
    list-style: none;
    padding: 0;
}

.modal-section ul li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    line-height: 1.7;
    color: var(--text-color);
}

.modal-section ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.modal-apply-section {
    background: var(--light-blue);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    margin-top: 40px;
}

.modal-apply-section h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.modal-apply-section p {
    margin-bottom: 25px;
    color: var(--text-color);
}

.modal-apply-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.modal-apply-buttons .btn {
    min-width: 200px;
    padding: 15px 35px;
    font-size: 1.05rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.modal-apply-buttons .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    box-shadow: 0 5px 20px rgba(37, 115, 150, 0.3);
}

.modal-apply-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 115, 150, 0.4);
}

.modal-apply-buttons .btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.modal-apply-buttons .btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 968px) {
    .career-hero-title {
        font-size: 2.5rem;
    }
    
    .career-hero-subtitle {
        font-size: 1.3rem;
    }
    
    .download-card {
        padding: 35px 30px;
        gap: 25px;
    }
    
    .download-content h3 {
        font-size: 1.6rem;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .jobs-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 25px;
    }
    
    .job-filter-tabs {
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .filter-tab {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .modal-content {
        width: 85%;
    }
}

@media (max-width: 768px) {
    .career-hero {
        height: 60vh;
        min-height: 400px;
    }
    
    .career-hero-title {
        font-size: 2rem;
    }
    
    .career-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .career-hero-desc {
        font-size: 1rem;
    }
    
    .why-join-section,
    .jobs-section,
    .application-cta {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* Company Profile Download */
    .download-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 25px;
        gap: 20px;
    }
    
    .download-icon {
        font-size: 3rem;
    }
    
    .download-content h3 {
        font-size: 1.5rem;
    }
    
    .download-content p {
        font-size: 0.9rem;
    }
    
    .btn-download {
        width: 100%;
        justify-content: center;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .benefit-card {
        padding: 30px 20px;
    }
    
    .benefit-icon {
        width: 50px;
        height: 50px;
    }
    
    .benefit-icon i {
        font-size: 1.5rem;
    }
    
    .benefit-card h3 {
        font-size: 1.1rem;
    }
    
    .benefit-card p {
        font-size: 0.9rem;
    }
    
    .job-filter-tabs {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .filter-tab {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
    
    .jobs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .job-card {
        padding: 30px 20px;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 350px;
    }
    
    .modal-content {
        width: 90%;
        max-width: 600px;
    }
    
    .modal-body {
        padding: 40px 25px;
    }
    
    .modal-job-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .career-hero {
        height: 50vh;
        min-height: 350px;
    }
    
    .career-hero-title {
        font-size: 1.8rem;
    }
    
    .career-hero-subtitle {
        font-size: 1rem;
    }
    
    .career-hero-desc {
        font-size: 0.9rem;
    }
    
    .why-join-section,
    .jobs-section,
    .application-cta {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    /* Company Profile Download */
    .download-card {
        padding: 25px 20px;
        gap: 15px;
    }
    
    .download-icon {
        font-size: 2.5rem;
        min-width: 60px;
    }
    
    .download-content h3 {
        font-size: 1.3rem;
    }
    
    .download-content p {
        font-size: 0.85rem;
    }
    
    .btn-download {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .benefit-card {
        padding: 25px 15px;
    }
    
    .benefit-icon {
        width: 45px;
        height: 45px;
    }
    
    .benefit-icon i {
        font-size: 1.3rem;
    }
    
    .benefit-card h3 {
        font-size: 1rem;
    }
    
    .benefit-card p {
        font-size: 0.85rem;
    }
    
    .job-filter-tabs {
        gap: 6px;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .filter-tab {
        padding: 8px 16px;
        font-size: 0.85rem;
        white-space: nowrap;
    }
    
    .jobs-grid {
        gap: 15px;
    }
    
    .job-card {
        padding: 25px 20px;
    }
    
    .job-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .job-title {
        font-size: 1.3rem;
    }
    
    .job-icon {
        width: 50px;
        height: 50px;
    }
    
    .job-icon i {
        font-size: 1.5rem;
    }
    
    .job-meta {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .job-meta span {
        font-size: 0.85rem;
    }
    
    .job-description {
        font-size: 0.9rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .cta-buttons .btn {
        max-width: 100%;
        padding: 14px 30px;
        font-size: 1rem;
    }
    
    .modal-content {
        width: 95%;
        max-height: 90vh;
        margin: 20px;
    }
    
    .modal-header {
        padding: 25px 20px;
    }
    
    .modal-body {
        padding: 30px 20px;
    }
    
    .modal-close {
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }
    
    .modal-job-title {
        font-size: 1.5rem;
    }
    
    .modal-section h3 {
        font-size: 1.2rem;
    }
    
    .modal-section ul li {
        font-size: 0.9rem;
    }
    
    .modal-apply-section .btn {
        width: 100%;
        padding: 14px 25px;
        font-size: 1rem;
    }
}
