/*
Theme Name: Get Job Update
Theme URI: https://getjobupdate.com
Author: Get Job Update Team
Author URI: https://getjobupdate.com
Description: Sarkari Naukri, Result, Admit Card ke liye premium WordPress theme. Fastest recruitment news portal.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aziz-career
Tags: government-jobs, sarkari-naukri, news, blog, custom-menu, featured-images, hindi
*/

/* ── CSS VARIABLES ── */
:root {
  /* Brand Colors from Logo */
  --primary: #0a2a5e;
  --primary-light: #1e4b8a;
  --accent: #f64b18;
  --accent-light: #ff6b42;
  --secondary: #ffb800;
  
  /* Semantic Colors */
  --bg: #f0f4f8;
  --surface: #ffffff;
  --text-main: #1a202c;
  --text-muted: #4a5568;
  --border: #e2e8f0;
  
  /* UI Tokens */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET & BASE ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text-main);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .site-name, .sec-title, .widget-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
}

a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

/* ── TOPBAR ── */
.topbar {
  background: var(--primary);
  color: #fff;
  font-size: 12.5px;
  padding: 8px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1001;
}
.topbar .ticker { flex: 1; overflow: hidden; }
.topbar .ticker span { display: inline-block; animation: ticker 40s linear infinite; white-space: nowrap; }
@keyframes ticker { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }
.topbar .ticker a { color: #fff; font-weight: 600; margin-right: 30px; display: inline-block; }
.topbar .links { display: flex; gap: 16px; }
.topbar .links a { color: var(--secondary); font-weight: 700; }
.topbar .links a:hover { color: #fff; }

/* ── HEADER ── */
#masthead {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.site-branding { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.site-branding .logo-icon { width: 55px; height: 55px; }
.site-branding .custom-logo-img { max-height: 55px; width: auto; }
.logo-text .site-name {
  font-size: 26px;
  color: var(--primary);
  line-height: 1;
}
.logo-text .site-name span { color: var(--accent); }
.logo-text .site-description {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  font-weight: 700;
}

.header-search { flex: 1; max-width: 450px; }
.header-search .search-form { 
  display: flex; 
  background: #f1f5f9;
  border-radius: 50px; 
  padding: 4px;
  border: 1px solid transparent;
  transition: var(--transition);
}
.header-search .search-form:focus-within {
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(246, 75, 24, 0.1);
}
.header-search .search-field {
  flex: 1; background: none; border: none; outline: none;
  padding: 10px 20px; font-size: 14px;
}
.header-search .search-submit {
  background: var(--accent); color: #fff; border: none;
  padding: 10px 24px; border-radius: 50px; cursor: pointer;
  font-weight: 700; transition: var(--transition);
}
.header-search .search-submit:hover { background: var(--primary); transform: scale(1.05); }

/* ── NAVIGATION ── */
#site-navigation { background: var(--primary); }
.nav-inner { max-width: 1200px; margin: 0 auto; }
#primary-menu { display: flex; }
#primary-menu li a {
  color: #e2e8f0;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}
#primary-menu li a::after {
  content: '';
  position: absolute; bottom: 0; left: 50%;
  width: 0; height: 3px;
  background: var(--secondary);
  transition: var(--transition);
  transform: translateX(-50%);
}
#primary-menu li a:hover::after,
#primary-menu li.current-menu-item a::after {
  width: 100%;
}
#primary-menu li a:hover { color: #fff; background: rgba(255,255,255,0.05); }

/* ── BREAKING BAR ── */
.breaking-bar {
  background: var(--accent);
  color: #fff;
  padding: 10px 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  box-shadow: inset 0 -2px 10px rgba(0,0,0,0.1);
}
.breaking-label {
  background: #fff; color: var(--accent);
  padding: 4px 14px; font-weight: 900;
  border-radius: 4px; margin-left: 20px;
  font-size: 12px; flex-shrink: 0;
}
.breaking-text { font-size: 14px; font-weight: 600; margin-left: 15px; }

/* ── LAYOUT ── */
.site-content { max-width: 1200px; margin: 0 auto; padding: 30px 20px; }
.content-area { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 30px; }

/* ── HERO BANNER ── */
.hero-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #1a4a94 100%);
  border-radius: 24px;
  padding: 40px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.hero-banner::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: 0.2;
}
.hero-text h1 { font-size: 32px; margin-bottom: 10px; }
.hero-stats { display: flex; gap: 20px; margin-top: 25px; }
.hero-stat {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(5px);
  padding: 15px 25px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}
.hero-stat .num { font-size: 24px; font-weight: 800; color: var(--secondary); display: block; }
.hero-stat .lbl { font-size: 11px; opacity: 0.8; text-transform: uppercase; font-weight: 700; }

/* ── CATEGORY GRID ── */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 40px; }
.cat-card {
  background: #fff; border-radius: var(--radius-md);
  padding: 20px; text-align: center; border: 1px solid var(--border);
  transition: var(--transition);
}
.cat-card:hover { 
  transform: translateY(-5px); 
  border-color: var(--accent); 
  box-shadow: var(--shadow-lg);
}
.cat-card .cat-icon { font-size: 32px; margin-bottom: 10px; display: block; }
.cat-card .cat-label { font-weight: 700; color: var(--primary); }
.cat-card .cat-count { color: var(--accent); font-size: 12px; font-weight: 800; }

/* ── SECTION HEADERS ── */
.sec-header { border-bottom: 2px solid var(--border); padding-bottom: 10px; margin-bottom: 20px; display: flex; justify-content: space-between; align-items: center; }
.sec-title { font-size: 20px; color: var(--primary); position: relative; }
.sec-title::after {
  content: ''; position: absolute; bottom: -12px; left: 0;
  width: 60px; height: 3px; background: var(--accent);
}

/* ── JOB CARDS ── */
.job-list { display: grid; gap: 12px; margin-bottom: 40px; }
.job-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}
.job-card:hover {
  transform: scale(1.01);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}
.job-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; background: var(--accent);
  border-radius: 4px 0 0 4px;
}
.job-dept-icon {
  width: 50px; height: 50px; border-radius: 50%;
  background: #f1f5f9; display: flex; align-items: center; justify-content: center;
  font-size: 24px; flex-shrink: 0;
}
.job-info { flex: 1; }
.job-title { font-size: 15px; color: var(--primary); margin-bottom: 4px; }
.job-meta { font-size: 12px; color: var(--text-muted); display: flex; gap: 15px; }

/* Badges */
.badge {
  padding: 4px 12px; border-radius: 50px; font-size: 11px; font-weight: 800;
  text-transform: uppercase;
}
.badge-new { background: #d1fae5; color: #065f46; }
.badge-result { background: #dbeafe; color: #1e40af; }
.badge-admit { background: #f3e8ff; color: #6b21a8; }

/* ── SIDEBAR ── */
.widget {
  background: #fff; border-radius: var(--radius-md);
  overflow: hidden; margin-bottom: 25px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.widget-title {
  background: var(--primary); color: #fff;
  padding: 15px 20px; font-size: 16px;
  display: flex; align-items: center; gap: 10px;
}
.widget-body { padding: 20px; }
.side-link {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; border-bottom: 1px solid #f1f5f9;
  font-size: 13.5px; font-weight: 600; color: var(--text-main);
}
.side-link:hover { color: var(--accent); padding-left: 5px; }

/* ── FOOTER ── */
#colophon { background: var(--primary); color: #cbd5e0; padding-top: 60px; }
.footer-widgets {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px;
}
.footer-widget h4 { color: #fff; margin-bottom: 20px; font-size: 16px; }
.footer-widget a { color: #a0aec0; display: block; margin-bottom: 8px; font-size: 14px; }
.footer-widget a:hover { color: var(--secondary); }
.site-info {
  background: rgba(0,0,0,0.2); text-align: center;
  padding: 20px; font-size: 13px;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .content-area { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header-inner { flex-direction: column; gap: 15px; }
  .header-search { width: 100%; max-width: none; }
  .hero-banner { flex-direction: column; text-align: center; padding: 30px 20px; }
  .hero-stats { justify-content: center; }
  .footer-widgets { grid-template-columns: 1fr 1fr; }
  .menu-toggle { display: block; background: none; border: none; color: #fff; font-size: 24px; padding: 10px; width: 100%; cursor: pointer; border-bottom: 1px solid rgba(255,255,255,0.1); }
  #primary-menu { display: none; flex-direction: column; width: 100%; }
  #primary-menu.open { display: flex; }
}

@media (max-width: 480px) {
  .cat-grid { grid-template-columns: 1fr; }
  .footer-widgets { grid-template-columns: 1fr; }
  .job-card { flex-direction: column; align-items: flex-start; text-align: left; }
  .job-dept-icon { display: none; }
}
rid { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 20px; }
  .hero-stat { flex: 1 1 100%; }
  .entry-title { font-size: 18px; }
}
