﻿/* ================= CAREERS INTRO ================= */

.careers-intro {
    padding: 40px 0;
}

.illustration-box {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
   /* box-shadow: 0 15px 40px rgba(0,0,0,0.08);   */
}

.intro-text-box {
    /*background: linear-gradient(135deg, #1e40af, #2563eb); */
    color: rgba(50,150,100,0.9) ;
    padding: 40px;
    border-radius: 20px;
   /*  box-shadow: 0 20px 45px rgba(37,99,235,0.35); */
}

.intro-text-box h3 {
    font-size: 28px;
    font-weight: 700;
}

.intro-text-box p {
    font-size: 17.5px;
    line-height: 1.7;
    opacity: 0.95;
}

.intro-btn-new {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 28px;
    background: #3E1E68;
    color: #ffffff;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    border: 2px solid #3E1E68; /* important for swap */
    transition: all 0.3s ease;
}

.intro-btn-new:hover {
    background: #ffffff;      /* bg becomes text color */
    color: #3E1E68;           /* text becomes bg color */
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(62, 30, 104, 0.35);
}

.intro-text-box h3{
    color:#3E1E68;
}
/* ================= MOBILE ================= */

@media (max-width: 991px) {
    .intro-text-box {
        text-align: center;
        padding: 30px;
    }
}

.intro-btn-new {
    appearance: none;
    -webkit-appearance: none;
    border-radius: 50px;
    line-height: 1.2;
    box-shadow: none;
}

/* ================= APPLY BUTTON (OPPOSITE) ================= */

.apply-btn-new {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: #ffffff;        /* opposite */
    color: #3E1E68;             /* opposite */
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid #3E1E68;
    text-decoration: none;
    line-height: 1.2;
    transition: all 0.3s ease;
}

.apply-btn-new:hover {
    background: #3E1E68;        /* swap back */
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(62, 30, 104, 0.35);
}




/* ================= JOB CARD GRID ================= */

.job-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

/* ================= JOB CARD ================= */

.job-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 22px 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.job-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.12);
}

/* ================= HEADER ================= */

.job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.job-code {
    background: #3E1E68;
    color: #fff;
    font-size: 13px;
    padding: 5px 12px;
    border-radius: 30px;
    font-weight: 600;
}

.job-location {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

/* ================= TITLE ================= */

.job-title {
    font-size: 18px;
    font-weight: 700;
    color: #3E1E68;
    margin-bottom: 14px;
}

/* ================= META ================= */

.job-meta {
    font-size: 14px;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 14px;
}

.job-meta div {
    margin-bottom: 6px;
}

/* ================= DESCRIPTION ================= */

.job-desc {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 18px;
}

/* ================= FOOTER ================= */

.job-card-footer {
    display: flex;
    justify-content: flex-end;
}


/* ================= JOB GRID ================= */

.job-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.job-card {
    background: #fff;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: 0.3s;
}

.job-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.12);
}

.job-card-footer {
    margin-top: 15px;
    text-align: right;
}

/* ================= MODAL ================= */

.job-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 9999;
}

.job-modal {
    background: #fff;
    max-width: 600px;
    margin: 250px auto;
    padding: 30px;
    border-radius: 18px;
    position: relative;
}

.job-modal-close {
    position: absolute;
    right: 18px;
    top: 14px;
    border: none;
    background: none;
    font-size: 28px;
    cursor: pointer;
}

.modal-desc {
    margin: 15px 0 25px;
    color: #374151;
}

.no-jobs-box {
    background: #ffffff;
    padding: 50px 30px;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.08);
    max-width: 520px;
    margin: 40px auto;
}

.no-jobs-box h4 {
    font-size: 22px;
    font-weight: 700;
    color: #3E1E68;
    margin-bottom: 12px;
}

.no-jobs-box p {
    color: #4b5563;
    font-size: 15px;
    margin-bottom: 22px;
}

.joblisting_section{
    margin-top:50px;
}
/* ================= NO JOBS BACKGROUND ================= */
/*
.no-jobs-wrapper {
    background: #AE75DA;
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
    */
/* ================= CARD ================= */

.no-jobs-box {
    background: #ffffff;
    padding: 50px 40px;
    border-radius: 22px;
    max-width: 520px;
    width: 100%;
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
    animation: fadeUp 0.6s ease;
}

/* ================= TEXT ================= */

.no-jobs-box h4 {
    font-size: 24px;
    font-weight: 700;
    color: #3E1E68;
    margin-bottom: 12px;
}

.no-jobs-box p {
    font-size: 15.5px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 28px;
}

/* ================= BUTTON ================= */

.upload-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    background:#6A0066;
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(174,117,218,0.45);
}

.upload-btn:hover {
    background: #AE75DA; /* darker purple */
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(142,86,198,0.6);
}

/* ================= ANIMATION ================= */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ================= CV MODAL ================= */


.cv-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.55);
    z-index: 99999;

    align-items: center;
    justify-content: center;
}

.cv-modal-overlay.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cv-modal {
    background: #fff;
    width: 90%;
    max-width: 520px;
    padding: 30px;
    border-radius: 20px;
    position: relative;
    animation: fadeUp 0.3s ease;
}
body.modal-open {
    overflow: hidden;
}

.cv-modal h3 {
    color: #3E1E68;
    font-weight: 700;
    margin-bottom: 6px;
}

.cv-modal p {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}

.cv-modal-close {
    position: absolute;
    right: 16px;
    top: 12px;
    font-size: 26px;
    border: none;
    background: none;
    cursor: pointer;
}
.cv-modal-overlay {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.cv-modal-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

/* ================= FORM ================= */

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}

.form-group input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #ccc;
    outline: none;
}

.form-group input:focus {
    border-color: #3E1E68;
}

.form-actions {
    text-align: right;
    margin-top: 20px;
}

/* reuse your existing animation */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}


/* SVG STYLING*/
   svg#freepik_stories-online-resume:not(.animated) .animable {
            opacity: 0;
        }

        svg#freepik_stories-online-resume.animated #freepik--background-complete--inject-230 {
            animation: 1s 1 forwards cubic-bezier(.36,-0.01,.5,1.38) zoomIn;
            animation-delay: 0s;
        }

        svg#freepik_stories-online-resume.animated #freepik--Floor--inject-230 {
            animation: 1s 1 forwards cubic-bezier(.36,-0.01,.5,1.38) slideRight;
            animation-delay: 0s;
        }

        svg#freepik_stories-online-resume.animated #freepik--Device--inject-230 {
            animation: 1s 1 forwards cubic-bezier(.36,-0.01,.5,1.38) slideDown;
            animation-delay: 0s;
        }

        svg#freepik_stories-online-resume.animated #freepik--Resume--inject-230 {
            animation: 1s 1 forwards cubic-bezier(.36,-0.01,.5,1.38) lightSpeedLeft;
            animation-delay: 0s;
        }

        svg#freepik_stories-online-resume.animated #freepik--Plant--inject-230 {
            animation: 1s 1 forwards cubic-bezier(.36,-0.01,.5,1.38) fadeIn;
            animation-delay: 0s;
        }

        svg#freepik_stories-online-resume.animated #freepik--character-2--inject-230 {
            animation: 1s 1 forwards cubic-bezier(.36,-0.01,.5,1.38) slideLeft;
            animation-delay: 0s;
        }

        svg#freepik_stories-online-resume.animated #freepik--character-1--inject-230 {
            animation: 1s 1 forwards cubic-bezier(.36,-0.01,.5,1.38) zoomIn;
            animation-delay: 0s;
        }

        @keyframes zoomIn {
            0% {
                opacity: 0;
                transform: scale(0.5);
            }

            100% {
                opacity: 1;
                transform: scale(1);
            }
        }

        @keyframes slideRight {
            0% {
                opacity: 0;
                transform: translateX(30px);
            }

            100% {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes slideDown {
            0% {
                opacity: 0;
                transform: translateY(-30px);
            }

            100% {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes lightSpeedLeft {
            from {
                transform: translate3d(-50%, 0, 0) skewX(20deg);
                opacity: 0;
            }

            60% {
                transform: skewX(-10deg);
                opacity: 1;
            }

            80% {
                transform: skewX(2deg);
            }

            to {
                opacity: 1;
                transform: translate3d(0, 0, 0);
            }
        }

        @keyframes fadeIn {
            0% {
                opacity: 0;
            }

            100% {
                opacity: 1;
            }
        }

        @keyframes slideLeft {
            0% {
                opacity: 0;
                transform: translateX(-30px);
            }

            100% {
                opacity: 1;
                transform: translateX(0);
            }
        }