/* On-Demand Skills Training Page Custom Styles */

/* Intro Section */
.intro-section {
  background: #f9f9f9;
  padding: 60px 0;
}

.intro-title {
  color: #ffc451;
  font-weight: 700;
  margin-bottom: 30px;
}

.intro-text {
  font-size: 18px;
  line-height: 1.8;
  color: #444444;
  margin-bottom: 20px;
}

/* Modules Section */
.modules-section {
  padding: 80px 0;
  background: #fff;
}

.modules-title {
  color: #ffc451;
}

.modules-subtitle {
  font-size: 20px;
  color: #444444;
}

.module-card {
  background: #fff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.module-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 196, 81, 0.3);
}

.module-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.module-icon {
  font-size: 40px;
  color: #ffc451;
}

.module-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.module-level {
  background: #f9f9f9;
  color: #444444;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 13px;
  font-weight: 500;
}

.module-duration {
  background: linear-gradient(135deg, #ffc451, #ffb020);
  color: #151515;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 13px;
  font-weight: 600;
}

.module-card h4 {
  color: #151515;
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 12px;
}

.module-card > p {
  font-size: 15px;
  color: #444444;
  margin-bottom: 20px;
  line-height: 1.7;
}

.module-topics {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.module-topics li {
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  font-size: 14px;
  line-height: 1.6;
  color: #444444;
}

.module-topics li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #ffc451;
  font-weight: bold;
}

.module-footer {
  border-top: 1px solid #eee;
  padding-top: 15px;
  margin-top: auto;
  text-align: center;
}

.enroll-btn {
  display: inline-block;
  background: linear-gradient(135deg, #ffc451, #ffb020);
  color: #151515;
  padding: 12px 30px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.enroll-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 196, 81, 0.4);
  color: #151515;
}

/* Features Section */
.features-section {
  padding: 60px 0;
}

.features-title {
  color: #ffffff;
}

.features-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 20px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.feature-icon {
  font-size: 50px;
  color: #ffc451;
  margin-bottom: 20px;
}

.feature-card h5 {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 20px;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.7;
}

/* Mentorship Section */
.mentorship-section {
  padding: 80px 0;
  background: #f9f9f9;
}

.mentorship-title {
  color: #ffc451;
}

.mentorship-subtitle {
  font-size: 20px;
  color: #444444;
}

.mentorship-heading {
  color: #ffc451;
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 28px;
}

.mentorship-text {
  font-size: 16px;
  line-height: 1.8;
  color: #444444;
  margin-bottom: 30px;
}

.mentorship-features {
  margin-top: 30px;
}

.mentorship-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

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

.mentorship-item i {
  font-size: 30px;
  color: #ffc451;
  margin-right: 15px;
  margin-top: 5px;
}

.mentorship-item h5 {
  color: #151515;
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 8px;
}

.mentorship-item p {
  color: #444444;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* How It Works Section */
.how-it-works-section {
  padding: 80px 0;
  background: #fff;
}

.how-title {
  color: #ffc451;
}

.how-subtitle {
  font-size: 20px;
  color: #444444;
}

.step-card {
  text-align: center;
  padding: 30px 20px;
  background: #f9f9f9;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(255, 196, 81, 0.2);
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #ffc451, #ffb020);
  color: #151515;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  margin: 0 auto 20px;
}

.step-card h5 {
  color: #151515;
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 12px;
}

.step-card p {
  color: #444444;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .module-card {
    padding: 20px;
    margin-bottom: 20px;
  }

  .module-icon {
    font-size: 35px;
  }

  .module-price {
    font-size: 20px;
  }

  .intro-text {
    font-size: 16px;
  }

  .feature-card {
    padding: 25px;
    margin-bottom: 20px;
  }

  .feature-icon {
    font-size: 40px;
  }

  .mentorship-heading {
    font-size: 24px;
  }

  .step-number {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
}