/* ===================================
   Job Detail Page Styles
   =================================== */

:root {
    --primary-color: #ff9900;
    --secondary-color: #146eb4;
    --accent-color: #ff9900;
    --text-dark: #000000;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-radius: 8px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================
   Hero Section
   =================================== */

.job-hero {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #146eb4 0%, #0d4d7d 100%);
    overflow: hidden;
}

.job-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, rgba(255,255,255,0.03) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255,255,255,0.03) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.03) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.03) 75%);
    background-size: 60px 60px;
    background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
    opacity: 0.3;
    animation: patternMove 60s linear infinite;
}

@keyframes patternMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.job-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255,153,0,0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(255,153,0,0.1) 0%, transparent 50%);
}

.job-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

.job-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.job-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.job-breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.job-breadcrumb a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: width 0.3s ease;
}

.job-breadcrumb a:hover {
    color: var(--white);
}

.job-breadcrumb a:hover::after {
    width: 100%;
}

.breadcrumb-separator {
    opacity: 0.6;
    font-size: 1.2rem;
}

/* ===================================
   Main Content Wrapper
   =================================== */

.job-content-wrapper {
    padding: 40px 0;
    background: linear-gradient(to bottom, var(--white) 0%, var(--bg-light) 100%);
}

.job-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
    align-items: start;
}

/* ===================================
   Main Content Area
   =================================== */

.job-main-content {
    animation: fadeIn 0.8s ease-out 0.3s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.job-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-content {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;
}

.section-content p {
    margin-bottom: 1rem;
}

/* ===================================
   Responsibility List
   =================================== */

.responsibility-list {
    list-style: none;
    padding: 0;
}

.responsibility-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
    padding: 14px 16px;
    background: var(--white);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.responsibility-item:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
}

.check-icon {
    flex-shrink: 0;
    color: var(--primary-color);
    margin-top: 2px;
}

.responsibility-item span {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
}

/* ===================================
   Sidebar - Job Details Card
   =================================== */

.job-sidebar {
    position: sticky;
    top: 40px;
    animation: slideInRight 0.8s ease-out 0.4s both;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.job-details-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.job-details-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--bg-light);
}

.job-details-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border-radius: 6px;
    background: var(--bg-light);
    transition: var(--transition);
}

.detail-item:hover {
    background: linear-gradient(135deg, #f0f4f8 0%, #e8ecf0 100%);
    transform: translateY(-2px);
}

.detail-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 6px;
    color: var(--primary-color);
    box-shadow: 0 2px 6px rgba(255, 153, 0, 0.2);
}

.detail-icon svg {
    width: 16px;
    height: 16px;
}

.detail-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.detail-label {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 600;
}

/* ===================================
   Apply Button
   =================================== */

.apply-button {
    width: 100%;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff7700 100%);
    border: none;
    border-radius: 99px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(255, 153, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.apply-button a{
    color: white;
}

.apply-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.apply-button:hover::before {
    left: 100%;
}

.apply-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 153, 0, 0.4);
}

.apply-button:active {
    transform: translateY(0);
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 1024px) {
    .job-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .job-sidebar {
        position: static;
        max-width: 500px;
        margin: 0 auto;
    }

    .job-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .job-hero {
        height: 300px;
    }

    .job-title {
        font-size: 2rem;
    }

    .job-content-wrapper {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .job-details-card {
        padding: 24px 20px;
    }

    .detail-item {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .job-title {
        font-size: 1.75rem;
    }

    .job-breadcrumb {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .section-content {
        font-size: 0.95rem;
    }

    .detail-label {
        font-size: 0.7rem;
    }

    .detail-value {
        font-size: 0.85rem;
    }
}