/* =========================================
   CAREERS PAGE STYLES
   ========================================= */

/* =========================================
   APPLICATION MODAL
   ========================================= */

.application-modal {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
    display: none;
}

.application-modal.show {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content {
    background: #1a1a2e;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    max-width: 500px;
    width: 90%;
    animation: slideIn 0.3s ease;
    border: 1px solid rgba(11, 160, 38, 0.2);
    margin-top: 200px;
}

body.light .modal-content {
    background: #fff;
    border-color: rgba(11, 160, 38, 0.15);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    border-bottom: 1px solid rgba(11, 160, 38, 0.15);
}

.modal-header h2 {
    margin: 0;
    color: #0ba026;
    font-size: 24px;
    font-weight: 700;
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #0ba026;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.modal-close:hover {
    background: rgba(11, 160, 38, 0.1);
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
    text-align: center;
}

.modal-body p {
    color: #ccc;
    font-size: 15px;
    margin-bottom: 15px;
}

body.light .modal-body p {
    color: #666;
}

.modal-body h3 {
    color: #fff;
    font-size: 22px;
    margin: 15px 0;
    font-weight: 700;
}

body.light .modal-body h3 {
    color: #333;
}

.modal-text {
    margin-bottom: 20px !important;
}

.modal-email {
    display: inline-block;
    padding: 12px 24px;
    background: rgba(11, 160, 38, 0.15);
    color: #0ba026;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid #0ba026;
    margin: 20px 0;
}

.modal-email:hover {
    background: #0ba026;
    color: #fff;
    box-shadow: 0 4px 15px rgba(11, 160, 38, 0.3);
}

.modal-email i {
    margin-right: 8px;
}

.modal-footer {
    padding: 30px;
    border-top: 1px solid rgba(11, 160, 38, 0.15);
    text-align: center;
}

.modal-footer .btn {
    padding: 12px 40px;
    font-size: 15px;
}

body.light .modal-content {
    background: #fff;
}

/* =========================================
   CAREERS HERO
   ========================================= */

.careers-hero {
    padding: 120px 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(11, 160, 38, 0.1) 0%, rgba(15, 59, 125, 0.1) 100%);
}

.careers-hero h1 {
    margin-bottom: 20px;
    color: #fff;
    font-size: 56px;
    font-weight: 800;
}

body.light .careers-hero h1 {
    color: #333;
}

.careers-hero p {
    font-size: 18px;
    color: #ccc;
    margin-bottom: 40px;
}

body.light .careers-hero p {
    color: #666;
}

.hero-cta {
    margin-top: 50px;
}

/* =========================================
   WHY JOIN US SECTION
   ========================================= */

.why-join-us {
    padding: 100px 0;
}

.why-join-us h2 {
    text-align: center;
    color: #fff;
    margin-bottom: 15px;
    font-size: 42px;
}

body.light .why-join-us h2 {
    color: #333;
}

.section-subtitle {
    text-align: center;
    color: #ccc;
    font-size: 16px;
    margin-bottom: 60px;
}

body.light .section-subtitle {
    color: #666;
}

.benefit-card {
    background: rgba(11, 160, 38, 0.05);
    border: 1px solid rgba(11, 160, 38, 0.1);
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    border-color: #0ba026;
    background: rgba(11, 160, 38, 0.12);
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(11, 160, 38, 0.15);
}

.benefit-icon {
    font-size: 48px;
    color: #0ba026;
    margin-bottom: 20px;
    display: inline-block;
    width: 80px;
    height: 80px;
    line-height: 80px;
    background: rgba(11, 160, 38, 0.1);
    border-radius: 50%;
}

.benefit-card h4 {
    color: #fff;
    font-size: 20px;
    margin: 20px 0 10px 0;
    font-weight: 600;
}

body.light .benefit-card h4 {
    color: #333;
}

.benefit-card p {
    color: #ccc;
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}

body.light .benefit-card p {
    color: #666;
}

body.light .benefit-card {
    background: rgba(11, 160, 38, 0.02);
    border-color: rgba(11, 160, 38, 0.1);
}

body.light .benefit-card:hover {
    background: rgba(11, 160, 38, 0.08);
    box-shadow: 0 8px 25px rgba(11, 160, 38, 0.1);
}

body.light .benefit-icon {
    background: rgba(11, 160, 38, 0.08);
}

/* =========================================
   DEPARTMENTS SECTION
   ========================================= */

.departments {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.02);
}

.departments h2 {
    text-align: center;
    color: #fff;
    margin-bottom: 15px;
    font-size: 42px;
}

body.light .departments h2 {
    color: #333;
}

.department-card {
    background: rgba(11, 160, 38, 0.08);
    border: 1px solid rgba(11, 160, 38, 0.15);
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.department-card:hover {
    border-color: #0ba026;
    background: rgba(11, 160, 38, 0.15);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(11, 160, 38, 0.2);
}

.department-icon {
    font-size: 56px;
    color: #0ba026;
    margin-bottom: 20px;
    display: inline-block;
}

.department-card h4 {
    color: #fff;
    font-size: 24px;
    margin: 15px 0 10px 0;
    font-weight: 700;
}

body.light .department-card h4 {
    color: #333;
}

.department-card p {
    color: #ccc;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

body.light .department-card p {
    color: #666;
}

.department-link {
    display: inline-block;
    color: #0ba026;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: auto;
}

.department-link:hover {
    color: #099820;
    transform: translateX(5px);
}

.department-link i {
    margin-left: 8px;
}

body.light .department-card {
    background: rgba(11, 160, 38, 0.03);
    border-color: rgba(11, 160, 38, 0.1);
}

body.light .department-card:hover {
    background: rgba(11, 160, 38, 0.1);
    box-shadow: 0 10px 30px rgba(11, 160, 38, 0.1);
}

/* =========================================
   OPEN POSITIONS SECTION
   ========================================= */

.open-positions {
    padding: 100px 0;
}

.open-positions h2 {
    text-align: center;
    color: #fff;
    margin-bottom: 15px;
    font-size: 42px;
}

body.light .open-positions h2 {
    color: #333;
}

.department-heading {
    color: #0ba026;
    font-size: 24px;
    font-weight: 700;
    margin-top: 50px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(11, 160, 38, 0.2);
}

.department-heading:first-of-type {
    margin-top: 0;
}

.job-card {
    background: rgba(11, 160, 38, 0.05);
    border: 1px solid rgba(11, 160, 38, 0.1);
    border-left: 4px solid #0ba026;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.job-card:hover {
    border-left-color: #099820;
    background: rgba(11, 160, 38, 0.12);
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(11, 160, 38, 0.15);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.job-card h4 {
    color: #fff;
    font-size: 20px;
    margin: 0;
    font-weight: 700;
    flex: 1;
    min-width: 300px;
}

body.light .job-card h4 {
    color: #333;
}

.job-location {
    color: #0ba026;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.job-location i {
    margin-right: 5px;
}

.job-details {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.job-type,
.job-level {
    background: rgba(11, 160, 38, 0.1);
    color: #0ba026;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.job-description {
    color: #ccc;
    font-size: 14px;
    line-height: 1.8;
    margin: 15px 0;
}

body.light .job-description {
    color: #666;
}

.job-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.tag {
    background: rgba(11, 160, 38, 0.15);
    color: #0ba026;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.btn-sm {
    padding: 10px 25px;
    font-size: 13px;
    margin-top: 10px;
}

body.light .job-card {
    background: rgba(11, 160, 38, 0.02);
    border-color: rgba(11, 160, 38, 0.1);
}

body.light .job-card:hover {
    background: rgba(11, 160, 38, 0.08);
    box-shadow: 0 8px 25px rgba(11, 160, 38, 0.1);
}

body.light .tag {
    background: rgba(11, 160, 38, 0.08);
}

body.light .job-type,
body.light .job-level {
    background: rgba(11, 160, 38, 0.08);
}

/* =========================================
   CTA SECTION
   ========================================= */

.careers-cta {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(11, 160, 38, 0.1) 0%, rgba(15, 59, 125, 0.1) 100%);
    border-radius: 8px;
    margin: 80px 0;
}

.careers-cta h2 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 42px;
    font-weight: 800;
}

body.light .careers-cta h2 {
    color: #333;
}

.careers-cta p {
    color: #ccc;
    font-size: 16px;
    margin-bottom: 30px;
}

body.light .careers-cta p {
    color: #666;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-lg {
    padding: 15px 40px;
    font-size: 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-primary.btn-lg {
    background: linear-gradient(90deg, #0ba026 0%, #099820 100%);
    color: #fff;
    border: none;
}

.btn-primary.btn-lg:hover {
    background: linear-gradient(90deg, #099820 0%, #0ba026 100%);
    box-shadow: 0 8px 25px rgba(11, 160, 38, 0.3);
    transform: translateY(-2px);
}

.btn-outline.btn-lg {
    background-color: transparent;
    border: 2px solid #0ba026;
    color: #0ba026;
}

.btn-outline.btn-lg:hover {
    background-color: #0ba026;
    color: #fff;
    box-shadow: 0 8px 25px rgba(11, 160, 38, 0.3);
}

/* =========================================
   COMPANY STATS SECTION
   ========================================= */

.company-stats {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.02);
}

.company-stats h2 {
    text-align: center;
    color: #fff;
    margin-bottom: 60px;
    font-size: 42px;
}

body.light .company-stats h2 {
    color: #333;
}

.stat-box {
    text-align: center;
    padding: 40px;
    background: rgba(11, 160, 38, 0.08);
    border-radius: 8px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    border: 1px solid rgba(11, 160, 38, 0.15);
}

.stat-box:hover {
    border-color: #0ba026;
    background: rgba(11, 160, 38, 0.15);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(11, 160, 38, 0.2);
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: #0ba026;
    margin-bottom: 10px;
}

.stat-text {
    color: #ccc;
    font-size: 16px;
    font-weight: 600;
}

body.light .stat-text {
    color: #666;
}

body.light .stat-box {
    background: rgba(11, 160, 38, 0.03);
    border-color: rgba(11, 160, 38, 0.1);
}

body.light .stat-box:hover {
    background: rgba(11, 160, 38, 0.1);
    box-shadow: 0 10px 30px rgba(11, 160, 38, 0.1);
}

/* =========================================
   RESPONSIVE STYLES
   ========================================= */

@media (max-width: 768px) {
    .careers-hero {
        padding: 60px 0;
    }

    .careers-hero h1 {
        font-size: 36px;
    }

    .careers-hero p {
        font-size: 16px;
    }

    .why-join-us {
        padding: 60px 0;
    }

    .why-join-us h2 {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .section-subtitle {
        margin-bottom: 40px;
    }

    .benefit-card {
        padding: 30px 20px;
    }

    .departments {
        padding: 60px 0;
    }

    .departments h2 {
        font-size: 28px;
    }

    .department-card {
        padding: 30px 20px;
    }

    .department-icon {
        font-size: 40px;
    }

    .department-card h4 {
        font-size: 20px;
    }

    .open-positions {
        padding: 60px 0;
    }

    .open-positions h2 {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .department-heading {
        font-size: 20px;
        margin-top: 30px;
    }

    .job-card {
        padding: 20px;
    }

    .job-header {
        flex-direction: column;
    }

    .job-card h4 {
        font-size: 18px;
        min-width: auto;
    }

    .job-location {
        align-self: flex-start;
    }

    .careers-cta {
        padding: 60px 20px;
        margin: 60px 0;
    }

    .careers-cta h2 {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn-lg {
        padding: 12px 30px;
        font-size: 14px;
        width: 100%;
    }

    .company-stats {
        padding: 60px 0;
    }

    .company-stats h2 {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .stat-box {
        padding: 30px 20px;
    }

    .stat-number {
        font-size: 36px;
    }

    .stat-text {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .careers-hero h1 {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .careers-hero p {
        font-size: 14px;
    }

    .benefit-icon {
        width: 60px;
        height: 60px;
        line-height: 60px;
        font-size: 32px;
    }

    .benefit-card h4 {
        font-size: 18px;
    }

    .job-tags {
        gap: 8px;
    }

    .tag {
        padding: 5px 10px;
        font-size: 11px;
    }

    .stat-number {
        font-size: 28px;
    }
}
