/*
Theme Name: Aziz Career Solutions
Theme URI: https://azizcareer.com
Author: Aziz Career Solutions
Author URI: https://azizcareer.com
Description: Sarkari Naukri, Result, Admit Card ke liye professional WordPress theme. Latest Jobs, Results, Admit Cards aur Sarkari Yojana ki jankari ek jagah.
Version: 1.0.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 {
  --orange: #E85D04;
  --orange-light: #F48C06;
  --navy: #1B3A6B;
  --dark: #1a1a2e;
  --gray: #4a5568;
  --light-bg: #FFF8F3;
  --card-bg: #ffffff;
  --border: #e2e8f0;
  --text: #2d3748;
  --badge-green: #38a169;
  --badge-red: #e53e3e;
  --badge-blue: #3182ce;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Hind', sans-serif;
  background: #f7f8fc;
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
}

a { color: var(--orange); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy); }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

/* ── TOPBAR ── */
.topbar {
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  padding: 6px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}
.topbar .ticker { flex: 1; overflow: hidden; white-space: nowrap; }
.topbar .ticker span { display: inline-block; animation: ticker 35s linear infinite; }
@keyframes ticker { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }
.topbar .links a { color: #ffd166; text-decoration: none; margin-left: 14px; font-weight: 600; }
.topbar .links a:hover { color: #fff; }

/* ── HEADER ── */
#masthead {
  background: #fff;
  border-bottom: 3px solid var(--orange);
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 20px;
}
.site-branding { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.site-branding .logo-icon { width: 60px; height: 60px; }
.logo-text .site-name {
  font-family: 'Baloo 2', cursive;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--navy);
}
.logo-text .site-name .reer { color: var(--orange); }
.logo-text .site-description {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gray);
  font-weight: 600;
  text-transform: uppercase;
}

/* Header Search */
.header-search { flex: 1; max-width: 400px; }
.header-search .search-form { display: flex; border: 2px solid var(--orange); border-radius: 8px; overflow: hidden; }
.header-search .search-field {
  flex: 1; padding: 9px 14px; border: none; outline: none;
  font-family: 'Hind', sans-serif; font-size: 14px;
}
.header-search .search-submit {
  background: var(--orange); color: #fff; border: none;
  padding: 9px 16px; cursor: pointer; font-size: 16px; transition: background .2s;
}
.header-search .search-submit:hover { background: var(--navy); }

/* ── NAVIGATION ── */
#site-navigation { background: var(--navy); }
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; }
#primary-menu { display: flex; flex-wrap: wrap; }
#primary-menu li a {
  color: #e2e8f0;
  text-decoration: none;
  padding: 12px 16px;
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background .2s, color .2s;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  position: relative;
}
#primary-menu li a::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange);
  display: inline-block;
}
#primary-menu li a:hover,
#primary-menu li.current-menu-item a {
  background: rgba(255,255,255,0.07);
  color: #fff;
  border-bottom-color: var(--orange);
}
/* Dropdown */
#primary-menu li { position: relative; }
#primary-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%; left: 0;
  background: #fff;
  min-width: 220px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border-radius: 0 0 8px 8px;
  border-top: 3px solid var(--orange);
  z-index: 999;
}
#primary-menu li:hover .sub-menu { display: block; }
#primary-menu .sub-menu li a {
  color: var(--text);
  border-bottom: 1px solid var(--border);
  padding: 10px 14px;
  font-size: 13px;
}
#primary-menu .sub-menu li a:hover { color: var(--orange); background: var(--light-bg); }

/* ── BREAKING BAR ── */
.breaking-bar {
  background: var(--orange);
  color: #fff;
  padding: 8px 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.breaking-label {
  background: var(--navy);
  color: #fff;
  padding: 4px 16px;
  font-weight: 800;
  font-size: 12px;
  white-space: nowrap;
  letter-spacing: 1px;
  flex-shrink: 0;
  margin-right: 12px;
}
.breaking-text {
  white-space: nowrap;
  animation: marquee 45s linear infinite;
  font-size: 13px;
  font-weight: 600;
}
@keyframes marquee { 0% { transform: translateX(100vw); } 100% { transform: translateX(-100%); } }

/* ── LAYOUT ── */
.site-content { max-width: 1200px; margin: 0 auto; padding: 20px 16px; }
.content-area { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; }

/* ── HERO BANNER ── */
.hero-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #2d5a9e 60%, var(--orange) 100%);
  border-radius: 12px;
  padding: 32px 28px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.hero-banner::before {
  content: ''; position: absolute;
  right: -40px; top: -40px;
  width: 200px; height: 200px;
  border-radius: 50%; background: rgba(255,255,255,0.06);
}
.hero-icon { font-size: 64px; line-height: 1; }
.hero-text h1 { font-family: 'Baloo 2', cursive; font-size: 26px; font-weight: 800; margin-bottom: 8px; }
.hero-text p { font-size: 14px; opacity: .85; margin-bottom: 16px; }
.hero-stats { display: flex; gap: 20px; flex-wrap: wrap; }
.hero-stat {
  text-align: center;
  background: rgba(255,255,255,0.12);
  padding: 10px 18px;
  border-radius: 8px;
}
.hero-stat .num { font-family: 'Baloo 2', cursive; font-size: 22px; font-weight: 800; color: #ffd166; }
.hero-stat .lbl { font-size: 11px; opacity: .8; }

/* ── CATEGORIES GRID ── */
.cat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 24px; }
.cat-card {
  background: #fff;
  border-radius: 10px;
  padding: 16px 12px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  border: 2px solid var(--border);
  transition: all .25s;
}
.cat-card:hover { border-color: var(--orange); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(232,93,4,0.12); }
.cat-card .cat-icon { font-size: 28px; margin-bottom: 8px; }
.cat-card .cat-label { font-weight: 700; font-size: 13px; color: var(--navy); display: block; }
.cat-card .cat-count { font-size: 11px; color: var(--orange); font-weight: 600; margin-top: 3px; }

/* ── SECTION HEADER ── */
.sec-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.sec-title {
  font-family: 'Baloo 2', cursive;
  font-size: 17px; font-weight: 800; color: var(--navy);
  display: flex; align-items: center; gap: 8px;
}
.sec-title::before {
  content: ''; display: block;
  width: 4px; height: 20px;
  background: var(--orange); border-radius: 2px;
}
.see-all {
  color: var(--orange); font-size: 12px; font-weight: 700;
  text-decoration: none; border: 1.5px solid var(--orange);
  padding: 4px 12px; border-radius: 20px; transition: all .2s;
}
.see-all:hover { background: var(--orange); color: #fff; }

/* ── JOB CARDS ── */
.job-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.job-card {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--orange);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: box-shadow .2s, transform .2s;
  text-decoration: none;
  color: inherit;
}
.job-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.1); transform: translateX(3px); }
.job-card.type-result { border-left-color: var(--badge-blue); }
.job-card.type-admit { border-left-color: #805ad5; }
.job-card.type-new { border-left-color: var(--badge-green); }

.job-dept-icon {
  width: 44px; height: 44px;
  border-radius: 8px;
  background: var(--light-bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.job-info { flex: 1; min-width: 0; }
.job-title { font-weight: 700; font-size: 14px; color: var(--navy); margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.job-meta { font-size: 12px; color: var(--gray); display: flex; flex-wrap: wrap; gap: 10px; }
.job-right { text-align: right; flex-shrink: 0; }

/* Badges */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 6px;
}
.badge-new    { background: #c6f6d5; color: #276749; }
.badge-result { background: #bee3f8; color: #2a4e7f; }
.badge-admit  { background: #e9d8fd; color: #553c9a; }
.badge-last   { background: #fed7d7; color: #9b2c2c; }
.badge-open   { background: #fefcbf; color: #744210; }

.deadline { font-size: 11px; color: var(--gray); }
.deadline.urgent { color: var(--badge-red); font-weight: 700; }

/* ── SIDEBAR ── */
.widget-area { display: flex; flex-direction: column; gap: 18px; }
.widget {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.widget-title {
  background: var(--navy);
  color: #fff;
  padding: 12px 16px;
  font-family: 'Baloo 2', cursive;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.widget-body { padding: 10px 14px; }

/* Sidebar links */
.side-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid #f0f0f0;
  text-decoration: none;
  color: var(--text);
  font-size: 13px;
  transition: color .2s;
  gap: 8px;
}
.side-link:last-child { border-bottom: none; }
.side-link:hover { color: var(--orange); }
.side-link .s-title { flex: 1; font-weight: 500; }
.s-badge {
  background: var(--orange); color: #fff;
  font-size: 10px; font-weight: 700;
  padding: 2px 7px; border-radius: 10px; flex-shrink: 0;
}
.s-badge.blue { background: var(--badge-blue); }
.s-badge.green { background: var(--badge-green); }
.s-badge.purple { background: #805ad5; }

/* Notification box */
.notif-box {
  background: linear-gradient(135deg, var(--navy), #2d5a9e);
  border-radius: 10px; padding: 16px; color: #fff; text-align: center;
}
.notif-box .nb-icon { font-size: 32px; margin-bottom: 8px; }
.notif-box h3 { font-size: 15px; font-weight: 800; margin-bottom: 6px; font-family: 'Baloo 2', cursive; }
.notif-box p { font-size: 12px; opacity: .85; margin-bottom: 12px; }
.notif-box .nb-btn {
  background: var(--orange); color: #fff; border: none;
  padding: 9px 20px; border-radius: 6px; font-weight: 700;
  font-size: 13px; cursor: pointer; width: 100%; transition: background .2s;
}
.notif-box .nb-btn:hover { background: var(--orange-light); }

/* Quick links grid */
.quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px; }
.quick-btn {
  background: var(--light-bg);
  border: 1.5px solid #fdd0a2;
  border-radius: 8px; padding: 10px 8px;
  text-align: center; font-size: 12px; font-weight: 700;
  color: var(--navy); text-decoration: none; transition: all .2s;
}
.quick-btn .qb-icon { font-size: 20px; display: block; margin-bottom: 4px; }
.quick-btn:hover { background: var(--orange); color: #fff; border-color: var(--orange); }

/* ── SINGLE POST ── */
.entry-header { margin-bottom: 20px; }
.entry-title { font-family: 'Baloo 2', cursive; font-size: 26px; font-weight: 800; color: var(--navy); line-height: 1.3; }
.entry-meta { font-size: 12px; color: var(--gray); margin-top: 8px; display: flex; gap: 16px; flex-wrap: wrap; }
.entry-content { line-height: 1.8; }
.entry-content h2 { font-family: 'Baloo 2', cursive; color: var(--navy); margin: 24px 0 12px; border-left: 4px solid var(--orange); padding-left: 10px; }
.entry-content h3 { color: var(--navy); margin: 16px 0 8px; }
.entry-content p { margin-bottom: 14px; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.entry-content table th { background: var(--navy); color: #fff; padding: 10px 12px; text-align: left; }
.entry-content table td { padding: 9px 12px; border-bottom: 1px solid var(--border); }
.entry-content table tr:nth-child(even) td { background: var(--light-bg); }

/* Post info box */
.post-info-box {
  background: var(--light-bg);
  border: 1.5px solid #fdd0a2;
  border-radius: 10px;
  padding: 18px;
  margin: 20px 0;
}
.post-info-box .pib-title {
  font-family: 'Baloo 2', cursive;
  font-size: 16px; font-weight: 800;
  color: var(--navy); margin-bottom: 12px;
  border-bottom: 2px solid var(--orange); padding-bottom: 8px;
}
.post-info-box .pib-row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed var(--border); font-size: 13.5px; }
.post-info-box .pib-row:last-child { border-bottom: none; }
.post-info-box .pib-key { font-weight: 600; color: var(--gray); }
.post-info-box .pib-val { color: var(--navy); font-weight: 700; text-align: right; }

/* Apply button */
.apply-btn {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 15px;
  font-family: 'Baloo 2', cursive;
  text-decoration: none;
  transition: all .2s;
  box-shadow: 0 4px 16px rgba(232,93,4,0.3);
}
.apply-btn:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }

/* ── FOOTER ── */
#colophon { background: var(--dark); color: #a0aec0; margin-top: 40px; }
.footer-widgets {
  max-width: 1200px; margin: 0 auto;
  padding: 40px 20px 30px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer-widget h4 {
  color: #fff;
  font-family: 'Baloo 2', cursive;
  font-weight: 800; margin-bottom: 14px;
  font-size: 14px;
  border-left: 3px solid var(--orange);
  padding-left: 8px;
}
.footer-widget a { display: block; color: #718096; text-decoration: none; font-size: 13px; padding: 4px 0; transition: color .2s; }
.footer-widget a:hover { color: var(--orange); }
.footer-widget p { font-size: 13px; color: #718096; line-height: 1.7; margin-top: 10px; }
.site-info { border-top: 1px solid #2d3748; text-align: center; padding: 16px; font-size: 12px; color: #4a5568; }

/* ── PAGINATION ── */
.navigation { margin: 24px 0; display: flex; justify-content: center; }
.nav-links { display: flex; gap: 6px; }
.page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 8px; border: 1.5px solid var(--border);
  font-size: 13px; font-weight: 600; color: var(--text);
  text-decoration: none; transition: all .2s;
}
.page-numbers.current,
.page-numbers:hover { background: var(--orange); color: #fff; border-color: var(--orange); }

/* ── HAMBURGER MOBILE ── */
.menu-toggle {
  display: none;
  background: none; border: none;
  color: #fff; font-size: 24px;
  cursor: pointer; padding: 10px 16px;
}

/* ── BLINK ── */
.blink { display: inline-block; width: 7px; height: 7px; background: #ff4444; border-radius: 50%; animation: blink 1s infinite; margin-right: 5px; vertical-align: middle; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .content-area { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2,1fr); }
  .footer-widgets { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 10px; }
}
@media (max-width: 600px) {
  .footer-widgets { grid-template-columns: 1fr; }
  .header-inner { flex-wrap: wrap; }
  .header-search { max-width: 100%; width: 100%; }
  .hero-banner { flex-direction: column; text-align: center; padding: 24px 18px; }
  .hero-icon { font-size: 48px; }
  .menu-toggle { display: block; }
  #primary-menu { display: none; flex-direction: column; width: 100%; }
  #primary-menu.open { display: flex; }
  #primary-menu li a { border-bottom: 1px solid rgba(255,255,255,0.1); }
  .cat-grid { grid-template-columns: repeat(2,1fr); }
}
