/* Careers Page Styles */

.job-card {
    background: #ffffff;
    border-radius: 40px;
    border: 1px solid #d1e7ff;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.job-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.job-image-wrapper {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.job-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.job-card:hover .job-image-wrapper img {
    transform: scale(1.1);
}

.job-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.job-card:hover .job-overlay {
    opacity: 1;
}

.view-details-btn {
    background: #ffffff;
    padding: 12px 25px;
    border-radius: 30px;
    color: #333;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.job-card:hover .view-details-btn {
    transform: translateY(0);
}

.job-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.job-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: fit-content;
}

.badge-internship { background: #e0fcf6; color: #1abc9c; }
.badge-part-time { background: #fff4e5; color: #ff9800; }
.badge-contract { background: #e8f3ff; color: #3498db; }

.job-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.job-desc {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.6;
}

.job-footer {
    padding: 20px 30px;
    border-top: 1px solid #eef2f6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.job-date {
    font-size: 14px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 8px;
}

.apply-link {
    font-weight: 700;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.apply-link:hover {
    color: var(--text-dark);
    gap: 10px;
}

/* Application CTA Box (Single Job Page) */
.apply-cta-box {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 20px;
    padding: 60px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-top: 60px;
}

.apply-cta-box h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
}

.apply-cta-box p {
    margin-bottom: 40px;
    font-size: 17px;
}


/* Sidebar Recent Careers */
.recent-career-item {
    padding-bottom: 20px;
    border-bottom: 1px solid #eef2f6;
    margin-bottom: 20px;
}

.recent-career-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.recent-career-item a {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    display: block;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.recent-career-item a:hover {
    color: var(--primary-blue);
}

.recent-career-item span {
    font-size: 13px;
    color: var(--text-gray);
    text-transform: uppercase;
    font-weight: 600;
}


/* CTA Without Box */
.apply-cta-box.no-box {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* Popup Form Styles */
.white-popup {
    position: relative;
    background: #FFF;
    width: auto;
    max-width: 700px;
    margin: 20px auto;
}

.apply-popup-form {
    background: white;
    padding: 60px;
    position: relative;
    border-radius: 40px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 16px;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid #d1e7ff;
    background: #f8fafc;
    border-radius: 15px;
    font-family: inherit;
    font-size: 15px;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(11, 99, 172, 0.1);
}
