/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, Roboto, Helvetica, sans-serif;
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.6;
}

/* Navbar Styles */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-image {
  height: 50px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 26px;
  font-weight: 400;
  color: #0d0d0d;
}

.logo-subtitle {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 13px;
  color: #808080;
}

.main-nav {
  display: flex;
  gap: 25px;
}

.nav-link {
  color: #808080;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
  color: #3328bf;
}

.auth-buttons {
  display: flex;
  gap: 15px;
}

.login-link {
  color: #3328bf;
  text-decoration: none;
  font-weight: 500;
}

.signup-button {
  background-color: #3328bf;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s;
}

.signup-button:hover {
  background-color: #2a1fa0;
}

/* Main Content Styles */
.selection-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.selection-header {
  text-align: center;
  margin-bottom: 50px;
}

.selection-header h1 {
  font-size: 48px;
  font-weight: 600;
  color: #3328bf;
  margin-bottom: 15px;
}

.subtitle {
  font-size: 18px;
  color: #666;
  margin-bottom: 30px;
}

.progress-bar {
  display: flex;
  justify-content: space-between;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.progress-bar::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  height: 4px;
  background-color: #e0e0e0;
  z-index: 1;
}

.progress-step {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
  padding-top: 30px;
  color: #808080;
  font-weight: 500;
}

.progress-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #e0e0e0;
  border: 4px solid #e0e0e0;
  transition: all 0.3s;
}

.progress-step.active {
  color: #3328bf;
}

.progress-step.active::before {
  background-color: #3328bf;
  border-color: #3328bf;
}

/* Form Steps */
.form-step {
  display: none;
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  padding: 40px;
  margin-bottom: 50px;
  transition: all 0.5s ease;
}

.form-step.active {
  display: block;
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-step h2 {
  font-size: 32px;
  color: #0d0d0d;
  margin-bottom: 10px;
}

.form-step p {
  color: #666;
  margin-bottom: 30px;
}

/* Subject Selection Grid */
.subject-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 30px;
}

.subject-card {
  position: relative;
}

.subject-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
}

.subject-card label {
  display: block;
  padding: 20px;
  background-color: white;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
}

.subject-card label i {
  font-size: 24px;
  color: #3328bf;
  margin-bottom: 10px;
  display: block;
}

.subject-name {
  display: block;
  font-weight: 600;
  font-size: 16px;
  color: #0d0d0d;
}

.subject-card input[type="checkbox"]:checked + label {
  border-color: #3328bf;
  background-color: rgba(51, 40, 191, 0.05);
}

/* Interest Selection Grid */
.interest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 30px;
}

.interest-card {
  position: relative;
}

.interest-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
}

.interest-card label {
  display: block;
  padding: 25px 20px;
  background-color: white;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
}

.interest-card label i {
  font-size: 24px;
  color: #3328bf;
  margin-bottom: 10px;
  display: block;
}

.interest-name {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 18px;
  color: #0d0d0d;
}

.interest-description {
  display: block;
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

.interest-card input[type="checkbox"]:checked + label {
  border-color: #3328bf;
  background-color: rgba(51, 40, 191, 0.05);
  color: #3328bf;
}

.interest-help {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 15px;
  background-color: #f9f9fb;
  border-radius: 8px;
}

.interest-help i {
  color: #3328bf;
  font-size: 20px;
}

/* Results Section */
.results-summary {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.summary-card {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.summary-card:hover {
  transform: translateY(-5px);
}

.summary-card h3 {
  font-size: 18px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #0d0d0d;
}

.fit-meter {
  height: 10px;
  background-color: #f0f0f0;
  border-radius: 5px;
  margin-bottom: 10px;
  position: relative;
}

.fit-meter span {
  position: absolute;
  right: 0;
  top: -25px;
  font-weight: 600;
  color: #3328bf;
}

.meter-bar {
  height: 100%;
  border-radius: 5px;
  background-color: #3328bf;
}

/* Subject Recommendations */
.subject-recommendations {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.recommendation-card {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.recommendation-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.recommendation-card h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #3328bf;
}

.subject-list {
  list-style-type: none;
}

.subject-list li {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
  padding-left: 25px;
}

.subject-list li::before {
  content: '•';
  position: absolute;
  left: 10px;
  color: #3328bf;
  font-weight: bold;
}

/* Career Pathways */
.career-pathways {
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
}

.career-pathway {
  margin-bottom: 30px;
}

.career-pathway h3 {
  font-size: 20px;
  color: #0d0d0d;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pathway-subjects {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.pathway-subject {
  background-color: #f9f9fb;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 14px;
}

.pathway-careers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
}

.career-option {
  background-color: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 15px;
  transition: all 0.3s;
}

.career-option:hover {
  border-color: #3328bf;
  box-shadow: 0 5px 15px rgba(51, 40, 191, 0.1);
}

.career-option h4 {
  font-size: 16px;
  margin-bottom: 8px;
  color: #0d0d0d;
}

.career-option p {
  font-size: 14px;
  color: #666;
}

/* University Requirements */
.university-requirements {
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
}

.requirement-card {
  margin-bottom: 25px;
}

.requirement-card h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #0d0d0d;
}

.requirement-card ul {
  list-style-type: none;
}

.requirement-card li {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
  padding-left: 25px;
}

.requirement-card li::before {
  content: '•';
  position: absolute;
  left: 10px;
  color: #3328bf;
  font-weight: bold;
}

/* Loading State */
.loading-results {
  text-align: center;
  padding: 40px;
  grid-column: 1 / -1;
}

.loading-results i {
  font-size: 40px;
  color: #3328bf;
  margin-bottom: 20px;
}

@keyframes pulse {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}

.loading-text {
  animation: pulse 1.5s infinite;
  color: #666;
  font-size: 18px;
}

/* No Results State */
.no-results {
  text-align: center;
  padding: 40px;
  grid-column: 1 / -1;
}

.no-results i {
  font-size: 40px;
  color: #666;
  margin-bottom: 20px;
}

/* Form Navigation */
.form-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
}

.prev-btn, .next-btn, .save-all-btn {
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  align-items: center;
  gap: 8px;
  border: none;
}

.prev-btn {
  background-color: white;
  border: 1px solid #d6d6d6;
  color: #0d0d0d;
}

.next-btn, .save-all-btn {
  background-color: #3328bf;
  border: 1px solid #3328bf;
  color: white;
}

.prev-btn:hover {
  background-color: #f5f5f5;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.next-btn:hover, .save-all-btn:hover {
  background-color: #2a1fa0;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(51, 40, 191, 0.3);
}

.prev-btn:active, .next-btn:active, .save-all-btn:active {
  transform: translateY(0);
}

/* Footer Styles */
.footer {
  background-color: #f5f5f7;
  padding: 60px 0 0;
  margin-top: 60px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column {
  flex: 1;
  min-width: 250px;
}

.footer-brand {
  margin-bottom: 30px;
}

.footer-logo {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 26px;
  color: #0d0d0d;
  margin-bottom: 5px;
}

.footer-tagline {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 13px;
  color: #666;
  margin-bottom: 20px;
}

.footer-description {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: #666;
  font-size: 18px;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #3328bf;
}

.links-title, .contact-title {
  font-size: 18px;
  font-weight: 600;
  color: #0d0d0d;
  margin-bottom: 20px;
}

.link-item {
  margin-bottom: 15px;
}

.link-item a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s;
}

.link-item a:hover {
  color: #3328bf;
}

.bullet {
  color: #666;
}

.contact-info {
  color: #666;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cta-title {
  font-size: 28px;
  font-weight: 600;
  color: #0d0d0d;
  margin-bottom: 20px;
  line-height: 1.3;
}

.cta-button {
  display: inline-block;
  background-color: #3328bf;
  color: white;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s;
}

.cta-button:hover {
  background-color: #2a1fa0;
}

.footer-divider {
  border-top: 1px solid #ddd;
  margin: 20px 0;
}

.copyright {
  text-align: center;
  padding: 20px 0;
  color: #666;
  font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .navbar-container {
    flex-direction: column;
    gap: 15px;
  }
  
  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .selection-header h1 {
    font-size: 36px;
  }
  
  .progress-step {
    font-size: 14px;
  }
  
  .form-step {
    padding: 25px;
  }
  
  .subject-recommendations {
    grid-template-columns: 1fr;
  }
  
  .pathway-careers {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}

@media (max-width: 768px) {
  .selection-header h1 {
    font-size: 28px;
  }
  
  .form-step h2 {
    font-size: 24px;
  }
  
  .subject-grid, .interest-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .form-navigation {
    flex-direction: column;
    gap: 15px;
  }
  
  .prev-btn, .next-btn, .save-all-btn {
    width: 100%;
    justify-content: center;
  }
  
  .results-summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .subject-grid, .interest-grid {
    grid-template-columns: 1fr;
  }
  
  .pathway-careers {
    grid-template-columns: 1fr;
  }
}