/* Job Details Page Styles */

.job-details-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

/* Company Badge */
.job-company-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #0d6efd 0%, #003b4f 100%);
    color: white;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.job-company-badge i {
    font-size: 1.2rem;
}

/* Job Description Box */
.job-description-box {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 2.5rem;
    margin-bottom: 2rem;
    border-left: 4px solid #0d6efd;
    transition: all 0.3s ease;
}

.job-description-box:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.job-section-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.job-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #003b4f;
    margin: 0;
    display: flex;
    align-items: center;
}

.job-section-title i {
    color: #0d6efd;
}

.job-description-content {
    line-height: 1.8;
    color: #495057;
    font-size: 1.05rem;
}

.job-description-content p {
    margin-bottom: 1.25rem;
}

.job-description-content ul,
.job-description-content ol {
    margin-bottom: 1.25rem;
    padding-left: 2rem;
}

.job-description-content li {
    margin-bottom: 0.5rem;
}

.job-description-content h1,
.job-description-content h2,
.job-description-content h3,
.job-description-content h4 {
    color: #003b4f;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

/* Job Requirements Box */
.job-requirements-box {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 2.5rem;
    margin-bottom: 2rem;
    border-left: 4px solid #28a745;
    transition: all 0.3s ease;
}

.job-requirements-box:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.requirements-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.requirement-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.requirement-item:hover {
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
    transform: translateX(5px);
}

.requirement-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.requirement-content {
    flex: 1;
}

.requirement-content strong {
    display: block;
    color: #003b4f;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.requirement-content p {
    color: #6c757d;
    margin: 0;
    font-size: 0.95rem;
}

/* Job Summary Card */
.job-summary-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    position: sticky;
    top: 100px;
    border-top: 4px solid #0d6efd;
    transition: all 0.3s ease;
}

.job-summary-card:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.job-summary-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.job-summary-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #003b4f;
    margin: 0;
    display: flex;
    align-items: center;
}

.job-summary-title i {
    color: #0d6efd;
}

.job-info-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.job-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.job-info-item:hover {
    background: linear-gradient(135deg, #e3f2fd 0%, #ffffff 100%);
    border-left-color: #0d6efd;
    transform: translateX(5px);
}

.job-info-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.job-info-item:hover .job-info-icon {
    transform: scale(1.1) rotate(5deg);
}

.icon-location {
    background: linear-gradient(135deg, #0d6efd 0%, #003b4f 100%);
}

.icon-type {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
}

.icon-industry {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
}

.icon-schedule {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
}

.icon-education {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
}

.icon-salary {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

.job-info-content {
    flex: 1;
}

.job-info-content strong {
    display: block;
    color: #003b4f;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.job-info-content p {
    color: #495057;
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
}

.job-info-salary {
    background: linear-gradient(135deg, #fff3cd 0%, #ffffff 100%);
}

.job-info-salary:hover {
    background: linear-gradient(135deg, #ffe69c 0%, #ffffff 100%);
}

.salary-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.95rem;
}

.badge-negotiable {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    color: white;
}

.badge-competitive {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    color: white;
}

.badge-salary {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    color: white;
}

/* Job Actions */
.job-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-apply-now {
    background: linear-gradient(135deg, #0d6efd 0%, #003b4f 100%);
    border: none;
    color: white;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.btn-apply-now:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.4);
    color: white;
}

.btn-outline-secondary {
    border: 2px solid #6c757d;
    color: #6c757d;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    background: #6c757d;
    color: white;
    transform: translateY(-2px);
}

/* Button Animations */
.btn-animate {
    position: relative;
    overflow: hidden;
}

.btn-animate::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-animate:hover::before {
    width: 300px;
    height: 300px;
}

/* Related Jobs Section */
.related-jobs-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.related-jobs-title {
    font-size: 2rem;
    font-weight: 700;
    color: #003b4f;
    margin-bottom: 3rem;
}

.related-jobs-title i {
    color: #0d6efd;
}

.related-job-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.related-job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0d6efd, #28a745, #0d6efd);
    background-size: 200% 100%;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.related-job-card:hover::before {
    transform: scaleX(1);
    animation: gradient-slide 2s ease infinite;
}

@keyframes gradient-slide {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.related-job-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: #0d6efd;
}

.related-job-header {
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.related-job-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #003b4f;
    margin: 0;
    line-height: 1.4;
}

.related-job-title a {
    color: #003b4f;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-job-title a:hover {
    color: #0d6efd;
}

.related-job-body {
    padding: 1rem 1.5rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.related-job-info {
    margin-bottom: 1rem;
}

.related-job-location,
.related-job-type {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.related-job-location i,
.related-job-type i {
    color: #0d6efd;
    width: 20px;
}

.btn-view-details {
    background: linear-gradient(135deg, #0d6efd 0%, #003b4f 100%);
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-view-details:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.3);
    color: white;
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
}

/* Fade In Left */
.animate-on-scroll[data-animation="fadeInLeft"] {
    transform: translateX(-50px);
}

.animate-on-scroll[data-animation="fadeInLeft"].animated {
    transform: translateX(0);
}

/* Fade In Right */
.animate-on-scroll[data-animation="fadeInRight"] {
    transform: translateX(50px);
}

.animate-on-scroll[data-animation="fadeInRight"].animated {
    transform: translateX(0);
}

/* Fade In Up */
.animate-on-scroll[data-animation="fadeInUp"] {
    transform: translateY(30px);
}

.animate-on-scroll[data-animation="fadeInUp"].animated {
    transform: translateY(0);
}

/* Stagger Animation Delays */
.animate-on-scroll[data-delay="100"] {
    transition-delay: 0.1s;
}

.animate-on-scroll[data-delay="150"] {
    transition-delay: 0.15s;
}

.animate-on-scroll[data-delay="200"] {
    transition-delay: 0.2s;
}

.animate-on-scroll[data-delay="250"] {
    transition-delay: 0.25s;
}

.animate-on-scroll[data-delay="300"] {
    transition-delay: 0.3s;
}

.animate-on-scroll[data-delay="350"] {
    transition-delay: 0.35s;
}

.animate-on-scroll[data-delay="400"] {
    transition-delay: 0.4s;
}

/* Responsive Design */
@media (max-width: 992px) {
    .job-summary-card {
        position: relative;
        top: 0;
        margin-top: 2rem;
    }

    .job-description-box,
    .job-requirements-box {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .job-company-badge {
        font-size: 1rem;
        padding: 0.6rem 1.2rem;
    }

    .job-description-box,
    .job-requirements-box,
    .job-summary-card {
        padding: 1.5rem;
    }

    .job-section-title {
        font-size: 1.25rem;
    }

    .job-summary-title {
        font-size: 1.25rem;
    }

    .job-info-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .job-info-icon {
        margin: 0 auto;
    }

    .related-jobs-title {
        font-size: 1.5rem;
    }

    .related-job-card {
        margin-bottom: 1rem;
    }
}





