/* =========================================
   1. GLOBAL VARIABLES & RESET
   ========================================= */
:root {
  /* Educational Tech Theme (Clean Blue & White) */
  --primary-color: #2c3e50;
  /* Deep Slate (Professional) */
  --secondary-color: #1f618d;
  /* Darker Blue (WCAG AA) was #3498db */
  /* Trust Blue (Educational) */
  --accent-color: #c0392b;
  /* Darker Red (WCAG AA) was #e74c3c */
  /* Alert Red */
  --text-dark: #2c3e50;
  --text-light: #fff;

  /* Clean Grid Background */
  --bg-color: #f4f7f6;
  --card-bg: #ffffff;

  --shadow-soft: 0 4px 6px rgba(0, 0, 0, 0.05);
  /* Minimal Shadow */
  --card-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  /* Clean Lift */

  --correct-color: #196f3d;
  /* Darker Green (WCAG AA) was #27ae60 */
  --wrong-color: #c0392b;
  /* Matches accent */
  --skip-color: #7f8c8d;
  /* Darker Gray */
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
  background-image:
    linear-gradient(#e1e8ed 1px, transparent 1px),
    linear-gradient(90deg, #e1e8ed 1px, transparent 1px);
  background-size: 40px 40px;
  /* Subtle graph paper effect */
  color: var(--text-dark);
  min-height: 100vh;
}

/* Global Container Width Standard for Desktop */
.home-card,
.lb-container,
.guide-container,
.blog-container,
.timetable-container,
.profile-container,
.contact-container {
  width: 100%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

/* Ensure Quiz Card has its own specific styling but matches width */
.quiz-card {
  max-width: 1000px;
  margin: 0 auto;
}

.hidden {
  display: none !important;
}

/* =========================================
   2. HEADER (Clean Tech)
   ========================================= */
.top-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 65px;
  /* Slightly compact */
  background: #ffffff;
  border-bottom: 3px solid var(--secondary-color);
  /* Brand line */
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary-color);
  text-decoration: none;
  letter-spacing: 0.5px;
}

.logo span {
  color: var(--secondary-color);
  background: none;
  -webkit-text-fill-color: initial;
}

.login-btn {
  padding: 8px 20px;
  border-radius: 6px;
  /* Softer square */
  border: 2px solid var(--secondary-color);
  background: transparent;
  color: #1565c0;
  /* Darker Blue for Contrast (Accessibility Fix) */
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
  font-size: 14px;
  text-decoration: none;
}

.login-btn:hover {
  background: var(--secondary-color);
  color: #fff;
  box-shadow: none;
}

/* =========================================
   3. HOME SCREEN LAYOUT (Structured)
   ========================================= */
.level-screen {
  min-height: calc(100vh - 65px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.home-card {
  width: 100%;
  max-width: 1000px;
  /* Increased from 580px for better alignment */
  background: linear-gradient(135deg, #e6f3ff 0%, #fff 50%, #ffe6f9 100%);
  padding: 40px 35px 60px 35px;
  border-radius: 25px;
  /* Premium Soft Shadow + Subtle Glow */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.02);
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: auto;
  transition: transform 0.3s ease;
}

.home-card:hover {
  transform: translateY(-5px);
  /* Gentle float effect */
}

/* Attractive Top Gradient Strip */
.home-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  /* Educational Futuristic Gradient (Rainbow) */
  background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
}



.welcome-text h1 {
  font-size: 30px;
  margin-bottom: 5px;
  margin-top: 5px;
  color: var(--text-dark);
}

.welcome-text p {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
}

.subject-selection {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* Mobile: 2 columns */
  gap: 20px;
  margin-bottom: 30px;
}

/* Desktop: 3 columns */
@media (min-width: 769px) {
  .subject-selection {
    grid-template-columns: repeat(3, 1fr);
  }
}

.subject-card {
  padding: 20px;
  background: linear-gradient(135deg, #f8fbff 0%, #fff 100%);
  border: 1px solid #eef2f7;
  /* Very subtle border */
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  font-weight: 600;
  color: #666;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.subject-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  border-color: #dbeafe;
}

.subject-card i {
  font-size: 28px;
  margin-bottom: 10px;
  color: #cbd5e1;
  /* Soft grey by default */
  transition: 0.3s;
}

.subject-card.active {
  background: linear-gradient(135deg, #e6f0ff 0%, #f0f9ff 100%);
  /* Light blue gradient */
  border-color: #3b82f6;
  color: #1e40af;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
  /* Blue Glow */
}

.subject-card.active i {
  color: #3b82f6;
  transform: scale(1.1);
  /* Icon pops up */
}

/* Difficulty Dropdown Styling */
.field-group {
  margin: 30px 0;
  text-align: left;
}

.field-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #444;

}

.custom-select {
  position: relative;
  width: 100%;
}

.select-trigger {
  background: linear-gradient(135deg, #f0f7ff 0%, #fff 100%);
  border: 2px solid #dbeafe;
  padding: 12px 15px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: #444;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.select-trigger:hover {
  border-color: #3b82f6;
  box-shadow: 0 6px 15px rgba(59, 130, 246, 0.15);
}

.select-options {
  display: none;
  position: absolute;
  top: 105%;
  left: 0;
  width: 100%;
  background: linear-gradient(135deg, #fff 0%, #f0f9ff 100%);
  border: 2px solid #3b82f6;
  border-radius: 12px;
  z-index: 10;
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.2);
  overflow: hidden;
}

.select-options.active {
  display: block;
}

.option {
  padding: 12px 15px;
  cursor: pointer;
  border-bottom: 1px solid #e0f2fe;
  transition: all 0.3s ease;
  font-weight: 500;
}

.option:last-child {
  border-bottom: none;
}

.option:hover {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: #1e40af;
  padding-left: 20px;

}

.start-btn {
  width: 100%;
  padding: 16px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
  color: #9ca3af;
  cursor: not-allowed;
  transition: 0.4s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.start-btn.enabled {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.start-btn.enabled:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(37, 117, 252, 0.3);
}

/* =========================================
   4. QUIZ SCREEN
   ========================================= */
#quizContainer {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
}

.quiz-card {
  width: 100%;
  height: auto !important;
  max-width: 1000px;
  /* Increased from 650px to match home-card */
  background: #fff;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 10px 30px var(--secondary-color);
}

.card-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  font-weight: 700;
  font-size: 18px;
}

.level-badge {
  padding: 6px 16px;
  border-radius: 20px;
  background: var(--primary-color);
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
}

#questionText {
  font-size: 26px;
  font-weight: 600;
  text-align: center;
  padding: 30px;
  margin-bottom: 25px;
  background: linear-gradient(135deg, #f0f9ff 0%, #fff 50%, #fff5f0 100%);
  border-radius: 12px;
  line-height: 1.4;
}

#questionText.series-style {
  letter-spacing: 2px;
  font-family: monospace;
}

#options label {
  display: block;
  padding: 15px 20px;
  margin-bottom: 12px;
  border: 2px solid #eee;
  border-radius: 12px;
  cursor: pointer;
  font-size: 18px;
}

#options label:hover {
  background: #f0f7ff;
  border-color: #bad6ff;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.skip-btn {
  padding: 12px 25px;
  background: #fff;
  border: 2px solid var(--accent-color);
  border-radius: 10px;
  cursor: pointer;
}

.level-btn.blue {
  background: var(--secondary-color);
  color: #fff;
  border: none;
  padding: 12px 35px;
  border-radius: 10px;
  cursor: pointer;
}

/* =========================================
   5. RESULTS & GRAPHS
   ========================================= */
.result {
  max-width: 800px;
  width: 100%;
  margin: auto;
  text-align: center;
  padding: 20px;
  height: auto !important;

}

.stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
  height: auto;
}

.stat-card {
  flex: 1 1 150px;
  padding: 20px;
  border-radius: 16px;
  text-align: center;
  color: #fff;
}

.stat-card b {
  display: block;
  font-size: 24px;
  margin-top: 5px;
}

/* Colors */
.green {
  background: #2ecc71;
}

.red {
  background: #e74c3c;
}

.grey {
  background: #95a5a6;
}

.black {
  background: #34495e;
}

.blue {
  background: #3498db;
}

.purple {
  background: #9b59b6;
}

.yellow {
  background: #f1c40f;
  color: #000;
}

.graph-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.graph-box {
  background: #fff;
  padding: 10px;
  border-radius: 18px;
  box-shadow: 0px 5px 15px var(--secondary-color);
  height: 350px;
}

.retake-btn {
  display: block;
  margin: 40px auto;
  padding: 15px 40px;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  cursor: pointer;
}

/* =========================================
   UNIVERSAL PROFILE PAGE (Mobile + Desktop)
   ========================================= */

.profile-container {
  display: flex;
  justify-content: center;
  align-items: center;
  /* Screen ke beech mein rakhega */
  min-height: calc(100vh - 70px);
  /* Header minus karke height lega */
  padding: 20px;
}

.profile-card {
  width: 100%;
  /* Desktop par 500px par ruk jayega, Mobile par fail jayega */
  max-width: 500px;
  padding: 40px 30px;
  background: #ffffff;
  border-radius: 24px;
  /* Soft Shadow jo dono screen par achhi lage */
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.02);
}

/* Wo Rangin Patti (Gradient Strip) */
.profile-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.profile-card h2 {
  font-size: 26px;
  margin-bottom: 5px;
  color: var(--text-dark);
}

.profile-card .subtitle {
  font-size: 14px;
  color: #777;
  margin-bottom: 30px;
}

/* User Info Box */
.avatar-container {
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.profile-icon {
  font-size: 80px;
  color: #e0e6f5;
  /* Fallback color */
  background: #fff;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);

  /* Gradient Text Logic */
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  /* Safari/Chrome */
  background-clip: text;
  /* Standard Property (Compatibility Added) */
  -webkit-text-fill-color: transparent;
}

.verified-badge {
  position: absolute;
  bottom: 10px;
  right: 5px;
  background: var(--correct-color);
  color: #fff;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  border: 2px solid #fff;
}

.user-info {
  background: #f8f9fc;
  padding: 20px;
  border-radius: 16px;
  margin-bottom: 25px;
  text-align: left;
  border: 1px solid #eef2f7;
}

.user-info p {
  margin: 12px 0;
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  color: #555;
  border-bottom: 1px solid #eef2f7;
  padding-bottom: 8px;
}

.user-info p:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.user-info p strong {
  color: var(--text-dark);
  font-weight: 600;
}

/* Buttons (Universal Size) */
.logout-btn {
  width: 100%;
  background: linear-gradient(90deg, #e74c3c, #c0392b);
  color: #fff;
  padding: 14px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 4px 15px rgba(231, 76, 60, 0.2);
}

.logout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(231, 76, 60, 0.3);
}

.back-btn {
  display: block;
  width: 100%;
  margin-top: 15px;
  padding: 12px;
  background: transparent;
  color: #777;
  border: 2px solid transparent;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: 0.3s;
}

.back-btn:hover {
  color: var(--secondary-color);
  background: #f0f7ff;
}

/* Footer */
.main-footer {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, #e6f4ff 0%, #fff 30%, #ffe6f7 70%, #fff 100%);
  margin-top: 30px;
  font-size: 14px;
  width: 100%;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
  position: relative;
}

.main-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #11998e 75%, #667eea 100%);
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.footer-links a {
  padding: 8px 16px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  border-radius: 20px;
  transition: all 0.3s ease;
  font-size: 13px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Unique gradient for each link */
.footer-links a:nth-child(1) {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.footer-links a:nth-child(2) {
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.footer-links a:nth-child(3) {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.footer-links a:nth-child(4) {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.footer-links a:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.main-footer p {
  color: #666;
  margin-top: 15px;
  font-size: 13px;
  font-weight: 500;
}

.main-footer p b {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

/* =========================================
   NAVIGATION & DROPDOWN MENU
   ========================================= */

/* Navbar Layout */
.navbar {
  display: flex;
  align-items: center;
}

/* Dropdown Container */
.dropdown {
  position: relative;
  display: inline-block;
}

/* The Main Button (Tips & Tricks) */
.dropbtn {
  background: transparent;
  color: var(--text-dark);
  /* */
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: inherit;
  /* Fonts match karega */
}

.dropbtn i {
  font-size: 18px;
  color: var(--secondary-color);
  /* */
  transition: 0.3s;
}

/* Dropdown Content (Hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  /* Center align */
  background-color: #ffffff;
  min-width: 200px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  /* Premium Shadow */
  border-radius: 16px;
  padding: 10px 0;
  z-index: 1000;
  /* Card ke upar dikhega */
  border: 1px solid #f0f0f0;
}

/* Links inside Dropdown */
.dropdown-content a {
  color: #333;
  padding: 12px 20px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  transition: 0.2s;
}

.dropdown-content a i {
  color: var(--secondary-color);
  font-size: 18px;
}

.dropdown-content a:hover {
  background-color: #f8f9fb;
  color: var(--secondary-color);
}

/* Show Dropdown on Hover */
.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:hover .dropbtn i {
  transform: rotate(180deg);
  /* Arrow ghumega */
}


/* style.css ke end mein add karein */
.mobile-menu-icon {
  display: none;
  /* Default mein chupa rahega */
}

/* =========================================
   CONTACT PAGE (Universal Style)
   ========================================= */

.contact-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

.contact-card {
  background: #ffffff;
  width: 100%;
  max-width: 500px;
  /* Desktop limit */
  padding: 40px 35px;
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(106, 17, 203, 0.1);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Card Gradient Strip */
.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.contact-card h1 {
  margin-bottom: 10px;
  color: var(--text-dark);
  font-size: 28px;
}

.contact-card p {
  color: #666;
  margin-bottom: 30px;
  font-size: 15px;
}

/* Forms */
.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #444;
  font-size: 14px;
}

.form-input {
  width: 100%;
  padding: 14px;
  border: 2px solid #e0e6f5;
  border-radius: 12px;
  font-size: 15px;
  outline: none;
  transition: 0.3s;
  background: #f8f9fb;
}

.form-input:focus {
  border-color: var(--secondary-color);
  background: #fff;
}

textarea.form-input {
  resize: none;
  height: 120px;
}

.send-btn {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(37, 117, 252, 0.3);
  transition: 0.3s;
}

.send-btn:hover {
  transform: translateY(-2px);
}

/* inequality styles */
.inequality-box {
  text-align: center;
  background: #f8f9fa;
  padding: 15px;
  border-radius: 10px;
}

.statement-text {
  font-size: 1.2rem;
  font-weight: bold;
  color: #2575fc;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.conclusion-list {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}

.nav-link {
  text-decoration: none;
  color: #444;
  font-weight: 600;
  margin-left: 25px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  transition: 0.3s;
}

.nav-link:hover {
  color: var(--secondary-color);
}

/* =========================================
   7. SOLUTION PAGE STYLES (Global)
   ========================================= */
.sol-header-bar {
  background: #fff;
  padding: 15px 30px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.sol-grid-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}

.sol-grid-item.bg-correct {
  background-color: var(--correct-color);
  color: #fff;
  border-color: var(--correct-color);
}

.sol-grid-item.bg-wrong {
  background-color: var(--wrong-color);
  color: #fff;
  border-color: var(--wrong-color);
}

.sol-grid-item.bg-skipped {
  background-color: var(--skip-color);
  color: #fff;
  border-color: var(--skip-color);
}

.sol-grid-item {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid #ddd;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.2s;
  margin: 5px;
}

.sol-grid-item:hover {
  transform: scale(1.1);
}

.sol-grid-item.active {
  box-shadow: 0 0 0 3px rgba(37, 117, 252, 0.3);
  border-color: #2575fc;
  transform: scale(1.15);
  z-index: 2;
}

.sol-nav-card,
.sol-content-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: var(--card-shadow);
}

.question-box {
  font-size: 20px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 25px;
  line-height: 1.5;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 5px solid #2575fc;
}

.status-badge {
  padding: 6px 12px;
  border-radius: 20px;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* =========================================
   VISUAL EXPLANATION STYLES (Series)
   ========================================= */
.sol-box {
  text-align: left;
  background: #fdfdfd;
  border: 1px solid #e0e0e0;
  padding: 15px;
  border-radius: 12px;
  margin-top: 10px;
}

.sol-logic {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #444;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.sol-visual-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 20px;
  background: #f4f6f9;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #e1e8f0;
}

.sol-series-nums {
  display: flex;
  gap: 30px;
  margin-bottom: 5px;
}

.sol-num {
  font-size: 1.4em;
  font-weight: bold;
  color: #2c3e50;
  min-width: 40px;
  text-align: center;
}

.sol-series-gaps {
  display: flex;
  gap: 30px;
  padding-left: 20px;
  /* Offset to align between numbers */
}

.sol-gap {
  font-size: 1em;
  color: #2ecc71;
  min-width: 40px;
  text-align: center;
  position: relative;
  top: -5px;
  font-weight: 600;
}

.sol-steps {
  font-size: 0.95em;
  line-height: 1.6;
  color: #555;
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 10px;
  border: 1px solid #eee;
}

.sol-ans-highlight {
  margin-top: 15px;
  font-size: 1.2em;
  color: #222;
  border-left: 4px solid #f1c40f;
  padding-left: 10px;
  background: #fffbe6;
  padding: 10px;
}

/* =========================================
   8. SEO CONTENT SECTION (For AdSense)
   ========================================= */
.seo-content-section {
  max-width: 1000px;
  margin: 60px auto;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.seo-content-section h2 {
  color: var(--primary-color);
  font-size: 28px;
  margin-bottom: 20px;
  text-align: center;
}

.seo-content-section h3 {
  color: var(--text-dark);
  font-size: 22px;
  margin-top: 30px;
  margin-bottom: 15px;
  border-left: 4px solid var(--secondary-color);
  padding-left: 15px;
}

.seo-content-section p {
  color: #555;
  line-height: 1.8;
  font-size: 16px;
  margin-bottom: 20px;
}

.seo-content-section ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.seo-content-section ul li {
  background: #f8f9fc;
  padding: 15px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: #444;
}

.seo-content-section ul li i {
  color: var(--correct-color);
  font-size: 20px;
}

.seo-content-section h2 {
  font-size: 24px;
}

/* =========================================
   9. LOGIN / SIGNUP PAGE STYLES (Global)
   ========================================= */

.form-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 70px);
  padding: 20px;
}

.form-modal {
  background: #ffffff;
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
  /* Unified Shadow */
  width: 100%;
  max-width: 450px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.02);
}

/* Gradient Strip on Top */
.form-modal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.form-toggle {
  display: flex;
  margin-bottom: 30px;
  border-bottom: 2px solid #f0f0f0;
  justify-content: space-around;
}

.form-toggle button {
  flex: 1;
  padding: 15px;
  border: none;
  background: none;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
  color: #aaa;
  border-bottom: 3px solid transparent;
}

.form-toggle button.active {
  color: var(--secondary-color);
  border-bottom-color: var(--secondary-color);
}

#signup-form {
  display: none;
}

/* Inputs Styling */
.form-modal input {
  width: 100%;
  padding: 15px 20px;
  margin-bottom: 20px;
  border: 2px solid #e0e6f5;
  border-radius: 12px;
  box-sizing: border-box;
  font-size: 15px;
  transition: 0.3s;
  background: #f8f9fc;
  color: #333;
}

.form-modal input:focus {
  border-color: var(--secondary-color);
  background: #fff;
  outline: none;
}

/* Buttons Styling */
.form-modal .btn {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 12px;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  margin-top: 10px;
}

.form-modal .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Specific Colors matching Theme */
.btn.login {
  background: var(--secondary-color);
  /* Uses Global Blue */
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2);
}

.btn.signup {
  background: #27ae60;
  /* Global Correct Color Green */
  box-shadow: 0 5px 15px rgba(39, 174, 96, 0.2);
}

/* Social Buttons */
.social-btn {
  transition: 0.3s;
}

.social-btn:hover {
  background-color: #f7f9fc !important;
  border-color: #bbb !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* =========================================
   BLOG POST STANDARDIZED STYLES
   ========================================= */

.article-container {
  max-width: 800px;
  margin: 40px auto;
  padding: 40px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #eef2f7;
  position: relative;
}

.article-header {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.article-header h1 {
  font-size: 2.2rem;
  color: #2575fc;
  margin-bottom: 10px;
  line-height: 1.3;
}

.article-header p {
  font-size: 1.1rem;
  color: #666;
  margin-top: 5px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #555;
  font-size: 15px;
  margin-bottom: 15px;
  font-weight: 500;
  transition: color 0.3s;
}

.back-link:hover {
  color: #2575fc;
}

.content {
  line-height: 1.8;
  color: #444;
  font-size: 1.1rem;
}

.content p {
  margin-bottom: 20px;
}

.content h2 {
  color: #2c3e50;
  margin-top: 40px;
  margin-bottom: 15px;
  border-left: 5px solid #2575fc;
  padding-left: 15px;
  font-size: 1.6rem;
}

.highlight-box,
.example-box,
.highlight-card {
  background: #f8f9fb;
  border: 1px solid #e0e6f5;
  padding: 20px;
  border-radius: 10px;
  margin: 25px 0;
}

.meta-tag {
  display: inline-block;
  background: #eef2f7;
  color: #555;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 13px;
  margin: 5px;
}

/* Sidebar Styles Fix */
.mobile-sidebar {
  position: fixed;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100%;
  background: #fff;
  z-index: 1000;
  transition: 0.3s;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
}

.mobile-sidebar.active {
  left: 0;
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
}

.sidebar-overlay.active {
  display: block;
}

.sidebar-user {
  padding: 20px;
  background: var(--primary-color);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 15px;
}

.sidebar-user .user-pic i {
  font-size: 40px;
}

.sidebar-user .close-btn {
  margin-left: auto;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.sidebar-links {
  padding: 10px 0;
}

.sidebar-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  border-left: 4px solid transparent;
}

.sidebar-links a:hover {
  background: #f5f5f5;
  border-left-color: var(--secondary-color);
  color: var(--secondary-color);
}

.sidebar-links .menu-label {
  padding: 15px 20px 5px;
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
  font-weight: 600;
}

/* Hide sidebar on desktop */
@media (min-width: 769px) {

  .mobile-sidebar,
  .mobile-menu-icon,
  .sidebar-overlay {
    display: none !important;
  }

  .desktop-only {
    display: flex !important;
  }
}

@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }
}

/* Sidebar Visibility Fix */
.mobile-sidebar {
  position: fixed;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100%;
  background: #fff;
  z-index: 1000;
  transition: 0.3s;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
}

.mobile-sidebar.active {
  left: 0;
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
}

.sidebar-overlay.active {
  display: block;
}

/* Hide mobile sidebar on desktop */
@media (min-width: 769px) {

  .mobile-sidebar,
  .mobile-menu-icon,
  .sidebar-overlay {
    display: none !important;
  }
}

/* ============================================
   RECRUITMENT PAGES STYLES
   ============================================ */

/* Recruitment Container */
.recruitment-container,
.recruitment-detail-container {
  max-width: 1000px;
  margin: 30px auto;
  padding: 20px;
  min-height: calc(100vh - 150px);
}

.recruitment-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 30px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border-radius: 15px;
}

.recruitment-header h1 {
  font-size: 32px;
  margin-bottom: 10px;
}

.recruitment-header p {
  font-size: 16px;
  opacity: 0.9;
}

/* Job List & Cards */
.job-list {
  display: grid;
  gap: 20px;
}

.quiz-card {
  background: linear-gradient(135deg, #fff9e6 0%, #fff 50%, #e6fff9 100%);
  padding: 35px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  border-left: 4px solid var(--secondary-color);
}

.job-card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  border-left: 44px solid var(--secondary-color);
}

.job-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.job-header h3 {
  font-size: 20px;
  color: var(--text-dark);
  margin: 0;
  flex: 1;
}

.job-badge {
  background: var(--secondary-color);
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.job-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.job-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  color: #666;
}

.job-meta i {
  color: var(--secondary-color);
}

.job-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--secondary-color);
  color: #fff;
}

.btn-primary:hover {
  background: #2874d1;
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.btn-secondary {
  background: #fff;
  color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-secondary:hover {
  background: var(--secondary-color);
  color: #fff;
}

/* Detail Page Specific */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 14px;
}

.back-link:hover {
  text-decoration: underline;
}

.job-detail-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 40px 30px;
  border-radius: 15px;
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.job-detail-header h1 {
  font-size: 28px;
  margin: 0;
  flex: 1;
}

.job-tag {
  background: rgba(255, 255, 255, 0.2);
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
}

.info-section {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  margin-bottom: 20px;
}

.info-section h2 {
  font-size: 20px;
  color: var(--text-dark);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 10px;
}

.info-section h2 i {
  color: var(--secondary-color);
  font-size: 24px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.info-item {
  padding: 12px;
  background: #f8f9fb;
  border-radius: 8px;
  border-left: 3px solid var(--secondary-color);
}

.info-label {
  display: block;
  font-weight: 600;
  color: #555;
  font-size: 13px;
  margin-bottom: 5px;
}

.info-value {
  display: block;
  color: var(--text-dark);
  font-size: 15px;
}

/* Vacancy Table */
.table-responsive {
  overflow-x: auto;
}

.vacancy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.vacancy-table thead {
  background: var(--secondary-color);
  color: #fff;
}

.vacancy-table th,
.vacancy-table td {
  padding: 12px 15px;
  text-align: left;
  border: 1px solid #e0e0e0;
}

.vacancy-table tbody tr:nth-child(even) {
  background: #f8f9fb;
}

.vacancy-table tbody tr:hover {
  background: #eef2f7;
}

/* Detail List */
.detail-list {
  display: grid;
  gap: 12px;
}

.detail-item {
  padding: 15px;
  background: #f8f9fb;
  border-radius: 8px;
  border-left: 3px solid var(--secondary-color);
  font-size: 14px;
  line-height: 1.6;
}

.detail-item strong {
  color: var(--secondary-color);
  display: inline-block;
  min-width: 150px;
}

/* Link List */
.link-list {
  display: grid;
  gap: 12px;
}

.important-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 20px;
  background: #f8f9fb;
  border-radius: 8px;
  text-decoration: none;
  color: var(--secondary-color);
  font-weight: 600;
  border: 2px solid transparent;
  transition: all 0.2s;
}

.important-link:hover {
  background: var(--secondary-color);
  color: #fff;
  border-color: var(--secondary-color);
}

.important-link i {
  font-size: 20px;
}

/* Loading State */
.loading-state {
  text-align: center;
  padding: 60px 20px;
  color: #888;
}


/* ============================================
   SARKARI RESULT STYLE - RECRUITMENT
   ============================================ */

/* Main Container */
.sarkari-container {
  max-width: 1200px;
  margin: 20px auto;
  padding: 15px;
  background: #fff;
}

/* Header Banner */
.sarkari-header {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  padding: 30px 20px;
  text-align: center;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.sarkari-header h1 {
  color: #fff;
  font-size: 28px;
  margin: 0 0 8px 0;
  font-weight: 700;
}

.tagline {
  color: #fff;
  font-size: 15px;
  margin: 0;
  opacity: 0.95;
}

/* Stats Bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}

.stat-item {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.stat-item strong {
  display: block;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 5px;
}

.stat-item span {
  font-size: 13px;
  opacity: 0.9;
}

/* Section Headers */
.section-header {
  background: #2874d1;
  color: #fff;
  padding: 12px 20px;
  border-radius: 6px 6px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
}

.section-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.update-time {
  font-size: 12px;
  opacity: 0.9;
}

/* Job Table Section */
.job-table-section {
  margin-bottom: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  overflow: hidden;
}

/* Sarkari Table */
.sarkari-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #fff;
}

.sarkari-table thead {
  background: #2874d1;
  color: #fff;
}

.sarkari-table th {
  padding: 12px 10px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  border: 1px solid #1a5aa8;
}

.sarkari-table td {
  padding: 12px 10px;
  border: 1px solid #e0e0e0;
  vertical-align: middle;
}

.sarkari-table tbody tr {
  transition: background 0.2s;
}

.sarkari-table tbody tr:nth-child(even) {
  background: #f8f9fa;
}

.sarkari-table tbody tr:hover {
  background: #e7f3ff;
}

.center-text {
  text-align: center !important;
}

/* Job Title Cell */
.job-title-cell {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.job-link {
  color: #2874d1;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.2s;
}

.job-link:hover {
  color: #dc3545;
  text-decoration: underline;
}

.job-meta-small {
  font-size: 12px;
  color: #666;
}

/* Badges */
.badge-new,
.badge-hot,
.badge-result {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  margin-right: 8px;
}

.badge-new {
  background: #28a745;
  color: #fff;
}

.badge-hot {
  background: #dc3545;
  color: #fff;
}

.badge-result {
  background: #ffc107;
  color: #000;
}

/* Action Buttons */
.action-btns {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.btn-small {
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid;
  display: inline-block;
}

.btn-view {
  background: #2874d1;
  color: #fff;
  border-color: #2874d1;
}

.btn-view:hover {
  background: #1a5aa8;
}

.btn-pdf {
  background: #fff;
  color: #dc3545;
  border-color: #dc3545;
}

.btn-pdf:hover {
  background: #dc3545;
  color: #fff;
}

/* Updates Section */
.updates-section {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  overflow: hidden;
}

.updates-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fff;
}

.updates-list li {
  padding: 14px 20px;
  border-bottom: 1px solid #e0e0e0;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.updates-list li:last-child {
  border-bottom: none;
}

.updates-list li:hover {
  background: #f8f9fa;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .sarkari-header h1 {
    font-size: 22px;
  }

  .stats-bar {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .stat-item {
    padding: 15px;
  }

  .stat-item strong {
    font-size: 24px;
  }

  .sarkari-table {
    font-size: 12px;
  }

  .sarkari-table th,
  .sarkari-table td {
    padding: 8px 6px;
  }

  .section-header {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  .section-header h2 {
    font-size: 16px;
  }

  .update-time {
    font-size: 11px;
  }

  .job-title-cell {
    font-size: 13px;
  }

  .action-btns {
    flex-direction: column;
  }
}


/* ============================================
   RECRUITMENT PAGE - 6 COLUMN LAYOUT
   ============================================ */

.recruitment-page-container {
  max-width: 1200px;
  margin: 30px auto;
  padding: 20px;
}

/* Page Title Section */
.page-title-section {
  text-align: center;
  margin-bottom: 30px;
  padding: 40px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-title-section h1 {
  color: #fff;
  font-size: 32px;
  margin: 0;
  font-weight: 700;
}

/* Info Table (2x6, invisible borders) */
.info-table {
  width: 100%;
  margin-bottom: 30px;
  border-collapse: collapse;
}

.info-table td {
  padding: 12px 15px;
  font-size: 14px;
  color: #555;
  border: none;
}

.info-table strong {
  color: var(--secondary-color);
  font-weight: 700;
}

/* Column Grid Layout */
.column-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

/* Category Column */
.category-column {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.column-header {
  background: var(--secondary-color);
  color: #fff;
  padding: 15px 20px;
  text-align: center;
}

.column-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.column-content {
  padding: 15px;
  max-height: 500px;
  overflow-y: auto;
}

/* Category Items */
.category-item {
  padding: 10px 12px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.category-item:last-child {
  border-bottom: none;
}

.category-item a {
  color: #333;
  text-decoration: none;
  font-size: 14px;
  flex: 1;
  transition: color 0.2s;
}

.category-item a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.item-badge {
  background: var(--secondary-color);
  color: #fff;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

/* States */
.loading-placeholder {
  text-align: center;
  padding: 40px 20px;
  color: #888;
}

.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: #999;
  font-size: 14px;
}

.error-state {
  text-align: center;
  padding: 40px 20px;
  color: #e74c3c;
  font-size: 14px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .page-title-section h1 {
    font-size: 24px;
  }

  .info-table {
    font-size: 12px;
  }

  .info-table td {
    padding: 8px 10px;
    display: block;
    width: 100%;
  }

  .column-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .column-content {
    max-height: 400px;
  }
}


/* Priority Table Styling (2x5 with Theme Colors) */
.priority-table {
  margin-bottom: 30px;
  border-collapse: separate;
  border-spacing: 8px;
}

.priority-cell {
  padding: 15px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.priority-cell a {
  color: #fff;
  text-decoration: none;
  display: block;
  transition: opacity 0.2s;
}

.priority-cell a:hover {
  opacity: 0.9;
  text-decoration: underline;
}

/* Different colors for categories using theme RGB */
.vacancy-cell {
  background: linear-gradient(135deg, #3498db 0%, #2874d1 100%);
}

.result-cell {
  background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
}

.admit-cell {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

/* Mobile adjustments for priority table */
@media (max-width: 768px) {
  .priority-table {
    border-spacing: 4px;
  }

  .priority-cell {
    padding: 10px 8px;
    font-size: 11px;
  }
}


/* Mobile Table Scrolling Fix */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Vacancy Table Mobile Optimization */
@media (max-width: 768px) {
  .vacancy-table {
    font-size: 12px;
    min-width: 600px;
    /* Forces horizontal scroll */
  }

  .vacancy-table th,
  .vacancy-table td {
    padding: 8px 6px;
    white-space: nowrap;
  }
}


/* News Image Size Reduction */
.news-card img {
  max-width: 100%;
  height: 180px !important;
  /* Reduced from default */
  object-fit: cover;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .news-card img {
    height: 150px !important;
    /* Even smaller on mobile */
  }
}


/* =========================================
   6. RECRUITMENT DETAILS STYLES
   ========================================= */
.recruitment-detail-container {
  max-width: 1000px;
  margin: 30px auto;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.job-detail-header {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f0f0f0;
}

.job-detail-header h1 {
  font-size: 28px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.job-tag {
  background: var(--secondary-color);
  color: #fff;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.info-section {
  margin-bottom: 30px;
}

.info-section h2 {
  font-size: 20px;
  color: #333;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Info Grid for Dates & Fees (Sarkari Structure, Ikkish Theme) */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0;
  /* No gap, use borders */
  background: #fff;
  border: 1px solid #ddd;
  /* Outer border */
  margin-top: 10px;
  border-radius: 8px;
  /* Slight radius for modern feel */
  overflow: hidden;
}

.info-item {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
  border-right: 1px solid #eee;
  /* Grid borders */
  padding: 15px 18px;
  /* Spacious padding */
  align-items: center;
}

.info-item:last-child {
  border-bottom: 1px solid #eee;
}

.info-label {
  font-weight: 700;
  color: var(--secondary-color);
  /* Original Theme Blue */
  font-size: 15px;
}

.info-value {
  color: #333;
  font-weight: 600;
  text-align: right;
}

/* Links List */
.link-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.important-link {
  display: block;
  padding: 14px 20px;
  background: #fff;
  color: #444;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s;
  text-align: center;
  border: 1px solid #ddd;
  border-left: 5px solid var(--secondary-color);
  /* Theme Accent */
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.important-link:hover {
  background: #f0f7ff;
  border-color: var(--secondary-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
}

/* Back Button */
.back-link {
  display: inline-block;
  margin-bottom: 20px;
  color: #666;
  text-decoration: none;
  font-weight: 500;
}

.back-link:hover {
  color: var(--secondary-color);
}

/* Vacancy Table (Sarkari Structure, Ikkish Theme) */
.vacancy-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  border: 1px solid #e0e0e0;
  font-family: 'Segoe UI', Arial, sans-serif;
}

.vacancy-table th {
  background: var(--secondary-color);
  /* Theme Header Color */
  color: #fff;
  padding: 14px 12px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}

.vacancy-table td {
  padding: 12px;
  border: 1px solid #eee;
  /* Visible borders */
  text-align: center;
  color: #444;
  font-weight: 500;
  font-size: 14px;
}

.vacancy-table tr:nth-child(even) {
  background: #f8faff;
  /* Very light blue stripe */
}

.vacancy-table tr:hover {
  background: #eef5ff;
  /* Theme hover effect */
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .job-detail-header h1 {
    font-size: 22px;
  }

  .info-grid {
    grid-template-columns: 1fr;
    border: 1px solid #eee !important;
  }

  .info-item {
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    border-right: none;
    border-bottom: 1px solid #f0f0f0;
    padding: 12px;
  }

  .info-item:last-child {
    border-bottom: none;
  }

  .info-label {
    font-size: 14px;
    min-width: 120px;
  }

  .info-value {
    text-align: right;
    font-size: 14px;
  }

  .vacancy-table {
    font-size: 12px;
  }

  .vacancy-table th,
  .vacancy-table td {
    padding: 8px 5px;
  }
}

/* Priority Grid Desktop Styles (Added 2026-01-20) */
.priority-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}

.priority-card {
  background: #fff;
  padding: 15px 10px;
  border-radius: 10px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
  border: 1px solid #e0e6f5;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  transition: all 0.3s ease;
}

.priority-badge {
  background: #e7f1ff;
  color: var(--secondary-color);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 5px;
  font-weight: 700;
}

.priority-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 117, 252, 0.2);
  border-color: var(--secondary-color);
  background: #f8fbff;
}