/* 
 * AI Workforce Report - Two Column Theme
 * Main Stylesheet (Consolidated)
 */

/* ===== Variables ===== */
:root {
  /* Colors */
  --primary: #1a5c8e; /* Updated primary color to the more accessible version */
  --primary-light: #aed6f1;
  --primary-dark: #0f3556;
  --secondary: #2ecc71;
  --secondary-light: #abebc6;
  --secondary-dark: #25a25a;
  --accent: #ffc107;
  --dark: #2c3e50;
  --light: #f8f9fa;
  --gray: #727e7f;  /* Darker gray for better contrast against white */
  --gray-lighter: #b1c2c3;
  --white: #ffffff;
  --border-color: #e9ecef;
  --shadow-color: rgba(44, 62, 80, 0.1);
  --danger: #dc3545;
  --success: #28a745;
  --warning: #ffc107;
  
  /* Improved accessibility colors */
  --primary-accessible: #1a5c8e;
  
  /* Typography */
  --font-family-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --base-font-size: 16px;
  --heading-scale: 1.25;
  --line-height: 1.7;
  
  /* Container Sizes */
  --container-max-width: 1200px;
  --container-padding: 1rem;
  
  /* Layout */
  --sidebar-width: 300px;
  --sidebar-gap: 2rem;
  --main-content-width: calc(100% - var(--sidebar-width) - var(--sidebar-gap));
  
  /* Spacing - Mobile First */
  --space-xs: 0.5rem;    /* 8px */
  --space-sm: 0.75rem;   /* 12px */
  --space-md: 1.25rem;   /* 20px */
  --space-lg: 2rem;      /* 32px */
  --space-xl: 2.5rem;    /* 40px */
  --space-xxl: 3rem;     /* 48px */
  
  /* Larger spacing for desktop */
  --space-md-desktop: 1.5rem;   /* 24px */
  --space-lg-desktop: 2.5rem;   /* 40px */
  --space-xl-desktop: 3.5rem;   /* 56px */
  --space-xxl-desktop: 4rem;    /* 64px */
  
  /* Borders & Shadows */
  --border-radius: 0.25rem;
  --box-shadow: 0 4px 6px var(--shadow-color);
  --box-shadow-lg: 0 10px 15px var(--shadow-color);
  
  /* Transitions */
  --transition-speed: 0.3s;
}

/* ===== Base Styles ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: var(--base-font-size);
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: var(--font-family-sans);
  font-size: var(--base-font-size);
  line-height: var(--line-height);
  color: var(--dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--light);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: var(--space-md);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--dark);
  font-weight: 700;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-lg);
  color: var(--dark);
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--space-md);
  color: var(--dark);
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: var(--space-sm);
  color: var(--dark);
}

h4, h5, h6 {
  font-size: var(--base-font-size); /* 16px */
}

p {
  margin-bottom: var(--space-md);
  max-width: 70ch;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
  font-weight: 500; /* Added for better contrast */
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

ul, ol {
  padding-left: var(--space-lg);
  margin-bottom: var(--space-md);
}

li {
  margin-bottom: var(--space-sm);
}

/* ===== Layout & Container ===== */
.container, 
.header-container,
.footer-container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: calc(var(--container-padding) * 1.5);
  padding-right: calc(var(--container-padding) * 1.5);
}

.layout-wrapper {
  flex-grow: 1;
  width: 100%;
}

.container.page-content {
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--sidebar-width);
  gap: var(--sidebar-gap);
}

.main-content {
  min-width: 0;
}

.sidebar {
  width: var(--sidebar-width);
  flex-shrink: 0;
}

.sticky-sidebar {
  position: sticky;
  top: 70px;
}

/* ===== Header ===== */
/* Removed redundant header/nav rules below, using versions appended from custom.css */

/* ===== Mobile Menu (Original - Check if needed) ===== */
/* Removed redundant mobile menu rules below, using versions appended from custom.css */

/* ===== Media Queries (Original - Check if needed) ===== */
/* Removed redundant media query rules below, using versions appended from custom.css */

/* ===== Footer Adjustments ===== */
.footer-logo-text {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-left: 10px;
}

/* ===== Hero Section ===== */
.hero-section {
  background: linear-gradient(135deg, #1e3a5f 0%, #1e5f94 100%);
  padding: var(--space-xxl) var(--space-md);
  text-align: center;
  position: relative;
  color: var(--white);
  margin-bottom: var(--space-xl);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/img/pattern.svg') repeat;
  opacity: 0.1;
  pointer-events: none;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding: var(--space-lg) var(--space-lg);
}

.hero-title {
  color: var(--white);
  margin-bottom: var(--space-md);
  font-size: 3.2rem;
  font-weight: 800;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--white) !important;
  margin-bottom: var(--space-xl);
  line-height: 1.4;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  font-weight: 500;
}

/* ===== Search Container ===== */
.search-container {
  margin: 2rem auto;
  max-width: 600px;
  position: relative;
}

#search-form {
  position: relative;
}

.search-input-wrapper {
  display: flex;
  align-items: center; /* Vertical centering for items */
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

#search-form input {
  flex-grow: 1;
  padding: 15px 20px;
  font-size: 1rem;
  border: none;
  outline: none;
  background: transparent;
}

#search-form input:focus {
  /* Optional: Add focus style */
}

#search-form input::placeholder {
  color: var(--gray, #95a5a6);
  opacity: 1;
}

#search-form button {
  background-color: #ffc107;
  color: var(--dark, #2c3e50);
  padding: 15px 25px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-speed, 0.3s) ease;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch; /* Make button stretch to wrapper height */
}

#search-form button:hover {
  background-color: #e0a800; /* Darker yellow on hover */
}

#search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-top: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  max-height: 300px;
  overflow-y: auto;
  display: none;
}

#search-results .search-results-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

#search-results .search-results-list li:last-child a {
  border-bottom: none; /* Remove border from the very last item */
  padding-bottom: 8px; /* Slightly reduce bottom padding on the last item */
}

#search-results .search-result a.result-link {
  display: block;
  padding: 12px 20px;
  color: var(--dark, #2c3e50);
  text-decoration: none;
  border-bottom: 1px solid #eee;
}

#search-results .search-result a.result-link:hover {
  background-color: #f8f9fa;
}

#search-results .result-title {
  font-weight: 600;
  margin-bottom: 4px;
}

#search-results .result-meta {
  font-size: 0.85rem;
  color: #6c757d;
}

#search-results .result-meta span {
  margin-right: 10px;
}

#search-results .view-more-results a {
  display: block;
  padding: 10px 20px; /* Slightly reduce padding */
  text-align: center;
  color: var(--primary, #2980b9);
  font-weight: 500;
  text-decoration: none;
}

#search-results .view-more-results a:hover {
  background-color: #f8f9fa;
}

/* Quick Links below search */
.quick-links {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.quick-link {
  color: #fff; /* Ensure text is visible on dark hero */
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition-speed, 0.3s) ease, color var(--transition-speed, 0.3s) ease;
}

.quick-link:hover {
  color: var(--accent, #ffc107); /* Highlight on hover */
  border-bottom-color: var(--accent, #ffc107);
}

.quick-links .separator {
  color: rgba(255, 255, 255, 0.5);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--border-radius);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary-accessible);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: var(--white);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  color: var(--white);
}

.btn-text {
  background: none;
  color: var(--primary);
  padding: 0.75rem 0;
}

.btn-text:hover {
  text-decoration: underline;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Highlight button styles */
.highlight-button {
  background-color: #ffc107; /* Yellow */
  color: #212529; /* Dark text for contrast */
  font-weight: 700;
  padding: 18px 42px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  border: 2px solid rgba(0, 0, 0, 0.1);
  transform: translateY(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.highlight-button:hover {
  background-color: #ffca2c; /* Slightly lighter yellow on hover */
  color: #000;
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* ===== Stats Section ===== */
.stats-section {
  background: var(--white);
  padding: var(--space-xl) var(--container-padding);
  border-radius: var(--border-radius);
  margin: 0 auto var(--space-xl);
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  max-width: var(--container-max-width);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.stat-box {
  background: var(--white);
  padding: var(--space-lg);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: var(--space-sm);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-right: 20px;
}

.stat-label {
  font-size: 1.25rem;
  color: var(--dark);
  font-weight: 500;
  line-height: 1.4;
}

/* Add styling for the stats percentage numbers and descriptions */
.stat-percentage {
  font-size: 6rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-right: 20px;
  display: flex;
  align-items: center;
}

.stat-row {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

.stat-description {
  font-size: 1.5rem;
  line-height: 1.4;
  flex: 1;
  max-width: 600px;
  font-weight: 500;
  display: flex;
  align-items: center;
}

/* Add spacing for the Job Impact Distribution Chart heading */
.impact-chart-heading {
  margin-top: 80px;
  margin-bottom: 30px;
  font-size: 2.2rem;
  font-weight: 700;
}

/* Years stat special styling */
.years-stat .stat-percentage {
  letter-spacing: -2px;
}

/* ===== Sidebar Widgets ===== */
.sidebar-widget {
  padding: var(--space-lg);
  background-color: var(--white);
  border-radius: var(--border-radius);
  margin-bottom: var(--space-xl);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
}

.sidebar-widget h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  color: var(--dark);
  font-weight: 700;
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--primary-light);
}

.sidebar-widget p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: var(--space-md);
  color: var(--dark);
}

/* Improved sidebar job list */
.sidebar-widget ul {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-md);
}

.sidebar-widget ul li {
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.sidebar-widget ul li:last-child {
  border-bottom: none;
}

.sidebar-widget ul li:before {
  display: none; /* Remove default bullet */
}

.sidebar-widget .score-explanation {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: var(--space-md);
  font-style: italic;
  line-height: 1.4;
}

.sidebar-widget .job-score {
  width: 42px;
  height: 42px;
  background-color: #dc3545;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
}

.sidebar-widget .job-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.sidebar-widget .job-title {
  font-weight: 600;
  color: var(--dark);
  font-size: 1.1rem;
  line-height: 1.3;
}

.sidebar-widget .risk-level {
  font-size: 0.85rem;
  font-weight: 500;
  color: #dc3545;
  line-height: 1;
}

.sidebar-widget .view-details {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600; /* Make it bold for better contrast */
  display: inline-block;
  margin-top: 5px;
  transition: color 0.2s ease;
}

.sidebar-widget .view-details:hover {
  color: var(--primary-dark);
}

/* Improved sidebar button styling */
.sidebar-widget .btn {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  margin-top: var(--space-sm);
  width: 100%;
  display: inline-block;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sidebar-widget .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Improved signup field */
.sidebar-widget .subscription-form input[type="email"] {
  width: 100%;
  padding: 0.9rem 1rem;
  margin-bottom: var(--space-md);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1rem;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.sidebar-widget .subscription-form input[type="email"]:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(41, 128, 185, 0.15);
}

.sidebar-widget .privacy-notice {
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: var(--space-sm);
  line-height: 1.5;
}

/* Sticky sidebar */
.sticky-sidebar {
  position: sticky;
  top: 70px;
}

/* ===== Industry Cards ===== */
/* Original styles removed to avoid conflicts with the newer industry card styles below */

/* For browsers that don't support :has() */
.industry-card {
  background: #ffffff;
}

@media (max-width: 768px) {
  .container.page-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .sidebar {
    width: 100%;
    margin-top: var(--space-xl);
  }

  .header-container {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
  }

  .nav-menu {
    display: none;
  }
  
  .nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 66px; /* Aligned with header height */
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 0;
    z-index: 999;
    border-top: 1px solid var(--border-color);
  }

  .nav-menu.active .nav-item {
    margin: 0;
    border-bottom: 1px solid var(--border-color);
  }

  .nav-menu.active .nav-link {
    display: block;
    padding: 15px 20px;
    font-size: 16px;
  }

  .mobile-menu-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2c508f;
    border-radius: 4px;
    border: none;
  }

  .mobile-menu-toggle svg {
    width: 24px;
    height: 24px;
    fill: white;
  }

  .get-report-button-mobile {
    display: block;
    width: 100%;
    padding: 12px 16px;
    background-color: #ff6b00;
    color: white;
    font-weight: 600;
    text-align: center;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .navbar {
    padding: 0.5rem 1rem;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .stat-percentage {
    font-size: 3.5rem;
  }

  .stat-description {
    font-size: 1rem;
  }

  .premium-button {
    padding: 15px 25px;
    font-size: 1rem;
    width: 100%;
  }
}

/* Fix for screens between 769px and 1024px (tablets) */
@media (min-width: 769px) and (max-width: 1024px) {
  .container.page-content {
    grid-template-columns: 1fr;
  }

  .sidebar {
    width: 100%;
  }

  .sidebar-widget {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ===== Featured Jobs Section ===== */
.featured-jobs-section {
  padding: var(--space-xxl) 0;
  margin-bottom: var(--space-xxl);
}

.featured-section-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-xxl);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.view-all-button {
  display: inline-block;
  padding: 8px 16px;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 600;
  border-radius: 4px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.view-all-button:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.job-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-xl);
}

.job-card {
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: var(--space-xl);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.job-card h3 {
  margin-bottom: var(--space-md);
  font-size: 1.3rem;
}

.job-card h3 a {
  color: var(--dark);
  text-decoration: none;
}

.job-card h3 a:hover {
  color: var(--primary);
}

.job-card.very-high-impact {
  border-top: 4px solid var(--danger);
}

.job-card.very-high-impact .impact-level {
  background-color: var(--danger);
}

.job-card.high-impact {
  border-top: 4px solid var(--warning);
}

.job-card.high-impact .impact-level {
  background-color: var(--warning);
}

.job-card.moderate-impact {
  border-top: 4px solid var(--info);
}

.job-card.moderate-impact .impact-level {
  background-color: var(--info);
}

.job-card.low-impact {
  border-top: 4px solid var(--success);
}

.job-card.low-impact .impact-level {
  background-color: var(--success);
}

.view-all-container {
  display: flex;
  justify-content: center;
  margin-top: var(--space-xl);
}

.impact-value {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 5px;
  color: var(--gray);
}

.job-description {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
  line-height: 1.5;
  flex-grow: 1;
}

.job-link {
  display: inline-block;
  color: var(--primary);
  font-weight: 600; /* Make it bold for better contrast */
  text-decoration: none;
  margin-top: 10px;
  position: relative;
  transition: all 0.3s ease;
}

.job-link:after {
  content: "→";
  position: absolute;
  right: 0;
  transition: transform 0.3s ease;
}

.job-link:hover:after {
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }
  
  .view-all-button {
    align-self: flex-start;
  }
  
  .job-cards {
    grid-template-columns: 1fr;
  }
}

/* ===== Footer ===== */
.site-footer {
  background-color: var(--dark);
  color: var(--light);
  padding: var(--space-xl) 0 var(--space-md);
  margin-top: auto;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; /* Explicit 5 columns */
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.footer-brand {
  margin-bottom: var(--space-sm);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--space-sm);
}

.footer-logo img {
  height: 28px;
  margin-right: 0;
}

.footer-logo-text {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-left: 0;
}

.footer-desc {
  font-size: 0.8rem;
  color: var(--gray-lighter);
  margin-bottom: var(--space-sm);
  max-width: 400px;
  font-weight: 500;
}

.social-links {
  display: flex;
  gap: var(--space-sm);
}

.social-link {
  color: var(--gray);
  transition: color var(--transition-speed) ease;
}

.social-link:hover {
  color: var(--primary);
}

.social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-column h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: var(--space-md);
  position: relative;
  padding-bottom: 8px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 600;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-link-item {
  margin-bottom: 8px;
}

.footer-link {
  color: var(--gray-lighter);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500; /* Added font weight for better readability */
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.copyright {
  font-size: 0.8rem;
  color: var(--gray-lighter);
  margin: 0;
  font-weight: 500; /* Added font weight for better readability */
}

.footer-nav {
  display: flex;
  gap: var(--space-sm);
}

.footer-bottom-link {
  font-size: 0.8rem;
  color: var(--gray-lighter);
  text-decoration: none;
  font-weight: 500; /* Added font weight for better readability */
}

.footer-bottom-link:hover {
  color: var(--white);
  text-decoration: underline;
}

/* Add specific class to handle mobile menu visibility */
@media (min-width: 769px) {
  .get-report-button-mobile {
    display: none !important;
  }
}

/* Improve hero section for extremely small devices */
@media (max-width: 360px) {
  .hero-title {
    font-size: 1.6rem;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
  }
  
  .search-input-wrapper {
    padding: 8px;
  }
  
  #search-form input {
    padding: 10px;
  }
  
  .search-container {
    padding: 0 8px;
  }
}

/* Navigation bar improvements */
.navbar-brand img {
    height: 40px;
    width: auto;
}

.navbar {
    padding: 0.5rem 1rem;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        width: 40px;
        height: 40px;
    display: flex;
    align-items: center;
        justify-content: center;
        background-color: #2c508f;
        border-radius: 4px;
        border: none;
    }

    .mobile-menu-toggle svg {
        width: 24px;
        height: 24px;
        fill: white;
    }
    
    .get-report-button-mobile {
        display: block;
        width: 100%;
        padding: 12px 16px;
        background-color: #ff6b00;
        color: white;
        font-weight: 600;
        text-align: center;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .navbar {
        padding: 0.5rem 1rem;
    }
    
    .analyze-job-button {
        background-color: #ff6b00;
        color: white;
  font-weight: 600;
        padding: 8px 16px;
        border-radius: 4px;
        display: inline-block;
        margin-top: 8px;
        text-decoration: none;
        font-size: 0.9rem;
    }
    
    .navbar-brand img {
        height: 36px;
  }
}

/* === Appended from static/css/custom.css === */

/* Custom overrides for the site */

/* Fix for the navigation */
.site-header {
    background-color: #0a192f;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.header-container {
    width: 100%;
    max-width: var(--container-max-width, 1200px);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-logo {
    height: 36px;
    margin-right: 12px;
}

.site-title {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-link {
    color: var(--white); /* Change from primary to white for better contrast */
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color var(--transition-speed) ease;
    white-space: nowrap;
    display: inline-block;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-light); /* Change hover to a lighter blue instead of primary */
}

.header-button {
    background-color: var(--primary-accessible) !important;
    color: #fff !important;
    padding: 10px 18px;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
}

.header-button:hover {
    background-color: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Mobile menu styles */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.get-report-button-mobile {
    display: none;
}

@media (max-width: 768px) {
    nav .nav-menu {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
    }

    .mobile-menu-toggle svg {
        color: #fff;
        stroke: #fff;
    }

    .header-button {
        display: none;
    }
}

/* Fix for bullet points in navigation */
.site-header nav .nav-menu {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
}

.site-header nav .nav-item {
    margin-bottom: 0;
}

.site-header nav .nav-link {
    display: inline-block;
    text-decoration: none;
    margin-left: 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.2s;
}

.site-header nav .nav-item::before,
.site-header nav .nav-link::before {
    display: none !important;
}

/* Fix for nav-menu bullet points */
nav ul.nav-menu li::before,
nav ul.nav-menu li::marker {
    display: none !important;
    content: none !important;
}

/* Ensure there's no list style bullet for any navigation in the header */
.site-header ul,
.site-header li {
    list-style: none !important;
    list-style-type: none !important;
}

/* Ensure there's no list style bullet for any navigation */
ul, li {
    list-style-position: inside;
}

/* Mobile menu container */
.mobile-menu-container {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background-color: #0a192f;
    padding: 20px;
    z-index: 999;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.mobile-menu-container.active {
    display: block;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

.mobile-nav-link.active {
    color: #64ffda; /* TODO: Check if this should be #2980b9 like desktop */
}

.mobile-report-btn {
    margin-top: 10px;
    background-color: #2980b9;
    color: #fff;
    padding: 12px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    border-bottom: none;
}

.mobile-report-btn:hover {
    background-color: #3498db;
}

@media (min-width: 769px) {
    .mobile-menu-container {
        display: none !important;
    }
}

/* Stats section styling */
.stat-percentage {
    font-size: 3.5rem; /* Smaller than default */
    font-weight: 700;
    color: #2980b9;
    line-height: 1.2;
}

/* For the years stat (3-5) */
.years-stat .stat-percentage {
    font-size: 3.5rem; /* Match the other stats */
}

/* Mobile optimizations for stats */
@media (max-width: 768px) {
    .stat-percentage {
        font-size: 2.5rem; /* Further reduce size for side-by-side mobile */
        line-height: 1.1;
        margin-bottom: 0;
        margin-right: 0.75rem; /* Add space to the right of the number */
        flex-shrink: 0; /* Prevent the number from shrinking */
    }

    .years-stat .stat-percentage {
        font-size: 2.5rem; /* Match */
        line-height: 1.1;
    }

    .stat-row {
        flex-direction: row; /* Keep items side-by-side */
        align-items: baseline; /* Align by baseline */
        margin-bottom: var(--space-md); /* Adjust spacing if needed */
    }

    .stat-description {
        font-size: 0.9rem; /* Slightly smaller description on mobile */
        line-height: 1.3;
        flex-grow: 1; /* Allow description to take remaining space */
    }
}

/* === Appended Homepage Styles (Premium Section) === */

.premium-section {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: white;
    padding: 120px 0 80px 0; /* Adjusted padding */
    text-align: center;
    position: relative;
    overflow: hidden;
    /* Removed width: 100vw; as it might cause horizontal scroll */
}

.premium-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.2;
}

.premium-content {
    width: 90%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.premium-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.premium-section p {
    color: var(--dark);
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.premium-cta {
    margin-top: 40px;
}

.premium-button {
    display: inline-block;
    background-color: #ffc107; /* Yellow color */
    color: var(--dark); /* Changed text color for contrast */
    font-weight: 600; /* Adjusted font-weight */
    font-size: 1rem; /* Adjusted font-size */
    padding: 12px 25px; /* Adjusted padding */
    border-radius: 4px; /* Adjusted border-radius */
    text-decoration: none;
    transition: all var(--transition-speed) ease; /* Use standard variable */
    box-shadow: var(--box-shadow); /* Use standard variable */
    border: none;
    text-align: center; /* Ensure text is centered */
}

.premium-button:hover {
    transform: translateY(-2px); /* Consistent hover transform */
    box-shadow: var(--box-shadow-lg); /* Use standard variable */
    background-color: #ffca2c; /* Slightly lighter yellow */
    color: var(--dark); /* Keep dark text on hover */
}

/* Enhanced Industries Page Styles */
.industries-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.industry-header {
    text-align: center;
    margin-bottom: 3rem;
}

.industry-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.industry-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--white);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--box-shadow);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    color: var(--dark);
}

.industry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--primary-color);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.industry-card:hover::before {
    opacity: 1;
}

.industry-icon {
    height: 60px;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.industry-card:hover .industry-icon {
    transform: scale(1.1);
    background: rgba(var(--primary-rgb), 0.15);
}

.industry-icon svg {
    width: 30px;
    height: 30px;
}

.industry-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.industry-impact {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.industry-icon.technology {
    background: rgba(65, 105, 225, 0.1);
    color: royalblue;
}

.industry-icon.healthcare {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
}

.industry-icon.finance {
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
}

.industry-icon.manufacturing {
    background: rgba(230, 126, 34, 0.1);
    color: #e67e22;
}

.industry-icon.transportation {
    background: rgba(155, 89, 182, 0.1);
    color: #9b59b6;
}

.industry-icon.retail {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

.industry-icon.customer-service {
    background: rgba(241, 196, 15, 0.1);
    color: #f1c40f;
}

.industry-card:has(.industry-icon.technology)::before {
    background: royalblue;
}

.industry-card:has(.industry-icon.healthcare)::before {
    background: #2ecc71;
}

.industry-card:has(.industry-icon.finance)::before {
    background: #3498db;
}

.industry-card:has(.industry-icon.manufacturing)::before {
    background: #e67e22;
}

.industry-card:has(.industry-icon.transportation)::before {
    background: #9b59b6;
}

.industry-card:has(.industry-icon.retail)::before {
    background: #e74c3c;
}

.industry-card:has(.industry-icon.customer-service)::before {
    background: #f1c40f;
}

/* Custom background colors for the new industry cards */
.industry-icon.education {
  background: rgba(155, 89, 182, 0.1);
  color: #9b59b6;
}

.industry-icon.construction {
  background: rgba(230, 126, 34, 0.1);
  color: #e67e22;
}

.industry-icon.professional {
  background: rgba(52, 73, 94, 0.1);
  color: #34495e;
}

.industry-icon.government {
  background: rgba(52, 152, 219, 0.1);
  color: #3498db;
}

.industry-icon.agriculture {
  background: rgba(39, 174, 96, 0.1);
  color: #27ae60;
}

.industry-icon.media {
  background: rgba(231, 76, 60, 0.1);
  color: #e74c3c;
}

.industry-icon.hospitality {
  background: rgba(241, 196, 15, 0.1);
  color: #f1c40f;
}

.industry-icon.energy {
  background: rgba(22, 160, 133, 0.1);
  color: #16a085;
}

.industry-icon.information {
  background: rgba(142, 68, 173, 0.1);
  color: #8e44ad;
}

.industry-icon.arts {
  background: rgba(211, 84, 0, 0.1);
  color: #d35400;
}

/* Background colors for hover effects */
.industry-card:has(.industry-icon.education)::before {
  background: #9b59b6;
}

.industry-card:has(.industry-icon.construction)::before {
  background: #e67e22;
}

.industry-card:has(.industry-icon.professional)::before {
  background: #34495e;
}

.industry-card:has(.industry-icon.government)::before {
  background: #3498db;
}

.industry-card:has(.industry-icon.agriculture)::before {
  background: #27ae60;
}

.industry-card:has(.industry-icon.media)::before {
  background: #e74c3c;
}

.industry-card:has(.industry-icon.hospitality)::before {
  background: #f1c40f;
}

.industry-card:has(.industry-icon.energy)::before {
  background: #16a085;
}

.industry-card:has(.industry-icon.information)::before {
  background: #8e44ad;
}

.industry-card:has(.industry-icon.arts)::before {
  background: #d35400;
}

/* Mobile Responsive Styles for Industries */
@media (max-width: 768px) {
    .industry-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1.5rem;
    }
    
    .industry-header h1 {
        font-size: 2rem;
    }
    
    .industries-container {
        padding: 1.5rem 1rem;
    }
    
    .industry-card {
        padding: 1.75rem 1.25rem;
    }
    
    .industry-icon {
        height: 50px;
        width: 50px;
        margin-bottom: 1.25rem;
    }
    
    .industry-icon svg {
        width: 25px;
        height: 25px;
    }
    
    .industry-title {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .industry-impact {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .industry-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .industry-header h1 {
        font-size: 1.75rem;
    }
}

/* ===== Jobs List Page Styles ===== */
.jobs-list-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-lg);
}

.page-header {
  margin-bottom: var(--space-xxl);
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

.page-description {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--secondary-text);
}

.jobs-filter-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-xxl);
  padding: var(--space-lg);
  background-color: var(--bg-light);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.filter-options {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: 900px;
}

.filter-select {
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background-color: white;
  min-width: 200px;
  font-size: 0.9rem;
  flex: 1;
}

.impact-section {
  margin-bottom: var(--space-xxl);
}

.section-header {
  margin-bottom: var(--space-lg);
  padding: var(--space-lg);
  border-radius: 8px;
}

.section-header h2 {
  margin-bottom: var(--space-sm);
  font-size: 1.6rem;
}

.section-header p {
  font-size: 1rem;
  opacity: 0.9;
}

.section-header.danger {
  background-color: #ffebee;
  border-left: 5px solid #f44336;
}

.section-header.warning {
  background-color: #fff8e1;
  border-left: 5px solid #ffc107;
}

.section-header.neutral {
  background-color: #e8f5e9;
  border-left: 5px solid #4caf50;
}

.section-header.safe {
  background-color: #e3f2fd;
  border-left: 5px solid #2196f3;
}

.section-header.very-safe {
  background-color: #e8eaf6;
  border-left: 5px solid #3f51b5;
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.job-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-lg);
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border-color);
}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.job-card h3 {
  margin-bottom: var(--space-md);
  font-size: 1.2rem;
  color: var(--dark);
}

.job-card .impact-meter {
  height: 8px;
  background-color: #e9ecef;
  border-radius: 4px;
  margin-bottom: var(--space-md);
  position: relative;
  overflow: hidden;
}

.impact-meter .impact-level {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: var(--fill-value);
  border-radius: 4px;
}

.job-card .impact-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
  display: block;
  margin-bottom: var(--space-sm);
}

.job-summary {
  font-size: 0.9rem;
  color: var(--secondary-text);
  margin-top: auto;
}

/* Impact level specific colors */
.very-high-impact .impact-level {
  background-color: #f44336;
}

.high-impact .impact-level {
  background-color: #ff9800;
}

.moderate-impact .impact-level {
  background-color: #ffeb3b;
}

.low-impact .impact-level {
  background-color: #4caf50;
}

.very-low-impact .impact-level {
  background-color: #2196f3;
}

.more-resources {
  margin-top: var(--space-xxl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-color);
}

.more-resources h2 {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.resource-card {
  padding: var(--space-lg);
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.resource-card h3 {
  margin-bottom: var(--space-md);
  color: var(--primary);
}

.resource-card p {
  margin-bottom: var(--space-lg);
  color: var(--secondary-text);
}

.resource-link {
  display: inline-block;
  padding: 8px 20px;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.resource-link:hover {
  background-color: var(--primary);
  color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .jobs-filter-container {
    flex-direction: column;
  }
  
  .search-container {
    width: 100%;
  }
  
  .filter-options {
    width: 100%;
  }
  
  .filter-select {
    flex: 1;
  }
  
  .page-header h1 {
    font-size: 2rem;
  }
  
  .section-header h2 {
    font-size: 1.4rem;
  }
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.job-industry {
  display: inline-block;
  font-size: 0.8rem;
  padding: 3px 8px;
  background-color: var(--bg-light);
  border-radius: 4px;
  color: var(--secondary);
  font-weight: 500;
}

.job-salary {
  display: inline-block;
  font-size: 0.8rem;
  padding: 3px 8px;
  background-color: #f1f8e9;
  border-radius: 4px;
  color: #558b2f;
  font-weight: 500;
}

.no-results-message {
  margin: 40px auto;
  padding: 30px;
  text-align: center;
  background-color: var(--bg-light);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  max-width: 600px;
}

.no-results-content h3 {
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 1.4rem;
}

.no-results-content p {
  margin-bottom: 20px;
  color: var(--secondary-text);
}

.reset-filters-button {
  padding: 10px 20px;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.reset-filters-button:hover {
  background-color: var(--primary-dark);
}

/* Future-proof jobs page specific styling */
.main-content h2 {
  margin-top: 2.5rem;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-dark);
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 0.5rem;
  margin-bottom: 1.2rem;
}

.main-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dark);
  margin-top: 1.8rem;
  margin-bottom: 1rem;
}

.main-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: #404040;
  margin-bottom: 1.2rem;
}

.main-content ul {
  margin-bottom: 1.5rem;
}

.main-content li {
  margin-bottom: 0.7rem;
  line-height: 1.6;
}

.main-content strong {
  color: var(--primary-dark);
  font-weight: 600;
}

.main-content hr {
  border: 0;
  height: 1px;
  background: linear-gradient(to right, rgba(0,0,0,0.03), rgba(0,0,0,0.1), rgba(0,0,0,0.03));
  margin: 3rem 0;
  width: 100%;
  clear: both;
}

/* Source links styling */
.main-content a[href^="http"] {
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px dotted var(--primary-light);
  transition: border-bottom 0.2s ease-in-out, color 0.2s ease-in-out;
}

.main-content a[href^="http"]:hover {
  color: var(--primary-dark);
  border-bottom: 1px solid var(--primary);
}

/* Article max-width for better readability */
.main-content {
  max-width: 800px;
}

/* Responsive improvements */
@media (max-width: 768px) {
  .main-content h2 {
    font-size: 1.6rem;
    margin-top: 2rem;
  }
  
  .main-content h3 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
  }
  
  .main-content p {
    font-size: 0.95rem;
  }
}

/* ===== Contact Form Styles ===== */
.contact-form-container {
  max-width: 700px;
  margin: var(--space-lg) 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-group label {
  font-weight: 600;
  color: var(--dark);
}

.contact-form input,
.contact-form textarea {
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: var(--font-family-sans);
  font-size: 1rem;
  width: 100%;
  background-color: var(--white);
  transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.contact-form button {
  align-self: flex-start;
  margin-top: var(--space-xs);
}

.form-success {
  background-color: #d4edda;
  color: #155724;
  padding: var(--space-md);
  border-radius: var(--border-radius);
  font-weight: 500;
  border-left: 4px solid var(--success);
}

@media (max-width: 768px) {
  .contact-form-container {
    margin: var(--space-md) 0;
  }
  
  .contact-form input,
  .contact-form textarea {
    padding: 10px 14px;
  }
}

/* Report Page Styles */
.report-page-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.report-header {
    text-align: center;
    margin-bottom: 3rem;
}

.report-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.report-subtitle {
    font-size: 1.2rem;
    color: var(--text-color-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.report-section {
    margin-bottom: 4rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding: 2rem;
}

.report-section h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.report-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.report-features li {
    display: flex;
    margin-bottom: 2rem;
    gap: 1.5rem;
    align-items: flex-start;
}

.feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: rgba(var(--primary-color-rgb), 0.1);
    border-radius: 50%;
}

.feature-text h3 {
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--primary-color-dark);
}

.feature-text p {
    color: var(--text-color);
    margin: 0;
    line-height: 1.5;
}

.report-signup {
    text-align: center;
}

.google-form-container {
    margin: 2rem 0;
    width: 100%;
}

.contact-info {
    margin-top: 2rem;
    font-size: 0.95rem;
    color: var(--text-color-secondary);
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .report-header h1 {
        font-size: 2rem;
    }
    
    .report-features li {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon {
        margin: 0 auto 1rem;
    }
}

/* Full-width content (no sidebar) */
.main-content.full-width {
    grid-column: 1 / -1;
    max-width: 100%;
}

/* Coming Soon Banner */
.coming-soon-banner {
    background: linear-gradient(135deg, rgba(41, 128, 185, 0.95), rgba(20, 64, 99, 0.95));
    color: white;
    border-radius: 8px;
    margin-bottom: 3rem;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.coming-soon-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        rgba(255,255,255,0.1),
        rgba(255,255,255,0.1) 10px,
        rgba(255,255,255,0.2) 10px,
        rgba(255,255,255,0.2) 20px
    );
    animation: banner-animation 20s linear infinite;
    opacity: 0.2;
}

@keyframes banner-animation {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.banner-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.banner-icon {
    font-size: 2.5rem;
    background: rgba(255,255,255,0.25);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.banner-text {
    flex: 1;
}

.banner-text h2 {
    margin: 0 0 0.5rem;
    font-size: 1.8rem;
    color: white;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.banner-text p {
    margin: 0;
    font-size: 1.1rem;
    color: white;
    font-weight: 500;
    line-height: 1.5;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .banner-icon {
        margin-bottom: 1rem;
    }
    
    .banner-text h2 {
        font-size: 1.6rem;
    }
    
    .banner-text p {
        font-size: 1rem;
    }
} 

/* Enhanced Contact Form Styles */
.styled-contact-container {
  max-width: 700px;
  margin: 2rem auto;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 2rem;
}

.styled-contact-container .contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.styled-contact-container .form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}

.styled-contact-container label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-color-dark);
  font-size: 0.95rem;
}

.styled-contact-container input,
.styled-contact-container textarea {
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: var(--font-family-sans);
  font-size: 1rem;
  background-color: #f8f9fa;
  transition: all 0.2s ease;
}

.styled-contact-container input:focus,
.styled-contact-container textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.15);
  background-color: #fff;
}

.styled-contact-container textarea {
  min-height: 150px;
  resize: vertical;
}

.styled-contact-container .form-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 0.5rem;
}

.styled-contact-container button {
  min-width: 130px;
  font-weight: 600;
  padding: 12px 24px;
}

.styled-contact-container .form-success {
  background-color: #d4edda;
  color: #155724;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  text-align: center;
  border-left: 4px solid #28a745;
  margin-top: 1rem;
}

.styled-contact-container .form-error {
  background-color: #f8d7da;
  color: #721c24;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  text-align: center;
  border-left: 4px solid #dc3545;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .styled-contact-container {
    padding: 1.5rem;
    margin: 1rem auto;
  }
  
  .styled-contact-container input,
  .styled-contact-container textarea {
    padding: 10px 14px;
  }
  
  .styled-contact-container button {
    width: 100%;
  }
} 

/* Report CTA Styles */
.report-cta-container {
  background: linear-gradient(135deg, rgba(41, 128, 185, 0.05), rgba(20, 64, 99, 0.1));
  border: 1px solid rgba(41, 128, 185, 0.2);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin: 2rem auto;
  max-width: 600px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.report-cta-container:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.cta-heading {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  margin-top: 0;
  font-weight: 700;
}

.cta-form {
  margin: 0 auto;
  max-width: 520px;
}

.cta-form-group {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.cta-form-group input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid rgba(var(--primary-color-rgb), 0.2);
  border-radius: 6px;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.cta-form-group input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.15);
}

.cta-form-group .btn {
  padding: 12px 24px;
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .cta-form-group {
    flex-direction: column;
  }
  
  .cta-form-group .btn {
    width: 100%;
  }
} 

/* Premium Report Section on Job Pages */
.premium-report-section {
  background-color: var(--light);
  border: 1px solid var(--primary-light);
  border-radius: var(--border-radius);
  padding: var(--space-lg);
  margin: var(--space-lg) 0;
  box-shadow: 0 4px 15px rgba(41, 128, 185, 0.1);
  position: relative;
  overflow: hidden;
}

.premium-report-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: var(--primary-light);
  opacity: 0.05;
  border-radius: 50%;
  transform: translate(30%, -30%);
  z-index: 0;
}

.premium-report-section h2 {
  color: var(--primary-dark);
  margin-bottom: var(--space-md);
  text-align: center;
  font-size: 1.9rem;
}

.premium-content {
  position: relative;
  z-index: 1;
}

.premium-intro {
  text-align: center;
  margin-bottom: var(--space-md);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.1rem;
  color: var(--dark);
}

.premium-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.premium-category {
  background: white;
  padding: var(--space-md);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-left: 3px solid var(--primary);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.premium-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.premium-category h3 {
  color: var(--primary-dark);
  font-size: 1.2rem;
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
}

.premium-category h3 i {
  margin-right: 8px;
  color: var(--primary);
}

.premium-category ul {
  margin: 0;
  padding-left: var(--space-md);
}

.premium-category li {
  margin-bottom: 8px;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--dark);
}

.premium-cta {
  text-align: center;
  padding: var(--space-md);
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: var(--border-radius);
  margin-top: var(--space-md);
}

.premium-cta p {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-md);
  font-size: 1.1rem;
}

.premium-cta .button {
  display: inline-block;
  padding: 12px 24px;
  background-color: #ffc107; /* Yellow background */
  color: #212529 !important; /* Dark text color for contrast */
  font-weight: 700; /* Bolder text for better legibility */
  border-radius: var(--border-radius);
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-decoration: none;
  font-size: 1.1rem;
  box-shadow: 0 4px 6px rgba(255, 193, 7, 0.3);
}

.premium-cta .button:hover {
  background-color: #ffca2c; /* Lighter yellow on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(255, 193, 7, 0.4);
}

@media (max-width: 768px) {
  .premium-report-section {
    padding: var(--space-md);
  }
  
  .premium-report-section h2 {
    font-size: 1.7rem;
  }
  
  .premium-categories {
    grid-template-columns: 1fr;
  }
  
  .premium-intro {
    font-size: 1rem;
  }
  
  .premium-cta .button {
    width: 100%;
    text-align: center;
  }
}

/* === Form button overrides === */
form .btn-primary, 
.premium-cta .button,
button.btn-primary,
.premium-button,
a.btn-primary {
  background-color: var(--primary-accessible);
}

form .btn-primary:hover,
.premium-cta .button:hover,
button.btn-primary:hover,
.premium-button:hover,
a.btn-primary:hover {
  background-color: var(--primary-dark);
}

/* === Footer description color fix === */
.footer-desc {
  color: var(--gray-lighter);
  font-weight: 500;
}

/* === Ensure consistent button styles in the premium report section === */
.premium-cta .button {
  background-color: var(--primary-accessible);
  color: var(--white);
}

.premium-cta .button:hover {
  background-color: var(--primary-dark);
}

/* Fix the contrast for explanation paragraphs */
.score-explanation, 
.privacy-notice,
.sidebar-widget p.score-explanation,
.sidebar-widget .privacy-notice {
  color: var(--gray) !important; /* Using darker gray defined at the top */
  font-weight: 500 !important;
}

/* Override for the "Get Your Complete AI Career Strategy Report" button styles */
a[href^="/report/"].button,
.premium-button,
a.btn-report {
  background-color: #ffc107 !important; /* Yellow background */
  color: #212529 !important; /* Dark text color for contrast */
  font-weight: 700 !important; /* Bolder text for better legibility */
  box-shadow: 0 4px 6px rgba(255, 193, 7, 0.3) !important;
  border-color: #ffc107 !important;
}

a[href^="/report/"].button:hover,
.premium-button:hover,
a.btn-report:hover {
  background-color: #ffca2c !important; /* Lighter yellow on hover */
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 12px rgba(255, 193, 7, 0.4) !important;
  color: #000 !important; /* Darker text on hover for even better contrast */
}

/* Also override the Ensure consistent button styles section to prevent conflicts */
.premium-cta .button {
  background-color: #ffc107;
  color: #212529 !important;
}

.premium-cta .button:hover {
  background-color: #ffca2c;
  color: #000 !important;
}

@media (max-width: 768px) {
  .search-input-wrapper {
    flex-direction: column;
    width: 100%;
  }
  
  #search-form input {
    width: 100%;
    padding: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
  }
  
  #search-form button {
    width: 100%;
    border-radius: 0;
  }
  
  .search-container {
    margin: 1.5rem auto;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: var(--space-lg) var(--space-sm);
  }
  
  .hero-content {
    padding: var(--space-md) var(--space-sm);
  }
  
  .search-container {
    margin: 1rem auto;
  }
  
  .quick-links {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .quick-links .separator {
    display: none;
  }
}

@media (max-width: 360px) {
  .search-input-wrapper {
    border-radius: 6px;
  }
  
  #search-form input {
    padding: 12px 15px;
    font-size: 0.9rem;
  }
  
  #search-form button {
    padding: 12px 15px;
    font-size: 0.9rem;
  }
  
  .search-container {
    padding: 0 8px;
    margin: 0.75rem auto;
  }
}

/* Footer responsive styles */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--space-lg);
  }
  
  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: var(--space-lg);
  }
  
  .footer-logo {
    justify-content: center;
    gap: 15px;
  }
  
  .footer-logo img {
    height: 34px;
  }
  
  .footer-logo-text {
    font-size: 1.2rem;
  }
  
  .footer-desc {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: var(--space-xl) var(--space-md) var(--space-md);
  }
  
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg) var(--space-md);
  }
  
  .footer-column {
    margin-bottom: var(--space-md);
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-md);
  }
  
  .copyright {
    margin-bottom: var(--space-xs);
  }
}

@media (max-width: 480px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .footer-column {
    text-align: center;
  }
  
  .footer-column h3::after {
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
  }
  
  .footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}