/* =====================================================
   COURSES SUBFOLDER CSS STYLES
   Consolidated from inline styles and <style> blocks
   ===================================================== */

/* Course Page Specific Styles */
.course-page {
  /* Course page specific styles can be added here as needed */
  min-height: 100vh;
}

/* Cosmetology Page Styles */
.cosmetology-page .carousel-indicators {
  margin-top: 60px !important;
  bottom: -30px !important;
}

.cosmetology-page .hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: white;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cosmetology-page .hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('https://images.unsplash.com/photo-1596462502278-27ffb54fbb34?w=1200&h=600&fit=crop') center/cover;
  opacity: 0.2;
}

.cosmetology-page .carousel-inner {
  margin-bottom: 30px;
}

.cosmetology-page .carousel-indicators button.active {
  background-color: #ffd700 !important;
}

.cosmetology-page .carousel-control-prev,
.cosmetology-page .carousel-control-next {
  transition: all 0.3s ease;
  opacity: 0.7;
}

.cosmetology-page .carousel-control-prev:hover,
.cosmetology-page .carousel-control-next:hover {
  opacity: 1;
}

/* Nanny Course Page Styles */
.nanny-page .carousel-indicators {
  margin-top: 60px !important;
  bottom: -30px !important;
}

.nanny-page .carousel-inner {
  margin-bottom: 30px;
}

.nanny-page .carousel-indicators button.active {
  background-color: #ffd700 !important;
}

.nanny-page .carousel-control-prev,
.nanny-page .carousel-control-next {
  transition: all 0.3s ease;
  opacity: 0.7;
}

.nanny-page .carousel-control-prev:hover,
.nanny-page .carousel-control-next:hover {
  opacity: 1;
}

/* Hotel Management Page Styles */
.hotel-management-page .carousel-indicators {
  margin-top: 60px !important;
  bottom: -30px !important;
}

.hotel-management-page .carousel-inner {
  margin-bottom: 30px;
}

.hotel-management-page .carousel-indicators button.active {
  background-color: #ffd700 !important;
}

.hotel-management-page .carousel-control-prev,
.hotel-management-page .carousel-control-next {
  transition: all 0.3s ease;
  opacity: 0.7;
}

.hotel-management-page .carousel-control-prev:hover,
.hotel-management-page .carousel-control-next:hover {
  opacity: 1;
}

/* Accounting Page Specific Styles */
.accounting-page .carousel-indicators {
  margin-top: 60px !important;
  bottom: -30px !important;
}

.accounting-page .carousel-inner {
  margin-bottom: 30px;
}

.accounting-page .carousel-indicators button.active {
  background-color: #ffd700 !important;
}

.accounting-page .carousel-control-prev,
.accounting-page .carousel-control-next {
  transition: all 0.3s ease;
  opacity: 0.7;
}

.accounting-page .carousel-control-prev:hover,
.accounting-page .carousel-control-next:hover {
  opacity: 1;
}

/* Course Page Responsive Typography */
@media (max-width: 992px) {
  .course-page .carousel-item h2 {
    font-size: 1.8rem !important;
  }
  
  .course-page .carousel-item h3 {
    font-size: 1.5rem !important;
  }
}

@media (max-width: 768px) {
  .course-page .carousel-item h2 {
    font-size: 1.6rem !important;
  }
  
  .course-page .carousel-item h3 {
    font-size: 1.3rem !important;
  }
}

@media (max-width: 576px) {
  .course-page .carousel-item h2 {
    font-size: 1.4rem !important;
  }
  
  .course-page .carousel-item h3 {
    font-size: 1.2rem !important;
  }
  
  .course-page .carousel-item .btn {
    width: 100%;
  }
}

@media (max-width: 400px) {
  .course-page .carousel-item h2 {
    font-size: 1.2rem !important;
  }
  
  .course-page .carousel-item h3 {
    font-size: 1.1rem !important;
  }
}

/* Consistent carousel height */
#accountingHeroCarousel .carousel-item {
  position: relative;
  min-height: 400px;
}

@media (max-width: 768px) {
  #accountingHeroCarousel .carousel-item {
    min-height: 350px;
  }
}

/* Course Card Enhancements */
.course-card {
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.1);
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Course Details Page Styles */
.course-details-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 4rem 0;
}

.course-features {
  background: #f8f9fa;
  padding: 3rem 0;
}

.course-curriculum {
  background: white;
  padding: 3rem 0;
}

/* Course Grid Layout */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

/* Course Filter Styles */
.course-filter {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
}

/* Course Category Badges */
.course-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.category-it { background: #e3f2fd; color: #1976d2; }
.category-accounting { background: #f3e5f5; color: #7b1fa2; }
.category-cosmetology { background: #fce4ec; color: #c2185b; }
.category-hospitality { background: #e8f5e8; color: #388e3c; }
.category-nanny { background: #fff3e0; color: #f57c00; }

/* Course Duration Badge */
.course-duration {
  background: #4caf50;
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 5px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Course Price Styles */
.course-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2e7d32;
}

.course-price-original {
  text-decoration: line-through;
  color: #757575;
  font-size: 1rem;
  margin-right: 0.5rem;
}

/* Course Instructor Styles */
.course-instructor {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid #e0e0e0;
}

.instructor-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.instructor-info h5 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.instructor-info p {
  margin: 0;
  color: #666;
  font-size: 0.875rem;
}

/* Course Requirements */
.course-requirements {
  background: #fff3e0;
  border-left: 4px solid #ff9800;
  padding: 1rem;
  margin: 1rem 0;
}

.course-requirements h5 {
  color: #e65100;
  margin-bottom: 0.5rem;
}

.course-requirements ul {
  margin: 0;
  padding-left: 1.5rem;
}

.course-requirements li {
  margin-bottom: 0.25rem;
  color: #666;
}

/* Course Outcomes */
.course-outcomes {
  background: #e8f5e8;
  border-left: 4px solid #4caf50;
  padding: 1rem;
  margin: 1rem 0;
}

.course-outcomes h5 {
  color: #2e7d32;
  margin-bottom: 0.5rem;
}

.course-outcomes ul {
  margin: 0;
  padding-left: 1.5rem;
}

.course-outcomes li {
  margin-bottom: 0.25rem;
  color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
  .courses-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .course-filter {
    padding: 1rem;
  }
  
  .course-instructor {
    flex-direction: column;
    text-align: center;
  }
  
  .course-price {
    font-size: 1.25rem;
  }
}

@media (max-width: 576px) {
  .course-details-hero {
    padding: 2rem 0;
  }
  
  .course-features,
  .course-curriculum {
    padding: 2rem 0;
  }
  
  .course-category {
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
  }
}

/* Animation Classes */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in-up.active {
  opacity: 1;
  transform: translateY(0);
}

/* Hover Effects */
.hover-lift {
  transition: all 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Course Progress Bar */
.course-progress {
  background: #e0e0e0;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  margin: 1rem 0;
}

.course-progress-bar {
  background: linear-gradient(90deg, #4caf50, #8bc34a);
  height: 100%;
  border-radius: 4px;
  transition: width 0.3s ease;
}

/* Course Certificate */
.course-certificate {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #333;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(255,215,0,0.3);
}

.course-certificate h4 {
  margin: 0 0 1rem 0;
  font-size: 1.5rem;
  font-weight: 700;
}

/* Course Testimonials */
.course-testimonial {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-name {
  font-weight: 600;
  margin: 0;
}

.testimonial-course {
  color: #666;
  font-size: 0.875rem;
  margin: 0;
}
