/* CareerKhoj - Modern Jobs, Career & Education Portal CSS */
:root {
    --primary: #1e3a8a;
    --primary-light: #2563eb;
    --primary-dark: #1e293b;
    --secondary: #0d9488;
    --secondary-hover: #0f766e;
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --bg-light: #f8fafc;
    --surface: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
    --shadow-hover: 0 12px 24px -4px rgba(30,58,138,0.12);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* Navbar & Header */
.top-notice-bar {
    background: #0f172a;
    color: #cbd5e1;
    font-size: 0.82rem;
    padding: 6px 0;
}

.top-notice-bar a {
    color: #38bdf8;
    text-decoration: none;
}

.navbar-brand-ck {
    font-weight: 800;
    font-size: 1.45rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.5px;
    text-decoration: none;
    white-space: nowrap;
}

.navbar-brand-ck .logo-badge {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-link-ck {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    white-space: nowrap !important;
    font-weight: 600;
    font-size: 0.88rem;
    color: #334155 !important;
    padding: 8px 12px !important;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-link-ck i {
    font-size: 0.95rem;
}

.nav-link-ck:hover, .nav-link-ck.active {
    color: var(--primary) !important;
    background-color: #f1f5f9;
}

.navbar .dropdown-menu {
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    min-width: 250px;
}

.navbar .dropdown-item {
    font-size: 0.88rem;
    padding: 8px 14px;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.navbar .dropdown-item:hover {
    background-color: #f1f5f9;
    color: var(--primary);
}

/* Hero Section */
.hero-wrapper {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e293b 60%, #0f172a 100%);
    color: #ffffff;
    padding: 65px 0 75px;
    position: relative;
    overflow: hidden;
}

.hero-wrapper::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: radial-gradient(circle at 80% 20%, rgba(13, 148, 136, 0.25) 0%, transparent 60%);
    pointer-events: none;
}

.hero-search-box {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 12px;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.25);
}

.hero-quick-tags a {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.82rem;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
}

.hero-quick-tags a:hover {
    background: #fff;
    color: var(--primary);
}

/* Category Grid & Cards */
.cat-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    transition: all 0.25s ease;
    text-decoration: none;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-sm);
}

.cat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
    color: var(--primary);
}

.cat-icon-wrap {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-sm);
    background: #eff6ff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Job Cards */
.job-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: all 0.25s ease;
    position: relative;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.job-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

.job-card.featured-job {
    border-left: 4px solid var(--accent);
}

.job-company-logo {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    object-fit: contain;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    padding: 4px;
}

.job-tag {
    font-size: 0.78rem;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 500;
}

.btn-bookmark {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.2s;
    padding: 4px;
}

.btn-bookmark:hover, .btn-bookmark.saved {
    color: #e11d48;
}

/* Tab Pills */
.nav-pills-ck .nav-link {
    color: #475569;
    font-weight: 600;
    border-radius: 30px;
    padding: 8px 18px;
    transition: all 0.2s;
}

.nav-pills-ck .nav-link.active {
    background-color: var(--primary);
    color: #fff;
}

/* Quick Notice Strip (Results / Admit cards) */
.notice-item {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s;
}

.notice-item:last-child {
    border-bottom: none;
}

.notice-item:hover {
    background-color: #f8fafc;
}

/* Live Search Suggestions Dropdown */
#searchSuggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1050;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    max-height: 380px;
    overflow-y: auto;
    display: none;
}

.suggestion-item {
    padding: 10px 14px;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.9rem;
}

.suggestion-item:hover {
    background-color: #f8fafc;
    color: var(--primary);
}

/* Blog Article Layout */
.article-content {
    font-size: 1.06rem;
    line-height: 1.8;
    color: #334155;
}

.article-content h2 {
    font-size: 1.45rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    padding-bottom: 6px;
    border-bottom: 2px solid #e2e8f0;
}

.article-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #1e293b;
}

.article-content ul, .article-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-toc {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 18px;
    margin-bottom: 24px;
}

/* Verified & Scam Badges */
.badge-verified {
    background-color: #dcfce7;
    color: #166534;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
}

.badge-govt {
    background-color: #fef3c7;
    color: #92400e;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
}

/* Footer */
footer {
    background-color: #0f172a;
    color: #94a3b8;
    font-size: 0.9rem;
    margin-top: auto;
}

footer a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: #38bdf8;
}

.footer-heading {
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1.2rem;
    letter-spacing: 0.5px;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .hero-wrapper {
        padding: 35px 0 45px;
    }
    .hero-search-box {
        padding: 10px;
    }
    .navbar-brand-ck {
        font-size: 1.25rem;
    }
}
