/* 
  GovtVacancyHub - ULTRA PREMIUM & HIGH-TECH STYLESHEET
  Focus: Glassmorphism, Neon Glows, Micro-interactions, Futuristic UI
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* High-Tech Light Palette */
  --primary: #2563eb;
  --primary-rgb: 37, 99, 235;
  --primary-dark: #1e40af;
  --primary-light: #eff6ff;
  --accent: #0ea5e9;
  --accent-rgb: 14, 165, 233;
  --accent-light: #f0f9ff;
  --warning: #f59e0b;
  --danger: #ef4444;
  --success: #10b981;
  
  --bg-body: #f4f7fe;
  --bg-card: #ffffff;
  --bg-input: #ffffff;
  --bg-muted: #e2e8f0;
  
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-on-primary: #ffffff;
  
  --border-color: #e2e8f0;
  
  /* Premium Soft Shadows */
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 0 20px rgba(var(--primary-rgb), 0.15);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --transition-base: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Deep Space Dark Mode Variables */
[data-theme="dark"] {
  --primary: #3b82f6;
  --primary-rgb: 59, 130, 246;
  --primary-dark: #2563eb;
  --primary-light: #1e293b;
  --accent: #22d3ee;
  --accent-rgb: 34, 211, 238;
  
  --bg-body: #09090b; /* Pitch Black for OLED feel */
  --bg-card: #121214;
  --bg-input: #18181b;
  --bg-muted: #27272a;
  
  --text-main: #f8fafc;
  --text-muted: #a1a1aa;
  
  --border-color: rgba(255, 255, 255, 0.08);
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 25px 35px -5px rgba(0, 0, 0, 0.8);
  --shadow-glow: 0 0 25px rgba(var(--primary-rgb), 0.25);
}

/* Custom Sleek Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-body); 
}
::-webkit-scrollbar-thumb {
  background: var(--text-muted); 
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary); 
}

/* Global Selection (Text Highlight) */
::selection {
  background-color: rgba(var(--primary-rgb), 0.3);
  color: var(--text-main);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  transition: background-color 0.4s ease, color 0.4s ease;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-base);
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}

/* High-Tech Glass Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(var(--bg-card), 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.4s ease;
}

[data-theme="dark"] .site-header {
  background: rgba(18, 18, 20, 0.7);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-base);
}

.brand i {
  color: var(--primary); /* Icon normal color */
}

.brand:hover {
  transform: scale(1.05) translateY(-2px);
  filter: drop-shadow(0 4px 6px rgba(var(--primary-rgb), 0.3));
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  position: relative;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  letter-spacing: -0.01em;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: -6px;
  left: 50%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
  border-radius: 4px;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--text-main);
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle {
  padding: 0.6rem;
  border-radius: var(--radius-full);
  background: var(--bg-muted);
  color: var(--text-main);
  border: 1px solid transparent;
  transition: var(--transition-base);
}

.theme-toggle:hover {
  background: var(--bg-body);
  border-color: var(--border-color);
  transform: rotate(15deg) scale(1.1);
  box-shadow: var(--shadow-glow);
}

.theme-toggle:active {
  transform: scale(0.9); /* Button Press Effect */
}

/* =========================================================
   ANIMATED GRADIENT HERO (APPLE/VERCEL VIBE)
   ========================================================= */
.hero {
  background: linear-gradient(-45deg, #0f172a, var(--primary-dark), var(--primary), var(--accent));
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
  color: white;
  padding: 6rem 1.5rem 8rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Grid Overlay on Hero */
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.hero p {
  font-size: 1.25rem;
  font-weight: 400;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Search & Filters */
.search-container {
  max-width: 750px;
  margin: -3.5rem auto 2rem;
  padding: 0 1.5rem;
  position: relative;
  z-index: 10;
}

.search-box {
  background: var(--bg-card);
  padding: 0.5rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition-base);
  backdrop-filter: blur(10px);
}

[data-theme="dark"] .search-box {
  background: rgba(30, 30, 34, 0.8);
  border: 1px solid rgba(255,255,255,0.1);
}

.search-box:focus-within {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-glow);
  border-color: var(--primary);
}

.search-box input {
  flex: 1;
  border: none;
  outline: none;
  padding: 1rem 1.5rem;
  font-size: 1.1rem;
  background: transparent;
  color: var(--text-main);
  font-weight: 500;
}

.search-btn {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 800;
  letter-spacing: 0.05em;
  transition: var(--transition-base);
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.4);
}
.search-btn:active {
  transform: scale(0.95);
}

.filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
  padding: 0 1.5rem;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  color: var(--text-muted);
  font-weight: 600;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--text-main);
  color: var(--bg-card);
  border-color: var(--text-main);
  transform: translateY(-3px);
  box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.filter-btn:active {
  transform: scale(0.95);
}

/* Page Layout */
.page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  flex: 1;
}

.section-title {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-main);
}
.section-title i {
  color: var(--accent);
}

/* =========================================================
   HIGH-TECH JOB CARDS (GLOW & FLOAT)
   ========================================================= */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2.5rem;
}

.job-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
  position: relative;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

/* Glass effect on dark mode cards */
[data-theme="dark"] .job-card {
  background: linear-gradient(145deg, #18181b, #121214);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.job-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-glow);
  border-color: rgba(var(--primary-rgb), 0.5);
  z-index: 10;
}

/* Top Neon Accent Line */
.job-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.job-card:hover::after {
  opacity: 1;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

/* Pulsing NEW Badge */
@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(var(--accent-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0); }
}

.badge-new {
  background: var(--accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 900;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  animation: pulseGlow 2s infinite;
}

.status-badge {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  background: var(--bg-muted);
  color: var(--text-muted);
}

.status-badge.active { background: rgba(16, 185, 129, 0.1); color: var(--success); border: 1px solid rgba(16,185,129,0.2);}
.status-badge.admit { background: rgba(59, 130, 246, 0.1); color: var(--primary); border: 1px solid rgba(59,130,246,0.2);}
.status-badge.result { background: rgba(234, 179, 8, 0.1); color: var(--warning); border: 1px solid rgba(234,179,8,0.2);}

.job-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--text-main);
  line-height: 1.3;
}

.job-org {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.job-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1rem;
  background: var(--bg-body);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.detail-item {
  display: flex;
  flex-direction: column;
}

.detail-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.detail-value {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
}

.card-actions {
  margin-top: auto;
  display: flex;
  gap: 1rem;
}

.btn {
  padding: 0.8rem 1rem;
  border-radius: var(--radius-lg);
  font-weight: 800;
  font-size: 0.95rem;
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition-base);
}

.btn-primary { 
  background: var(--text-main); 
  color: var(--bg-card); 
}
.btn-primary:hover { 
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
[data-theme="dark"] .btn-primary:hover {
  box-shadow: 0 10px 20px rgba(255,255,255,0.1);
}

.btn-primary:active { transform: scale(0.95); }

.btn-outline { 
  background: transparent; 
  border: 2px solid var(--border-color); 
  color: var(--text-main); 
}
.btn-outline:hover { 
  border-color: var(--text-main);
  transform: translateY(-3px);
}
.btn-outline:active { transform: scale(0.95); }

/* Premium Skeleton Shimmer */
.skeleton {
  background: linear-gradient(90deg, var(--bg-muted) 25%, var(--border-color) 50%, var(--bg-muted) 75%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite linear;
  border-radius: var(--radius-sm);
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* Footer Upgrades */
.site-footer {
  background: #09090b;
  color: #f8fafc;
  padding: 5rem 1.5rem 3rem;
  margin-top: 5rem;
  border-top: 1px solid #27272a;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand h2 {
  background: linear-gradient(135deg, #ffffff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 1rem;
  line-height: 1.7;
}

.footer-links h3 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  font-weight: 800;
}

.footer-links ul li {
  margin-bottom: 1rem;
}

.footer-links ul li a {
  color: #94a3b8;
  font-weight: 500;
  transition: all 0.3s ease;
}

.footer-links ul li a:hover {
  color: var(--accent);
  padding-left: 8px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2.5rem;
  border-top: 1px solid #27272a;
  text-align: center;
  color: #64748b;
  font-size: 0.95rem;
  font-weight: 500;
}

/* Back to Top with Pulse */
.back-to-top {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  width: 3.5rem;
  height: 3.5rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition: var(--transition-base);
  z-index: 1000;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 15px 25px rgba(var(--primary-rgb), 0.6);
}

.back-to-top:active {
  transform: scale(0.9);
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.spin {
  animation: spin 1s linear infinite;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
  .nav-links { display: none; }
  .search-box { flex-direction: column; background: transparent; box-shadow: none; border: none; }
  .search-box input { background: var(--bg-card); border-radius: var(--radius-lg); margin-bottom: 10px; border: 1px solid var(--border-color); }
  .search-btn { width: 100%; border-radius: var(--radius-lg); }
  .jobs-grid { grid-template-columns: 1fr; }
  .hero { padding: 4rem 1rem 6rem; }
  .footer-content { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; }
  .back-to-top { bottom: 1.5rem; right: 1.5rem; }
}
/* Push Notification dabbe ko hide karne ke liye */
#pushPrompt {
  display: none !important;
}



