/*
Theme Name: Pvt Naukri Portal (Custom Multi-Column Footer & Clean Layout)
Theme URI: https://privatenaukri.in
Author: Custom Job Engine
Description: High-speed, clean Indian Job Portal Theme inspired by Karmasandhan layout with Roboto Condensed typography, clean single post layout without fake tables, 4-column modern footer, and 4 English social alert buttons (WhatsApp, Telegram, Instagram, Facebook).
Version: 3.3.0
*/

@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,700&display=swap');

:root {
  --font-family: 'Roboto Condensed', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-weight-medium: 500;
  --primary-blue: #1e3a8a;
  --secondary-blue: #2563eb;
  --header-bg: #1d4ed8;
  --border-color: #e2e8f0;
  --bg-body: #f1f5f9;
  --card-bg: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --tag-bg: #f8fafc;
  --urgent-red: #dc2626;
  --wa-green: #25d366;
  --wa-green-hover: #1eb954;
  --tg-blue: #0088cc;
  --footer-bg: #080c1e;
}

* { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
  font-family: var(--font-family) !important; 
}

body { 
  background: var(--bg-body); 
  color: var(--text-main); 
  line-height: 1.6; 
  font-size: 15px; 
  font-weight: var(--font-weight-medium);
  -webkit-font-smoothing: antialiased;
}

/* Top Branding Bar */
.top-header { background: #ffffff; border-bottom: 2px solid #e2e8f0; padding: 12px 0; }
.top-header-inner { max-width: 1240px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 16px; }
.site-brand { font-size: 28px; font-weight: 800; color: #1e3a8a; text-decoration: none; letter-spacing: -0.3px; display: flex; align-items: center; gap: 8px; }
.site-brand span { color: #dc2626; }
.site-logo img { max-height: 48px; width: auto; display: block; }
.site-tagline { font-size: 13px; color: var(--text-muted); font-weight: 500; text-transform: uppercase; margin-top: -2px; }
.header-actions { display: flex; gap: 10px; }
.header-btn { padding: 8px 14px; font-size: 13px; font-weight: 600; border-radius: 4px; text-decoration: none; color: #fff; display: inline-flex; align-items: center; gap: 6px; }
.btn-wa-header { background: var(--wa-green); }
.btn-tg-header { background: var(--tg-blue); }

/* Navigation Bar */
.main-nav-bar { background: var(--header-bg); border-top: 1px solid rgba(255,255,255,0.1); position: sticky; top: 0; z-index: 999; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.nav-inner { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; }
.ks-menu { list-style: none; display: flex; flex-wrap: wrap; margin: 0; padding: 0; }
.ks-menu > li { position: relative; }
.ks-menu > li > a { display: block; padding: 12px 18px; color: #ffffff; text-decoration: none; font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: 0.3px; border-right: 1px solid rgba(255,255,255,0.12); }
.ks-menu > li:first-child > a { background: #1e3a8a; }
.ks-menu > li > a:hover { background: #1e40af; }

/* Submenu Dropdown */
.ks-menu .sub-menu { display: none; position: absolute; top: 100%; left: 0; background: #ffffff; min-width: 250px; box-shadow: 0 8px 20px rgba(0,0,0,0.15); list-style: none; padding: 0; border: 1px solid #cbd5e1; z-index: 1000; }
.ks-menu li:hover > .sub-menu { display: block; }
.ks-menu .sub-menu li a { display: block; padding: 10px 16px; color: #1e293b; text-decoration: none; font-weight: 500; font-size: 14px; border-bottom: 1px solid #f1f5f9; text-transform: none; }
.ks-menu .sub-menu li a:hover { background: #f8fafc; color: var(--secondary-blue); padding-left: 20px; transition: all 0.15s; }

/* Filter Strip */
.filter-search-strip { background: #ffffff; border-bottom: 1px solid var(--border-color); padding: 14px 0; margin-bottom: 20px; }
.filter-container { max-width: 1240px; margin: 0 auto; padding: 0 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) 130px; gap: 10px; align-items: center; }
.filter-select { width: 100%; padding: 8px 12px; border: 1px solid #cbd5e1; border-radius: 4px; font-size: 14px; background: #fff; color: #334155; font-weight: 500; }
.filter-btn { padding: 9px 16px; background: var(--secondary-blue); color: #fff; border: none; border-radius: 4px; font-weight: 700; font-size: 14px; cursor: pointer; text-align: center; }
.filter-btn:hover { background: #1d4ed8; }

/* Site Wrapper Grid */
.site-wrapper { max-width: 1240px; margin: 0 auto; padding: 0 16px; display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }
@media (max-width: 900px) { .site-wrapper { grid-template-columns: 1fr; } }

/* Section Box */
.section-box { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 6px; margin-bottom: 20px; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,0.03); }
.section-header { background: #ffffff; border-bottom: 2px solid var(--header-bg); padding: 12px 18px; display: flex; justify-content: space-between; align-items: center; }
.section-title { font-size: 17px; font-weight: 700; color: #0f172a; text-transform: uppercase; letter-spacing: 0.3px; display: flex; align-items: center; gap: 8px; }
.section-title::before { content: ""; display: inline-block; width: 4px; height: 18px; background: var(--header-bg); border-radius: 2px; }
.view-all-link { font-size: 13px; font-weight: 600; color: var(--secondary-blue); text-decoration: none; }
.view-all-link:hover { text-decoration: underline; }

/* List Row Items */
.job-item-row { padding: 12px 18px; border-bottom: 1px solid #f1f5f9; display: flex; justify-content: space-between; align-items: center; transition: background 0.15s; }
.job-item-row:hover { background: #f8fafc; }
.job-item-row:last-child { border-bottom: none; }
.job-item-title { font-size: 15px; font-weight: 500; color: #1e293b; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4; }
.job-item-title:hover { color: var(--secondary-blue); }
.job-item-date { font-size: 12px; font-weight: 600; color: #94a3b8; white-space: nowrap; margin-left: 12px; }

/* Dual Section Grid */
.dual-section-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .dual-section-grid { grid-template-columns: 1fr; } }

/* Pills Grid */
.category-pills-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; padding: 14px 18px; }
.cat-pill-item { background: #f8fafc; border: 1px solid #e2e8f0; padding: 8px 12px; border-radius: 4px; text-decoration: none; color: #334155; font-size: 13px; font-weight: 500; text-align: center; transition: all 0.15s; }
.cat-pill-item:hover { background: var(--header-bg); color: #fff; border-color: var(--header-bg); }

/* Sidebar Widgets */
.sidebar-box { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 6px; margin-bottom: 20px; overflow: hidden; }
.sidebar-header { background: #0f172a; color: #fff; padding: 11px 16px; font-size: 15px; font-weight: 700; text-transform: uppercase; }

/* Social Alerts Box Buttons */
.social-alert-widget {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  margin-bottom: 20px;
}
.social-alert-header {
  background: #2563eb;
  color: #ffffff;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.social-alert-body {
  padding: 18px 16px;
  text-align: center;
}
.social-alert-desc {
  font-size: 14px;
  color: #334155;
  margin-bottom: 16px;
  font-weight: 600;
  line-height: 1.5;
}
.alert-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  color: #ffffff !important;
  margin-bottom: 10px;
  transition: all 0.2s ease;
}
.alert-social-btn:last-child { margin-bottom: 0; }
.btn-alert-wa { background: #22c55e; }
.btn-alert-wa:hover { background: #16a34a; }
.btn-alert-tg { background: #0284c7; }
.btn-alert-tg:hover { background: #0369a1; }
.btn-alert-insta { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.btn-alert-insta:hover { opacity: 0.92; }
.btn-alert-fb { background: #1877f2; }
.btn-alert-fb:hover { background: #166fe5; }

/* Single Post Card */
.single-post-card { background: #fff; border: 1px solid var(--border-color); border-radius: 6px; padding: 24px; }
.single-post-title { font-size: 26px; font-weight: 800; color: #0f172a; line-height: 1.4; margin-bottom: 12px; }
.post-meta-strip { font-size: 13px; color: #64748b; padding-bottom: 12px; border-bottom: 1px solid #f1f5f9; margin-bottom: 18px; font-weight: 500; }

/* Sticky WhatsApp Floating Button */
.wa-float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: var(--wa-green);
  color: #ffffff !important;
  border-radius: 50px;
  padding: 10px 18px 10px 14px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.45);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 99999;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid #ffffff;
}
.wa-float-btn svg { width: 26px; height: 26px; fill: currentColor; }
.wa-float-btn:hover {
  background-color: var(--wa-green-hover);
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}
@media (max-width: 600px) {
  .wa-float-btn { bottom: 18px; right: 18px; padding: 10px 14px; font-size: 13px; }
}

/* 4-Column Footer */
.site-footer {
  background: var(--footer-bg);
  color: #ffffff;
  padding: 45px 20px 25px;
  margin-top: 40px;
}
.footer-container {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 35px;
  margin-bottom: 35px;
}
.footer-col h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
}
.footer-col p {
  font-size: 14px;
  line-height: 1.6;
  color: #94a3b8;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  line-height: 2;
}
.footer-col ul li a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.15s;
}
.footer-col ul li a:hover {
  color: #38bdf8;
  text-decoration: underline;
}
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  font-size: 13px;
  color: #64748b;
}
