@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --bg-dark: #0f172a;
  
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --primary-light: #e0e7ff;
  
  --accent: #06b6d4;
  --accent-light: #cffafe;
  
  --text-main: #0f172a;
  --text-muted: #64748b;
  
  --border-color: #e2e8f0;
  
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 30px -5px rgba(79, 70, 229, 0.15), 0 8px 10px -6px rgba(79, 70, 229, 0.08);
}

/* Top Header Bar */
.top-header-bar {
  background: linear-gradient(90deg, #0f172a 0%, #1e1b4b 100%);
  color: #cbd5e1;
  font-size: 0.82rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.top-header-left, .top-header-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.top-header-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.top-header-item i {
  color: var(--accent);
  font-size: 0.85rem;
}
.top-header-item a {
  color: #f1f5f9;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}
.top-header-item a:hover {
  color: var(--accent);
}
.top-header-gst {
  background: rgba(6, 182, 212, 0.12);
  color: #38bdf8;
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 0.78rem;
  border: 1px solid rgba(6, 182, 212, 0.25);
}
@media (max-width: 768px) {
  .top-header-bar {
    display: none !important;
  }
}

/* Trusted Industry Leaders Logos Styling & Hover Effects */
.trusted-leaders-wrap {
  margin-top: 36px;
}
.trusted-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 18px;
  color: var(--text-muted);
}
.trusted-logos-grid {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.leader-icon {
  font-size: 2rem;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.leader-icon:hover {
  transform: translateY(-6px) scale(1.25);
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
}
.leader-google:hover {
  color: #ea4335;
  filter: drop-shadow(0 6px 12px rgba(234, 67, 53, 0.35));
}
.leader-microsoft:hover {
  color: #00a4ef;
  filter: drop-shadow(0 6px 12px rgba(0, 164, 239, 0.35));
}
.leader-amazon:hover {
  color: #ff9900;
  filter: drop-shadow(0 6px 12px rgba(255, 153, 0, 0.35));
}
.leader-apple:hover {
  color: #1e293b;
  filter: drop-shadow(0 6px 12px rgba(30, 41, 59, 0.35));
}
.leader-ibm:hover {
  color: #052FAD;
  filter: drop-shadow(0 6px 12px rgba(5, 47, 173, 0.35));
}
.leader-meta:hover {
  color: #0668E1;
  filter: drop-shadow(0 6px 12px rgba(6, 104, 225, 0.35));
}

/* Floating Hero Badges & Illustration Decor */
.hero-illustration-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}
.hero-float-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 18px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatBadge 4s ease-in-out infinite;
  z-index: 10;
}
.float-top-right {
  top: 10%;
  right: -20px;
}
.float-bottom-left {
  bottom: 12%;
  left: -20px;
  animation-delay: 2s;
}
.float-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (max-width: 992px) {
  .hero-float-badge { display: none; }
}

/* Sidebar Widget Email Word Break Fix */
.sidebar-widget, .sidebar-widget a {
  overflow-wrap: break-word !important;
  word-break: break-word !important;
}

/* Base Reset */
html, body {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
  position: relative;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-body);
  line-height: 1.6;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: color 0.2s ease, transform 0.2s ease;
}

a:hover {
  color: var(--primary-hover);
}

ul {
  list-style: none;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-weight: 700;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.25s ease;
  font-size: 0.95rem;
  border: 1px solid transparent;
  font-family: inherit;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
  color: #ffffff !important;
}

.btn-outline {
  background-color: transparent;
  color: var(--primary) !important;
  border: 1.5px solid var(--border-color);
}

.btn-outline:hover {
  background-color: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary-hover) !important;
}

.btn-sm {
  padding: 6px 14px !important;
  font-size: 0.85rem !important;
  border-radius: 8px !important;
}

.btn-success {
  background: #10b981 !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25) !important;
}

.btn-success:hover {
  background: #059669 !important;
  transform: translateY(-1px);
}

.btn-danger {
  background: #ef4444 !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25) !important;
}

.btn-danger:hover {
  background: #dc2626 !important;
  transform: translateY(-1px);
}

.btn-warning {
  background: #f59e0b !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25) !important;
}

.btn-warning:hover {
  background: #d97706 !important;
  transform: translateY(-1px);
}

/* Forms & Controls */
input[type="text"], input[type="email"], input[type="password"], input[type="number"], select, textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-main);
  background-color: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

/* Navigation Bar */
.navbar {
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text-main);
  line-height: 1.1;
}

.logo-text span {
  color: var(--accent);
}

.logo-subtitle {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--text-main);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 85%;
  max-width: 340px;
  height: 100vh;
  background: #ffffff;
  z-index: 1001;
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}

.mobile-menu.open {
  left: 0;
}

.mobile-menu-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mobile-nav-links {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
}

.mobile-nav-links a {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  color: var(--text-main);
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: var(--bg-body);
}

.mobile-nav-links a.active, .mobile-nav-links a:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.mnav-icon {
  margin-right: 14px;
  font-size: 1.1rem;
}

.mobile-nav-links .fa-chevron-right {
  margin-left: auto;
  font-size: 0.85rem;
  opacity: 0.5;
}

/* Hero Section */
.hero {
  background: linear-gradient(180deg, #eef2ff 0%, var(--bg-body) 100%);
  padding: 60px 0;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  filter: blur(80px);
  z-index: 0;
  border-radius: 50%;
  opacity: 0.5;
  animation: floatShape 12s infinite alternate ease-in-out;
}

.hero-shape-1 {
  width: 400px;
  height: 400px;
  background: var(--primary-light);
  top: -100px;
  left: -100px;
}

.hero-shape-2 {
  width: 350px;
  height: 350px;
  background: var(--accent-light);
  bottom: -50px;
  right: -50px;
  animation-delay: -5s;
}

@keyframes floatShape {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, 60px) scale(1.08); }
}

.badge-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #ffffff;
  color: var(--primary);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.hero-split-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 10;
}

.hero-text-content {
  flex: 1.3;
}

.hero-image-content {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-illustration {
  max-width: 100%;
  width: 520px;
  height: auto;
  border-radius: 20px;
  filter: drop-shadow(0 20px 30px rgba(79, 70, 229, 0.2));
  transition: transform 0.3s ease;
}

.hero-illustration:hover {
  transform: scale(1.03);
}

.hero-search-box {
  background: #ffffff;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-top: 24px;
}

.hero-search-input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.hero-search-input-group i {
  position: absolute;
  left: 16px;
  color: var(--text-muted);
  font-size: 1rem;
}

.hero-search-input-group input {
  width: 100%;
  padding: 12px 10px 12px 38px;
  border: none;
  box-shadow: none;
  background: transparent;
  font-size: 0.95rem;
}

/* Glass Panels & Cards */
.glass-panel, .glass-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(79, 70, 229, 0.2);
}

/* Category Cards */
.category-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: block;
  text-align: left;
  transition: all 0.3s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.category-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.category-card:hover .category-icon {
  transform: scale(1.1) rotate(4deg);
}

/* Job Cards */
.job-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.job-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(79, 70, 229, 0.2);
}

.job-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.job-company-logo {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.job-company-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.job-tags-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.badge-tag {
  background: var(--bg-body);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.badge-featured {
  background: #fef3c7;
  color: #b45309;
  border-color: #fde68a;
}

.badge-remote {
  background: #cffafe;
  color: #0891b2;
  border-color: #a5f3fc;
}

.job-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.job-title a {
  color: var(--text-main);
}

.job-title a:hover {
  color: var(--primary);
}

.job-meta-row {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-weight: 500;
}

.job-card-footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.job-salary {
  font-weight: 700;
  color: #10b981;
  font-size: 0.95rem;
}

/* Grids & Layout Structures */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.grid-sidebar {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: start;
}

.grid-content {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-box {
  padding: 24px;
  background: #ffffff;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 8px;
}

/* Dashboard Controls */
.dash-tab-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-align: left;
  transition: all 0.25s ease;
  font-family: inherit;
}

.dash-tab-btn:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.dash-tab-btn.active {
  background: var(--primary-light);
  color: var(--primary);
  border-color: rgba(79, 70, 229, 0.2);
  font-weight: 700;
}

/* Footer */
.footer {
  background-color: var(--bg-dark);
  color: #94a3b8;
  padding: 80px 0 32px;
}

.footer h4 {
  color: #ffffff;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer a {
  color: #94a3b8;
}

.footer a:hover {
  color: var(--accent);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  text-align: center;
  font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  section { padding: 60px 0; }
  .hero { padding: 50px 0; }
  
  .hero-split-layout {
    flex-direction: column;
    text-align: center;
  }
  
  .grid-sidebar, .grid-content, .footer-inner {
    grid-template-columns: 1fr;
  }
  
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: block; }
  
  h1 { font-size: 2.4rem !important; }
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-search-box form {
    flex-direction: column;
  }
  
  .hero-search-input-group {
    width: 100%;
  }
  
  .job-card-footer {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

/* Verified Employer Badge */
.badge-verified {
  color: #3b82f6;
  font-size: 0.9rem;
  margin-left: 4px;
  vertical-align: middle;
}

/* Search Auto-Complete Dropdown */
.search-autocomplete-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  margin-top: 6px;
  z-index: 9999;
  max-height: 280px;
  overflow-y: auto;
  display: none;
}

.search-autocomplete-dropdown.active {
  display: block;
}

.autocomplete-item {
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.15s ease;
}

.autocomplete-item:last-child {
  border-bottom: none;
}

.autocomplete-item:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.autocomplete-item strong {
  font-weight: 700;
}

.autocomplete-item span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* 1-Click Quick Apply Modal */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #ffffff;
  border-radius: 20px;
  padding: 36px;
  width: 90%;
  max-width: 540px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-backdrop.open .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--bg-body);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: #fee2e2;
  color: #ef4444;
}

/* Toast Notifications */
.job-toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10001;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.job-toast {
  background: #0f172a;
  color: #ffffff;
  padding: 14px 22px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideInRight 0.3s ease forwards;
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ── COMPREHENSIVE MOBILE RESPONSIVENESS OVERHAUL ────────────────────── */
@media (max-width: 991px) {
  .container {
    padding: 0 20px;
  }
  .dashboard-grid-wrap {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .dashboard-grid-wrap aside {
    position: static !important;
  }
}

@media (max-width: 768px) {
  /* Reduce excessive section heights & padding on mobile */
  section {
    padding: 35px 0 !important;
  }
  
  .container {
    padding: 0 16px !important;
  }
  
  /* Responsive typography scaling */
  h1 {
    font-size: 1.85rem !important;
    line-height: 1.25 !important;
    letter-spacing: -0.3px !important;
  }
  h2 {
    font-size: 1.45rem !important;
    line-height: 1.3 !important;
  }
  h3 {
    font-size: 1.2rem !important;
  }
  p {
    font-size: 0.95rem !important;
  }
  
  /* Fixed Navbar on Mobile */
  .navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 10000 !important;
  }
  body {
    padding-top: 68px !important;
  }

  /* Mobile Job Filters Button & Collapsible */
  .mobile-filter-btn {
    display: flex !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  }
  .mobile-filter-collapsible {
    display: none !important;
  }
  .mobile-filter-collapsible.open-mobile {
    display: block !important;
    position: relative;
    top: 0;
    margin-bottom: 20px !important;
    animation: fadeIn 0.25s ease forwards;
    border: 2px solid var(--primary-light) !important;
  }
  .mobile-filter-close-btn {
    display: inline-block !important;
  }

  /* Hero & Mobile Redesign */
  .hero-image-content {
    display: none !important;
  }
  .hero-text-content {
    text-align: center !important;
  }
  .badge-hero {
    margin: 0 auto 16px auto !important;
  }
  .hero h1 {
    font-size: 1.75rem !important;
    line-height: 1.25 !important;
  }
  .hero p.text-muted {
    font-size: 0.92rem !important;
    margin: 0 auto 20px auto !important;
  }
  .hero-search-box {
    padding: 14px !important;
    border-radius: 14px !important;
    margin-top: 16px !important;
  }
  .hero-search-box form {
    flex-direction: column !important;
    gap: 10px !important;
  }
  .hero-search-input-group {
    width: 100% !important;
    border-right: none !important;
    border-bottom: 1px solid var(--border-color) !important;
    padding-bottom: 8px !important;
  }
  .hero-search-box button[type="submit"] {
    width: 100% !important;
    justify-content: center !important;
    padding: 12px !important;
  }
  
  /* Landing Page Mobile Layout */
  .hero-split-layout {
    flex-direction: column !important;
    text-align: center !important;
    gap: 16px !important;
  }
  .hero-actions {
    justify-content: center !important;
    flex-wrap: wrap !important;
  }
  
  /* 3-Column Compact Impact Stats on Mobile */
  #impact-stats {
    padding: 24px 0 !important;
  }
  .stats-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
  }
  .stat-box {
    padding: 12px 6px !important;
    border-radius: 12px !important;
    border: 1px solid var(--border-color) !important;
    background: #ffffff !important;
    box-shadow: none !important;
    text-align: center !important;
  }
  .stat-number {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: var(--primary) !important;
    line-height: 1.1 !important;
  }
  .stat-label {
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    color: var(--text-muted) !important;
    margin-top: 4px !important;
    line-height: 1.2 !important;
  }

  /* 2-Column Mobile Job Categories Grid */
  .category-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .category-card {
    padding: 14px 10px !important;
    border-radius: 12px !important;
    text-align: center !important;
  }
  .category-icon {
    width: 40px !important;
    height: 40px !important;
    font-size: 1.05rem !important;
    margin: 0 auto 8px auto !important;
  }
  .category-card h3 {
    font-size: 0.88rem !important;
    margin-bottom: 4px !important;
  }
  .category-card p {
    font-size: 0.75rem !important;
  }

  /* Round Floating WhatsApp Button on Mobile */
  .floating-cta#floatingCta, #floatingCta {
    right: 16px !important;
    bottom: 16px !important;
    padding: 0 !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    box-shadow: 0 4px 16px rgba(37,211,102,0.45) !important;
  }
  .floating-cta#floatingCta span, #floatingCta span {
    display: none !important;
  }
  .floating-cta#floatingCta i, #floatingCta i {
    font-size: 1.5rem !important;
    margin: 0 !important;
  }

  /* Job Cards */
  .job-card {
    padding: 18px !important;
    border-radius: 14px !important;
  }
  .job-title {
    font-size: 1.15rem !important;
  }
  .job-meta-row {
    flex-direction: column !important;
    gap: 6px !important;
  }
  .job-card-footer {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }
  
  /* Dashboards Mobile Tabs & Touch Table Scroll */
  .dash-menu {
    display: flex !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    gap: 8px !important;
    padding-bottom: 8px !important;
    -webkit-overflow-scrolling: touch;
  }
  .dash-menu li {
    margin-bottom: 0 !important;
    flex-shrink: 0 !important;
  }
  .dash-tab-btn {
    padding: 10px 16px !important;
    font-size: 0.85rem !important;
  }
  .glass-panel {
    padding: 18px !important;
    border-radius: 14px !important;
  }
  
  /* Table Touch Scroll Wrappers */
  div[style*="overflow-x: auto"] {
    -webkit-overflow-scrolling: touch;
    margin-bottom: 12px;
  }
  table th, table td {
    padding: 10px 8px !important;
    font-size: 0.82rem !important;
    white-space: nowrap;
  }

  /* Modal responsiveness */
  .modal-content {
    padding: 20px !important;
    max-height: 88vh !important;
    overflow-y: auto !important;
    border-radius: 16px !important;
    width: 94% !important;
  }
  
  /* Form grids */
  .form-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.65rem !important; }
  h2 { font-size: 1.3rem !important; }
  
  .btn {
    padding: 10px 18px !important;
    font-size: 0.88rem !important;
  }
  
  .badge-hero {
    font-size: 0.8rem !important;
    padding: 4px 10px !important;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* ===== BLOG & ARTICLE SYSTEM STYLES ===== */
.page-hero, .blog-hero {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.06), rgba(6, 182, 212, 0.06));
  padding: 80px 0 60px 0;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.section-tag, .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.blog-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.blog-hero p {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 680px;
  margin: 0 auto 32px auto;
}

/* Category Pills Filter */
.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  border-radius: 30px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.cat-pill:hover, .cat-pill.active {
  background: var(--primary) !important;
  color: #ffffff !important;
  border-color: var(--primary) !important;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3) !important;
}

/* Blog Archive & Grid */
.blog-archive {
  padding: 60px 0;
  background-color: var(--bg-body);
}

.blog-grid, .blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

/* Blog Card Component */
.blog-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(79, 70, 229, 0.3);
}

.blog-card-img {
  position: relative;
  display: block;
  overflow: hidden;
  height: 220px;
  background: #e2e8f0;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.06);
}

.blog-placeholder-img {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 2.5rem;
}

.blog-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.blog-category {
  background: rgba(79, 70, 229, 0.1);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.blog-date {
  font-weight: 500;
}

.blog-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-title a {
  color: var(--text-main);
  transition: color 0.2s ease;
}

.blog-title a:hover {
  color: var(--primary);
}

.blog-excerpt {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.card-link, .read-more-btn {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.card-link:hover, .read-more-btn:hover {
  gap: 10px;
  color: var(--primary-hover);
}

/* Sidebar Widgets */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.cat-sidebar-link:hover {
  background: var(--primary-light);
  color: var(--primary) !important;
}

/* Pagination */
.pagination, .blog-pagination {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.pagination .page-numbers, .blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: #ffffff;
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover,
.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

/* Single Post View */
.single-post-wrapper {
  background-color: var(--bg-body);
}

.single-post-header {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.05), rgba(6, 182, 212, 0.05));
  padding: 60px 0 40px 0;
  border-bottom: 1px solid var(--border-color);
}

.single-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 24px;
  color: var(--text-main);
}

.single-post-content {
  background: var(--bg-card);
  padding: 48px;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  font-size: 1.1rem;
  line-height: 1.8;
  color: #334155;
}

.single-post-content h2, .single-post-content h3, .single-post-content h4 {
  margin-top: 32px;
  margin-bottom: 16px;
}

.single-post-content p {
  margin-bottom: 20px;
}

.single-post-content ul, .single-post-content ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.single-post-content ul li {
  list-style-type: disc;
  margin-bottom: 8px;
}

.single-post-content ol li {
  list-style-type: decimal;
  margin-bottom: 8px;
}

.single-post-content blockquote {
  border-left: 4px solid var(--primary);
  padding: 16px 24px;
  background: var(--primary-light);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  margin: 28px 0;
}

@media (max-width: 991px) {
  .blog-hero h1 { font-size: 2.2rem; }
  .single-title { font-size: 2rem; }
  .single-post-content { padding: 28px; font-size: 1rem; }
  .blog-grid, .blog-posts-grid { grid-template-columns: 1fr; }
}

/* ===== CTA BANNER & BUTTON STYLES ===== */
.cta-banner {
  padding: 60px 0;
  background-color: var(--bg-body);
}

.cta-inner {
  background: linear-gradient(135deg, #4338ca 0%, #3b82f6 55%, #06b6d4 100%) !important;
  padding: 48px 56px !important;
  border-radius: 20px !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 28px !important;
  box-shadow: 0 15px 35px rgba(67, 56, 202, 0.22) !important;
  position: relative !important;
  overflow: hidden !important;
}

.cta-inner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.cta-inner h2 {
  color: #ffffff !important;
  font-size: 2.25rem !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  margin-bottom: 8px !important;
  letter-spacing: -0.5px !important;
}

.cta-inner p {
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 1.05rem !important;
  max-width: 640px !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}

.btn-white {
  background: #ffffff !important;
  color: #4338ca !important;
  font-weight: 700 !important;
  padding: 14px 32px !important;
  border-radius: 50px !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
  font-size: 1.05rem !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  white-space: nowrap !important;
  transition: all 0.25s ease !important;
  text-decoration: none !important;
}

.btn-white:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16) !important;
  color: #312e81 !important;
  background: #ffffff !important;
}

@media (max-width: 991px) {
  .cta-inner {
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    padding: 36px 28px !important;
  }
  .cta-inner h2 {
    font-size: 1.75rem !important;
  }
  .btn-white {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* ===== GLOBAL SOFT BORDER & DIVIDER OVERRIDES ===== */
:root {
  --border-color: #f1f5f9;
}

div[style*="border-top: 1px solid var(--border-color)"],
div[style*="border-top: 1px solid"] {
  border-top: none !important;
}

.faq-item, .glass-panel {
  border: 1px solid #f1f5f9 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
  background: #ffffff !important;
}

.faq-answer {
  border-top: none !important;
  background: #f8fafc !important;
  padding: 16px 20px !important;
  border-radius: 10px !important;
  border-left: 3px solid var(--primary) !important;
  margin-top: 14px !important;
}

.blog-card {
  border: 1px solid #f1f5f9 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
}

/* Remove default harsh focus/box outlines */
*:focus {
  outline: none !important;
}

*:focus-visible {
  outline: 2px solid var(--primary) !important;
  outline-offset: 2px !important;
}

/* ===== GLOBAL MODERN TABLE REDESIGN ===== */
table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  border: 1px solid #f1f5f9 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
  background: #ffffff !important;
}

table tr, table tr[style*="border"], table thead tr {
  border: none !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

table th {
  background: #f8fafc !important;
  color: var(--text-muted) !important;
  font-weight: 700 !important;
  font-size: 0.8rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  padding: 14px 16px !important;
  border: none !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

table td {
  padding: 14px 16px !important;
  border: none !important;
  border-bottom: 1px solid #f8fafc !important;
  color: var(--text-main);
  font-size: 0.92rem;
}

table tr:last-child td {
  border-bottom: none !important;
}

table tbody tr:hover {
  background: rgba(248, 250, 252, 0.75) !important;
}

/* ===== FOOTER LAYOUT & SPACING FIXES ===== */
footer.footer {
  background: #0b0f19 !important;
  color: #94a3b8 !important;
  padding: 60px 0 0 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  font-size: 0.92rem !important;
  line-height: 1.6 !important;
}

.footer-inner {
  display: grid !important;
  grid-template-columns: 1.3fr 0.9fr 1.1fr 2.1fr !important;
  gap: 36px !important;
  padding-bottom: 50px !important;
}

@media (max-width: 1024px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr !important;
    gap: 32px !important;
  }
}

@media (max-width: 640px) {
  .footer-inner {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
}

.footer-brand {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

.footer-brand p {
  color: #94a3b8 !important;
  font-size: 0.9rem !important;
  line-height: 1.6 !important;
}

.footer-links {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.footer-links h4 {
  color: #ffffff !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  margin-bottom: 8px !important;
  letter-spacing: -0.2px !important;
  position: relative !important;
  display: block !important;
}

.footer-links h4::after {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--accent, #06b6d4);
  margin-top: 6px;
  border-radius: 2px;
}

/* Ensure each footer link is a distinct block line item */
.footer-links a {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: #cbd5e1 !important;
  text-decoration: none !important;
  font-size: 0.92rem !important;
  font-weight: 500 !important;
  transition: all 0.2s ease !important;
  width: fit-content !important;
  margin-bottom: 2px !important;
}

.footer-links a:hover {
  color: var(--accent, #06b6d4) !important;
  transform: translateX(4px) !important;
}

/* Contact Us section items layout */
.footer-contact-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  color: #cbd5e1 !important;
  font-size: 0.88rem !important;
  line-height: 1.5 !important;
  margin-bottom: 12px !important;
}

.footer-contact-item i {
  color: var(--accent, #06b6d4) !important;
  font-size: 1rem !important;
  margin-top: 3px !important;
  flex-shrink: 0 !important;
  width: 18px !important;
  text-align: center !important;
}

.footer-contact-item strong {
  color: #ffffff !important;
  font-weight: 600 !important;
}

.footer-contact-item a {
  color: #cbd5e1 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
  display: inline !important;
}

.footer-contact-item a:hover {
  color: var(--accent, #06b6d4) !important;
}

/* Social Icon links */
.social-links {
  display: flex !important;
  gap: 10px !important;
  margin-top: 8px !important;
}

.social-links a {
  width: 36px !important;
  height: 36px !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  color: #cbd5e1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.25s ease !important;
  text-decoration: none !important;
}

.social-links a:hover {
  background: var(--primary, #4f46e5) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 24px 0 !important;
  text-align: center !important;
  color: #64748b !important;
  font-size: 0.85rem !important;
}

.footer-bottom a {
  color: #94a3b8 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}


/* ==========================================================================
   Resume Builder & Global Resume Writing Services Section Styles
   ========================================================================== */
.resume-builder-section {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
  color: #ffffff;
  padding: 90px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.resume-builder-section::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.25) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
}

.resume-builder-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
}

.resume-builder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

@media (max-width: 991px) {
  .resume-builder-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.resume-feature-box {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.resume-feature-box:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 0 12px 30px rgba(6, 182, 212, 0.15);
}

.resume-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}

.resume-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff !important;
  background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
  border-radius: 50px;
  text-decoration: none !important;
  box-shadow: 0 8px 25px rgba(79, 70, 229, 0.35);
  transition: all 0.3s ease;
}

.resume-cta-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 35px rgba(6, 182, 212, 0.45);
  color: #ffffff !important;
}

.nav-resume-btn {
  background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.25) !important;
  transition: all 0.25s ease !important;
}

.nav-resume-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4) !important;
}

.resume-callout-card {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(6, 182, 212, 0.08) 100%);
  border: 1px dashed var(--accent);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
}

/* Dark Categories Section Ambient Glow & Gradient Styling */
.dark-categories-section {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
  color: #ffffff;
  padding: 95px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dark-categories-section::before {
  content: '';
  position: absolute;
  top: -25%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.22) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
  z-index: 1;
}

.dark-categories-section::after {
  content: '';
  position: absolute;
  bottom: -25%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.25) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
  z-index: 1;
}

.dark-categories-section .container {
  position: relative;
  z-index: 2;
}

.dark-categories-section .category-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px 24px;
  text-decoration: none !important;
  display: block;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark-categories-section .category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #4f46e5, #06b6d4);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.dark-categories-section .category-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 0 15px 35px rgba(6, 182, 212, 0.22);
}

.dark-categories-section .category-card:hover::before {
  opacity: 1;
}

.category-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.2), rgba(6, 182, 212, 0.2));
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
  transition: transform 0.3s ease;
}

.category-card:hover .category-icon {
  transform: scale(1.1) rotate(4deg);
}

/* Back to Top Floating Button */
#backToTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 8px 25px rgba(79, 70, 229, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
}

#backToTopBtn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#backToTopBtn:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 12px 30px rgba(6, 182, 212, 0.45);
  background: linear-gradient(135deg, #4338ca 0%, #0891b2 100%);
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE STYLES FOR ALL DASHBOARDS (Candidate, Recruiter, Admin)
   ========================================================================== */

/* Universal Grid & Layout Bounds to prevent any mobile horizontal overflow */
.dashboard-section,
.dashboard-grid-wrap,
.dashboard-grid-wrap > *,
.dashboard-section main,
.dashboard-section aside,
.dash-tab-content,
.glass-panel {
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* 1. Dashboard Main Layout Grid (< 991px Tablet/Mobile) */
@media (max-width: 991px) {
  .container {
    padding: 0 16px !important;
  }

  .dashboard-grid-wrap {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    width: 100% !important;
  }

  .dashboard-grid-wrap aside {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .dashboard-grid-wrap aside .glass-panel {
    position: static !important;
    padding: 10px 12px !important;
    border-radius: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    box-sizing: border-box !important;
  }

  /* Transform vertical sidebar menu into a smooth horizontal scrollable pill tab bar */
  .dash-menu {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    padding: 4px 4px 8px 4px !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .dash-menu li {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    border-top: none !important;
    padding-top: 0 !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
  }

  .dash-tab-btn {
    white-space: nowrap !important;
    padding: 10px 18px !important;
    font-size: 0.88rem !important;
    border-radius: 30px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: rgba(255, 255, 255, 0.8) !important;
    border: 1px solid var(--border-color) !important;
  }

  .dash-tab-btn.active {
    background: var(--primary) !important;
    color: #ffffff !important;
    border-color: var(--primary) !important;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3) !important;
  }

  .dashboard-section .glass-panel[style*="justify-content: space-between"] {
    padding: 20px 16px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
  }

  .dashboard-section .glass-panel[style*="justify-content: space-between"] > div:first-child {
    width: 100% !important;
  }

  .dashboard-section .glass-panel[style*="justify-content: space-between"] > div:last-child {
    width: 100% !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }

  .dashboard-section .glass-panel[style*="justify-content: space-between"] .btn,
  .dashboard-section .glass-panel[style*="justify-content: space-between"] button,
  .dashboard-section .glass-panel[style*="justify-content: space-between"] a {
    flex: 1 1 auto !important;
    min-width: 130px !important;
    text-align: center !important;
    justify-content: center !important;
  }
}

/* 2. Form Grids, Stat Cards & Tables (< 768px Mobile) */
@media (max-width: 768px) {
  .dashboard-section {
    padding: 24px 0 !important;
  }

  .container {
    padding: 0 12px !important;
  }

  /* Collapse multi-column grid layouts inside forms and panels into 1 column */
  .dashboard-section div[style*="grid-template-columns"],
  .dash-tab-content div[style*="grid-template-columns"],
  .glass-panel div[style*="grid-template-columns"],
  .admin-form-card div[style*="grid-template-columns"],
  .admin-action-box {
    grid-template-columns: 1fr !important;
    flex-direction: column !important;
    gap: 14px !important;
  }

  /* Adjust Glass Panel Padding on Mobile */
  .dash-tab-content .glass-panel {
    padding: 18px 14px !important;
    border-radius: 14px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Empty States & Cards inside Tab Content */
  .dash-tab-content div[style*="text-align: center"],
  .glass-panel div[style*="text-align: center"] {
    padding: 30px 10px !important;
  }

  .dash-tab-content div[style*="text-align: center"] p,
  .glass-panel div[style*="text-align: center"] p {
    font-size: 0.9rem !important;
  }

  /* Admin action box elements */
  .admin-action-box {
    align-items: stretch !important;
  }
  .admin-action-box .btn, .admin-action-box button {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Metric Stat Cards */
  .dashboard-section div[style*="repeat(auto-fit, minmax"] {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }

  .dashboard-section div[style*="repeat(auto-fit, minmax"] .glass-panel {
    padding: 14px 12px !important;
  }

  /* Table responsiveness and horizontal scroll bounds */
  .dash-tab-content div[style*="overflow-x: auto"],
  .glass-panel div[style*="overflow-x: auto"] {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    margin: 0 !important;
    padding-bottom: 8px !important;
    -webkit-overflow-scrolling: touch;
  }

  .dash-tab-content table,
  .glass-panel table {
    min-width: 540px !important;
    font-size: 0.82rem !important;
  }

  .dash-tab-content th,
  .dash-tab-content td,
  .glass-panel th,
  .glass-panel td {
    padding: 10px 8px !important;
  }

  /* Mobile Dashboard Titles */
  .dashboard-section h1 {
    font-size: 1.45rem !important;
    line-height: 1.3 !important;
  }

  .dashboard-section h2 {
    font-size: 1.2rem !important;
  }

  .dashboard-section h3 {
    font-size: 1.05rem !important;
  }
}

/* 3. Small Mobile Phones (< 480px) */
@media (max-width: 480px) {
  .dashboard-section div[style*="repeat(auto-fit, minmax"] {
    grid-template-columns: 1fr !important;
  }

  .dashboard-section .glass-panel[style*="justify-content: space-between"] > div:last-child {
    flex-direction: column !important;
  }

  .dashboard-section .glass-panel[style*="justify-content: space-between"] .btn,
  .dashboard-section .glass-panel[style*="justify-content: space-between"] button,
  .dashboard-section .glass-panel[style*="justify-content: space-between"] a {
    width: 100% !important;
  }

  .dash-tab-btn {
    padding: 8px 14px !important;
    font-size: 0.82rem !important;
  }
}











