/* --- CSS STYLES --- */
.jobs-hero-section {
  /* Dark overlay + Background Image (Tech/Office theme) */
  background: linear-gradient(
      135deg,
      rgba(0, 53, 43, 0.95) 0%,
      rgba(0, 53, 43, 0.85) 100%
    ),
    url("https://images.unsplash.com/photo-1573164713988-8665fc963095?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80");
  background-size: cover;
  background-position: center;
  padding: 100px 0;
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

/* Left Content Styling */
.jobs-pill-label {
  background-color: rgba(255, 51, 0, 0.15); /* Orange tint */
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 20px;
}

.jobs-main-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
}

.jobs-hero-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 500px;
  line-height: 1.6;
}

/* Feature Grid (Icons) */
.jobs-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.jobs-feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.jobs-icon-circle {
  width: 45px;
  height: 45px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 1.2rem;
}

/* Button Outline */
.jobs-btn-outline {
  border: 2px solid white;
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s;
}
.jobs-btn-outline:hover {
  background-color: white;
  color: var(--color-primary);
}

/* Right Form Card (Glassmorphism + White) */
.jobs-form-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
}

/* Optional Top Border Accent */
.jobs-form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(
    to right,
    var(--color-primary),
    var(--color-accent)
  );
}

.jobs-input-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 5px;
  display: block;
}

.jobs-input {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  padding: 10px 15px;
  font-size: 0.95rem;
}
.jobs-input:focus {
  background-color: #fff;
  border-color: var(--color-accent);
  box-shadow: none;
}

.input-group-text {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
}

.jobs-btn-submit {
  width: 100%;
  background-color: var(--color-accent);
  color: white;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: background 0.3s;
}
.jobs-btn-submit:hover {
  background-color: #e62e00;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 991px) {
  .jobs-hero-section {
    padding: 60px 0;
    text-align: center;
  }
  .jobs-main-title {
    font-size: 2.5rem;
  }
  .jobs-hero-desc {
    margin: 0 auto 30px auto;
  }
  .jobs-features-grid {
    text-align: left;
    margin-bottom: 30px;
  }
  .jobs-form-card {
    margin-top: 40px;
  }
}

/* --- STATS SECTION STYLES --- */
.stats-section {
  padding: 60px 0;
  background-color: #ffffff;
  border-bottom: 1px solid var(--color-border);
}

.stat-item {
  padding: 20px;
  transition: transform 0.3s;
}

.stat-item:hover {
  transform: translateY(-5px);
}

/* The Big Number/Text */
.stat-value {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 3rem; /* Large and bold matches image */
  color: var(--color-primary); /* Dark Green */
  margin-bottom: 10px;
  line-height: 1.2;
}

/* The Label */
.stat-label {
  font-size: 1rem;
  font-weight: 500;
  color: var(
    --color-primary
  ); /* Using dark green as per image, or use gray #666 */
  opacity: 0.8;
  margin: 0;
  letter-spacing: 0.5px;
}

/* Responsive Font Sizes */
@media (max-width: 768px) {
  .stat-value {
    font-size: 2.5rem;
  }
}

/* --- SECTION STYLES --- */
.demand-jobs-section {
  padding: 80px 0;
  background-color: var(--color-bg-cream); /* Matches your Cream BG */
}

.demand-jobs-title {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.demand-jobs-subtitle {
  color: #666;
  max-width: 700px;
  font-size: 1rem;
  line-height: 1.6;
}

/* --- JOB CARD STYLES --- */
.demand-job-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 30px;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.demand-job-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.job-title {
  color: var(--text-main);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.job-desc {
  color: #6c757d;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Icon Boxes */
.job-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

/* Icon Colors */
.bg-red-light {
  background-color: #ffe5e5;
}
.text-red {
  color: #dc3545;
}

.bg-purple-light {
  background-color: #f3e5ff;
}
.text-purple {
  color: #8e44ad;
}

.bg-orange-light {
  background-color: #fff0e6;
}
.text-orange {
  color: #fd7e14;
}

.bg-blue-light {
  background-color: #e7f1ff;
}
.text-blue {
  color: #0d6efd;
}

.bg-green-light {
  background-color: #e0f8e9;
}
.text-green {
  color: #198754;
}

/* --- CTA CARD (Last Card) --- */
.demand-cta-card {
  background-color: var(--color-primary); /* Dark Green */
  border-radius: 16px;
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.demand-btn-cta {
  background-color: var(--color-accent); /* Orange */
  color: white;
  padding: 12px 30px;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
}

.demand-btn-cta:hover {
  background-color: #e62e00;
  color: white;
  transform: scale(1.05);
}

/* --- SECTION STYLING --- */
.sol-section {
  padding: 80px 0;
  background-color: #ffffff;
}

/* Left Side */
.sol-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.sol-hero-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s;
}

.sol-floating-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-primary);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
}

.sol-title {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.sol-desc {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

.sol-btn-download {
  background-color: var(--color-primary);
  color: #fff;
  padding: 12px 30px;
  border-radius: 6px;
  font-weight: 600;
  border: none;
  transition: all 0.3s;
}

.sol-btn-download:hover {
  background-color: #00251e;
  color: #fff;
  transform: translateY(-2px);
}

/* Right Side (The List) */
.sol-list-container {
  background: #f8f9fa;
  border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
  overflow: hidden; /* Contains the scroll area */
  position: relative;
  height: 600px; /* Fixed Height */
  display: flex;
  flex-direction: column;
}

.sol-search-header {
  padding: 20px;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 2;
}

.sol-search-header .form-control:focus {
  box-shadow: none;
  border-color: #dee2e6;
}

.sol-scroll-area {
  overflow-y: auto;
  flex-grow: 1;
  padding: 20px;
  scroll-behavior: smooth;
}

/* Custom Scrollbar */
.sol-scroll-area::-webkit-scrollbar {
  width: 6px;
}
.sol-scroll-area::-webkit-scrollbar-track {
  background: #f1f1f1;
}
.sol-scroll-area::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}
.sol-scroll-area::-webkit-scrollbar-thumb:hover {
  background: #aaa;
}

/* List Items */
.sol-item-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 15px;
  transition: all 0.2s;
}

.sol-item-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.sol-code-badge {
  display: inline-block;
  background: #eee;
  color: #555;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.sol-job-title {
  font-weight: 700;
  color: var(--text-main);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.sol-authority {
  font-size: 0.85rem;
  color: #6c757d;
}

.sol-status-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 50px;
  letter-spacing: 0.5px;
}

.badge-mltssl {
  background-color: #d1e7dd;
  color: #0f5132;
}

.badge-stsol {
  background-color: #f8d7da;
  color: #842029;
}

/* Fade Effect at bottom */
.sol-scroll-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(
    to top,
    rgba(248, 249, 250, 1),
    rgba(248, 249, 250, 0)
  );
  pointer-events: none;
}

/* Utility color overloads for this section */
.bg-primary-subtle {
  background-color: #e6f6f4 !important;
}
.text-primary {
  color: var(--color-primary) !important;
}
.border-primary-subtle {
  border-color: #b3e0da !important;
}

/* --- CSS STYLES --- */
.pr-calc-section {
  padding: 80px 0;
  background-color: #f9fafb;
}
.pr-q-title {
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

/* Radio Cards */
.pr-radio-card {
  cursor: pointer;
  display: block;
  height: 100%;
}
.pr-radio-card input {
  display: none;
}
.pr-radio-card .card-content {
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  transition: all 0.2s;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.pr-radio-card input:checked + .card-content {
  border-color: var(--color-primary);
  background-color: #f0fdf4;
}

/* Inputs */
.pr-select,
.pr-input {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  width: 100%;
}
.pr-select:focus,
.pr-input:focus {
  border-color: var(--color-primary);
  outline: none;
}

/* Right Sticky Card */
.pr-results-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border-top: 5px solid var(--color-primary);
  position: sticky;
  top: 150px;
}
#displayScore {
  font-size: 4rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

/* Utilities */
.bg-accent {
  background-color: var(--color-accent) !important;
}
.bg-cream {
  background-color: var(--color-bg-cream) !important;
}
.btn-primary {
  background-color: var(--color-primary);
  border: none;
}
.btn-primary:hover {
  background-color: #00251e;
}

#in-demand-jobs{
  scroll-margin-top: 150px;
}