/* Page Header Styling */
.page-header {
    text-align: center;
    padding: 40px 20px; /* Reduced height as requested */
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-bottom: 1px solid #e2e8f0;
}

.page-header h1 {
    font-size: 32px;
    color: #0f172a;
    margin-bottom: 10px;
    font-weight: 800;
}

/* Search Box Styling */
.search-container {
    max-width: 600px;
    margin: 20px auto 0;
    position: relative;
}

.search-container input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border-radius: 50px;
    border: 1px solid #cbd5e1;
    font-size: 16px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.search-container input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 20px;
}

/* Main Content */
.container {
    
    margin: 10px auto;
    margin-top: 30px;
    padding: 0 30px;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(300px, 1fr));
    gap: 25px;
}

/* Professional Card Styling */
.category-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #333;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: #2563eb;
}

.card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.category-card:hover .card-image img {
    transform: scale(1.1);
}

.card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    font-size: 20px;
    color: #1e293b;
    margin-bottom: 10px;
    font-weight: 700;
}

.card-content p {
    color: #64748b;
    min-height: 60px;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.card-footer {
    padding: 15px 20px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
}

.btn-explore {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
}

.btn-explore i {
    transition: 0.3s;
}

.category-card:hover .btn-explore i {
    transform: translateX(5px);
}

/* Empty State */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    background: #f8fafc;
    border-radius: 20px;
    border: 2px dashed #cbd5e1;
}







/* Container 90% Width */
.container-wide {
    width: 90%;
    max-width: 1400px;
    margin: 40px auto;
}

/* Category Detail Header */
.category-hero {
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.hero-content { display: flex; gap: 20px; align-items: center; }

.hero-icon {
    width: 70px; height: 70px;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 15px;
    display: flex; align-items: center; justify-content: center;
    font-size: 32px;
}

.hero-text h1 { font-size: 28px; margin-bottom: 5px; color: #0f172a; }
.hero-text p { color: #64748b; font-size: 15px; margin: 0; }

/* Sub-Search Bar (Jobs inside category) */
.job-search-wrapper {
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 30px;
    border: 1px solid #e2e8f0;
}

.job-search-form {
    display: flex;
    gap: 15px;
}

.job-search-form input {
    flex-grow: 1;
    padding: 12px 20px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    font-size: 15px;
}

.btn-search-job {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 0 25px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-search-job:hover { background: #1d4ed8; }

/* Professional Job List Item */
.job-list-card {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
}

.job-list-card:hover {
    border-color: #2563eb;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.1);
}

.job-main-info { display: flex; gap: 20px; align-items: center; }

.comp-logo {
    width: 60px; height: 60px;
    background: #f8fafc;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; color: #94a3b8;
    border: 1px solid #f1f5f9;
}

.title-box h4 { font-size: 19px; color: #1e293b; margin-bottom: 5px; }
.meta-tags { display: flex; gap: 15px; }
.meta-tags span { 
    font-size: 13px; color: #64748b; 
    display: flex; align-items: center; gap: 5px; 
}

.btn-detail {
    padding: 10px 20px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: 0.3s;
}

.job-list-card:hover .btn-detail {
    background: #2563eb;
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .container-wide { width: 95%; }
    .category-hero { flex-direction: column; text-align: center; gap: 20px; }
    .job-list-card { flex-direction: column; gap: 20px; text-align: center; }
    .job-main-info { flex-direction: column; }
    .job-search-form { flex-direction: column; }
    .meta-tags { justify-content: center; }
    .jobs-grid {
        display: grid;
        grid-template-columns: repeat(1, minmax(300px, 1fr));
        gap: 10px;
    }
    .container {
        
        margin: 0px;
        margin-top: 10px;
        padding: 10px;
    }
    

}