/* ===== VIBRANT ORANGE JOB OPPORTUNITIES THEME ===== */
/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --vibrant-orange: #FF6B00;
    --dark-orange: #E55A00;
    --light-orange: #FF8C42;
    --orange-glow: #FF944D;
    --pure-black: #000000;
    --dark-gray: #1A1A1A;
    --medium-gray: #333333;
    --light-gray: #666666;
    --pure-white: #FFFFFF;
    --off-white: #F8F9FA;
    --card-bg: #FFFFFF;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    --shadow: rgba(255, 107, 0, 0.25);
    --glow: rgba(255, 107, 0, 0.4);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a1a 50%, #2d2d2d 100%);
    color: var(--pure-white);
    line-height: 1.6;
    min-height: 100vh;
    padding-top: 20px; /* Space between header and body */
}

/* Container & Layout */
.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Header with Vibrant Orange Theme */
h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--pure-white);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding: 20px 0;
}

h1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 5px;
    background: linear-gradient(90deg, var(--vibrant-orange), var(--light-orange), var(--vibrant-orange));
    border-radius: 10px;
}

h1::after {
    content: '💼';
    font-size: 2rem;
    position: absolute;
    top: -10px;
    right: 20%;
    background: var(--vibrant-orange);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px var(--glow);
}

/* Search Form - Orange Theme */
.search-form {
    max-width: 600px;
    margin: 0 auto 50px auto;
    background: linear-gradient(135deg, var(--pure-black) 0%, var(--dark-gray) 100%);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--vibrant-orange);
    position: relative;
    overflow: hidden;
}

.search-form::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--vibrant-orange), var(--light-orange), var(--vibrant-orange));
    border-radius: 22px;
    z-index: -1;
    animation: borderPulse 3s ease-in-out infinite;
}

@keyframes borderPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.form-select {
    border: 2px solid var(--medium-gray);
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 600;
    background: var(--pure-black);
    color: var(--pure-white);
    transition: all 0.3s ease;
}

.form-select:focus {
    border-color: var(--vibrant-orange);
    box-shadow: 0 0 0 4px var(--glow);
    outline: none;
    background: var(--dark-gray);
}

.btn-primary {
    background: linear-gradient(135deg, var(--vibrant-orange) 0%, var(--dark-orange) 100%);
    border: none;
    border-radius: 12px;
    padding: 14px 30px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px var(--shadow);
    border: 2px solid var(--pure-white);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--dark-orange) 0%, var(--vibrant-orange) 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px var(--glow);
    letter-spacing: 2px;
}

/* Job Cards - Orange Theme */
.card-job {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, var(--pure-white) 0%, var(--off-white) 100%);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 2px solid transparent;
}

.card-job::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--vibrant-orange), var(--light-orange), var(--vibrant-orange));
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-job:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(255, 107, 0, 0.3);
}

.card-job:hover::before {
    opacity: 1;
}

/* PERFECT IMAGE STYLING - Smaller & Well-proportioned */
.card-img-top {
    width: 100%;
    height: 180px; /* Reduced from 250px */
    object-fit: contain;
    object-position: center;
    background: linear-gradient(135deg, var(--pure-black) 0%, var(--dark-gray) 100%);
    padding: 15px;
    border-bottom: 3px solid var(--vibrant-orange);
}

/* Card Body */
.card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--pure-black);
    margin-bottom: 12px;
    line-height: 1.3;
    background: linear-gradient(135deg, var(--vibrant-orange), var(--dark-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-subtitle {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--vibrant-orange) !important;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: var(--pure-black);
    padding: 5px 12px;
    border-radius: 20px;
    display: inline-block;
    border: 1px solid var(--vibrant-orange);
}

.card-text {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
    font-size: 0.95rem;
}

/* Location & Contact Info */
.card-body p {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--medium-gray);
    font-weight: 500;
}

.card-body strong {
    color: var(--pure-black);
    font-weight: 700;
}

.card-body a {
    color: var(--vibrant-orange);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.card-body a:hover {
    color: var(--dark-orange);
    text-decoration: underline;
}

/* Social Links - Orange Theme */
.social-links {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px dashed var(--vibrant-orange);
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--vibrant-orange) 0%, var(--dark-orange) 100%);
    color: var(--pure-white);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    border: 2px solid var(--pure-white);
    box-shadow: 0 4px 15px var(--shadow);
}

.social-links a:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px var(--glow);
    background: linear-gradient(135deg, var(--dark-orange) 0%, var(--vibrant-orange) 100%);
}

/* No Jobs Message - Orange Theme */
.no-jobs {
    text-align: center;
    padding: 80px 40px;
    background: linear-gradient(135deg, var(--pure-black) 0%, var(--dark-gray) 100%);
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    margin: 60px 0;
    border: 3px solid var(--vibrant-orange);
    position: relative;
    overflow: hidden;
}

.no-jobs::before {
    content: "💼";
    font-size: 5rem;
    display: block;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--vibrant-orange), var(--light-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px var(--glow));
}

.no-jobs {
    font-size: 1.4rem;
    color: var(--pure-white);
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Grid Layout */
.row {
    margin: 0 -15px;
}

.col-md-6 {
    padding: 0 15px;
    margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 15px;
    }
    
    .container {
        margin: 30px auto;
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2.5rem;
        margin-bottom: 30px;
        padding: 15px 0;
    }
    
    h1::after {
        right: 10%;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .search-form {
        margin-bottom: 40px;
        padding: 20px;
    }
    
    .card-img-top {
        height: 160px; /* Adjusted for mobile */
    }
    
    .card-body {
        padding: 20px;
    }
    
    .card-title {
        font-size: 1.2rem;
    }
    
    .social-links a {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h1::after {
        display: none;
    }
    
    .search-form {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-select {
        margin-right: 0 !important;
    }
    
    .card-img-top {
        height: 140px; /* Further reduced for mobile */
    }
    
    .col-md-6 {
        margin-bottom: 25px;
    }
    
    .no-jobs {
        padding: 60px 20px;
        margin: 40px 0;
    }
    
    .no-jobs::before {
        font-size: 4rem;
    }
}

/* Animation for cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-job {
    animation: fadeInUp 0.6s ease forwards;
}

/* Stagger animation for multiple cards */
.card-job:nth-child(1) { animation-delay: 0.1s; }
.card-job:nth-child(2) { animation-delay: 0.2s; }
.card-job:nth-child(3) { animation-delay: 0.3s; }
.card-job:nth-child(4) { animation-delay: 0.4s; }

/* Image loading state */
.card-img-top.loading {
    background: linear-gradient(90deg, #2d2d2d 25%, #3d3d3d 50%, #2d2d2d 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--dark-gray);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--vibrant-orange), var(--dark-orange));
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(var(--dark-orange), var(--vibrant-orange));
}