/* components.css — Cards, Buttons, Testimonials */

/* Course Cards */
.course-card {
  background: #1a0a0a;
  border: 2px solid #800020; /* burgundy */
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(128, 0, 32, 0.5);
}

.course-card h3 {
  color: #fff;
  margin-bottom: 10px;
}

.course-card p {
  color: #ccc;
  margin-bottom: 15px;
}

.course-card span {
  font-weight: bold;
  color: #fff;
  display: block;
  margin-bottom: 15px;
}

/* Buttons */
.cta-btn {
  background: #800020;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s;
}

.cta-btn:hover {
  background: #a00030;
}

/* Testimonials */
.testimonial-card {
  background: #111;
  border-left: 4px solid #800020;
  padding: 20px;
  margin: 20px 0;
  color: #fff;
  border-radius: 10px;
}

/* Hero button hover glow */
.hero-btn:hover {
  background: #a00030;
  box-shadow: 0 0 30px rgba(128,0,32,0.9), 0 0 60px rgba(128,0,32,0.5);
  transform: translateY(-3px);
}

/* Hero responsive text */
@media (max-width:768px){
  .hero h1 {
    font-size:2rem;
  }
  .hero p {
    font-size:1rem;
  }
  .hero-btn {
    padding:12px 25px;
    font-size:1rem;
  }
}


/* Hero CTA Glow */
.hero-btn {
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(128,0,32,0.7);
}

.hero-btn:hover {
  background: #a00030;
  box-shadow: 0 0 30px rgba(128,0,32,0.9), 0 0 60px rgba(255,255,255,0.2);
  transform: translateY(-3px);
}

.course-card img {
  border-radius: 12px;
  border: 2px solid #800020; /* burgundy border */
  transition: transform 0.3s, box-shadow 0.3s;
}

.course-card:hover img {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(128,0,32,0.5);
}

.course-card {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Delay each card for staggered effect */
.course-card:nth-child(1) { animation-delay: 0.1s; }
.course-card:nth-child(2) { animation-delay: 0.3s; }
.course-card:nth-child(3) { animation-delay: 0.5s; }
.course-card:nth-child(4) { animation-delay: 0.7s; }

