﻿/* === HERO SECTION === */
.training-hero {
    background-color: #0e0e0e;
    color: #fff;
    padding: 80px 40px;
}

.training-hero-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: auto;
}

.training-hero-image {
    flex: 1 1 50%;
    min-height: 400px;
}

    .training-hero-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: brightness(65%);
    }

/* Content */
.training-hero-content {
    flex: 1 1 50%;
    padding: 20px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 40px;
}

/* Steps */
.step-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.step-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-icon-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.step-icon {
    background-color: #27ae60;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.step-line {
    width: 2px;
    background-color: #27ae60;
    height: 100%;
    margin-top: 4px;
}

.step-item.last .step-line {
    display: none;
}

.step-text .step-number {
    font-size: 0.9rem;
    color: #888;
    display: block;
    margin-bottom: 4px;
}

.step-title {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 6px;
}

.step-text p {
    font-size: 1rem;
    color: #ccc;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .training-hero-container {
        flex-direction: column;
    }

    .training-hero-image, .training-hero-content {
        flex: 1 1 100%;
    }

    .hero-title {
        font-size: 2rem;
    }
}

/* === LEARNING TIMELINE SECTION === */
.learning-timeline-section {
  background-color: #111;
  padding: 80px 40px;
  color: #fff;
}

.timeline-heading {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 60px;
}

.timeline-wrapper {
  position: relative;
  margin-left: 30px;
  border-left: 3px solid #27ae60;
  padding-left: 30px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.timeline-item {
  position: relative;
}

.timeline-icon {
  position: absolute;
  left: -56px;
  top: 0;
  background-color: #27ae60;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 0 0 6px #111;
  z-index: 1;
}

.timeline-card {
  background-color: #1c1c1c;
  border: 1px solid #2c2c2c;
  border-radius: 8px;
  padding: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.timeline-card h3 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 10px;
}

.timeline-card p {
  color: #ccc;
  font-size: 1rem;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .timeline-wrapper {
    padding-left: 20px;
    margin-left: 20px;
  }

  .timeline-icon {
    left: -40px;
  }

  .timeline-card {
    padding: 20px;
  }

  .timeline-heading {
    font-size: 2rem;
  }
}
/* === TRAINING PROGRAMS SECTION === */
.training-programs-section {
    background-color: #121212;
    color: #fff;
    padding: 80px 40px;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.program-card {
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    padding: 30px 24px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .program-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 25px rgba(0, 255, 150, 0.1);
    }

    .program-card.popular::before {
        content: "Most Popular";
        position: absolute;
        top: 15px;
        right: 15px;
        background-color: #27ae60;
        color: #fff;
        font-size: 0.7rem;
        padding: 5px 10px;
        border-radius: 4px;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .program-card h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
        color: #fff;
    }

.program-desc {
    font-size: 0.95rem;
    color: #ccc;
    margin-bottom: 20px;
}

.program-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: #aaa;
}

.program-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 1.2rem;
    font-weight: 600;
    color: #27ae60;
}

.btn-enroll {
    background-color: transparent;
    border: 1px solid #27ae60;
    color: #27ae60;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: 0.3s ease;
}

    .btn-enroll:hover {
        background-color: #27ae60;
        color: #000;
    }

/* Responsive */
@media (max-width: 768px) {
    .program-card {
        padding: 20px;
    }

    .program-meta {
        flex-direction: column;
        gap: 8px;
    }
}
/* === CUSTOMIZED FAQ SECTION === */
.faq-section {
    background-color: #0d0d0d;
    color: #fff;
    padding: 80px 40px;
}

.section-heading {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 60px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #2c2c2c;
    padding: 15px 0;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    color: #27ae60;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 10px 0;
    text-align: left;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

    .faq-question::after {
        content: '+';
        position: absolute;
        right: 0;
        font-size: 1.2rem;
        color: #888;
        transition: transform 0.3s ease;
    }

    .faq-question.active::after {
        content: '−';
        transform: rotate(180deg);
    }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    color: #bbb;
    font-size: 0.95rem;
    padding-right: 20px;
}

    .faq-answer p {
        padding: 0 0 20px;
        margin: 0;
    }

.faq-item.open .faq-answer {
    max-height: 300px;
}
