:root {
    --primary-color: #4A7BA7;
    --primary-dark: #3A6485;
    --primary-light: #5a8bb7;
    --accent-color: #ff6b35;
    --accent-hover: #e55a2b;
    --text-dark: #1a1a2e;
    --text-light: #6c757d;
    --bg-light: #f8f9fc;
    --bg-white: #ffffff;
    --border-color: #e8ecef;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --gradient-primary: linear-gradient(135deg, #4A7BA7 0%, #5a8bb7 100%);
    --gradient-hero: #34495E;
}

html {
    overscroll-behavior: none;
    overscroll-behavior-y: none;
    scroll-behavior: smooth;
}

body {
    overscroll-behavior: none;
    overscroll-behavior-y: none;
    max-width: 100vw;
    position: relative;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
header {
    background-color: var(--bg-white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: var(--shadow-md);
    padding: 0.7rem 0;
}

.navbar {
    width: 100%;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 120px;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s;
}

.hamburger .close-icon {
    display: none;
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    line-height: 1;
}

.hamburger.active .bar {
    display: none;
}

.hamburger.active .close-icon {
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.language-selector {
    position: relative;
}

.btn-language {
    background-color: #4A7BA7;
    color: white;
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    box-shadow: var(--shadow-sm);
}

.btn-language:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: #3A6485;
}

.btn-language .arrow {
    font-size: 0.7rem;
    transition: transform 0.3s;
}

.language-dropdown {
    position: absolute;
    top: 110%;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    list-style: none;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1000;
}

.language-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-dropdown li {
    margin: 0;
}

.language-dropdown a {
    display: block;
    padding: 0.7rem 1.2rem;
    color: var(--text-dark);
    text-decoration: none !important;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.language-dropdown a::after {
    content: none !important;
}

.language-dropdown a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-jobs {
    position: relative;
    background: var(--gradient-hero);
    padding: 6rem 0 5rem;
    overflow: hidden;
}

.hero-jobs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

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

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.hero-title {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    font-weight: 400;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

/* ========================================
   FILTER SECTION
   ======================================== */
.filter-section {
    background: var(--bg-white);
    padding: 2rem 0;
    position: sticky;
    top: 70px;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    animation: slideDown 0.5s ease;
}

.filter-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.search-box {
    flex: 1;
    min-width: 300px;
    position: relative;
    display: flex;
    align-items: center;
}

.search-box i {
    position: absolute;
    left: 1.2rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.search-box input {
    width: 100%;
    padding: 1rem 1rem 1rem 3.5rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.3s;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-light);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(74, 123, 167, 0.1);
}

.filter-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-select {
    padding: 1rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    background: var(--bg-light);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 500;
    color: var(--text-dark);
    min-width: 180px;
}

.filter-select:hover {
    border-color: var(--primary-light);
    background: white;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(74, 123, 167, 0.1);
}

/* ========================================
   JOBS GRID
   ======================================== */
.jobs-main {
    background: var(--bg-light);
    padding: 4rem 0;
    min-height: 60vh;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.job-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    animation: fadeInUp 0.6s ease backwards;
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.job-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.job-card:hover::before {
    transform: scaleX(1);
}

.job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.job-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(74, 123, 167, 0.3);
}

.job-badge {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-hot {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.badge-new {
    background: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 184, 148, 0.3);
}

.job-title {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.job-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.job-location i {
    color: var(--accent-color);
    font-size: 1rem;
}

.job-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
    padding: 0.4rem 0.8rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.meta-item i {
    color: var(--primary-color);
}

.job-requirements {
    margin-bottom: 1.5rem;
    padding: 1.2rem;
    background: var(--bg-light);
    border-radius: 12px;
    border-left: 3px solid var(--primary-color);
}

.job-requirements h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.job-requirements ul {
    list-style: none;
    padding: 0;
}

.job-requirements li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

.job-requirements li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.btn-detail {
    width: 100%;
    padding: 1rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.btn-detail:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 123, 167, 0.4);
}

.btn-detail i {
    transition: transform 0.3s;
}

.btn-detail:hover i {
    transform: translateX(4px);
}

/* ========================================
   EMPTY STATE
   ======================================== */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
}

.empty-state i {
    font-size: 5rem;
    color: var(--text-light);
    opacity: 0.3;
    margin-bottom: 1.5rem;
}

.empty-state h3 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.empty-state p {
    color: var(--text-light);
    font-size: 1rem;
}

/* ========================================
   MODAL
   ======================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 1rem;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 24px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: sticky;
    top: 1rem;
    right: 1rem;
    float: right;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-light);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-dark);
    transition: all 0.3s;
    z-index: 10;
}

.modal-close:hover {
    background: var(--accent-color);
    color: white;
    transform: rotate(90deg);
}

.modal-body {
    padding: 2.5rem;
}

.modal-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.modal-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 20px rgba(74, 123, 167, 0.3);
}

.modal-header h2 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.modal-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.modal-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.modal-meta i {
    color: var(--primary-color);
}

.modal-section {
    margin-bottom: 2.5rem;
}

.modal-section h3 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.modal-section h3 i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.modal-list {
    list-style: none;
    padding: 0;
}

.modal-list li {
    position: relative;
    padding: 0.8rem 0 0.8rem 2.5rem;
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    border-bottom: 1px solid var(--border-color);
}

.modal-list li:last-child {
    border-bottom: none;
}

.modal-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.8rem;
    width: 28px;
    height: 28px;
    background: var(--bg-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1rem;
}

.modal-benefits li::before {
    content: '🎁';
}

.modal-footer {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.btn-apply {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-apply:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

.btn-apply i {
    font-size: 1.5rem;
}



/* ========================================
   FOOTER
   ======================================== */
footer {
    background: #34495E;
    color: white;
    padding: 0;
}

.footer-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2.5rem 0;
    gap: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-brand h3 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.6rem;
    color: white;
    margin: 0;
    font-weight: 800;
}

.footer-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.8rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 0.9rem;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    /* Hamburger Menu */
    .hamburger {
        display: flex !important;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background-color: var(--bg-white);
        width: 85%;
        max-width: 320px;
        height: 100vh;
        text-align: left;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-lg);
        padding: 80px 30px 30px 30px;
        gap: 1.5rem;
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 0.8rem 0;
        font-size: 1.05rem;
    }

    .language-dropdown {
        position: relative;
        top: 0;
        box-shadow: none;
        margin-top: 0.5rem;
    }

    /* Hero Section */
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    /* Filter Section */
    .filter-section {
        top: 60px;
        padding: 1.5rem 0;
    }

    .filter-container {
        flex-direction: column;
    }

    .search-box {
        width: 100%;
        min-width: 100%;
    }

    .filter-group {
        width: 100%;
        flex-direction: column;
    }

    .filter-select {
        width: 100%;
    }

    /* Jobs Grid */
    .jobs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .job-title {
        font-size: 1.3rem;
    }

    /* Modal */
    .modal-body {
        padding: 1.5rem;
    }

    .modal-header h2 {
        font-size: 1.6rem;
    }

    .modal-meta {
        flex-direction: column;
        gap: 0.8rem;
    }

    /* CTA Section */
    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .btn-cta {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    /* Footer */
    .footer-main {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 2rem 0;
    }

    .footer-brand h3 {
        font-size: 1.4rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
    }

    .footer-right {
        align-items: center;
        width: 100%;
        gap: 1rem;
    }

    .footer-social {
        justify-content: center;
    }

    .container {
        padding: 0 16px;
    }
}

/* Tablet Responsive */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .jobs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-main {
        gap: 1.5rem;
    }

    .footer-links {
        gap: 1.5rem;
    }
}
/* ========================================
   POSTER-ONLY CARDS (NEW DESIGN)
   ======================================== */

.job-card.poster-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    gap: 0;
    overflow: hidden;
}

.job-poster-container {
    width: 100%;
    flex-grow: 1;
    overflow: hidden;
    background: #f8f9fc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.job-poster-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.job-card.poster-card:hover .job-poster-image {
    transform: scale(1.05);
}

.no-poster-placeholder {
    padding: 2rem;
    text-align: center;
    color: #6c757d;
}

.no-poster-placeholder i {
    font-size: 3rem;
    color: #4A7BA7;
    margin-bottom: 1rem;
}

.no-poster-placeholder h3 {
    font-size: 1.2rem;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

.btn-view-details {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #4A7BA7 0%, #5a8bb7 100%);
    color: white;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border-radius: 0 0 16px 16px;
}

.btn-view-details:hover {
    background: #3A6485;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 123, 167, 0.4);
}

.btn-view-details i {
    transition: transform 0.3s;
}

.btn-view-details:hover i {
    transform: translateX(4px);
}

/* ========================================
   MODAL (POP UP) STYLES
   ======================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 1rem;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.btn-close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #1a1a2e;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    z-index: 10;
}

.btn-close-modal:hover {
    background: #ff6b35;
    color: white;
    transform: rotate(90deg);
}

.modal-header {
    padding: 2rem 2rem 1.5rem 2rem;
    border-bottom: 2px solid #e8ecef;
}

.modal-header h2 {
    font-size: 1.8rem;
    color: #1a1a2e;
    margin-bottom: 0.8rem;
}

.modal-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6c757d;
    font-size: 1rem;
}

.modal-location i {
    color: #ff6b35;
}

.modal-body {
    padding: 2rem;
}

.modal-poster {
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.modal-poster img {
    width: 100%;
    height: auto;
    display: block;
}

.modal-section {
    margin-bottom: 2rem;
}

.modal-section h3 {
    font-size: 1.2rem;
    color: #4A7BA7;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-section h3 i {
    font-size: 1.1rem;
}

.modal-list {
    list-style: none;
    padding: 0;
}

.modal-list li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 0.8rem;
    line-height: 1.6;
    color: #6c757d;
}

.modal-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ff6b35;
    font-weight: bold;
    font-size: 1.1rem;
}

.modal-list.benefits-list li::before {
    content: '🎁';
    font-size: 1rem;
}

.modal-body .jobs-loading {
    padding: 3rem 1rem;
}

/* ========================================
   LOADING & EMPTY STATES
   ======================================== */

.jobs-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    grid-column: 1 / -1;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e8ecef;
    border-top-color: #4A7BA7;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.jobs-loading p {
    color: #6c757d;
    font-size: 1rem;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    grid-column: 1 / -1;
}

.empty-state i {
    font-size: 5rem;
    color: #6c757d;
    opacity: 0.3;
    margin-bottom: 1.5rem;
}

.empty-state h3 {
    font-size: 1.5rem;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: #6c757d;
    font-size: 1rem;
}

/* ========================================
   MOBILE RESPONSIVE FOR NEW DESIGN
   ======================================== */

@media (max-width: 768px) {
    .modal-content {
        max-height: 95vh;
        border-radius: 20px 20px 0 0;
    }

    .modal-header {
        padding: 1.5rem 1.5rem 1rem 1.5rem;
    }

    .modal-header h2 {
        font-size: 1.4rem;
        padding-right: 2rem;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .modal-section h3 {
        font-size: 1.1rem;
    }

    .btn-close-modal {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

    .job-poster-image {
        object-fit: contain;
    }
}