:root {
    --primary: #84bcdd;
    --primary-dark: #2c7bac;
    --primary-light: #A3D4EE;
    --secondary: #00E5D4;
    --accent: #FFC107;
    --dark: #000000;
    --light: #FFFFFF;
    --bg-light: #f1f2f4;
    --bg-white: #ffffff;
    --text-dark: #212121;
    --text-main: #424242;
    --text-medium: #555555;
    --text-light: #757575;
    --text-muted: rgba(255, 255, 255, 0.7);
    --text-white: #ffffff;
    --heading-color: var(--text-white);
    --gradient-primary: linear-gradient(135deg, #84bcdd 0%, #6BA4C5 100%);
    --gradient-secondary: linear-gradient(90deg, #212121 0%, #424242 100%);
    --gradient-hero: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
    --gradient-cta: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
    --gradient-blue: linear-gradient(135deg, #3949ab, #5c6bc0);
    --container-max-width: 1400px;
    --section-padding-large: 100px 0;
    --section-padding-medium: 80px 0;
    --section-padding-small: 50px 0;
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-full: 50px;
    --shadow-soft: 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.12);
    --shadow-text: 0 2px 4px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s ease;
    --transition-slow: all 0.6s ease;
    --primary-blue: #1a2980;
    --secondary-blue: #23395d;
    --accent-blue: #84bcdd;
    --light-blue: #5dade2;
    --dark-blue: #010D2E;
    --text-gray: #555555;
    --border-color: var(--text-white);
}

/* ==========================================================================
   JOB DETAIL PAGE STYLES
   ========================================================================== */



/* Hero Section */
.job-detail-hero {
    background: url('/static/assets/hero.jpeg') center 40% / cover no-repeat;
    position: relative;
    text-align: center;
    overflow: hidden;
    padding: 5rem 0 0 0;
    min-height: 95vh;
    display: flex;
    align-items: center;
}

/* Dark overlay for better text readability */
.job-detail-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.job-detail-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="1200" height="600" fill="url(%23grid)"/></svg>');
    pointer-events: none;
}

.job-detail-hero .container {
    position: relative;
    z-index: 10;
}

.job-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--accent-blue);
    border-radius: 50px;
    color: var(--accent-blue);
    font-size: 14px;
    font-weight: 600;
    margin-right: 10px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.job-badge:hover {
    background: var(--accent-blue);
    color: var(--text-white);
    transform: translateY(-2px);
}

.job-detail-hero h1 {
    color: var(--text-white);
    font-size: 48px;
    margin: 20px 0 15px;
    font-weight: 900;
}

.job-detail-hero p {
    color: var(--text-white);
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

/* Job Content */
.job-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 20px;
    background: var(--bg-white);
}

.job-section {
    margin-bottom: 50px;
}

.job-section h2 {
    color: var(--primary-blue);
    font-size: 32px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
    font-weight: 700;
}

.job-section>p {
    color: var(--text-gray);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Lists */
.job-section ul {
    list-style: none;
    padding: 0;
}

.job-section ul li {
    padding: 12px 0;
    padding-left: 30px;
    color: var(--text-gray);
    position: relative;
    line-height: 1.6;
    font-size: 15px;
}

.job-section ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: bold;
    font-size: 16px;
}

/* Skills Section */
.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.skill-tag {
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(132, 188, 221, 0.1) 0%, rgba(26, 41, 128, 0.1) 100%);
    border: 2px solid var(--accent-blue);
    border-radius: 50px;
    color: var(--accent-blue);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: var(--accent-blue);
    color: var(--text-light);
    transform: translateY(-2px);
}

/* Compensation & Deadline */
.job-section .deadline-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-gray);
    font-size: 16px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 12px;
    border-left: 4px solid var(--accent-blue);
}

.job-section .deadline-info i {
    color: var(--accent-blue);
}

/* Apply Section */
.apply-section {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--secondary-blue) 100%);
    padding: 25px 0;
    border-top: 2px solid var(--accent-blue);
    z-index: 100;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.2);
}

.apply-section .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.apply-info h4 {
    color: var(--text-light);
    margin: 0 0 8px 0;
    font-size: 20px;
    font-weight: 700;
}

.apply-info p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 15px;
}

.btn-apply {
    padding: 16px 45px;
    background: var(--accent-blue);
    color: var(--text-light) !important;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-blue);
    display: inline-block;
}

.btn-apply:hover {
    background: var(--text-light);
    color: var(--accent-blue) !important;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(132, 188, 221, 0.3);
}

/* Responsive Design */
@media (max-width: 992px) {
    .job-detail-hero h1 {
        font-size: 36px;
    }

    .job-content {
        padding: 60px 20px;
    }

    .job-section h2 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .job-detail-hero {
        background: url('/static/assets/office-workspace.jpg') no-repeat center 40%;
        background-size: cover;
        min-height: 95vh;
        padding: 180px 0 100px;
        text-align: center;
        position: relative;
    }

    .job-detail-hero h1 {
        font-size: 32px;
    }

    .job-badge {
        padding: 6px 16px;
        font-size: 13px;
    }

    .apply-section .container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .btn-apply {
        width: 100%;
        text-align: center;
    }

    .skills-list {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .job-detail-hero {
        padding: 120px 0 40px;
    }

    .job-detail-hero h1 {
        font-size: 28px;
    }

    .job-content {
        padding: 40px 15px;
    }

    .job-section h2 {
        font-size: 24px;
    }

    .job-section ul li {
        font-size: 14px;
        padding-left: 25px;
    }
}