/* Jobs Page Specific Styles with Unique Animations */

.jobs-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    overflow: hidden;
}

.jobs-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.jobs-hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 191, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(93, 173, 226, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(135, 206, 235, 0.05) 0%, transparent 50%);
    animation: particleFloat 20s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.jobs-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.jobs-hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    line-height: 1.2;
}

.title-word {
    display: inline-block;
    animation: wordSlideIn 0.8s ease-out forwards;
    opacity: 0;
}

.title-word:nth-child(1) {
    animation-delay: 0.2s;
}

.title-word:nth-child(2) {
    animation-delay: 0.4s;
}

.title-word:nth-child(3) {
    animation-delay: 0.6s;
}

.title-word.highlight {
    background: linear-gradient(135deg, #00bfff 0%, #87ceeb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.2em;
}

@keyframes wordSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) rotateX(90deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

.jobs-hero-subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.8);
    animation: fadeInUp 1s ease-out 0.8s both;
}

/* Zoom In Animation */
@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.zoom-in {
    animation: zoomIn 1s ease-out forwards;
}

/* Fade In Left Animation */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease-out forwards;
}

/* Fade In Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Job Cards Staggered Animation */
.jobs-grid .job-card {
    animation: cardFlipIn 0.6s ease-out forwards;
    opacity: 0;
    transform-style: preserve-3d;
}

.jobs-grid .job-card:nth-child(1) {
    animation-delay: 0.1s;
}

.jobs-grid .job-card:nth-child(2) {
    animation-delay: 0.2s;
}

.jobs-grid .job-card:nth-child(3) {
    animation-delay: 0.3s;
}

.jobs-grid .job-card:nth-child(4) {
    animation-delay: 0.4s;
}

.jobs-grid .job-card:nth-child(5) {
    animation-delay: 0.5s;
}

.jobs-grid .job-card:nth-child(6) {
    animation-delay: 0.6s;
}

@keyframes cardFlipIn {
    from {
        opacity: 0;
        transform: rotateY(-90deg) translateZ(100px);
    }
    to {
        opacity: 1;
        transform: rotateY(0) translateZ(0);
    }
}

.jobs-section {
    padding: 5rem 0;
    background: var(--bg-darker);
}

.section-header {
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.filter-controls {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-select {
    padding: 14px 24px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    background: var(--bg-darker);
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2300bfff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 48px;
}

.filter-select:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.load-more-container {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.load-more-btn,
.find-more-btn {
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid var(--primary-color);
}

.load-more-btn {
    background: transparent;
    color: var(--primary-color);
}

.load-more-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.find-more-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
}

.find-more-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-xl);
}

.nav-menu a.active {
    color: var(--primary-color);
    position: relative;
}

.nav-menu a.active::after {
    width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .jobs-hero-title {
        font-size: 2.5rem;
    }
    
    .jobs-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

