/* ============================================
   TRAINING PAGE - BANNER
   ============================================ */

.trn-banner {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
}

.trn-banner-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.trn-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 37, 64, 0.92) 0%, rgba(26, 140, 62, 0.82) 100%);
  z-index: 1;
}

.breadcrumb-custom .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

.banner-title {
  font-size: 2.2rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* ============================================
   HIGHLIGHTS SECTION
   ============================================ */

.trn-highlights-section {
  background: linear-gradient(135deg, #0a2540 0%, #1a5c3e 100%);
  position: relative;
  overflow: hidden;
}

.trn-highlights-section::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
}

.trn-highlight-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 2rem 1rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.trn-highlight-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-5px);
}

.trn-highlight-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255,255,255,0.2);
  transition: transform 0.3s ease;
}

.trn-highlight-card:hover .trn-highlight-icon {
  transform: scale(1.15);
}

.trn-highlight-icon i {
  font-size: 1.5rem;
  color: #fff;
}

/* ============================================
   FILTER BUTTONS
   ============================================ */

.trn-filter-btn {
  background: #f0f4f8;
  color: #555;
  border: 2px solid #e0e0e0;
  transition: all 0.3s ease;
}

.trn-filter-btn:hover, .trn-filter-btn.active {
  background: var(--primary-green);
  color: #fff;
  border-color: var(--primary-green);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(26, 140, 62, 0.3);
}

/* ============================================
   COURSE CARDS
   ============================================ */

.trn-course-card {
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.trn-course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.12) !important;
}

.trn-course-img-wrapper {
  height: 220px;
  overflow: hidden;
}

.trn-course-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.trn-course-card:hover .trn-course-img {
  transform: scale(1.08);
}

.trn-course-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: 700;
  z-index: 2;
}

.trn-badge-green {
  background: var(--primary-green);
  color: #fff;
}

.trn-course-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 37, 64, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.trn-course-overlay i {
  font-size: 2rem;
  color: #fff;
}

.trn-course-card:hover .trn-course-overlay {
  opacity: 1;
}

.trn-course-title {
  color: var(--dark-blue);
  font-size: 1rem;
}

/* Course item animation */

.trn-course-item {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.trn-course-item.trn-hidden {
  display: none;
}

/* ============================================
   PROCESS SECTION
   ============================================ */

.trn-process-section {
  background: linear-gradient(135deg, #1a5c3e 0%, #0a2540 100%);
  position: relative;
  overflow: hidden;
}

.trn-process-section .section-title::after {
  background: #fff;
}

.trn-process-section::before {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(255,255,255,0.02);
}

.trn-process-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 2rem 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.trn-process-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-5px);
}

.trn-process-step {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.trn-process-card:hover .trn-process-step {
  background: var(--primary-green);
  border-color: var(--primary-green);
  transform: scale(1.1);
}

.trn-process-step span {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
}

/* ============================================
   BENEFIT CARDS
   ============================================ */

.trn-benefit-card {
  background: #f8fdf9;
  border: 1px solid #e8f5e9;
  transition: all 0.3s ease;
}

.trn-benefit-card:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 20px rgba(26, 140, 62, 0.1);
  border-color: var(--primary-green);
}

.trn-benefit-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 12px;
  background: rgba(26, 140, 62, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.trn-benefit-card:hover .trn-benefit-icon {
  background: var(--primary-green);
}

.trn-benefit-icon i {
  font-size: 1.3rem;
  color: var(--primary-green);
  transition: color 0.3s ease;
}

.trn-benefit-card:hover .trn-benefit-icon i {
  color: #fff;
}

/* ============================================
   CTA SECTION
   ============================================ */

.trn-cta-section {
  background: linear-gradient(135deg, #0d6efd 0%, #0a2540 100%);
  position: relative;
  overflow: hidden;
}

.trn-cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -15%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}

.trn-contact-btn {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 2;
}

.trn-contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 991.98px) {
  .trn-course-img-wrapper {
    height: 200px;
  }
}

@media (max-width: 767.98px) {
  .trn-banner {
    min-height: 220px;
  }
}

@media (max-width: 767.98px) {
  .banner-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 767.98px) {
  .trn-course-img-wrapper {
    height: 180px;
  }
}

@media (max-width: 767.98px) {
  .trn-contact-btn {
    display: block;
    width: 100%;
    margin-bottom: 10px;
  }
}

@media (max-width: 767.98px) {
  .trn-highlight-card {
    padding: 1.5rem 0.8rem;
  }
}

@media (max-width: 767.98px) {
  .trn-highlight-icon {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 767.98px) {
  .trn-highlight-icon i {
    font-size: 1.2rem;
  }
}

@media (max-width: 575.98px) {
  .banner-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 575.98px) {
  .trn-filter-btn {
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem !important;
  }
}

