/* ==========================================================================
   GINDIA HR ULTRA-PREMIUM DESIGN SYSTEM & ANIMATED WORKFLOW STYLES
   ========================================================================== */

:root {
  --brand-primary: #0f172a;
  --brand-blue: #0d6efd;
  --brand-cyan: #06b6d4;
  --brand-purple: #8b5cf6;
  --brand-pink: #ec4899;
  --brand-emerald: #10b981;
  --brand-amber: #f59e0b;
  --bg-dark: #0f172a;
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border-light: #e2e8f0;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.12);
  --shadow-glow: 0 10px 30px -5px rgba(13, 110, 253, 0.25);
  --shadow-premium: 0 20px 40px -15px rgba(15, 23, 42, 0.08);
}

/* --- Hero Section & Glassmorphism --- */
.hero-premium {
  position: relative;
  background: linear-gradient(135deg, #0b0f19 0%, #111827 50%, #1e1b4b 100%);
  color: #ffffff;
  padding: 100px 0 120px;
  overflow: hidden;
}

.hero-premium::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(13, 110, 253, 0.18) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-premium::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.18) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

/* Glass Card Component */
.glass-box {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Vertical Tab Switcher */
.vertical-switcher-nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
}

.tab-btn-vertical {
  background: #ffffff;
  color: #475569;
  border: 2px solid #e2e8f0;
  padding: 14px 28px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.tab-btn-vertical:hover {
  border-color: #3b82f6;
  color: #0d6efd;
  transform: translateY(-2px);
}

.tab-btn-vertical.active-hr {
  background: linear-gradient(135deg, #0d6efd 0%, #0284c7 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 10px 25px rgba(13, 110, 253, 0.35);
}

.tab-btn-vertical.active-it {
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 10px 25px rgba(139, 92, 246, 0.35);
}

/* --- Animated Workflow Pipeline --- */
.workflow-section {
  padding: 80px 0;
  background: #f8fafc;
  position: relative;
}

.pipeline-grid {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  position: relative;
  margin-top: 50px;
  flex-wrap: wrap;
  gap: 20px;
}

/* Step Line Connector */
.pipeline-grid::before {
  content: '';
  position: absolute;
  top: 45px;
  left: 5%;
  right: 5%;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 50%, #10b981 100%);
  z-index: 1;
  border-radius: 4px;
  opacity: 0.3;
}

.pipeline-step-card {
  flex: 1;
  min-width: 200px;
}

/* --- Job Card Elevation & Spacing Enhancements --- */
.job-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 28px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05), 0 8px 10px -6px rgba(15, 23, 42, 0.01);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  height: calc(100% - 28px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.job-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px -10px rgba(13, 110, 253, 0.18);
  border-color: #93c5fd;
}

.job-card.recommended-job {
  border: 2px solid #3b82f6;
  background: linear-gradient(180deg, #ffffff 0%, #f0f7ff 100%);
}

.badge-recommended {
  position: absolute;
  top: 18px;
  right: 18px;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.job-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin-top: 0;
  margin-bottom: 8px;
  line-height: 1.3;
  padding-right: 110px;
}

.job-company {
  color: #475569;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.job-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  color: #475569;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 18px;
  padding: 12px;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid #f1f5f9;
}

.job-meta-list span {
  display: inline-flex;
  align-items: center;
}

.job-meta-list i {
  margin-right: 6px;
  color: #2563eb;
  font-size: 14px;
}

.job-skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.skill-tag {
  background: #e0f2fe;
  color: #0369a1;
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 16px;
  font-weight: 600;
  display: inline-block;
}

.btn-apply-job {
  background: linear-gradient(135deg, #0d6efd 0%, #0052cc 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 22px;
  border-radius: 8px;
  display: inline-block;
  transition: all 0.2s ease;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.25);
}

.btn-apply-job:hover {
  background: linear-gradient(135deg, #0b5ed7 0%, #0040a8 100%);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(13, 110, 253, 0.4);
}

/* --- Blog Cards Elevation --- */
.blog-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.06);
  border: 1px solid #e2e8f0;
  margin-bottom: 30px;
  height: calc(100% - 30px);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.12);
  border-color: #cbd5e1;
}

.blog-card-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.blog-card-title {
  font-size: 20px;
  font-weight: 800;
  margin-top: 10px;
  margin-bottom: 12px;
  line-height: 1.4;
}

.blog-card-title a {
  color: #0f172a;
  text-decoration: none;
}

.blog-card-title a:hover {
  color: #0d6efd;
}

.pipeline-step-card {
  flex: 1;
  min-width: 200px;
  background: #ffffff;
  border-radius: 16px;
  padding: 24px 20px;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-premium);
  position: relative;
  z-index: 2;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: center;
}

.pipeline-step-card:hover {
  transform: translateY(-10px);
  border-color: #3b82f6;
  box-shadow: 0 20px 35px -10px rgba(59, 130, 246, 0.25);
}

.pipeline-step-num {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.pipeline-step-card:hover .pipeline-step-num {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  transform: scale(1.15);
}

.pipeline-step-icon {
  font-size: 32px;
  margin-bottom: 12px;
  color: #3b82f6;
}

.pipeline-step-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.pipeline-step-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
}

/* Pulsing Node Animation */
@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(59, 130, 246, 0); }
  100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

.pulse-node {
  animation: pulseGlow 2s infinite;
}

/* Sector Grid Styling */
.sector-card-premium {
  background: #ffffff;
  border-radius: 16px;
  padding: 30px;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-premium);
  margin-bottom: 30px;
  height: calc(100% - 30px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.sector-card-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #3b82f6;
  transition: all 0.3s ease;
}

.sector-card-premium:hover {
  transform: translateY(-5px);
  border-color: #93c5fd;
  box-shadow: 0 20px 30px -10px rgba(15, 23, 42, 0.12);
}

.sector-card-premium:hover::before {
  width: 8px;
  background: #2563eb;
}

.sector-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}

.sector-icon-blue { background: #dbeafe; color: #1d4ed8; }
.sector-icon-purple { background: #f3e8ff; color: #7e22ce; }
.sector-icon-emerald { background: #d1fae5; color: #047857; }
.sector-icon-amber { background: #fef3c7; color: #b45309; }
.sector-icon-pink { background: #fce7f3; color: #be185d; }

.sector-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
}

.sector-desc {
  color: #475569;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.sector-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sector-tag {
  background: #f1f5f9;
  color: #334155;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .pipeline-grid {
    flex-direction: column;
  }
  .pipeline-grid::before {
    display: none;
  }
  .pipeline-step-card {
    min-width: 100%;
  }
}
