/* static/css/main.css */

/* === DESIGN TOKENS === */
:root {
  --color-primary: #1A2E5A;       /* Deep Trustworthy Navy */
  --color-primary-light: #2A437C;
  --color-accent: #E07B39;        /* Energetic Saffron */
  --color-accent-hover: #C56323;
  --color-accent-green: #138808;  /* Vibrant Tricolor Green */
  --color-bg: #F8F9FC;            /* Clean light grey-blue */
  --color-surface: #FFFFFF;
  --color-border: #E5E9F0;
  --color-border-dark: #CCD4E2;
  --color-text: #1E293B;          /* Sleek charcoal */
  --color-text-secondary: #475569;
  --color-text-muted: #94A3B8;
  --color-success: #138808;
  --color-success-bg: #E8F5E9;
  --color-danger: #D32F2F;
  --color-danger-bg: #FFEBEE;
  --color-warning: #F57C00;
  --color-warning-bg: #FFF3E0;
  
  --color-table-header-bg: #F1F5F9;
  --color-table-hover-bg: #F8FAFC;
  --color-primary-text: var(--color-primary);
  --color-link: var(--color-primary);

  --font-primary: 'Noto Sans', 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.07), 0 4px 6px -2px rgba(0,0,0,0.03);
  --shadow-glow: 0 0 15px rgba(224, 123, 57, 0.4);
  --container-max: 1400px;
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
}

/* === DARK MODE TOKENS === */
html[data-theme="dark"] {
  --color-bg: #0F172A;            /* Slate 900 */
  --color-surface: #1E293B;       /* Slate 800 */
  --color-border: #334155;        /* Slate 700 */
  --color-border-dark: #475569;   /* Slate 600 */
  --color-text: #F8FAFC;          /* Slate 50 */
  --color-text-secondary: #CBD5E1;/* Slate 300 */
  --color-text-muted: #64748B;
  
  --color-primary: #1E293B;       /* Slate 800 */
  --color-primary-light: #334155; /* Slate 700 */
  
  --color-table-header-bg: #1E293B;
  --color-table-hover-bg: #334155;
  --color-primary-text: #F8FAFC;
  --color-link: #60A5FA;

  --color-success-bg: #132E16;
  --color-danger-bg: #3F1313;
  --color-warning-bg: #3F2513;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.3), 0 2px 4px -1px rgba(0,0,0,0.2);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.4), 0 4px 6px -2px rgba(0,0,0,0.2);
}

/* === BASE RESET === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-primary);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

/* === RESPONSIVE VISIBILITY UTILITIES === */
.desktop-hidden {
  display: none !important;
}
.mobile-hidden {
  display: block;
}
@media (max-width: 768px) {
  .desktop-hidden {
    display: flex !important;
  }
  .mobile-hidden {
    display: none !important;
  }
}

/* === MOBILE APP-LIKE HEADER === */
.mobile-header-top {
  background: var(--color-primary);
  height: 64px;
  padding: 0 16px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.mobile-menu-btn, .mobile-action-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.mobile-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: white;
}
.mobile-logo-img {
  width: 40px !important;
  height: 40px !important;
  object-fit: contain;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  background: white;
  flex-shrink: 0;
}
.mobile-logo-img-placeholder {
  width: 40px;
  height: 40px;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  color: white;
  flex-shrink: 0;
}
.mobile-logo-text-block {
  display: flex;
  flex-direction: column;
}
.mobile-logo-main {
  font-size: 18px;
  font-weight: 800;
  color: white;
  line-height: 1.1;
  white-space: nowrap;
}
.mobile-logo-sub {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.mobile-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* === CONTAINER === */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* === HEADER NAV === */
.site-header {
  position: relative;
  z-index: 100;
}

.header-banner {
  background: var(--color-primary);
  padding: 14px 0;
}
.header-banner .container {
  display: flex;
  justify-content: center; /* Center the branding */
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}
.logo-icon-img {
  width: 64px !important;
  height: 64px !important;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.8);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  background-color: #fff;
  flex-shrink: 0;
}
.logo-icon-text {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--color-accent) 0%, #F2994A 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 24px;
  color: white;
  box-shadow: var(--shadow-glow);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.logo-main {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -1px;
  color: white;
  line-height: 1.1;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}
.logo-sub {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 2px;
}

.header-navbar {
  background: #0b1528; /* Slightly darker than primary */
  border-top: 1px solid rgba(255,255,255,0.05);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  min-height: 56px;
}
.header-center {
  display: flex;
  align-items: center;
  flex-grow: 1;
}
.main-nav {
  display: flex;
  gap: 2px;
}
.main-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 14.5px;
  font-weight: 500;
  padding: 8px 8px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active {
  background: rgba(255,255,255,0.12);
  color: white;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
/* Private Jobs CTA Button */
.btn-private-jobs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--color-accent) 0%, #f48c42 100%);
  color: white;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(224, 123, 57, 0.3);
  transition: all var(--transition-fast);
  border: none;
  cursor: pointer;
}
.btn-private-jobs:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(224, 123, 57, 0.4);
}
.btn-badge {
  background: var(--color-accent-green);
  color: white;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
.btn-notify {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.3);
  color: white;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}
.btn-notify:hover {
  background: rgba(255,255,255,0.08);
  border-color: white;
}

/* Breaking ticker */
.breaking-ticker {
  background: linear-gradient(90deg, #d86921 0%, var(--color-accent) 100%);
  color: white;
  padding: 8px 0;
  font-size: 13px;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.1);
  box-shadow: inset 0 -2px 4px rgba(0,0,0,0.05);
}
.ticker-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}
.ticker-label {
  font-weight: 700;
  white-space: nowrap;
  background: var(--color-primary);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}
.ticker-container {
  overflow: hidden;
  width: 100%;
}
.ticker-track {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  animation: ticker 35s linear infinite;
}
.ticker-track a {
  color: white;
  font-weight: 500;
}
.ticker-track a:hover {
  text-decoration: underline;
}
.ticker-sep {
  color: rgba(255,255,255,0.5);
  font-weight: bold;
}
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* === HERO SECTION === */
.hero-section {
  background: radial-gradient(circle at 70% 30%, var(--color-primary-light) 0%, var(--color-primary) 100%);
  color: white;
  padding: 48px 0 40px;
  text-align: center;
  border-bottom: 4px solid var(--color-accent);
  position: relative;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath fill-rule='evenodd' d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.5px;
}
.hero-sub-title {
  display: block;
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  font-weight: 400;
  margin-top: 8px;
}
.search-form {
  display: flex;
  gap: 8px;
  max-width: 720px;
  margin: 32px auto 24px;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 8px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}
.search-input-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  position: relative;
}
.search-form input[type="search"] {
  width: 100%;
  border: none;
  outline: none;
  font-size: 15px;
  padding: 10px 16px;
  color: var(--color-text);
  background: var(--color-surface);
  font-family: inherit;
}
.search-form select {
  border: none;
  border-left: 2px solid var(--color-border);
  outline: none;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 24px 10px 16px;
  color: var(--color-text-secondary);
  background: var(--color-surface);
  cursor: pointer;
  font-family: inherit;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 6px center;
  background-size: 12px;
}
.search-form button {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-hover) 100%);
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.search-form button:hover {
  transform: scale(1.02);
}

.hero-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 24px;
}
.hero-stats .stat {
  text-align: center;
}
.hero-stats .stat strong {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--color-accent);
}
.hero-stats .stat span {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* === CATEGORIES GRID === */
.categories-section {
  background: var(--color-surface);
  padding: 32px 0;
  border-bottom: 1px solid var(--color-border);
}
.section-title-wrap {
  margin-bottom: 20px;
}
.section-title, h2, h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary-text);
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 24px;
  background: var(--color-accent);
  border-radius: 2px;
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
}
.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 10px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  transition: all var(--transition-normal);
  text-align: center;
}
.cat-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.cat-icon {
  font-size: 26px;
  line-height: 1;
}
.cat-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary-text);
}
.cat-count {
  font-size: 11px;
  color: var(--color-text-muted);
  background: var(--color-bg);
  padding: 1px 6px;
  border-radius: 10px;
}

/* === MAIN LAYOUT === */
.main-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  padding-top: 28px;
  padding-bottom: 48px;
}
.main-content {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.section-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  border-bottom: 1.5px solid var(--color-border);
  padding-bottom: 12px;
}
.see-all-link, .view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-bg);
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1.5px solid var(--color-border-dark);
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}
.see-all-link:hover, .view-all-link:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
  transform: translateX(3px);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

/* === JOBS TABLE === */
.jobs-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
}
.jobs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}
.jobs-table th {
  background: var(--color-table-header-bg);
  color: var(--color-text-secondary);
  padding: 12px 16px;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1.5px solid var(--color-border);
  white-space: nowrap;
}
.jobs-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}
.last-date, .vacancy-count, .jobs-table td:last-child {
  white-space: nowrap;
}
.jobs-table tr:last-child td {
  border-bottom: none;
}
.jobs-table tr:hover td {
  background: var(--color-table-hover-bg);
}
.job-title-link {
  font-weight: 600;
  color: var(--color-link);
  display: inline;
  line-height: 1.5;
}
.job-title-link span {
  vertical-align: text-bottom;
}
.job-title-link:hover {
  color: var(--color-accent);
}
.job-dept {
  display: block;
  font-size: 11px;
  color: var(--color-text-secondary);
  font-weight: 500;
  margin-top: 4px;
}
.badge-hot {
  background: #FEF3C7;
  color: #D97706;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 1px 2px rgba(217, 119, 6, 0.1);
  display: inline-block;
}
.status-badge {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 600;
  display: inline-block;
}
.status-active { background: var(--color-success-bg); color: var(--color-success); }
.status-closed { background: var(--color-danger-bg); color: var(--color-danger); }
.status-result_out { background: var(--color-warning-bg); color: var(--color-warning); }
.status-admit_card { background: #E0F2FE; color: #0284C7; }

/* === REDESIGNED LISTING UI === */
.stats-banner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  padding: 24px;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  color: white;
}
.stat-box {
  background: rgba(255, 255, 255, 0.1);
  padding: 16px;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.stat-box .stat-num {
  display: block;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 4px;
  line-height: 1;
}
.stat-box .stat-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.9;
}

.filter-bar {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 12px;
  background: var(--color-surface);
  padding: 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.filter-bar input, .filter-bar select, .filter-bar button {
  padding: 10px 14px;
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  background: var(--color-bg);
  color: var(--color-text);
  outline: none;
}
.filter-bar button {
  background: var(--color-accent);
  color: white;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast);
}
.filter-bar button:hover {
  background: var(--color-accent-hover);
}

.list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.list-header h2 { margin-bottom: 0; }
.results-count {
  font-size: 14px;
  color: var(--color-text-secondary);
  font-weight: 500;
}

.job-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.job-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.job-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--color-accent);
}
.job-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.job-card-title-area {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.job-card-icon {
  width: 40px;
  height: 40px;
  background: var(--color-bg);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  border: 1px solid var(--color-border-dark);
}
.job-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary-text);
  line-height: 1.3;
  margin-bottom: 4px;
}
.job-card-dept {
  font-size: 13px;
  color: var(--color-text-secondary);
  font-weight: 500;
}
.job-card-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.badge-closing-soon {
  background: var(--color-danger-bg);
  color: var(--color-danger);
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
}
.job-card-meta {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: var(--color-text-secondary);
  background: var(--color-bg);
  padding: 12px;
  border-radius: var(--radius-sm);
  align-items: center;
}
.meta-icon-group {
  display: flex;
  align-items: center;
  gap: 6px;
}
.meta-icon-group strong {
  color: var(--color-text);
}
.job-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}
.job-card-footer .status-badge {
  font-size: 11px;
}
.btn-apply-card {
  background: var(--color-primary);
  color: white;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  transition: background var(--transition-fast);
}
.btn-apply-card:hover {
  background: var(--color-primary-light);
  color: white;
}

/* Sidebar Count Badges */
.sidebar-category-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-secondary);
  font-size: 13px;
  font-weight: 500;
  transition: all var(--transition-fast);
}
.sidebar-category-link:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}
.sidebar-category-link:hover .sidebar-badge {
  background: rgba(255,255,255,0.2);
  color: white;
}
.sidebar-badge {
  background: var(--color-border-dark);
  color: var(--color-text);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  transition: all var(--transition-fast);
}

.subscribe-box {
  background: var(--color-bg);
  border: 1px solid var(--color-border-dark);
  padding: 16px;
  border-radius: var(--radius-md);
  text-align: center;
}
.subscribe-box input {
  width: 100%;
  padding: 10px;
  margin: 12px 0 8px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 13px;
}
.subscribe-box button {
  width: 100%;
  padding: 10px;
  background: var(--color-accent);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 992px) {
  .filter-bar {
    grid-template-columns: 1fr 1fr;
  }
  .filter-bar input[name="q"] {
    grid-column: 1 / -1;
  }
  .stats-banner {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 576px) {
  .filter-bar {
    grid-template-columns: 1fr;
  }
  .job-card-header {
    flex-direction: column;
  }
  .job-card-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
.result-list, .admit-list {
  list-style: none;
  display: grid;
  gap: 12px;
}
.result-item, .admit-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  transition: all var(--transition-fast);
  gap: 16px;
}
.result-item:hover, .admit-item:hover {
  border-color: var(--color-primary);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}
.list-item-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}
.badge-new-list {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 8px;
  text-transform: uppercase;
  color: white;
  background: var(--color-accent-green);
}
.badge-admit-list {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 8px;
  text-transform: uppercase;
  color: white;
  background: #0284C7;
}
.result-link, .admit-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
}
.result-link:hover, .admit-link:hover {
  color: var(--color-accent);
}
.item-date {
  font-size: 13px;
  color: var(--color-text-secondary);
  font-weight: 500;
  white-space: nowrap;
}

/* === SIDEBAR === */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sidebar-widget {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.widget-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary-text);
  border-bottom: 1.5px solid var(--color-border);
  padding-bottom: 8px;
  margin-bottom: 14px;
}
.upcoming-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.upcoming-item {
  display: flex;
  gap: 12px;
  align-items: center;
}
.exam-date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--color-bg);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-md);
  font-size: 11px;
  line-height: 1.2;
}
.exam-day {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary-text);
}
.exam-month {
  text-transform: uppercase;
  color: var(--color-text-secondary);
  font-weight: 600;
  font-size: 9px;
}
.exam-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
}
.exam-name:hover {
  color: var(--color-accent);
}
.widget-link {
  display: block;
  margin-top: 14px;
  font-size: 12px;
  color: var(--color-accent);
  font-weight: 600;
  text-align: right;
}

.state-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.state-links-grid a {
  font-size: 12px;
  font-weight: 500;
  padding: 8px;
  background: var(--color-bg);
  border-radius: var(--radius-sm);
  text-align: center;
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
}
.state-links-grid a:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

/* === DETAIL PAGES === */
.detail-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.detail-title {
  font-size: 24px;
  color: var(--color-primary-text);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 8px;
}
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
  border-bottom: 1.5px solid var(--color-border);
  padding-bottom: 16px;
}
.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.detail-intro {
  font-size: 15px;
  color: var(--color-text-secondary);
  margin-bottom: 28px;
  line-height: 1.7;
}

/* Metadata Tables */
.meta-table-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary-text);
  margin-bottom: 12px;
  margin-top: 24px;
}
.meta-info-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}
.meta-info-table th, .meta-info-table td {
  border: 1.5px solid var(--color-border-dark);
  padding: 12px 16px;
  font-size: 14px;
}
.meta-info-table th {
  background: var(--color-table-header-bg);
  width: 250px;
  text-align: left;
  font-weight: 700;
  color: var(--color-primary-text);
}
.meta-info-table td {
  background: var(--color-surface);
  color: var(--color-text);
}

/* Action Links Block */
.action-links-box {
  background: linear-gradient(135deg, #FFF9F5 0%, #FFF3EC 100%);
  border: 2px dashed var(--color-accent);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 32px 0;
  text-align: center;
}
.action-links-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 16px;
}
.action-buttons-wrap {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}
.btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 15px;
  transition: all var(--transition-fast);
  cursor: pointer;
}
.btn-apply-online {
  background: var(--color-accent);
  color: white;
}
.btn-apply-online:hover {
  background: var(--color-accent-hover);
  box-shadow: 0 4px 12px rgba(224,123,57,0.3);
}
.btn-download-pdf {
  background: var(--color-primary);
  color: white;
}
.btn-download-pdf:hover {
  background: var(--color-primary-light);
  box-shadow: 0 4px 12px rgba(26,46,90,0.3);
}

/* FAQ accordion style */
.faq-box {
  margin-top: 36px;
}
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  background: var(--color-surface);
  overflow: hidden;
}
.faq-question {
  padding: 16px 20px;
  font-weight: 600;
  background: var(--color-table-header-bg);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}
.faq-answer {
  padding: 16px 20px;
  border-top: 1px solid var(--color-border);
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* === BREADCRUMBS === */
.breadcrumb-container {
  padding: 12px 0;
}
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  font-size: 13px;
  color: var(--color-text-secondary);
}
.breadcrumb-item {
  display: flex;
  align-items: center;
}
.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  margin: 0 8px;
  color: var(--color-text-muted);
}
.breadcrumb-item a {
  color: var(--color-text-secondary);
  font-weight: 500;
}
.breadcrumb-item a:hover {
  color: var(--color-accent);
}
.breadcrumb-item.active {
  color: var(--color-text-muted);
  font-weight: 400;
}

/* === FOOTER === */
.site-footer {
  background: var(--color-primary);
  color: white;
  padding: 48px 0 24px;
  border-top: 4px solid var(--color-accent);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 32px;
  margin-bottom: 24px;
}
.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 6px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 32px; height: 2px;
  background: var(--color-accent);
}
.footer-col p {
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 14px;
}
.footer-private-link {
  display: inline-block;
  color: var(--color-accent);
  font-weight: 600;
}
.footer-private-link:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul a {
  color: rgba(255,255,255,0.7);
}
.footer-col ul a:hover {
  color: white;
  padding-left: 4px;
}
.social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  color: white;
  font-weight: 500;
}
.social-link:hover {
  background: rgba(255,255,255,0.15);
}
.footer-bottom {
  text-align: center;
  color: rgba(255,255,255,0.6);
}
.footer-bottom p {
  margin-bottom: 8px;
}
.footer-bottom a {
  color: rgba(255,255,255,0.85);
  margin: 0 6px;
}
.footer-bottom a:hover {
  color: white;
}
.disclaimer-text {
  font-size: 11px;
  color: rgba(255,255,255,0.45) !important;
  margin-top: 14px;
  line-height: 1.5;
}

/* === AD SLOT STYLES === */
.ad-zone-header {
  margin: 16px auto;
  text-align: center;
  max-width: 728px;
}
.ad-container {
  overflow: hidden;
  margin: 0 auto;
}
.ad-placeholder {
  border: 1.5px dashed var(--color-border-dark);
  background: #F1F5F9;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 auto;
}
.ad-header_leaderboard, .ad-footer_leaderboard {
  height: 90px;
  max-width: 728px;
}
.ad-sidebar_rectangle {
  height: 250px;
  width: 300px;
}
.ad-in_content_1, .ad-in_content_2 {
  height: 120px;
  max-width: 600px;
  margin: 20px auto;
}
.ad-mobile_sticky {
  height: 50px;
  width: 320px;
}
.mobile-sticky-ad {
  position: fixed;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  z-index: 99;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
  display: none;
}

/* Responsive Sticky Mobile ad toggler */
@media (max-width: 768px) {
  .mobile-sticky-ad {
    display: block;
  }
  body {
    padding-bottom: 50px; /* offset sticky ad bar */
  }
}

/* === PAGINATION === */
.pagination-wrap {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 28px;
}
.pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
}
.pagination-btn:hover, .pagination-btn.active {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}
.pagination-btn.disabled {
  color: var(--color-text-muted);
  cursor: not-allowed;
  background: #F1F5F9;
}

/* === MOBILE MENU TOGGLE === */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

/* === MEDIA QUERIES === */
@media (max-width: 1024px) {
  .main-layout {
    grid-template-columns: 1fr;
  }
  .categories-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .header-center {
    display: none; /* simple hide for simplicity, menu toggle handles details */
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero-title {
    font-size: 28px;
  }
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero-stats {
    gap: 20px;
  }
  .detail-card {
    padding: 20px;
  }
  .meta-info-table th {
    width: auto;
    display: block;
  }
  .meta-info-table td {
    display: block;
  }
}

/* === HOMEPAGE MULTI-COLUMN GRID === */
.home-section-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
@media (max-width: 1024px) {
  .home-section-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .home-section-grid {
    grid-template-columns: 1fr;
  }
}


/* === THEME TOGGLE BUTTON === */
.btn-theme-toggle {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: white;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all var(--transition-normal);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  outline: none;
}
.btn-theme-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: white;
  transform: scale(1.08) rotate(15deg);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

/* === ADVANCED ENHANCEMENTS === */

/* Smooth theme transitions */
.section-card, .cat-card, .site-header, .jobs-table, .jobs-table th, .jobs-table td, .site-footer, .faq-item, .search-form, .search-form input, .search-form select {
  transition: background-color var(--transition-normal), border-color var(--transition-normal), color var(--transition-normal), box-shadow var(--transition-normal);
}

/* === SEARCH AUTOCOMPLETE DROPDOWN === */
.search-autocomplete-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  margin-top: 10px;
  max-height: 380px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.search-autocomplete-dropdown.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.autocomplete-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  border-bottom: 1px solid var(--color-border);
  cursor: pointer;
  transition: background-color var(--transition-fast);
  text-decoration: none;
  color: var(--color-text);
  outline: none;
}
.autocomplete-item:last-child {
  border-bottom: none;
}
.autocomplete-item:hover, .autocomplete-item.focused {
  background-color: var(--color-table-hover-bg);
}
.autocomplete-item-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  text-align: left;
  padding-right: 12px;
}
.autocomplete-item-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.3;
}
.autocomplete-item-extra {
  font-size: 11px;
  color: var(--color-text-secondary);
}
.autocomplete-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  color: white;
  white-space: nowrap;
}
.autocomplete-no-results {
  padding: 20px;
  text-align: center;
  color: var(--color-text-secondary);
  font-size: 14px;
}

/* === CUSTOM ALERTS MODAL === */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6); /* Slate 900 tint */
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.modal-container {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 580px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: center;
}
.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: color var(--transition-fast);
  line-height: 1;
}
.modal-close:hover {
  color: var(--color-danger);
}
.modal-header {
  margin-bottom: 24px;
}
.modal-icon {
  font-size: 40px;
  margin-bottom: 12px;
  animation: alert-bell-ring 2s infinite ease-in-out;
}
@keyframes alert-bell-ring {
  0%, 100% { transform: rotate(0); }
  10%, 30% { transform: rotate(12deg); }
  20%, 40% { transform: rotate(-12deg); }
  50% { transform: rotate(0); }
}
.modal-header h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 8px;
}
.modal-header p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.5;
}
.channel-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
@media (min-width: 480px) {
  .channel-cards {
    grid-template-columns: 1fr 1fr;
  }
}
.channel-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 24px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: all var(--transition-normal);
  text-decoration: none;
  background: var(--color-table-hover-bg);
}
.channel-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.whatsapp-channel {
  border-color: rgba(19, 136, 8, 0.2);
}
.whatsapp-channel:hover {
  border-color: var(--color-accent-green);
  background: rgba(19, 136, 8, 0.03);
}
.whatsapp-channel .channel-icon-wrap {
  color: var(--color-accent-green);
}
.telegram-channel {
  border-color: rgba(37, 99, 235, 0.2);
}
.telegram-channel:hover {
  border-color: #2563EB;
  background: rgba(37, 99, 235, 0.03);
}
.telegram-channel .channel-icon-wrap {
  color: #2563EB;
}
.channel-icon-wrap {
  margin-bottom: 12px;
  transition: transform var(--transition-fast);
}
.channel-card:hover .channel-icon-wrap {
  transform: scale(1.15);
}
.channel-info h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 6px;
}
.channel-info p {
  font-size: 11px;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
  line-height: 1.4;
  min-height: 32px;
}
.channel-btn {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  color: white;
  transition: background var(--transition-fast);
}
.whatsapp-channel .channel-btn {
  background: var(--color-accent-green);
}
.whatsapp-channel:hover .channel-btn {
  background: #117807;
}
.telegram-channel .channel-btn {
  background: #2563EB;
}
.telegram-channel:hover .channel-btn {
  background: #1d4ed8;
}
.modal-footer-note {
  font-size: 11px;
  color: var(--color-text-muted);
}

/* === UI OVERHAUL CLASSES === */
.section-label {
  font-size: 16px !important;
  font-weight: bold !important;
  color: var(--color-primary-text) !important;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  margin-top: 24px;
  border-left: 3px solid #f97316 !important;
  background-color: var(--color-surface) !important;
  padding: 8px 12px !important;
}
.summary-box {
  background-color: var(--color-surface);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--color-primary);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--color-text);
  font-weight: 500;
}
.header-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  margin-bottom: 20px;
}
.header-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--color-text-secondary);
  font-weight: 600;
}
.quick-apply-widget {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  position: sticky;
  top: 80px;
  box-shadow: var(--shadow-md);
}
.quick-apply-widget .btn-action {
  width: 100%;
  margin-top: 12px;
}
.age-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.age-chip {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  text-align: center;
  line-height: 1.4;
}
.age-chip strong {
  display: block;
  color: var(--color-text);
  font-weight: 600;
}
.age-chip span {
  color: var(--color-text-secondary);
}
.ad-label {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-align: center;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}



/* Laptop Display Scaling Fix (Windows 125%/150%) */
@media (max-width: 1250px) {
  .header-inner {
    gap: 10px !important;
  }
  .main-nav a {
    font-size: 13.5px !important;
    padding: 6px 6px !important;
  }
}
@media (max-width: 1100px) {
  .main-nav a {
    font-size: 12px !important;
    padding: 4px 4px !important;
  }
}

@media (max-width: 768px) {
  .header-banner {
    padding: 12px 0 !important;
  }
  .logo-icon-img {
    width: 64px !important;
    height: 64px !important;
    border-radius: 10px !important;
  }
  .logo-icon-text {
    width: 56px !important;
    height: 56px !important;
  }
  .site-logo {
    gap: 12px !important;
  }
  .logo-main {
    font-size: 26px !important;
  }
  .logo-sub {
    font-size: 12px !important;
    max-width: none !important;
  }
  .header-inner {
    padding: 8px 0 !important;
    min-height: 48px !important;
  }
  .btn-private-jobs,
  .btn-notify,
  .btn-theme-toggle {
    display: none !important;
  }
}


/* === COMPREHENSIVE MOBILE VIEW FIXES FOR HEADER & FOOTER PAGES === */
@media (max-width: 768px) {
  /* 1. Header Mobile Menu Fix */
  .header-center {
    display: block !important;
    position: static;
  }
  .main-nav {
    display: none;
  }
  
  /* 2. Hero Search Bar Stacking */
  .search-form {
    flex-direction: column !important;
    gap: 12px;
  }
  .search-input-wrapper,
  .search-form select,
  .search-form button {
    width: 100% !important;
  }

  /* 3. Global Layout & Sidebar Stacking (list.html, departments.html, detail pages) */
  .main-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    padding-top: 16px !important;
    padding-bottom: 32px !important;
  }
  .main-content,
  .sidebar {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
  .sidebar {
    order: 2 !important;
  }
  .main-content {
    order: 1 !important;
  }

  /* 4. Filter Bar & Search Inputs (list.html) */
  .filter-bar {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .filter-bar input,
  .filter-bar select,
  .filter-bar button {
    width: 100% !important;
    font-size: 16px !important; /* prevent iOS Safari auto-zoom */
    min-height: 44px;
  }

  /* 5. Stats Banner Compact Mobile View */
  .stats-banner {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
    padding: 14px 10px !important;
  }
  .stat-box {
    padding: 10px 4px !important;
  }
  .stat-box .stat-num {
    font-size: 18px !important;
  }
  .stat-box .stat-label {
    font-size: 9px !important;
  }

  /* 6. Job Cards & Listing Items (list.html) */
  .job-card-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }
  .job-card-badges {
    justify-content: flex-start !important;
  }
  .job-card-meta {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    padding: 10px !important;
  }
  .job-card-footer {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }
  .btn-apply-card {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 10px !important;
  }

  /* 7. Result & Admit Card Lists */
  .result-item,
  .admit-item {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
    padding: 12px 10px !important;
  }
  .item-date {
    align-self: flex-start !important;
    font-size: 12px !important;
  }

  /* 8. Departments & Categories Grid (departments.html) */
  .categories-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .jobs-table th,
  .jobs-table td,
  .rich-text-content th,
  .rich-text-content td {
    padding: 8px 10px !important;
    font-size: 12px !important;
    white-space: nowrap;
  }
  .jobs-table-wrap,
  .table-responsive,
  .rich-text-content table {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  /* 9. Private Jobs Coming Soon & Static Footer Pages */
  .detail-card {
    padding: 24px 14px !important;
  }
  .detail-card h1 {
    font-size: 26px !important;
    line-height: 1.3 !important;
  }
  .detail-card form,
  .subscribe-box form {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }
  .detail-card form input,
  .detail-card form button,
  .subscribe-box form input,
  .subscribe-box form button {
    width: 100% !important;
    font-size: 16px !important;
  }

  /* 10. Pagination & Breadcrumbs */
  .pagination-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
  }
  .breadcrumb {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 4px;
  }
}

/* 5. Responsive Grid Classes for Home.html */
.responsive-grid-2col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* === HOMEPAGE ENHANCEMENTS === */

/* 1. Latest Jobs Table Enhancements */
.table-row-hover:hover td {
  background-color: var(--color-table-hover-bg) !important;
}
.cat-border-upsc { border-left: 4px solid #3B82F6 !important; } /* Blue */
.cat-border-ssc { border-left: 4px solid #10B981 !important; } /* Green */
.cat-border-railway { border-left: 4px solid #F59E0B !important; } /* Orange */
.cat-border-banking { border-left: 4px solid #8B5CF6 !important; } /* Purple */
.cat-border-defence { border-left: 4px solid #EF4444 !important; } /* Red */
.cat-border-teaching { border-left: 4px solid #EC4899 !important; } /* Pink */
.cat-border-police { border-left: 4px solid #14B8A6 !important; } /* Teal */
.cat-border-state_psc { border-left: 4px solid #6366F1 !important; } /* Indigo */
.cat-border-default { border-left: 4px solid var(--color-border-dark) !important; }

/* 2. Department Icons */
.cat-card {
  position: relative;
  overflow: hidden;
}
.dept-card-hover {
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dept-card-hover:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}
.dept-badge {
  font-size: 11px;
  color: var(--color-text-secondary);
  background: var(--color-bg);
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 600;
  margin-top: 4px;
}

/* 3. Sections Status Badges & Borders */
.badge-status-inline {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 800;
  color: white;
  margin-right: 6px;
  text-transform: uppercase;
}
.badge-new { background-color: #EF4444; } /* Red */
.badge-out { background-color: #10B981; } /* Green */
.badge-live { background-color: #F59E0B; } /* Orange */

.border-new { border-left: 3px solid #EF4444 !important; }
.border-out { border-left: 3px solid #10B981 !important; }
.border-live { border-left: 3px solid #F59E0B !important; }

.btn-outline {
  display: inline-block;
  padding: 6px 16px;
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  transition: all var(--transition-fast);
  text-align: center;
}
.btn-outline:hover {
  background: var(--color-primary);
  color: white;
}

/* 4. Ticker LIVE Badge */
.ticker-live {
  background: #EF4444;
  color: white;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  margin-right: 12px;
  animation: pulse-red 2s infinite;
}
@keyframes pulse-red {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Updated Today Stat */
.stat-updated {
  color: var(--color-success) !important;
}


/* === JOB DETAIL ENHANCEMENTS === */

/* Share Bar */
.share-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.btn-share {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: white;
  transition: opacity 0.2s;
  cursor: pointer;
  border: none;
}
.btn-share:hover { opacity: 0.9; }
.btn-whatsapp { background-color: #25D366; }
.btn-telegram { background-color: #0088cc; }
.btn-copy { background-color: #6c757d; }

/* Detailed Information Box */
.detailed-info-box {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 24px;
  border: 1px solid var(--color-border);
}
.detailed-info-box a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* Urgency Banner */
.alert-danger-banner {
  background-color: #fef2f2;
  border: 1px solid #ef4444;
  color: #b91c1c;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Print Button */
.btn-print {
  background: var(--color-surface);
  border: 1px solid var(--color-border-dark);
  color: var(--color-text-secondary);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-print:hover {
  background: var(--color-bg);
  color: var(--color-text);
}

/* Sticky Mobile Apply Button */
.sticky-mobile-apply {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  padding: 12px 20px;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
  z-index: 1000;
}
.sticky-mobile-apply a {
  display: block;
  width: 100%;
  text-align: center;
  background-color: var(--color-accent);
  color: white;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-weight: bold;
  font-size: 16px;
  text-transform: uppercase;
}
@media (max-width: 768px) {
  .sticky-mobile-apply { display: block; }
  /* Add padding to body so content isn't hidden behind sticky bar */
  body { padding-bottom: 70px; }
}

@media print {
  .site-header, .sidebar, .share-bar, .sticky-mobile-apply, .btn-print, .breadcrumb-container {
    display: none !important;
  }
  .main-layout { grid-template-columns: 1fr; }
  .detail-card { box-shadow: none; border: none; }
}

/* === FORM STYLES === */
.form-control {
  width: 100%;
  padding: 10px 14px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-bg);
  background-clip: padding-box;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  box-sizing: border-box;
  font-family: inherit;
}
.form-control:focus {
  color: var(--color-text);
  background-color: var(--color-surface);
  border-color: var(--color-accent);
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13,110,253,.25);
}

/* ==========================================================================
   === MOBILE UX & SLIDE-IN DRAWER ENHANCEMENTS ===
   ========================================================================== */

/* 1. Fixed Bottom App Navigation Bar */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding: 0 4px;
}
.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  flex: 1;
}
.bottom-nav-item:hover,
.bottom-nav-item.active {
  color: var(--color-accent);
}

/* 2. Slide-In Navigation Drawer */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(3px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}
.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 85%;
  max-width: 320px;
  height: 100%;
  background: var(--color-surface);
  z-index: 2001;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.25);
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-nav-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  background: var(--color-primary);
  color: white;
  padding: 20px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.drawer-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.drawer-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  background: white;
  object-fit: contain;
}
.drawer-logo-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
}
.drawer-user-info strong {
  font-size: 16px;
  display: block;
  line-height: 1.2;
}
.drawer-user-info p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}
.drawer-close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.drawer-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.drawer-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.drawer-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 16px;
}
.drawer-section:last-child {
  border-bottom: none;
}
.drawer-section-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}
.drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.drawer-link:hover {
  background: var(--color-table-hover-bg);
  color: var(--color-accent);
}
.drawer-highlight-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, var(--color-accent) 0%, #F2994A 100%);
  color: white !important;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}
.drawer-social-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.drawer-social-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: white !important;
  text-decoration: none;
  transition: opacity 0.2s;
}
.drawer-social-chip:hover {
  opacity: 0.9;
}
.whatsapp-chip { background: #138808; }
.telegram-chip { background: #2563EB; }
.youtube-chip { background: #DC2626; }
.facebook-chip { background: #1877F2; }

.drawer-footer {
  padding-top: 8px;
}
.drawer-theme-toggle {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--color-border);
  background: var(--color-table-hover-bg);
  color: var(--color-text);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.2s;
}
.drawer-theme-toggle:hover {
  background: var(--color-border);
}

/* 3. Mobile Homepage Layout Refinements (<= 768px) */
@media (max-width: 768px) {
  body {
    padding-bottom: 74px; /* Ensure bottom bar never covers content */
  }
  .hero-section {
    padding: 24px 0;
  }
  .hero-container-split {
    flex-direction: column;
    gap: 20px;
  }
  .hero-left {
    text-align: center;
  }
  .hero-title {
    font-size: 26px !important;
    line-height: 1.25 !important;
  }
  .hero-subtitle {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .hero-stats-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }
  .stat-card {
    padding: 12px 10px;
    justify-content: flex-start;
  }
  .hero-search-card {
    padding: 18px 14px;
  }
  .search-form input[type="search"] {
    font-size: 16px !important; /* Prevents iOS auto-zoom */
    padding: 12px 40px 12px 14px;
  }
  .home-section-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .categories-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }
  .cat-card {
    padding: 14px 6px;
  }
  .cat-name {
    font-size: 12px;
  }
  .breaking-ticker {
    font-size: 12px;
  }
  .ticker-track {
    gap: 16px;
  }
}

/* ==========================================================================
   === MOBILE APP VIEW & PIXEL-PERFECT HOME PAGE REDESIGN (5 SCREENSHOTS) ===
   ========================================================================== */

/* 1. ORANGE TICKER BAR (Screenshot 1) */
.mobile-orange-ticker {
  background: linear-gradient(90deg, #E85A19 0%, #FF6B00 100%);
  color: white;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(232, 90, 25, 0.25);
  overflow: hidden;
}
.ticker-flex {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ticker-fire-icon { font-size: 16px; flex-shrink: 0; }
.ticker-prefix { color: #FFFFFF; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; flex-shrink: 0; }
.ticker-divider { color: rgba(255,255,255,0.6); flex-shrink: 0; }
.ticker-text { color: white; text-decoration: none; overflow: hidden; text-overflow: ellipsis; }
.ticker-text:hover { text-decoration: underline; }
.ticker-arrow { font-weight: 800; flex-shrink: 0; margin-left: auto; }

/* 2. NAVY HERO BANNER & WHITE SEARCH CARD (Screenshot 1) */
.hero-app-section {
  padding: 24px 0 36px 0;
  background: var(--color-background);
}
.hero-app-banner {
  background: linear-gradient(160deg, #0A1C3E 0%, #112B5C 100%);
  border-radius: 20px;
  padding: 36px 20px 48px 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(10, 28, 62, 0.2);
  position: relative;
  overflow: visible;
  margin-bottom: 30px;
}
.hero-app-title {
  color: white;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 16px 0;
  letter-spacing: -0.5px;
}
.highlight-orange { color: #FF6B00; }
.hero-app-badge-wrap {
  margin-bottom: 24px;
}
.badge-new-jobs {
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 13px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 30px;
  display: inline-block;
  letter-spacing: 0.3px;
}

/* White Floating Search Card inside Hero */
.search-app-card {
  background: var(--color-surface);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  margin: 0 auto -70px auto;
  max-width: 720px;
  position: relative;
  z-index: 10;
  border: 1px solid var(--color-border);
}
.search-app-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.search-app-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--color-background);
  border: 1.5px solid var(--color-border);
  border-radius: 12px;
  padding: 0 14px;
  transition: border-color 0.2s;
}
.search-app-input-row:focus-within {
  border-color: var(--color-accent);
}
.search-input-icon { flex-shrink: 0; }
#search-input {
  width: 100%;
  border: none;
  background: transparent;
  padding: 14px 0;
  font-size: 16px; /* 16px prevents iOS auto-zoom */
  color: var(--color-text);
  outline: none;
}
.search-app-filters-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
}
.search-select-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 0 12px;
}
.search-select-box select {
  border: none;
  background: transparent;
  width: 100%;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  outline: none;
  cursor: pointer;
}
.btn-search-orange {
  background: linear-gradient(135deg, #E85A19 0%, #FF6B00 100%);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
  white-space: nowrap;
}
.btn-search-orange:hover { opacity: 0.92; transform: translateY(-1px); }

/* 3. 10 ROUNDED SHORTCUT ICONS GRID (Screenshot 1) */
.app-icons-section {
  padding: 60px 0 24px 0;
}
.app-icons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 14px;
}
.app-icon-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 16px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 700;
  font-size: 12px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.app-icon-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
  border-color: var(--color-accent);
}
.app-icon-bg {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.bg-blue { background: #E0F2FE; }
.bg-green { background: #DCFCE7; }
.bg-orange { background: #FFEDD5; }
.bg-purple { background: #F3E8FF; }
.bg-teal { background: #CCFBF1; }
.bg-indigo { background: #E0E7FF; }
.bg-red { background: #FEE2E2; }

/* 4. BROWSE BY DEPARTMENT (Screenshot 1) */
.app-departments-section {
  padding: 24px 0;
}
.app-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.app-section-header h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-text);
  margin: 0;
}
.app-view-all {
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.app-dept-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.app-dept-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  text-decoration: none;
  transition: transform 0.2s, border-color 0.2s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}
.app-dept-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
}
.app-dept-icon { font-size: 26px; }
.app-dept-name { font-size: 14px; font-weight: 700; color: var(--color-text); }
.app-dept-count { font-size: 12px; color: var(--color-text-muted); font-weight: 600; }

/* 5. LATEST GOVERNMENT JOBS & JOB CARDS (Screenshot 1 & 4) */
.app-latest-jobs-section,
.app-more-latest-section {
  padding: 20px 0;
}
.app-job-cards-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.app-job-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.app-job-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--color-accent);
}
.app-job-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.07);
}
.app-job-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.app-badge-new {
  background: #E8F5E9;
  color: #2E7D32;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.app-job-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--color-text);
  margin: 0;
}
.app-job-dept {
  font-size: 13px;
  color: var(--color-text-secondary);
}
.app-job-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 4px;
}
.meta-separator { color: var(--color-border); }
.btn-apply-green {
  background: #E8F5E9;
  color: #2E7D32;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 16px;
  border-radius: 30px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn-apply-green:hover {
  background: #2E7D32;
  color: white;
}
.view-all-center {
  text-align: center;
  margin-top: 20px;
}
.app-view-all-link {
  display: inline-block;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}
.app-view-all-link:hover { text-decoration: underline; }

/* 6. COLORED APP BANNERS (Telegram, WhatsApp, YouTube) */
.app-banner-section {
  padding: 12px 0;
}
.app-telegram-banner {
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  color: white;
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
  transition: transform 0.2s;
}
.app-whatsapp-banner {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: white;
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
  transition: transform 0.2s;
}
.app-youtube-banner {
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
  color: white;
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.25);
  transition: transform 0.2s;
}
.app-telegram-banner:hover,
.app-whatsapp-banner:hover,
.app-youtube-banner:hover {
  transform: translateY(-2px);
}
.app-banner-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.banner-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.bg-white-blue { background: rgba(255,255,255,0.2); }
.bg-white-green { background: rgba(255,255,255,0.2); }
.bg-white-red { background: rgba(255,255,255,0.2); }
.banner-text-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.banner-text-block strong { font-size: 15px; font-weight: 800; color: white; }
.banner-text-block span { font-size: 12px; color: rgba(255,255,255,0.85); }
.banner-title-single { font-size: 16px; font-weight: 800; color: white; }
.banner-arrow { font-size: 18px; font-weight: 800; color: white; margin-left: 12px; }

/* 7. 2-COLUMN SECTIONS (Admit Card / Results / Answer Key / Syllabus / Admission / Forms) */
.app-2col-section {
  padding: 16px 0;
}
.app-2col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.app-col-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.app-col-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 12px;
}
.col-title-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.col-title-left h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--color-text);
  margin: 0;
}
.col-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.orange-box { background: #FFEDD5; color: #EA580C; }
.green-box { background: #DCFCE7; color: #16A34A; }
.purple-box { background: #F3E8FF; color: #9333EA; }
.teal-box { background: #CCFBF1; color: #0D9488; }
.indigo-box { background: #E0E7FF; color: #4F46E5; }

.btn-col-view-all {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  background: var(--color-background);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--color-border);
}
.app-col-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.app-col-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--color-background);
  text-decoration: none;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s, transform 0.1s;
  border: 1px solid transparent;
}
.app-col-item:hover {
  background: var(--color-surface);
  border-color: var(--color-border);
  transform: translateX(2px);
}
.item-icon-left { font-size: 16px; flex-shrink: 0; }
.orange-text { color: #EA580C; }
.green-text { color: #16A34A; }
.indigo-text { color: #4F46E5; }
.item-title {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.item-arrow { color: var(--color-text-muted); font-weight: 700; flex-shrink: 0; }
.badge-red-pdf {
  background: #DC2626;
  color: white;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}
.item-text-stack {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  overflow: hidden;
}
.item-date {
  font-size: 11px;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* 8. MORE LATEST JOBS & SCREENSHOT 4 SIDEBAR WIDGETS */
.app-split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
}
.app-main-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.app-sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.app-stay-updated-card {
  background: linear-gradient(145deg, #0284C7 0%, #1E40AF 100%);
  color: white;
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(30, 64, 175, 0.25);
}
.stay-bell-wrap {
  position: relative;
  display: inline-block;
  font-size: 36px;
  margin-bottom: 10px;
}
.stay-badge {
  position: absolute;
  top: 0;
  right: -6px;
  background: #DC2626;
  color: white;
  font-size: 12px;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.app-stay-updated-card h4 {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 16px 0;
  line-height: 1.3;
}
.btn-follow-facebook {
  background: white;
  color: #1E40AF;
  font-size: 14px;
  font-weight: 800;
  padding: 10px 24px;
  border-radius: 30px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.app-sidebar-widget {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.app-sidebar-widget h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--color-text);
  margin: 0;
}
.app-state-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.app-state-grid a {
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  text-align: center;
}
.app-state-grid a:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn-state-view-all {
  display: block;
  text-align: center;
  background: var(--color-background);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 13px;
  padding: 10px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid var(--color-border);
}
.app-email-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.app-email-form input[type="email"] {
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  outline: none;
}
.btn-subscribe-orange {
  background: #FF6B00;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.app-quick-socials {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.app-social-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 10px;
  color: white !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.btn-telegram { background: #0284C7; }
.btn-whatsapp { background: #10B981; }
.btn-youtube { background: #DC2626; }
.btn-facebook { background: #2563EB; }

/* 9. 3 TRUST BADGES GRID (Screenshot 5) */
.app-trust-section {
  padding: 30px 0;
}
.app-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.trust-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 24px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.trust-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}
.bg-green-light { background: #DCFCE7; }
.bg-orange-light { background: #FFEDD5; }
.trust-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--color-text);
  margin: 0;
}
.trust-card p {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin: 0;
  line-height: 1.5;
}

/* 10. BOTTOM 5 SHORTCUT CATEGORY CARDS (Screenshot 5 bottom) */
.app-bottom-shortcuts-section {
  padding: 20px 0 40px 0;
}
.app-bottom-shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.bottom-shortcut-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 16px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--color-text);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}
.bs-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

/* ==========================================================================
   === MOBILE RESPONSIVE ADAPTATIONS FOR ALL 5 SCREENSHOTS (<= 768px) ===
   ========================================================================== */
@media (max-width: 768px) {
  .app-icons-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
  }
  .app-icon-card {
    padding: 12px 4px;
    font-size: 11px;
  }
  .app-icon-bg {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }
  .app-dept-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .search-app-filters-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .btn-search-orange {
    width: 100%;
  }
  .app-job-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .app-job-right {
    width: 100%;
  }
  .btn-apply-green {
    width: 100%;
    justify-content: center;
  }
  .app-2col-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .app-split-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .app-trust-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .app-bottom-shortcuts-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .app-banner-left {
    flex: 1;
    overflow: hidden;
  }
  .banner-text-block strong,
  .banner-title-single {
    font-size: 14px;
  }
}

/* Job Meta Chips (Start Date, Last Date, Vacancies) */
.app-job-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.job-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
}
.chip-start {
  background: #F0FDF4;
  color: #166534;
  border: 1px solid #BBF7D0;
}
.chip-end {
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}
.chip-vacancies {
  background: #EFF6FF;
  color: #1E40AF;
  border: 1px solid #BFDBFE;
}
@media (max-width: 768px) {
  .app-job-meta-row {
    gap: 6px;
  }
  .job-meta-chip {
    font-size: 11px;
    padding: 3px 8px;
  }
}

/* ==========================================================================
   1. SLEEK 1-ROW DESKTOP HEADER & ORANGE LIVE TICKER (Screenshot Match)
   ========================================================================== */

.header-desktop-sleek {
  background-color: #0F172A;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 1050;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.header-desktop-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.header-desktop-sleek .site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.header-desktop-sleek .logo-main {
  font-family: 'Noto Sans', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: #FFFFFF;
  letter-spacing: -0.5px;
  display: block;
  line-height: 1.1;
}

.header-desktop-sleek .logo-sub {
  font-size: 10px;
  font-weight: 700;
  color: #94A3B8;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
  margin-top: 2px;
}

.header-desktop-sleek .main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header-desktop-sleek .main-nav a {
  color: #E2E8F0;
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  padding: 8px 4px;
  position: relative;
  transition: color 0.2s ease;
}

.header-desktop-sleek .main-nav a:hover,
.header-desktop-sleek .main-nav a.active {
  color: #FF6B00;
}

.header-desktop-sleek .main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: #FF6B00;
  border-radius: 2px;
}

.header-right-tools {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-job-alerts-orange {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #FF6B00 0%, #FF8533 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 13.5px;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-job-alerts-orange:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 107, 0, 0.5);
}

.header-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #E2E8F0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  text-decoration: none;
}

.header-icon-btn:hover {
  background-color: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
}

.top-live-ticker {
  background: linear-gradient(90deg, #FF5500 0%, #FF6B00 50%, #FF7B00 100%);
  color: #FFFFFF;
  padding: 10px 0;
  font-size: 13.5px;
  font-weight: 600;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 8px rgba(255, 107, 0, 0.2);
}

.top-live-ticker .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.live-badge-red {
  background-color: #DC2626;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.4);
  flex-shrink: 0;
}

.ticker-content-scroll {
  display: flex;
  align-items: center;
  gap: 18px;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-link-item {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.ticker-link-item:hover {
  text-decoration: underline;
  opacity: 0.9;
}

.ticker-view-all {
  color: #FFFFFF;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   2. JOB DETAIL PAGE REDESIGN (Screenshot Match)
   ========================================================================== */

.job-detail-page-container {
  padding-top: 24px;
  padding-bottom: 60px;
}

.job-detail-main-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.job-detail-main-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0; /* Prevent flex children from expanding the grid */
}

/* Global table responsive rule */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  display: block;
  -webkit-overflow-scrolling: touch;
}

/* 2.1 Job Detail Header Card */
.job-detail-hero-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 24px 28px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  position: relative;
}

.job-detail-hero-inner {
  display: flex;
  gap: 22px;
  align-items: flex-start;
}

.job-dept-emblem-seal {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #DC2626;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 800;
  border: 4px solid #FEE2E2;
  box-shadow: 0 4px 10px rgba(220, 38, 38, 0.25);
  flex-shrink: 0;
}

.job-dept-emblem-seal .emblem-code {
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.5px;
}

.job-dept-emblem-seal .emblem-lbl {
  font-size: 9px;
  text-transform: uppercase;
  margin-top: 3px;
  opacity: 0.9;
  letter-spacing: 0.5px;
}

.job-detail-hero-content {
  flex: 1;
  min-width: 0;
}

.job-hero-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.badge-active-green {
  background-color: #DCFCE7;
  color: #16A34A;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-print-page {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-print-page:hover {
  background: #F8FAFC;
  border-color: #94A3B8;
  color: #0F172A;
}

.job-detail-main-title {
  font-size: 26px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.25;
  margin: 0 0 6px 0;
}

.job-detail-sub-title {
  font-size: 16px;
  font-weight: 600;
  color: #334155;
  margin: 0 0 16px 0;
}

.job-detail-chips-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.job-chip-pill {
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 2.2 Urgent Deadline Banner Card */
.job-detail-countdown-banner {
  background: #FFF5F5;
  border: 1px solid #FECACA;
  border-radius: 12px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.deadline-text-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #DC2626;
}

.countdown-boxes-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.countdown-box-item {
  background: #FFFFFF;
  border: 1px solid #FECACA;
  border-radius: 8px;
  padding: 6px 12px;
  text-align: center;
  min-width: 54px;
  box-shadow: 0 1px 2px rgba(220, 38, 38, 0.08);
}

.cd-num-red {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: #DC2626;
  line-height: 1.1;
}

.cd-lbl-red {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: #991B1B;
  text-transform: uppercase;
  margin-top: 2px;
}

/* 2.3 Primary Action Buttons Bar */
.job-detail-actions-row { display: flex; flex-wrap: wrap; gap: 14px; }
.job-detail-actions-row .btn-job-action { flex: 1 1 200px; }

.btn-job-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 700;
  padding: 14px 18px;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-action-orange {
  background: linear-gradient(135deg, #FF6B00 0%, #FF8533 100%);
  color: #FFFFFF !important;
  border: none;
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}

.btn-action-orange:hover {
  box-shadow: 0 6px 16px rgba(255, 107, 0, 0.45);
  transform: translateY(-1px);
}

.btn-action-navy {
  background-color: #0F172A;
  color: #FFFFFF !important;
  border: none;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
}

.btn-action-navy:hover {
  background-color: #1E293B;
  transform: translateY(-1px);
}

.btn-action-outline {
  background-color: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #0F172A !important;
}

.btn-action-outline:hover {
  background-color: #F8FAFC;
  border-color: #94A3B8;
}

/* 2.4 Job Overview Card */
.job-overview-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 24px 28px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.overview-card-title {
  font-size: 18px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 20px 0;
}

.overview-4x2-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.overview-grid-box {
  background-color: #F8FAFC;
  border: 1px solid #F1F5F9;
  border-radius: 10px;
  padding: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.overview-icon-sq {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.icon-blue { background-color: #E0F2FE; }
.icon-green { background-color: #DCFCE7; }
.icon-purple { background-color: #F3E8FF; }
.icon-orange { background-color: #FFEDD5; }
.icon-pink { background-color: #FCE7F3; }
.icon-teal { background-color: #CCFBF1; }
.icon-red { background-color: #FEE2E2; }

.overview-text-col {
  display: flex;
  flex-direction: column;
}

.overview-label {
  font-size: 12px;
  font-weight: 600;
  color: #64748B;
  margin-bottom: 3px;
}

.overview-val {
  font-size: 14px;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.3;
  word-break: break-word;
}

.val-red {
  color: #DC2626 !important;
}

/* 2.5 Horizontal Tabs Navigation Bar */
.job-tabs-navbar {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 2px solid #E2E8F0;
  margin: 12px 0 24px 0;
  overflow-x: auto;
  padding-bottom: 2px;
}

.job-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #475569;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 8px 8px 0 0;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
}

.job-tab-btn:hover {
  color: #FF6B00;
  background-color: #F8FAFC;
}

.job-tab-btn.active {
  color: #FF6B00;
  border-bottom-color: #FF6B00;
  background-color: #FFF7ED;
}

/* 2.6 Detailed Content Cards & Tables */
.job-detail-section-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 24px 28px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.section-card-heading {
  font-size: 18px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 18px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dates-timeline-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.timeline-row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px dashed #E2E8F0;
}

.timeline-row-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.tl-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 600;
  color: #334155;
}

.tl-bullet {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.tl-bullet-orange { background-color: #F97316; }
.tl-bullet-green { background-color: #22C55E; }
.tl-bullet-red { background-color: #EF4444; }
.tl-bullet-blue { background-color: #3B82F6; }

.tl-right {
  font-size: 14.5px;
  font-weight: 700;
  color: #0F172A;
}

.tl-right-red {
  color: #DC2626 !important;
}

/* 2.7 Sidebar Components */
.sidebar-quick-actions-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.sq-header-banner {
  background-color: #0F172A;
  color: #FFFFFF;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sq-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-sidebar-full {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.btn-sf-orange {
  background: linear-gradient(135deg, #FF6B00 0%, #FF8533 100%);
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}

.btn-sf-orange:hover {
  box-shadow: 0 6px 16px rgba(255, 107, 0, 0.45);
  transform: translateY(-1px);
}

.btn-sf-outline {
  background-color: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #0F172A !important;
}

.btn-sf-outline:hover {
  background-color: #F8FAFC;
  border-color: #94A3B8;
}

.sidebar-highlights-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 22px 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.jh-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.jh-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  font-size: 14px;
  gap: 12px;
}

.jh-left {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #475569;
  font-weight: 600;
  flex-shrink: 0;
}

.jh-right {
  font-weight: 700;
  color: #0F172A;
  text-align: right;
  word-break: break-word;
  min-width: 0;
}

.sidebar-related-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 22px 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.related-jobs-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.related-job-item {
  padding-bottom: 14px;
  border-bottom: 1px solid #F1F5F9;
}

.related-job-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.rj-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #0F172A;
  text-decoration: none;
  display: block;
  line-height: 1.35;
  margin-bottom: 6px;
}

.rj-title:hover {
  color: #FF6B00;
}

.rj-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #64748B;
}

.badge-active-mini {
  background-color: #DCFCE7;
  color: #16A34A;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

.sidebar-channels-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 22px 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.channels-2x2-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.channel-btn-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 13.5px;
  padding: 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.channel-btn-item:hover {
  opacity: 0.92;
}

.ch-tg { background-color: #0088CC; }
.ch-wa { background-color: #25D366; }
.ch-yt { background-color: #FF0000; }
.ch-fb { background-color: #1877F2; }

/* 2.8 Floating Bottom-Right Apply Button */
.floating-apply-button {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1040;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF6B00 0%, #FF8533 100%);
  color: #FFFFFF !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.45);
  font-weight: 800;
  font-size: 11px;
  line-height: 1.1;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-apply-button:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 25px rgba(255, 107, 0, 0.6);
}

.floating-apply-button .fa-icon {
  font-size: 18px;
  margin-bottom: 2px;
}

/* ==========================================================================
   3. RESPONSIVE BREAKPOINTS (Mobile & Tablet)
   ========================================================================== */

@media (max-width: 992px) {
  .job-detail-main-layout {
    grid-template-columns: 1fr;
  }
  
  .overview-4x2-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-desktop-sleek {
    display: none !important;
  }
  
  .job-detail-hero-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .job-hero-top-row {
    width: 100%;
    justify-content: space-between;
  }
  
  .job-detail-chips-row {
    justify-content: center;
  }
  
  .job-detail-countdown-banner {
    flex-direction: column;
    text-align: center;
  }
  
  .overview-4x2-grid {
    grid-template-columns: 1fr;
  }
  
  .floating-apply-button {
    bottom: 80px;
    right: 20px;
    width: 64px;
    height: 64px;
    font-size: 10px;
  }
}

/* ==================== 3-TIER DESKTOP HEADER (SCREENSHOT MATCH) ==================== */
.header-tier1-banner {
  background: #1B365D;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-tier1-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-decoration: none;
}
.header-tier1-inner .logo-box-white {
  width: 52px;
  height: 52px;
  background: #FFFFFF;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 4px;
}
.header-tier1-inner .logo-box-white img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.header-tier1-inner .logo-text-block {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.header-tier1-inner .logo-title-main {
  color: #FFFFFF;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.5px;
}
.header-tier1-inner .logo-title-sub {
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 3px;
}

.header-tier2-navbar {
  background: #0F172A;
  height: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.header-tier2-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.tier2-nav-links { display: flex; align-items: center; gap: 22px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.tier2-nav-links::-webkit-scrollbar { display: none; }
.tier2-nav-links a {
  color: #E2E8F0;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.tier2-nav-links a:hover {
  color: #FF6B00;
}
.tier2-right-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-private-jobs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FF6B00;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s ease;
}
.btn-private-jobs:hover {
  background: #E65100;
  color: #FFFFFF;
}
.badge-new-green {
  background: #16A34A;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 10px;
  text-transform: uppercase;
  line-height: 1;
}
.btn-job-alerts-navy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1E293B;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-job-alerts-navy:hover {
  background: #334155;
  color: #FFFFFF;
}
.theme-toggle-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.theme-toggle-circle:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.header-tier3-ticker {
  background: #FF6B00;
  height: 38px;
  color: #FFFFFF;
}
.header-tier3-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
  overflow: hidden;
}
.ticker-badge-live {
  background: #EF4444;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.ticker-badge-latest {
  background: #0F172A;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.ticker-marquee-wrap {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  align-items: center;
}
.ticker-marquee-wrap marquee {
  width: 100%;
  color: #FFFFFF;
}
.ticker-marquee-wrap a {
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  margin-right: 20px;
}
.ticker-marquee-wrap a:hover {
  text-decoration: underline;
}


/* Job Alerts Dropdown in Header */
.job-alerts-dropdown-wrapper {
  position: relative;
  display: inline-block;
}
.job-alerts-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 8px 0;
}
.job-alerts-dropdown-wrapper:hover .job-alerts-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.job-alerts-dropdown-menu a {
  padding: 10px 16px;
  color: var(--color-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background 0.2s;
}
.job-alerts-dropdown-menu a:hover {
  background: var(--color-table-hover-bg);
}

