/*
Theme Name: FindSarkariRojgar Fast (Local & SEO Optimized)
Description: 100% Internet Independent, Zero external requests, SEO optimized.
Version: 6.0.0
*/

/* =========================================
   LOCAL FONTS (100% Internet Independent)
========================================= */
/* Cinzel - 700 Bold */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 700;
  font-display: swap; /* SEO: Prevents FOIT (Flash of Invisible Text) */
  src: url('./fonts/cinzel-v23-latin-700.woff2') format('woff2');
}
/* Cinzel - 900 Black */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('./fonts/cinzel-v23-latin-900.woff2') format('woff2');
}
/* Nunito Sans - 400 to 900 Variable */
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('./fonts/nunitosans-v15-latin-regular.woff2') format('woff2');
}

:root {
  /* Colors */
  --navy-deep: #0B2563; --royal-blue: #1347C8; --saffron-orange: #FF6B00;
  --golden-amber: #FFAA00; --india-green: #138808;
  --soft-white: #F8F9FF; --pure-white: #FFFFFF; --light-grey: #E8ECF4;
  --dark-charcoal: #1E293B; --slate-grey: #64748B;
  
  /* Typography with Fallbacks for Zero CLS */
  --font-cinzel: 'Cinzel', Georgia, 'Times New Roman', serif;
  --font-nunito: 'Nunito Sans', system-ui, -apple-system, sans-serif;
}

/* Base Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-nunito); background-color: var(--soft-white); color: var(--dark-charcoal); line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; width: 100%; }

/* --- [Keep the exact same CSS as Version 5.0 below this line] --- */

/* HEADER & NAVIGATION */
.top-alert { background: var(--navy-deep); color: #CBD5E1; padding: 0.5rem 0; font-size: 12px; font-weight: 500; }
.top-alert-inner { display: flex; justify-content: space-between; align-items: center; }
.top-alert-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.top-alert-highlight { color: var(--golden-amber); font-weight: 700; }
.top-alert-links { display: flex; gap: 1.5rem; }

.header-main { background: var(--pure-white); border-bottom: 4px solid var(--light-grey); position: sticky; top: 0; z-index: 50; box-shadow: 0 4px 15px rgba(0,0,0,0.03); }
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; position: relative; }
.logo-wrap { display: flex; align-items: center; gap: 10px; z-index: 51; }
.logo-icon { width: 40px; height: 40px; background: var(--navy-deep); border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid var(--saffron-orange); flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text .find { font-family: var(--font-cinzel); font-weight: 900; font-size: 20px; color: var(--navy-deep); }
.logo-text .sarkari { font-family: var(--font-cinzel); font-weight: 700; font-size: 14px; color: var(--saffron-orange); letter-spacing: 0.5px; }

.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a { font-weight: 700; font-size: 14px; color: var(--navy-deep); display: flex; align-items: center; gap: 4px; padding: 0.5rem 0; }
.nav-links a.active { background: #FFF7ED; color: var(--saffron-orange); padding: 0.5rem 1rem; border-radius: 50px; }

.header-actions { display: flex; align-items: center; gap: 1rem; z-index: 51; }
.search-icon-btn { width: 36px; height: 36px; background: var(--light-grey); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--slate-grey); border: none; cursor: pointer; flex-shrink: 0; }
.btn-alerts { background: var(--golden-amber); color: var(--navy-deep); font-weight: 800; font-size: 14px; padding: 0.6rem 1.25rem; border-radius: 50px; border: none; cursor: pointer; display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.mobile-menu-toggle { display: none; background: transparent; border: none; color: var(--navy-deep); cursor: pointer; padding: 0.5rem; }

/* HERO SECTION */
.hero { background-color: var(--navy-deep); background-image: radial-gradient(rgba(255,255,255,0.08) 1.5px, transparent 1.5px); background-size: 30px 30px; padding: 4.5rem 0 3.5rem 0; }
.hero-live-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.15); padding: 6px 16px; border-radius: 50px; color: #E2E8F0; font-size: 13px; font-weight: 600; margin-bottom: 2rem; }
.hero-live-badge .dot { width: 8px; height: 8px; background: var(--india-green); border-radius: 50%; }
.hero-title { font-family: var(--font-cinzel); font-weight: 900; color: var(--pure-white); font-size: 52px; line-height: 1.15; margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 0.5px; }
.hero-title .highlight { color: var(--golden-amber); }
.hero-tagline { color: #CBD5E1; font-size: 16px; max-width: 700px; margin-bottom: 2.5rem; line-height: 1.6; }

/* Pill Search Bar */
.search-bar-wrapper { background: var(--pure-white); border-radius: 50px; display: flex; align-items: center; padding: 0.4rem; max-width: 850px; margin-bottom: 1.5rem; }
.search-input { flex: 1; border: none; outline: none; background: transparent; padding: 0.75rem 1.5rem; font-size: 15px; font-family: var(--font-nunito); min-width: 0; }
.search-divider { width: 1px; height: 24px; background: var(--light-grey); margin: 0 10px; flex-shrink: 0; }
.search-select { border: none; outline: none; background: transparent; color: var(--slate-grey); font-weight: 600; font-family: var(--font-nunito); padding: 0 1rem; cursor: pointer; flex-shrink: 0; }
.search-btn { background: var(--saffron-orange); color: var(--pure-white); border: none; border-radius: 50px; padding: 0.75rem 2.5rem; font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; flex-shrink: 0; }

/* Trending & Stats */
.trending-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 4rem; font-size: 13px; color: #94A3B8; }
.trending-tag { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.15); color: #CBD5E1; padding: 6px 16px; border-radius: 50px; font-weight: 600; white-space: nowrap; }
.stats-row { display: flex; gap: 5rem; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; }
.stat-item { display: flex; flex-direction: column; }
.stat-num { font-family: var(--font-cinzel); font-weight: 900; font-size: 40px; color: var(--pure-white); line-height: 1; margin-bottom: 6px; }
.stat-num .highlight { color: var(--golden-amber); }
.stat-label { font-size: 13px; color: #94A3B8; font-weight: 500; }

/* CATEGORY ICONS ROW */
.categories-nav { background: var(--pure-white); padding: 1.5rem 0 0 0; border-bottom: 1px solid var(--light-grey); }
.categories-list { display: flex; justify-content: space-between; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.categories-list::-webkit-scrollbar { display: none; }
.category-item { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 90px; cursor: pointer; border-bottom: 3px solid transparent; padding-bottom: 1rem; }
.category-icon { font-size: 28px; }
.category-item span.label { font-size: 12px; font-weight: 800; color: var(--slate-grey); text-transform: uppercase; }
.category-item.active { border-bottom-color: var(--saffron-orange); }
.category-item.active span.label { color: var(--saffron-orange); }

/* TICKER */
.ticker-wrapper { background: var(--pure-white); padding: 0.75rem 1.5rem; display: flex; align-items: center; gap: 1rem; border-bottom: 1px solid var(--light-grey); overflow: hidden; }
.ticker-badge { background: var(--navy-deep); color: white; padding: 6px 14px; border-radius: 50px; font-weight: 800; font-size: 11px; display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.ticker-content { font-size: 13px; font-weight: 700; color: var(--dark-charcoal); display: flex; align-items: center; white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.ticker-content::-webkit-scrollbar { display: none; }
.ticker-content span { display: inline-flex; align-items: center; margin-right: 2rem; }
.ticker-content span::before { content: "▶"; color: var(--saffron-orange); font-size: 10px; margin-right: 8px; }

/* MAIN LAYOUT & CARDS */
.main-wrapper { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; padding: 2.5rem 0; }
.filters-wrap { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2.5rem; }
.filter-pill { background: var(--pure-white); border: 1px solid var(--light-grey); border-radius: 50px; padding: 8px 18px; font-size: 13px; font-weight: 800; color: var(--slate-grey); display: flex; align-items: center; gap: 8px; cursor: pointer; }
.filter-pill.active { background: var(--navy-deep); color: var(--pure-white); border-color: var(--navy-deep); }

.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.section-title { font-family: var(--font-cinzel); font-weight: 700; font-size: 20px; color: var(--navy-deep); border-left: 5px solid var(--saffron-orange); padding-left: 12px; text-transform: uppercase; }
.view-all { color: var(--saffron-orange); font-weight: 700; font-size: 14px; white-space: nowrap; }

.job-card { background: var(--pure-white); border: 1px solid var(--light-grey); border-radius: 12px; padding: 1.5rem; margin-bottom: 1.5rem; display: flex; gap: 1.5rem; box-shadow: 0 4px 6px rgba(0,0,0,0.02); }
.job-card.featured { border: 1px solid var(--golden-amber); }
.job-logo { width: 60px; height: 60px; background: #F8FAFC; border: 1px solid var(--light-grey); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 28px; }
.job-info { flex: 1; min-width: 0; }
.card-top-meta { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.75rem; gap: 1rem; }
.card-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.badge-featured { background: var(--golden-amber); color: var(--pure-white); padding: 4px 10px; border-radius: 4px; font-size: 11px; font-weight: 800; display: flex; align-items: center; gap: 4px; }
.badge-new { background: #FFF7ED; color: var(--saffron-orange); padding: 4px 10px; border-radius: 4px; font-size: 11px; font-weight: 800; }
.badge-hot { background: #FEF2F2; color: #EF4444; padding: 4px 10px; border-radius: 4px; font-size: 11px; font-weight: 800; display: flex; align-items: center; gap: 4px; }
.badge-live { background: #F0FDF4; color: var(--india-green); padding: 4px 10px; border-radius: 4px; font-size: 11px; font-weight: 800; display: flex; align-items: center; gap: 4px; }
.badge-live::before { content: ""; width: 6px; height: 6px; background: var(--india-green); border-radius: 50%; }

.last-date { text-align: right; font-size: 11px; color: var(--slate-grey); line-height: 1.3; flex-shrink: 0; }
.last-date strong { display: block; color: #EF4444; font-size: 13px; font-weight: 800; }
.job-title { font-size: 18px; font-weight: 800; color: var(--navy-deep); margin-bottom: 4px; line-height: 1.3; }
.job-org { font-size: 13px; color: var(--slate-grey); margin-bottom: 1.25rem; }
.job-details-list { font-size: 13px; color: var(--dark-charcoal); display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.5rem; }
.job-details-list li { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.job-details-list li span { color: var(--slate-grey); }
.btn-apply { background: var(--navy-deep); color: var(--pure-white); padding: 10px 24px; border-radius: 50px; font-weight: 700; font-size: 13px; display: inline-flex; justify-content: center; align-items: center; border: none; cursor: pointer; float: right; transition: opacity 0.2s; }

/* SIDEBAR WIDGETS */
.alert-widget { background: linear-gradient(135deg, var(--navy-deep), #1E3A8A); border-radius: 12px; padding: 2rem 1.5rem; text-align: center; color: var(--pure-white); margin-bottom: 2rem; }
.alert-title { font-size: 18px; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 8px; }
.alert-desc { font-size: 13px; color: #CBD5E1; margin-bottom: 1.5rem; line-height: 1.5; }
.alert-buttons { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.btn-wa { background: #22C55E; color: white; padding: 10px 16px; border-radius: 6px; font-weight: 800; font-size: 13px; flex: 1; border: none; display: flex; justify-content: center; align-items: center; gap: 6px;}
.btn-tg { background: #3B82F6; color: white; padding: 10px 16px; border-radius: 6px; font-weight: 800; font-size: 13px; flex: 1; border: none; display: flex; justify-content: center; align-items: center; gap: 6px;}

.sidebar-widget { background: var(--pure-white); border: 1px solid var(--light-grey); border-radius: 12px; overflow: hidden; margin-bottom: 2rem; }
.widget-header { background: var(--royal-blue); color: var(--pure-white); padding: 1rem 1.5rem; font-weight: 800; font-size: 14px; display: flex; align-items: center; gap: 10px; }
.widget-list li { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--light-grey); position: relative; padding-left: 2.5rem; }
.widget-list li::before { content: ""; position: absolute; left: 1.25rem; top: 1.6rem; width: 6px; height: 6px; border-radius: 50%; }
.widget-list li:nth-child(odd)::before { background: var(--saffron-orange); }
.widget-list li:nth-child(even)::before { background: var(--royal-blue); }
.list-title { font-size: 13px; font-weight: 800; color: var(--dark-charcoal); line-height: 1.4; display: block; margin-bottom: 4px; }
.list-meta { font-size: 11px; color: var(--slate-grey); font-weight: 600; }

.exam-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--light-grey); }
.exam-date { background: var(--golden-amber); color: var(--pure-white); width: 44px; height: 44px; border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; line-height: 1; }
.exam-date .d { font-size: 18px; font-weight: 900; }
.exam-date .m { font-size: 10px; font-weight: 800; text-transform: uppercase; }

/* FOOTER SECTION */
.site-footer { background-color: var(--navy-deep); color: #CBD5E1; padding: 4rem 0 2rem 0; border-top: 4px solid var(--saffron-orange); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand-col .footer-logo { display: flex; flex-direction: column; line-height: 1.1; margin-bottom: 1.25rem; }
.footer-brand-col .footer-logo .find { font-family: var(--font-cinzel); font-weight: 900; font-size: 24px; color: var(--pure-white); }
.footer-brand-col .footer-logo .sarkari { font-family: var(--font-cinzel); font-weight: 700; font-size: 16px; color: var(--saffron-orange); letter-spacing: 0.5px; }
.footer-desc { font-size: 14px; line-height: 1.6; margin-bottom: 1.5rem; color: #94A3B8; }
.footer-socials { display: flex; gap: 1rem; }
.social-icon { width: 36px; height: 36px; background: rgba(255,255,255,0.05); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--pure-white); transition: background 0.2s; }
.social-icon:hover { background: var(--saffron-orange); }
.footer-heading { font-family: var(--font-cinzel); font-size: 16px; font-weight: 700; color: var(--pure-white); margin-bottom: 1.5rem; letter-spacing: 0.5px; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { font-size: 14px; font-weight: 500; color: #CBD5E1; transition: color 0.2s; }
.footer-links a:hover { color: var(--golden-amber); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; text-align: center; font-size: 13px; color: #64748B; font-weight: 500; }

/* MOBILE RESPONSIVE MEDIA QUERIES */
@media (max-width: 1024px) {
    .top-alert-links { display: none; }
    .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: var(--pure-white); padding: 1rem 1.5rem; border-top: 1px solid var(--light-grey); box-shadow: 0 10px 15px rgba(0,0,0,0.1); align-items: flex-start; z-index: 49; }
    .nav-links.show-mobile { display: flex; }
    .nav-links a { width: 100%; border-bottom: 1px solid var(--light-grey); padding: 1rem 0; }
    .nav-links a:last-child { border-bottom: none; }
    .nav-links a.active { background: transparent; padding-left: 0; }
    .mobile-menu-toggle { display: block; }
    .btn-alerts .btn-text { display: none; }
    .btn-alerts { padding: 0.6rem; }
    .main-wrapper { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    .hero { padding: 3rem 0 2rem 0; }
    .hero-title { font-size: 34px; }
    .hero-tagline { font-size: 14px; }
    .search-bar-wrapper { flex-direction: column; border-radius: 12px; padding: 0.5rem; gap: 0.5rem; }
    .search-input { width: 100%; padding: 0.75rem 1rem; border-radius: 8px; background: var(--soft-white); }
    .search-divider { width: 100%; height: 1px; margin: 0; }
    .search-select { width: 100%; padding: 0.75rem 1rem; text-align: left; background: var(--soft-white); border-radius: 8px; }
    .search-btn { width: 100%; justify-content: center; border-radius: 8px; }
    .stats-row { gap: 2rem; justify-content: space-between; }
    .stat-item { width: 40%; }
    .stat-num { font-size: 28px; }
    .job-card { padding: 1.25rem; }
    .card-top-meta { flex-direction: column; gap: 0.75rem; }
    .last-date { text-align: left; }
    .job-logo { width: 48px; height: 48px; font-size: 22px; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .footer-brand-col .footer-logo, .footer-socials { align-items: center; justify-content: center; }
}

@media (max-width: 480px) {
    .logo-text .find { font-size: 16px; }
    .logo-text .sarkari { font-size: 11px; }
    .hero-title { font-size: 28px; }
    .job-card { flex-direction: column; gap: 1rem; }
    .job-logo { width: 100%; height: auto; padding: 1rem; background: transparent; border: none; font-size: 32px; justify-content: flex-start; padding: 0; }
    .btn-apply { width: 100%; float: none; margin-top: 1rem; }
}