/* =========================
   Change Major Page Styles
   Professional Computer-Themed Design
   Modern UI with Advanced Animations
========================= */

/* =========================
   Hero Section (matches majors.html)
========================= */
.change-major-hero {
  position: relative;
  min-height: 70vh;
  padding: 72px 0 100px;
  color: var(--color-text);
  overflow: hidden;
}

.change-major-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  background:
    radial-gradient(
      circle at 10% 10%,
      rgba(37, 99, 235, 0.14),
      transparent 42%
    ),
    radial-gradient(
      circle at 90% 30%,
      rgba(6, 182, 212, 0.12),
      transparent 42%
    ),
    radial-gradient(
      circle at 50% 100%,
      rgba(124, 58, 237, 0.1),
      transparent 45%
    ),
    linear-gradient(
      135deg,
      var(--color-background) 0%,
      var(--color-surface-alt) 52%,
      var(--color-surface) 100%
    );
}

.change-major-tech-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.5;
}

.change-major-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}

.change-major-glow--1 {
  width: 400px;
  height: 400px;
  background: rgba(37, 99, 235, 0.3);
  top: 10%;
  left: 5%;
}

.change-major-glow--2 {
  width: 350px;
  height: 350px;
  background: rgba(6, 182, 212, 0.3);
  top: 50%;
  right: 10%;
}

.change-major-glow--3 {
  width: 300px;
  height: 300px;
  background: rgba(124, 58, 237, 0.3);
  bottom: 10%;
  left: 30%;
}

.change-major-scanline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    transparent 50%,
    rgba(0, 0, 0, 0.02) 50%
  );
  background-size: 100% 4px;
  pointer-events: none;
}

.change-major-circuit-lines {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(90deg, rgba(37, 99, 235, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(37, 99, 235, 0.05) 1px, transparent 1px);
  background-size: 100px 100px;
  opacity: 0.3;
  animation: circuitMove 20s linear infinite;
}

@keyframes circuitMove {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 100px 100px;
  }
}

.change-major-hero .container {
  position: relative;
  z-index: 2;
}

.change-major-hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.change-major-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: white;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.change-major-hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--color-text-heading);
  line-height: 1.3;
}

.change-major-hero-content h1 span {
  color: var(--color-primary);
}

.change-major-hero-content p {
  font-size: 1.2rem;
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 32px;
}

.change-major-hero-banner {
  margin: 32px 0;
  display: flex;
  justify-content: center;
}

.hero-banner-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border: 2px solid var(--color-border);
}

.change-major-hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================
   Terminal Window Styles
========================= */
.final-terminal-window {
  background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-surface-alt) 100%);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(37, 99, 235, 0.3);
  margin-bottom: 32px;
  animation: terminalFloat 3s ease-in-out infinite;
}

@keyframes terminalFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.terminal-header {
  background: rgba(37, 99, 235, 0.05);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(37, 99, 235, 0.2);
}

.terminal-buttons {
  display: flex;
  gap: 8px;
}

.terminal-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.terminal-btn--close {
  background: #ef4444;
}

.terminal-btn--minimize {
  background: #f59e0b;
}

.terminal-btn--maximize {
  background: #22c55e;
}

.terminal-title {
  color: #94a3b8;
  font-size: 0.85rem;
  font-family: 'Courier New', monospace;
  flex: 1;
  text-align: center;
}

.terminal-body {
  padding: 20px;
  font-family: 'Courier New', monospace;
}

.terminal-line {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--color-text);
  font-size: 0.9rem;
  animation: typeLine 0.5s ease-out forwards;
  opacity: 0;
}

.terminal-line:nth-child(1) {
  animation-delay: 0.2s;
}

.terminal-line:nth-child(2) {
  animation-delay: 0.8s;
}

.terminal-line:nth-child(3) {
  animation-delay: 1.4s;
}

@keyframes typeLine {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.terminal-prompt {
  color: #22c55e;
  font-weight: 600;
}

.terminal-text {
  color: var(--color-text);
}

.terminal-line--success .terminal-text {
  color: #22c55e;
  font-weight: 600;
}

/* =========================
   Banner Frame Styles
========================= */
.banner-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(37, 99, 235, 0.3);
}

.banner-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(37, 99, 235, 0.6);
}

.banner-corner--tl {
  top: 10px;
  left: 10px;
  border-right: none;
  border-bottom: none;
}

.banner-corner--tr {
  top: 10px;
  right: 10px;
  border-left: none;
  border-bottom: none;
}

.banner-corner--bl {
  bottom: 10px;
  left: 10px;
  border-right: none;
  border-top: none;
}

.banner-corner--br {
  bottom: 10px;
  right: 10px;
  border-left: none;
  border-top: none;
}

.scan-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.scan-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.6), transparent);
  animation: scanMove 3s linear infinite;
}

@keyframes scanMove {
  0% {
    top: 0;
  }
  100% {
    top: 100%;
  }
}

/* =========================
   Introduction Section
========================= */
.change-major-intro {
  padding: 60px 0;
  margin-bottom: 60px;
}

.intro-card {
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-surface-alt) 100%);
  border: 2px solid rgba(37, 99, 235, 0.3);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  animation: cardGlow 3s ease-in-out infinite;
}

@keyframes cardGlow {
  0%, 100% {
    box-shadow: var(--shadow-md), 0 0 20px rgba(37, 99, 235, 0.1);
  }
  50% {
    box-shadow: var(--shadow-md), 0 0 40px rgba(37, 99, 235, 0.2);
  }
}

.intro-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 32px;
  background: rgba(37, 99, 235, 0.05);
  border-bottom: 1px solid rgba(37, 99, 235, 0.2);
}

.intro-card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
  animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.intro-card-title {
  flex: 1;
}

.card-label {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(37, 99, 235, 0.2);
  color: #60a5fa;
  font-size: 0.75rem;
  font-family: 'Courier New', monospace;
  border-radius: 4px;
  margin-bottom: 8px;
  border: 1px solid rgba(37, 99, 235, 0.3);
}

.intro-card-title h2 {
  color: var(--color-text-heading);
  margin: 0;
  font-size: 1.6rem;
}

.intro-card-body {
  padding: 32px;
}

.info-box {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  padding: 24px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.info-box:hover {
  background: rgba(37, 99, 235, 0.15);
  border-color: rgba(37, 99, 235, 0.4);
  transform: translateX(8px);
}

.info-box:last-child {
  margin-bottom: 0;
}

.info-box-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: white;
}

.info-box-content h3 {
  color: var(--color-text-heading);
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.info-box-content p {
  color: var(--color-text);
  line-height: 1.7;
  margin: 0;
}

.intro-card-footer {
  padding: 16px 32px;
  background: rgba(37, 99, 235, 0.05);
  border-top: 1px solid rgba(37, 99, 235, 0.2);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 10px #22c55e;
  }
  50% {
    opacity: 0.5;
    box-shadow: 0 0 5px #22c55e;
  }
}

.status-text {
  color: #22c55e;
  font-size: 0.85rem;
  font-family: 'Courier New', monospace;
}

/* =========================
   Why Change Section
========================= */
.change-major-why {
  padding: 60px 0;
  background: linear-gradient(180deg, var(--color-background) 0%, var(--color-surface-alt) 100%);
  margin-bottom: 60px;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(37, 99, 235, 0.2);
  color: #60a5fa;
  border: 1px solid rgba(37, 99, 235, 0.4);
  border-radius: 8px;
  font-size: 0.85rem;
  font-family: 'Courier New', monospace;
  margin-bottom: 16px;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% {
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.5);
  }
}

.section-header h2 {
  font-size: 2rem;
  color: var(--color-text-heading);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

.why-banner {
  margin-bottom: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.why-banner-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  object-fit: contain;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.reason-card {
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-surface-alt) 100%);
  border: 2px solid rgba(37, 99, 235, 0.2);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.reason-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.reason-card:hover::before {
  transform: scaleX(1);
}

.reason-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(37, 99, 235, 0.2);
}

.reason-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: rgba(37, 99, 235, 0.05);
  border-bottom: 1px solid rgba(37, 99, 235, 0.2);
}

.reason-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(124, 58, 237, 0.2) 100%);
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #60a5fa;
  transition: all 0.3s ease;
}

.reason-card:hover .reason-icon {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: white;
  transform: rotate(-10deg) scale(1.1);
  border-color: transparent;
}

.reason-number {
  font-family: 'Courier New', monospace;
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(37, 99, 235, 0.5);
  transition: all 0.3s ease;
}

.reason-card:hover .reason-number {
  color: var(--color-primary);
  text-shadow: 0 0 20px rgba(37, 99, 235, 0.5);
}

.reason-card-body {
  padding: 24px;
}

.reason-card h3 {
  color: var(--color-text-heading);
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.reason-card p {
  color: var(--color-text);
  line-height: 1.7;
  margin: 0;
}

.reason-card-footer {
  padding: 16px 24px;
  background: rgba(37, 99, 235, 0.05);
  border-top: 1px solid rgba(37, 99, 235, 0.2);
}

.tech-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(37, 99, 235, 0.15);
  color: #60a5fa;
  font-size: 0.7rem;
  font-family: 'Courier New', monospace;
  border-radius: 4px;
  border: 1px solid rgba(37, 99, 235, 0.3);
  letter-spacing: 1px;
}

.important-note {
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-surface-alt) 100%);
  border: 2px solid rgba(245, 158, 11, 0.3);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.note-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 32px;
  background: rgba(245, 158, 11, 0.05);
  border-bottom: 1px solid rgba(245, 158, 11, 0.2);
}

.note-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  animation: starPulse 2s ease-in-out infinite;
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
}

@keyframes starPulse {
  0%, 100% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.1) rotate(5deg);
  }
}

.note-title {
  flex: 1;
}

.note-label {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  font-size: 0.75rem;
  font-family: 'Courier New', monospace;
  border-radius: 4px;
  margin-bottom: 8px;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.note-title h3 {
  color: #d97706;
  margin: 0;
  font-size: 1.4rem;
}

.note-body {
  padding: 32px;
}

.note-body p {
  color: var(--color-text);
  line-height: 1.8;
  margin: 0;
}

.note-footer {
  padding: 16px 32px;
  background: rgba(245, 158, 11, 0.05);
  border-top: 1px solid rgba(245, 158, 11, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.progress-bar {
  flex: 1;
  height: 8px;
  background: rgba(245, 158, 11, 0.2);
  border-radius: 4px;
  overflow: hidden;
  margin-left: 16px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #f59e0b, #d97706);
  border-radius: 4px;
  animation: progressLoad 2s ease-out forwards;
  width: 0;
}

@keyframes progressLoad {
  to {
    width: 100%;
  }
}

.progress-text {
  color: #d97706;
  font-size: 0.85rem;
  font-family: 'Courier New', monospace;
}

/* =========================
   Practical Steps Section
========================= */
.change-major-steps {
  padding: 60px 0;
  background: linear-gradient(180deg, var(--color-surface-alt) 0%, var(--color-background) 100%);
  margin-bottom: 60px;
}

.steps-banner {
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.steps-banner-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  object-fit: contain;
}

.steps-intro {
  margin-bottom: 40px;
}

.steps-intro-card {
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-surface-alt) 100%);
  border: 2px solid rgba(37, 99, 235, 0.3);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.steps-intro-card .intro-card-header {
  background: rgba(37, 99, 235, 0.05);
}

.steps-intro-card .intro-icon {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
}

.steps-intro-card .intro-title h3 {
  color: #d97706;
}

.steps-intro-card p {
  color: var(--color-text);
  line-height: 1.8;
  margin: 0;
}

.steps-timeline {
  position: relative;
  padding-right: 60px;
}

.steps-timeline::before {
  content: '';
  position: absolute;
  right: 29px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.3);
}

.step-item {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  position: relative;
}

.step-item:last-child {
  margin-bottom: 0;
}

.step-connector {
  position: absolute;
  right: 29px;
  top: 40px;
  bottom: -32px;
  width: 2px;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.5) 0%, transparent 100%);
}

.step-item:last-child .step-connector {
  display: none;
}

.step-number {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-surface-alt) 100%);
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1.2rem;
  font-family: 'Courier New', monospace;
  position: absolute;
  right: 0;
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
  z-index: 1;
  transition: all 0.3s ease;
}

.step-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.3);
  animation: pulseRing 2s ease-out infinite;
}

@keyframes pulseRing {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

.step-item:hover .step-number {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: white;
  transform: scale(1.1);
}

.step-content {
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-surface-alt) 100%);
  border: 2px solid rgba(37, 99, 235, 0.2);
  border-radius: 16px;
  padding: 24px;
  flex: 1;
  margin-right: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.step-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.step-content:hover::before {
  transform: scaleX(1);
}

.step-content:hover {
  transform: translateX(-12px) scale(1.02);
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(37, 99, 235, 0.2);
}

.step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(37, 99, 235, 0.2);
}

.step-content h3 {
  color: var(--color-text-heading);
  margin: 0;
  font-size: 1.3rem;
}

.step-status {
  padding: 4px 12px;
  background: rgba(37, 99, 235, 0.2);
  color: #60a5fa;
  font-size: 0.7rem;
  font-family: 'Courier New', monospace;
  border-radius: 4px;
  border: 1px solid rgba(37, 99, 235, 0.3);
  letter-spacing: 1px;
}

.step-content p {
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 16px;
}

.step-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(37, 99, 235, 0.1);
  color: #60a5fa;
  font-size: 0.75rem;
  font-family: 'Courier New', monospace;
  border-radius: 6px;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

/* =========================
   Exam Subjects Section
========================= */
.change-major-exams {
  padding: 60px 0;
  background: linear-gradient(180deg, var(--color-surface-alt) 0%, var(--color-background) 100%);
  margin-bottom: 60px;
}

.exams-banner {
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.exams-banner-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  object-fit: contain;
}

.subjects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.subject-card {
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-surface-alt) 100%);
  border: 2px solid rgba(37, 99, 235, 0.2);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.subject-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.subject-card:hover::before {
  transform: scaleX(1);
}

.subject-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(37, 99, 235, 0.2);
}

.subject-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: rgba(37, 99, 235, 0.05);
  border-bottom: 1px solid rgba(37, 99, 235, 0.2);
}

.subject-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(124, 58, 237, 0.2) 100%);
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #60a5fa;
  transition: all 0.3s ease;
}

.subject-card:hover .subject-icon {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: white;
  transform: rotate(-10deg) scale(1.1);
  border-color: transparent;
}

.subject-number {
  font-family: 'Courier New', monospace;
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(37, 99, 235, 0.5);
  transition: all 0.3s ease;
}

.subject-card:hover .subject-number {
  color: var(--color-primary);
  text-shadow: 0 0 20px rgba(37, 99, 235, 0.5);
}

.subject-card-body {
  padding: 24px;
}

.subject-card h3 {
  color: var(--color-text-heading);
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.subject-card p {
  color: var(--color-text);
  line-height: 1.7;
  margin: 0;
}

.subject-card-footer {
  padding: 16px 24px;
  background: rgba(37, 99, 235, 0.05);
  border-top: 1px solid rgba(37, 99, 235, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.subject-type {
  padding: 4px 12px;
  background: rgba(37, 99, 235, 0.15);
  color: #60a5fa;
  font-size: 0.7rem;
  font-family: 'Courier New', monospace;
  border-radius: 4px;
  border: 1px solid rgba(37, 99, 235, 0.3);
  letter-spacing: 1px;
}

.subject-difficulty {
  display: flex;
  gap: 4px;
}

.difficulty-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.5);
}

.difficulty-dot--empty {
  background: rgba(37, 99, 235, 0.2);
  box-shadow: none;
}

.tip-box {
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-surface-alt) 100%);
  border: 2px solid rgba(6, 182, 212, 0.3);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.tip-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 32px;
  background: rgba(6, 182, 212, 0.05);
  border-bottom: 1px solid rgba(6, 182, 212, 0.2);
}

.tip-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-accent) 0%, #0891b2 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  animation: clockTick 2s ease-in-out infinite;
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.4);
}

@keyframes clockTick {
  0%, 100% {
    transform: rotate(-10deg);
  }
  50% {
    transform: rotate(10deg);
  }
}

.tip-title {
  flex: 1;
}

.tip-label {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(6, 182, 212, 0.2);
  color: #22d3ee;
  font-size: 0.75rem;
  font-family: 'Courier New', monospace;
  border-radius: 4px;
  margin-bottom: 8px;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.tip-title h3 {
  color: #0891b2;
  margin: 0;
  font-size: 1.4rem;
}

.tip-body {
  padding: 32px;
}

.tip-body p {
  color: var(--color-text);
  line-height: 1.8;
  margin: 0;
}

.tip-footer {
  padding: 16px 32px;
  background: rgba(6, 182, 212, 0.05);
  border-top: 1px solid rgba(6, 182, 212, 0.2);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.countdown-timer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.countdown-label {
  color: #0891b2;
  font-size: 0.85rem;
  font-family: 'Courier New', monospace;
}

.countdown-value {
  padding: 4px 12px;
  background: rgba(6, 182, 212, 0.2);
  color: #0891b2;
  font-size: 0.85rem;
  font-family: 'Courier New', monospace;
  border-radius: 4px;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

/* =========================
   Final Banner Section
========================= */
.change-major-final {
  padding: 60px 0 80px;
  background:
    radial-gradient(
      circle at 10% 50%,
      rgba(37, 99, 235, 0.06),
      transparent 35%
    ),
    linear-gradient(
      180deg,
      var(--color-surface) 0%,
      var(--color-background) 100%
    );
}

.change-major-final .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.final-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  max-width: 800px;
}

.final-content-text {
  text-align: center;
}

.final-content-text h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
  color: var(--color-text-heading);
}

.final-content-text p {
  font-size: 1.2rem;
  margin-bottom: 32px;
  color: var(--color-text);
  line-height: 1.8;
}

.final-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.final-buttons .btn {
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.final-buttons .btn.primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: white;
  border: none;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
}

.final-buttons .btn.primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 40px rgba(37, 99, 235, 0.5);
}

.final-buttons .btn.secondary {
  background: rgba(37, 99, 235, 0.1);
  color: #60a5fa;
  border: 2px solid rgba(37, 99, 235, 0.3);
}

.final-buttons .btn.secondary:hover {
  background: rgba(37, 99, 235, 0.2);
  border-color: rgba(37, 99, 235, 0.5);
  transform: translateY(-3px) scale(1.05);
}

.final-banner {
  width: 100%;
  max-width: 900px;
}

/* =========================
   Responsive Design
========================= */
@media (max-width: 992px) {
  .change-major-hero {
    min-height: auto;
    padding: 100px 0 120px;
  }
  
  .change-major-hero-content h1 {
    font-size: 2.5rem;
  }
  
  .change-major-hero-content p {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .change-major-hero {
    padding: 90px 0 100px;
  }
  
  .change-major-hero-content h1 {
    font-size: 2rem;
  }
  
  .change-major-hero-content p {
    font-size: 1rem;
  }

  .intro-card {
    flex-direction: column;
    text-align: center;
  }

  .intro-card::before {
    right: 50%;
    transform: translateX(50%);
    border-radius: 0 0 50% 50%;
  }

  .reasons-grid {
    grid-template-columns: 1fr;
  }

  .important-note {
    flex-direction: column;
    text-align: center;
  }

  .steps-timeline {
    padding-right: 0;
  }

  .steps-timeline::before {
    display: none;
  }

  .step-item {
    flex-direction: column;
    gap: 16px;
  }

  .step-number {
    position: relative;
    right: auto;
    margin-right: auto;
  }

  .step-content {
    margin-right: 0;
  }

  .subjects-grid {
    grid-template-columns: 1fr;
  }

  .tip-box {
    flex-direction: column;
    text-align: center;
  }

  .final-content-text h2 {
    font-size: 1.8rem;
  }

  .final-content-text p {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .change-major-hero {
    padding: 80px 0 90px;
  }
  
  .change-major-hero-content h1 {
    font-size: 1.75rem;
  }
  
  .change-major-hero-content p {
    font-size: 0.95rem;
  }
  
  .change-major-hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .change-major-hero-buttons .btn {
    width: 100%;
    max-width: 280px;
  }
  
  .final-buttons {
    flex-direction: column;
  }
  
  .final-buttons .btn {
    width: 100%;
  }
}
