/* 
 * Education Section Styles - Bixing Technology
 * Modern, sleek AI-themed education page styling
 */

/* Hero Section */
.insights-hero-section {
  position: relative;
  padding: 120px 0 80px;
  background: var(--dark-bg);
  color: var(--white);
  overflow: hidden;
}

.insights-hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.insights-hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--white) 0%, var(--accent-blue-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent; /* Fallback for browsers that don't support -webkit-text-fill-color */
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 600px;
}

/* Benefits Section */
.benefit-card {
  background-color: var(--dark-surface);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  height: 100%;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm63 31c1.657 0 3-1.343 3-3s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM34 90c1.657 0 3-1.343 3-3s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm56-76c1.657 0 3-1.343 3-3s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%230066FF' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 100px 100px;
  opacity: 0.3;
  z-index: 0;
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  border-color: var(--primary-color);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
  font-size: 2rem;
  color: var(--white);
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 20px rgba(0, 102, 255, 0.3);
}

.benefit-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--white);
  position: relative;
  z-index: 1;
  transition: color var(--transition-normal);
}

.benefit-card:hover h3 {
  color: var(--primary-color);
}

.benefit-card p {
  color: var(--text-medium);
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
}

/* Process Flowchart */
.process-flowchart {
  display: flex;
  flex-direction: column;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  padding: 20px 0;
  counter-reset: step-counter;
}

.process-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 50px;
  position: relative;
}

.process-step {
  display: flex;
  align-items: center;
  background: rgba(14, 67, 119, 0.2);
  border-radius: 12px;
  padding: 20px;
  width: 48%;
  position: relative;
  border-left: 4px solid var(--accent-blue);
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  z-index: 2;
  counter-increment: step-counter;
}

.process-step:before {
  content: counter(step-counter);
  position: absolute;
  top: -15px;
  left: -15px;
  width: 35px;
  height: 35px;
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-teal) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: bold;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(0, 168, 255, 0.5);
  z-index: 3;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  background: rgba(14, 67, 119, 0.3);
  border-left-color: var(--primary-color);
}

.process-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-teal) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-right: 20px;
  font-size: 1.25rem;
  box-shadow: 0 5px 15px rgba(0, 168, 255, 0.4);
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.process-content {
  flex: 1;
}

.process-content h3 {
  margin-bottom: 10px;
  color: var(--accent-blue);
  font-weight: 600;
  font-size: 1.25rem;
  transition: color var(--transition-normal);
}

.process-step:hover .process-content h3 {
  color: var(--primary-color);
}

.process-content p {
  font-size: 0.95rem;
  margin-bottom: 0;
  color: var(--text-medium);
}

/* Program Cards */
.program-card {
  background-color: var(--dark-surface);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  border-color: var(--primary-color);
}

.program-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
  padding: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.program-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%230066FF' fill-opacity='0.1' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 20px 20px;
  opacity: 0.4;
  z-index: 0;
}

.program-header h3 {
  color: var(--white);
  margin-bottom: 10px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.program-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

.program-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.program-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  flex-grow: 1;
}

.program-features li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-medium);
  display: flex;
  align-items: center;
}

.program-features li:last-child {
  border-bottom: none;
}

.program-features li i {
  color: var(--accent-blue);
  margin-right: 10px;
}

.program-card .btn {
  margin-top: auto;
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-teal) 100%);
  border: none;
  padding: 10px 20px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.program-card .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 168, 255, 0.4);
}

/* Testimonials */
.testimonial-card {
  background-color: var(--dark-surface);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 120px;
  font-family: Georgia, serif;
  color: rgba(0, 102, 255, 0.1);
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  border-color: var(--primary-color);
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  color: var(--text-medium);
}

.testimonial-author {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
  border: 2px solid var(--accent-blue);
}

.testimonial-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--white);
}

.testimonial-position {
  font-size: 0.9rem;
  color: var(--text-medium);
  margin-bottom: 0;
}

/* FAQ Section */
.faq-item {
  background-color: var(--dark-surface);
  border-radius: var(--border-radius-md);
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--primary-color);
}

.faq-header {
  padding: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.faq-header h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  transition: color 0.3s ease;
}

.faq-item.active .faq-header h3 {
  color: var(--primary-color);
}

.faq-toggle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgba(0, 102, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.faq-toggle i {
  color: var(--accent-blue);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  background-color: var(--accent-blue);
}

.faq-item.active .faq-toggle i {
  color: var(--white);
  transform: rotate(45deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-content {
  max-height: 500px;
}

.faq-body {
  padding: 0 20px 20px;
  color: var(--text-medium);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .process-row {
    flex-direction: column;
  }
  
  .process-step {
    width: 100%;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .benefit-icon {
    width: 70px;
    height: 70px;
    font-size: 1.75rem;
  }
  
  .program-header h3 {
    font-size: 1.3rem;
  }
}
