/* Global Styles */
:root {
  --primary-color: #4a6cf7;
  --secondary-color: #6c757d;
  --accent-color: #ff6b6b;
  --dark-color: #2d3748;
  --light-color: #f8f9fa;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --color-text: #141619ff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  line-height: 1.6;
  color: var(--dark-color);
  background-color: #f5f7ff;
}

.career-container {
  max-width: 1200px;
  margin: 80px auto 2rem;
  padding: 0 2rem;
}

.career-header {
  text-align: center;
  margin-bottom: 3rem;
}





.career-header h1 {
  font-size: 2.5rem;
  color: #1e293b;
  margin-bottom: 1.5rem;
}

.search-box {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  gap: 0.5rem;
}

.search-box input {
  flex: 1;
  padding: 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
}

.search-box button {
  padding: 0 1.5rem;
  background: #3b82f6;
  border: none;
  border-radius: 8px;
  color: white;
  cursor: pointer;
}

.category {
  margin-bottom: 3rem;
}

.category h2 {
  font-size: 1.8rem;
  color: #1e293b;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e2e8f0;
}

.career-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

.career-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.career-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: #4A90E2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.card-icon i {
  font-size: 24px;
  color: white;
}

.career-info {
  margin: 1rem 0;
}

.salary {
  color: #2E7D32;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.demand-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
}

.demand-badge.high {
  background: #E8F5E9;
  color: #2E7D32;
}

.demand-badge.medium {
  background: #FFF3E0;
  color: #EF6C00;
}

.career-skills {
  margin: 1rem 0;
}

.career-skills h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.career-skills ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.career-skills li {
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 0.25rem;
  padding-left: 1.25rem;
  position: relative;
}

.career-skills li:before {
  content: "•";
  color: #4A90E2;
  position: absolute;
  left: 0;
}

.career-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.view-path-btn,
.start-learning-btn {
  width: 100%;
  padding: 0.75rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background-color 0.3s ease;
}

.view-path-btn {
  background: #4A90E2;
  color: white;
}

.view-path-btn:hover {
  background: #357ABD;
}

.start-learning-btn {
  background: #E8F5E9;
  color: #2E7D32;
}

.start-learning-btn:hover {
  background: #C8E6C9;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.modal-content {
  background: white;
  margin: 2rem auto;
  padding: 2rem;
  width: 90%;
  max-width: 1200px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 12px;
  position: relative;
}

.path-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.path-meta {
  display: flex;
  gap: 1rem;
}


.job-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.company-logo {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  overflow: hidden;
}

.company-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.job-card-title {
  flex: 1;
}

.job-card-title h3 {
  font-size: 1.1rem;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.company-name {
  color: #6b7280;
  font-size: 0.9rem;
}

.save-job {
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  font-size: 1.25rem;
  transition: color 0.2s ease;
}

.save-job:hover {
  color: #6366f1;
}

.job-tags {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.job-tags span {
  padding: 0.25rem 0.75rem;
  background-color: #f3f4f6;
  border-radius: 20px;
  font-size: 0.85rem;
  color: #4b5563;
}

.key-skills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.key-skills span {
  padding: 0.25rem 0.75rem;
  background-color: #eef2ff;
  color: #6366f1;
  border-radius: 20px;
  font-size: 0.85rem;
}

.job-description {
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.job-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.job-card-footer .job-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.job-card-footer .salary {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color);
}

.job-card-footer .posted-time {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.job-card a {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.3s ease;
  flex-shrink: 0;
}

.job-card a:hover {
  background-color: var(--primary-color-dark);
}

/* Dark mode styles for the apply button */
.dark-mode .job-card a {
  background-color: var(--primary-color);
  color: white;
}

.dark-mode .job-card a:hover {
  background-color: var(--primary-color-dark);
}

.apply-btn {
  padding: 0.5rem 1.25rem;
  background-color: #6366f1;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.apply-btn:hover {
  background-color: #4f46e5;
}

.jobs-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.jobs-pagination button {
  padding: 0.5rem 1rem;
  border: 1px solid #e5e7eb;
  background-color: white;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.jobs-pagination button.active {
  background-color: #6366f1;
  color: white;
  border-color: #6366f1;
}

@media (max-width: 1024px) {
  .jobs-container {
    grid-template-columns: 240px 1fr;
  }
}

@media (max-width: 768px) {
  .jobs-section {
    padding: 2rem;
  }

  .jobs-container {
    grid-template-columns: 1fr;
  }

  .jobs-sidebar {
    position: static;
    margin-bottom: 1.5rem;
  }

  .jobs-search-container {
    flex-direction: column;
  }

  .search-box {
    max-width: 100%;
  }
}

/* Animations */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.job-card {
  animation: slideIn 0.3s ease-out;
}

/* Career Hero Section */
.career-hero {
  position: relative;
  padding: calc(6rem + 70px) 5% 6rem 5%;
  /* Add top padding for header (header is ~70px) */
  background: linear-gradient(135deg, #1a365d 0%, #efeff1 100%);
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .career-hero {
    padding: calc(3.5rem + 70px) 2% 2.5rem 2%;
    min-height: 70vh;
  }
}

#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  box-sizing: border-box;
}

.hero-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--dark-color);
  animation: fadeInUp 1s ease;
}

.hero-content .highlight {
  color: var(--primary-color);
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--dark-color);
  line-height: 1.2;
  animation: fadeInUp 1s ease 0.2s;
  opacity: 0;
  animation-fill-mode: forwards;
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: var(--secondary-color);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease 0.4s;
  opacity: 0;
  animation-fill-mode: forwards;
}

.search-container {
  max-width: 600px;
  margin: 0 auto 3rem;
  position: relative;
  animation: fadeInUp 1s ease 0.6s;
  opacity: 0;
  animation-fill-mode: forwards;
}

.search-container input {
  width: 100%;
  padding: 1.2rem 1.5rem;
  padding-right: 160px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--border-radius);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  font-size: 1.1rem;
  transition: var(--transition);
}

.search-container input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(74, 108, 247, 0.1);
}

.search-btn {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  padding: 0.8rem 1.5rem;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.search-btn:hover {
  background: #3a5bd9;
  transform: translateY(-50%) translateX(-2px);
}

.stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  animation: fadeInUp 1s ease 0.8s;
  opacity: 0;
  animation-fill-mode: forwards;
}

.stat-item {
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.stat-item p {
  font-size: 1rem;
  color: var(--secondary-color);
  font-weight: 500;
}

/* Career Path Comparison Section */
.career-comparison {
  padding: 5rem 5%;
  background: white;
}

.comparison-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.comparison-container h2 {
  font-size: 2.5rem;
  margin-bottom: 2.5rem;
  color: var(--dark-color);
  position: relative;
  display: inline-block;
}

.comparison-container h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.comparison-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.comparison-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.career-select {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  background-color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.career-select:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.1);
}

.comparison-results {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-top: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: none;
}

.comparison-results.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.comparison-results-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.comparison-aspect {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 8px;
}

.comparison-aspect h3 {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.comparison-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.comparison-values span {
  padding: 0.75rem;
  background: white;
  border-radius: 6px;
  font-size: 0.9rem;
  color: var(--dark-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Career Categories Section */
.career-categories {
  padding: 5rem 5%;
  background: linear-gradient(135deg, #f5f7ff 0%, #e4e9ff 100%);
}

.category {
  max-width: 1200px;
  margin: 0 auto 4rem;
}

.category:last-child {
  margin-bottom: 0;
}

.category h2 {
  font-size: 2rem;
  color: var(--dark-color);
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  display: inline-block;
}

.category h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

.career-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.career-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  animation: fadeInUp 0.6s ease;
  position: relative;
  overflow: hidden;
}

.career-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.career-card:hover::before {
  transform: scaleX(1);
}

.career-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }

  .stats {
    flex-wrap: wrap;
    gap: 2rem;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .career-hero {
    padding: calc(3.5rem + 70px) 2% 2.5rem 2%;
    min-height: 70vh;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content h2 {
    font-size: 1.5rem;
  }

  .hero-description {
    font-size: 1.1rem;
  }

  .search-container input {
    padding-right: 120px;
  }

  .search-btn {
    padding: 0.8rem 1rem;
  }

  .stats {
    gap: 1.5rem;
  }

  .stat-item h3 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }

  .search-container input {
    padding: 1rem;
    padding-right: 100px;
  }

  .search-btn {
    padding: 0.6rem 0.8rem;
  }

  .stat-item {
    width: 100%;
  }
}

/* Career Path Modal Styles */
.career-path-details {
  padding: 2rem;
  background: white;
  border-radius: 15px;
}

.path-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #eef2f7;
}

.path-header h2 {
  font-size: 2.2rem;
  color: var(--dark-color);
  margin-bottom: 1rem;
}

.path-meta {
  display: flex;
  gap: 2rem;
  margin-top: 1rem;
}

.path-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(74, 108, 247, 0.1);
  border-radius: 20px;
  color: var(--primary-color);
  font-weight: 500;
}

.path-timeline {
  margin-bottom: 3rem;
}

.path-timeline h3 {
  font-size: 1.5rem;
  color: var(--dark-color);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.path-timeline h3 i {
  color: var(--primary-color);
}

#timelineSteps {
  position: relative;
  padding-left: 2rem;
}

.timeline-step {
  position: relative;
  padding: 1.5rem;
  background: #f8fafc;
  border-radius: 12px;
  margin-bottom: 2rem;
  border-left: 4px solid var(--primary-color);
  animation: slideInRight 0.5s ease forwards;
  opacity: 0;
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.timeline-step::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  border: 4px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(74, 108, 247, 0.2);
}

.timeline-step h4 {
  font-size: 1.2rem;
  color: var(--dark-color);
  margin-bottom: 0.5rem;
}

.timeline-step p {
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.timeline-step .duration {
  font-size: 0.9rem;
  color: var(--primary-color);
  font-weight: 500;
}

/* Career Assessment Section Styles */
.career-assessment {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #fff 0%, #f5f7ff 100%);
}

.assessment-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.assessment-container h2 {
  font-size: 2.5rem;
  color: var(--dark-color);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.assessment-container h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

.assessment-container>p {
  font-size: 1.2rem;
  color: var(--secondary-color);
  max-width: 700px;
  margin: 0 auto 3rem;
}

.assessment-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.step {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), #6d8dff);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.step:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.step:hover::before {
  transform: scaleX(1);
}

.step-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), #6d8dff);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.2rem;
  margin: 0 auto 1.5rem;
  position: relative;
}

.step-number::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 60px;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  opacity: 0.2;
}

.step h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.step p {
  color: var(--secondary-color);
  font-size: 1rem;
  line-height: 1.6;
}

.start-assessment-btn {
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--primary-color), #6d8dff);
  color: white;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  box-shadow: 0 5px 15px rgba(74, 108, 247, 0.3);
}

.start-assessment-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(74, 108, 247, 0.4);
}

/* Navigation Buttons */
.section-nav-btn {
  position: fixed;
  right: 2rem;
  bottom: 10rem;
  background: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 100;
}

.section-nav-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.section-nav-btn i {
  color: var(--primary-color);
  font-size: 1.5rem;
}

/* Promotional Banner Styles */
.promo-banner {
  background: linear-gradient(135deg, #2c3e50, #3498db);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
  margin: 3rem 0;
}

.promo-content {
  max-width: 800px;
  margin: 0 auto;
}

.promo-content h3 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.promo-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.promo-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.promo-btn {
  padding: 0.8rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.promo-btn:first-child {
  background-color: #fff;
  color: #2c3e50;
}

.promo-btn:last-child {
  background-color: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.promo-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Media Queries */
@media (max-width: 768px) {
  .promo-banner {
    padding: 3rem 1rem;
  }

  .promo-content h3 {
    font-size: 2rem;
  }

  .promo-content p {
    font-size: 1rem;
  }

  .promo-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .promo-btn {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
  }
}

/* Back to Home Button */
.back-to-home {
  position: fixed;
  top: 90px;
  /* below the fixed header */
  left: 2rem;
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
  z-index: 1100;
  box-shadow: 0 2px 8px rgba(30, 54, 93, 0.08);
}

@media (max-width: 768px) {
  .back-to-home {
    top: 70px;
    left: 1rem;
    width: auto;
    height: auto;
    font-size: 1rem;
    padding: 0.6rem 1.1rem;
  }
}

.back-to-home i {
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .back-to-home {
    left: 1rem;
    bottom: 1rem;
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
}

/* Success Stories Section */
.success-stories {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.stories-container {
  max-width: 1200px;
  margin: 0 auto;
}

.stories-container h2 {
  font-size: 2.5rem;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.stories-container h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

.story-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  margin: 1rem;
}

.story-card:hover {
  transform: translateY(-10px);
}

.story-image {
  height: 250px;
  overflow: hidden;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.story-card:hover .story-image img {
  transform: scale(1.1);
}

.story-content {
  padding: 2rem;
}

.story-content h3 {
  font-size: 1.5rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.career-title {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.story-text {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.story-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  color: #6c757d;
  font-size: 0.9rem;
}

.story-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.view-story-btn {
  width: 100%;
  padding: 1rem;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.view-story-btn:hover {
  background: #357abd;
  transform: translateY(-2px);
}

/* Swiper Customization */
.stories-slider {
  padding: 2rem 0;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--primary-color);
  background: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 1.2rem;
}

.swiper-pagination-bullet {
  background: var(--primary-color);
}

.swiper-pagination-bullet-active {
  background: var(--primary-color);
  width: 20px;
  border-radius: 5px;
}

@media (max-width: 768px) {
  .success-stories {
    padding: 3rem 1rem;
  }

  .stories-container h2 {
    font-size: 2rem;
  }

  .story-card {
    margin: 0.5rem;
  }

  .story-image {
    height: 200px;
  }

  .story-content {
    padding: 1.5rem;
  }
}

/* Career Assessment Form Styles */
.assessment-form {
  background: white;
  border-radius: 15px;
  padding: 3rem;
  max-width: 800px;
  margin: 2rem auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  animation: slideIn 0.5s ease;
}

.assessment-step {
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease forwards;
}

.assessment-step:last-child {
  margin-bottom: 2rem;
}

.assessment-step h3 {
  font-size: 1.5rem;
  color: var(--dark-color);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.assessment-step h3 i {
  color: var(--primary-color);
  font-size: 1.3rem;
}

.assessment-step p {
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.assessment-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.assessment-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.assessment-option:hover {
  border-color: var(--primary-color);
  background: #f0f5ff;
  transform: translateY(-2px);
}

.assessment-option.selected {
  border-color: var(--primary-color);
  background: #f0f5ff;
}

.assessment-option.selected::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary-color);
}

.assessment-option i {
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.assessment-option:hover i {
  transform: scale(1.1);
}

.assessment-option span {
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--dark-color);
}

.assessment-textarea {
  width: 100%;
  padding: 1.25rem;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
  font-size: 1.1rem;
  line-height: 1.6;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}

.assessment-textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.1);
}

.assessment-textarea::placeholder {
  color: #a0aec0;
}

.assessment-progress {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 12px;
}

.progress-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.progress-step.active .step-number {
  background: var(--primary-color);
  color: white;
}

.step-number {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e2e8f0;
  color: var(--dark-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  transition: all 0.3s ease;
}

.step-label {
  font-weight: 500;
  color: var(--dark-color);
}

.assessment-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.nav-btn {
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #4A90E2, #357ABD);
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #357ABD, #4A90E2);
}

.nav-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.nav-btn i {
  font-size: 1rem;
}

.assessment-progress {
  font-size: 1.1rem;
  font-weight: 600;
  color: #4A90E2;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.current-step {
  color: #4A90E2;
  font-weight: 700;
}

.total-steps {
  color: #666;
}

@media (max-width: 768px) {
  .assessment-form {
    padding: 2rem;
    margin: 1rem;
  }

  .assessment-options {
    grid-template-columns: 1fr;
  }

  .assessment-progress {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .nav-btn {
    padding: 0.75rem 1.5rem;
  }
}

/* Assessment Results Styles */
.assessment-results {
  display: none;
  animation: fadeIn 0.5s ease;
  padding: 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin: 0 auto;
}

.assessment-results.active {
  display: block;
}

.results-header {
  text-align: center;
  margin-bottom: 2rem;
}

.results-header h2 {
  font-size: 2rem;
  color: #1f2937;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.results-header h2 i {
  color: #ffd700;
}

.results-header p {
  color: #6b7280;
  font-size: 1.1rem;
}

.career-matches {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

.match-card {
  background: #f8fafc;
  border-radius: 15px;
  padding: 2rem;
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.match-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.match-percentage {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: #4f46e5;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}

.match-card h3 {
  font-size: 1.5rem;
  color: #1f2937;
  margin-bottom: 1.5rem;
}

.match-details {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.match-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #6b7280;
  font-size: 1rem;
}

.match-item i {
  color: #4f46e5;
  font-size: 1.1rem;
  width: 20px;
}

.explore-btn {
  width: 100%;
  padding: 1rem;
  background: #4f46e5;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.explore-btn:hover {
  background: #4338ca;
  transform: translateY(-2px);
}

.results-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.nav-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-btn:first-child {
  background: rgba(79, 70, 229, 0.1);
  color: #4f46e5;
}

.nav-btn:last-child {
  background: #4f46e5;
  color: white;
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .assessment-results {
    padding: 1.5rem;
    margin: 1rem;
  }

  .results-header h2 {
    font-size: 1.5rem;
  }

  .results-actions {
    flex-direction: column;
  }

  .nav-btn {
    width: 100%;
  }
}

/* All Careers Modal Styles */
#allCareersModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  overflow-y: auto;
}

#allCareersModal .modal-content {
  background: white;
  margin: 50px auto;
  padding: 30px;
  width: 90%;
  max-width: 1200px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #eee;
}

.modal-header h2 {
  font-size: 28px;
  color: #2C3E50;
  margin: 0;
}

.career-search {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
}

.career-search input {
  flex: 1;
  padding: 12px 20px;
  border: 2px solid #E0E0E0;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.career-search input:focus {
  border-color: #4A90E2;
  outline: none;
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.career-search button {
  padding: 12px 20px;
  background: #4A90E2;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.career-search button:hover {
  background: #357ABD;
}

.all-careers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* Responsive styles */
@media (max-width: 768px) {
  .show-all-btn {
    padding: 10px 15px;
    font-size: 14px;
  }

  #allCareersModal .modal-content {
    margin: 20px auto;
    padding: 20px;
    width: 95%;
  }

  .modal-header h2 {
    font-size: 24px;
  }

  .all-careers-grid {
    grid-template-columns: 1fr;
  }
}

.top-careers-section {
  padding: 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 2rem 0;
}

.top-careers-section h2 {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.careers-scroll-container {
  position: relative;
  overflow-x: auto;
  padding: 1rem 0;
  margin-bottom: 1.5rem;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */
}

.careers-scroll-container::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Opera */
}

.career-cards-wrapper {
  display: flex;
  gap: 1.5rem;
  padding: 0.5rem;
}

.career-card {
  flex: 0 0 300px;
  background: #fff;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eee;
}

.career-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.card-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.card-icon i {
  font-size: 1.5rem;
  color: #fff;
}

.career-card h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.career-card p {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.explore-btn {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s ease;
  width: 100%;
}





.popup-message {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 20px;
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  z-index: 1000;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  max-width: 300px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.popup-message.success {
  background-color: #28a745;
}

.popup-message.error {
  background-color: #dc3545;
}

.popup-message.show {
  opacity: 1;
  transform: translateY(0);
}

.popup-message .icon {
  font-size: 18px;
}

/* Ensure save button cursor is pointer */
.save-job {
  cursor: pointer !important;
}

.save-job:disabled {
  cursor: pointer !important;
  opacity: 0.8;
}








.popup-message {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 20px;
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  z-index: 1000;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  max-width: 300px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.popup-message.success {
  background-color: #28a745;
}

.popup-message.error {
  background-color: #dc3545;
}

.popup-message.show {
  opacity: 1;
  transform: translateY(0);
}

.popup-message .icon {
  font-size: 18px;
}

/* Ensure save button cursor is pointer */
.save-job {
  cursor: pointer !important;
}

.save-job:disabled {
  cursor: pointer !important;
  opacity: 0.8;
}

/* --- Custom Modal Styles for Logout Confirmation --- */
.custom-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(30, 41, 59, 0.55);
  backdrop-filter: blur(2px);
  z-index: 1;
}

.custom-modal-content {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  min-width: 320px;
  max-width: 90vw;
  padding: 2rem 2.5rem 1.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  animation: fadeInModal 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-modal-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: #1e293b;
}

.custom-modal-header i {
  color: #f43f5e;
  font-size: 1.5rem;
}

.custom-modal-body {
  font-size: 1.08rem;
  color: #334155;
  text-align: center;
  margin-bottom: 0.5rem;
}

.custom-modal-actions {
  display: flex;
  gap: 1.2rem;
  margin-top: 0.5rem;
}

.modal-btn {
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.modal-btn.confirm {
  background: linear-gradient(90deg, #f43f5e 0%, #fbbf24 100%);
  color: #fff;
}

.modal-btn.confirm:hover {
  background: linear-gradient(90deg, #fbbf24 0%, #f43f5e 100%);
}

.modal-btn.cancel {
  background: #e2e8f0;
  color: #334155;
}

.modal-btn.cancel:hover {
  background: #cbd5e1;
}

@media (max-width: 600px) {
  .custom-modal-content {
    min-width: 90vw;
    padding: 1.2rem 0.7rem 1rem 0.7rem;
  }

  .custom-modal-header {
    font-size: 1.1rem;
  }

  .modal-btn {
    font-size: 0.98rem;
    padding: 0.5rem 1.1rem;
  }
}

@keyframes fadeInModal {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- End Custom Modal Styles --- */



@media (max-width: 993px) {
  .main {
    display: block;
  }
}


.career-category-section h3 {
  color: #222;
}

.dark-mode .career-category-section h3 {
  color: #fff;
}

.dark-mode .career-assessment {
  background-color: black;
  color: #e0e0e0;
}





body {
  background-color: #121212;
}


@media (min-width:777px) {
  .notification-dropdown {
    right: -10rem;
  }
}




* Base styles */ * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

/* Loading Animation */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loading-overlay.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.g-logo {
  animation: rotate 2s infinite linear;
}

.g-path {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: draw 3s infinite linear;
}

.loading-text {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #6C63FF;
  opacity: 0;
  animation: fadeInOut 2s infinite;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes draw {
  0% {
    stroke-dashoffset: 300;
  }

  50% {
    stroke-dashoffset: 0;
  }

  100% {
    stroke-dashoffset: 300;
  }
}

@keyframes fadeInOut {

  0%,
  100% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }
}

/* Header styles - Mobile optimized */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #e0e0e0;
  padding: 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.menu-wrapper {
  position: relative;
}

.menu-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background-color 0.3s;
}

.menu-btn:hover {
  background-color: #f5f5f5;
}

.logo {
  height: 40px;
  width: auto;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.notification-bell,
.dark-mode-toggle,
.profile-icon {
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  font-size: 18px;
  color: #666;
  transition: all 0.3s;
}

.notification-bell:hover,
.dark-mode-toggle:hover,
.profile-icon:hover {
  background-color: #f5f5f5;
  color: #4a6cf7;
}

/* Menu dropdown - Mobile optimized */
.menu-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  min-width: 280px;
  max-height: 80vh;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-10px);
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1001;
}

.menu-dropdown.active {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.menu-header {
  padding: 1rem;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-menu {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  padding: 4px;
}

/* Career Hero Section - Mobile optimized */
.career-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
  padding: 2rem 1rem;
}

#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-description {
  font-size: clamp(1rem, 3vw, 1.2rem);
  margin-bottom: 2rem;
  opacity: 0.9;
}

.search-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

.search-container input {
  flex: 1;
  padding: 1rem;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  outline: none;
}

.search-btn {
  padding: 1rem 2rem;
  background: #4a6cf7;
  color: white;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s;
}

.search-btn:hover {
  background: #3b5bd6;
  transform: translateY(-2px);
}

/* Career Assessment Section */
.career-assessment {
  padding: 2rem 1rem;
  background: #f8fafc;
}

/* Career Comparison - Mobile optimized */
.career-comparison {
  padding: 2rem 1rem;
  background: white;
}

.comparison-container {
  max-width: 1200px;
  margin: 0 auto;
}

.comparison-container h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #333;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.comparison-card select {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-size: 1rem;
  background: white;
}

.comparison-results {
  background: #f8fafc;
  border-radius: 12px;
  padding: 2rem;
  margin-top: 2rem;
}

.comparison-results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.comparison-aspect h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: #333;
  font-size: 1.1rem;
}

.comparison-values {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.comparison-values span {
  padding: 0.75rem;
  background: white;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

/* Career Container - Mobile optimized */
.career-container {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.career-header h1 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: clamp(2rem, 5vw, 3rem);
  color: #333;
}

.top-careers-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: #333;
}

.careers-scroll-container {
  overflow-x: auto;
  padding: 1rem 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.careers-scroll-container::-webkit-scrollbar {
  height: 6px;
}

.careers-scroll-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.careers-scroll-container::-webkit-scrollbar-thumb {
  background: #4a6cf7;
  border-radius: 3px;
}

.career-cards-wrapper {
  display: flex;
  gap: 1rem;
  min-width: max-content;
  padding: 0 1rem;
}

.career-card {
  min-width: 280px;
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s;
  border: 1px solid #e0e0e0;
}

.career-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 24px;
}

.career-card h3 {
  margin-bottom: 0.5rem;
  color: #333;
  font-size: 1.2rem;
}

.career-card p {
  color: #666;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.explore-btn {
  background: #4a6cf7;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
  width: 100%;
}

.explore-btn:hover {
  background: #3b5bd6;
  transform: translateY(-2px);
}

.view-all-btn {
  display: block;
  margin: 2rem auto 0;
  padding: 1rem 2rem;
  background: transparent;
  border: 2px solid #4a6cf7;
  color: #4a6cf7;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s;
}

.view-all-btn:hover {
  background: #4a6cf7;
  color: white;
}

/* Modal styles - Mobile optimized */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  overflow-y: auto;
  padding: 1rem;
}

.modal-content {
  background: white;
  margin: 2rem auto;
  padding: 1.5rem;
  border-radius: 12px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e0e0e0;
}

.close-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  padding: 8px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-btn:hover {
  background: #f5f5f5;
}

/* Jobs Section - Mobile optimized */
.jobs-section {
  padding: 2rem 1rem;
  background: #f8fafc;
}

.jobs-header {
  text-align: center;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.jobs-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  color: #333;
}

.jobs-header p {
  color: #666;
  font-size: 1.1rem;
}

.jobs-count {
  margin: 1rem 0;
  color: #4a6cf7;
  font-weight: 600;
}

.filter-toggle-btn {
  display: none;
  align-items: center;
  gap: 8px;
  background: #4a6cf7;
  color: white;
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  margin: 1rem auto;
}

.jobs-search-container {
  margin-bottom: 2rem;
}

.search-box {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.search-box i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
}

.search-box input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
}

.search-box input:focus {
  border-color: #4a6cf7;
}

.quick-filters {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  overflow-x: auto;
  padding: 0.5rem 0;
  -webkit-overflow-scrolling: touch;
}

.quick-filter-btn {
  flex-shrink: 0;
  padding: 0.75rem 1rem;
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s;
  white-space: nowrap;
}

.quick-filter-btn.active,
.quick-filter-btn:hover {
  background: #4a6cf7;
  color: white;
  border-color: #4a6cf7;
}

.jobs-container {
  display: flex;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

/* Jobs sidebar - Mobile optimized */
.jobs-sidebar {
  width: 280px;
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  height: fit-content;
  position: sticky;
  top: 120px;
  border: 1px solid #e0e0e0;
  transition: all 0.3s;
}

.jobs-sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.filter-section {
  margin-bottom: 2rem;
}

.filter-section h3 {
  margin-bottom: 1rem;
  color: #333;
  font-size: 1.1rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  cursor: pointer;
  font-size: 0.9rem;
}

.checkbox-label input {
  accent-color: #4a6cf7;
}

.salary-filter {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.salary-inputs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.salary-input {
  flex: 1;
  padding: 0.5rem;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 0.9rem;
}

.salary-period {
  padding: 0.5rem;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 0.9rem;
  background: white;
}

/* Jobs main content */
.jobs-main {
  flex: 1;
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.job-card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  height: fit-content;
}

.job-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.job-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.company-logo img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 8px;
}

.job-card-title {
  flex: 1;
  margin-left: 1rem;
}

.job-card-title h3 {
  margin: 0 0 0.25rem 0;
  font-size: 1.1rem;
  color: #333;
}

.company-name {
  color: #666;
  font-size: 0.9rem;
}

.save-job {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  color: #666;
  padding: 8px;
  border-radius: 50%;
}

.save-job:hover {
  background: #f5f5f5;
  color: #4a6cf7;
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.job-tags span {
  background: #e6e6fa;
  color: #333;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8rem;
}

.key-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.key-skills span {
  background: #f0f4ff;
  color: #4a6cf7;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8rem;
}

.job-description {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  line-height: 1.5;
}

.job-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.job-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.salary {
  font-weight: 600;
  color: #333;
  font-size: 1rem;
}

.posted-time {
  font-size: 0.8rem;
  color: #666;
}

.job-card-footer a {
  background: #4a6cf7;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s;
}

.job-card-footer a:hover {
  background: #3b5bd6;
  transform: translateY(-2px);
}

/* Pagination */
.jobs-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.jobs-pagination button {
  padding: 0.75rem 1rem;
  border: 1px solid #e0e0e0;
  background: white;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.jobs-pagination button:hover:not(:disabled) {
  background: #4a6cf7;
  color: white;
  border-color: #4a6cf7;
}

.jobs-pagination button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.page-number.active {
  background: #4a6cf7;
  color: white;
  border-color: #4a6cf7;
}

/* Interview Practice Section */
.interview-practice-section {
  padding: 2rem 1rem;
  background: white;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  color: #333;
}

.topic-filters {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  overflow-x: auto;
  padding: 0.5rem 0;
  -webkit-overflow-scrolling: touch;
}

.topic-filter-btn {
  flex-shrink: 0;
  padding: 0.75rem 1rem;
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s;
  white-space: nowrap;
}

.topic-filter-btn.active,
.topic-filter-btn:hover {
  background: #4a6cf7;
  color: white;
  border-color: #4a6cf7;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.video-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  border: 1px solid #e0e0e0;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 aspect ratio */
  overflow: hidden;
}

.video-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.duration {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
}

.play-overlay-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(74, 108, 247, 0.9);
  color: white;
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  opacity: 0;
}

.video-thumbnail:hover .play-overlay-btn {
  opacity: 1;
}

.video-info {
  padding: 1.5rem;
}

.video-info h4 {
  margin-bottom: 1rem;
  color: #333;
  font-size: 1.1rem;
  line-height: 1.4;
}

.creator-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: #666;
}

.creator-avatar {
  width: 24px;
  height: 24px;
  background: #e0e0e0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.video-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  color: #666;
}

.video-description {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.watch-btn {
  background: #4a6cf7;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s;
  width: 100%;
}

.watch-btn:hover {
  background: #3b5bd6;
  transform: translateY(-2px);
}

.videos-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.videos-pagination button {
  padding: 0.75rem 1rem;
  border: 1px solid #e0e0e0;
  background: white;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.videos-pagination button:hover:not(:disabled) {
  background: #4a6cf7;
  color: white;
  border-color: #4a6cf7;
}

.videos-pagination button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Video Player Modal */
.video-player-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.video-player-modal.active {
  display: flex;
}

.video-player-content {
  background: white;
  border-radius: 12px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
}

.close-video-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-info-container {
  padding: 1.5rem;
}

.video-info-container h3 {
  margin-bottom: 0.5rem;
  color: #333;
}

/* Promotional Banner */
.promo-banner {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
  padding: 3rem 1rem;
}

.promo-content h3 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 1rem;
}

.promo-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.promo-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
  margin: 0 auto;
}

.promo-btn {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}

.promo-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* Section Navigation Button */
.section-nav-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  background: #4a6cf7;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  box-shadow: 0 4px 16px rgba(74, 108, 247, 0.3);
  transition: all 0.3s;
  z-index: 100;
}

.section-nav-btn:hover {
  background: #3b5bd6;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(74, 108, 247, 0.4);
}

/* No results states */
.no-jobs-found,
.no-videos-found {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  color: #666;
}

.no-jobs-found i,
.no-videos-found i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #4a6cf7;
}

.no-jobs-found h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #333;
}

/* Popup message */
.popup-message {
  position: fixed;
  top: 2rem;
  right: 2rem;
  background: white;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s;
  border-left: 4px solid #4a6cf7;
  max-width: calc(100% - 4rem);
}

.popup-message.show {
  opacity: 1;
  transform: translateX(0);
}

.popup-message.error {
  border-left-color: #ef4444;
}

.popup-message .icon {
  font-size: 1.2rem;
  color: #4a6cf7;
}

.popup-message.error .icon {
  color: #ef4444;
}

/* Dark mode */
.dark-mode {
  background: #1a1a1a;
  color: #e0e0e0;
}

.dark-mode .header {
  background: rgba(26, 26, 26, 0.95);
  border-bottom-color: #404040;
}

.dark-mode .menu-dropdown {
  background: #2d2d2d;
  border-color: #404040;
}

.dark-mode .career-card,
.dark-mode .job-card,
.dark-mode .video-card,
.dark-mode .jobs-sidebar,
.dark-mode .modal-content {
  background: #2d2d2d;
  border-color: #404040;
  color: #e0e0e0;
}

.dark-mode .comparison-results {
  background: #2d2d2d;
}

.dark-mode .comparison-values span {
  background: #1a1a1a;
  border-color: #404040;
  color: #e0e0e0;
}

.dark-mode .search-box input,
.dark-mode .comparison-card select,
.dark-mode .salary-input,
.dark-mode .salary-period {
  background: #2d2d2d;
  border-color: #404040;
  color: #e0e0e0;
}

.dark-mode .quick-filter-btn,
.dark-mode .topic-filter-btn {
  background: #2d2d2d;
  border-color: #404040;
  color: #e0e0e0;
}

.dark-mode .quick-filter-btn.active,
.dark-mode .topic-filter-btn.active {
  background: #4a6cf7;
  color: white;
  border-color: #4a6cf7;
}

.dark-mode .jobs-section,
.dark-mode .career-assessment {
  background: #1a1a1a;
}

.dark-mode .interview-practice-section {
  background: #2d2d2d;
}

.dark-mode .video-info-container {
  background: #2d2d2d;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {

  /* Header adjustments */
  .nav-container {
    padding: 0.5rem 1rem;
  }

  .nav-right {
    gap: 8px;
  }

  .notification-bell,
  .dark-mode-toggle,
  .profile-icon {
    padding: 6px;
    font-size: 16px;
  }

  /* Hero section */
  .career-hero {
    min-height: 50vh;
    padding: 1.5rem 1rem;
  }

  .search-container {
    gap: 0.75rem;
  }

  .search-container input {
    padding: 0.875rem;
    font-size: 0.9rem;
  }

  .search-btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
  }

  /* Comparison grid */
  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .comparison-results-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .comparison-values {
    grid-template-columns: 1fr;
  }

  /* Career cards */
  .career-card {
    min-width: 260px;
  }

  .career-cards-wrapper {
    padding: 0 0.5rem;
  }

  /* Modal adjustments */
  .modal {
    padding: 0.5rem;
  }

  .modal-content {
    margin: 1rem auto;
    padding: 1rem;
    border-radius: 8px;
  }

  /* Jobs section mobile */
  .filter-toggle-btn {
    display: flex;
    margin: 1rem 0;
  }

  .jobs-container {
    flex-direction: column;
    gap: 1rem;
  }

  .jobs-sidebar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 280px;
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    border-radius: 0;
    border-right: 1px solid #e0e0e0;
    overflow-y: auto;
  }

  .jobs-sidebar.active {
    display: block;
    transform: translateX(0);
  }

  .jobs-sidebar-overlay.active {
    display: block;
  }

  .jobs-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .job-card {
    padding: 1rem;
  }

  .job-card-header {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .company-logo img {
    width: 40px;
    height: 40px;
  }

  .job-card-title {
    margin-left: 0.75rem;
    flex: 1;
    min-width: 0;
  }

  .job-card-title h3 {
    font-size: 1rem;
    line-height: 1.3;
  }

  .job-tags,
  .key-skills {
    gap: 0.375rem;
  }

  .job-tags span,
  .key-skills span {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
  }

  .job-card-footer {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  .job-card-footer a {
    text-align: center;
    padding: 0.75rem;
  }

  /* Pagination mobile */
  .jobs-pagination,
  .videos-pagination {
    gap: 0.25rem;
  }

  .jobs-pagination button,
  .videos-pagination button {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    min-width: 40px;
  }

  /* Video cards mobile */
  .videos-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .video-card {
    border-radius: 8px;
  }

  .video-info {
    padding: 1rem;
  }

  .video-info h4 {
    font-size: 1rem;
    line-height: 1.3;
  }

  .play-overlay-btn {
    width: 50px;
    height: 50px;
    font-size: 16px;
  }

  /* Topic filters mobile */
  .quick-filters,
  .topic-filters {
    gap: 0.375rem;
    padding: 0.5rem 0;
  }

  .quick-filter-btn,
  .topic-filter-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    border-radius: 6px;
  }

  /* Video player modal mobile */
  .video-player-modal {
    padding: 0.5rem;
  }

  .video-player-content {
    border-radius: 8px;
    max-height: 95vh;
  }

  .close-video-btn {
    top: 0.5rem;
    right: 0.5rem;
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .video-info-container {
    padding: 1rem;
  }

  .video-info-container h3 {
    font-size: 1rem;
    line-height: 1.3;
  }

  /* Promo banner mobile */
  .promo-banner {
    padding: 2rem 1rem;
  }

  .promo-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .promo-btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
  }

  /* Section nav button mobile */
  .section-nav-btn {
    bottom: 1rem;
    right: 1rem;
    width: 48px;
    height: 48px;
    font-size: 18px;
  }

  /* Popup message mobile */
  .popup-message {
    top: 1rem;
    right: 1rem;
    left: 1rem;
    max-width: none;
    font-size: 0.9rem;
    padding: 0.875rem 1rem;
  }

  /* Filter section mobile */
  .filter-section {
    margin-bottom: 1.5rem;
  }

  .filter-section h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }

  .checkbox-label {
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
  }

  .salary-inputs {
    flex-direction: column;
    align-items: stretch;
  }

  .salary-inputs span {
    text-align: center;
    font-weight: 600;
  }
}

@media (max-width: 480px) {

  /* Extra small screens */
  .career-hero {
    min-height: 40vh;
    padding: 1rem;
  }

  .hero-content h1 {
    font-size: 1.75rem;
  }

  .hero-description {
    font-size: 0.95rem;
  }

  .career-card {
    min-width: 240px;
  }

  .jobs-grid {
    margin-bottom: 1rem;
  }

  .job-card {
    padding: 0.875rem;
  }

  .videos-grid {
    gap: 1rem;
  }

  .video-info {
    padding: 0.875rem;
  }

  .modal-content {
    padding: 0.875rem;
  }

  .comparison-container,
  .career-container,
  .jobs-section,
  .interview-practice-section {
    padding: 1.5rem 0.875rem;
  }
}

/* Hover effects for touch devices */
@media (hover: none) {

  .career-card:hover,
  .job-card:hover,
  .video-card:hover {
    transform: none;
  }

  .explore-btn:hover,
  .watch-btn:hover,
  .search-btn:hover,
  .promo-btn:hover {
    transform: none;
  }

  .section-nav-btn:hover {
    transform: none;
  }
}

/* Focus styles for accessibility */
.explore-btn:focus,
.watch-btn:focus,
.search-btn:focus,
.promo-btn:focus,
.quick-filter-btn:focus,
.topic-filter-btn:focus {
  outline: 2px solid #4a6cf7;
  outline-offset: 2px;
}

/* Scrollbar styling for webkit browsers */
.quick-filters::-webkit-scrollbar,
.topic-filters::-webkit-scrollbar {
  height: 4px;
}

.quick-filters::-webkit-scrollbar-track,
.topic-filters::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 2px;
}

.quick-filters::-webkit-scrollbar-thumb,
.topic-filters::-webkit-scrollbar-thumb {
  background: #4a6cf7;
  border-radius: 2px;
}

/* Loading spinner */
.career-loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
}

.career-loading-spinner div {
  width: 48px;
  height: 48px;
  border: 4px solid #e6e6fa;
  border-top: 4px solid #4a6cf7;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1.5rem;
}

.career-loading-spinner h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
  color: #333;
}

.career-loading-spinner p {
  color: #4a6cf7;
  font-size: 1rem;
  margin: 0;
  text-align: center;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Custom modal styles for logout */
.custom-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 1rem;
}

.custom-modal-content {
  background: white;
  border-radius: 12px;
  max-width: 400px;
  width: 100%;
  padding: 2rem;
  text-align: center;
}

.custom-modal-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: #333;
  font-size: 1.25rem;
  font-weight: 600;
}

.custom-modal-body {
  margin-bottom: 2rem;
  color: #666;
  font-size: 1rem;
  line-height: 1.5;
}

.custom-modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.modal-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.modal-btn.confirm {
  background: #ef4444;
  color: white;
}

.modal-btn.confirm:hover {
  background: #dc2626;
}

.modal-btn.cancel {
  background: #f5f5f5;
  color: #666;
}

.modal-btn.cancel:hover {
  background: #e5e5e5;
}

/* Ripple effect */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}



/* Root Variables */
:root {
  --primary-color: #2563eb;
  --secondary-color: #1e40af;
  --accent-color: #3b82f6;
  --text-primary: #1f2937;
  --text-secondary: #4b5563;
  --background-light: #ffffff;
  --background-dark: #111827;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --transition-speed: 0.3s;
  --light-bg: #f9f9f9;
  --dark-bg: #121212;
  --card-bg: #2d3748;
  --border-color: #4a5568;
  --text-dark: #ffffff;
  --text-light: #9ca3af;
  --text-muted: #6b7280;
  --dark-text: #1f2937;
  --dark-text-light: #4b5563;
  --dark-text-muted: #9ca3af;
  --dark-card-bg: #374151;
  --dark-border: #4a5568;
  --primary-dark: #1d4ed8;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo {
  height: 45px;
  width: auto;
  border-radius: 50px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #4b5563;
  font-weight: 400;
  font-size: 0.9rem;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #6366f1;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #6366f1;
}

.nav-links a:hover::after {
  width: 80%;
}

.nav-links li {
  position: relative;
  margin: 0 10px;
}

.nav-dropdown .dropdown-container {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  min-width: 200px;
}

.nav-dropdown .dropdown-container ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-dropdown .dropdown-container ul li {
  padding: 10px;
}

.nav-dropdown .dropdown-container ul li a {
  color: #333;
  text-decoration: none;
  display: block;
}

.nav-dropdown .dropdown-container ul li a:hover {
  background-color: #f5f5f5;
}

.nav-dropdown:hover .dropdown-container {
  display: block;
}

.nav-links .nav-dropdown {
  position: relative;
}

.nav-links .nav-dropdown .dropdown-container {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  width: 280px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.nav-links .nav-dropdown:hover .dropdown-container {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-links .dropdown-container ul li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.nav-links .dropdown-container ul li a:hover {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary-color);
}

.nav-links .dropdown-container ul li a i {
  width: 20px;
  text-align: center;
  color: var(--primary-color);
  font-size: 1rem;
}

.search-bar {
  flex: 1;
  max-width: 400px;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background-color: #f9fafb;
}

.search-bar::before {
  content: '\f002';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
}

.search-input:focus {
  outline: none;
  border-color: #6366f1;
  background-color: white;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.dark-mode-toggle {
  background: none;
  border: none;
  color: #4b5563;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.dark-mode-toggle:hover {
  color: #6366f1;
  background: rgba(99, 102, 241, 0.1);
}

.profile-dropdown {
  position: relative;
}

.profile-icon {
  font-size: 1.5rem;
  color: #4b5563;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.profile-icon:hover {
  color: #6366f1;
  background: rgba(99, 102, 241, 0.1);
}

.profile-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  width: 280px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.profile-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.profile-header {
  padding: 1.25rem;
  border-bottom: 1px solid rgba(99, 102, 241, 0.1);
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(145deg, rgba(99, 102, 241, 0.1), transparent);
}

.profile-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(145deg, #6366f1, #818cf8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.profile-info h4 {
  color: #1f2937;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.profile-info span {
  color: #6366f1;
  font-size: 0.875rem;
}

.profile-sections {
  padding: 0.75rem;
}

.profile-section {
  margin-bottom: 0.5rem;
}

.profile-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: #4b5563;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.profile-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(99, 102, 241, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.profile-link:hover {
  color: #6366f1;
  transform: translateX(4px);
}

.profile-link:hover::before {
  opacity: 1;
}

.profile-link i {
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #6366f1;
  transition: transform 0.3s ease;
}

.profile-link:hover i {
  transform: scale(1.1);
}

.profile-link.sign-out {
  color: #ef4444;
  margin-top: 0.5rem;
}

.profile-link.sign-out i {
  color: #ef4444;
}

.profile-link.sign-out:hover {
  background: rgba(239, 68, 68, 0.1);
}

.notification-center {
  position: relative;
}

.notification-bell {
  position: relative;
  background: transparent;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.notification-bell i {
  font-size: 1.25rem;
  color: #4b5563;
}

.notification-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #ef4444;
  color: white;
  font-size: 0.75rem;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  transition: all 0.3s ease;
}

.notification-dropdown {
  position: absolute;
  top: calc(100% + 1rem);
  right: -10rem;
  width: 380px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  overflow: hidden;
}

.notification-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.notification-header {
  padding: 1.25rem;
  border-bottom: 1px solid rgba(99, 102, 241, 0.1);
  background: linear-gradient(to right, rgba(99, 102, 241, 0.05), transparent);
}

.notification-title h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.notification-subtitle {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.notification-filters {
  padding: 0.75rem 1.25rem;
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(99, 102, 241, 0.1);
  background: rgba(99, 102, 241, 0.02);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.notification-filters::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 6px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.filter-btn:hover {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary-color);
}

.filter-btn.active {
  background: white;
  color: var(--primary-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.filter-count {
  font-size: 0.75rem;
  background: rgba(99, 102, 241, 0.1);
  padding: 0.125rem 0.375rem;
  border-radius: 10px;
}

.notification-body {
  flex: 1;
  min-height: 0;
  position: relative;
}

.notification-list {
  height: 100%;
  max-height: calc(85vh - 180px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0.5rem;
  scroll-behavior: smooth;
}

.notification-list::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  display: block;
}

.notification-list::-webkit-scrollbar-track {
  background: transparent;
  display: block;
}

.notification-list::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.2);
  border-radius: 3px;
  display: block;
}

.notification-list::-webkit-scrollbar-thumb:hover {
  background: rgba(99, 102, 241, 0.3);
}

.notification-list {
  scrollbar-width: thin;
  scrollbar-color: rgba(99, 102, 241, 0.2) transparent;
}

.notification-item {
  width: 100%;
  min-height: fit-content;
  margin-bottom: 0.5rem;
  padding: 1rem;
  border-radius: 12px;
  background: white;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  gap: 1rem;
  position: relative;
}

.notification-item:hover {
  background: rgba(99, 102, 241, 0.05);
  transform: translateX(4px);
}

.notification-item.unread {
  background: rgba(99, 102, 241, 0.05);
}

.notification-item.unread::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 70%;
  background: var(--primary-color);
  border-radius: 0 4px 4px 0;
}

.notification-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.notification-icon.placement {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.notification-icon.academic {
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
}

.notification-icon.events {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.notification-content {
  flex: 1;
  min-width: 0;
}

.notification-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notification-message {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: all 0.3s ease;
  max-height: 2.5rem;
  line-height: 1.25;
}

.notification-message.expanded {
  -webkit-line-clamp: unset;
  max-height: 120px;
  overflow-y: auto;
  padding-right: 8px;
}

.notification-message.expanded::-webkit-scrollbar {
  width: 4px;
}

.notification-message.expanded::-webkit-scrollbar-track {
  background: transparent;
}

.notification-message.expanded::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.2);
  border-radius: 2px;
}

.notification-message.expanded::-webkit-scrollbar-thumb:hover {
  background: rgba(99, 102, 241, 0.3);
}

.notification-message.expanded {
  scrollbar-width: thin;
  scrollbar-color: rgba(99, 102, 241, 0.2) transparent;
}

.notification-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.show-more-btn {
  background: none;
  border: none;
  color: var(--primary-color);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.show-more-btn:hover {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary-color);
}

.show-more-btn i {
  font-size: 0.625rem;
  transition: transform 0.2s ease;
}

.show-more-btn.expanded i {
  transform: rotate(180deg);
}

.notification-time {
  font-size: 0.75rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.25rem;
}

.notification-footer {
  padding: 1rem;
  border-top: 1px solid rgba(99, 102, 241, 0.1);
  background: white;
  position: sticky;
  bottom: 0;
}

.mark-all-read {
  width: 100%;
  padding: 0.75rem;
  border: none;
  border-radius: 6px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary-color);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.mark-all-read:hover {
  background: rgba(99, 102, 241, 0.15);
  transform: translateY(-1px);
}

.notification-loading,
.notification-error,
.notification-empty {
  padding: 2rem;
  text-align: center;
  color: var(--text-secondary);
}

.notification-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.notification-error {
  color: #ef4444;
}

.notification-error button {
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 6px;
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  cursor: pointer;
  transition: all 0.2s ease;
}

.notification-error button:hover {
  background: rgba(239, 68, 68, 0.2);
}

.notification-empty {
  color: var(--text-secondary);
  padding: 3rem 1rem;
}

.notification-empty i {
  font-size: 2rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.notification-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(99, 102, 241, 0.05), transparent);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.notification-item:hover::after {
  transform: translateX(100%);
}

.menu-wrapper {
  position: relative;
}

.menu-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(99, 102, 241, 0.1);
  border: none;
  border-radius: 8px;
  color: #6366f1;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.menu-btn:hover {
  background: rgba(99, 102, 241, 0.15);
  transform: translateY(-1px);
}

.menu-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 320px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px -5px rgba(0, 0, 0, 0.15);
  border: 1px solid #e5e7eb;
  margin-top: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.menu-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.menu-header h3 {
  color: #1f2937;
  font-size: 1.1rem;
  font-weight: 600;
}

.close-menu {
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.close-menu:hover {
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
}

.menu-sections {
  padding: 1rem 0;
  max-height: calc(100vh - 200px);
  overflow-y: auto;
}

.menu-section {
  padding: 0.5rem 1.5rem;
}

.menu-section h4 {
  color: #6b7280;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.menu-section ul {
  list-style: none;
}

.menu-section li a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  color: #4b5563;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.menu-section li a:hover {
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
}

.menu-section li a i {
  width: 1.5rem;
  text-align: center;
  font-size: 1.1rem;
}

.menu-tag {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  border-radius: 20px;
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
}

.menu-tag.new {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.menu-sections::-webkit-scrollbar {
  width: 6px;
}

.menu-sections::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.menu-sections::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 3px;
}

.menu-sections::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

.menu-dropdown-item .menu-dropdown-container {
  display: none;
  position: static;
  background-color: #f9f9f9;
  border-left: 3px solid #007bff;
  margin-top: 5px;
  padding-left: 20px;
}

.menu-dropdown-item .menu-dropdown-container ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-dropdown-item .menu-dropdown-container ul li {
  padding: 8px 0;
}

.menu-dropdown-item .menu-dropdown-container ul li a {
  color: #333;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-dropdown-item .menu-dropdown-container ul li a:hover {
  color: #007bff;
}

.menu-dropdown-item .menu-dropdown-container {
  background: var(--background-light);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 0.5rem;
  min-width: 250px;
}

.menu-dropdown-item .menu-dropdown-container ul li {
  padding: 0;
}

.menu-dropdown-item .menu-dropdown-container ul li a {
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
}

.menu-dropdown-item .menu-dropdown-container ul li a:hover {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary-color);
  transform: translateX(5px);
}

.menu-dropdown-item .menu-dropdown-container ul li a i {
  width: 20px;
  text-align: center;
  color: var(--primary-color);
}

.menu-dropdown-item .dropdown-icon {
  margin-left: auto;
  transition: transform 0.3s ease;
}

.menu-dropdown-item.active .dropdown-icon {
  transform: rotate(180deg);
}

.menu-dropdown-item.active .menu-dropdown-container {
  display: block;
}

/* Dark Mode Styles */
.dark-mode .header {
  background-color: rgba(17, 24, 39, 0.95);
}

.dark-mode .nav-links a {
  color: var(--background-light);
}

.dark-mode .nav-links a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .nav-links .dropdown-container {
  background: #1f2937;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-mode .nav-links .dropdown-container ul li a {
  color: #e5e7eb;
}

.dark-mode .nav-links .dropdown-container ul li a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #818cf8;
}

.dark-mode .profile-icon {
  color: var(--background-light);
}

.dark-mode .notification-dropdown {
  background: #1f2937;
  border-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .notification-bell i {
  color: #e5e7eb;
}

.dark-mode .notification-header {
  background: linear-gradient(to right, rgba(99, 102, 241, 0.1), transparent);
}

.dark-mode .filter-btn.active {
  background: #2d3748;
}

.dark-mode .notification-item {
  background: #1f2937;
}

.dark-mode .notification-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.dark-mode .notification-footer {
  background: #1f2937;
}

.dark-mode .show-more-btn {
  color: #6366f1;
}

.dark-mode .show-more-btn:hover {
  background: rgba(99, 102, 241, 0.2);
  color: #6366f1;
}

.dark-mode .notification-message.expanded::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.4);
}

.dark-mode .notification-message.expanded::-webkit-scrollbar-thumb:hover {
  background: rgba(99, 102, 241, 0.6);
}

.dark-mode .menu-dropdown-item .menu-dropdown-container {
  background: #2d3748;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-mode .menu-dropdown-item .menu-dropdown-container ul li a {
  color: #e2e8f0;
}

.dark-mode .menu-dropdown-item .menu-dropdown-container ul li a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.dark-mode .menu-dropdown {
  background: #1f2937;
  border-color: rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 830px) {
  .nav-container {
    flex-wrap: wrap;
  }

  .nav-links {
    display: none;
  }

  .search-bar {
    order: 2;
  }
}

@media (max-width: 768px) {
  .notification-actions {
    margin-top: 0.75rem;
  }
  
  .show-more-btn {
    font-size: 0.8rem;
    padding: 0.375rem 0.75rem;
  }
  
  .notification-message.expanded {
    max-height: 100px;
  }
}

@media (max-width: 480px) {
  .notification-message.expanded {
    max-height: 80px;
  }
  
  .show-more-btn {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
  }
}



@media (max-width: 428px) {
  .top-careers-section{
    padding-left:2px ;
    padding-right: 2px;

  }
}


















/* Styles for the content inside #pathModal .modal-content */
#pathModal .modal-content {
    background: linear-gradient(145deg, #ffffff, #f5f7fa); /* Subtle gradient for a polished look */
    border-radius: 12px;
    max-width: 900px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); /* Softer, deeper shadow */
    padding: 24px;
    position: relative;
    font-family: 'Inter', sans-serif;
    animation: fadeIn 0.4s ease-out; /* Smooth fade-in for content */
}

/* Animation for modal content */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Path header styling */
#pathModal .path-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 24px;
}

#pathModal .path-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    line-height: 1.3;
}

#pathModal .path-meta {
    display: flex;
    gap: 20px;
    font-size: 0.95rem;
    color: #6b7280;
}

#pathModal .path-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

#pathModal .path-meta i {
    color: #3b82f6;
    font-size: 1.1rem;
}

/* Close button styling */
#pathModal .close-btn {
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

#pathModal .close-btn:hover {
    background: #dc2626;
    transform: scale(1.05);
}

/* Tab buttons styling */
#pathModal .tab-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    border-bottom: 2px solid #e5e7eb;
    flex-wrap: wrap;
}

#pathModal .tab-btn {
    background: none;
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    color: #4b5563;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

#pathModal .tab-btn.active {
    color: #3b82f6;
    font-weight: 600;
}

#pathModal .tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #3b82f6;
    transition: width 0.3s ease;
}

/* Tab content styling */
#pathModal .tab-content {
    padding: 16px 0;
}

#pathModal .tab-pane {
    display: none;
}

#pathModal .tab-pane.active {
    display: block;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Roadmap timeline */
#pathModal .roadmap-timeline {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

#pathModal .timeline-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    position: relative;
    padding-left: 40px;
}

#pathModal .timeline-marker {
    position: absolute;
    left: 0;
    top: 4px;
    width: 28px;
    height: 28px;
    background: #3b82f6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#pathModal .timeline-content {
    background: #ffffff;
    padding: 16px;
    border-radius: 8px;
    flex: 1;
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#pathModal .timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#pathModal .timeline-content h4 {
    margin: 0 0 10px;
    font-size: 1.2rem;
    color: #1f2937;
    font-weight: 600;
}

#pathModal .timeline-content p {
    margin: 0 0 8px;
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.5;
}

#pathModal .timeline-content .duration {
    font-size: 0.85rem;
    color: #6b7280;
    font-style: italic;
}

/* Courses and videos grid */
#pathModal .courses-grid,
#pathModal .videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

#pathModal .course-card,
#pathModal .video-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#pathModal .course-card:hover,
#pathModal .video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

#pathModal .course-card h4,
#pathModal .video-card h4 {
    margin: 0 0 12px;
    font-size: 1.15rem;
    color: #1f2937;
    font-weight: 600;
}

#pathModal .course-info,
#pathModal .video-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.9rem;
    color: #4b5563;
}

#pathModal .course-info span,
#pathModal .video-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

#pathModal .course-info i,
#pathModal .video-meta i {
    color: #3b82f6;
}

#pathModal .course-price {
    font-weight: 600;
    color: #3b82f6;
    margin: 12px 0 16px;
}

#pathModal .enroll-btn a,
#pathModal .watch-btn {
    display: inline-block;
    background: #3b82f6;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.2s ease;
}

#pathModal .enroll-btn a:hover,
#pathModal .watch-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

#pathModal .video-thumbnail {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
}

#pathModal .video-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

#pathModal .play-overlay-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.65);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

#pathModal .play-overlay-btn:hover {
    background: rgba(0, 0, 0, 0.85);
}

#pathModal .duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
}

#pathModal .creator-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

#pathModal .creator-avatar {
    background: #dbeafe;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
}

#pathModal .video-description {
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.5;
    margin-bottom: 12px;
}

/* Jobs list */
#pathModal .jobs-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

#pathModal .job-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#pathModal .job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

#pathModal .job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

#pathModal .job-header h4 {
    margin: 0;
    font-size: 1.25rem;
    color: #1f2937;
    font-weight: 600;
}

#pathModal .job-header .company {
    font-size: 0.95rem;
    color: #3b82f6;
    font-weight: 500;
}

#pathModal .job-details {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.9rem;
    color: #4b5563;
    margin-bottom: 16px;
}

#pathModal .job-details span {
    display: flex;
    align-items: center;
    gap: 8px;
}

#pathModal .job-details i {
    color: #3b82f6;
}

#pathModal .job-card a {
    display: inline-block;
    background: #3b82f6;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.2s ease;
}

#pathModal .job-card a:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #pathModal .modal-content {
        width: 95%;
        padding: 16px;
        max-height: 90vh;
    }

    #pathModal .path-header h2 {
        font-size: 1.5rem;
    }

    #pathModal .tab-buttons {
        gap: 8px;
    }

    #pathModal .tab-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    #pathModal .courses-grid,
    #pathModal .videos-grid {
        grid-template-columns: 1fr;
    }

    #pathModal .timeline-item {
        padding-left: 36px;
    }

    #pathModal .timeline-marker {
        width: 24px;
        height: 24px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    #pathModal .modal-content {
        padding: 12px;
    }

    #pathModal .path-header h2 {
        font-size: 1.3rem;
    }

    #pathModal .path-meta {
        flex-direction: column;
        gap: 10px;
    }

    #pathModal .close-btn {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }

    #pathModal .tab-btn {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    #pathModal .course-card,
    #pathModal .video-card,
    #pathModal .job-card {
        padding: 16px;
    }
}




@media (max-width: 418px) {
  .notification-dropdown{
    right: -20rem;

}
}






















/* Modal content for #pathModal */
#pathModal .modal-content {
    background: linear-gradient(145deg, #ffffff, #f5f7fa);
    border-radius: 12px;
    max-width: 900px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 24px;
    position: relative;
    animation: fadeIn 0.4s ease-out;
}

/* Dark mode for #pathModal .modal-content */
body.dark-mode #pathModal .modal-content {
    background: linear-gradient(145deg, #2d2d2d, #1f1f1f);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid #404040;
}

/* Path header styling */
#pathModal .path-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 24px;
}

body.dark-mode #pathModal .path-header {
    border-bottom: 1px solid #404040;
}

#pathModal .path-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    line-height: 1.3;
}

body.dark-mode #pathModal .path-header h2 {
    color: #e0e0e0;
}

#pathModal .path-meta {
    display: flex;
    gap: 20px;
    font-size: 0.95rem;
    color: #6b7280;
}

body.dark-mode #pathModal .path-meta {
    color: #a0a0a0;
}

#pathModal .path-meta i {
    color: #3b82f6;
}

body.dark-mode #pathModal .path-meta i {
    color: #60a5fa;
}

/* Close button styling */
#pathModal .close-btn {
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

body.dark-mode #pathModal .close-btn {
    background: #b91c1c;
}

#pathModal .close-btn:hover {
    background: #dc2626;
    transform: scale(1.05);
}

body.dark-mode #pathModal .close-btn:hover {
    background: #991b1b;
}

/* Tab buttons styling */
#pathModal .tab-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    border-bottom: 2px solid #e5e7eb;
    flex-wrap: wrap;
}

body.dark-mode #pathModal .tab-buttons {
    border-bottom: 2px solid #404040;
}

#pathModal .tab-btn {
    background: none;
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    color: #4b5563;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

body.dark-mode #pathModal .tab-btn {
    color: #a0a0a0;
}

#pathModal .tab-btn.active {
    color: #3b82f6;
    font-weight: 600;
}

body.dark-mode #pathModal .tab-btn.active {
    color: #60a5fa;
}

#pathModal .tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #3b82f6;
    transition: width 0.3s ease;
}

body.dark-mode #pathModal .tab-btn.active::after {
    background: #60a5fa;
}

/* Tab content styling */
#pathModal .tab-content {
    padding: 16px 0;
}

#pathModal .tab-pane {
    display: none;
}

#pathModal .tab-pane.active {
    display: block;
    animation: slideUp 0.3s ease;
}

/* Roadmap timeline */
#pathModal .roadmap-timeline {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

#pathModal .timeline-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    position: relative;
    padding-left: 40px;
}

#pathModal .timeline-marker {
    position: absolute;
    left: 0;
    top: 4px;
    width: 28px;
    height: 28px;
    background: #3b82f6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

body.dark-mode #pathModal .timeline-marker {
    background: #60a5fa;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

#pathModal .timeline-content {
    background: #ffffff;
    padding: 16px;
    border-radius: 8px;
    flex: 1;
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.dark-mode #pathModal .timeline-content {
    background: #2d2d2d;
    border: 1px solid #404040;
}

#pathModal .timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

body.dark-mode #pathModal .timeline-content:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

#pathModal .timeline-content h4 {
    margin: 0 0 10px;
    font-size: 1.2rem;
    color: #1f2937;
    font-weight: 600;
}

body.dark-mode #pathModal .timeline-content h4 {
    color: #e0e0e0;
}

#pathModal .timeline-content p {
    margin: 0 0 8px;
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.5;
}

body.dark-mode #pathModal .timeline-content p {
    color: #a0a0a0;
}

#pathModal .timeline-content .duration {
    font-size: 0.85rem;
    color: #6b7280;
    font-style: italic;
}

body.dark-mode #pathModal .timeline-content .duration {
    color: #a0a0a0;
}

/* Courses and videos grid */
#pathModal .courses-grid,
#pathModal .videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

#pathModal .course-card,
#pathModal .video-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.dark-mode #pathModal .course-card,
body.dark-mode #pathModal .video-card {
    background: #2d2d2d;
    border: 1px solid #404040;
}

#pathModal .course-card:hover,
#pathModal .video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

body.dark-mode #pathModal .course-card:hover,
body.dark-mode #pathModal .video-card:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

#pathModal .course-card h4,
#pathModal .video-card h4 {
    margin: 0 0 12px;
    font-size: 1.15rem;
    color: #1f2937;
    font-weight: 600;
}

body.dark-mode #pathModal .course-card h4,
body.dark-mode #pathModal .video-card h4 {
    color: #e0e0e0;
}

#pathModal .course-info,
#pathModal .video-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.9rem;
    color: #4b5563;
}

body.dark-mode #pathModal .course-info,
body.dark-mode #pathModal .video-meta {
    color: #a0a0a0;
}

#pathModal .course-info i,
#pathModal .video-meta i {
    color: #3b82f6;
}

body.dark-mode #pathModal .course-info i,
body.dark-mode #pathModal .video-meta i {
    color: #60a5fa;
}

#pathModal .course-price {
    font-weight: 600;
    color: #3b82f6;
    margin: 12px 0 16px;
}

body.dark-mode #pathModal .course-price {
    color: #60a5fa;
}

#pathModal .enroll-btn a,
#pathModal .watch-btn {
    display: inline-block;
    background: #3b82f6;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.2s ease;
}

body.dark-mode #pathModal .enroll-btn a,
body.dark-mode #pathModal .watch-btn {
    background: #60a5fa;
}

#pathModal .enroll-btn a:hover,
#pathModal .watch-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

body.dark-mode #pathModal .enroll-btn a:hover,
body.dark-mode #pathModal .watch-btn:hover {
    background: #3b82f6;
}

#pathModal .video-thumbnail {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
}

#pathModal .video-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

#pathModal .play-overlay-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.65);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

body.dark-mode #pathModal .play-overlay-btn {
    background: rgba(0, 0, 0, 0.75);
}

#pathModal .play-overlay-btn:hover {
    background: rgba(0, 0, 0, 0.85);
}

#pathModal .duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
}

#pathModal .creator-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

#pathModal .creator-avatar {
    background: #dbeafe;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
}

body.dark-mode #pathModal .creator-avatar {
    background: #1e40af;
    color: #60a5fa;
}

#pathModal .video-description {
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.5;
    margin-bottom: 12px;
}

body.dark-mode #pathModal .video-description {
    color: #a0a0a0;
}

/* Jobs list */
#pathModal .jobs-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

#pathModal .job-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.dark-mode #pathModal .job-card {
    background: #2d2d2d;
    border: 1px solid #404040;
}

#pathModal .job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

body.dark-mode #pathModal .job-card:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

#pathModal .job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

#pathModal .job-header h4 {
    margin: 0;
    font-size: 1.25rem;
    color: #1f2937;
    font-weight: 600;
}

body.dark-mode #pathModal .job-header h4 {
    color: #e0e0e0;
}

#pathModal .job-header .company {
    font-size: 0.95rem;
    color: #3b82f6;
    font-weight: 500;
}

body.dark-mode #pathModal .job-header .company {
    color: #60a5fa;
}

#pathModal .job-details {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.9rem;
    color: #4b5563;
    margin-bottom: 16px;
}

body.dark-mode #pathModal .job-details {
    color: #a0a0a0;
}

#pathModal .job-details i {
    color: #3b82f6;
}

body.dark-mode #pathModal .job-details i {
    color: #60a5fa;
}

#pathModal .job-card a {
    display: inline-block;
    background: #3b82f6;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.2s ease;
}

body.dark-mode #pathModal .job-card a {
    background: #60a5fa;
}

#pathModal .job-card a:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

body.dark-mode #pathModal .job-card a:hover {
    background: #3b82f6;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Other containers' dark mode styles */
#logoutModal .custom-modal-content {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

body.dark-mode #logoutModal .custom-modal-content {
    background: #2d2d2d;
    border: 1px solid #404040;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

#logoutModal .custom-modal-header,
#logoutModal .custom-modal-body,
#logoutModal .custom-modal-actions {
    color: #1f2937;
}

body.dark-mode #logoutModal .custom-modal-header,
body.dark-mode #logoutModal .custom-modal-body,
body.dark-mode #logoutModal .custom-modal-actions {
    color: #e0e0e0;
}

#logoutModal .modal-btn {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

body.dark-mode #logoutModal .modal-btn {
    background: #60a5fa;
}

#logoutModal .modal-btn:hover {
    background: #2563eb;
}

body.dark-mode #logoutModal .modal-btn:hover {
    background: #3b82f6;
}

#logoutModal .modal-btn.cancel {
    background: #6b7280;
}

body.dark-mode #logoutModal .modal-btn.cancel {
    background: #4b5563;
}

#logoutModal .modal-btn.cancel:hover {
    background: #4b5563;
}

body.dark-mode #logoutModal .modal-btn.cancel:hover {
    background: #374151;
}

.career-hero {
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: white;
    padding: 60px 20px;
    position: relative;
}

body.dark-mode .career-hero {
    background: linear-gradient(135deg, #1e3a8a, #4c1d95);
}

.career-assessment {
    background: #ffffff;
    padding: 40px 20px;
    border-radius: 10px;
    margin: 20px 0;
}

body.dark-mode .career-assessment {
    background: #2d2d2d;
    border: 1px solid #404040;
}

.career-comparison .comparison-container {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

body.dark-mode .career-comparison .comparison-container {
    background: #2d2d2d;
    border: 1px solid #404040;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.career-comparison .comparison-card,
.career-comparison .comparison-results {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}

body.dark-mode .career-comparison .comparison-card,
body.dark-mode .career-comparison .comparison-results {
    background: #1f1f1f;
    border: 1px solid #404040;
}

.career-comparison .comparison-aspect h3 {
    color: #1f2937;
}

body.dark-mode .career-comparison .comparison-aspect h3 {
    color: #e0e0e0;
}

.career-comparison .comparison-values span {
    color: #4b5563;
}

body.dark-mode .career-comparison .comparison-values span {
    color: #a0a0a0;
}

.career-container {
    background: #f5f7fa;
    padding: 40px 20px;
}

body.dark-mode .career-container {
    background: #1a1a1a;
}

.career-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

body.dark-mode .career-card {
    background: #2d2d2d;
    border: 1px solid #404040;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.career-card h3,
.career-card p {
    color: #1f2937;
}

body.dark-mode .career-card h3,
body.dark-mode .career-card p {
    color: #e0e0e0;
}

.career-card .explore-btn {
    background: #3b82f6;
    color: white;
}

body.dark-mode .career-card .explore-btn {
    background: #60a5fa;
}

.career-card .explore-btn:hover {
    background: #2563eb;
}

body.dark-mode .career-card .explore-btn:hover {
    background: #3b82f6;
}

#allCareersModal .modal-content {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

body.dark-mode #allCareersModal .modal-content {
    background: #2d2d2d;
    border: 1px solid #404040;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

#allCareersModal .modal-header h2,
#allCareersModal .career-category-section h3 {
    color: #1f2937;
}

body.dark-mode #allCareersModal .modal-header h2,
body.dark-mode #allCareersModal .career-category-section h3 {
    color: #e0e0e0;
}

.jobs-section {
    background: #f5f7fa;
    padding: 40px 20px;
}

body.dark-mode .jobs-section {
    background: #1a1a1a;
}

.jobs-header h2,
.jobs-header p {
    color: #1f2937;
}

body.dark-mode .jobs-header h2,
body.dark-mode .jobs-header p {
    color: #e0e0e0;
}

.jobs-sidebar {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

body.dark-mode .jobs-sidebar {
    background: #2d2d2d;
    border: 1px solid #404040;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.jobs-sidebar h3,
.jobs-sidebar .checkbox-label {
    color: #1f2937;
}

body.dark-mode .jobs-sidebar h3,
body.dark-mode .jobs-sidebar .checkbox-label {
    color: #e0e0e0;
}

.jobs-main .job-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #e5e7eb;
}

body.dark-mode .jobs-main .job-card {
    background: #2d2d2d;
    border: 1px solid #404040;
}

.jobs-main .job-card h3,
.jobs-main .job-card .company-name,
.jobs-main .job-card .job-description {
    color: #1f2937;
}

body.dark-mode .jobs-main .job-card h3,
body.dark-mode .jobs-main .job-card .company-name,
body.dark-mode .jobs-main .job-card .job-description {
    color: #e0e0e0;
}

.jobs-main .job-tags span {
    background: #e5e7eb;
    color: #4b5563;
}

body.dark-mode .jobs-main .job-tags span {
    background: #404040;
    color: #a0a0a0;
}

.jobs-main .job-card-footer a {
    background: #3b82f6;
    color: white;
}

body.dark-mode .jobs-main .job-card-footer a {
    background: #60a5fa;
}

.jobs-main .job-card-footer a:hover {
    background: #2563eb;
}

body.dark-mode .jobs-main .job-card-footer a:hover {
    background: #3b82f6;
}

.interview-practice-section {
    background: #ffffff;
    padding: 40px 20px;
    border-radius: 10px;
}

body.dark-mode .interview-practice-section {
    background: #2d2d2d;
    border: 1px solid #404040;
}

.interview-practice-section .section-header h2,
.interview-practice-section .section-header p {
    color: #1f2937;
}

body.dark-mode .interview-practice-section .section-header h2,
body.dark-mode .interview-practice-section .section-header p {
    color: #e0e0e0;
}

.interview-practice-section .video-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
}

body.dark-mode .interview-practice-section .video-card {
    background: #2d2d2d;
    border: 1px solid #404040;
}

.interview-practice-section .video-card h4,
.interview-practice-section .video-info,
.interview-practice-section .creator-info,
.interview-practice-section .video-meta,
.interview-practice-section .video-description {
    color: #1f2937;
}

body.dark-mode .interview-practice-section .video-card h4,
body.dark-mode .interview-practice-section .video-info,
body.dark-mode .interview-practice-section .creator-info,
body.dark-mode .interview-practice-section .video-meta,
body.dark-mode .interview-practice-section .video-description {
    color: #e0e0e0;
}

.interview-practice-section .watch-btn {
    background: #3b82f6;
    color: white;
}

body.dark-mode .interview-practice-section .watch-btn {
    background: #60a5fa;
}

.interview-practice-section .watch-btn:hover {
    background: #2563eb;
}

body.dark-mode .interview-practice-section .watch-btn:hover {
    background: #3b82f6;
}

.promo-banner {
    background: linear-gradient(135deg, #3b82f6, #a855f7);
    color: white;
    padding: 40px 20px;
}

body.dark-mode .promo-banner {
    background: linear-gradient(135deg, #1e40af, #4c1d95);
}

.promo-banner .promo-btn {
    background: #ffffff;
    color: #3b82f6;
}

body.dark-mode .promo-banner .promo-btn {
    background: #2d2d2d;
    color: #60a5fa;
}

.promo-banner .promo-btn:hover {
    background: #e5e7eb;
}

body.dark-mode .promo-banner .promo-btn:hover {
    background: #404040;
}

#videoPlayerModal .video-player-content {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

body.dark-mode #videoPlayerModal .video-player-content {
    background: #2d2d2d;
    border: 1px solid #404040;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

#videoPlayerModal .video-info-container h3,
#videoPlayerModal .video-info-container p {
    color: #1f2937;
}

body.dark-mode #videoPlayerModal .video-info-container h3,
body.dark-mode #videoPlayerModal .video-info-container p {
    color: #e0e0e0;
}

#videoPlayerModal .close-video-btn {
    background: #ef4444;
    color: white;
}

body.dark-mode #videoPlayerModal .close-video-btn {
    background: #b91c1c;
}

#videoPlayerModal .close-video-btn:hover {
    background: #dc2626;
}

body.dark-mode #videoPlayerModal .close-video-btn:hover {
    background: #991b1b;
}

/* Menu dropdown styles */
.menu-dropdown {
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

body.dark-mode .menu-dropdown {
    background: #2d2d2d;
    border: 1px solid #404040;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.menu-dropdown .menu-header h3,
.menu-dropdown .menu-section h4,
.menu-dropdown .menu-section a {
    color: #1f2937;
}

body.dark-mode .menu-dropdown .menu-header h3,
body.dark-mode .menu-dropdown .menu-section h4,
body.dark-mode .menu-dropdown .menu-section a {
    color: #e0e0e0;
}

.menu-dropdown .menu-tag {
    background: #e5e7eb;
    color: #4b5563;
}

body.dark-mode .menu-dropdown .menu-tag {
    background: #404040;
    color: #a0a0a0;
}

/* Notification dropdown styles */
.notification-dropdown {
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

body.dark-mode .notification-dropdown {
    background: #2d2d2d;
    border: 1px solid #404040;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.notification-dropdown .notification-header h3,
.notification-dropdown .notification-title,
.notification-dropdown .notification-content {
    color: #1f2937;
}

body.dark-mode .notification-dropdown .notification-header h3,
body.dark-mode .notification-dropdown .notification-title,
body.dark-mode .notification-dropdown .notification-content {
    color: #e0e0e0;
}

.notification-dropdown .notification-item.unread {
    background: #f9fafb;
}

body.dark-mode .notification-dropdown .notification-item.unread {
    background: #3f3f3f;
}

.notification-dropdown .filter-btn {
    background: #e5e7eb;
    color: #4b5563;
}

body.dark-mode .notification-dropdown .filter-btn {
    background: #404040;
    color: #a0a0a0;
}

.notification-dropdown .filter-btn.active {
    background: #3b82f6;
    color: white;
}

body.dark-mode .notification-dropdown .filter-btn.active {
    background: #60a5fa;
}

/* Profile dropdown styles */
.profile-dropdown .profile-menu {
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

body.dark-mode .profile-dropdown .profile-menu {
    background: #2d2d2d;
    border: 1px solid #404040;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.profile-dropdown .profile-header,
.profile-dropdown .profile-info,
.profile-dropdown .profile-link {
    color: #1f2937;
}

body.dark-mode .profile-dropdown .profile-header,
body.dark-mode .profile-dropdown .profile-info,
body.dark-mode .profile-dropdown .profile-link {
    color: #e0e0e0;
}

.profile-dropdown .logout-btn {
    background: #ef4444;
    color: white;
}

body.dark-mode .profile-dropdown .logout-btn {
    background: #b91c1c;
}

.profile-dropdown .logout-btn:hover {
    background: #dc2626;
}

body.dark-mode .profile-dropdown .logout-btn:hover {
    background: #991b1b;
}

/* Loading overlay */
.loading-overlay {
    background: rgba(255, 255, 255, 0.95);
}

body.dark-mode .loading-overlay {
    background: rgba(0, 0, 0, 0.85);
}

.loading-overlay .loading-text {
    color: #1f2937;
}

body.dark-mode .loading-overlay .loading-text {
    color: #e0e0e0;
}

.g-logo .g-path {
    stroke: #6C63FF;
}

body.dark-mode .g-logo .g-path {
    stroke: #93c5fd;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #pathModal .modal-content {
        width: 95%;
        padding: 16px;
        max-height: 90vh;
    }

    #pathModal .path-header h2 {
        font-size: 1.5rem;
    }

    #pathModal .tab-buttons {
        gap: 8px;
    }

    #pathModal .tab-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    #pathModal .courses-grid,
    #pathModal .videos-grid {
        grid-template-columns: 1fr;
    }

    #pathModal .timeline-item {
        padding-left: 36px;
    }

    #pathModal .timeline-marker {
        width: 24px;
        height: 24px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    #pathModal .modal-content {
        padding: 12px;
    }

    #pathModal .path-header h2 {
        font-size: 1.3rem;
    }

    #pathModal .path-meta {
        flex-direction: column;
        gap: 10px;
    }

    #pathModal .close-btn {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }

    #pathModal .tab-btn {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    #pathModal .course-card,
    #pathModal .video-card,
    #pathModal .job-card {
        padding: 16px;
    }
}



.dark-mode .career-comparison, .dark-mode .top-careers-section{
  background: var(--background-dark);
  color: var(--text-dark);
}

.dark-mode .comparison-container h2, .dark-mode .career-header h1, .dark-mode .top-careers-section h2 {
  color: var(--text-dark);
}




/* Career Hero Section */
.career-hero {
    position: relative;
    padding: calc(6rem + 70px) 5% 6rem 5%; /* Add top padding for header (header is ~70px) */
    background: linear-gradient(135deg, #1a365d 0%, #efeff1 100%);
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
}

.hero-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    animation: fadeInUp 1s ease;
}

.hero-content .highlight {
    color: var(--primary-color);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    line-height: 1.2;
    animation: fadeInUp 1s ease 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--secondary-color);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.search-container {
    max-width: 600px;
    margin: 0 auto 3rem;
    position: relative;
    animation: fadeInUp 1s ease 0.6s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.search-container input {
    width: 100%;
    padding: 1.2rem 1.5rem;
    padding-right: 160px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    font-size: 1.1rem;
    transition: var(--transition);
}

.search-container input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(74, 108, 247, 0.1);
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-btn:hover {
    background: #3a5bd9;
    transform: translateY(-50%) translateX(-2px);
}

.stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    animation: fadeInUp 1s ease 0.8s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-item p {
    font-size: 1rem;
    color: var(--secondary-color);
    font-weight: 500;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .stats {
        flex-wrap: wrap;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .career-hero {
        padding: calc(3.5rem + 70px) 2% 2.5rem 2%;
        min-height: 70vh;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .search-container input {
        padding-right: 120px;
    }

    .search-btn {
        padding: 0.8rem 1rem;
    }

    .stats {
        gap: 1.5rem;
    }

    .stat-item h3 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .search-container input {
        padding: 1rem;
        padding-right: 100px;
    }

    .search-btn {
        padding: 0.6rem 0.8rem;
    }

    .stat-item {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .career-hero {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 3rem;
        padding: 5rem 5%;
        min-height: 70vh;
        text-align: left;
        position: relative;
        overflow: hidden;
        background: linear-gradient(135deg, #f5f7ff 0%, #e8eeff 100%);
    }

    .career-hero .hero-content {
        flex: 1 1 0;
        max-width: 600px;
        text-align: left;
        align-items: flex-start;
        margin: 0;
        position: relative;
        z-index: 2;
        animation: fadeInUp 0.8s ease-out;
    }

    .career-hero .search-container {
        margin: 0 0 0 2rem;
        max-width: 400px;
        flex: 1 1 0;
        align-self: flex-start;
        position: relative;
        z-index: 2;
        animation: fadeInRight 0.8s ease-out 0.3s backwards;
    }
}

/* Dark mode for hero section */
.dark-mode .career-hero {
    background: linear-gradient(135deg, #181c2c 0%, #23294a 100%) !important;
}

.dark-mode .career-hero::before,
.dark-mode .career-hero::after {
    background: rgba(99, 102, 241, 0.1);
}

.dark-mode .hero-content h1 {
    background: linear-gradient(to right, #a5b4fc, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-mode .hero-description {
    color: #cbd5e1 !important;
}


/* Careers Grid Container */
.career-categories-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.career-category-section {
    width: 100%;
}

.careers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
    box-sizing: border-box;
}

/* Responsive adjustments for screens above 500px */
@media (min-width: 500px) {
    .careers-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 2rem;
        padding: 1.5rem;
    }
}

/* Further adjustments for larger screens */
@media (min-width: 700px) {
    .careers-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 2.5rem;
        padding: 2rem;
    }
}

@media (min-width: 992px) {
    .careers-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 3rem;
        padding: 2.5rem;
    }
}

/* Ensure modal content doesn't overflow */
.modal-content {
    max-width: 1200px;
    width: 100%;
    box-sizing: border-box;
}


/* Dark theme styles */
body.dark-mode .comparison-results-grid {
    background-color: --dark-color ;
}

body.dark-mode .comparison-aspect {
    background-color: --dark-color;
}

body.dark-mode .comparison-values span {
    color: cornsilk;
}

/* Responsive adjustments for medium screens */
@media (min-width: 768px) {
    .comparison-results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        padding: 1.5rem;
    }

    .comparison-values {
        gap: 1.5rem;
    }
}

/* Adjustments for large screens */
@media (min-width: 992px) {
    .comparison-results-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
        padding: 2rem;
        max-width: 1200px;
        margin: 0 auto;
    }

    .comparison-values {
        gap: 2rem;
    }
}

/* Ensure container doesn't overflow */
.comparison-results {
    width: 100%;
    box-sizing: border-box;
}

/* Dark theme responsive adjustments (if needed) */
@media (min-width: 768px) {
    body.dark-mode .comparison-results-grid {
        background-color: --dark-color;
    }
}

@media (min-width: 992px) {
    body.dark-mode .comparison-results-grid {
        background-color: --dark-color;
    }
}


.dark-mode .comparison-aspect{
  background-color: black;
}


.jobs-main-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0.1rem;
}

@media (min-width: 768px) {
    .jobs-main-content {
        padding: 1.5rem;
    }
}

@media (min-width: 992px) {
    .jobs-main-content {
        padding: 2rem;
    }
}

.jobs-container {
    width: 100%;
    box-sizing: border-box;
}

.close-sidebar-btn {
    display: block;
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
    cursor: pointer;
    z-index: 1000;
    background: none;
    border: none;
    padding: 0;
    box-sizing: border-box;
}

.close-sidebar-btn::before,
.close-sidebar-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 1.5rem;
    transform: translate(-50%, -50%) rotate(45deg);
}

.close-sidebar-btn::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* Ensure sidebar is clickable and button is accessible */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100%;
    transition: transform 0.3s ease;
    z-index: 999;
    overflow-y: auto;
}

.sidebar.open {
    transform: translateX(0);
}

.sidebar.closed {
    transform: translateX(-100%);
}

/* Ensure button works when sidebar is open */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .close-sidebar-btn {
        display: block;
    }
}

/* Jobs Main Content Layout Fixes */
.jobs-main-content {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

/* Below 600px - Stack layout */
@media (max-width: 600px) {
    .jobs-main-content {
        display: flex;
        flex-direction: column;
    }
    
    .jobs-sidebar {
        width: 100%;
        order: -1;
    }
    
    .jobs-main {
        width: 100%;
        margin-left: 0;
    }
}

/* Above 600px - Side by side layout */
@media (min-width: 601px) {
    .jobs-main-content {
        display: flex;
        flex-direction: row;
        gap: 20px;
        align-items: flex-start;
    }
    
    .jobs-sidebar {
        width: 280px;
        min-width: 280px;
        flex-shrink: 0;
        position: sticky;
        top: 100px;
        height: fit-content;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
    }
    
    .jobs-main {
        flex: 1;
        width: calc(100% - 300px);
        min-width: 0;
        margin-left: 0;
    }
    
    .jobs-sidebar-overlay {
        display: none;
    }
}

/* Tablet specific adjustments */
@media (min-width: 601px) and (max-width: 1024px) {
    .jobs-main-content {
        gap: 15px;
    }
    
    .jobs-sidebar {
        width: 250px;
        min-width: 250px;
    }
    
    .jobs-main {
        width: calc(100% - 265px);
    }
}

/* Large screens - better spacing */
@media (min-width: 1025px) {
    .jobs-main-content {
        gap: 30px;
    }
    
    .jobs-sidebar {
        width: 320px;
        min-width: 320px;
    }
    
    .jobs-main {
        width: calc(100% - 350px);
    }
}

/* Jobs Listing Area */
.jobs-listing-area {
    width: 100%;
    min-height: 400px;
}

/* Jobs Grid */
.jobs-grid {
    display: grid;
    gap: 20px;
    width: 100%;
}

@media (min-width: 601px) {
    .jobs-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 900px) {
    .jobs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1400px) {
    .jobs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Jobs Pagination */
.jobs-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    width: 100%;
}

/* Fix for mobile sidebar behavior */
@media (max-width: 768px) {
    .jobs-sidebar.active {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        z-index: 1000;
        transform: translateX(0);
    }
    
    .jobs-sidebar:not(.active) {
        transform: translateX(-100%);
        position: fixed;
        left: 0;
        top: 0;
    }
    
    .jobs-sidebar-overlay.active {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
        display: block;
    }
}

/* Container max-width management */
.jobs-section .container,
.jobs-main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 1440px) {
    .jobs-section .container,
    .jobs-main-content {
        max-width: 1600px;
        padding: 0 40px;
    }
}

/* Ensure no overflow issues */
.jobs-main-content * {
    box-sizing: border-box;
}
body{
  background: var(--background-light);
}


.dark-mode body{
  background: var(--background-dark);
}