/* Custom Styles */
:root {
    --primary-color: #4361ee;
    --secondary-color: #3a0ca3;
    --accent-color: #4cc9f0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    background-size: cover;
}

/* Category Cards */
.category-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

/* Job Cards */
.job-card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.job-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    transform: translateY(-3px);
}

.job-listing {
    border-left: 4px solid var(--primary-color);
}

/* Dashboard Cards */
.stats-card {
    border-radius: 10px;
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Sidebar */
.list-group-item.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Tables */
.table th {
    border-top: none;
    font-weight: 600;
}

/* Badges */
.badge {
    font-weight: 500;
    padding: 5px 10px;
}

/* Form Controls */
.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(67, 97, 238, 0.25);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Footer */
.footer {
    margin-top: auto;
    background-color: #343a40;
}

/* Category Page Specific Styles */
.category-badge {
    background: linear-gradient(135deg, #4361ee, #3a0ca3);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.category-card-hover {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.category-card-hover:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(67, 97, 238, 0.15) !important;
}

.category-icon-animate i {
    transition: all 0.3s ease;
}

.category-card-hover:hover .category-icon-animate i {
    transform: rotate(360deg) scale(1.2);
}

.category-stats {
    position: relative;
    overflow: hidden;
}

.category-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: translateX(-100%);
}

.category-card-hover:hover .category-stats::before {
    animation: shimmer 1.5s ease-in-out infinite;
}

@keyframes shimmer {
    100% { transform: translateX(100%); }
}

/* Category colors */
.category-it {
    border-color: #4361ee !important;
}

.category-healthcare {
    border-color: #28a745 !important;
}

.category-finance {
    border-color: #ffc107 !important;
}

.category-marketing {
    border-color: #fd7e14 !important;
}

.category-education {
    border-color: #20c997 !important;
}

.category-engineering {
    border-color: #dc3545 !important;
}

/* Gradient backgrounds for category cards */
.category-gradient-1 {
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.1), rgba(58, 12, 163, 0.05));
}

.category-gradient-2 {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1), rgba(32, 201, 151, 0.05));
}

.category-gradient-3 {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(253, 126, 20, 0.05));
}

/* Pulse effect for new jobs */
@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(67, 97, 238, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(67, 97, 238, 0); }
    100% { box-shadow: 0 0 0 0 rgba(67, 97, 238, 0); }
}

.new-job-indicator {
    position: relative;
}

.new-job-indicator::after {
    content: 'NEW';
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc3545;
    color: white;
    font-size: 0.6rem;
    padding: 2px 8px;
    border-radius: 10px;
    animation: pulse-glow 2s infinite;
}

/* Category filter */
.category-filter {
    transition: all 0.3s ease;
}

.category-filter:hover {
    background: #4361ee !important;
    color: white !important;
}

/* Responsive category grid */
@media (max-width: 768px) {
    .category-card-hover {
        margin-bottom: 15px;
    }
    
    .category-stats .row > div {
        margin-bottom: 15px;
    }
}

/* Category breadcrumb */
.category-breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 10px 20px;
}

/* Floating category button */
.floating-category-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4361ee, #3a0ca3);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(67, 97, 238, 0.4);
    transition: all 0.3s ease;
}

.floating-category-btn:hover {
    transform: scale(1.1) rotate(180deg);
    box-shadow: 0 8px 25px rgba(67, 97, 238, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .job-meta span {
        display: block;
        margin-bottom: 5px;
    }
}