/* Job Details Page Styles */

.job-details-page {
    max-width: 1200px;
}

/* Job Details Header */
.job-details-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 3rem;
    background: linear-gradient(135deg, 
                rgba(102, 126, 234, 0.1) 0%, 
                rgba(118, 75, 162, 0.1) 100%);
    backdrop-filter: blur(20px);
    border: 1.5px solid rgba(102, 126, 234, 0.3);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.job-header-content {
    flex: 1;
}

.job-details-title {
    font-family: 'Alfa Slab One', cursive, sans-serif;
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5),
                 0 0 60px rgba(102, 126, 234, 0.3);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.job-badges-group {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.job-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    text-transform: capitalize;
}

.job-badge-fulltime {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #ffffff;
}

.job-badge-parttime {
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
    border: 1.5px solid rgba(102, 126, 234, 0.5);
}

.job-badge-remote {
    background: rgba(118, 75, 162, 0.2);
    color: #e0b3ff;
    border: 1.5px solid rgba(118, 75, 162, 0.5);
}

/* Apply Now Button (Top Right) */
.apply-now-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #ffffff;
    padding: 1.1rem 2.5rem;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.apply-now-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.apply-now-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.6),
                0 6px 25px rgba(118, 75, 162, 0.5);
}

.apply-now-btn:hover::before {
    width: 400px;
    height: 400px;
}

.apply-now-btn svg {
    transition: transform 0.3s ease;
}

.apply-now-btn:hover svg {
    transform: translateX(5px);
}

/* Job Quick Info Grid */
.job-quick-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.quick-info-item {
    background: linear-gradient(135deg, 
                rgba(102, 126, 234, 0.08) 0%, 
                rgba(118, 75, 162, 0.08) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(102, 126, 234, 0.25);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.quick-info-item:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    background: linear-gradient(135deg, 
                rgba(102, 126, 234, 0.12) 0%, 
                rgba(118, 75, 162, 0.12) 100%);
}

.quick-info-item svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: #667eea;
}

.quick-info-item div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #a0a0a0;
    font-weight: 500;
}

.info-value {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #e8e8e8;
    font-weight: 600;
}

.info-value.urgent {
    color: #ff6b6b;
    font-weight: 700;
}

/* Job Sections */
.job-section {
    background: linear-gradient(135deg, 
                rgba(102, 126, 234, 0.06) 0%, 
                rgba(118, 75, 162, 0.06) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.job-section:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 0 15px 45px rgba(102, 126, 234, 0.25);
    background: linear-gradient(135deg, 
                rgba(102, 126, 234, 0.1) 0%, 
                rgba(118, 75, 162, 0.1) 100%);
}

.section-title {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.section-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    line-height: 1.9;
    color: #d8d8d8;
    margin-bottom: 1.5rem;
}

.section-text:last-child {
    margin-bottom: 0;
}

/* Qualifications List */
.qualifications-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.qualifications-list li {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #d8d8d8;
    padding-left: 2rem;
    margin-bottom: 1.25rem;
    position: relative;
}

.qualifications-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: 700;
    font-size: 1.3rem;
}

.qualifications-list li:last-child {
    margin-bottom: 0;
}

.email-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.email-link:hover {
    color: #8899ff;
    border-bottom-color: #8899ff;
}

/* Apply Section */
.apply-section {
    background: linear-gradient(135deg, 
                rgba(102, 126, 234, 0.15) 0%, 
                rgba(118, 75, 162, 0.15) 100%);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(102, 126, 234, 0.4);
    border-radius: 24px;
    padding: 4rem;
    text-align: center;
    margin-top: 4rem;
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.3);
}

.apply-section-title {
    font-family: 'Inter', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.apply-section-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    color: #c8c8c8;
    margin-bottom: 2.5rem;
}

.apply-now-btn-large {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #ffffff;
    padding: 1.3rem 3.5rem;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 35px rgba(102, 126, 234, 0.5);
    position: relative;
    overflow: hidden;
}

.apply-now-btn-large::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.apply-now-btn-large:hover {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.6),
                0 8px 30px rgba(118, 75, 162, 0.5);
}

.apply-now-btn-large:hover::before {
    width: 500px;
    height: 500px;
}

.apply-now-btn-large svg {
    transition: transform 0.3s ease;
}

.apply-now-btn-large:hover svg {
    transform: translateX(8px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .job-quick-info {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .job-details-header {
        flex-direction: column;
        padding: 2rem;
    }

    .job-details-title {
        font-size: 2.25rem;
    }

    .apply-now-btn {
        width: 100%;
        justify-content: center;
    }

    .job-quick-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .job-section {
        padding: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-text {
        font-size: 1.05rem;
    }

    .qualifications-list li {
        font-size: 1rem;
    }

    .apply-section {
        padding: 3rem 2rem;
    }

    .apply-section-title {
        font-size: 1.85rem;
    }

    .apply-now-btn-large {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .job-details-header {
        padding: 1.5rem;
    }

    .job-details-title {
        font-size: 1.75rem;
    }

    .quick-info-item {
        padding: 1.25rem;
    }

    .job-section {
        padding: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-text {
        font-size: 1rem;
    }

    .apply-section {
        padding: 2rem 1.5rem;
    }

    .apply-now-btn-large {
        padding: 1.1rem 2.5rem;
        font-size: 1.1rem;
    }
}