.programs {
  background-color: var(--darker-bg);
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.programs::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 255, 255, 0.15) 0%, transparent 70%);
  z-index: 0;
}

.programs::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(241, 90, 34, 0.1) 0%, transparent 70%);
  z-index: 0;
}

.program-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 5;
}

.program-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;
}

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

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

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

.light-theme .program-tab:hover {
  background: rgba(241, 90, 34, 0.1);
}

.light-theme .program-tab.active {
  background: var(--primary-color);
  color: white;
}

.program-content {
  display: none;
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.program-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 1;
}

.program-card {
  background: linear-gradient(145deg, rgba(30, 30, 30, 0.6), rgba(20, 20, 20, 0.8));
  border-radius: var(--border-radius);
  padding: 35px;
  transition: all var(--transition-speed);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.light-theme .program-card {
  background: linear-gradient(145deg, #ffffff, #f0f2f5);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.program-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-speed);
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

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

.program-icon {
  margin-bottom: 25px;
  position: relative;
  width: 70px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.icon-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(241, 90, 34, 0.2), rgba(0, 255, 255, 0.2));
  transform: rotate(45deg);
  animation: pulse 3s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1) rotate(45deg);
    opacity: 1;
  }
  50% {
    transform: scale(1.2) rotate(45deg);
    opacity: 0.7;
  }
  100% {
    transform: scale(1) rotate(45deg);
    opacity: 1;
  }
}

.program-icon .icon {
  font-size: 32px;
  position: relative;
  z-index: 1;
}

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

.program-card p {
  color: var(--gray-text);
  margin-bottom: 25px;
  font-size: 16px;
  flex-grow: 1;
}

.program-features {
  margin-bottom: 25px;
}

.program-features li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: var(--gray-text);
}

.program-features li::before {
  content: "✓";
  color: var(--primary-color);
  position: absolute;
  left: 0;
  top: 0;
}

.compare-programs-container {
  text-align: center;
  margin-top: 40px;
}

.program-details-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--primary-color);
  border-radius: var(--border-radius);
  color: var(--light-text);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-speed);
}

.light-theme .program-details-btn {
  background-color: rgba(241, 90, 34, 0.1);
  color: var(--dark-text);
}

.program-details-btn:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(241, 90, 34, 0.3);
}

.program-selector {
  margin-bottom: 60px;
  position: relative;
  z-index: 5;
  background: rgba(30, 30, 30, 0.6);
  border-radius: var(--border-radius);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.light-theme .program-selector {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.selector-heading {
  text-align: center;
  margin-bottom: 20px;
}

.selector-heading h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--light-text);
}

.selector-heading p {
  color: var(--gray-text);
  font-size: 15px;
}

.selector-questions {
  margin-bottom: 25px;
}

.selector-question {
  margin-bottom: 20px;
}

.selector-question h4 {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--light-text);
}

.selector-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.selector-option {
  padding: 8px 15px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.light-theme .selector-option {
  background: rgba(0, 0, 0, 0.05);
}

.selector-option:hover {
  background: rgba(241, 90, 34, 0.2);
}

.selector-option.selected {
  background: var(--primary-color);
  color: white;
}

.selector-submit {
  text-align: center;
}

.selector-result {
  display: none;
  margin-top: 25px;
  padding: 20px;
  border-radius: var(--border-radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--primary-color);
}

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

.selector-result h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.selector-result p {
  color: var(--gray-text);
  margin-bottom: 15px;
}

.selector-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
}

@media (max-width: 768px) {
  .program-cards {
    grid-template-columns: 1fr;
  }

  .program-card {
    padding: 30px 25px;
  }

  .program-tab {
    padding: 10px 20px;
    font-size: 14px;
  }

  .program-icon {
    width: 60px;
    height: 60px;
  }

  .program-icon .icon {
    font-size: 28px;
  }

  .program-card h3 {
    font-size: 22px;
  }

  .selector-options {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .program-tab {
    padding: 8px 16px;
    font-size: 13px;
  }

  .program-icon {
    width: 50px;
    height: 50px;
  }

  .program-icon .icon {
    font-size: 24px;
  }

  .program-card h3 {
    font-size: 20px;
  }

  .program-selector {
    padding: 20px 15px;
  }
}

