/* Protocolix Brand Colors */
:root {
    --dark-blue: #19272B;
    --primary-cyan: #43BAFF;
    --surface-light: #E1F2F2;
}

/* ========== Benefits Section ========== */

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(322px, 1fr));
    gap: 30px;
}

.benefit-box {
    background: rgba(255,255,255,0.05);
    padding: 45px 35px;
    border: 1px solid rgba(67,186,255,0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

    .benefit-box::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 3px;
        background: var(--primary-cyan);
        transform: scaleX(0);
        transition: transform 0.4s ease;
    }

    .benefit-box:hover {
        transform: translateY(-10px);
        background: rgba(67,186,255,0.08);
        border-color: var(--primary-cyan);
        box-shadow: 0 20px 40px rgba(67,186,255,0.15);
    }

        .benefit-box:hover::before {
            transform: scaleX(1);
        }

.benefit-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.benefit-box:hover .benefit-icon {
    background: #ffffff;
    transform: scale(1.1) rotate(5deg);
}

.benefit-box h3 {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

.benefit-box p {
    color: rgba(255,255,255,0.75);
    line-height: 1.8;
}

/* ========== Stats Bar Section ========== */
.stats-bar {
    background: var(--surface-light);
    padding: 70px 0;
    margin-bottom:70px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    border-right: 2px solid rgba(67,186,255,0.3);
}

    .stat-item:last-child {
        border-right: none;
    }

.stat-number {
    font-size: 52px;
    font-weight: 900;
    color: var(--primary-cyan);
    margin-bottom: 35px;
    letter-spacing: -2px;
}

.stat-label {
    font-size: 15px;
    color: var(--dark-blue);
    font-weight: 600;
}

/* ========== Job Openings Section ========== */
.jobs-section {
    background: var(--dark-blue);
    padding: 100px 0;
}

.job-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 30px;
    border: 2px solid rgba(67,186,255,0.3);
    background: transparent;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

    .filter-btn:hover,
    .filter-btn.active {
        background: var(--primary-cyan);
        color: #ffffff;
        border-color: var(--primary-cyan);
        transform: translateY(-2px);
    }

.jobs-grid {
    display: grid;
    gap: 30px;
}

.job-item {
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(67,186,255,0.2);
    padding: 40px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 30px;
    align-items: center;
    transition: all 0.4s ease;
}

    .job-item:hover {
        border-color: var(--primary-cyan);
        background: rgba(67,186,255,0.08);
        box-shadow: 0 15px 35px rgba(67,186,255,0.2);
        transform: translateX(8px);
    }

.job-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(67,186,255,0.15);
    border: 2px solid var(--primary-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    transition: all 0.4s ease;
}

.job-item:hover .job-icon-wrapper {
    background: var(--primary-cyan);
    transform: scale(1.1) rotate(5deg);
}

.job-details h3 {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

.job-meta {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.meta-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.meta-icon {
    color: var(--primary-cyan);
    font-size: 16px;
}

.job-skills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.skill-tag {
    padding: 6px 16px;
    background: rgba(67,186,255,0.15);
    color: var(--primary-cyan);
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(67,186,255,0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.job-description {
    margin-top: 15px;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
}

.apply-button {
    padding: 15px 40px;
    background: var(--primary-cyan);
    color: #ffffff;
    border: 2px solid var(--primary-cyan);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

    .apply-button:hover {
        background: transparent;
        border-color: var(--primary-cyan);
        color: var(--primary-cyan);
        transform: translateY(-2px);
    }

/* ========== CTA Section ========== */
.cta-section {
    background: var(--primary-cyan);
    padding: 90px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .cta-section::before {
        content: '';
        position: absolute;
        top: -100px;
        right: -100px;
        width: 400px;
        height: 400px;
        background: rgba(255,255,255,0.1);
        border-radius: 50%;
    }

    .cta-section::after {
        content: '';
        position: absolute;
        bottom: -100px;
        left: -100px;
        width: 400px;
        height: 400px;
        background: rgba(255,255,255,0.1);
        border-radius: 50%;
    }

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 42px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.cta-section p {
    font-size: 18px;
    color: #ffffff;
    max-width: 650px;
    margin: 0 auto 35px;
    line-height: 1.8;
    opacity: 0.95;
}

.cta-button {
    padding: 18px 50px;
    background: var(--dark-blue);
    color: #ffffff;
    border: 2px solid var(--dark-blue);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

    .cta-button:hover {
        background: transparent;
        border-color: #ffffff;
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    }
.modal-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(25, 39, 43, 0.85); /* Slight transparent dark blue overlay */
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
    .modal-overlay.active {
        display: flex;
    }
.modal-popup {
    background: #19272B;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(67,186,255,0.16);
    padding: 32px;
    width: 400px;
    color: #E1F2F2;
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

    .modal-header h2 {
        color: #43BAFF;
        font-size: 1.5rem;
        margin: 0;
        font-weight: 700;
    }

.close-modal,
.close-btn {
    background: none;
    border: none;
    color: #43BAFF;
    font-size: 1.7rem;
    cursor: pointer;
}

.modal-form .form-group {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
}

.modal-form label {
    font-weight: 500;
    margin-bottom: 6px;
    color: #E1F2F2;
}

.modal-form input,
.modal-form textarea {
    background: #E1F2F2;
    border: 1px solid #43BAFF;
    border-radius: 6px;
    padding: 8px 10px;
    color: #19272B;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

    .modal-form input:focus,
    .modal-form textarea:focus {
        border-color: #43BAFF;
    }

.resume-label {
    color: #43BAFF;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 12px;
}

.apply-btn {
    background: #43BAFF;
    color: #19272B;
    border: none;
    border-radius: 6px;
    padding: 7px 18px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(67,186,255,0.12);
    transition: background 0.25s;
}

    .apply-btn:hover {
        background: #34A6DD;
    }

.close-btn {
    background: #E1F2F2;
    color: #19272B;
    border: none;
    border-radius: 6px;
    padding: 7px 18px;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(25,39,43,0.07);
    transition: background 0.25s;
}

    .close-btn:hover {
        background: #c3e6e6;
    }

/* ========== Responsive Design ========== */
@media (max-width: 992px) {
    .job-item {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .apply-button {
        width: 100%;
    }
}

@media (max-width: 768px) {
 
    .stat-item {
        border-right: none;
        border-bottom: 2px solid rgba(67,186,255,0.3);
        padding-bottom: 30px;
    }

        .stat-item:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }

    .job-details h3 {
        font-size: 20px;
    }

    .job-meta {
        flex-direction: column;
        gap: 10px;
    }
}
