﻿/* Animation */
@keyframes slideLine {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* HERO */
.career-hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f2f25, #1f5c4a);
    color: #fff;
}

.career-title {
    font-size: 2.8rem;
    font-weight: 700;
}

.career-subtitle {
    margin-top: 15px;
    font-size: 1rem;
    opacity: 0.85;
}

/* BENEFITS */
.career-benefits {
    padding: 70px 0;
    background: #f5fdf9;
}

.benefit-card {
    background: #fff;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    transition: 0.3s;
}

    .benefit-card:hover {
        transform: translateY(-6px);
    }

    .benefit-card i {
        font-size: 1.8rem;
        color: #1f5c4a;
    }

/* JOB SECTION */
.career-jobs {
    padding: 40px 0;
}

.job-card {
    background: #fff;
    padding: 25px;
    border-radius: 14px;
    margin-bottom: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: 0.3s;
}

    .job-card:hover {
        transform: translateY(-6px);
    }

.job-meta {
    font-size: 0.8rem;
    color: #888;
}

/* NO JOB CARD */
.no-job-card {
    padding: 40px 25px;
}

.no-job-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: rgba(31,92,74,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .no-job-icon i {
        font-size: 1.5rem;
        color: #1f5c4a;
    }

.no-job-card h5 {
    font-weight: 700;
    margin-bottom: 10px;
}

.no-job-card p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.cta-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark), var(--dark-2));
    padding: 70px 25px;
    border-radius: var(--radius-lg);
    margin: 60px 0;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(20,185,140,0.15);
}

    /* subtle glow accents */
    .cta-section::before,
    .cta-section::after {
        content: "";
        position: absolute;
        width: 260px;
        height: 260px;
        background: var(--primary);
        filter: blur(100px);
        opacity: 0.12;
        border-radius: 50%;
        z-index: 0;
    }

    .cta-section::before {
        top: -80px;
        left: -80px;
    }

    .cta-section::after {
        bottom: -100px;
        right: -100px;
    }

    /* ensure content above glow */
    .cta-section * {
        position: relative;
        z-index: 1;
    }

    /* TITLE */
    .cta-section h2 {
        font-family: var(--font-display);
        font-weight: 800;
        font-size: 2.1rem;
        color: var(--white);
        margin-bottom: 12px;
        letter-spacing: -0.4px;
    }

    /* PARAGRAPH */
    .cta-section p {
        color: var(--text-muted);
        font-size: 1.05rem;
        max-width: 650px;
        margin: 0 auto 26px;
        line-height: 1.7;
    }

/* BUTTON */
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: var(--transition);
    box-shadow: 0 0 0 rgba(20,185,140,0);
    position: relative;
    overflow: hidden;
}

    /* BUTTON HOVER - GLOW PULSE */
    .cta-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 0 25px rgba(20,185,140,0.45);
        background: var(--primary-dark);
    }

    /* animated shine effect */
    .cta-btn::after {
        content: "";
        position: absolute;
        top: 0;
        left: -120%;
        width: 60%;
        height: 100%;
        background: linear-gradient( 120deg, transparent, rgba(255,255,255,0.25), transparent );
        transform: skewX(-20deg);
    }

    .cta-btn:hover::after {
        animation: shine 0.9s ease;
    }

@keyframes shine {
    0% {
        left: -120%;
    }

    100% {
        left: 140%;
    }
}

/* ICON */
.cta-btn i {
    transition: transform var(--transition);
}

.cta-btn:hover i {
    transform: translateX(6px);
}

/* CONTACT INFO */
.cta-contact {
    margin-top: 18px;
    font-size: 0.95rem;
    color: var(--text-muted);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

    .cta-contact span {
        padding: 7px 14px;
        background: rgba(255,255,255,0.04);
        border: 1px solid rgba(20,185,140,0.15);
        border-radius: 999px;
        transition: var(--transition);
    }

        .cta-contact span:hover {
            background: var(--primary-light);
            color: var(--dark);
            transform: translateY(-2px);
        }
