:root {
    --primary-color: #1877F2;
    /* Facebook Blue */
    --secondary-color: #42b72a;
    --bg-color: #f0f2f5;
    --card-bg: #ffffff;
    --text-main: #050505;
    --text-secondary: #65676B;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 1px 2px rgba(0, 0, 0, 0.2);
    --radius-lg: 12px;
    --radius-md: 8px;
    --radius-pill: 50px;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-color);
    font-family: var(--font-family);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
    padding-bottom: 60px;
    /* Space for bottom nav */
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    color: var(--text-main);
}

/* Card Styling */
.card,
.job-item,
.company-item {
    background: var(--card-bg);
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 16px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:active,
.job-item:active {
    transform: scale(0.98);
}

/* Navbar Modernization */
.navbar {
    background: var(--card-bg) !important;
    box-shadow: var(--shadow-sm);
    padding: 0.5rem 1rem;
}

.navbar-brand img {
    height: 40px;
}

/* Buttons */
.btn {
    border-radius: var(--radius-md);
    font-weight: 600;
    text-transform: none;
    padding: 8px 16px;
    transition: all 0.2s;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Mobile Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--card-bg);
    box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    z-index: 1000;
    display: none;
    /* Hidden by default, shown on mobile */
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 10px;
    font-weight: 500;
}

.bottom-nav-item i {
    font-size: 20px;
    margin-bottom: 4px;
}

.bottom-nav-item.active {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .bottom-nav {
        display: flex;
    }

    /* Hide top nav elements on mobile if needed, or simplify */
    .navbar-collapse {
        background: var(--card-bg);
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
        box-shadow: var(--shadow-md);
        padding: 10px;
    }
}

/* Job Feed Styling */
.job-feed-item {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.job-feed-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.job-feed-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #e4e6eb;
}

.job-feed-meta h5 {
    margin: 0;
    font-size: 16px;
}

.job-feed-meta span {
    font-size: 12px;
    color: var(--text-secondary);
}

.job-feed-body {
    font-size: 14px;
    line-height: 1.5;
}

.job-feed-actions {
    display: flex;
    gap: 8px;
    border-top: 1px solid #f0f2f5;
    padding-top: 12px;
    margin-top: 4px;
}

.action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    background: transparent;
    border: none;
    font-weight: 600;
    cursor: pointer;
}

.action-btn:hover {
    background-color: #f2f2f2;
}

/* Job Card Tags */
.job-feed-body .badge {
    color: #050505;
    /* Dark text */
    background-color: #f0f2f5;
    /* Light gray background */
    border: 1px solid #ced0d4 !important;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: var(--radius-md);
    font-size: 12px;
}

/* Hero Section Redesign - Premium App Style */
.searchwrap {
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    /* Fallback */
    background: radial-gradient(circle at 10% 20%, rgb(239, 246, 255) 0%, rgb(255, 255, 255) 90%);
    padding: 60px 0 80px;
    position: relative;
    overflow: hidden;
}

/* Decorative Blobs */
.searchwrap::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: linear-gradient(45deg, #3b82f6, #8b5cf6);
    filter: blur(80px);
    opacity: 0.15;
    border-radius: 50%;
    z-index: 0;
    animation: floatBlob 10s infinite alternate;
}

.searchwrap::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, #ec4899, #f43f5e);
    filter: blur(80px);
    opacity: 0.12;
    border-radius: 50%;
    z-index: 0;
    animation: floatBlob 8s infinite alternate-reverse;
}

@keyframes floatBlob {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(20px, 40px);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: #1e293b;
    letter-spacing: -1px;
    line-height: 1.2;
}

.hero-title span {
    background: linear-gradient(135deg, #2563eb, #db2777);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #64748b;
    margin-bottom: 40px;
    font-weight: 400;
}

/* Premium Floating Search Bar */
.hero-search-bar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 10px;
    border-radius: 20px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    max-width: 720px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.hero-search-bar:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 30px 60px -12px rgba(37, 99, 235, 0.15);
    border-color: #fff;
    background: #fff;
}

.hero-search-input {
    border: none;
    padding: 16px 24px;
    font-size: 17px;
    width: 100%;
    outline: none;
    background: transparent;
    color: #1e293b;
    font-weight: 500;
}

.hero-search-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.hero-search-btn {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 16px 36px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.hero-search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.3);
}

/* Quick Action Chips */
.hero-chips {
    margin-top: 32px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-chip {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    color: #475569;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-chip:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #2563eb;
    transform: translateY(-2px);
}

.hero-chip i {
    color: #94a3b8;
    font-size: 12px;
}

/* Premium Featured Job Card */
.featured-job-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid #f0f2f5;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.featured-job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: #e4e6eb;
}

.featured-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(255, 165, 0, 0.3);
}

.f-job-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.f-job-logo {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid #f0f2f5;
    padding: 2px;
    background: #fff;
}

.f-job-info {
    flex: 1;
}

.f-job-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
    line-height: 1.3;
}

.f-job-company {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.f-job-details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.f-job-tag {
    background: #f8fafc;
    color: #475569;
    font-size: 12px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #e2e8f0;
}

.f-job-tag i {
    color: #94a3b8;
    font-size: 11px;
}

.f-job-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #f1f5f9;
    padding-top: 16px;
}

.f-job-posted {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
}

.f-job-apply-btn {
    background: #e7f3ff;
    color: #1877F2;
    font-weight: 600;
    font-size: 13px;
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.2s;
}

.f-job-apply-btn:hover {
    background: #1877F2;
    color: #fff;
    text-decoration: none;
}

@media (max-width: 768px) {
    .featured-job-card {
        padding: 20px;
    }

    .f-job-logo {
        width: 50px;
        height: 50px;
    }

    .f-job-title {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .searchwrap {
        padding: 40px 0 50px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-search-bar {
        flex-direction: column;
        border-radius: 24px;
        padding: 12px;
        gap: 12px;
        background: #fff;
    }

    .hero-search-input {
        text-align: center;
        border-bottom: 1px solid #f1f5f9;
        padding: 12px;
    }

    .hero-search-btn {
        width: 100%;
        padding: 16px;
        border-radius: 16px;
    }

    .hero-chips {
        gap: 8px;
    }

    .hero-chip {
        padding: 6px 14px;
        font-size: 13px;
    }

    .hero-chip {
        padding: 6px 14px;
        font-size: 13px;
    }
}

/* Premium Categories Section */
.categories-section {
    padding: 60px 0;
    background: #fff;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.category-card {
    background: #fff;
    border: 1px solid #f0f2f5;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: #e4e6eb;
    text-decoration: none;
}

.category-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.category-card:hover .category-icon-wrapper {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: scale(1.1);
}

.category-icon {
    font-size: 28px;
    color: #0284c7;
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    color: #fff;
}

.category-name {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.3;
}

.category-count {
    font-size: 13px;
    color: #64748b;
    background: #f8fafc;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.2s;
}

.category-card:hover .category-count {
    background: #f1f5f9;
    color: #334155;
}

@media (max-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .category-card {
        padding: 16px;
    }

    .category-icon-wrapper {
        width: 48px;
        height: 48px;
    }

    .category-icon {
        font-size: 20px;
    }

    .category-name {
        font-size: 14px;
    }
}

.f-job-description {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Modern How It Works Section */
.how-it-works-section {
    padding: 80px 0;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}

.hiw-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 24px;
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
    border: 1px solid #e2e8f0;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    opacity: 0;
    /* Start hidden for animation */
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hiw-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: #fff;
}

.hiw-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #e0f2fe, #f0f9ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #0284c7;
    transition: all 0.5s ease;
    position: relative;
}

.hiw-card:hover .hiw-icon {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    transform: rotateY(180deg);
}

.hiw-card:hover .hiw-icon i {
    transform: rotateY(-180deg);
    /* Keep icon upright */
}

.hiw-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1e293b;
}

.hiw-text {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 15px;
}

.hiw-step-number {
    position: absolute;
    top: -15px;
    right: -10px;
    font-size: 100px;
    font-weight: 900;
    color: #f1f5f9;
    opacity: 0.6;
    z-index: -1;
    transition: all 0.4s ease;
    font-family: var(--font-family);
    line-height: 1;
}

.hiw-card:hover .hiw-step-number {
    color: #e2e8f0;
    transform: scale(1.1) translate(-10px, 10px);
    opacity: 0.8;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Premium Top Cities Section */
.cities-section {
    padding: 80px 0;
    background: #fff;
}

.city-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 320px;
    display: block;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 24px;
}

.city-img-wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
}

.city-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.city-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    transition: all 0.3s ease;
    z-index: 1;
}

.city-card:hover .city-img-wrapper img {
    transform: scale(1.1);
}

.city-name {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 6px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.city-jobs-count {
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.9;
}

.city-arrow {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: absolute;
    top: 20px;
    right: 20px;
    opacity: 0;
    transform: translate(-10px, 10px);
    transition: all 0.3s ease;
}

.city-card:hover .city-arrow {
    opacity: 1;
    transform: translate(0, 0);
}

.city-card:hover .city-name {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .city-card {
        height: 240px;
    }

    .city-name {
        font-size: 20px;
    }
}

.city-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 320px;
    display: block;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 24px;
}

.city-img-wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
}

.city-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.city-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    transition: all 0.3s ease;
    z-index: 1;
}

.city-card:hover .city-img-wrapper img {
    transform: scale(1.1);
}

.city-name {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 6px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.city-jobs-count {
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.9;
}

.city-arrow {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: absolute;
    top: 20px;
    right: 20px;
    opacity: 0;
    transform: translate(-10px, 10px);
    transition: all 0.3s ease;
}

.city-card:hover .city-arrow {
    opacity: 1;
    transform: translate(0, 0);
}

.city-card:hover .city-name {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .city-card {
        height: 240px;
    }

    .city-name {
        font-size: 20px;
    }
}

/* Premium Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: #fff;
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #f0f2f5;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: #e4e6eb;
}

.quote-icon {
    font-size: 40px;
    color: #e2e8f0;
    margin-bottom: 20px;
    line-height: 1;
}

.testimonial-text {
    font-size: 15px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
    flex: 1;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.user-info h5 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.user-info span {
    font-size: 13px;
    color: #64748b;
}

.rating-stars {
    color: #fbbf24;
    font-size: 14px;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 24px;
    }
}

/* =========================================
   PREMIUM HEADER STYLES
   ========================================= */
body {
    padding-top: 80px;
}

.premium-header {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    padding: 0 40px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
    transition: all 0.3s ease;
}

.premium-header .logo img {
    max-height: 45px;
    width: auto;
    transition: transform 0.3s ease;
}

.premium-header .logo:hover img {
    transform: scale(1.02);
}

.premium-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.premium-nav-link {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.premium-nav-link:hover,
.premium-nav-link.active {
    color: #0ea5e9;
    text-decoration: none;
}

.premium-nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #0ea5e9;
    transition: width 0.3s ease;
}

.premium-nav-link:hover::after,
.premium-nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-header-login {
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    padding: 10px 20px;
    transition: color 0.3s ease;
}

.btn-header-login:hover {
    color: #0ea5e9;
    text-decoration: none;
}

.btn-header-register {
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    color: #ffffff !important;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.25);
    transition: all 0.3s ease;
}

.btn-header-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.35);
    color: #ffffff;
}

/* Mobile Toggle */
.mobile-toggle-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #1e293b;
    cursor: pointer;
}

@media (max-width: 991px) {
    .premium-header {
        padding: 0 20px;
        height: 70px;
    }

    .premium-nav,
    .header-actions {
        display: none;
    }

    .mobile-toggle-btn {
        display: block;
    }
}


/* =========================================
   CATALOG STYLE CATEGORIES (Native App Feel)
   ========================================= */
.categories-section {
    padding: 60px 0;
    background-color: #f8fafc;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.catalog-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 6px rgba(148, 163, 184, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.catalog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(148, 163, 184, 0.15);
    border-color: #e2e8f0;
    text-decoration: none;
}

.catalog-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: transform 0.3s ease;
    color: #0ea5e9;
    font-size: 28px;
}

.catalog-card:hover .catalog-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: #ffffff;
}

.catalog-name {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.catalog-card:hover .catalog-name {
    color: #0ea5e9;
}

.catalog-count {
    font-size: 14px;
    color: #64748b;
    background: #f1f5f9;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
}

/* Mobile Native App Feel */
@media (max-width: 768px) {
    .categories-section {
        padding: 40px 0;
    }

    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns like app store */
        gap: 16px;
        padding: 0 8px;
    }

    .catalog-card {
        padding: 20px 16px;
        border-radius: 16px;
    }

    .catalog-icon-wrapper {
        width: 56px;
        height: 56px;
        font-size: 24px;
        margin-bottom: 12px;
    }

    .catalog-name {
        font-size: 16px;
    }

    .catalog-count {
        font-size: 12px;
    }
}

/* Mobile Sidebar Styles - Moved from header.blade.php */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background: #fff;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 100000 !important;
    display: flex;
    flex-direction: column;
}

.mobile-sidebar.open {
    transform: translateX(0);
}

.mobile-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.close-sidebar-btn {
    background: none;
    border: 0;
    font-size: 24px;
    color: #64748b;
}

.mobile-sidebar-links {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-y: auto;
}

.mobile-sidebar-links li a {
    display: block;
    padding: 15px 20px;
    color: #334155;
    text-decoration: none;
    border-bottom: 1px solid #f8fafc;
    font-weight: 500;
}

.mobile-sidebar-links li a:hover {
    background: #f8fafc;
    color: #0ea5e9;
}

.mobile-sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 99999 !important;
}


/* Sidebar Filter Accordion Styles - Moved from list.blade.php */
.filter-wrapper {
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.filter-accordion-item {
    border-bottom: 1px solid #f1f5f9;
    padding: 16px 0;
}

.filter-accordion-item:last-child {
    border-bottom: none;
}

.filter-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: #1e293b;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.filter-accordion-header:hover {
    color: #3b82f6;
}

.filter-accordion-header i {
    font-size: 0.8rem;
    color: #94a3b8;
    transition: transform 0.3s;
}

.filter-accordion-item.active .filter-accordion-header i {
    transform: rotate(180deg);
}

.filter-accordion-body {
    padding-top: 16px;
    display: none;
    /* Default hidden, logic toggles it */
}

.filter-accordion-item.active .filter-accordion-body {
    display: block;
    /* Show when active */
}

.filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 200px;
    overflow-y: auto;
    scrollbar-width: thin;
}

/* Custom Scrollbar */
.filter-list::-webkit-scrollbar {
    width: 4px;
}

.filter-list::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.filter-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.filter-list li {
    margin-bottom: 12px;
}

.filter-list .form-check-label {
    font-size: 0.9rem;
    color: #475569;
    cursor: pointer;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-list .count {
    font-size: 0.8rem;
    color: #94a3b8;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 8px;
}

.view-more-btn {
    font-size: 0.85rem;
    color: #3b82f6;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
    margin-top: 8px;
    display: none;
}

/* Mobile Filter Sidebar (Off-canvas) */
@media (max-width: 991px) {
    .sidebar-content {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #f8fafc;
        z-index: 1050;
        transform: translateY(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        padding: 0;
        display: flex;
        flex-direction: column;
    }

    .sidebar-content.open {
        transform: translateY(0);
    }

    .mobile-filter-header {
        background: #fff;
        padding: 16px 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid #e2e8f0;
        position: sticky;
        top: 0;
        z-index: 10;
    }

    .mobile-filter-footer {
        padding: 16px 20px;
        background: #fff;
        border-top: 1px solid #e2e8f0;
        position: sticky;
        bottom: 0;
        z-index: 10;
    }
}

/* Premium Upload Resume Card - Moved from list.blade.php */
.upload-resume-card {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 20px;
    padding: 30px 24px;
    position: relative;
    overflow: hidden;
    color: #fff;
    box-shadow: 0 10px 30px -10px rgba(30, 41, 59, 0.5);
    text-align: center;
}

.urc-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: #60a5fa;
    backdrop-filter: blur(10px);
}

.urc-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}

.urc-content p {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 24px;
    line-height: 1.5;
}

.btn-urc {
    display: inline-block;
    padding: 12px 28px;
    background: #3b82f6;
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.5);
}

.btn-urc:hover {
    background: #2563eb;
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.5);
}

.urc-bg-shape {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

/* Mobile App-like Compact Style */
@media (max-width: 991px) {
    .upload-resume-card {
        padding: 12px 16px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        text-align: left;
        min-height: auto;
        background: #1e293b;
        margin-top: 10px;
    }

    .urc-icon {
        margin: 0 12px 0 0;
        width: 42px;
        height: 42px;
        font-size: 18px;
        flex-shrink: 0;
        background: rgba(255, 255, 255, 0.1);
        margin-bottom: 0;
    }

    .urc-content {
        flex-grow: 1;
    }

    .urc-content h3 {
        font-size: 0.95rem;
        margin-bottom: 2px;
    }

    .urc-content p {
        font-size: 0.75rem;
        margin-bottom: 8px;
        /* Reduced gap */
        line-height: 1.2;
        display: block;
    }

    .btn-urc {
        padding: 6px 14px;
        font-size: 0.75rem;
        border-radius: 8px;
        box-shadow: none;
        display: inline-block;
    }

    .urc-bg-shape {
        display: none;
    }
}