:root {
  --primary-color: #f15a22;
  --secondary-color: #00ffff;
  --accent-blue: #00ccff;
}

/* Program Comparison Styles */

.comparison-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 0 50px;
  background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
  overflow: hidden;
}

.comparison-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 30%, rgba(241, 90, 34, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0, 204, 255, 0.1) 0%, transparent 50%);
  z-index: 0;
}

.comparison-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.comparison-hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.2;
  background: linear-gradient(90deg, var(--light-text) 0%, var(--primary-color) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  font-weight: 700;
}

.comparison-hero-description {
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--border-radius);
  padding: 20px 25px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.light-theme .comparison-hero-description {
  background: rgba(241, 90, 34, 0.1);
}

.comparison-hero-description p {
  color: var(--gray-text);
  font-size: 18px;
  line-height: 1.7;
}

.program-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

/* Comparison Section Styles */
.comparison-section {
  padding: 100px 0;
  position: relative;
}

.comparison-section.alt-bg {
  background-color: var(--darker-bg);
}

.light-theme .comparison-section.alt-bg {
  background-color: var(--lighter-bg);
}

.comparison-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 40px;
}

.comparison-header {
  display: flex;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  overflow: hidden;
}

.comparison-column {
  padding: 15px 20px;
  flex: 1;
}

.cs-column {
  background: rgba(241, 90, 34, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.light-theme .cs-column {
  background: rgba(241, 90, 34, 0.05);
  border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.it-column {
  background: rgba(0, 204, 255, 0.05);
  border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.light-theme .it-column {
  background: rgba(0, 204, 255, 0.05);
  border-left: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-column {
  background: rgba(30, 30, 30, 0.6);
  text-align: center;
  max-width: 200px;
}

.light-theme .feature-column {
  background: rgba(255, 255, 255, 0.8);
}

.comparison-row {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.light-theme .comparison-row {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.comparison-column h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--light-text);
}

.comparison-column p {
  color: var(--gray-text);
  font-size: 15px;
  line-height: 1.6;
}

/* Tabs Styles */
.comparison-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.comparison-tab {
  padding: 12px 25px;
  background: rgba(30, 30, 30, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  color: var(--light-text);
}

.light-theme .comparison-tab {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--dark-text);
}

.comparison-tab:hover {
  background: rgba(241, 90, 34, 0.2);
  transform: translateY(-3px);
}

.comparison-tab.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.comparison-tab-content {
  display: none;
}

.comparison-tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease forwards;
}

/* Table Styles */
.comparison-table-container {
  overflow-x: auto;
  margin-bottom: 30px;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th {
  background-color: rgba(241, 90, 34, 0.2);
  color: var(--light-text);
  text-align: left;
  padding: 15px 20px;
  font-size: 16px;
  font-weight: 600;
}

.light-theme .comparison-table th {
  background-color: rgba(241, 90, 34, 0.1);
  color: var(--dark-text);
}

.comparison-table td {
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--gray-text);
  font-size: 15px;
  vertical-align: top;
}

.light-theme .comparison-table td {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.similarity-badge,
.difference-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

.similarity-badge {
  background-color: rgba(0, 255, 0, 0.1);
  color: #4caf50;
  border: 1px solid rgba(0, 255, 0, 0.2);
}

.difference-badge {
  background-color: rgba(255, 0, 0, 0.1);
  color: #f44336;
  border: 1px solid rgba(255, 0, 0, 0.2);
}

.light-theme .similarity-badge {
  background-color: rgba(0, 255, 0, 0.05);
  color: #2e7d32;
}

.light-theme .difference-badge {
  background-color: rgba(255, 0, 0, 0.05);
  color: #c62828;
}

.comparison-note {
  font-style: italic;
  color: var(--gray-text);
  margin-top: 15px;
  font-size: 14px;
  text-align: center;
}

/* Year Comparison Styles */
.year-comparison {
  margin-bottom: 40px;
}

.year-comparison h4 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--primary-color);
  text-align: center;
}

/* Unique Courses Styles */
.unique-courses-container {
  display: flex;
  gap: 30px;
  margin-top: 30px;
}

.unique-course-column {
  flex: 1;
  background: rgba(30, 30, 30, 0.4);
  border-radius: var(--border-radius);
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.light-theme .unique-course-column {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.unique-course-column:first-child {
  border-left: 4px solid var(--primary-color);
}

.unique-course-column:last-child {
  border-left: 4px solid var(--accent-blue);
}

.unique-course-column h4 {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--light-text);
  text-align: center;
}

.unique-course-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.unique-course-list li {
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.light-theme .unique-course-list li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.unique-course-list li:last-child {
  border-bottom: none;
}

.course-code {
  display: inline-block;
  font-family: "Orbitron", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.course-title {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--light-text);
  margin-bottom: 5px;
}

.unique-course-list li p {
  color: var(--gray-text);
  font-size: 14px;
  line-height: 1.5;
}

/* Career Comparison Styles */
.career-comparison-container {
  display: flex;
  gap: 30px;
  margin-top: 40px;
}

.career-comparison-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.career-comparison-column h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: var(--light-text);
  text-align: center;
  position: relative;
  padding-bottom: 10px;
}

.career-comparison-column h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
}

.it-careers h3::after {
  background-color: var(--accent-blue);
}

.career-comparison-item {
  background: rgba(30, 30, 30, 0.4);
  border-radius: var(--border-radius);
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.light-theme .career-comparison-item {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.cs-careers .career-comparison-item {
  border-left: 3px solid var(--primary-color);
}

.it-careers .career-comparison-item {
  border-left: 3px solid var(--accent-blue);
}

.career-comparison-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.light-theme .career-comparison-item:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.career-icon {
  font-size: 28px;
  margin-bottom: 15px;
}

.career-comparison-item h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--light-text);
}

.career-comparison-item p {
  color: var(--gray-text);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.salary-range {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
  padding: 6px 12px;
  background: rgba(241, 90, 34, 0.1);
  border-radius: 20px;
  display: inline-block;
}

/* Career Overlap Styles */
.career-overlap {
  margin-top: 60px;
}

.career-overlap h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--light-text);
  text-align: center;
}

.career-overlap > p {
  color: var(--gray-text);
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px;
}

.overlap-careers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.overlap-career-item {
  background: rgba(30, 30, 30, 0.4);
  border-radius: var(--border-radius);
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 3px solid var(--primary-color);
  border-bottom: 3px solid var(--accent-blue);
}

.light-theme .overlap-career-item {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-top: 3px solid var(--primary-color);
  border-bottom: 3px solid var(--accent-blue);
}

.overlap-career-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.light-theme .overlap-career-item:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.approach-difference {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cs-approach,
.it-approach {
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 4px;
}

.cs-approach {
  background: rgba(241, 90, 34, 0.1);
  color: var(--primary-color);
}

.it-approach {
  background: rgba(0, 204, 255, 0.1);
  color: var(--accent-blue);
}

.light-theme .cs-approach {
  background: rgba(241, 90, 34, 0.05);
}

.light-theme .it-approach {
  background: rgba(0, 204, 255, 0.05);
}

/* Skills Comparison Styles */
.skills-comparison-container {
  display: flex;
  gap: 30px;
  margin-top: 40px;
}

.skills-column {
  flex: 1;
  background: rgba(30, 30, 30, 0.4);
  border-radius: var(--border-radius);
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.light-theme .skills-column {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.skills-column:first-child {
  border-left: 4px solid var(--primary-color);
}

.skills-column:last-child {
  border-left: 4px solid var(--accent-blue);
}

.skills-column h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--light-text);
  text-align: center;
}

.skills-category {
  margin-bottom: 25px;
}

.skills-category h4 {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--light-text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 8px;
}

.light-theme .skills-category h4 {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.skills-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skills-list li {
  display: flex;
  align-items: center;
  color: var(--gray-text);
  font-size: 15px;
}

.skill-level {
  display: inline-block;
  width: 60px;
  text-align: center;
  padding: 3px 0;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  margin-right: 10px;
}

.skill-level.high {
  background-color: rgba(0, 255, 0, 0.1);
  color: #4caf50;
  border: 1px solid rgba(0, 255, 0, 0.2);
}

.skill-level.medium {
  background-color: rgba(255, 165, 0, 0.1);
  color: #ff9800;
  border: 1px solid rgba(255, 165, 0, 0.2);
}

.skill-level.low {
  background-color: rgba(255, 0, 0, 0.1);
  color: #f44336;
  border: 1px solid rgba(255, 0, 0, 0.2);
}

.light-theme .skill-level.high {
  background-color: rgba(0, 255, 0, 0.05);
  color: #2e7d32;
}

.light-theme .skill-level.medium {
  background-color: rgba(255, 165, 0, 0.05);
  color: #e65100;
}

.light-theme .skill-level.low {
  background-color: rgba(255, 0, 0, 0.05);
  color: #c62828;
}

/* Program Quiz Styles */
.program-quiz-container {
  max-width: 800px;
  margin: 40px auto 0;
  background: rgba(30, 30, 30, 0.4);
  border-radius: var(--border-radius);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.light-theme .program-quiz-container {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.program-quiz-intro {
  text-align: center;
  margin-bottom: 30px;
}

.program-quiz-intro p {
  color: var(--gray-text);
  font-size: 16px;
  line-height: 1.6;
}

.quiz-questions {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 30px;
}

.quiz-question h4 {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--light-text);
}

.quiz-options {
  display: flex;
  gap: 20px;
}

.quiz-option {
  flex: 1;
  padding: 15px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.light-theme .quiz-option {
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.cs-option {
  background: rgba(241, 90, 34, 0.05);
}

.it-option {
  background: rgba(0, 204, 255, 0.05);
}

.option-label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--light-text);
  font-weight: 600;
  font-size: 14px;
}

.light-theme .option-label {
  background: rgba(0, 0, 0, 0.1);
  color: var(--dark-text);
}

.quiz-option p {
  color: var(--gray-text);
  font-size: 15px;
  line-height: 1.5;
}

.quiz-results {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 20px;
  margin-bottom: 30px;
  border-left: 3px solid var(--primary-color);
}

.light-theme .quiz-results {
  background: rgba(0, 0, 0, 0.03);
}

.quiz-results p {
  color: var(--gray-text);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.quiz-results p:last-child {
  margin-bottom: 0;
}

.program-recommendation {
  text-align: center;
  margin-top: 30px;
}

.program-recommendation h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--light-text);
}

.program-recommendation p {
  color: var(--gray-text);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .comparison-hero-content h1 {
    font-size: 42px;
  }

  .comparison-column h3 {
    font-size: 18px;
  }

  .comparison-column p {
    font-size: 14px;
  }

  .career-comparison-container,
  .skills-comparison-container,
  .unique-courses-container {
    flex-direction: column;
  }

  .career-comparison-column h3 {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .comparison-hero-content h1 {
    font-size: 36px;
  }

  .comparison-hero-description p {
    font-size: 16px;
  }

  .program-links {
    flex-direction: column;
    gap: 15px;
  }

  .comparison-row {
    flex-direction: column;
  }

  .comparison-column {
    border-right: none;
    border-left: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .light-theme .comparison-column {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .comparison-column:last-child {
    border-bottom: none;
  }

  .feature-column {
    max-width: 100%;
    background: rgba(241, 90, 34, 0.1);
  }

  .light-theme .feature-column {
    background: rgba(241, 90, 34, 0.05);
  }

  .comparison-tab {
    padding: 10px 15px;
    font-size: 14px;
  }

  .quiz-options {
    flex-direction: column;
  }

  .overlap-careers-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .comparison-hero-content h1 {
    font-size: 30px;
  }

  .comparison-hero-description {
    padding: 15px;
  }

  .comparison-hero-description p {
    font-size: 14px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 10px 15px;
    font-size: 13px;
  }

  .career-comparison-item h4 {
    font-size: 16px;
  }

  .program-quiz-container {
    padding: 20px 15px;
  }

  .quiz-question h4 {
    font-size: 16px;
  }
}

