:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #64748b;
    --light: #f8fafc;
    --dark: #1e293b;
    --success: #10b981;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background-color: #f1f5f9;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.site-header {
    background: linear-gradient(120deg, #2563eb, #1d4ed8);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
}

.logo a {
    color: white;
    text-decoration: none;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: white;
}

/* Breadcrumb */
.breadcrumb {
    padding: 1rem 0;
    font-size: 0.9rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Main Content Layout */
.main-content {
    padding: 2rem 0;
}

.jobs-layout {
    display: grid;
    grid-template-columns: 280px 1fr 280px;
    gap: 2rem;
}

/* Filter Sidebar */
.filter-sidebar {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    align-self: start;
    position: sticky;
    top: 100px;
}

.filter-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.filter-group {
    margin-bottom: 1.5rem;
}

.filter-group h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-checkbox input {
    width: 18px;
    height: 18px;
}

.filter-checkbox label {
    font-size: 0.9rem;
}

.filter-select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(to right, var(--primary-dark), var(--primary));
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    color: var(--secondary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--light);
}

/* =========================
   Search Container
========================= */
.search-container {
    margin-bottom: 2.5rem;
    width: 100%;
}

/* =========================
   Form Layout
========================= */
.search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    background: #f9f9f9;
    padding: 0.75rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* =========================
   Text Inputs
========================= */
.search-input {
    flex: 2 1 250px;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: #0077b5;
    box-shadow: 0 0 8px rgba(0, 119, 181, 0.2);
    outline: none;
}

/* =========================
   Multi-category / Dropdown
========================= */
.search-select {
    flex: 1 1 180px;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 0.95rem;
    background: #fff;
    transition: all 0.3s ease;
}

.search-select:focus {
    border-color: #0077b5;
    box-shadow: 0 0 8px rgba(0, 119, 181, 0.2);
    outline: none;
}

/* =========================
   Search Button
========================= */
.search-button {
    padding: 0.75rem 1.5rem;
    border: none;
    background: #0077b5;
    color: #fff;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.search-button:hover {
    background: #005f8d;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* =========================
   Responsive for Mobile
========================= */
@media (max-width: 768px) {
    .search-form {
        flex-direction: column;
        gap: 0.6rem;
        padding: 0.5rem;
    }

    .search-input, .search-select, .search-button {
        flex: 1 1 100%;
    }
}


/* Job Listings */
.jobs-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.job-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.job-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.company-name {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.job-details {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.job-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary);
}

.job-description {
    margin: 1rem 0;
    color: var(--secondary);
    line-height: 1.6;
}

.view-details-btn {
    display: inline-block;
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    color: white;
    text-decoration: none;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.view-details-btn:hover {
    background: linear-gradient(to right, var(--primary-dark), var(--primary));
    transform: translateY(-2px);
}

/* Right Sidebar */
.right-sidebar {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    align-self: start;
    position: sticky;
    top: 100px;
}

/* Each widget */
.sidebar-widget {
    margin-bottom: 2.5rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sidebar-widget:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* Widget heading */
.sidebar-widget h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e0e0e0;
    color: #333;
}

/* Social buttons */
.social-share {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-btn {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-weight: 500;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.social-btn:hover {
    opacity: 0.95;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Platform colors */
.social-btn.whatsapp { background: #25D366; }
.social-btn.facebook { background: #3b5998; }
.social-btn.telegram { background: #0088cc; }
.social-btn.tiktok { background: #010101; }
.social-btn.youtube { background: #FF0000; }
.social-btn.instagram { background: #E1306C; }
.social-btn.pinterest { background: #BD081C; }
.social-btn.twitter { background: #1DA1F2; }
.social-btn.linkedin { background: #0077b5; }
.social-btn.reddit { background: #FF4500; }

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .right-sidebar {
        position: relative;
        top: 0;
        margin-top: 2rem;
    }

    .sidebar-widget {
        padding: 1rem;
        margin-bottom: 2rem;
    }

    .social-share {
        gap: 0.6rem;
    }

    .social-btn {
        font-size: 0.95rem;
        padding: 0.65rem;
    }
}


/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
    grid-column: 1 / -1;
}

.pagination a, .pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
}

.pagination a {
    background: white;
    color: var(--primary);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pagination .current {
    background: var(--primary);
    color: white;
}

/* Job Detail Page Premium Styling */
.job-detail-page {
    padding: 2rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

/* Job Hero Section */
.job-hero {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    color: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.job-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(30deg);
}

.job-hero-left {
    flex: 2;
    position: relative;
    z-index: 2;
}

.job-hero-right {
    flex: 1;
    position: relative;
    z-index: 2;
}

.job-hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.company-name {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    color: white;
}

.company-logo {
    max-width: 150px;
    max-height: 80px;
    object-fit: contain;
    border-radius: 10px;
    background: white;
    padding: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.job-meta-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.job-meta-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.job-meta-card li {
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
}

.job-meta-card li:last-child {
    border-bottom: none;
}

.job-meta-card strong {
    font-weight: 600;
    margin-right: 0.5rem;
}

/* Content Sections */
.job-description,
.job-skills,
.job-perks,
.apply-section,
.related-jobs,
.social-share-widget,
.join-channels,
.other-categories {
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.job-description:hover,
.job-skills:hover,
.job-perks:hover,
.apply-section:hover,
.related-jobs:hover,
.social-share-widget:hover,
.join-channels:hover,
.other-categories:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.job-detail-page h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #2d3748;
    position: relative;
    padding-bottom: 0.5rem;
}

.job-detail-page h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, #667eea, #764ba2);
    border-radius: 2px;
}

.description-content {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #4a5568;
}

.description-content p {
    margin-bottom: 1.5rem;
}

/* Skills & Perks Lists */
.skills-list,
.perks-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    list-style: none;
    padding: 0;
}

.skills-list li,
.perks-list li {
    padding: 1rem 1.5rem;
    background: #f7fafc;
    border-radius: 10px;
    border-left: 4px solid #667eea;
    font-weight: 500;
    transition: all 0.3s ease;
}

.skills-list li:hover,
.perks-list li:hover {
    background: #edf2f7;
    transform: translateX(5px);
}

/* Apply Section */
.apply-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn.primary {
    background: linear-gradient(to right, #667eea, #764ba2);
    color: white;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.btn.secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn.secondary:hover {
    background: #f7fafc;
    transform: translateY(-3px);
}

.apply-instructions {
    padding: 1.5rem;
    background: #f0fff4;
    border-radius: 12px;
    border-left: 4px solid #48bb78;
    font-style: italic;
}

/* Related Jobs */
.related-jobs-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.related-job-card {
    padding: 1.5rem;
    background: #f7fafc;
    border-radius: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    border: 1px solid #e2e8f0;
}

.related-job-card:hover {
    background: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    color: inherit;
}

.related-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.related-company {
    color: #667eea;
    font-weight: 500;
}

/* Social Share Widget */
.social-share-widget {
    text-align: center;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.social-share-widget h2 {
    color: white;
}

.social-share-widget h2::after {
    background: white;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-buttons .btn {
    min-width: 140px;
}

.btn.facebook {
    background: #3b5998;
    color: white;
}

.btn.twitter {
    background: #1da1f2;
    color: white;
}

.btn.linkedin {
    background: #0077b5;
    color: white;
}

.btn.whatsapp {
    background: #25d366;
    color: white;
}

/* Join Channels */
.join-channels {
    text-align: center;
}

.channels-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.channels-buttons .btn {
    min-width: 140px;
}

.btn.telegram {
    background: #0088cc;
    color: white;
}

.btn.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
}

.btn.tiktok {
    background: #000000;
    color: white;
}

/* Other Categories */
.categories-scroll {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding: 1rem 0;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e0 transparent;
}

.categories-scroll::-webkit-scrollbar {
    height: 6px;
}

.categories-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 3px;
}

.category-card {
    flex: 0 0 auto;
    padding: 1rem 1.5rem;
    background: #f7fafc;
    border-radius: 50px;
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: 1px solid #e2e8f0;
}

.category-card:hover {
    background: #667eea;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Responsive Design */
@media (max-width: 968px) {
    .job-hero {
        flex-direction: column;
        text-align: center;
    }
    
    .job-hero h1 {
        font-size: 2rem;
    }
    
    .job-meta-card {
        margin: 0 auto;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .job-detail-page {
        padding: 1rem;
    }
    
    .job-hero,
    .job-description,
    .job-skills,
    .job-perks,
    .apply-section,
    .related-jobs,
    .social-share-widget,
    .join-channels,
    .other-categories {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .job-hero h1 {
        font-size: 1.8rem;
    }
    
    .job-detail-page h2 {
        font-size: 1.5rem;
    }
    
    .skills-list,
    .perks-list {
        grid-template-columns: 1fr;
    }
    
    .apply-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .related-jobs-container {
        grid-template-columns: 1fr;
    }
    
    .social-buttons,
    .channels-buttons {
        flex-direction: column;
    }
    
    .social-buttons .btn,
    .channels-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .job-hero h1 {
        font-size: 1.5rem;
    }
    
    .company-name {
        font-size: 1.2rem;
    }
    
    .job-detail-page h2 {
        font-size: 1.3rem;
    }
    
    .description-content {
        font-size: 1rem;
    }
}

/* Animation for page elements */
.job-hero,
.job-description,
.job-skills,
.job-perks,
.apply-section,
.related-jobs,
.social-share-widget,
.join-channels,
.other-categories {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animations for list items */
.skills-list li,
.perks-list li {
    animation: fadeIn 0.5s ease-out;
    animation-fill-mode: both;
}

.skills-list li:nth-child(1) { animation-delay: 0.1s; }
.skills-list li:nth-child(2) { animation-delay: 0.2s; }
.skills-list li:nth-child(3) { animation-delay: 0.3s; }
.skills-list li:nth-child(4) { animation-delay: 0.4s; }
.skills-list li:nth-child(5) { animation-delay: 0.5s; }

.perks-list li:nth-child(1) { animation-delay: 0.1s; }
.perks-list li:nth-child(2) { animation-delay: 0.2s; }
.perks-list li:nth-child(3) { animation-delay: 0.3s; }
.perks-list li:nth-child(4) { animation-delay: 0.4s; }
.perks-list li:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
/* Footer */
.site-footer {
    background: var(--dark);
    color: white;
    padding: 3rem 0;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: white;
    opacity: 0.8;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .jobs-layout {
        grid-template-columns: 1fr 1fr;
    }
    
    .right-sidebar {
        grid-column: 1 / -1;
        position: static;
    }
}

@media (max-width: 768px) {
    .jobs-layout {
        grid-template-columns: 1fr;
    }
    
    .filter-sidebar {
        position: static;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .job-details {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .job-meta {
        grid-template-columns: 1fr;
    }
    
    .apply-buttons {
        flex-direction: column;
    }
}